X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fcustomizableui%2FpanelUIOverlay.css;h=1fab05f38d6164399670364a82a4e35a5c540c0d;hp=8814c8bafcfe1a13e3bf900ffcec3865fe118ff3;hb=f36031bd6c6a251a541cdf42956f5199adcd9cb8;hpb=024a65e993d7e87562e7d0f8cde4619d8def4ba5 diff --git a/LCARStrek/browser/customizableui/panelUIOverlay.css b/LCARStrek/browser/customizableui/panelUIOverlay.css index 8814c8ba..1fab05f3 100644 --- a/LCARStrek/browser/customizableui/panelUIOverlay.css +++ b/LCARStrek/browser/customizableui/panelUIOverlay.css @@ -14,7 +14,8 @@ #PanelUI-popup #PanelUI-contents:empty::before { content: ""; - background-image: url("chrome://browser/skin/customizableui/whimsy-bw.png"); + background-image: url(chrome://browser/skin/customizableui/whimsy.png); + background-size: 64px 64px; display: block; width: 64px; height: 64px; @@ -24,6 +25,10 @@ whimsyMoveY 3.4s linear 0s infinite alternate; } +#PanelUI-popup #PanelUI-contents:not(:hover):empty::before { + filter: grayscale(100%); +} + #PanelUI-popup #PanelUI-contents:active:empty::before { animation: whimsyMoveX 3.05s linear 0s infinite alternate, whimsyMoveY 3.4s linear 0s infinite alternate, @@ -41,16 +46,8 @@ whimsyRotate 1s linear 0s infinite normal; } -#PanelUI-popup #PanelUI-contents:empty:hover::before { - background-image: url("chrome://browser/skin/customizableui/whimsy.png"); -} - @media (min-resolution: 2dppx) { #PanelUI-popup #PanelUI-contents:empty::before { - background-image: url("chrome://browser/skin/customizableui/whimsy-bw@2x.png"); - background-size: 64px 64px; - } - #PanelUI-popup #PanelUI-contents:empty:hover::before { background-image: url("chrome://browser/skin/customizableui/whimsy@2x.png"); } } @@ -237,11 +234,6 @@ panelmultiview[nosubviews=true] > .panel-viewcontainer > .panel-viewstack > .pan 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; @@ -252,11 +244,6 @@ panelview:not([mainview]) .toolbarbutton-text, 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; } @@ -1275,9 +1262,7 @@ menuitem[checked="true"].subviewbutton > .menu-iconic-left { #customizationui-widget-multiview > .panel-viewcontainer, #customizationui-widget-multiview > .panel-viewcontainer > .panel-viewstack, #PanelUI-panicView > .panel-subview-body, -#PanelUI-panicView, -#PanelUI-pocketView > .panel-subview-body, -#PanelUI-pocketView { +#PanelUI-panicView { overflow: visible; color: #FF9F00; } @@ -1481,6 +1466,12 @@ menuitem[checked="true"].subviewbutton > .menu-iconic-left { margin-bottom: 2px;*/ } +.subviewbutton:-moz-any([image], .bookmark-item) > .toolbarbutton-icon { + /* This catches bookmarks, history items, and sync tabs items */ + width: 16px; + height: 16px; +} + /* Disabled empty item looks too small otherwise, because it has no icon. */ menuitem.subviewbutton[disabled]:not(.menuitem-iconic), /* Same for checkbox menu items, whose icons lose size due to -moz-appearance: none: */ @@ -1516,11 +1507,11 @@ menu.subviewbutton > .menu-right:-moz-locale-dir(rtl) { } .subviewbutton > .toolbarbutton-text { - -moz-padding-start: 16px; + padding-inline-start: 18px; /* 16px for icons plus the 2px spacing from the rule below */ } .subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .restoreallitem, .bookmark-item) > .toolbarbutton-text { - -moz-padding-start: 0; + padding-inline-start: 2px; } /* subviewbutton entries for social sidebars have images that come from external @@ -1536,7 +1527,7 @@ toolbarbutton.social-provider-menuitem > .toolbarbutton-icon { } menu.subviewbutton > .menu-right { - list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow); + list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow"); /* Reset the rect we inherit from the button: */ -moz-image-region: auto; }