From 832af407786439f1a70793cdb2ab59af47ac9486 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 26 Jan 2015 03:41:52 +0100 Subject: [PATCH] fix 2.30 review comments, hamburger button display, some overridden icons, and checkboxes in the old options window --- LCARStrek/browser/browser.css | 12 +++++--- LCARStrek/browser/devtools/common.css | 10 ++++++ LCARStrek/browser/devtools/debugger.css | 4 +-- LCARStrek/browser/devtools/ruleview.css | 4 +-- LCARStrek/browser/preferences/search.css | 29 +++--------------- ...eload-stop-go.png => reload-stop-goFx.png} | Bin LCARStrek/browser/searchbar.css | 2 +- .../tabbrowser/{newtab.png => newtabFx.png} | Bin LCARStrek/browser/tabview/tabview.css | 10 +++--- .../tabview/{tabview.png => tabviewFx.png} | Bin LCARStrek/communicator/button.css | 1 + LCARStrek/global/toolbarbutton.css | 4 +-- 12 files changed, 35 insertions(+), 41 deletions(-) rename LCARStrek/browser/{reload-stop-go.png => reload-stop-goFx.png} (100%) rename LCARStrek/browser/tabbrowser/{newtab.png => newtabFx.png} (100%) rename LCARStrek/browser/tabview/{tabview.png => tabviewFx.png} (100%) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index a3c7c99f..e02bda97 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -318,6 +318,8 @@ toolbarbutton.bookmark-item[open="true"] { #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { width: 16px; height: 16px; + -moz-margin-start: 1px; + -moz-margin-end: 2px; } /* Force the display of the label for bookmarks */ @@ -1729,7 +1731,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but /* tabview menu item */ #menu_tabview { - list-style-image: url("chrome://browser/skin/tabview/tabview.png"); + list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); -moz-image-region: rect(1px, 89px, 17px, 73px); } @@ -2272,7 +2274,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- padding: 0 2px; background-origin: border-box; border: none; - list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); -moz-border-start: 1px solid #9C9CFF; } @@ -2843,7 +2845,7 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { #TabsToolbar > #new-tab-button, #TabsToolbar > toolbarpaletteitem > #new-tab-button, #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { - list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); + list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png"); -moz-image-region: rect(0, 16px, 18px, 0); } @@ -5610,7 +5612,7 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #context-reload > .menu-iconic-left { /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload"); */ - list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); -moz-image-region: rect(0, 14px, 14px, 0); } @@ -5626,7 +5628,7 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #context-stop > .menu-iconic-left { /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop"); */ - list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); -moz-image-region: rect(0, 28px, 14px, 14px); } diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index e1c389e9..cd3e746f 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -275,6 +275,16 @@ notification { height: 120px; background-color: transparent; border: none; + padding: 0; +} + +#color-value { + color: #FF9F00; } +#color-value.highlight { + color: #FFCF00; +} + + /* === END common.inc.css === */ diff --git a/LCARStrek/browser/devtools/debugger.css b/LCARStrek/browser/devtools/debugger.css index 78829cb9..580635f8 100644 --- a/LCARStrek/browser/devtools/debugger.css +++ b/LCARStrek/browser/devtools/debugger.css @@ -109,8 +109,8 @@ window { width: 16px; height: 16px; background-image: url("debugger-blackbox.png"); - background-position: 0 0; - background-size: 32px 16px; + background-position: -16px -16px; + background-size: 32px 32px; background-repeat: no-repeat; -moz-margin-end: 5px; } diff --git a/LCARStrek/browser/devtools/ruleview.css b/LCARStrek/browser/devtools/ruleview.css index 32443e5e..9bda6bb0 100644 --- a/LCARStrek/browser/devtools/ruleview.css +++ b/LCARStrek/browser/devtools/ruleview.css @@ -44,8 +44,8 @@ } /* User agent styles are not editable, display them differently */ -.theme-dark .ruleview-rule[uneditable=true] { - background: #A09090; /* Tab Toolbar */ +.ruleview-rule[uneditable=true] { + background: #282425; /* Tab Toolbar */ } .ruleview-rule[uneditable=true] :focus { diff --git a/LCARStrek/browser/preferences/search.css b/LCARStrek/browser/preferences/search.css index 154b922f..83a85c3f 100644 --- a/LCARStrek/browser/preferences/search.css +++ b/LCARStrek/browser/preferences/search.css @@ -15,36 +15,17 @@ #engineList { margin: .5em 6px; } -/* + +.checkbox-check, #engineList treechildren::-moz-tree-checkbox { - list-style-image: url("chrome://browser/skin/preferences/checkbox.png"); - -moz-image-region: rect(0, 16px, 16px, 0); + list-style-image: url("chrome://global/skin/tree/checkbox.gif"); } +.checkbox-check[checked="true"], #engineList treechildren::-moz-tree-checkbox(checked) { - -moz-image-region: rect(0, 64px, 16px, 48px); -} - -@media (-moz-windows-classic) { - #engineList treechildren::-moz-tree-checkbox { - list-style-image: url("chrome://browser/skin/preferences/checkbox-classic.png"); - } - - #engineList treechildren::-moz-tree-checkbox(checked) { - -moz-image-region: rect(0, 48px, 16px, 32px); - } + list-style-image: url("chrome://global/skin/tree/checkbox-checked.gif"); } -@media not all and (-moz-windows-classic) { - #engineList treechildren::-moz-tree-checkbox(hover) { - -moz-image-region: rect(0, 48px, 16px, 32px); - } - - #engineList treechildren::-moz-tree-checkbox(checked, hover) { - -moz-image-region: rect(0, 80px, 16px, 64px); - } -} -*/ #engineList treechildren::-moz-tree-image(engineName) { -moz-margin-end: 4px; -moz-margin-start: 0; diff --git a/LCARStrek/browser/reload-stop-go.png b/LCARStrek/browser/reload-stop-goFx.png similarity index 100% rename from LCARStrek/browser/reload-stop-go.png rename to LCARStrek/browser/reload-stop-goFx.png diff --git a/LCARStrek/browser/searchbar.css b/LCARStrek/browser/searchbar.css index 83c962fe..cdd8c577 100644 --- a/LCARStrek/browser/searchbar.css +++ b/LCARStrek/browser/searchbar.css @@ -109,7 +109,7 @@ } searchbar[oneoffui] .search-go-button { - list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFX.png"); -moz-image-region: rect(0, 42px, 14px, 28px); } diff --git a/LCARStrek/browser/tabbrowser/newtab.png b/LCARStrek/browser/tabbrowser/newtabFx.png similarity index 100% rename from LCARStrek/browser/tabbrowser/newtab.png rename to LCARStrek/browser/tabbrowser/newtabFx.png diff --git a/LCARStrek/browser/tabview/tabview.css b/LCARStrek/browser/tabview/tabview.css index 298d4b1a..4b9f179a 100644 --- a/LCARStrek/browser/tabview/tabview.css +++ b/LCARStrek/browser/tabview/tabview.css @@ -475,7 +475,7 @@ input.name:focus::-moz-placeholder { -moz-margin-end: 2px; margin-bottom: 2px; background-color: transparent; - background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabview.png"), 0, 90, 18, 72); + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabviewFx.png"), 0, 90, 18, 72); background-attachment: scroll; background-repeat: no-repeat; background-position: center center; @@ -484,19 +484,19 @@ input.name:focus::-moz-placeholder { } #exit-button[groups="0"] { - background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabview.png"), 0, 18, 18, 0); + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabviewFx.png"), 0, 18, 18, 0); } #exit-button[groups="1"] { - background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabview.png"), 0, 36, 18, 18); + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabviewFx.png"), 0, 36, 18, 18); } #exit-button[groups="2"] { - background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabview.png"), 0, 54, 18, 36); + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabviewFx.png"), 0, 54, 18, 36); } #exit-button[groups="3"] { - background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabview.png"), 0, 72, 18, 54); + background-image: -moz-image-rect(url("chrome://browser/skin/tabview/tabviewFx.png"), 0, 72, 18, 54); } #exit-button:hover { diff --git a/LCARStrek/browser/tabview/tabview.png b/LCARStrek/browser/tabview/tabviewFx.png similarity index 100% rename from LCARStrek/browser/tabview/tabview.png rename to LCARStrek/browser/tabview/tabviewFx.png diff --git a/LCARStrek/communicator/button.css b/LCARStrek/communicator/button.css index 30829bff..8f635cf1 100644 --- a/LCARStrek/communicator/button.css +++ b/LCARStrek/communicator/button.css @@ -158,5 +158,6 @@ toolbar[labelalign="end"] .toolbarbutton-1 > hbox > vbox { .toolbarbutton-icon[label]:not([label=""]), .toolbarbutton-icon[type="menu"] { + -moz-margin-start: 1px; -moz-margin-end: 2px; } diff --git a/LCARStrek/global/toolbarbutton.css b/LCARStrek/global/toolbarbutton.css index feaa2560..4b2caa16 100644 --- a/LCARStrek/global/toolbarbutton.css +++ b/LCARStrek/global/toolbarbutton.css @@ -24,8 +24,8 @@ toolbarbutton { .toolbarbutton-icon[label]:not([label=""]), .toolbarbutton-icon[type="menu"] { - -moz-margin-start: 1px; - -moz-margin-end: 2px; +/* -moz-margin-start: 1px; + -moz-margin-end: 2px;*/ } .toolbarbutton-text { -- 2.43.0