/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
-#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
-#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
+#toolbar-menubar:not([autohide=true]) ~ #TabsToolbar:not([inFullscreen]),
+#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar:not([inFullscreen]) {
/* margin-top: 3px;*/
}
-moz-appearance: none;
margin-top: 6px;
margin-top: 4px;
- -moz-margin-end: 3px;
+ margin-inline-end: 3px;
z-index: 1;
}
toolbarbutton.bookmark-item:not(.subviewbutton),
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
/* margin: 0;
- padding: 2px 3px;*/
+ padding: 2px 3px;
+ -moz-appearance: none;
+ border: 1px solid transparent;*/
}
-toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
-toolbarbutton.bookmark-item[open="true"] {
-/* padding-top: 3px;
- padding-bottom: 1px;
- -moz-padding-start: 4px;
- -moz-padding-end: 2px;*/
+toolbarbutton.bookmark-item:not(.subviewbutton):hover:not([disabled="true"]):not([open]) {
+/* border-color: var(--toolbarbutton-hover-bordercolor);
+ background: var(--toolbarbutton-hover-background);*/
+}
+
+toolbarbutton.bookmark-item:not(.subviewbutton):hover:active:not([disabled="true"]),toolbarbutton.bookmark-item[open="true"] {
+/* border-color: var(--toolbarbutton-active-bordercolor);
+ box-shadow: var(--toolbarbutton-active-boxshadow);
+ background: var(--toolbarbutton-active-background);*/
}
.bookmark-item > .toolbarbutton-icon,
#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
width: 16px;
height: 16px;
- -moz-margin-start: 1px;
- -moz-margin-end: 2px;
+ margin-inline-start: 1px;
+ margin-inline-end: 2px;
margin-top: 1px;
margin-bottom: 1px;
}
}
.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
- -moz-padding-start: 0px;
+ padding-inline-start: 0px;
}
/* ::::: bookmark items ::::: */
#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),
+ #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #containers-panelmenu),
#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
list-style-image: url("chrome://browser/skin/ToolbarFx.png");
}
#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
padding-top: 2px;
padding-bottom: 0px;
- -moz-padding-start: 2px;
- -moz-padding-end: 0px;
+ padding-inline-start: 2px;
+ padding-inline-end: 0px;
}
#history-panelmenu[cui-areatype="toolbar"] {
-moz-image-region: rect(18px, 792px, 36px, 774px);
}
+#containers-panelmenu[cui-areatype="toolbar"] {
+ -moz-image-region: rect(0, 810px, 18px, 792px);
+}
+
+#containers-panelmenu[cui-areatype="toolbar"]:hover {
+ -moz-image-region: rect(18px, 810px, 36px, 792px);
+}
+
#feed-button[cui-areatype="toolbar"] {
-moz-image-region: rect(0, 288px, 18px, 270px);
}
#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)[cui-areatype="menu-panel"],
+ #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #containers-panelmenu)[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, #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) {
+ #copy-button, #paste-button, #e10s-button, #panic-button, #webide-button, #containers-panelmenu) {
list-style-image: var(--menupanel-list-style-image);
}
-moz-image-region: rect(32px, 1024px, 64px, 992px);
}
+#containers-panelmenu[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #containers-panelmenu {
+ -moz-image-region: rect(0px, 1056px, 32px, 1024px);
+}
+
+#containers-panelmenu[cui-areatype="menu-panel"]:hover,
+toolbarpaletteitem[place="palette"] > #containers-panelmenu:hover,
+#containers-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
+ -moz-image-region: rect(32px, 1056px, 64px, 1024px);
+}
+
#feed-button[cui-areatype="menu-panel"],
toolbarpaletteitem[place="palette"] > #feed-button {
-moz-image-region: rect(0px, 416px, 32px, 384px);
.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
padding-top: 2px;
padding-bottom: 0px;
- -moz-padding-start: 3px;
- -moz-padding-end: 1px;
+ padding-inline-start: 3px;
+ padding-inline-end: 1px;
}
#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
}
#nav-bar #PanelUI-menu-button {
-/* -moz-padding-start: 7px;
- -moz-padding-end: 5px;*/
+/* padding-inline-start: 7px;
+ padding-inline-end: 5px;*/
}
#nav-bar .toolbarbutton-1[type=panel],
}
#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
-/* -moz-padding-end: 0;*/
+/* padding-inline-end: 0;*/
}
#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
-/* -moz-padding-start: 0;
+/* padding-inline-start: 0;
-moz-box-align: center;*/
}
transition-duration: 150ms;*/
}
/*
-#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
-#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-stack,
-#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
- padding: 3px 7px;
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-icon,
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-badge-stack,
+#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@, .toolbarbutton-legacy-addon)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
+ padding: calc(var(--toolbarbutton-vertical-inner-padding) + 1px) 7px;
}
*/
#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button):not(#back-button):not(#forward-button) > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1[type=menu]:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack,
#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
-/* -moz-padding-end: 17px;*/
+/* padding-inline-end: 17px;*/
}
#nav-bar .toolbarbutton-1[type=panel] > .toolbarbutton-icon,
display: -moz-box;
width: 1px;
height: 16px;
- -moz-margin-end: -1px;
+ margin-inline-end: -1px;
*/
}
}
#forward-button {
- -moz-margin-start: -4px !important;
+ margin-inline-start: -4px !important;
padding-left: 5px;
padding-right: 5px;
margin-top: 3px;
#back-button {
/* padding-top: 3px !important;
padding-bottom: 3px !important;
- -moz-padding-start: 5px !important;
- -moz-padding-end: 0 !important;*/
+ padding-inline-start: 5px !important;
+ padding-inline-end: 0 !important;*/
position: relative;
z-index: 1;
border-radius: 10000px;
/* ::::: fullscreen window controls ::::: */
-#window-controls {
- -moz-margin-start: 4px;
-}
-
#minimize-button,
#restore-button,
#close-button {
-/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
- padding: 0; */
+ -moz-appearance: none;
+ border: none;
+/* margin: 0 !important;
+ padding: 6px 12px;*/
}
#minimize-button {
- list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize);
}
#minimize-button:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#minimize-hover);
}
#restore-button {
- list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore);
+}
+
+#restore-button:hover {
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#restore-hover);
}
+#minimize-button:hover,
#restore-button:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
+/* background-color: hsla(0, 0%, 0%, .12);*/
+}
+
+#minimize-button:hover:active,
+#restore-button:hover:active {
+/* background-color: hsla(0, 0%, 0%, .22);*/
}
#close-button {
- list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#close);
}
#close-button:hover {
- list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
+/* background-color: hsl(355, 86%, 49%);*/
+ list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-hover);
+}
+
+#close-button:hover:active {
+/* background-color: hsl(355, 82%, 69%);*/
}
/* ::::: Location Bar ::::: */
.searchbar-textbox {
border-radius: 5px;
margin: 2px 0;
- -moz-margin-start: 3px;
+ margin-inline-start: 3px;
}
#urlbar {
}
window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
-/* -moz-border-start: none;
+/* border-inline-start: none;
margin-left: 0;*/
}
-moz-box-direction: reverse;
}
-html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
-.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
+html|*.urlbar-input:-moz-lwtheme::placeholder,
+.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::placeholder {
color: #E7ADE7;
}
}
.urlbar-input-box {
- -moz-margin-start: 0;
+ margin-inline-start: 0;
+}
+
+.urlbar-input-box,
+#urlbar-display-box {
+ padding-inline-start: 4px;
+/* border-inline-start: 1px solid var(--urlbar-separator-color);
+ border-inline-end: 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-icons {
#urlbar-search-splitter {
min-width: 6px;
- -moz-margin-start: -3px;
+ margin-inline-start: -3px;
border: none;
background: transparent;
}
#urlbar-search-splitter + #urlbar-container > #urlbar,
#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
- -moz-margin-start: 0;
-}
-
-#urlbar-display-box {
+ margin-inline-start: 0;
}
.urlbar-display {
- -moz-border-end: 1px solid #9C9CFF;
- -moz-margin-end: 3px;
+ border-inline-end: 1px solid #9C9CFF;
+ margin-inline-end: 3px;
margin-top: 0;
margin-bottom: 0;
- -moz-margin-start: 0;
+ margin-inline-start: 0;
color: #8050B0;
}
border-bottom: 1px solid #A09090;
background-color: #000000;
padding: 6px 0;
- -moz-padding-start: 44px;
- -moz-padding-end: 6px;
+ padding-inline-start: 44px;
+ padding-inline-end: 6px;
background-image: url("chrome://browser/skin/info.svg");
background-clip: padding-box;
background-position: 20px center;
}
#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > description > label.text-link {
- -moz-margin-start: 0;
+ margin-inline-start: 0;
}
#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button {
border-radius: 3px;
padding: 4px 16px;
margin: 0;
- -moz-margin-start: 10px;
+ margin-inline-start: 10px;
}
#PopupAutoCompleteRichResult > hbox[anonid="search-suggestions-notification"] > button[anonid="search-suggestions-notification-disable"] {
transition: none;
}
-#navigator-toolbox:not(:hover) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker {
+#navigator-toolbox:not(:hover) #nav-bar:not([customizing="true"]) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker {
opacity: 0;
}
/* === BEGIN identity-block.inc.css === */
#identity-box {
-/* --identity-box-hover-background-color: #FFCF00;
- --identity-box-selected-background-color: #FF9F00; */
--identity-box-verified-color: #008484;
/* Default theme does different color per channel, we can't as they do it build-time. */
--identity-box-chrome-color: #9C9CFF;
- border-inline-end: 1px solid var(--urlbar-separator-color);
font-size: .9em;
border-radius: 2px;
padding: 3px 5px;
- margin-inline-end: 4px;
overflow: hidden;
/* The latter two properties have a transition to handle the delayed hiding of
the forward button when hovered. */
#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
color: var(--identity-box-chrome-color);
- -moz-border-end: 1px solid var(--identity-box-chrome-color);
-}
-
-#identity-box:hover > :not(#identity-icon),
-#identity-box[open=true] > :not(#identity-icon) {
-/* filter: grayscale(100%);*/
+ border-inline-end: 1px solid var(--identity-box-chrome-color);
}
#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
color: var(--identity-box-verified-color);
- -moz-border-end: 1px solid var(--identity-box-verified-color);
+ border-inline-end: 1px solid var(--identity-box-verified-color);
}
#identity-icon-labels:-moz-locale-dir(ltr) {
padding-right: 2px;
}
-#notification-popup-box:not([hidden]) + #identity-box {
- padding-inline-start: 10px;
- border-radius: 0;
-}
-
window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
/* border-radius: 0;
padding-inline-start: 2px; */
margin-inline-end: 1px;
}
-window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
- #notification-popup-box[hidden] + #identity-box {
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #identity-box {
padding-inline-start: 2px;
}
-window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
- #notification-popup-box[hidden] + #identity-box {
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar > #identity-box {
/* Forward button hiding is delayed when hovered, so we should use the same
delay for the identity box. We handle both horizontal paddings (for LTR and
RTL), the latter two delays here are for padding-left and padding-right. */
transition-delay: 0s, 100s, 100s;
}
-window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
- #notification-popup-box[hidden] + #identity-box {
+window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar > #identity-box {
/* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
padding-inline-start: 2.01px;
}
list-style-image: url(chrome://browser/skin/identity-icon.svg#normal);
}
-#identity-box:hover > #identity-icon,
+#identity-box:hover > #identity-icon:not(.no-hover),
#identity-box[open=true] > #identity-icon {
list-style-image: url(chrome://browser/skin/identity-icon.svg#hover);
}
+#identity-box.grantedPermissions > #identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#notice);
+}
+
+#identity-box.grantedPermissions:hover > #identity-icon:not(.no-hover),
+#identity-box.grantedPermissions[open=true] > #identity-icon {
+ list-style-image: url(chrome://browser/skin/identity-icon.svg#notice-hover);
+}
+
#urlbar[pageproxystate="valid"] > #identity-box.chromeUI > #identity-icon {
list-style-image: url(chrome://branding/content/identity-icons-brand.svg);
}
}
#urlbar[pageproxystate="valid"] > #identity-box.verifiedDomain > #connection-icon,
-#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon {
+#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity > #connection-icon,
+#urlbar[pageproxystate="valid"] > #identity-box.mixedActiveBlocked > #connection-icon {
list-style-image: url(chrome://browser/skin/identity-secure.svg);
visibility: visible;
}
+#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon {
+ list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.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.mixedActiveBlocked > #connection-icon {
- list-style-image: url(chrome://browser/skin/identity-mixed-active-blocked.svg);
- visibility: visible;
-}
-
-#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon {
- list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg);
- visibility: visible;
-}
-
/* === END identity-block.inc.css === */
#page-proxy-favicon {
}
window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
-/* -moz-margin-end: 1px;*/
+/* margin-inline-end: 1px;*/
}
#identity-box:hover > #page-proxy-favicon {
#identity-box:hover:active,
#identity-box[open=true] {
- background-color: #FF9F00;
+ background-color: #A09090;
color: #000000;
}
color: #000000;
}
+#identity-box:hover > image,
+#identity-box:hover:active > image,
+#identity-box[open=true] > image {
+ filter: url(chrome://global/skin/filters.svg#active-icon-state);
+}
+
/* autocomplete */
#treecolAutoCompleteImage {
#urlbar-stop-button {
border-style: none;
list-style-image: url("chrome://browser/skin/reload-stop-goFx.png");
-/* padding: 0 9px;*/
+/* margin: 0 9px; */
margin-inline-start: 0px;
border-inline-start: 1px solid var(--urlbar-separator-color);
border-image: linear-gradient(transparent 15%,
#urlbar > toolbarbutton:not([disabled=true]):active:hover,
#urlbar-reload-button:not(:hover) {
- -moz-border-start-style: none;
- -moz-padding-start: 3px;
+ border-inline-start-style: none;
+ padding-inline-start: 3px;
}
#urlbar-reload-button {
min-width: 27em;
}
-.panel-promo-box {
- margin: 5px 0 -6px;
- padding: 5px 0;
- border-top: 1px solid #9C9CFF;
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
-}
-
-.panel-promo-icon {
- list-style-image: url("chrome://browser/skin/sync-notification-24.png");
- -moz-margin-end: 10px;
- vertical-align: middle;
-}
-
-.panel-promo-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-button.gif");
- -moz-margin-end: -3px;
- margin-top: -3px;
-}
-
-.panel-promo-closebutton:hover {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
-}
-
-.panel-promo-closebutton:hover:active {
- list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
-}
-
-.panel-promo-closebutton > .toolbarbutton-text {
- padding: 0;
-}
-
/* ::::: content area ::::: */
#sidebar-box {
}
#sidebar-splitter {
- -moz-margin-start: 0;
+ margin-inline-start: 0;
}
#sidebar-header {
}
#sidebar-title {
- -moz-padding-start: 0px;
+ padding-inline-start: 0px;
}
#sidebar-header > .close-icon {
}
.tabbrowser-tab:first-of-type {
- -moz-margin-start: 2px;
+ margin-inline-start: 2px;
}
.tabs-newtab-button,
#TabsToolbar > toolbarpaletteitem > #new-tab-button,
#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
border-radius: 8px 8px 0px 0px;
- -moz-margin-start: 0;
+ margin-inline-start: 0;
}
.tabs-newtab-button:not(:hover),
.tab-throbber,
.tab-icon-image,
+.tab-sharing-icon-overlay,
.tab-icon-sound,
.tab-close-button {
}
.tab-throbber,
+.tab-sharing-icon-overlay,
.tab-icon-image {
height: 16px;
width: 16px;
- -moz-margin-end: 3px;
+ margin-inline-end: 3px;
}
.tab-icon-image {
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
+.tab-icon-image[sharing]:not([selected]),
+.tab-sharing-icon-overlay {
+ animation: 3s linear pulse infinite;
+}
+
+@keyframes pulse {
+ 0%, 16.66%, 83.33%, 100% {
+ opacity: 0;
+ }
+ 33.33%, 66.66% {
+ opacity: 1;
+ }
+}
+
+.tab-icon-image[sharing]:not([selected]) {
+ animation-delay: -1.5s;
+}
+
+.tab-sharing-icon-overlay {
+ /* 16px of the icon + 6px of margin-inline-end of .tab-icon-image */
+ margin-inline-start: -22px;
+ position: relative;
+}
+
+.tab-sharing-icon-overlay[sharing="camera"] {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#camera");
+}
+
+.tab-sharing-icon-overlay[sharing="microphone"] {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#microphone");
+}
+
+.tab-sharing-icon-overlay[sharing="screen"] {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#screen");
+}
+
+.tab-sharing-icon-overlay[sharing] {
+ filter: url("chrome://global/skin/filters.svg#fill");
+ fill: #FFCF00;
+}
+
.tab-icon-overlay {
width: 16px;
height: 16px;
margin-top: -8px;
- -moz-margin-start: -15px;
+ margin-inline-start: -15px;
margin-inline-end: -1px;
position: relative;
}
}
.tab-icon-overlay[soundplaying] {
- display: -moz-box;
list-style-image: url("chrome://browser/skin/tabbrowser/tab-audio-small.svg#tab-audio");
}
.tab-throbber[pinned],
.tab-icon-image[pinned] {
- -moz-margin-start: 2px;
- -moz-margin-end: 2px;
+ margin-inline-start: 2px;
+ margin-inline-end: 2px;
}
.tab-label {
}
.tab-icon-sound {
- -moz-margin-start: 4px;
+ margin-inline-start: 4px;
width: 16px;
height: 16px;
padding: 0;
/* End selected tab */
-/* User Context UI - change tab decoration depending on userContextId.
- Defaults to gray for unknown usercontextids. */
-.tabbrowser-tab[usercontextid] {
- background-image: linear-gradient(to right, transparent 20%, #A09090 30%, #A09090 70%, transparent 80%);
- background-size: auto 2px;
- background-repeat: no-repeat;
-}
-
-/* Personal User Context */
-.tabbrowser-tab[usercontextid="1"] {
- background-image: linear-gradient(to right, transparent 20%, #9C9CFF 30%, #9C9CFF 70%, transparent 80%);
-}
-/* Work User Context */
-.tabbrowser-tab[usercontextid="2"] {
- background-image: linear-gradient(to right, transparent 20%, #FF9F00 30%, #FF9F00 70%, transparent 80%);
-}
-/* Banking User Context */
-.tabbrowser-tab[usercontextid="3"] {
- background-image: linear-gradient(to right, transparent 20%, #008484 30%, #008484 70%, transparent 80%);
-}
-/* Shopping User Context */
-.tabbrowser-tab[usercontextid="4"] {
- background-image: linear-gradient(to right, transparent 20%, #E7ADE7 30%, #E7ADE7 70%, transparent 80%);
-}
-
/* Tab pointer-events */
/*
.tabbrowser-tab {
.tabbrowser-tab::after,
.tabbrowser-tab::before {
width: 1px;
- -moz-margin-start: -1px;
+ margin-inline-start: -1px;
background-image: linear-gradient(transparent 5px,
currentColor 5px,
currentColor calc(100% - 4px),
width: 28px;
/* width: calc(36px + var(--tab-curve-width)); */
}
+@media (min-resolution: 1.1dppx) {
+ /* image preloading hack from like lowdpi styles */
+ #tabbrowser-tabs::before {
+ }
-/* === END tabs.inc.css === */
+ .tabbrowser-tab:hover > .tab-stack > .tab-background:not([visuallyselected=true]),
+ .tabs-newtab-button:hover {
+ }
-/* Background tabs:
- *
- * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
- * 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([visuallyselected=true]) {
-/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
+ .tab-background-middle[visuallyselected=true] {
+ }
+
+ .tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr)::after,
+ .tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl)::after {
+ }
+
+ .tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr)::after,
+ .tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl)::after {
+ }
+
+ .tab-icon-image {
+ list-style-image: url("chrome://mozapps/skin/places/defaultFavicon@2x.png");
+ }
}
+/* === END tabs.inc.css === */
+
/* Tab DnD indicator */
.tab-drop-indicator {
list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
#sidebar-throbber[loading="true"] {
list-style-image: url("chrome://global/skin/icons/loading.png");
- -moz-margin-end: 4px;
+ margin-inline-end: 4px;
}
@media (min-resolution: 1.1dppx) {
.menupopup-drop-indicator {
list-style-image: none;
height: 2px;
- -moz-margin-end: -4em;
+ margin-inline-end: -4em;
background-color: #008484;
}
/* === BEGIN notification-icons.inc.css === */
+#notification-popup-box {
+ border-radius: 3px 0 0 3px;
+ padding: 5px 0px;
+ margin: -5px 0px;
+ margin-inline-end: -5px;
+ padding-inline-end: 5px;
+}
+
+/* This class can be used alone or in combination with the class defining the
+ type of icon displayed. This rule must be defined before the others in order
+ for its list-style-image to be overridden. */
+.notification-anchor-icon {
+ width: 16px;
+ height: 16px;
+ margin-inline-start: 2px;
+ list-style-image: url("chrome://global/skin/icons/information-16.png");
+}
+
+.notification-anchor-icon:-moz-focusring {
+ outline: 1px dotted #008484;
+}
+
+@media (min-resolution: 1.1dppx) {
+ .notification-anchor-icon {
+ list-style-image: url(chrome://global/skin/icons/information-32.png);
+ }
+}
+
.popup-notification-icon {
width: 64px;
height: 64px;
- -moz-margin-end: 10px;
+ margin-inline-end: 10px;
}
-.popup-notification-icon[popupid="geolocation"] {
- list-style-image: url("chrome://browser/skin/Geolocation-64.png");
+#notification-popup-box > .notification-anchor-icon:not(.in-use):hover {
+ fill: #000000;
}
-.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);
+/* INDIVIDUAL NOTIFICATIONS */
+
+/* For the moment we apply the color filter only on the icons listed here.
+ The first two selectors are used by socialchat.xml (bug 1275558). */
+.webRTC-sharingDevices-notification-icon,
+.webRTC-sharingMicrophone-notification-icon,
+.camera-icon,
+.geo-icon,
+.indexedDB-icon,
+.install-icon,
+.login-icon,
+.microphone-icon,
+.plugin-icon,
+.pointerLock-icon,
+.popup-icon,
+.screen-icon,
+.desktop-notification-icon,
+.popup-notification-icon[popupid="geolocation"],
+.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
+.popup-notification-icon[popupid="password"],
+.popup-notification-icon[popupid="pointerLock"],
+.popup-notification-icon[popupid="webRTC-shareDevices"],
+.popup-notification-icon[popupid="webRTC-shareMicrophone"],
+.popup-notification-icon[popupid="webRTC-shareScreen"],
+.popup-notification-icon[popupid="webRTC-sharingDevices"],
+.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
+.popup-notification-icon[popupid="webRTC-sharingScreen"],
+.popup-notification-icon[popupid="web-notifications"] {
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: #A09090;
}
-.popup-notification-icon[popupid="addon-progress"] {
- list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
+/* The first two selectors are used by socialchat.xml (bug 1275558). The
+ notifications in the chat window are only shown when they are in use. */
+.webRTC-sharingDevices-notification-icon,
+.webRTC-sharingMicrophone-notification-icon,
+.in-use {
+ fill: #008484;
}
-.popup-notification-icon[popupid="addon-install-failed"] {
- list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
+.popup-notification-icon[popupid="web-notifications"],
+.desktop-notification-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification);
}
-.popup-notification-icon[popupid="addon-install-confirmation"] {
- list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
+.desktop-notification-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#desktop-notification-blocked);
}
-#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
- list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
+.geo-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows);
}
-.popup-notification-icon[popupid="addon-install-complete"] {
- list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
+.geo-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows-blocked);
}
-.popup-notification-icon[popupid="addon-install-restart"] {
- list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
+.popup-notification-icon[popupid="geolocation"] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#geo-windows-detailed);
}
-.popup-notification-icon[popupid="click-to-play-plugins"] {
- list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
+.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
+.indexedDB-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB);
}
-.popup-notification-icon[popupid="web-notifications"] {
- list-style-image: url("chrome://browser/skin/web-notifications-icon.svg");
+.indexedDB-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#indexedDB-blocked);
}
-.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");
+.login-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#login);
}
.popup-notification-icon[popupid="password"] {
- list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#login-detailed);
}
-.popup-notification-icon[popupid="webRTC-sharingDevices"],
-.popup-notification-icon[popupid="webRTC-shareDevices"] {
- list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
+#login-fill-notification-icon {
+ /* Temporary solution until the capture and fill doorhangers are unified. */
+ transform: scaleX(-1);
}
-.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
-.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
- list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
+/* The first selector is used by socialchat.xml (bug 1275558). */
+.webRTC-sharingDevices-notification-icon,
+.camera-icon,
+.popup-notification-icon[popupid="webRTC-shareDevices"],
+.popup-notification-icon[popupid="webRTC-sharingDevices"] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#camera);
}
-.popup-notification-icon[popupid="webRTC-sharingScreen"],
-.popup-notification-icon[popupid="webRTC-shareScreen"] {
- list-style-image: url(chrome://browser/skin/webRTC-shareScreen-64.png);
+.camera-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#camera-blocked);
+}
+
+/* The first selector is used by socialchat.xml (bug 1275558). */
+.webRTC-sharingMicrophone-notification-icon,
+.microphone-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone);
}
-.popup-notification-icon[popupid="pointerLock"] {
- list-style-image: url("chrome://browser/skin/pointerLock-64.png");
+.microphone-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-blocked);
}
-/* Notification icon box */
-#notification-popup .panel-promo-box {
-/* margin: 10px -10px -10px; */
+.popup-notification-icon[popupid="webRTC-shareMicrophone"],
+.popup-notification-icon[popupid="webRTC-sharingMicrophone"] {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#microphone-detailed);
}
-#notification-popup-box {
- position: relative;
- background-color: #000000;
- background-clip: padding-box;
- padding-left: 3px;
- padding-right: 8px;
- border-radius: 3px 0 0 3px;
- border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
- -moz-margin-end: -8px;
- border-right-width: 8px;
+.popup-notification-icon[popupid="webRTC-shareScreen"],
+.popup-notification-icon[popupid="webRTC-sharingScreen"],
+.screen-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#screen);
}
-window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
-/* padding-left: 7px; */
+.screen-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#screen-blocked);
}
-/* This changes the direction of the main notification box on the url bar. */
-#notification-popup-box:-moz-locale-dir(rtl),
-/* This adds a second flip for the notification anchors, as they don't switch direction
- for RTL mode. */
-.notification-anchor-icon:-moz-locale-dir(rtl) {
- transform: scaleX(-1);
+.popup-notification-icon[popupid="pointerLock"],
+.pointerLock-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#pointerLock);
}
-/* For the anchor icons in the chat window, we don't have the notification popup box,
- so we need to cancel the RTL transform. */
-.notification-anchor-icon.chat-toolbarbutton:-moz-locale-dir(rtl) {
- transform: none;
+.pointerLock-icon.blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#pointerLock-blocked);
}
-.notification-anchor-icon {
- list-style-image: url("chrome://global/skin/icons/information-16.png");
+/* This icon has a block sign in it, so we don't need a blocked version. */
+.popup-icon {
+ list-style-image: url("chrome://browser/skin/notification-icons.svg#popup");
+}
- width: 16px;
- height: 16px;
- margin: 0 2px;
+/* EME */
+
+.popup-notification-icon[popupid="drmContentPlaying"],
+.drm-icon {
+ list-style-image: url("chrome://browser/skin/drm-icon.svg#chains");
}
-.notification-anchor-icon:-moz-focusring {
- outline: 1px dotted #008484;
+.drm-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;
}
-.geo-notification-icon,
-#geo-notification-icon {
- list-style-image: url("chrome://browser/skin/Geolocation-16.png");
+@keyframes emeTeachingMoment {
+ 0% {transform: translateX(0); }
+ 25% {transform: translateX(3px) }
+ 75% {transform: translateX(-3px) }
+ 100% { transform: translateX(0); }
}
-#addons-notification-icon {
+/* INSTALL ADDONS */
+
+.install-icon {
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);
+.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);
}
-#addons-notification-icon:hover:active {
- list-style-image: url(chrome://browser/skin/addons/addon-install-anchor.svg#active);
+.popup-notification-icon[popupid="addon-progress"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-downloading.svg);
}
-.indexedDB-notification-icon,
-#indexedDB-notification-icon {
- list-style-image: url("chrome://global/skin/icons/question-16.png");
+.popup-notification-icon[popupid="addon-install-failed"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-error.svg);
}
-#password-notification-icon {
- list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
+.popup-notification-icon[popupid="addon-install-confirmation"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-confirm.svg);
}
-#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);
+#addon-install-confirmation-notification[warning] .popup-notification-icon[popupid="addon-install-confirmation"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-warning.svg);
+}
+
+.popup-notification-icon[popupid="addon-install-complete"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-installed.svg);
}
-#plugins-notification-icon {
- list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
+.popup-notification-icon[popupid="addon-install-restart"] {
+ list-style-image: url(chrome://browser/skin/addons/addon-install-restart.svg);
}
-#plugins-notification-icon.plugin-hidden {
- list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
+.popup-notification-icon[popupid="click-to-play-plugins"] {
+ list-style-image: url(chrome://mozapps/skin/plugins/pluginBlocked-64.png);
}
-#plugins-notification-icon.plugin-blocked {
- list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
+/* OFFLINE APPS */
+
+.popup-notification-icon[popupid*="offline-app-requested"],
+.popup-notification-icon[popupid="offline-app-usage"] {
+ list-style-image: url(chrome://global/skin/icons/question-64.png);
}
-#plugins-notification-icon {
-/* -moz-image-region: rect(0, 16px, 16px, 0);*/
+/* PLUGINS */
+
+.plugin-icon {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin);
}
-#plugins-notification-icon:hover {
-/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
+.plugin-icon.plugin-blocked {
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked);
+ fill: #FF0000 !important; /* important! to override the default hover color */
}
#notification-popup-box[hidden] {
}
}
-.webRTC-shareDevices-notification-icon,
-#webRTC-shareDevices-notification-icon {
- list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
-}
+/* SOCIAL API */
-.webRTC-sharingDevices-notification-icon,
-#webRTC-sharingDevices-notification-icon {
- list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
+.popup-notification-icon[popupid="servicesInstall"] {
+ list-style-image: url(chrome://browser/skin/social/services-64.png);
}
-.webRTC-shareMicrophone-notification-icon,
-#webRTC-shareMicrophone-notification-icon {
- list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
+.service-icon {
+ list-style-image: url(chrome://browser/skin/social/services-16.png);
}
-.webRTC-sharingMicrophone-notification-icon,
-#webRTC-sharingMicrophone-notification-icon {
- list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
-}
+/* TRANSLATION */
-.webRTC-shareScreen-notification-icon,
-#webRTC-shareScreen-notification-icon {
- list-style-image: url(chrome://browser/skin/webRTC-shareScreen-16.png);
+.translation-icon {
+ list-style-image: url(chrome://browser/skin/translation-16.png);
+ -moz-image-region: rect(0px, 16px, 16px, 0px);
}
-.webRTC-sharingScreen-notification-icon,
-#webRTC-sharingScreen-notification-icon {
- list-style-image: url(chrome://browser/skin/webRTC-sharingScreen-16.png);
-}
-
-.web-notifications-notification-icon,
-#web-notifications-notification-icon {
- list-style-image: url("chrome://browser/skin/web-notifications-tray.svg");
- -moz-image-region: rect(0, 16px, 16px, 0);
-}
-
-.web-notifications-notification-icon:hover,
-#web-notifications-notification-icon:hover {
- -moz-image-region: rect(0, 32px, 16px, 16px);
-}
-
-.web-notifications-notification-icon:hover:active,
-#web-notifications-notification-icon:hover:active {
- -moz-image-region: rect(0, 48px, 16px, 32px);
-}
-
-#pointerLock-notification-icon {
- list-style-image: url("chrome://browser/skin/pointerLock-16.png");
-}
-
-.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");
+.translation-icon.in-use {
-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"],
}
.translation-welcome-content {
- -moz-margin-start: 16px;
+ margin-inline-start: 16px;
}
.translation-welcome-headline {
-moz-image-region: auto;
}
-/* ::::: Keyboard UI Panel ::::: */
-
-.KUI-panel {
- color: #FF9F00;
- border-style: none;
- border-radius: 20px;
-}
-
-.KUI-panel[level="top"] {
- /*background-color: rgba(27%,27%,27%,.65);*/
-}
-
/* Ctrl-Tab */
#ctrlTab-panel {
+ -moz-appearance: none;
+ background: rgba(0%,0%,0%,.7);
+ color: #FF9F00;
+ border-style: none;
padding: 20px 10px 10px;
font-weight: bold;
}
}
.ctrlTab-preview-inner > .tabPreview-canvas {
+/* box-shadow: 1px 1px 2px hsl(0,0%,12%);*/
}
.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
margin-top: .5em;
}
-/* Sync Panel */
-
-.sync-panel-icon {
- height:32px;
- width: 32px;
- background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
-}
-
-.sync-panel-inner {
- width: 0;
- padding-left: 10px;
-}
-
-.sync-panel-button-box {
- margin-top: 1em;
-}
-
-#sync-start-panel-title {
- font-size: 120%;
- font-weight: bold;
- margin-bottom: 5px;
-}
-
-#sync-start-panel-subtitle {
- margin-bottom: 0;
-}
-
/* Status panel */
.statuspanel-label {
/* === BEGIN fullscreen/warning.inc.css === */
-html|*#fullscreen-warning {
+html|*.pointerlockfswarning {
align-items: center;
background: rgba(0, 0, 0, 0.9);
border: 2px solid #A09090;
font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
}
-html|*#fullscreen-warning::before {
+html|*.pointerlockfswarning::before {
margin: 0;
width: 24px; height: 24px;
}
-html|*#fullscreen-warning.verifiedIdentity::before,
-html|*#fullscreen-warning.verifiedDomain::before {
+html|*.pointerlockfswarning[data-identity="verifiedIdentity"]::before,
+html|*.pointerlockfswarning[data-identity="verifiedDomain"]::before {
content: url("chrome://browser/skin/fullscreen/secure.svg");
}
-html|*#fullscreen-warning.unknownIdentity::before {
+html|*.pointerlockfswarning[data-identity="unknownIdentity"]::before {
content: url("chrome://browser/skin/fullscreen/insecure.svg");
}
-html|*#fullscreen-domain-text,
-html|*#fullscreen-generic-text {
+html|*.pointerlockfswarning-domain-text,
+html|*.pointerlockfswarning-generic-text {
font-size: 21px;
font-weight: lighter;
color: #A09090;
margin: 0 16px;
}
-html|*#fullscreen-domain {
+html|*.pointerlockfswarning-domain {
font-weight: bold;
margin: 0;
}
-html|*#fullscreen-exit-button {
+html|*.pointerlockfswarning-exit-button {
padding: 5px 30px;
font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
font-size: 14px;
--gcli-border-color: #9C9CFF; /* --theme-splitter-color */
--selection-background: #008484; /* --theme-selection-background */
--selection-color: #000000; /* --theme-selection-color */
+ --command-line-image: url(chrome://devtools/skin/images/commandline-icon.svg#light-theme); /* --theme-command-line-image */
+ --command-line-image-focus: url(chrome://devtools/skin/images/commandline-icon.svg#light-theme-focus); /* --theme-command-line-image-focus */
}
/* Developer toolbar */
}
#developer-toolbar > toolbarbutton {
-/* margin: 0;
+/* border: none;
+ background-color: transparent;
+ margin: 0;
padding: 0 10px;
width: 32px; */
}
display: none;
}
-.developer-toolbar-button > .toolbarbutton-icon,
-#developer-toolbar-closebutton > .toolbarbutton-icon {
+.developer-toolbar-button > .toolbarbutton-icon {
width: 16px;
height: 16px;
}
#developer-toolbar-toolbox-button {
- list-style-image: url("chrome://devtools/skin/toggle-tools.png");
+ list-style-image: url("chrome://devtools/skin/images/toggle-tools.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
@media (min-resolution: 2dppx) {
#developer-toolbar-toolbox-button {
- list-style-image: url("chrome://devtools/skin/toggle-tools@2x.png");
+ list-style-image: url("chrome://devtools/skin/images/toggle-tools@2x.png");
-moz-image-region: rect(0px, 32px, 32px, 0px);
}
}
}
-#developer-toolbar-closebutton {
- list-style-image: url("chrome://devtools/skin/close.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
- min-width: 16px;
- width: 16px;
-}
-
-#developer-toolbar-closebutton > .toolbarbutton-icon {
-}
-
-#developer-toolbar-closebutton > .toolbarbutton-text {
- display: none;
-}
-
-#developer-toolbar-closebutton:hover,
-#developer-toolbar-closebutton:hover:active {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
-}
-
-@media (min-resolution: 2dppx) {
- #developer-toolbar-closebutton {
- list-style-image: url("chrome://devtools/skin/close@2x.png");
- -moz-image-region: rect(0px, 32px, 32px, 0px);
- }
-
- #developer-toolbar-closebutton:hover,
- #developer-toolbar-closebutton:hover:active {
- -moz-image-region: rect(0px, 64px, 32px, 32px);
- }
-}
-
/* GCLI */
html|*#gcli-tooltip-frame,
width: 16px;
height: 16px;
margin: 0 2px;
- background-image: url("chrome://devtools/skin/images/commandline-icon.png");
- background-position: 0 center;
- background-size: 32px 16px;
+ background-image: var(--command-line-image);
}
.gclitoolbar-input-node[focused="true"]::before {
- background-position: -16px center;
-}
-
-@media (min-resolution: 2dppx) {
- .gclitoolbar-input-node::before {
- background-image: url("chrome://devtools/skin/images/commandline-icon@2x.png");
- }
+ background-image: var(--command-line-image-focus);
}
.gclitoolbar-input-node:not([focused="true"]) {
border-bottom-width: 0;
}
+.devtools-responsiveui-textinput {
+/* -moz-appearance: none;
+ background: #333;
+ color: #fff;
+ border: 1px solid #111;
+ border-radius: 2px;
+ padding: 0 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-box-align: center;
.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
/* color: inherit;
border-width: 0;
- -moz-border-end: 1px solid hsla(210,8%,5%,.45);
+ border-inline-end: 1px solid hsla(210,8%,5%,.45);
box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
}
}
.devtools-responsiveui-close {
- list-style-image: url("chrome://devtools/skin/close.png");
- -moz-image-region: rect(0px,16px,16px,0px);
+ list-style-image: url("chrome://devtools/skin/close.svg");
}
.devtools-responsiveui-close:hover {
- -moz-image-region: rect(0px,32px,16px,16px);
+ filter: url(chrome://devtools/skin/images/filters.svg#checked-icon-state);
}
.devtools-responsiveui-rotate {
- list-style-image: url("chrome://devtools/skin/responsiveui-rotate.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-rotate.png");
-moz-image-region: rect(0px,16px,16px,0px);
}
}
@media (min-resolution: 2dppx) {
- .devtools-responsiveui-close {
- list-style-image: url("chrome://devtools/skin/close@2x.png");
- }
-
- .devtools-responsiveui-close:hover {
- -moz-image-region: rect(0px,64px,32px,32px);
- }
-
.devtools-responsiveui-rotate {
- list-style-image: url("chrome://devtools/skin/responsiveui-rotate@2x.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-rotate@2x.png");
}
.devtools-responsiveui-rotate:hover {
}
.devtools-responsiveui-touch {
- list-style-image: url("chrome://devtools/skin/responsiveui-touch.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-touch.png");
-moz-image-region: rect(0px,16px,16px,0px);
}
@media (min-resolution: 2dppx) {
.devtools-responsiveui-touch {
- list-style-image: url("chrome://devtools/skin/responsiveui-touch@2x.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-touch@2x.png");
-moz-image-region: rect(0px,32px,32px,0px);
}
}
.devtools-responsiveui-screenshot {
- list-style-image: url("chrome://devtools/skin/responsiveui-screenshot.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-screenshot.png");
-moz-image-region: rect(0px,16px,16px,0px);
}
@media (min-resolution: 2dppx) {
.devtools-responsiveui-screenshot {
- list-style-image: url("chrome://devtools/skin/responsiveui-screenshot@2x.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-screenshot@2x.png");
}
.devtools-responsiveui-screenshot:hover {
cursor: ew-resize;
transform: translate(12px, -12px);
background-size: cover;
- background-image: url("chrome://devtools/skin/responsive-vertical-resizer.png");
+ background-image: url("chrome://devtools/skin/images/responsive-vertical-resizer.png");
}
.devtools-responsiveui-resizebarH {
cursor: ns-resize;
transform: translate(-12px, 12px);
background-size: cover;
- background-image: url("chrome://devtools/skin/responsive-horizontal-resizer.png");
+ background-image: url("chrome://devtools/skin/images/responsive-horizontal-resizer.png");
}
.devtools-responsiveui-resizehandle {
cursor: se-resize;
transform: translate(12px, 12px);
background-size: cover;
- background-image: url("chrome://devtools/skin/responsive-se-resizer.png");
+ background-image: url("chrome://devtools/skin/images/responsive-se-resizer.png");
}
/* FxOS custom mode with additional buttons and phone look'n feel */
-moz-user-focus: ignore;
width: 40px;
height: 30px;
- list-style-image: url("chrome://devtools/skin/responsiveui-home.png");
+ list-style-image: url("chrome://devtools/skin/images/responsiveui-home.png");
}
.devtools-responsiveui-sleep-button {
@media (min-resolution: 2dppx) {
.devtools-responsiveui-resizebarV {
- background-image: url("chrome://devtools/skin/responsive-vertical-resizer@2x.png");
+ background-image: url("chrome://devtools/skin/images/responsive-vertical-resizer@2x.png");
}
.devtools-responsiveui-resizebarH {
- background-image: url("chrome://devtools/skin/responsive-horizontal-resizer@2x.png");
+ background-image: url("chrome://devtools/skin/images/responsive-horizontal-resizer@2x.png");
}
.devtools-responsiveui-resizehandle {
- background-image: url("chrome://devtools/skin/responsive-se-resizer@2x.png");
+ background-image: url("chrome://devtools/skin/images/responsive-se-resizer@2x.png");
}
}
text-shadow: none;
background-color: #FF0000;
border-radius: 1px;
- -moz-margin-end: 5px;
-}
-
-/* Social toolbar item */
-
-#social-notification-icon-mentions {
- background-color: #000000;
- border-radius: 3px;
- -moz-margin-start: 2px;
-}
-
-#social-notification-icon-mentions:hover {
- background-color: #FFCF00;
-}
-
-#social-notification-icon-mentions[open="true"] {
- background-color: #FF9F00;
-}
-
-#social-sidebar-splitter {
- border: 0;
-}
-
-#socialActivatedNotification .popup-notification-button-container {
- margin-left: 6px;
-}
-
-.social-activation-icon {
- width: auto;
- height: auto;
- max-height: 64px;
- max-width: 64px;
-}
-
-#social-activation-message {
- max-width: 250px;
-}
-
-#social-activation-message > label {
- margin: 0;
+ margin-inline-end: 5px;
}
/* social toolbar provider menu */
height: 21px;
width: 21px;
border-top: 1px solid #008484;
- -moz-border-end: 1px solid #008484;
+ border-inline-end: 1px solid #008484;
}
@media (min-resolution: 2dppx) {
.chatbar-button > .toolbarbutton-icon {
opacity: .6;
- -moz-margin-end: 0;
+ margin-inline-end: 0;
}
.chatbar-button:hover > .toolbarbutton-icon,
.chatbar-button[open="true"] > .toolbarbutton-icon {
}
chatbar {
- -moz-margin-end: 20px;
+ margin-inline-end: 20px;
}
chatbox {
- -moz-margin-start: 4px;
+ margin-inline-start: 4px;
background-color: transparent;
}
border-top-right-radius: 4px;*/
/* Offset the chatbox the same amount as the box-shadows' spread, to make it
visible. */
-/* -moz-margin-end: 5px;*/
+/* margin-inline-end: 5px;*/
}
chatbox[minimized="true"] {
}
window > chatbox {
- -moz-margin-start: 0px;
+ margin-inline-start: 0px;
margin: 0px;
border: none;
padding: 0px;
background-repeat: no-repeat;
width: 16px;
height: 15px;
- -moz-margin-start: 6px;
+ margin-inline-start: 6px;
}
.click-to-play-plugins-notification-button-container {
}
.messageImage[value="plugin-hidden"] {
- list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin);
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: #A09090;
}
/* Keep any changes to this style in sync with pluginProblem.css */
}
notification.pluginVulnerable .messageImage {
- list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
+ list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked);
+ filter: url(chrome://global/skin/filters.svg#fill);
+ fill: #FF0000;
}
/* === END plugin-doorhanger.inc.css === */
color: var(--panel-arrowcontent-color);
background-clip: padding-box;
border-left: 1px solid #9C9CFF;
- -moz-margin-start: 38px;
+ margin-inline-start: 38px;
}
/* === END login-doorhanger.inc.css === */
/* Customization mode */
+:root {
+ --drag-drop-transition-duration: .3s;
+}
+
#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
margin-bottom: 1em;
}
#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;
+ margin-inline-start: 5px !important;
}
#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon {
.panel-customization-placeholder,
toolbarpaletteitem[place="palette"],
toolbarpaletteitem[place="panel"] {
- transition: transform .3s ease-in-out;
+ transition: transform var(--drag-drop-transition-duration) ease-in-out;
}
#customization-palette {
opacity: 1;
}
+toolbarpaletteitem toolbarbutton[disabled] {
+/* color: inherit !important;*/
+}
+
toolbarpaletteitem[notransition].panel-customization-placeholder,
toolbarpaletteitem[notransition][place="toolbar"],
toolbarpaletteitem[notransition][place="palette"],
toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-stack > .toolbarbutton-icon,
toolbarpaletteitem > toolbaritem.panel-wide-item,
toolbarpaletteitem > toolbarbutton[type="menu-button"] {
- transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
+ transition: transform var(--drag-drop-transition-duration) cubic-bezier(.6, 2, .75, 1.5) !important;
}
toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
toolbarpaletteitem[place="palette"]:-moz-focusring,
toolbarpaletteitem[place="panel"]:-moz-focusring,
toolbarpaletteitem[place="toolbar"]:-moz-focusring {
+ outline-width: 0;
+}
+
+toolbarpaletteitem[place="palette"]:not([mousedown="true"]):-moz-focusring,
+toolbarpaletteitem[place="panel"]:not([mousedown="true"]):-moz-focusring,
+toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring {
+ /* Delay adding the focusring back until after the transform transition completes. */
+ transition: outline-width .01s linear var(--drag-drop-transition-duration);
outline: 1px dotted #A09090;
- outline-offset: -5px;
-moz-outline-radius: 2.5px;
}
+toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring {
+ outline-offset: -5px;
+}
+
#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
}
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
- -moz-margin-end: 5px;
+ margin-inline-end: 5px;
}
#customization-palette > toolbarpaletteitem > label {
-moz-appearance: none;
margin: 0 -5px 5px;
padding-top: 0;
- -moz-padding-end: 5px;
+ padding-inline-end: 5px;
padding-bottom: 0;
- -moz-padding-start: 0;
+ padding-inline-start: 0;
}
.customization-lwtheme-menu-theme[defaulttheme] {
.customization-tipPanel-closeBox > .close-icon {
-moz-appearance: none;
border: 0;
- -moz-margin-end: -25px;
+ margin-inline-end: -25px;
}
#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
#TabsToolbar > .private-browsing-indicator {
background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
- -moz-margin-start: 4px;
+ margin-inline-start: 4px;
width: 48px;
}
#private-browsing-indicator-titlebar > .private-browsing-indicator,
#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
- -moz-margin-end: 4px;
+ margin-inline-end: 4px;
width: 40px;
height: 20px;
position: relative;
-moz-appearance: none;
border: none;
background-color: transparent;
- /* This is a buffer to compensate for the movement in the "wobble" effect */
+ /* This is a buffer to compensate for the movement in the "wobble" effect,
+ and for the box-shadow of #UITourHighlight. */
padding: 4px;
}
}
#UITourTooltipBody {
- -moz-margin-end: 14px;
- -moz-margin-start: 14px;
- margin-top: -16px;
- margin-bottom: 8px;
+ -moz-box-align: start;
+}
+
+#UITourTooltipTitleContainer {
+ -moz-box-align: start;
+ margin-bottom: 10px;
}
#UITourTooltipIcon {
width: 48px;
height: 48px;
- -moz-margin-start: 14px;
- -moz-margin-end: 14px;
+ margin-inline-end: 10px;
}
#UITourTooltipTitle,
#UITourTooltipTitle {
font-size: 1.45rem;
font-weight: bold;
- -moz-margin-start: 0;
- /* Avoid the title overlapping the close button */
- -moz-margin-end: 14px;
- margin-top: 0;
- margin-bottom: 9px;
+ margin: 0;
}
#UITourTooltipDescription {
- -moz-margin-start: 0;
- -moz-margin-end: 0;
+ margin-inline-start: 0;
+ margin-inline-end: 0;
font-size: 1.15rem;
line-height: 1.8rem;
margin-bottom: 0; /* Override global.css */
border: none;
background-color: transparent;
min-width: 0;
- -moz-margin-start: 4px;
+ margin-inline-start: 4px;
margin-top: -2px;
}
background-color: rgba(0,0,0,.2);
border-top: 1px solid rgba(0,0,0,.4);
margin: 10px -16px -16px;
- padding: 2em 15px;
+ padding: 16px;
}
#UITourTooltipButtons > label,
#UITourTooltipButtons > label:first-child,
#UITourTooltipButtons > button:first-child {
- -moz-margin-start: 0;
+ margin-inline-start: 0;
+}
+
+#UITourTooltipButtons > label:last-child,
+#UITourTooltipButtons > button:last-child {
+ margin-inline-end: 0;
}
#UITourTooltipButtons > button[image] > .button-box > .button-icon {
width: 16px;
height: 16px;
- -moz-margin-end: 5px;
+ margin-inline-end: 5px;
}
#UITourTooltipButtons > label,
.messageText.heartbeat {
color: #000000;
/* text-shadow: none; */
- -moz-margin-start: 0px;
+ margin-inline-start: 0px;
}
.messageImage.heartbeat {
width: 24px;
height: 24px;
- -moz-margin-start: 8px;
- -moz-margin-end: 8px;
+ margin-inline-start: 8px;
+ margin-inline-end: 8px;
}
.messageImage.heartbeat.pulse-onshow {
/* Learn More link styles */
.heartbeat > .text-link {
color: #3333FF;
- -moz-margin-start: 0px;
+ margin-inline-start: 0px;
}
.heartbeat > .text-link:hover {
.heartbeat > #star-rating-container > .star-x {
background: url("chrome://browser/skin/heartbeat-star-off.svg");
cursor: pointer;
- /* Overrides the -moz-margin-end for all platforms defined in the .plain class */
- -moz-margin-end: 4px !important;
+ /* Overrides the margin-inline-end for all platforms defined in the .plain class */
+ margin-inline-end: 4px !important;
width: 16px;
height: 16px;
}
-moz-appearance: none;
}
-#context-back > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back"); */
- list-style-image: url("chrome://browser/skin/ToolbarFx.png");
- -moz-image-region: rect(0, 54px, 18px, 36px);
-}
-
-#context-back:not([disabled="true"]):hover > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-active"); */
- -moz-image-region: rect(18px, 54px, 36px, 36px);
-}
-
-#context-back[disabled="true"] > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back-disabled"); */
- -moz-image-region: rect(36px, 54px, 54px, 36px);
-}
-
-#context-forward > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward"); */
- list-style-image: url("chrome://browser/skin/ToolbarFx.png");
- -moz-image-region: rect(0, 72px, 18px, 54px);
-}
-
-#context-forward:not([disabled="true"]):hover > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-active"); */
- -moz-image-region: rect(18px, 72px, 36px, 54px);
-}
-
-#context-forward[disabled="true"] > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward-disabled"); */
- -moz-image-region: rect(36px, 72px, 54px, 54px);
-}
-
-#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-goFx.png");
- -moz-image-region: rect(0, 14px, 14px, 0);
-}
-
-#context-reload:not([disabled="true"]):hover > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-active"); */
- -moz-image-region: rect(14px, 14px, 28px, 0);
-}
-
-#context-reload[disabled="true"] > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload-disabled"); */
- -moz-image-region: rect(28px, 14px, 42px, 0);
-}
-
-#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-goFx.png");
- -moz-image-region: rect(0, 28px, 14px, 14px);
+#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
+ width: 16px;
+ height: 16px;
+ margin: 7px;
+ filter: url(chrome://browser/skin/filters.svg#fill);
+ fill: currentColor;
}
-#context-stop:not([disabled="true"]):hover > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-active"); */
- -moz-image-region: rect(14px, 28px, 28px, 14px);
+#context-back {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#back");
}
-#context-stop[disabled="true"] > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop-disabled"); */
- -moz-image-region: rect(28px, 28px, 42px, 14px);
+#context-forward {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#forward");
}
-#context-bookmarkpage > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark"); */
- list-style-image: url("chrome://browser/skin/ToolbarFx.png");
- -moz-image-region: rect(0, 144px, 18px, 126px);
+#context-reload {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#reload");
}
-#context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-active"); */
- -moz-image-region: rect(18px, 144px, 36px, 126px);
+#context-stop {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#stop");
}
-#context-bookmarkpage[disabled="true"] > .menu-iconic-left {
- /* list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark-disabled"); */
- -moz-image-region: rect(36px, 144px, 54px, 126px);
+#context-bookmarkpage {
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmark");
}
#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);
+ list-style-image: url("chrome://browser/skin/content-contextmenu.svg#bookmarked");
}
#context-back:-moz-locale-dir(rtl),
transform: scaleX(-1);
}
-#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
- width: 18px; /*16px;*/
- height: 18px; /*16px;*/
- margin: 7px;
-}
-
#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
width: 14px;
padding: 0;
overflow: hidden;
}
-
-/* === BEGIN usercontext.inc.css === */
-
-/* User Context UI browser styles */
-
-#menu_newUserContextTabPersonal {
- list-style-image: url("chrome://browser/skin/usercontext/personal.svg");
-}
-
-#menu_newUserContextTabWork {
- list-style-image: url("chrome://browser/skin/usercontext/work.svg");
-}
-
-#menu_newUserContextTabBanking {
- list-style-image: url("chrome://browser/skin/usercontext/banking.svg");
-}
-
-#menu_newUserContextTabShopping {
- list-style-image: url("chrome://browser/skin/usercontext/shopping.svg");
-}
-
-/* URL Bar Decoration */
-
-#userContext-indicator {
- height: 16px;
- width: 16px;
-}
-
-#userContext-label {
- margin-inline-end: 3px;
- color: #A09090;
-}
-
-#userContext-icons:not([usercontextid]) {
- display: none;
-}
-
-#userContext-icons {
- -moz-box-align: center;
-}
-
-/* Personal User Context */
-#userContext-icons[usercontextid="1"] > #userContext-label {
- color: #9C9CFF;
-}
-#userContext-icons[usercontextid="1"] > #userContext-indicator {
- list-style-image: url("chrome://browser/skin/usercontext/personal.svg");
-}
-
-/* Work User Context */
-#userContext-icons[usercontextid="2"] > #userContext-label {
- color: #FF9F00;
-}
-#userContext-icons[usercontextid="2"] > #userContext-indicator {
- list-style-image: url("chrome://browser/skin/usercontext/work.svg");
-}
-
-/* Banking User Context */
-#userContext-icons[usercontextid="3"] > #userContext-label {
- color: #008484;
-}
-#userContext-icons[usercontextid="3"] > #userContext-indicator {
- list-style-image: url("chrome://browser/skin/usercontext/banking.svg");
-}
-
-/* Shopping User Context */
-#userContext-icons[usercontextid="4"] > #userContext-label {
- color: #E7ADE7;
-}
-#userContext-icons[usercontextid="4"] > #userContext-indicator {
- list-style-image: url("chrome://browser/skin/usercontext/shopping.svg");
-}
-
-/* === END usercontext.inc.css === */