From e4cecae1e1b620724b4035f73858c9c9b8f9a08e Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Thu, 16 Feb 2012 02:50:30 +0100 Subject: [PATCH] some small improvements to the inspector toolbar --- LCARStrek/browser/browser.css | 55 +++++++++--------- .../devtools/breadcrumbs/ltr-middle.png | Bin 245 -> 245 bytes 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 603d8097..3ba847c5 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -2516,12 +2516,10 @@ highlighter-veil-transparentbox { } #inspector-tools { - -moz-padding-start: 2px; -moz-padding-end: 2px; border-left: 3px solid #000000; border-right: 3px solid #000000; -moz-margin-start: 2px; - -moz-margin-end: 2px; } /* Highlighter - toolbar resizers */ @@ -2632,8 +2630,9 @@ highlighter-veil-transparentbox { } .inspector-breadcrumbs-button { - -moz-appearance: none; - border-width: 1px 13px 2px 13px; + /*background-color: transparent;*/ + border-width: 2px 13px !important; + outline: none; /* color: hsl(210,30%,85%); */ max-width: 85px; /* The content of the button can be larger than the button */ @@ -2663,57 +2662,57 @@ highlighter-veil-transparentbox { } .inspector-breadcrumbs-button { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]), .inspector-breadcrumbs-button:not([checked]):hover:active { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[checked] { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[checked][siblings-menu-open], .inspector-breadcrumbs-button[checked]:hover:active { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:first-of-type { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]), .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:first-of-type[checked] { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked], .inspector-breadcrumbs-button:first-of-type[checked]:hover:active { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:last-of-type { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]), .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:last-of-type[checked] { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked], .inspector-breadcrumbs-button:last-of-type[checked]:hover:active { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 stretch; } /* Highlighter toolbar - breadcrumbs - RTL */ @@ -2723,55 +2722,55 @@ highlighter-veil-transparentbox { } .inspector-breadcrumbs-button:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl), .inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl), .inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl), .inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl), .inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl), .inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 stretch; } .inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl), .inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) { - -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 1 13 2 13 stretch; + -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 stretch; } diff --git a/LCARStrek/browser/devtools/breadcrumbs/ltr-middle.png b/LCARStrek/browser/devtools/breadcrumbs/ltr-middle.png index 3c84191a9f1f1e5d51cfac04abaee67cdaccaf7b..ac15bada9d57628912e5c226aadf603dd26d5b4c 100644 GIT binary patch delta 18 Zcmey$_?2-&6^8($p`qvo`7INhiUB@x29N*% delta 18 acmey$_?2-&6$g)qHOtO(yB1DtDh2>W;0MM4 -- 2.43.0