From b0dd5ccaf7176c45e5be00fa0f63bf0a6d1fc33e Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 18 Jun 2011 22:03:26 +0200 Subject: [PATCH] style Firefox 4 library --- .../browser/places/libraryNavigation.png | Bin 0 -> 417 bytes LCARStrek/browser/places/libraryToolbar.png | Bin 0 -> 465 bytes LCARStrek/browser/places/organizer.css | 125 ++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 LCARStrek/browser/places/libraryNavigation.png create mode 100644 LCARStrek/browser/places/libraryToolbar.png create mode 100644 LCARStrek/browser/places/organizer.css diff --git a/LCARStrek/browser/places/libraryNavigation.png b/LCARStrek/browser/places/libraryNavigation.png new file mode 100644 index 0000000000000000000000000000000000000000..0ee0a393406b7f82ef57fdb6a7e7d3b8f92073ba GIT binary patch literal 417 zcmeAS@N?(olHy`uVBq!ia0vp^20-k=#0(_Q%Ff#Xq!^2X+?^QKos)S9EPHlwn`HUQ>+>AHH3Yg# zwYS=?iM??*N~4Tk7A|9-Dt9yWTOZ!O@+oy>rfzIVS?WG>RB3Ib@WWCpaB(U!ZfmK*TNxhyKhhrN{1H z$-b^2ePDy~)Wbgix6XU%nypdAW~nW+%6Wpgt*>h zWCSur#H6LIh+L^k;M!Q+`=Ht$S`Y;1W=H@#M9T6{WhDB2&2iPzmFCG z^$2^qIEHAP&z)$Pci4c(_2oj(sTBejby%YoxStZNYLQv!9^j_v-8W(Dg(POl+7+K> zFH&0iDaqNt|Gr9Q%(T=+uL^(K8WnRNVs@zf+o%<zs(gZRC^dXbDO&HH_hhfmP{&}rYs9N^i$#b{;J;+Pjxz9{oCvZ z+TXuPW-Tf#4`u$HptgQNsD*&`50R%&GbGbza?B3YPG9on!0tX-UZx!ryrFVdQ&MBb@ E0G+(H0{{R3 literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/places/organizer.css b/LCARStrek/browser/places/organizer.css new file mode 100644 index 00000000..3223f9fe --- /dev/null +++ b/LCARStrek/browser/places/organizer.css @@ -0,0 +1,125 @@ + +/* Toolbar */ +#placesToolbar { +} + +/* back & forward buttons */ +#back-button, #forward-button { + list-style-image: url(libraryNavigation.png); + -moz-appearance: none; + padding: 0; + border: none; +} + +#placesToolbar > toolbarbutton > .toolbarbutton-icon, +#placesToolbar > toolbarbutton > .toolbarbutton-text { + margin: 0; + padding: 0; +} + +#back-button, +#forward-button:-moz-locale-dir(rtl) { + -moz-image-region: rect(0px, 24px, 24px, 0px); +} +#back-button:not([disabled="true"]):hover, +#forward-button:not([disabled="true"]):hover:-moz-locale-dir(rtl), +#back-button:not([disabled="true"]):hover:active, +#forward-button:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) { + -moz-image-region: rect(24px, 24px, 48px, 0px); +} +#back-button[disabled="true"], +#forward-button:-moz-locale-dir(rtl)[disabled="true"] { + -moz-image-region: rect(48px, 24px, 72px, 0px) !important; +} + +#forward-button, +#back-button:-moz-locale-dir(rtl) { + -moz-image-region: rect(0px, 48px, 24px, 24px); +} +#forward-button:not([disabled="true"]):hover, +#back-button:not([disabled="true"]):hover:-moz-locale-dir(rtl), +#forward-button:not([disabled="true"]):hover:active, +#back-button:not([disabled="true"]):hover:active:-moz-locale-dir(rtl) { + -moz-image-region: rect(24px, 48px, 48px, 24px); +} +#forward-button[disabled="true"], +#back-button:-moz-locale-dir(rtl)[disabled="true"] { + -moz-image-region: rect(48px, 48px, 72px, 24px) !important; +} + +/* Menu */ +#placesMenu { + border: none; +} + +#placesMenu > menu { + padding-top: 4px; + padding-bottom: 4px; +} + +.menubar-startcap, +.menubar-endcap { + display: none; +} + +#placesMenu > .toolbar-box > .toolbar-holder { + background-color: transparent; +} + +/* organize, view and maintenance buttons icons */ +#organizeButton, +#viewMenu, +#maintenanceButton { + list-style-image: url("chrome://browser/skin/places/libraryToolbar.png"); +} + +/* organize button */ +#organizeButton { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#organizeButton:hover, +#organizeButton[open="true"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +/* view button */ +#viewMenu { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#viewMenu:hover, +#viewMenu[open="true"] { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +/* maintenance button */ +#maintenanceButton { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#maintenanceButton:hover, +#maintenanceButton[open="true"] { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +/* Root View */ +#placesView { +} + +#placesView > splitter { + border: none; +} + +#placesList { + border: none; +} + +/* Info box */ +#detailsDeck { + padding: 5px 0; +} + +#infoBoxExpanderLabel { + -moz-padding-start: 2px; +} + +#organizerScopeBar { +} -- 2.43.0