:root {
--verified-identity-box-backgroundcolor: #000000;
+
+ --panel-separator-color: #A09090;
+
+ /*--urlbar-separator-color: rgba(0,0,0,.2);*/
+ --urlbar-separator-color: #9C9CFF;
}
#menubar-items {
/* min-height: 24px; */
}
+#PersonalToolbar > #home-button {
+ -moz-box-orient: horizontal;
+}
+
+#PersonalToolbar > #home-button > .toolbarbutton-text {
+ display: block;
+}
+
#print-preview-toolbar:not(:-moz-lwtheme) {
/* -moz-appearance: toolbox; */
}
height: 16px;
-moz-margin-start: 1px;
-moz-margin-end: 2px;
+ margin-top: 1px;
+ margin-bottom: 1px;
}
/* Force the display of the label for bookmarks */
#bookmarks-toolbar-placeholder {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
+ -moz-box-orient: horizontal;
}
toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
#new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
#social-share-button, #open-file-button, #find-button, #developer-button,
- #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-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, #web-apps-button, #webide-button),
-
+ #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
+ #pocket-button),
#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
list-style-image: url("chrome://browser/skin/ToolbarFx.png");
}
+toolbar[brighttext] #pocket-button,
+#pocket-button {
+ list-style-image: url("chrome://browser/skin/ToolbarFx.png") !important; /* override pocket.css */
+}
#back-button {
-moz-image-region: rect(0, 36px, 18px, 18px);
-moz-image-region: rect(0, 288px, 18px, 270px);
}
+#feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true],
#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
-moz-image-region: rect(18px, 288px, 36px, 270px);
}
-moz-image-region: rect(18px, 720px, 36px, 702px);
}
-#loop-button-throttled > .toolbarbutton-badge-container,
+#loop-button,
#loop-button > .toolbarbutton-badge-container {
list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
-moz-image-region: rect(0, 18px, 18px, 0);
}
-#loop-button-throttled:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
#loop-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 90px, 18px, 72px);
}
-#loop-button-throttled[state="disabled"] > .toolbarbutton-badge-container,
-#loop-button-throttled[disabled="true"] > .toolbarbutton-badge-container,
+#loop-button[state="disabled"],
+#loop-button[disabled="true"],
#loop-button[state="disabled"] > .toolbarbutton-badge-container,
#loop-button[disabled="true"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 36px, 18px, 18px);
}
-#loop-button-throttled[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]),
#loop-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 126px, 18px, 108px);
}
-#loop-button-throttled:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"])[state="error"],
#loop-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 54px, 18px, 36px);
}
-#loop-button-throttled:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"])[state="action"],
#loop-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 72px, 18px, 54px);
}
-#loop-button-throttled:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
+#loop-button:not([disabled="true"])[state="active"],
#loop-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 108px, 18px, 90px);
}
-moz-image-region: rect(18px, 738px, 36px, 720px);
}
+#pocket-button[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 774px, 18px, 756px);
+}
+
+#pocket-button[cui-areatype="toolbar"]:hover,
+#pocket-button[cui-areatype="toolbar"][open] {
+ -moz-image-region: rect(18px, 774px, 36px, 756px);
+}
+
/* === END toolbarbuttons.inc.css === */
/* === BEGIN menupanel.inc.css === */
:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
#new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
#social-share-button, #open-file-button, #find-button, #developer-button,
- #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-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, #web-apps-button, #webide-button)[cui-areatype="menu-panel"],
+ #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
+ #pocket-button)[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
#new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
#social-share-button, #open-file-button, #find-button, #developer-button,
- #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-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, #web-apps-button, #webide-button) {
+ #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button, #loop-button,
+ #pocket-button) {
list-style-image: var(--menupanel-list-style-image);
}
-moz-image-region: rect(32px, 960px, 64px, 928px);
}
+#pocket-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #pocket-button {
+ -moz-image-region: rect(0px, 992px, 32px, 960px);
+}
+
+#pocket-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 992px, 64px, 960px);
+}
+
toolbaritem[sdkstylewidget="true"] > toolbarbutton {
-moz-image-region: rect(0, 832px, 32px, 800px);
}
-#loop-button-throttled[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
-toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #loop-button,
#loop-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
}
/* Make sure that the state icons are not shown in the customization palette. */
-toolbarpaletteitem[place="palette"] > #loop-button-throttled > .toolbarbutton-badge-container,
+toolbarpaletteitem[place="palette"] > #loop-button,
toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 32px, 32px, 0) !important;
}
-#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]),
#loop-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 160px, 32px, 128px);
}
-#loop-button-throttled[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
-#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"][state="disabled"],
+#loop-button[cui-areatype="menu-panel"][disabled="true"],
#loop-button[cui-areatype="menu-panel"][state="disabled"] > .toolbarbutton-badge-container,
#loop-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 64px, 32px, 32px);
}
-#loop-button-throttled[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]),
#loop-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 224px, 32px, 192px);
}
-#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"],
#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 96px, 32px, 64px);
}
-#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"],
#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 128px, 32px, 96px);
}
-#loop-button-throttled[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container,
+#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"],
#loop-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
-moz-image-region: rect(0, 192px, 32px, 160px);
}
-moz-padding-end: 5px;*/
}
+#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button),
#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) {
/* padding-left: 5px;
padding-right: 5px;*/
*/
/* Help SDK icons fit: */
-toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
width: 16px;
}
-#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
+#nav-bar toolbarbutton[constrain-size="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
/* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
width: 32px;
}
+#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[type=panel]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-container,
#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#PanelUI-menu-button) > .toolbarbutton-badge-container,
#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
/* -moz-padding-end: 17px;*/
}
#forward-button {
-moz-margin-start: -4px !important;
- padding-left: 4px;
- padding-right: 2px;
+ padding-left: 5px;
+ padding-right: 5px;
margin-top: 3px;
margin-bottom: 3px;
border-radius: 0 10000px 10000px 0;
list-style-image: url(chrome://browser/skin/undoCloseTab.png);
}
-@media (min-resolution: 1.25dppx) {
+@media (min-resolution: 1.1dppx) {
#alltabs_undoCloseTab {
list-style-image: url(chrome://browser/skin/undoCloseTab@2x.png);
}
color: #FFBFFF;
}
+/* overlap the urlbar's border */
+#PopupAutoCompleteRichResult {
+ margin-top: -1px;
+}
+
#urlbar:-moz-lwtheme,
.searchbar-textbox:-moz-lwtheme {
/* background-color: rgba(255,255,255,.8);
.urlbar-icon:hover:active {
}
+#urlbar-search-footer {
+ border-top: 1px solid #A09090;
+}
+
+#urlbar-search-settings {
+}
+
+#urlbar-search-settings:hover {
+}
+
+#urlbar-search-settings:hover:active {
+}
+
#urlbar-search-splitter {
min-width: 6px;
-moz-margin-start: -3px;
padding-right: 2.01px;
}
-#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
-#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
+#identity-box {
-moz-margin-end: 3px;
}
-#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
-#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
+#identity-box:-moz-locale-dir(ltr) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
-#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
-#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
+#identity-box:-moz-locale-dir(rtl) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
+#identity-box:hover,
+#identity-box[open=true] {
+}
+
#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
var(--verified-identity-box-backgroundcolor);
}
}
#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
-#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
+#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker,
+#urlbar-wrapper > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker {
border: none;
border-radius: 0px;
}
-moz-border-end: 1px solid var(--identity-box-verified-color);
}
-#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
-#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
+#identity-box {
background-position: right;
background-size: 1px;
background-repeat: no-repeat;
#page-proxy-favicon {
width: 16px;
height: 16px;
- list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
+ list-style-image: url("chrome://browser/skin/identity-not-secure.svg");
margin: 2px;
}
.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://branding/content/identity-icons-brand.png");
-}
-
-.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https.png");
+ list-style-image: url("chrome://branding/content/identity-icons-brand.svg");
}
+.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"],
.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
+ list-style-image: url("chrome://browser/skin/identity-secure.svg");
}
.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
+ list-style-image: url("chrome://browser/skin/identity-mixed-active-loaded.svg");
}
-.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
+.weakCipher > #page-proxy-favicon[pageproxystate="valid"],
+.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"],
+.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
+ list-style-image: url("chrome://browser/skin/identity-mixed-passive-loaded.svg");
}
-.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
- list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
+.mixedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
+ list-style-image: url("chrome://browser/skin/identity-mixed-active-blocked.svg");
}
#page-proxy-favicon[pageproxystate="invalid"] {
max-width: 50ch;
}
+#urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
+ -moz-image-region: inherit;
+ list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
+ width: 16px;
+ height: 16px;
+ opacity: 1;
+}
+
+/* MAIN IDENTITY ICON */
+
+#identity-icon {
+ width: 16px;
+ height: 16px;
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
+}
+
+#identity-box:hover > #identity-icon,
+#identity-box[open=true] > #identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
+ list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
+}
+
+#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon {
+ opacity: 0.3;
+}
+
+#urlbar[actiontype="searchengine"] > #identity-box > #identity-icon {
+ -moz-image-region: inherit;
+ list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg#search-icon);
+ width: 16px;
+ height: 16px;
+ opacity: 1;
+}
+
+/* TRACKING PROTECTION ICON */
+
+#tracking-protection-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: 2px;
+ margin-inline-end: 0;
+ list-style-image: url(chrome://browser/skin/tracking-protection-16.svg);
+ opacity: 1;
+}
+
+#tracking-protection-icon[state="loaded-tracking-content"] {
+ list-style-image: url(chrome://browser/skin/tracking-protection-disabled-16.svg);
+}
+
+#tracking-protection-icon[animate] {
+ transition: margin-left 200ms ease-out, margin-right 200ms ease-out;
+}
+
+#tracking-protection-icon:not([state]) {
+ margin-inline-end: -18px;
+ pointer-events: none;
+ opacity: 0;
+ /* Only animate the shield in, when it disappears hide it immediately. */
+ transition: none;
+}
+
+#urlbar[pageproxystate="invalid"] > #identity-box > #tracking-protection-icon {
+ visibility: collapse;
+}
+
+/* CONNECTION ICON */
+
+#connection-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: 2px;
+ visibility: collapse;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
+ list-style-image: url(chrome://browser/skin/identity-secure.svg);
+ visibility: visible;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.insecureLoginForms > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveContent > #connection-icon {
+ list-style-image: url(chrome://browser/skin/identity-mixed-active-loaded.svg);
+ visibility: visible;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.weakCipher > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContent > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedDisplayContentLoadedActiveBlocked > #connection-icon {
+ list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
+ visibility: visible;
+}
+
+#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
+ list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
+ visibility: visible;
+}
+
/* === END identity-block.inc.css === */
#page-proxy-favicon {
/* combined go/reload/stop button in location bar */
-#urlbar > toolbarbutton {
- -moz-margin-start: 0;
- padding: 0 2px;
- background-origin: border-box;
- border: none;
+#urlbar-go-button,
+#urlbar-reload-button,
+#urlbar-stop-button {
+ border-style: none;
list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
- -moz-border-start: 1px solid #9C9CFF;
+/* padding: 0 9px;*/
+ margin-inline-start: 2px;
+ border-inline-start: 1px solid var(--urlbar-separator-color);
+ border-image: linear-gradient(transparent 15%,
+ var(--urlbar-separator-color) 15%,
+ var(--urlbar-separator-color) 85%,
+ transparent 85%);
+ border-image-slice: 1;
}
#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
-moz-image-region: rect(14px, 28px, 28px, 14px);
}
+@media (min-resolution: 1.1dppx) {
+ #urlbar-go-button,
+ #urlbar-reload-button,
+ #urlbar-stop-button {
+ list-style-image: url("chrome://browser/skin/reload-stop-go@2x.png");
+ }
+
+ #urlbar-go-button > .toolbarbutton-icon,
+ #urlbar-reload-button > .toolbarbutton-icon,
+ #urlbar-stop-button > .toolbarbutton-icon {
+ width: 14px;
+ }
+
+ #urlbar-go-button {
+ -moz-image-region: rect(0, 84px, 28px, 56px);
+ }
+
+ #urlbar-go-button:hover {
+ -moz-image-region: rect(28px, 84px, 56px, 56px);
+ }
+
+ #urlbar-go-button:hover:active {
+ -moz-image-region: rect(56px, 84px, 84px, 56px);
+ }
+
+ #urlbar-reload-button {
+ -moz-image-region: rect(0, 28px, 28px, 0);
+ }
+
+ #urlbar-reload-button:not([disabled]):hover {
+ -moz-image-region: rect(28px, 28px, 56px, 0);
+ }
+
+ #urlbar-reload-button:not([disabled]):hover:active {
+ -moz-image-region: rect(56px, 28px, 84px, 0);
+ }
+
+ #urlbar-stop-button {
+ -moz-image-region: rect(0, 56px, 28px, 28px);
+ }
+
+ #urlbar-stop-button:not([disabled]):hover {
+ -moz-image-region: rect(28px, 56px, 56px, 28px);
+ }
+
+ #urlbar-stop-button:hover:active {
+ -moz-image-region: rect(56px, 56px, 84px, 28px);
+ }
+}
+
/* popup blocker button */
#page-report-button {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
+/* === BEGIN readinglist.inc.css === */
+
+/* Reading List button */
+
+#urlbar:not([focused]):not(:hover) #readinglist-addremove-button {
+ opacity: 0;
+ width: 0px;
+}
+
+#readinglist-addremove-button {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage");
+ -moz-image-region: rect(0, 14px, 14px, 0);
+ transition: width 150ms ease-in-out, opacity 150ms ease-in-out 150ms;
+ opacity: 1;
+ width: 20px;
+}
+
+#readinglist-addremove-button:hover {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-hover");
+}
+
+#readinglist-addremove-button:active {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#addpage-active");
+}
+
+#readinglist-addremove-button[already-added="true"] {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded");
+}
+
+#readinglist-addremove-button[already-added="true"]:hover {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-hover");
+}
+
+#readinglist-addremove-button[already-added="true"]:active {
+ list-style-image: url("chrome://browser/skin/readinglist/icons.svg#alreadyadded-active");
+}
+
+/* === END readinglist.inc.css === */
+
+/* Reader mode button */
+
+#reader-mode-button {
+ list-style-image: url("chrome://browser/skin/readerMode.svg");
+ -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+#reader-mode-button:hover,
+#reader-mode-button[readeractive]:hover {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+#reader-mode-button:hover:active,
+#reader-mode-button[readeractive] {
+ -moz-image-region: rect(0, 48px, 16px, 32px);
+}
+
/* social share panel */
.social-share-frame {
max-height: 16px;
}
-toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
- width: auto;
- height: auto;
- max-width: 32px;
- max-height: 24px;
-}
-
/* fixup corners for share panel */
.social-panel > .social-panel-frame {
border-radius: inherit;
/* ::::: content area ::::: */
+#sidebar-box {
+ background-color: #9C9CFF;
+ color: #000000;
+}
+
#sidebar {
- background-color: Window;
+ background-color: #000000;
+}
+
+#sidebar-splitter {
+ -moz-margin-start: 0;
+}
+
+#sidebar-header {
+ color: #000000;
+ padding: 2px;
}
#sidebar-title {
list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
}
+#sidebar-splitter:-moz-locale-dir(ltr),
+#sidebar:-moz-locale-dir(ltr) {
+ border-radius: 0 5px 0 0;
+}
+
+#sidebar-splitter:-moz-locale-dir(rtl),
+#sidebar:-moz-locale-dir(rtl) {
+ border-radius: 5px 0 0 0;
+}
+
.browserContainer > findbar {
/*
background-color: -moz-dialog;
/* === BEGIN tabs.inc.css === */
+:root {
+ /* --tab-toolbar-navbar-overlap: 1px; */
+ /* --tab-min-height: 31px; */
+ /* --tab-curve-width: 30px; */
+ /* --tab-curve-half-width: 15px; */
+}
+
.tabbrowser-tab,
.tabs-newtab-button,
#TabsToolbar > #new-tab-button {
background-color: #C09070;
}
-.tabbrowser-tab[remote] {
- text-decoration: underline;
-}
-
/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
-.tabbrowser-tab[selected=true] {
+.tabbrowser-tab[visuallyselected=true] {
/* position: relative;
z-index: 2;*/
}
.tab-content {
}
-.tab-/*throbber*/,
+.tab-content[pinned] {
+}
+
+.tab-throbber,
.tab-icon-image,
.tab-close-button {
}
.tab-icon-image {
height: 16px;
width: 16px;
+ -moz-margin-end: 3px;
}
.tab-icon-image {
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
+.tab-icon-overlay {
+ width: 16px;
+ height: 16px;
+ /* margin-top: 10px; */
+ -moz-margin-start: -16px;
+ display: none;
+}
+
+.tab-icon-overlay[crashed] {
+ display: -moz-box;
+ list-style-image: url("chrome://browser/skin/tabbrowser/crashed.svg");
+}
+
.tab-throbber[busy] {
list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
}
list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
}
-.tab-throbber:not([pinned]),
-.tab-icon-image:not([pinned]) {
- -moz-margin-end: 3px;
-}
-
.tab-throbber[pinned],
.tab-icon-image[pinned] {
-moz-margin-start: 2px;
.tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator {
}
-.tab-background-start[selected=true]::after,
-.tab-background-start[selected=true]::before,
+.tab-background-start[visuallyselected=true]::after,
+.tab-background-start[visuallyselected=true]::before,
.tab-background-start,
.tab-background-end,
-.tab-background-end[selected=true]::after,
-.tab-background-end[selected=true]::before {
+.tab-background-end[visuallyselected=true]::after,
+.tab-background-end[visuallyselected=true]::before {
}
-.tabbrowser-tab:not([selected=true]),
+.tabbrowser-tab:not([visuallyselected=true]),
.tabbrowser-tab:-moz-lwtheme {
}
/* Selected tab */
-.tabbrowser-tab[selected="true"] {
+.tabbrowser-tab[visuallyselected="true"] {
}
/* End selected tab */
color: #000000;
}
-/* Handle a case where the last separator in a customized tab bar with a
- separated new tab button causes the width of the tab to extend and causes
- jittering with a small tab curve width (Bug 1111091). */
-#TabsToolbar[currentset]:not([currentset*="tabbrowser-tabs,new-tab-button"]) #tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([selected]):not([beforehovered]):not(:hover)::after {
-}
-
/* New tab button */
.tabs-newtab-button {
width: 28px;
- /* width: calc(36px + @tabCurveWidth@); */
+ /* width: calc(36px + var(--tab-curve-width)); */
}
/* === END tabs.inc.css === */
* of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
* the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
*/
-#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
+#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) {
/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
}
background-color: #008484;
}
-/* ::::: Identity Indicator Styling ::::: */
+/* === BEGIN notification-icons.inc.css === */
-/* Popup Icons */
-#identity-popup-icon {
- height: 64px;
+.popup-notification-icon {
width: 64px;
- padding: 0;
- list-style-image: url("chrome://browser/skin/identity.png");
- -moz-image-region: rect(0px, 64px, 64px, 0px);
+ height: 64px;
+ -moz-margin-end: 10px;
}
-#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
- -moz-image-region: rect(64px, 64px, 128px, 0px);
+.popup-notification-icon[popupid="geolocation"] {
+ list-style-image: url("chrome://browser/skin/Geolocation-64.png");
}
-#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
- -moz-image-region: rect(128px, 64px, 192px, 0px);
+.popup-notification-icon[popupid="push"] {
+ list-style-image: url(chrome://browser/skin/Push-64.png);
}
-/* Popup Body Text */
-.identity-popup-description {
- white-space: pre-wrap;
- -moz-padding-start: 15px;
- margin: 2px 0 4px;
+.popup-notification-icon[popupid="xpinstall-disabled"],
+.popup-notification-icon[popupid="addon-install-blocked"],
+.popup-notification-icon[popupid="addon-install-origin-blocked"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-blocked.svg);
}
-.identity-popup-label {
- white-space: pre-wrap;
- -moz-padding-start: 15px;
- margin: 0;
+.popup-notification-icon[popupid="addon-progress"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
}
-#identity-popup-content-host,
-#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
- font-size: 1.2em;
+.popup-notification-icon[popupid="addon-install-failed"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
}
-#identity-popup-content-host {
- margin-top: 3px;
- margin-bottom: 5px;
- font-weight: bold;
- max-width: 300px;
+.popup-notification-icon[popupid="addon-install-confirmation"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
}
-#identity-popup-content-owner {
- margin-top: 4px;
- margin-bottom: 0 !important;
- font-weight: bold;
- max-width: 300px;
+#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
}
-.verifiedDomain > #identity-popup-content-owner {
- font-weight: normal;
+.popup-notification-icon[popupid="addon-install-complete"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
}
-#identity-popup-content-verifier {
- margin: 4px 0 2px;
+.popup-notification-icon[popupid="addon-install-restart"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
}
-#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
-#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
- margin-top: 10px;
- -moz-margin-start: -24px;
+.popup-notification-icon[popupid="click-to-play-plugins"] {
+ list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
}
-#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
-#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
- list-style-image: url("chrome://browser/skin/Secure24.png");
+.popup-notification-icon[popupid="web-notifications"] {
+ list-style-image: url("chrome://browser/skin/notification-64.png");
}
-#identity-popup-help-icon {
- border: none;
- margin: 7px 0 0 -3px;
- background: none;
- min-width: 0;
- list-style-image: url("chrome://global/skin/icons/question-16.png");
- cursor: pointer;
+.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
+.popup-notification-icon[popupid*="offline-app-requested"],
+.popup-notification-icon[popupid="offline-app-usage"] {
+ list-style-image: url("chrome://global/skin/icons/alert-question.gif");
}
-#identity-popup-help-icon > .button-box > .button-text {
- display: none;
+.popup-notification-icon[popupid="password"] {
+ list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
}
-#identity-popup-help-icon > .button-box > .button-icon {
- height: 16px;
- width: 16px;
+.popup-notification-icon[popupid="webapps-install-progress"],
+.popup-notification-icon[popupid="webapps-install"] {
+ list-style-image: url("chrome://global/skin/icons/webapps-64.png");
}
-#identity-popup-more-info-button {
- margin-top: 6px;
- margin-bottom: 0;
- -moz-margin-end: 0;
+.popup-notification-icon[popupid="bad-content"] {
+ list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
}
-#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
- padding: 0;
-}
-
-#identity-popup-container {
- min-width: 280px;
- padding: 10px;
-}
-
-#identity-popup-button-container {
-/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
- padding: 10px;
- margin-top: 5px;
-}
-
-.popup-notification-icon {
- width: 64px;
- height: 64px;
- -moz-margin-end: 10px;
-}
-
-.popup-notification-icon[popupid="geolocation"] {
- list-style-image: url("chrome://browser/skin/Geolocation-64.png");
-}
-
-.popup-notification-icon[popupid="xpinstall-disabled"],
-.popup-notification-icon[popupid="addon-progress"],
-.popup-notification-icon[popupid="addon-install-cancelled"],
-.popup-notification-icon[popupid="addon-install-blocked"],
-.popup-notification-icon[popupid="addon-install-failed"],
-.popup-notification-icon[popupid="addon-install-complete"] {
- list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
- width: 32px;
- height: 32px;
-}
-
-.popup-notification-icon[popupid="click-to-play-plugins"] {
- list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
-}
-
-.popup-notification-icon[popupid="web-notifications"] {
- list-style-image: url("chrome://browser/skin/notification-64.png");
-}
-
-.addon-progress-description {
- width: 350px;
- max-width: 350px;
-}
-
-.popup-progress-label,
-.popup-progress-meter {
- -moz-margin-start: 0;
- -moz-margin-end: 0;
-}
-
-.popup-progress-cancel {
- -moz-appearance: none;
- background: transparent;
- border: none;
- padding: 0;
- margin: 0;
- min-height: 0;
- min-width: 0;
- list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
- -moz-image-region: rect(0px, 32px, 16px, 16px);
-}
-
-.popup-progress-cancel:hover {
- -moz-image-region: rect(16px, 32px, 32px, 16px);
-}
-
-.popup-progress-cancel:active {
- -moz-image-region: rect(32px, 32px, 48px, 16px);
-}
-
-.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
-.popup-notification-icon[popupid="indexedDB-quota-prompt"],
-.popup-notification-icon[popupid*="offline-app-requested"],
-.popup-notification-icon[popupid="offline-app-usage"] {
- list-style-image: url("chrome://global/skin/icons/alert-question.gif");
-}
-
-.popup-notification-icon[popupid="password-save"],
-.popup-notification-icon[popupid="password-change"] {
- list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
-}
-
-.popup-notification-icon[popupid="webapps-install-progress"],
-.popup-notification-icon[popupid="webapps-install"] {
- list-style-image: url("chrome://global/skin/icons/webapps-64.png");
-}
-
-.popup-notification-icon[popupid="bad-content"] {
- list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png");
-}
-
-.popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
-.popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
- list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
+.popup-notification-icon[popupid="bad-content"][mixedblockdisabled],
+.popup-notification-icon[popupid="bad-content"][trackingblockdisabled] {
+ list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png);
}
.popup-notification-icon[popupid="webRTC-sharingDevices"],
}
.notification-anchor-icon {
+ list-style-image: url("chrome://global/skin/icons/information-16.png");
+
width: 16px;
height: 16px;
margin: 0 2px;
outline: 1px dotted #008484;
}
-.default-notification-icon,
-#default-notification-icon {
- list-style-image: url("chrome://global/skin/icons/information-16.png");
-}
-
.identity-notification-icon,
#identity-notification-icon {
list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
list-style-image: url("chrome://browser/skin/Geolocation-16.png");
}
+#push-notification-icon {
+ list-style-image: url(chrome://browser/skin/Push-16.png);
+}
+
#addons-notification-icon {
- list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
+ list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#default);
+}
+
+#addons-notification-icon:hover {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#hover);
+}
+
+#addons-notification-icon:hover:active {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
}
.indexedDB-notification-icon,
list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
}
+#login-fill-notification-icon {
+ /* Temporary icon until the capture and fill doorhangers are unified. */
+ list-style-image: url(chrome://mozapps/skin/passwordmgr/key-16.png);
+ transform: scaleX(-1);
+}
+
#webapps-notification-icon {
list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
}
#pointerLock-notification-icon {
list-style-image: url("chrome://browser/skin/pointerLock-16.png");
}
-#pointerLock-cancel {
- margin: 0px;
+
+.translate-notification-icon,
+#translate-notification-icon {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
+}
+
+.translated-notification-icon,
+#translated-notification-icon {
+ list-style-image: url("chrome://browser/skin/translation-16.png");
+ -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
+.popup-notification-icon[popupid="servicesInstall"] {
+ list-style-image: url("chrome://browser/skin/social/services-64.png");
+}
+#servicesInstall-notification-icon {
+ list-style-image: url("chrome://browser/skin/social/services-16.png");
+}
+
+/* EME notifications */
+
+.popup-notification-icon[popupid="drmContentPlaying"],
+#eme-notification-icon {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
+}
+
+#eme-notification-icon:hover:active {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
+}
+
+#eme-notification-icon[firstplay=true] {
+ animation: emeTeachingMoment 0.2s linear 0s 5 normal;
+}
+
+@keyframes emeTeachingMoment {
+ 0% {transform: translateX(0); }
+ 25% {transform: translateX(3px) }
+ 75% {transform: translateX(-3px) }
+ 100% { transform: translateX(0); }
+}
+
+/* HiDPI notification icons */
+@media (min-resolution: 1.1dppx) {
+/* #notification-popup-box {
+ border-image: url("chrome://browser/skin/urlbar-arrow@2x.png") 0 16 0 0 fill;
+ }
+*/
+ .notification-anchor-icon {
+ list-style-image: url(chrome://global/skin/icons/information-32.png);
+ }
+
+ .webRTC-shareDevices-notification-icon,
+ #webRTC-shareDevices-notification-icon {
+ list-style-image: url(chrome://browser/skin/webRTC-shareDevice-16@2x.png);
+ }
+
+ .webRTC-sharingDevices-notification-icon,
+ #webRTC-sharingDevices-notification-icon {
+ list-style-image: url(chrome://browser/skin/webRTC-sharingDevice-16@2x.png);
+ }
+
+ .webRTC-shareMicrophone-notification-icon,
+ #webRTC-shareMicrophone-notification-icon {
+ list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-16@2x.png);
+ }
+
+ .webRTC-sharingMicrophone-notification-icon,
+ #webRTC-sharingMicrophone-notification-icon {
+ list-style-image: url(chrome://browser/skin/webRTC-sharingMicrophone-16@2x.png);
+ }
+
+ .webRTC-shareScreen-notification-icon,
+ #webRTC-shareScreen-notification-icon {
+ list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16@2x.png);
+ }
+
+ .webRTC-sharingScreen-notification-icon,
+ #webRTC-sharingScreen-notification-icon {
+ list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16@2x.png);
+ }
+
+ .popup-notification-icon[popupid="webRTC-sharingDevices"],
+ .popup-notification-icon[popupid="webRTC-shareDevices"] {
+ list-style-image: url(chrome://browser/skin/webRTC-shareDevice-64@2x.png);
+ }
+
+ .popup-notification-icon[popupid="webRTC-sharingMicrophone"],
+ .popup-notification-icon[popupid="webRTC-shareMicrophone"] {
+ list-style-image: url(chrome://browser/skin/webRTC-shareMicrophone-64@2x.png);
+ }
+
+ .popup-notification-icon[popupid="webRTC-sharingScreen"],
+ .popup-notification-icon[popupid="webRTC-shareScreen"] {
+ list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64@2x.png);
+ }
+}
+
+/* === END notification-icons.inc.css === */
+
+.popup-notification-body[popupid="addon-progress"],
+.popup-notification-body[popupid="addon-install-confirmation"] {
+ width: 28em;
+ max-width: 28em;
}
/* Translation infobar */
}
}
+notification[value="translation"] hbox[anonid="details"] {
+ overflow: hidden;
+}
+
notification[value="translation"] button,
notification[value="translation"] menulist {
min-width: 0;
min-height: 40px;
}
-.translate-notification-icon,
-#translate-notification-icon {
- list-style-image: url("chrome://browser/skin/translation-16.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
+.translation-menupopup {
+ -moz-appearance: none;
}
-.translated-notification-icon,
-#translated-notification-icon {
- list-style-image: url("chrome://browser/skin/translation-16.png");
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+/* Loop/ Hello browser styles */
+
+notification[value="loop-sharing-notification"] .button-menubutton-button {
+ min-width: 0;
+ border: 0;
+ margin: 0;
}
-.translation-menupopup {
- -moz-appearance: none;
+notification[value="loop-sharing-notification"] .messageImage {
+ list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
}
/* Bookmarks roots menu-items */
-moz-image-region: auto;
}
+#menu_readingList,
+#BMB_readingList {
+ list-style-image: url("chrome://browser/skin/readinglist/readinglist-icon.svg");
+ -moz-image-region: auto;
+}
+
+#panelMenu_pocket,
+#menu_pocket,
+#BMB_pocket {
+ list-style-image: url("chrome://browser/content/pocket/panels/img/pocketmenuitem16.png");
+}
+
/* ::::: Keyboard UI Panel ::::: */
.KUI-panel {
/* === BEGIN commandline.inc.css === */
+/* NOTE: THESE NEED TO STAY IN SYNC WITH LIGHT-THEME.CSS AND DARK-THEME.CSS.
+ We are copy/pasting variables from light-theme and dark-theme,
+ since they aren't loaded in this context (within browser.css). */
+:root #developer-toolbar {
+ --gcli-background-color: #000000; /* --theme-toolbar-background */
+ --gcli-input-background: rgba(0, 0, 0, .75); /* --theme-tab-toolbar-background */
+ --gcli-input-focused-background: #000000; /* --theme-sidebar-background */
+ --gcli-input-color: #FF9F00; /* --theme-body-color-alt */
+ --gcli-border-color: #9C9CFF; /* --theme-splitter-color */
+ --selection-background: #008484; /* --theme-selection-background */
+ --selection-color: #000000; /* --theme-selection-color */
+}
+
/* Developer toolbar */
#developer-toolbar {
- border-top: 3px solid #000000;
+ border-top: 3px solid var(--gcli-background-color);
border-bottom: none;
}
/* line-height: 32px;
outline-style: none; */
background-repeat: no-repeat;
- background-color: rgba(0, 0, 0, .75);
+ background-color: var(--gcli-input-background);
}
.gclitoolbar-input-node[focused="true"] {
- background-color: #000000;
+ background-color: var(--gcli-input-focused-background);
}
.gclitoolbar-input-node::before {
}
.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
- background-color: #008484;
- color: #000000;
- text-shadow: none;
+ background-color: var(--selection-background);
+ color: var(--selection-color);
}
.gclitoolbar-complete-node {
border: 0;
}
-.popup-notification-icon[popupid="servicesInstall"] {
- list-style-image: url("chrome://browser/skin/social/services-64.png");
-}
-#servicesInstall-notification-icon {
- list-style-image: url("chrome://browser/skin/social/services-16.png");
-}
-#social-undoactivation-button {
- -moz-margin-start: 0; /* override default label margin to match description margin */
-}
-
#socialActivatedNotification .popup-notification-button-container {
margin-left: 6px;
}
.chatbar-innerbox {
background: transparent;
- margin: -285px 0 0;
overflow: hidden;
}
/* === END badcontent-doorhanger.inc.css === */
-/* EME notifications */
+/* === BEGIN login-doorhanger.inc.css === */
-.popup-notification-icon[popupid="drmContentPlaying"],
-#eme-notification-icon {
- list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
+#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
+ * individual content views instead. Since we removed the padding, we also
+ * have to ensure the contents are clipped to the border box. */
+ padding: 0;
+ overflow: hidden;
}
-#eme-notification-icon:hover:active {
- list-style-image: url("chrome://browser/skin/drm-icon.svg#chains-pressed");
+#login-fill-mainview,
+#login-fill-details {
+ padding: var(--panel-arrowcontent-padding);
+}
+
+#login-fill-doorhanger[inDetailView] > #login-fill-mainview {
+ transform: translateX(-14px);
+}
+
+#login-fill-mainview,
+#login-fill-details {
+ transition: transform 150ms;
+}
+
+#login-fill-doorhanger:not([inDetailView]) > #login-fill-details {
+ transform: translateX(105%);
+}
+
+#login-fill-doorhanger:not([inDetailView]) > #login-fill-details:-moz-locale-dir(rtl) {
+ transform: translateX(-105%);
+}
+
+#login-fill-doorhanger[inDetailView] > #login-fill-clickcapturer {
+ background-color: hsla(240,39%,100%,.1);
+}
+
+#login-fill-testing {
+ color: #FF0000;
+ font-weight: bold;
+}
+
+#login-fill-list {
+ border: 1px solid #9C9CFF;
+ max-height: 20em;
}
+.login-fill-item[disabled] {
+ color: #8050B0;
+ background-color: #000000;
+}
+
+.login-fill-item[disabled][selected] {
+ background-color: #008484;
+}
+
+.login-hostname {
+ margin: 4px;
+ font-weight: bold;
+}
+
+.login-fill-item.different-hostname > .login-hostname {
+ color: #A09090;
+ font-style: italic;
+}
+
+.login-username {
+ margin: 4px;
+ color: #A09090;
+}
+
+#login-fill-details {
+ padding: 4px;
+ background: var(--panel-arrowcontent-background);
+ color: var(--panel-arrowcontent-color);
+ background-clip: padding-box;
+ border-left: 1px solid #9C9CFF;
+ -moz-margin-start: 38px;
+}
+
+/* === END login-doorhanger.inc.css === */
+
/* === BEGIN customizeMode.inc.css === */
/* Customization mode */
#customization-titlebar-visibility-button {
list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
-moz-image-region: rect(0, 16px, 16px, 0);
- padding: 0px 5px;
}
#customization-titlebar-visibility-button:hover {
-moz-image-region: rect(16px, 16px, 32px, 0);
}
+#customization-lwtheme-button,
+#customization-titlebar-visibility-button {
+ padding: 0px 5px;
+}
+
#customization-titlebar-visibility-button > .button-box {
padding-top: 0;
padding-bottom: 1px;
padding-bottom: 0;
}
+#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text,
#customization-titlebar-visibility-button > .button-box > .button-text {
/* Sadly, button.css thinks its margins are perfect for everyone. */
-moz-margin-start: 5px !important;
}
+#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
+ width: 20px;
+ height: 20px;
+ border-radius: 2px;
+ background-size: contain;
+}
+
#customization-titlebar-visibility-button > .button-box > .button-icon {
vertical-align: middle;
}
background-color: #FF9F00;
}
+@media (min-resolution: 1.1dppx) {
+ #customization-titlebar-visibility-button {
+ list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle@2x.png");
+ -moz-image-region: rect(0, 48px, 48px, 0);
+ }
+
+ #customization-titlebar-visibility-button:hover {
+ -moz-image-region: rect(48px, 48px, 96px, 0);
+ }
+
+ #customization-titlebar-visibility-button[checked] {
+ -moz-image-region: rect(0, 96px, 48px, 48px);
+ }
+
+ #customization-titlebar-visibility-button[checked]:hover {
+ -moz-image-region: rect(48px, 96px, 96px, 48px);
+ }
+}
+
#main-window[customize-entered] #customization-panel-container {
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
background-position: left top;
color: #000000;
}
-.SearchHighlight {
- -moz-margin-end: 6px;
- font-size: 110%;
- width: 225px;
-}
-
-.SearchHighlight label,
-.SearchHighlight description {
- color: #008484;
- margin: 0 0 8px 0;
- padding: 0;
-}
-
-.SearchHighlightTitle {
- font-weight: bold;
-}
-
-.SearchHighlight .dot {
- width: 7px;
- height: 7px;
- background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9);
- background-size: 7px;
- background-position: center center;
- background-repeat: no-repeat;
- -moz-margin-end: 2px;
-}
-
-.SearchHighlight .dot.filled {
- background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0);
-}
-
-.SearchHighlight button {
- margin: 0;
- /* On some platforms clicking the button will steal focus from the search box
- causing the popup to close. */
- -moz-user-focus: ignore;
-}
-
-@media not all and (max-resolution: 1dppx) {
- .SearchHighlight .dot {
- background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18);
- }
-
- .SearchHighlight .dot.filled {
- background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0);
- }
-}
-
/* Notification overrides for Heartbeat UI */
notification.heartbeat {
background-color: #A09090;
+/* height: 40px;*/
}
@keyframes pulse-onshow {
.messageText.heartbeat {
color: #000000;
-/* font-weight: normal;
- font-family: "Lucida Grande", Segoe, Ubuntu;
- font-size: 14px;
- line-height: 16px;
- text-shadow: none; */
+/* text-shadow: none; */
+ -moz-margin-start: 0px;
}
.messageImage.heartbeat {
- width: 36px;
- height: 36px;
- -moz-margin-end: 10px;
+ width: 24px;
+ height: 24px;
+ -moz-margin-start: 8px;
+ -moz-margin-end: 8px;
}
.messageImage.heartbeat.pulse-onshow {
animation-timing-function: linear;
}
+/* Learn More link styles */
+.heartbeat > .text-link {
+ color: #3333FF;
+ -moz-margin-start: 0px;
+}
+
+.heartbeat > .text-link:hover {
+ color: #9C9CFF;
+ text-decoration: none;
+}
+
+.heartbeat > .text-link:hover:active {
+ color: #FF9F00;
+}
+
/* Heartbeat UI Rating Star Classes */
.heartbeat > #star-rating-container {
display: -moz-box;
+/* margin-bottom: 4px;*/
}
.heartbeat > #star-rating-container > #star5 {
.heartbeat > #star-rating-container > .star-x {
background: url("chrome://browser/skin/heartbeat-star-off.svg");
cursor: pointer;
- width: 24px;
- height: 24px;
+ /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
+ -moz-margin-end: 4px !important;
+ width: 16px;
+ height: 16px;
}
.heartbeat > #star-rating-container > .star-x:hover,
.heartbeat > #star-rating-container > .star-x:hover ~ .star-x {
background: url("chrome://browser/skin/heartbeat-star-lit.svg");
- cursor: pointer;
- width: 24px;
- height: 24px;
}
/* === END UITour.inc.css === */
-moz-image-region: rect(36px, 144px, 54px, 126px);
}
+#context-bookmarkpage[starred=true] {
+ /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked"); */
+ -moz-image-region: rect(0px, 162px, 18px, 144px);
+}
+
+#context-bookmarkpage[starred=true][_moz-menuactive=true] {
+ /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-active"); */
+ -moz-image-region: rect(18px, 162px, 36px, 144px);
+}
+
+#context-bookmarkpage[starred=true][disabled=true] {
+ /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked-disabled"); */
+ -moz-image-region: rect(36px, 162px, 54px, 144px);
+}
+
#context-back:-moz-locale-dir(rtl),
#context-forward:-moz-locale-dir(rtl),
#context-reload:-moz-locale-dir(rtl) {
list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
}
+#context-media-eme-learnmore {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
+}
+
/* === END contextmenu.inc.css === */
#context-navigation {