X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=61d7ba15be283adc56ccbfadf4de41fff6927e84;hp=6c587e50ddc0aa6639f0082c387d7167fe051761;hb=de57e474d3ff2537ba1a6e54223db3212b7a553c;hpb=43ee1307e3c5939f459977d42a001cf5046dc0b9 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 6c587e50..61d7ba15 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -89,16 +89,16 @@ menubar { #navigator-toolbox > toolbar:not(:-moz-lwtheme) { } -#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { +#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { /* like menubar */ background-color: #6000CF; color: #FF9F00; } -#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { +#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { background-color: #8050B0; color: #FF9F00; } -#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab { +#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab { padding-top: 3px; } @@ -114,6 +114,9 @@ menubar { #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, #nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ + /* Position the toolbar above the bottom of background tabs */ + position: relative; + z-index: 1; } #personal-bookmarks { @@ -126,6 +129,16 @@ menubar { /* ::::: app menu button ::::: */ +/* The app menu button must appear on top of the navigator-toolbox in order + * for click and hover mouse events to work properly for the button in the + * restored window state. Otherwise, elements in the navigator-toolbox, like the + * menubar can swallow these events. It will also place the button above the + * fog on themes with Aero Glass. + */ +#main-window[tabsintitlebar] #appmenu-button-container { + z-index: 1; +} + #appmenu-button { background-color: #FF9F00; background-clip: padding-box; @@ -2499,6 +2512,13 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- max-height: 16px; } +toolbarbutton[type="socialmark"] > .toolbarbutton-icon { + width: auto; + height: auto; + max-width: 32px; + max-height: 24px; +} + /* fixup corners for share panel */ .social-panel > .social-panel-frame { border-radius: inherit; @@ -2698,6 +2718,8 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- border-bottom: 1px solid #008484; } +/* === BEGIN tabs.inc.css === */ + .tabbrowser-tab, .tabs-newtab-button, #TabsToolbar > #new-tab-button { @@ -2727,45 +2749,34 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- text-decoration: underline; } -.tabbrowser-tab:hover, -.tabs-newtab-button:hover { -} +/* Selected tab */ .tabbrowser-tab[selected="true"] { } -#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { -} +/* End selected tab */ -.tabbrowser-tab:-moz-lwtheme { -} +/* Pinned tabs */ -.tabbrowser-tab[selected="true"]:-moz-lwtheme { +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { + background-color: #E7ADE7; } - -.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), -.tabs-newtab-button:-moz-lwtheme-brighttext { +.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { + background-color: #3333FF; + color: #000000; } -.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, -.tabs-newtab-button:-moz-lwtheme-brighttext:hover { -} +/* New tab button */ -.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), -.tabs-newtab-button:-moz-lwtheme-darktext { +.tabs-newtab-button { + width: 28px; } -.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, -.tabs-newtab-button:-moz-lwtheme-darktext:hover { +#TabsToolbar > #new-tab-button { + width: 26px; } -.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { - background-color: #E7ADE7; -} -.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { - background-color: #3333FF; - color: #000000; -} +/* === END tabs.inc.css === */ .tab-throbber, .tab-icon-image { @@ -2844,14 +2855,6 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- -moz-image-region: rect(0, 16px, 18px, 0); } -.tabs-newtab-button { - width: 28px; -} - -#TabsToolbar > #new-tab-button { - width: 26px; -} - /* Remove |#navigator-toolbox:not([iconsize])| selector when Australis lands - this makes it only apply post-Australis as iconsize doesn't exist there */ .tabs-newtab-button, .tabs-newtab-button:hover, @@ -3057,11 +3060,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { width: 16px; } -#identity-popup-help-icon:-moz-focusring { - outline: 1px dotted; - outline-offset: 1px; -} - #identity-popup-more-info-button { margin-top: 6px; margin-bottom: 0; @@ -3539,7 +3537,6 @@ html|*.highlighter-nodeinfobar-pseudo-classes { /* Highlighter - Node Infobar - buttons */ .highlighter-nodeinfobar-button { - border-width: 0; padding: 0; width: 26px; min-height: 26px; @@ -3650,7 +3647,7 @@ html|*.highlighter-nodeinfobar-pseudo-classes { min-height: 32px; */ } -.developer-toolbar-button { +#developer-toolbar > toolbarbutton { /* margin: 0; padding: 0 10px; width: 32px; */ @@ -3679,6 +3676,25 @@ html|*.highlighter-nodeinfobar-pseudo-classes { -moz-image-region: rect(0px, 32px, 16px, 16px); } +#developer-toolbar-closebutton { + list-style-image: url("chrome://browser/skin/devtools/close.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); + min-width: 16px; + width: 16px; +} + +#developer-toolbar-closebutton > .toolbarbutton-icon { +} + +#developer-toolbar-closebutton > .toolbarbutton-text { + display: none; +} + +#developer-toolbar-closebutton:hover, +#developer-toolbar-closebutton:hover:active { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + /* GCLI */ html|*#gcli-tooltip-frame, @@ -3709,10 +3725,13 @@ html|*#gcli-output-frame { /* line-height: 32px; outline-style: none; */ background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0); + background-repeat: no-repeat; + background-color: rgba(0, 0, 0, .75); } .gclitoolbar-input-node[focused="true"] { background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); + background-color: #000000; } .gclitoolbar-input-node:not([focused="true"]) { @@ -3781,16 +3800,98 @@ html|*#gcli-output-frame { .devtools-responsiveui-toolbar { background: transparent; + /* text color is textColor from dark theme, since no theme is applied to + * the responsive toolbar. + */ + color: #FF9F00; margin: 10px 0; padding: 0; box-shadow: none; border-bottom-width: 0; } -.devtools-responsiveui-toolbar > menulist, -.devtools-responsiveui-toolbar > toolbarbutton { - min-width: 22px; -/* border-radius: 0; */ +.devtools-responsiveui-menulist, +.devtools-responsiveui-toolbarbutton { + -moz-box-align: center; + min-width: 32px; +/* min-height: 22px;*/ +/* margin: 0 3px; */ +} + +.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button { + -moz-box-orient: horizontal; +} + +.devtools-responsiveui-menulist:-moz-focusring, +.devtools-responsiveui-toolbarbutton:-moz-focusring { +/* outline: 1px dotted hsla(210,30%,85%,0.7); + outline-offset: -4px;*/ +} + +.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text { + display: none; +} + +.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active { +/* border-color: hsla(210,8%,5%,.6); + background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); + box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ +} + +.devtools-responsiveui-menulist[open=true], +.devtools-responsiveui-toolbarbutton[open=true], +.devtools-responsiveui-toolbarbutton[checked=true] { +/* border-color: hsla(210,8%,5%,.6) !important; + background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4)); + box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */ +} + +.devtools-responsiveui-toolbarbutton[checked=true] { +/* color: hsl(208,100%,60%); */ +} + +.devtools-responsiveui-toolbarbutton[checked=true]:hover { +/* background-color: transparent !important;*/ +} + +.devtools-responsiveui-toolbarbutton[checked=true]:hover:active { +/* background-color: hsla(210,8%,5%,.2) !important;*/ +} + +.devtools-responsiveui-menulist > .menulist-label-box { + text-align: center; +} + +.devtools-responsiveui-menulist > .menulist-dropmarker { +/* display: -moz-box; + background-color: transparent; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; + border-width: 0; + min-width: 16px;*/ +} + +.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { +/* color: inherit; + border-width: 0; + -moz-border-end: 1px solid hsla(210,8%,5%,.45); + box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/ +} + +.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { +/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/ +} + +.devtools-responsiveui-toolbarbutton[type=menu-button] { +/* padding: 0 1px;*/ + -moz-box-align: stretch; +} + +.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, +.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { +/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; + padding: 0 3px;*/ } .devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child, @@ -4298,8 +4399,6 @@ notification.pluginVulnerable .messageImage { list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png"); } -/* Customization mode */ - /* === END plugin-doorhanger.inc.css === */ #main-window[privatebrowsingmode=temporary] #toolbar-menubar { @@ -4481,8 +4580,6 @@ toolbarpaletteitem[place="toolbar"] { background-clip: padding-box; } -/* End customization mode */ - #main-window[privatebrowsingmode=temporary] #TabsToolbar::after { content: ""; display: -moz-box;