X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fcustomizableui%2FpanelUIOverlay.css;h=199a6a74e0517f7d73db642ea4d9ba36b1db1241;hb=4711fba5c2eb7c0a3102288c81f86d9dc557b3a9;hp=5345e8a7af85a6783889ee0483e8560f6871d034;hpb=cae267abf310c32cfc8f74e260d2d4798e7634a1;p=themes.git diff --git a/LCARStrek/browser/customizableui/panelUIOverlay.css b/LCARStrek/browser/customizableui/panelUIOverlay.css index 5345e8a7..199a6a74 100644 --- a/LCARStrek/browser/customizableui/panelUIOverlay.css +++ b/LCARStrek/browser/customizableui/panelUIOverlay.css @@ -19,6 +19,11 @@ moveY 3.4s linear 0s infinite alternate; } +#PanelUI-popup #PanelUI-contents:-moz-locale-dir(rtl):empty::before { + animation: moveXRTL 3.05s linear 0s infinite alternate, + moveY 3.4s linear 0s infinite alternate; +} + #PanelUI-popup #PanelUI-contents:empty:hover::before { background-image: url("chrome://browser/skin/customizableui/whimsy.png"); } @@ -37,9 +42,13 @@ /* These values are adjusted for the padding on the panel. */ from { margin-left: -9px; } to { margin-left: calc(100% - 55px); } } +@keyframes moveXRTL { + /* These values are adjusted for the padding on the panel. */ + from { margin-right: -9px; } to { margin-right: calc(100% - 55px); } +} @keyframes moveY { /* 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); } } #customization-panelHolder { @@ -210,7 +219,7 @@ panelview:not([mainview]) .toolbarbutton-text, #PanelUI-contents { display: block; - flex: auto; + flex: 1 0 auto; margin-left: auto; margin-right: auto; max-width: 22.35em; @@ -357,6 +366,7 @@ toolbaritem[cui-areatype="menu-panel"][sdkstylewidget="true"]:not(.panel-wide-it .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 { @@ -500,11 +510,11 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { } #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 { @@ -689,7 +699,7 @@ menuitem.subviewbutton:not(:-moz-any([disabled],:active))[_moz-menuactive], border-color: hsla(210,4%,10%,.11); } -panelview .toolbarbutton-1:not([disabled]):-moz-any([open],: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, @@ -744,21 +754,12 @@ menuitem.panel-subview-footer:not([disabled]):-moz-any([open],:hover:active), } #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; + / Hide bottom separator as the styled footer includes a top border serving the same purpose / + display: none; } / Popups with only one item don't have a footer / -menupopup[placespopup=true][singleitempopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox, +#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 { @@ -1017,6 +1018,10 @@ toolbarbutton[overflowedItem=true] { 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"); }