Changeset 5809 for extensions/sobre


Ignore:
Timestamp:
Apr 11, 2010, 11:50:18 PM (14 years ago)
Author:
Gotcha
Message:

Optimize the "Scroll to top"
bug:1599

Location:
extensions/sobre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/sobre/template/footer.tpl

    r5807 r5809  
    11{* $ Id: footer.tpl 2010-04-03 Par Gotcha pour son thème "Sobre" $ *}
    2  
    3 <style type="text/css" media="screen">
    4 #scrolltotop {ldelim} bottom:14px; position:fixed; right:0; z-index:1000; opacity:0; {rdelim}
    5 #scrolltotop a {ldelim} background-color:transparent;
    6   background-image: url("{$ROOT_URL}themes/{$themeconf.name}/images/top.gif");
    7   background-position:left top; background-repeat:no-repeat; display:block;
    8   height:50px; text-indent:-9999px; width:44px; {rdelim}
    9 #scrolltotop a:hover {ldelim} border-bottom:none; {rdelim}
    10 </style>
    112 
    123{literal}
  • extensions/sobre/theme.css

    r5808 r5809  
    618618
    619619
    620 
     620/* Scroll to top */
     621#scrolltotop {
     622  bottom:14px;
     623  position:fixed;
     624  right:0;
     625  z-index:1000;
     626  opacity:0;
     627  outline:none;
     628}
     629#scrolltotop a {
     630  background-color:transparent;
     631  background-image: url("images/top.gif");
     632  background-position:left top; background-repeat:no-repeat; display:block;
     633  height:50px; text-indent:-9999px; width:44px;
     634}
     635#scrolltotop a:hover {
     636  border-bottom:none;
     637}
Note: See TracChangeset for help on using the changeset viewer.