X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=2dd544b711da86b1b38081dcaa3ac16922968bb2;hp=5a8a85a6c44d13ed94f1fe35268c2fa338133ffd;hb=5a199ba1b9eca2066fdf892fe1d4ac96b3b5d19f;hpb=3a0880a969044096e60703908f84629b16830ee2 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 5a8a85a6..2dd544b7 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -599,6 +599,12 @@ menuitem.bookmark-item { -moz-image-region: rect(18px, 144px, 36px, 126px); } +/* When "new tab" page shows up, the menubutton-button (star button) is disabled */ +#navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] { + -moz-image-region: rect(36px, 144px, 54px, 126px) !important; + background-color: transparent !important; +} + #navigator-toolbox:not([iconsize]) #bookmarks-menu-button[cui-areatype="toolbar"][starred] { -moz-image-region: rect(0, 162px, 18px, 144px); } @@ -2493,6 +2499,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; @@ -2693,11 +2706,12 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- } .tabbrowser-tab, -.tabs-newtab-button { +.tabs-newtab-button, +#TabsToolbar > #new-tab-button { margin-top: 0px; } -.tabbrowser-tab{ +.tabbrowser-tab { padding: 1px 4px 2px; } @@ -2705,12 +2719,14 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- -moz-margin-start: 2px; } -.tabs-newtab-button { +.tabs-newtab-button, +#TabsToolbar > #new-tab-button { border-radius: 8px 8px 0px 0px; -moz-margin-start: 0; } -.tabs-newtab-button:not(:hover) { +.tabs-newtab-button:not(:hover), +#TabsToolbar > #new-tab-button:not(:hover) { background-color: #C09070; } @@ -2843,8 +2859,11 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- 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, +#navigator-toolbox:not([iconsize]) #TabsToolbar > #new-tab-button, +#navigator-toolbox:not([iconsize]) #TabsToolbar > #new-tab-button:hover, #TabsToolbar > #new-tab-button:hover { -moz-image-region: rect(0, 32px, 18px, 16px); } @@ -3045,11 +3064,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; @@ -3476,11 +3490,13 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon background-color: transparent !important; } +/* === BEGIN highlighter.inc.css === */ + /* Highlighter */ .highlighter-outline { box-shadow: 0 0 0 1px black; - outline: 1px dashed white; + outline: 1px dashed #A09090; } .highlighter-outline[locked] { @@ -3492,10 +3508,14 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon .highlighter-nodeinfobar { color: #FF9F00; - border: 1px solid rgba(156, 156, 255, .5); border-radius: 3px; background-color: #000000; background-clip: padding-box; + border: 1px solid #008484; + padding: 5px; + /* Avoid cases where the infobar is smaller than the arrow, when the text is + short */ + min-width: 75px; } /* Highlighter - Node Infobar - text */ @@ -3533,9 +3553,6 @@ html|*.highlighter-nodeinfobar-pseudo-classes { -moz-margin-end: 2px; } -.highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) { -} - .highlighter-nodeinfobar-inspectbutton:hover, .highlighter-nodeinfobar-inspectbutton:hover:active/*, .highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ { @@ -3545,9 +3562,6 @@ html|*.highlighter-nodeinfobar-pseudo-classes { .highlighter-nodeinfobar-menu { } -.highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) { -} - .highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker { -moz-box-align: center; -moz-margin-start: -1px; @@ -3560,7 +3574,6 @@ html|*.highlighter-nodeinfobar-pseudo-classes { height: 14px; -moz-margin-start: calc(50% - 7px); transform: rotate(-45deg); - border: 1px solid transparent; background-clip: padding-box; background-repeat: no-repeat; } @@ -3568,28 +3581,21 @@ html|*.highlighter-nodeinfobar-pseudo-classes { .highlighter-nodeinfobar-arrow-top { margin-bottom: -8px; margin-top: 8px; - border-right-color: rgba(0, 132, 132, .5); - border-top-color: rgba(0, 132, 132, .5); background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%); } .highlighter-nodeinfobar-arrow-bottom { margin-top: -8px; margin-bottom: 8px; - border-left-color: rgba(0, 132, 132, .5); - border-bottom-color: rgba(0, 132, 132, .5); background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%); } -.highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar, -.highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar { - box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset; -} - .highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar { margin: 7px 0; } +/* === END highlighter.inc.css === */ + #full-screen-warning-message { background-color: #000000; color: #FF9F00; @@ -4494,6 +4500,13 @@ html|div#UITourHighlight { border: 2px #9C9CFF solid; min-height: 32px; min-width: 32px; + /* HACK for pre-Australis */ + display: none; +} + +html|div#UITourHighlight[active] { + /* HACK for pre-Australis */ + display: none; } #UITourTooltip {