X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=f2c416df55b82ba29312bc9df0927e11c4bd4bce;hp=ed83e18b4b088f8d4fea11b1c8a3a2d6db93d41a;hb=52d7b436d7e0402ffa0c6e9a55d6c5cd6ecb1e7f;hpb=8d1f53f02751ada24d76e783abec18ae00a9c082 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index ed83e18b..f2c416df 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -36,6 +36,10 @@ menubar { -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); } +:root { + --verified-identity-box-backgroundcolor: #000000; +} + #menubar-items { -moz-box-orient: vertical; /* for flex hack */ } @@ -218,7 +222,8 @@ menubar { * can swallow those events. It will also place the buttons above the fog on * themes with Aero Glass. */ -#titlebar-buttonbox { +#titlebar-buttonbox, +#main-window[sizemode="maximized"] #titlebar-buttonbox { -moz-appearance: none; margin-top: 6px; margin-top: 4px; @@ -313,6 +318,8 @@ toolbarbutton.bookmark-item[open="true"] { #personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon { width: 16px; height: 16px; + -moz-margin-start: 1px; + -moz-margin-end: 2px; } /* Force the display of the label for bookmarks */ @@ -489,7 +496,7 @@ menuitem.bookmark-item { #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-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, #web-apps-button), + #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button), #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon { list-style-image: url("chrome://browser/skin/ToolbarFx.png"); @@ -928,12 +935,26 @@ menuitem.bookmark-item { -moz-image-region: rect(0, 108px, 18px, 90px); } +#webide-button[cui-areatype="toolbar"] { + -moz-image-region: rect(0, 738px, 18px, 720px); +} + +#webide-button[cui-areatype="toolbar"]:hover { + -moz-image-region: rect(18px, 738px, 36px, 720px); +} + /* === END toolbarbuttons.inc.css === */ /* === BEGIN menupanel.inc.css === */ /* Menu panel and palette styles */ +:root { + /* avoid aero overrides with changed filenames */ + --menupanel-list-style-image: url(chrome://browser/skin/menuPanelFx.png); + --menupanel-small-list-style-image: url(chrome://browser/skin/menuPanelFx-small.png); +} + toolbaritem[sdkstylewidget="true"] > toolbarbutton, :-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, @@ -941,15 +962,15 @@ toolbaritem[sdkstylewidget="true"] > toolbarbutton, #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-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, #web-apps-button)[cui-areatype="menu-panel"], + #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button)[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, #switch-to-metro-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, #web-apps-button) { - list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */ + #copy-button, #paste-button, #e10s-button, #panic-button, #web-apps-button, #webide-button) { + list-style-image: var(--menupanel-list-style-image); } #home-button[cui-areatype="menu-panel"], @@ -1245,6 +1266,16 @@ toolbarpaletteitem[place="palette"] > #web-apps-button:hover { -moz-image-region: rect(32px, 928px, 64px, 896px); } +#webide-button[cui-areatype="menu-panel"], +toolbarpaletteitem[place="palette"] > #webide-button { + -moz-image-region: rect(0px, 960px, 32px, 928px); +} + +#webide-button[cui-areatype="menu-panel"]:hover, +toolbarpaletteitem[place="palette"] > #webide-button:hover { + -moz-image-region: rect(32px, 960px, 64px, 928px); +} + toolbaritem[sdkstylewidget="true"] > toolbarbutton { -moz-image-region: rect(0, 832px, 32px, 800px); } @@ -1301,7 +1332,7 @@ toolbarpaletteitem[place="palette"] > #loop-button > .toolbarbutton-badge-contai #zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton, toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton, toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton { - list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */ + list-style-image: var(--menupanel-small-list-style-image); } #edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button, @@ -1379,6 +1410,11 @@ toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled= -moz-image-region: rect(32px, 96px, 48px, 80px); } +#add-share-provider { + list-style-image: var(--menupanel-small-list-style-image); + -moz-image-region: rect(0px, 96px, 16px, 80px); +} + /* === END menupanel.inc.css === */ .toolbarbutton-1:not([type="menu-button"]) { @@ -1695,7 +1731,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but /* tabview menu item */ #menu_tabview { - list-style-image: url("chrome://browser/skin/tabview/tabview.png"); + list-style-image: url("chrome://browser/skin/tabview/tabviewFx.png"); -moz-image-region: rect(1px, 89px, 17px, 73px); } @@ -1894,7 +1930,7 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, #urlbar-display-box { } -#urlbar-display { +.urlbar-display { -moz-border-end: 1px solid #9C9CFF; -moz-margin-end: 3px; margin-top: 0; @@ -1986,7 +2022,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but } #identity-box.verifiedIdentity:not(:-moz-lwtheme) { - background-color: #000000; + var(--verified-identity-box-backgroundcolor); } #identity-box:-moz-focusring { @@ -2027,15 +2063,20 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but /* === BEGIN identity-block.inc.css === */ -#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { +:root { + --identity-box-verified-color: #008484; /* Default theme does different color per channel, we can't as they do it build-time. */ - color: #9C9CFF; - -moz-border-end: 1px solid #9C9CFF; + --identity-box-chrome-color: #9C9CFF; +} + +#urlbar[pageproxystate="valid"] > #identity-box.chromeUI { + color: var(--identity-box-chrome-color); + -moz-border-end: 1px solid var(--identity-box-chrome-color); } #urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity { - color: #008484; - -moz-border-end: 1px solid #008484; + color: var(--identity-box-verified-color); + -moz-border-end: 1px solid var(--identity-box-verified-color); } #urlbar[pageproxystate="valid"] > #identity-box.chromeUI, @@ -2161,13 +2202,19 @@ richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type- } .ac-result-type-keyword, -.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { - list-style-image: url("chrome://global/skin/icons/Search-glass.png"); - -moz-image-region: rect(0px 32px 16px 16px); +.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage), +richlistitem[type~="action"][actiontype="searchengine"] > .ac-title-box > .ac-site-icon { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon"); width: 16px; height: 16px; } + .ac-result-type-keyword[selected="true"], + .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage, selected), + richlistitem[type~="action"][actiontype="searchengine"][selected="true"] > .ac-title-box > .ac-site-icon { + list-style-image: url("chrome://global/skin/icons/autocomplete-search.svg#search-icon-inverted"); + } + .ac-result-type-tag, .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); @@ -2227,7 +2274,7 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- padding: 0 2px; background-origin: border-box; border: none; - list-style-image: url("chrome://browser/skin/reload-stop-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); -moz-border-start: 1px solid #9C9CFF; } @@ -2798,7 +2845,7 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { #TabsToolbar > #new-tab-button, #TabsToolbar > toolbarpaletteitem > #new-tab-button, #TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] { - list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png"); + list-style-image: url("chrome://browser/skin/tabbrowser/newtabFx.png"); -moz-image-region: rect(0, 16px, 18px, 0); } @@ -2868,7 +2915,11 @@ toolbarbutton.chevron { toolbarbutton.chevron:hover { list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; } - +/* +toolbar[brighttext] toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/toolbar/chevron-inverted.png") !important; +} +*/ toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { transform: scaleX(-1); @@ -3047,10 +3098,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png"); } -.popup-notification-icon[popupid="plugins-not-found"] { - list-style-image: url("chrome://browser/skin/pluginInstall-64.png"); -} - .popup-notification-icon[popupid="web-notifications"] { list-style-image: url("chrome://browser/skin/notification-64.png"); } @@ -3219,10 +3266,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled /* -moz-image-region: rect(0, 32px, 16px, 16px);*/ } -#plugin-install-notification-icon { - list-style-image: url("chrome://browser/skin/pluginInstall-16.png"); -} - #notification-popup-box[hidden] { /* Override display:none to make the pluginBlockedNotification animation work when showing the notification repeatedly. */ @@ -4287,58 +4330,6 @@ html|*#gcli-output-frame { display: none; } -.toolbarbutton-badge-container { - margin: 0; - padding: 0; - position: relative; -} - -#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container { - padding: 2px 2px; -} - -.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon { - position: absolute; - top: 2px; - right: 2px; -} - -.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { - -moz-margin-end: 0; -} - -.toolbarbutton-badge[badge=""] { - display: none; -} -.toolbarbutton-badge[badge]:not([badge=""])::after { - /* The |content| property is set in the content stylesheet. */ - font-size: 9px; - font-weight: bold; - padding: 0 1px; - color: #FF9F00; - background-color: #000000; - border: 1px solid #9C9CFF; - border-radius: 2px; - position: absolute; - top: 0; - right: 0; -} - -#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after { - top: 1px; - right: 1px; -} - -.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { - left: 0; - right: auto; -} - -#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after { - left: 1px; - right: auto; -} - #social-notification-icon-mentions { background-color: #000000; border-radius: 3px; @@ -4777,6 +4768,11 @@ notification.pluginVulnerable .messageImage { width: 17em; } +.popup-notification-item-message[popupid="bad-content"][mixedblockdisabled]:not(.popup-notification-item-message-critical), +.popup-notification-item-message[popupid="bad-content"][trackingblockdisabled]:not(.popup-notification-item-message-critical) { + color: #8050B0; +} + .popup-notification-item-message-critical[popupid="bad-content"] { color: #FF0000; font-style: italic; @@ -4915,6 +4911,21 @@ notification.pluginVulnerable .messageImage { .customizationmode-button:hover { } +#customization-titlebar-visibility-button[checked], +#customization-devedition-theme-button[checked] { + background-color: #008484; +} + +#customization-titlebar-visibility-button[checked]:hover, +#customization-devedition-theme-button[checked]:hover { + background-color: #FFCF00; +} + +#customization-titlebar-visibility-button[checked]:hover:active, +#customization-devedition-theme-button[checked]:hover:active { + background-color: #FF9F00; +} + .customizationmode-button[disabled="true"] { } @@ -5176,6 +5187,7 @@ toolbarpaletteitem[place="toolbar"] { border-radius: 3px; /* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/ border: 1px solid #9C9CFF; + color: #FF9F00; } #customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) { @@ -5493,6 +5505,54 @@ toolbarpaletteitem[place="toolbar"] { color: #000000; } +.SearchHighlight { + -moz-margin-end: 6px; + font-size: 110%; + width: 225px; +} + +.SearchHighlight label, +.SearchHighlight description { + color: #008484; + margin: 0 0 8px 0; + padding: 0; +} + +.SearchHighlightTitle { + font-weight: bold; +} + +.SearchHighlight .dot { + width: 7px; + height: 7px; + background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 100%, 100%, 9); + background-size: 7px; + background-position: center center; + background-repeat: no-repeat; + -moz-margin-end: 2px; +} + +.SearchHighlight .dot.filled { + background-image: -moz-image-rect(url("chrome://browser/skin/dots.png"), 0, 7, 100%, 0); +} + +.SearchHighlight button { + margin: 0; + /* On some platforms clicking the button will steal focus from the search box + causing the popup to close. */ + -moz-user-focus: ignore; +} + +@media not all and (max-resolution: 1dppx) { + .SearchHighlight .dot { + background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 100%, 100%, 18); + } + + .SearchHighlight .dot.filled { + background-image: -moz-image-rect(url("chrome://browser/skin/dots@2x.png"), 0, 14, 100%, 0); + } +} + /* === END UITour.inc.css === */ #UITourTooltipButtons { @@ -5552,7 +5612,7 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #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-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); -moz-image-region: rect(0, 14px, 14px, 0); } @@ -5568,7 +5628,7 @@ menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left { #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-go.png"); + list-style-image: url("chrome://browser/skin/reload-stop-goFx.png"); -moz-image-region: rect(0, 28px, 14px, 14px); }