diff options
author | thomascube <thomas@roundcube.net> | 2009-07-29 10:53:40 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-07-29 10:53:40 +0000 |
commit | 4a42653fa362d90992036fc3b26cb72399f7421d (patch) | |
tree | 542dcc4247131f404fb8a429e19e4f3e13b22e2a /skins/default/common.css | |
parent | 9e953bc2d468d3e1c1ddbdfdb62339af6c624711 (diff) |
More speedup by using sprites for buttons: replacing 76 images with 4 new
Diffstat (limited to 'skins/default/common.css')
-rw-r--r-- | skins/default/common.css | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/skins/default/common.css b/skins/default/common.css index d074e375e..bf59895d7 100644 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -241,6 +241,52 @@ img left: 20px; } +.pagenav a.button, +.pagenav a.buttonPas +{ + display: block; + float: left; + width: 11px; + height: 11px; + padding: 0; + margin: 1px; + overflow: hidden; + background: url('images/pagenav.gif') 0 0 no-repeat transparent; + opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ +} + +.pagenav a.buttonPas { + opacity: 0.35; +} + +.pagenav a.firstpageSel { + background-position: 0 -11px; +} + +.pagenav a.prevpage { + background-position: -11px 0; +} + +.pagenav a.prevpageSel { + background-position: -11px -11px; +} + +.pagenav a.nextpage { + background-position: -22px 0; +} + +.pagenav a.nextpageSel { + background-position: -22px -11px; +} + +.pagenav a.lastpage { + background-position: -33px 0; +} + +.pagenav a.lastpageSel { + background-position: -33px -11px; +} + .splitter { user-select: none; |