#PanelUI-button:-moz-locale-dir(rtl) {
}
+#PanelUI-menu-button[update-status="succeeded"] .toolbarbutton-badge::after {
+ content: url(chrome://browser/skin/update-badge.svg);
+ background-color: #008484;
+ height: 10px;
+}
+
.panel-subviews {
padding: 4px;
- background-color: #000000;
-moz-margin-start: 38px;
}
margin: 0 0 4px;
background-color: #A09090;
color: #000000;
+ font-variant: small-caps;
border-radius: 4px;
}
max-width: 30em;
}
+/* Bug 1164419 - increase Pocket panel size to accomidate wider Russian text. */
+panelmultiview[mainViewId=PanelUI-pocketView] > .panel-viewcontainer > .panel-viewstack > .panel-mainview:not([panelid="PanelUI-popup"]) {
+ max-width: 33em; /* standaloneSubviewWidth + 3 */
+}
+
panelview:not([mainview]) .toolbarbutton-text,
.cui-widget-panel toolbarbutton > .toolbarbutton-text {
text-align: start;
padding: 0;
}
+.cui-widget-panel[viewId="PanelUI-pocketView"] > .panel-arrowcontainer > .panel-arrowcontent {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
.cui-widget-panel.cui-widget-panelWithFooter > .panel-arrowcontainer > .panel-arrowcontent {
padding-bottom: 0;
}
}
/* Help SDK buttons fit in. */
-toolbarpaletteitem[place="palette"] > toolbarbutton[sdk-button="true"] > .toolbarbutton-icon,
-toolbarbutton[sdk-button="true"][cui-areatype="menu-panel"] > .toolbarbutton-icon {
+toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-icon,
+toolbarpaletteitem[place="palette"] > toolbarbutton[constrain-size="true"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-icon,
+toolbarbutton[constrain-size="true"][cui-areatype="menu-panel"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
height: 32px;
width: 32px;
}
#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-contents-scroller > #PanelUI-contents > .panel-wide-item,
#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-contents-scroller > #PanelUI-contents > .toolbarbutton-1:not([panel-multiview-anchor="true"]),
-#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-fxa-status,
+#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-update-status,
+#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-status > #PanelUI-fxa-avatar,
+#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-status > #PanelUI-fxa-label,
+#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-fxa > #PanelUI-fxa-icon,
#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > toolbarseparator,
#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > #PanelUI-customize,
#PanelUI-multiView[viewtype="subview"] #PanelUI-mainView > #PanelUI-footer > #PanelUI-footer-inner > #PanelUI-help:not([panel-multiview-anchor="true"]) {
/* above we treat the container as the icon for the margins, that is so the
/* badge itself is positioned correctly. Here we make sure that the icon itself
/* has the minum size we want, but no padding/margin. */
-.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbarbutton-icon {
+.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbarbutton-icon,
+.customization-palette .toolbarbutton-1 > .toolbarbutton-badge-container > .toolbarbutton-icon {
min-width: 32px;
min-height: 32px;
margin: 0;
border-bottom-left-radius: 4px;
}
-#PanelUI-footer-inner {
+#main-window[customizing] #PanelUI-footer-fxa > toolbarseparator {
+ display: none;
+}
+
+#PanelUI-footer-fxa:not([fxastatus="signedin"]) > toolbarseparator,
+#PanelUI-footer-fxa:not([fxastatus="signedin"]) > #PanelUI-fxa-icon,
+#PanelUI-footer-fxa:not([fxaprofileimage]) > #PanelUI-fxa-status > #PanelUI-fxa-avatar {
+ display: none;
+}
+
+#PanelUI-fxa-status {
+ display: flex;
+ flex: 1 1 0%;
+}
+
+#PanelUI-footer-inner,
+#PanelUI-footer-fxa {
display: flex;
border-top: 1px solid #9C9CFF;
}
-#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-inner {
+#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-inner,
+#PanelUI-multiView[viewtype="subview"] #PanelUI-footer-fxa {
position: relative;
}
-#PanelUI-footer-inner > toolbarseparator {
+#PanelUI-footer-inner > toolbarseparator,
+#PanelUI-footer-fxa > toolbarseparator {
border: 0;
border-left: 1px solid #9C9CFF;
margin: 0;
}
-#PanelUI-footer-inner:hover > toolbarseparator {
+#PanelUI-footer-inner:hover > toolbarseparator,
+#PanelUI-footer-fxa:hover > toolbarseparator {
/* margin: 0;*/
}
+#PanelUI-update-status,
#PanelUI-help,
-#PanelUI-fxa-status,
+#PanelUI-fxa-label,
+#PanelUI-fxa-icon,
#PanelUI-customize,
#PanelUI-quit {
margin: 0;
-moz-box-orient: horizontal;
}
-#PanelUI-fxa-status {
+#PanelUI-update-status {
border-top: 1px solid #9C9CFF;
border-bottom: 1px solid transparent;
margin-bottom: -1px;
}
-#PanelUI-fxa-status > .toolbarbutton-text {
+#PanelUI-update-status > .toolbarbutton-text {
width: 0; /* Fancy cropping solution for flexbox. */
}
min-width: 44px;
}
-#PanelUI-fxa-status > .toolbarbutton-text,
+#PanelUI-update-status > .toolbarbutton-text,
+#PanelUI-fxa-label > .toolbarbutton-text,
#PanelUI-customize > .toolbarbutton-text {
margin: 0;
padding: 0 6px;
}
#PanelUI-help > .toolbarbutton-text,
-#PanelUI-quit > .toolbarbutton-text {
+#PanelUI-quit > .toolbarbutton-text,
+#PanelUI-fxa-avatar > .toolbarbutton-text {
display: none;
}
+#PanelUI-update-status > .toolbarbutton-icon,
+#PanelUI-fxa-label > .toolbarbutton-icon,
+#PanelUI-fxa-icon > .toolbarbutton-icon,
+#PanelUI-customize > .toolbarbutton-icon,
#PanelUI-help > .toolbarbutton-icon,
#PanelUI-quit > .toolbarbutton-icon {
-moz-margin-end: 0;
}
+#PanelUI-fxa-icon {
+ -moz-padding-start: 15px;
+ -moz-padding-end: 15px;
+}
+
+#PanelUI-fxa-label,
#PanelUI-customize {
flex: 1;
-moz-padding-start: 15px;
-moz-border-start-style: none;
}
-#PanelUI-fxa-status {
+#PanelUI-footer-fxa[fxaprofileimage="set"] > #PanelUI-fxa-status > #PanelUI-fxa-label,
+#PanelUI-footer-fxa[fxaprofileimage="enabled"]:not([fxastatus="error"]) > #PanelUI-fxa-status > #PanelUI-fxa-label {
+ -moz-padding-start: 0px;
+}
+
+#PanelUI-update-status {
+ width: calc(22.35em + 30px);
+ -moz-padding-start: 15px;
+ -moz-border-start-style: none;
+}
+
+#PanelUI-update-status {
+ list-style-image: url(chrome://branding/content/icon16.png);
+}
+
+#PanelUI-fxa-label,
+#PanelUI-fxa-icon {
list-style-image: url("chrome://browser/skin/syncFx-horizontalbar.png");
}
-#PanelUI-fxa-status[status="active"] {
+#PanelUI-footer-fxa[syncstatus="active"] > #PanelUI-fxa-icon {
list-style-image: url("chrome://browser/skin/syncFxProgress-horizontalbar.png");
}
+#PanelUI-fxa-icon[fxastatus="migrate-signup"],
+#PanelUI-fxa-icon[fxastatus="migrate-verify"] {
+ list-style-image: url(chrome://global/skin/warning-16.png);
+}
+
#PanelUI-customize {
list-style-image: url("chrome://browser/skin/menuPanel-customize.png");
}
list-style-image: url("chrome://browser/skin/menuPanel-exit.png");
}
-#PanelUI-fxa-status,
+#PanelUI-fxa-label,
+#PanelUI-fxa-icon,
#PanelUI-customize,
#PanelUI-help,
#PanelUI-quit {
-moz-image-region: rect(0, 16px, 16px, 0);
}
+#PanelUI-footer-fxa[fxastatus="signedin"] > #PanelUI-fxa-status > #PanelUI-fxa-label > .toolbarbutton-icon,
+#PanelUI-footer-fxa[fxastatus="error"][fxaprofileimage="set"] > #PanelUI-fxa-status > #PanelUI-fxa-label > .toolbarbutton-icon {
+ display: none;
+}
+
+#PanelUI-footer-fxa[fxastatus="error"]:not([fxaprofileimage="set"]) > #PanelUI-fxa-status > #PanelUI-fxa-avatar {
+ display: none;
+}
+
+#PanelUI-fxa-avatar[disabled],
+#PanelUI-fxa-icon[disabled] {
+ display: none;
+}
+
+#PanelUI-fxa-avatar {
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ background-repeat: no-repeat;
+ background-position: 0 0;
+ background-size: contain;
+ align-self: center;
+ margin: 0px 7px;
+ padding: 0px;
+ border: 0px none;
+ -moz-margin-end: 0;
+}
+
+#PanelUI-footer-fxa[fxaprofileimage="enabled"] > #PanelUI-fxa-status > #PanelUI-fxa-avatar {
+ list-style-image: url(chrome://browser/skin/fxa/default-profile-image.svg);
+}
+
#PanelUI-customize:hover,
#PanelUI-help:not([disabled]):hover,
#PanelUI-quit:not([disabled]):hover,
}
#PanelUI-fxa-status:not([disabled]):hover,
+#PanelUI-fxa-icon:not([disabled]):hover,
#PanelUI-help:not([disabled]):hover,
#PanelUI-customize:hover,
#PanelUI-quit:not([disabled]):hover {
}
#PanelUI-fxa-status:not([disabled]):hover:active,
+#PanelUI-fxa-icon:not([disabled]):hover:active,
#PanelUI-help:not([disabled]):hover:active,
#PanelUI-customize:hover:active,
#PanelUI-quit:not([disabled]):hover:active {
#PanelUI-fxa-status:not([disabled]):hover:active {
}
+#PanelUI-footer-fxa[fxastatus="error"] {
+ background-color: #FF0000;
+ color: #000000;
+}
+
+#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status:hover {
+ background-color: #FFCF00;
+}
+
+#PanelUI-footer-fxa[fxastatus="error"] > #PanelUI-fxa-status:hover:active {
+ background-color: #FF9F00;
+}
+
+#PanelUI-update-status {
+/* color: black; */
+}
+
+#PanelUI-update-status[update-status="succeeded"] {
+ background-color: #008484;
+ color: #000000;
+}
+
+#PanelUI-update-status[update-status="succeeded"]:not([disabled]):hover {
+ background-color: #FFCF00;
+}
+
+#PanelUI-update-status[update-status="succeeded"]:not([disabled]):hover:active {
+ background-color: #FF9F00;
+}
+
+#PanelUI-update-status[update-status="failed"] {
+ background-color: #FF0000;
+ color: #000000;
+}
+
+#PanelUI-update-status[update-status="failed"]:not([disabled]):hover {
+ background-color: #FFCF00;
+}
+
+#PanelUI-update-status[update-status="failed"]:not([disabled]):hover:active {
+ background-color: #FF9F00;
+}
+
#PanelUI-quit:not([disabled]):hover {
background-color: #FF0000;
}
.subviewbutton,
.widget-overflow-list .toolbarbutton-1,
.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button,
+.share-provider-button,
.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton {
/* padding: 0 6px;
background-color: hsla(210,4%,10%,0);
panelview .toolbarbutton-1,
.subviewbutton,
.widget-overflow-list .toolbarbutton-1,
+.share-provider-button,
.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton {
border-width: 0;
}
toolbarbutton.subviewbutton:not(:-moz-any([disabled],[open],:active)):hover,
menu.subviewbutton:not(:-moz-any([disabled],:active))[_moz-menuactive],
menuitem.subviewbutton:not(:-moz-any([disabled],:active))[_moz-menuactive],
+.share-provider-button:not(:-moz-any([disabled],[open],:active)):hover,
.widget-overflow-list .toolbarbutton-1:not(:-moz-any([disabled],[open],:active)):hover,
.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])
> toolbarbutton:not(:-moz-any([disabled],[checked="true"],[open],:active)):hover {
toolbarbutton.subviewbutton:not([disabled]):-moz-any([open],:hover:active),
menu.subviewbutton:not([disabled])[_moz-menuactive]:active,
menuitem.subviewbutton:not([disabled])[_moz-menuactive]:active,
+.share-provider-button:not([disabled]):-moz-any([open],:hover:active),
.widget-overflow-list .toolbarbutton-1:not([disabled]):-moz-any([open],:hover:active),
.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])
> toolbarbutton:not([disabled]):-moz-any([open],:hover:active) {
background-image: url("chrome://browser/skin/customizableui/subView-arrow-back-inverted.png");
background-repeat: no-repeat;
background-color: #008484;
- background-position: left 10px center, 0; /* this doesn't need to be changed for RTL */
+ background-position: left 10px center, 0;
+}
+
+#PanelUI-help[panel-multiview-anchor="true"]:-moz-locale-dir(rtl)::after {
+ background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl.png);
+ background-position: right 10px center, 0;
}
toolbarbutton[panel-multiview-anchor="true"] {
background-image: url("chrome://browser/skin/customizableui/subView-arrow-back-inverted.png");
- background-position: right 5px center;
+ background-position: right calc((22.35em / 3 - 0.1px) / 2 - 38px + 2px) center;
background-repeat: no-repeat;
}
toolbarbutton[panel-multiview-anchor="true"]:-moz-locale-dir(rtl) {
background-image: url("chrome://browser/skin/customizableui/subView-arrow-back-inverted-rtl.png");
- background-position: left 5px center;
+ background-position: left calc((22.35em / 3 - 0.1px) / 2 - 38px + 2px) center;
}
toolbarpaletteitem[place="palette"] > .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
#customizationui-widget-multiview > .panel-viewcontainer,
#customizationui-widget-multiview > .panel-viewcontainer > .panel-viewstack,
#PanelUI-panicView > .panel-subview-body,
-#PanelUI-panicView {
+#PanelUI-panicView,
+#PanelUI-pocketView > .panel-subview-body,
+#PanelUI-pocketView {
overflow: visible;
color: #FF9F00;
}
/* === END panelUIOverlay.inc.css === */
+.panel-subviews {
+ background-color: #000000;
+}
+
#PanelUI-contents #zoom-out-btn {
padding-left: 12px;
padding-right: 12px;
#BMB_bookmarksPopup menupopup[placespopup=true] > hbox {
/* emulating chrome://browser/content/places/menu.xml#places-popup-arrow but without the arrow */
-/* background: #FFF;
- border: 1px solid rgba(0,0,0,0.25);
+/* background: var(--panel-arrowcontent-background);
+ border: var(--panel-arrowcontent-border);
border-radius: 3.5px;
margin-top: -4px;*/
}
/* padding-top: 4px;*/
}
-#BMB_bookmarksPopup .menu-text {
-/* color: #000;*/
-}
-
/* bookmark panel separator */
#BMB_bookmarksPopup menuseparator {
padding-top: 0;
height: 18px;
}
+menu.subviewbutton > .menu-right:-moz-locale-dir(rtl) {
+/* transform: scaleX(-1); */
+}
+
.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
padding: 0 6px;
}
-moz-padding-start: 0;
}
-.subviewbutton.bookmark-item > .toolbarbutton-icon {
- -moz-margin-start: 3px;
-}
-
/* subviewbutton entries for social sidebars have images that come from external
/* sources, and are not guaranteed to be the size we want, so force the size on
/* those icons. */
}
menu.subviewbutton > .menu-right {
- list-style-image: url("chrome://global/skin/menu/menu-arrow.gif");
+ list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow);
+ /* Reset the rect we inherit from the button: */
+ -moz-image-region: auto;
}
-menu.subviewbutton:hover > .menu-right,
-menu.subviewbutton[_moz-menuactive="true"] > .menu-right {
- list-style-image: url("chrome://global/skin/menu/menu-arrow-hover.gif");
+menu.subviewbutton:not([disabled="true"]):hover > .menu-right,
+menu.subviewbutton:not([disabled="true"])[_moz-menuactive="true"] > .menu-right {
+ list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow-hover");
}
menu[disabled="true"].subviewbutton > .menu-right {
- list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif");
+ list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow-disabled");
}