X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=b992e39876036ea9178182df04f6f1fa4d66d968;hp=c5768c515504cba688b025e9cde5c70ca69bec29;hb=7327c957c10aeaccf57a457a9950ac380a326f29;hpb=8ab9ca8a251b25fb4a6ba8744a1c75ec9bcc4990 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index c5768c51..b992e398 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -39,6 +39,11 @@ menubar { :root { /*--backbutton-urlbar-overlap: 5px;*/ + /* icon width + border + horizontal padding (includes the overlap from backbutton-urlbar-overlap) */ + --forwardbutton-width: 27px; + /* icon width + border + horizontal padding (without the overlap from backbutton-urlbar-overlap) / + --forwardbutton-width: 25px;*/ + --identity-box-verified-background-color: #000000; --panel-separator-color: #A09090; @@ -84,13 +89,6 @@ menubar { /* margin-top: var(--space-above-tabbar);*/ } -@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) { - /* This is a hackish workaround to exclude most of Mac OS until bug 1060941 gets fixed. */ - #toolbar-menubar:not([autohide="true"]) { - -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); - } -} - @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { @@ -1010,12 +1008,12 @@ toolbarpaletteitem[place="palette"] > #save-page-button:hover { #sync-button[cui-areatype="menu-panel"], toolbarpaletteitem[place="palette"] > #sync-button { - -moz-image-region: rect(0, 792px, 18px, 774px); + -moz-image-region: rect(0px, 1024px, 32px, 992px); } #sync-button[cui-areatype="menu-panel"]:hover, toolbarpaletteitem[place="palette"] > #sync-button:hover { - -moz-image-region: rect(32px, 792px, 64px, 774px); + -moz-image-region: rect(32px, 1024px, 64px, 992px); } #feed-button[cui-areatype="menu-panel"], @@ -1530,6 +1528,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([ope margin-top: 3px; margin-bottom: 3px; border-radius: 0 10000px 10000px 0; +/* max-width: calc(var(--forwardbutton-width) + var(--backbutton-urlbar-overlap)) !important; */ } #forward-button:-moz-locale-dir(rtl) { @@ -1541,7 +1540,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #fo } window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] { - margin-left: -27px !important; + margin-left: calc(0px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/); } window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] { @@ -1551,7 +1550,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] { /* when not hovered anymore, trigger a new transition to hide the forward button immediately */ - margin-left: -27.01px !important; + margin-left: calc(-0.01px - var(--forwardbutton-width)/* - var(--backbutton-urlbar-overlap)*/); } #back-button { @@ -1948,7 +1947,11 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder, transition: opacity 0.15s ease; } -#navigator-toolbox:not(:hover) .urlbar-history-dropmarker { +#urlbar-wrapper[switchingtabs] > #urlbar > .urlbar-textbox-container > .urlbar-history-dropmarker { + transition: none; +} + +#navigator-toolbox:not(:hover) #urlbar:not([focused]) > .urlbar-textbox-container > .urlbar-history-dropmarker { opacity: 0; } @@ -2125,6 +2128,11 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-but visibility: visible; } +#urlbar[pageproxystate="valid"] > #identity-box.certUserOverridden > #connection-icon { + list-style-image: url(chrome://browser/skin/identity-mixed-passive-loaded.svg); + visibility: visible; +} + /* === END identity-block.inc.css === */ #page-proxy-favicon { @@ -2730,6 +2738,7 @@ richlistitem[type~="action"][actiontype="tab"][selected="true"] > .ac-url-box > height: 16px; margin-top: -8px; -moz-margin-start: -15px; + margin-inline-end: -1px; position: relative; } @@ -3308,11 +3317,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); } -.popup-notification-icon[popupid="webapps-install-progress"], -.popup-notification-icon[popupid="webapps-install"] { - list-style-image: url("chrome://global/skin/icons/webapps-64.png"); -} - .popup-notification-icon[popupid="webRTC-sharingDevices"], .popup-notification-icon[popupid="webRTC-shareDevices"] { list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png"); @@ -3379,11 +3383,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled outline: 1px dotted #008484; } -.identity-notification-icon, -#identity-notification-icon { - list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); -} - .geo-notification-icon, #geo-notification-icon { list-style-image: url("chrome://browser/skin/Geolocation-16.png"); @@ -3416,10 +3415,6 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled transform: scaleX(-1); } -#webapps-notification-icon { - list-style-image: url("chrome://gobal/skin/icons/webapps-16.png"); -} - #plugins-notification-icon { list-style-image: url("chrome://browser/skin/notification-pluginNormal.png"); } @@ -3709,9 +3704,7 @@ notification[value="translation"] { /* Bookmarks roots menu-items */ #subscribeToPageMenuitem:not([disabled]), -#subscribeToPageMenupopup, -#BMB_subscribeToPageMenuitem:not([disabled]), -#BMB_subscribeToPageMenupopup { +#subscribeToPageMenupopup { list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); }