X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=53cf677c015947126be959e1f1f62b6186128384;hp=fb53947fdd0fdf845d8fe85a04e6d18b77d8772a;hb=710194f17c12f1767ef0ad8ffe1c46860bc70b78;hpb=10dad1cd7f49b23e232431ffc2e74840854e1834 diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index fb53947f..53cf677c 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -21,15 +21,10 @@ radio { -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); } -menulist > menupopup, -.menulist-menupopup { +menulist > menupopup { -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); } -.menulist-compact { - -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); -} - /* LCARStrek special bindings */ statusbar { @@ -48,7 +43,7 @@ toolbaritem > menubar { -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); } -@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { +@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. */ toolbar.chromeclass-menubar { -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); @@ -56,28 +51,12 @@ toolbaritem > menubar { } } -/* HACK TEST ONLY: try several mac supports rules! */ - -@media (not -moz-mac-graphite-theme) and (not -moz-mac-lion-theme) and (not -moz-mac-yosemite-theme) { - /* this is a usable workaround to detect we're on Mac OS */ - toolbox { - border: 1px solid blue !important; - } -} - -@media not all and (-moz-mac-graphite-theme) and (-moz-mac-lion-theme) and (-moz-mac-yosemite-theme) { - /* this is a usable workaround to detect we're on Mac OS */ - tab { - background-color: lightblue !important; - } -} - - -@media not (-moz-mac-graphite-theme, -moz-mac-lion-theme, -moz-mac-yosemite-theme) { - /* this is a usable workaround to detect we're on Mac OS */ - toolbar { - border: 1px solid green !important; - } +/* ::::: Variables ::::: */ +:root { + --panel-arrowcontent-padding: 6px; + --panel-arrowcontent-background: #000000; + --panel-arrowcontent-color: #FF9F00; + --panel-arrowcontent-border-color: #FF9F00; } /* ::::: root elements ::::: */ @@ -99,8 +78,8 @@ window.dialog { background-color: #000000; padding-top: 8px; padding-bottom: 10px; - -moz-padding-start: 8px; - -moz-padding-end: 10px; + padding-inline-start: 8px; + padding-inline-end: 10px; } /* ::::: alert icons :::::*/ @@ -118,6 +97,7 @@ window.dialog { list-style-image: url("chrome://global/skin/icons/alert-message.gif"); } +.alert-dialog #info\.icon, .alert-icon { list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); } @@ -150,7 +130,7 @@ statusbar { .statusbar-center { background-color: #8050B0; - -moz-padding-start: 2px; + padding-inline-start: 2px; color: #FFCF00; -moz-box-align: stretch; } @@ -159,14 +139,14 @@ statusbar { border-radius: 9px 0px 0px 9px; background-color: #6000CF; width: 13px; - -moz-margin-end: 3px; + margin-inline-end: 3px; } .statusbar-right { border-radius: 0px 9px 9px 0px; background-color: #6000CF; width: 13px; - -moz-margin-start: 3px; + margin-inline-start: 3px; } statusbarpanel { @@ -184,7 +164,7 @@ statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { -moz-appearance: none; border-top-style: none; border-bottom-style: none; - -moz-border-start-style: none; + border-inline-start-style: none; } .statusbar-resizerpanel { @@ -269,8 +249,8 @@ separator.groove:not([orient="vertical"]) { separator.groove[orient="vertical"] { border-left: 2px groove #FF9F00; - -moz-margin-start: 0.4em; - -moz-margin-end: 0.4em; + margin-inline-start: 0.4em; + margin-inline-end: 0.4em; } /* groove separators (0 padding, for dividing effects) */ @@ -320,8 +300,8 @@ description { } .indent { -/* -moz-margin-start: 23px; */ - -moz-margin-start: 15px; +/* margin-inline-start: 23px; */ + margin-inline-start: 15px; } .box-padded { @@ -350,6 +330,10 @@ description { outline: 1px dotted; } +popupnotificationcontent { + margin-top: .5em; +} + /* :::::: autoscroll popup ::::: */ .autoscroller { @@ -394,3 +378,21 @@ description { .autoscroller[translucent="true"][scrolldir="EW"] { background-position: right bottom; } + +/* :::::: Close button icons ::::: */ + +.close-icon { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.close-icon:hover, +.close-icon:hover:active { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.close-icon > .button-icon, +.close-icon > .button-box > .button-icon, +.close-icon > .toolbarbutton-icon { + width: 16px; +}