/* === BEGIN panelUIOverlay.inc.css === */
#PanelUI-popup #PanelUI-contents:empty {
- height: 128px;
+ height: 128px;
}
#PanelUI-popup #PanelUI-contents:empty::before {
width: 64px;
height: 64px;
position: absolute;
- animation: moveX 3.05s linear 0s infinite alternate,
- moveY 3.4s linear 0s infinite alternate;
+ transition: transform 1s ease-out;
+ animation: whimsyMoveX 3.05s linear 0s infinite alternate,
+ whimsyMoveY 3.4s linear 0s infinite alternate;
+}
+
+#PanelUI-popup #PanelUI-contents:active:empty::before {
+ animation: whimsyMoveX 3.05s linear 0s infinite alternate,
+ whimsyMoveY 3.4s linear 0s infinite alternate,
+ whimsyRotate 1s linear 0s infinite normal;
+}
+
+#PanelUI-popup #PanelUI-contents:-moz-locale-dir(rtl):empty::before {
+ animation: whimsyMoveXRTL 3.05s linear 0s infinite alternate,
+ whimsyMoveY 3.4s linear 0s infinite alternate;
+}
+
+#PanelUI-popup #PanelUI-contents:-moz-locale-dir(rtl):active:empty::before {
+ animation: whimsyMoveXRTL 3.05s linear 0s infinite alternate,
+ whimsyMoveY 3.4s linear 0s infinite alternate,
+ whimsyRotate 1s linear 0s infinite normal;
}
#PanelUI-popup #PanelUI-contents:empty:hover::before {
}
}
-@keyframes moveX {
+@keyframes whimsyMoveX {
/* These values are adjusted for the padding on the panel. */
from { margin-left: -9px; } to { margin-left: calc(100% - 55px); }
}
-@keyframes moveY {
+
+@keyframes whimsyMoveXRTL {
+ /* These values are adjusted for the padding on the panel. */
+ from { margin-right: -9px; } to { margin-right: calc(100% - 55px); }
+}
+
+@keyframes whimsyMoveY {
/* These values are adjusted for the padding and height of the panel. */
- from { margin-top: -6px; } to { margin-top: 58px; }
+ from { margin-top: -.5em; } to { margin-top: calc(64px - .5em); }
+}
+
+@keyframes whimsyRotate {
+ to { transform: perspective(5000px) rotateY(360deg); }
}
#customization-panelHolder {
-moz-box-flex: 1;
}
-.subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon)) > .toolbarbutton-text {
- -moz-margin-start: 0;
-}
-
.panel-subview-body {
overflow-y: auto;
overflow-x: hidden;
#PanelUI-popup .panel-subview-body {
margin: -4px;
- padding: 2px 4px;
+ padding: 4px 4px;
}
.panel-subview-header,
.subviewbutton.panel-subview-footer {
+ box-sizing: border-box;
+/* min-height: 41px; */
padding: 3px;
}
#PanelUI-contents {
display: block;
- flex: auto;
+ flex: 1 0 auto;
margin-left: auto;
margin-right: auto;
max-width: 22.35em;
border-radius: 0 0 2px 0;
}
-.panel-combined-button[disabled] > .toolbarbutton-icon {
+#main-window:not([customizing]) .panel-combined-button[disabled] > .toolbarbutton-icon {
/* opacity: .5; */
}
.panelUI-grid .toolbarbutton-1 > .toolbarbutton-badge-container,
.customization-palette .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
.customization-palette .toolbarbutton-1 > .toolbarbutton-icon,
+.customization-palette .toolbarbutton-1 > .toolbarbutton-badge-container,
.panelUI-grid #bookmarks-toolbar-placeholder > .toolbarbutton-icon,
.customization-palette #bookmarks-toolbar-placeholder > .toolbarbutton-icon,
.panel-customization-placeholder-child > .toolbarbutton-icon {
#PanelUI-customize,
#PanelUI-quit {
margin: 0;
- padding: 10px 0;
- min-height: 2em;
+ padding: 11px 0;
+ box-sizing: border-box;
+ min-height: 40px;
box-shadow: none;
border: none;
border-radius: 0;
}
#PanelUI-fxa-status {
- list-style-image: url("chrome://browser/skin/sync-horizontalbar.png");
+ list-style-image: url("chrome://browser/skin/syncFx-horizontalbar.png");
}
#PanelUI-fxa-status[status="active"] {
- list-style-image: url("chrome://browser/skin/syncProgress-horizontalbar.png");
+ list-style-image: url("chrome://browser/skin/syncFxProgress-horizontalbar.png");
}
#PanelUI-customize {
.widget-overflow-list .toolbarbutton-1,
.panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button,
.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton {
-/* padding: 2px 6px;
+/* padding: 0 6px;
background-color: hsla(210,4%,10%,0);
border-radius: 2px;
border-style: solid;
border-color: hsla(210,4%,10%,0);*/
- transition-property: background-color, border-color;
- transition-duration: 150ms;
}
panelview .toolbarbutton-1,
/* Bookmark items need a more specific selector. */
.PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-text,
.PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-iconic-text {
-/* font-size: 1.1em;*/
+/* font: menu;*/
}
.PanelUI-subView .subviewbutton[shortcut]::after {
}
/*
-panelview .toolbarbutton-1:not(:-moz-any([disabled],[open],[checked="true"],:active)):hover,
-toolbarbutton.subviewbutton:not(:-moz-any([disabled],[open],[checked="true"],:active)):hover,
-menu.subviewbutton:not(:-moz-any([disabled],[checked="true"],:active))[_moz-menuactive],
-menuitem.subviewbutton:not(:-moz-any([disabled],[checked="true"],:active))[_moz-menuactive],
-.widget-overflow-list .toolbarbutton-1:not(:-moz-any([disabled],[open],[checked="true"],:active)):hover,
+panelview .toolbarbutton-1:not(:-moz-any([disabled],[open],:active)):hover,
+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],
+.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 {
background-color: hsla(210,4%,10%,.08);
border-color: hsla(210,4%,10%,.11);
}
-.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]):not(:-moz-any([disabled],[open],[checked="true"],:active)):hover {
+.toolbaritem-combined-buttons:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]):not(:-moz-any([disabled],[open],:active)):hover {
border-color: hsla(210,4%,10%,.11);
}
-panelview .toolbarbutton-1:not([disabled]):-moz-any([open],[checked="true"],:hover:active),
-toolbarbutton.subviewbutton:not([disabled]):-moz-any([open],[checked="true"],:hover:active),
-menu.subviewbutton:not([disabled]):-moz-any([checked="true"],[_moz-menuactive]:active),
-menuitem.subviewbutton:not([disabled]):-moz-any([checked="true"],[_moz-menuactive]:active),
-.widget-overflow-list .toolbarbutton-1:not([disabled]):-moz-any([open],[checked="true"],:hover:active),
+panelview .toolbarbutton-1:-moz-any(:not([disabled]):-moz-any([open],:hover:active),[checked=true]),
+toolbarbutton.subviewbutton:not([disabled]):-moz-any([open],:hover:active),
+menu.subviewbutton:not([disabled])[_moz-menuactive]:active,
+menuitem.subviewbutton:not([disabled])[_moz-menuactive]: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],[checked="true"],:hover:active) {
+ > toolbarbutton:not([disabled]):-moz-any([open],:hover:active) {
background-color: hsla(210,4%,10%,.12);
border-color: hsla(210,4%,10%,.14);
box-shadow: 0 1px 0 hsla(210,4%,10%,.03) inset;
border-top: 1px solid hsla(210,4%,10%,.12);
}
-menuitem.panel-subview-footer:not([disabled]):-moz-any([open],[checked="true"],:hover:active),
-.subviewbutton.panel-subview-footer:not([disabled]):-moz-any([open],[checked="true"],:hover:active) {
+menuitem.panel-subview-footer:not([disabled]):-moz-any([open],:hover:active),
+.subviewbutton.panel-subview-footer:not([disabled]):-moz-any([open],:hover:active) {
background-color: hsla(210,4%,10%,.15);
border-top: 1px solid hsla(210,4%,10%,.12);
box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset;
}
#BMB_bookmarksPopup .subviewbutton {
- font: inherit;
+ font: menu;
font-weight: normal;
}
padding-bottom: 0px;
}
-#BMB_bookmarksPopup menupopup {
- padding-top: 2px;
+#BMB_bookmarksPopup menupopup > .bookmarks-actions-menuseparator {
+ / Hide bottom separator as the styled footer includes a top border serving the same purpose /
+ display: none;
}
-#BMB_bookmarksPopup menupopup > .bookmarks-actions-menuseparator {
- / Hide bottom separator as the styled footer includes a top border serving the same purpose.
- * We can't just use display: none here, otherwise scrollbox.xml will flip out and sometimes
- * refuse to scroll for us (see bug 984156). Instead, we set it to visibility hidden, force
- * a minimum height, and then negative-margin that single pixel into oblivion. That seems
- * to be enough to make scrollbox happy.
- /
- -moz-appearance: none;
- visibility: hidden;
- min-height: 1px;
- margin: -1px 0 0;
- border: none;
+/ Popups with only one item don't have a footer /
+#BMB_bookmarksPopup menupopup[placespopup=true][singleitempopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox,
+/ These popups never have a footer /
+#BMB_bookmarksToolbarPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox,
+#BMB_unsortedBookmarksPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox {
+ / And so they need some bottom padding: /
+ padding-bottom: 4px;
+}
+
+/ Disabled (empty) item is always alone and never has an icon, so fix its left padding /
+#BMB_bookmarksPopup menupopup[emptyplacesresult] .bookmark-item.subviewbutton {
+ padding-left: 6px;
}
*/
background-repeat: no-repeat;
}
+.subviewbutton[checked="true"]:-moz-locale-dir(rtl) {
+ background-position: top 5px right 4px;
+}
+
.subviewbutton[checked="true"]:hover {
background-image: url("chrome://global/skin/menu/menu-check-hover.gif");
}
-.PanelUI-subView .menu-iconic-left {
- -moz-appearance: none;
+.subbiewbutton > .menu-iconic-left {
-moz-margin-end: 3px;
}
-.PanelUI-subView menuitem[checked="true"] > .menu-iconic-left {
+menuitem[checked="true"].subviewbutton > .menu-iconic-left {
visibility: hidden;
}
+.panel-mainview[panelid=customizationui-widget-panel],
+#customizationui-widget-multiview > .panel-viewcontainer,
+#customizationui-widget-multiview > .panel-viewcontainer > .panel-viewstack,
+#PanelUI-panicView > .panel-subview-body,
+#PanelUI-panicView {
+ overflow: visible;
+ color: #FF9F00;
+}
+
+#PanelUI-panicView.cui-widget-panelview {
+ min-width: 280px;
+}
+
+#PanelUI-panic-timeframe {
+ padding: 15px;
+ border-bottom: 1px solid #A09090;
+}
+
+#panic-button-success-icon,
+#PanelUI-panic-timeframe-icon,
+#PanelUI-panic-timeframe-icon-small {
+ background-color: transparent;
+ -moz-margin-end: 10px;
+}
+
+#panic-button-success-icon,
+#PanelUI-panic-timeframe-icon {
+ list-style-image: url(chrome://browser/skin/panic-panel/header.png);
+ max-height: 48px;
+ width: 48px;
+}
+
+#PanelUI-panic-timeframe-icon-small {
+ list-style-image: url(chrome://browser/skin/panic-panel/header-small.png);
+ max-height: 32px;
+ width: 32px;
+}
+
+/* current attribute is only set when in use as a subview instead of a main view */
+#PanelUI-panicView[current] #PanelUI-panic-timeframe-icon {
+ display: none;
+}
+
+#PanelUI-panicView.cui-widget-panelview #PanelUI-panic-timeframe-icon-small {
+ display: none;
+}
+
+#panic-button-success-header,
+#PanelUI-panic-header {
+ -moz-box-align: center;
+ margin-bottom: 5px;
+}
+
+#PanelUI-panicView.cui-widget-panelview #PanelUI-panic-header {
+ margin-bottom: 0;
+}
+
+#PanelUI-panic-timeframe-icon-small:-moz-locale-dir(rtl),
+#PanelUI-panic-timeframe-icon:-moz-locale-dir(rtl) {
+ transform: scaleX(-1);
+}
+
+/*
+.subviewradio {
+}
+
+.subviewradio@buttonStateHover@ {
+}
+
+.subviewradio[selected],
+.subviewradio[selected]:hover,
+.subviewradio@buttonStateActive@ {
+}
+
+.subviewradio > .radio-check {
+}
+
+.subviewradio > .radio-check[selected] {
+}
+*/
+
+#PanelUI-panic-explanations {
+ padding: 10px 10px 0;
+}
+
+#PanelUI-panic-actionlist-main-label {
+ color: #A09090;
+ font-size: 0.9em;
+}
+
+.PanelUI-panic-actionlist {
+ -moz-padding-start: 20px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ background-size: 16px 16px;
+ background-repeat: no-repeat;
+ background-color: transparent;
+ background-position: center left;
+}
+
+.PanelUI-panic-actionlist:-moz-locale-dir(rtl) {
+ background-position: center right;
+}
+
+#PanelUI-panic-actionlist-cookies {
+ background-image: -moz-image-rect(url(chrome://browser/skin/panic-panel/icons.png), 0, 16, 16, 0);
+}
+
+#PanelUI-panic-actionlist-history {
+ background-image: -moz-image-rect(url(chrome://browser/skin/panic-panel/icons.png), 0, 32, 16, 16);
+}
+
+#PanelUI-panic-actionlist-windows {
+ background-image: -moz-image-rect(url(chrome://browser/skin/panic-panel/icons.png), 0, 48, 16, 32);
+}
+
+#PanelUI-panic-actionlist-newwindow {
+ background-image: -moz-image-rect(url(chrome://browser/skin/panic-panel/icons.png), 0, 64, 16, 48);
+}
+
+#PanelUI-panic-warning {
+ color: #FF0000;
+ text-align: center;
+ width: 100%;
+ margin-top: 20px;
+}
+
+#PanelUI-panic-view-button {
+ background-color: #FF0000;
+ color: #000000;
+}
+
+#PanelUI-panic-view-button:hover {
+ background-color: #FFCF00;
+}
+
+#PanelUI-panic-view-button:hover:active {
+ background-color: #FF9F00;
+}
+
+#PanelUI-panic-view-button > .toolbarbutton-text {
+ text-align: center;
+ text-shadow: none;
+}
+
+#panic-button-success-closebutton {
+}
+
+#panic-button-success-closebutton:hover {
+}
+
+#panic-button-success-closebutton:hover:active {
+}
+
/* === END panelUIOverlay.inc.css === */
#PanelUI-contents #zoom-out-btn {
.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item)[checked="true"] > .toolbarbutton-icon {
visibility: hidden;
}
-/*
+
menu.subviewbutton > .menu-right {
- -moz-appearance: none;
- list-style-image: url("chrome://browser/skin/places/bookmarks-menu-arrow.png");
- -moz-image-region: rect(0, 16px, 16px, 0);
+ list-style-image: url("chrome://global/skin/menu/menu-arrow.gif");
+}
+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[disabled="true"].subviewbutton > .menu-right {
- -moz-image-region: rect(0, 32px, 16px, 16px);
+ list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif");
}
-*/
\ No newline at end of file