summaryrefslogtreecommitdiff
path: root/skins/default/addresses.css
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-29 10:53:40 +0000
committerthomascube <thomas@roundcube.net>2009-07-29 10:53:40 +0000
commit4a42653fa362d90992036fc3b26cb72399f7421d (patch)
tree542dcc4247131f404fb8a429e19e4f3e13b22e2a /skins/default/addresses.css
parent9e953bc2d468d3e1c1ddbdfdb62339af6c624711 (diff)
More speedup by using sprites for buttons: replacing 76 images with 4 new
Diffstat (limited to 'skins/default/addresses.css')
-rw-r--r--skins/default/addresses.css60
1 files changed, 60 insertions, 0 deletions
diff --git a/skins/default/addresses.css b/skins/default/addresses.css
index 70b148a2c..236bc3b5a 100644
--- a/skins/default/addresses.css
+++ b/skins/default/addresses.css
@@ -13,6 +13,66 @@
padding-right: 10px;
}
+#abooktoolbar a.button,
+#abooktoolbar a.buttonPas,
+#abooktoolbar span.separator {
+ display: block;
+ float: left;
+ width: 32px;
+ height: 32px;
+ padding: 0;
+ margin-right: 10px;
+ overflow: hidden;
+ background: url('images/abook_toolbar.png') 0 0 no-repeat transparent;
+ opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
+}
+
+#abooktoolbar a.buttonPas {
+ opacity: 0.35;
+}
+
+#abooktoolbar a.addcontactSel {
+ background-position: 0 -32px;
+}
+
+#abooktoolbar a.compose {
+ background-position: -32px 0;
+}
+
+#abooktoolbar a.composeSel {
+ background-position: -32px -32px;
+}
+
+#abooktoolbar a.delete {
+ background-position: -64px 0;
+}
+
+#abooktoolbar a.deleteSel {
+ background-position: -64px -32px;
+}
+
+#abooktoolbar a.import {
+ background-position: -96px 0;
+}
+
+#abooktoolbar a.importSel {
+ background-position: -96px -32px;
+}
+
+#abooktoolbar a.export {
+ background-position: -128px 0;
+}
+
+#abooktoolbar a.exportSel {
+ background-position: -128px -32px;
+}
+
+#abooktoolbar span.separator {
+ width: 5px;
+ background-image: url('images/abook_toolbar.png');
+ background-position: -162px 0;
+}
+
#abookcountbar
{
position: absolute;