aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss
diff options
context:
space:
mode:
Diffstat (limited to 'arc-firefox-theme/chrome/browser/sass/_browser-sass.scss')
-rw-r--r--arc-firefox-theme/chrome/browser/sass/_browser-sass.scss110
1 files changed, 56 insertions, 54 deletions
diff --git a/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss b/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss
index 621d47b..8e6bd9a 100644
--- a/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss
+++ b/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss
@@ -18,6 +18,7 @@ $darker_asset_path_2: if($darker=='true', 'dark', $asset_path);
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+/* navbarInsetHighlight is tightly coupled to the toolbarHighlight constant. */
:root {
@@ -539,9 +540,7 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) {
}
#subscribeToPageMenuitem:not([disabled]),
-#subscribeToPageMenupopup,
-#BMB_subscribeToPageMenuitem:not([disabled]),
-#BMB_subscribeToPageMenupopup {
+#subscribeToPageMenupopup {
list-style-image: url("chrome://browser/skin/page-livemarks.png");
}
@@ -855,7 +854,7 @@ menuitem:not([type]):not(.menuitem-tooltip):not(.menuitem-iconic-tooltip) {
}
-#back-button, #back-button, #forward-button, #home-button, #print-button, #downloads-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button {
+#back-button, #forward-button, #home-button, #print-button, #downloads-button, #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #social-share-button, #open-file-button, #find-button, #developer-button, #preferences-button, #privatebrowsing-button, #save-page-button, #add-ons-button, #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button, #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button, #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button {
#nav-bar &:not([disabled=true]):-moz-any([open],[checked],:hover:active),
#TabsToolbar &:not([disabled=true]):-moz-any([open],[checked],:hover:active) {
@@ -1098,6 +1097,10 @@ list-style-image: url("chrome://browser/skin/custom_images/toolbar-icons-active.
-moz-image-region: rect(0px, 1024px, 32px, 992px);
}
+ #sync-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 1024px, 64px, 992px);
+ }
+
#feed-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #feed-button {
-moz-image-region: rect(0px, 416px, 32px, 384px);
@@ -1298,6 +1301,10 @@ list-style-image: url("chrome://browser/skin/custom_images/toolbar-icons-active.
-moz-image-region: rect(0px, 2048px, 64px, 1984px);
}
+ #sync-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(64px, 2048px, 128px, 1984px);
+ }
+
#feed-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #feed-button {
-moz-image-region: rect(0px, 832px, 64px, 768px);
@@ -1530,7 +1537,11 @@ list-style-image: url("chrome://browser/skin/custom_images/toolbar-icons-active.
transition: opacity 0.15s ease;
}
-#navigator-toolbox:not(:hover) .urlbar-history-dropmarker {
+#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
+ transition: none;
+}
+
+#navigator-toolbox:not(:hover) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker {
opacity: 0;
}
@@ -1871,6 +1882,11 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box
visibility: visible;
}
+#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon {
+ list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
+ visibility: visible;
+}
+
.popup-notification-icon {
width: 64px;
@@ -1993,12 +2009,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box
margin: 0 2px;
}
-.identity-notification-icon,
-#identity-notification-icon {
- list-style-image: url(chrome://mozapps/skin/profile/profileicon.png);
- /* XXX: need HiDPI version */
-}
-
.geo-notification-icon,
#geo-notification-icon {
list-style-image: url(chrome://browser/skin/Geolocation-16.png);
@@ -3745,6 +3755,22 @@ html|*#fullscreen-exit-button {
border-bottom-width: 0;
}
+.devtools-responsiveui-textinput {
+ -moz-appearance: none;
+ background: #333;
+ color: #fff;
+ border: 1px solid #111;
+ border-radius: 2px;
+ padding: 5px;
+ width: 200px;
+ margin: 0;
+}
+
+.devtools-responsiveui-textinput[attention] {
+ border-color: #38ace6;
+ background: rgba(56,172,230,0.4);
+}
+
.devtools-responsiveui-menulist,
.devtools-responsiveui-toolbarbutton {
-moz-appearance: none;
@@ -4061,11 +4087,11 @@ html|*#fullscreen-exit-button {
We are copy/pasting variables from light-theme and dark-theme,
since they aren't loaded in this context (within browser.css). */
:root[devtoolstheme="light"] #developer-toolbar {
- --gcli-background-color: #ebeced; /* --theme-tab-toolbar-background */
- --gcli-input-background: #f0f1f2; /* --theme-toolbar-background */
- --gcli-input-focused-background: #f7f7f7; /* --theme-sidebar-background */
- --gcli-input-color: #18191a; /* --theme-body-color */
- --gcli-border-color: #aaaaaa; /* --theme-splitter-color */
+ --gcli-background-color: #fcfcfc; /* --theme-tab-toolbar-background */
+ --gcli-input-background: #fcfcfc; /* --theme-toolbar-background */
+ --gcli-input-focused-background: #ffffff; /* --theme-sidebar-background */
+ --gcli-input-color: #393f4c; /* --theme-body-color */
+ --gcli-border-color: #dde1e4; /* --theme-splitter-color */
--selection-background: #4c9ed9; /* --theme-selection-background */
--selection-color: #f5f7fa; /* --theme-selection-color */
}
@@ -4091,7 +4117,7 @@ html|*#fullscreen-exit-button {
#developer-toolbar > toolbarbutton {
-moz-appearance: none;
border: none;
- background: transparent;
+ background-color: transparent;
margin: 0;
padding: 0 10px;
width: 32px;
@@ -4101,17 +4127,21 @@ html|*#fullscreen-exit-button {
margin: auto 10px;
}
-:root[devtoolstheme="light"] #developer-toolbar > toolbarbutton:not([checked=true]) > image,
+:root[devtoolstheme="light"] #developer-toolbar > .developer-toolbar-button:not([checked=true]) > image,
:root[devtoolstheme="light"] .gclitoolbar-input-node:not([focused=true])::before {
filter: invert(1);
}
-.developer-toolbar-button > .toolbarbutton-icon,
-#developer-toolbar-closebutton > .toolbarbutton-icon {
+.developer-toolbar-button > .toolbarbutton-icon {
width: 16px;
height: 16px;
}
+/* The toolkit close button is low contrast in the dark theme so invert it. */
+:root[devtoolstheme="dark"] #developer-toolbar > .close-icon:not(:hover) > image {
+ filter: invert(1);
+}
+
#developer-toolbar-toolbox-button {
list-style-image: url("chrome://devtools/skin/images/toggle-tools.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
@@ -4152,40 +4182,6 @@ html|*#fullscreen-exit-button {
}
}
-#developer-toolbar-closebutton {
- list-style-image: url("chrome://devtools/skin/images/close.png");
- -moz-appearance: none;
- border: none;
- margin: 0 4px;
- min-width: 16px;
- width: 16px;
- opacity: 0.6;
-}
-
-@media (min-resolution: 1.1dppx) {
- #developer-toolbar-closebutton {
- list-style-image: url("chrome://devtools/skin/images/close@2x.png");
- }
-}
-
-#developer-toolbar-closebutton > .toolbarbutton-icon {
- /* XXX Buttons have padding in widget/ that we don't want here but can't override with good CSS, so we must
- use evil CSS to give the impression of smaller content */
- margin: -4px;
-}
-
-#developer-toolbar-closebutton > .toolbarbutton-text {
- display: none;
-}
-
-#developer-toolbar-closebutton:hover {
- opacity: 0.8;
-}
-
-#developer-toolbar-closebutton:hover:active {
- opacity: 1;
-}
-
/* GCLI */
html|*#gcli-tooltip-frame,
@@ -4300,6 +4296,7 @@ html|*#gcli-output-frame {
.gcli-in-closebrace {
color: hsl(0,0%,80%);
}
+
#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
padding: 0px;
}
@@ -4366,6 +4363,11 @@ notification.pluginVulnerable {
notification.pluginVulnerable .messageImage {
list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
}
+
+notification.pluginVulnerable > .notification-inner > .messageCloseButton:not(:hover) {
+ background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64);
+}
+
#notification-popup[popupid="login-fill"] > .panel-arrowcontainer > .panel-arrowcontent {
/* Since we display a sliding subview that extends to the border, we cannot
* keep the default padding of arrow panels. We use the same padding in the