X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=5d9ee7eaf2852e480d4458a08dca0911a62a91be;hp=931b936fe3903d428b64785d77938ac79e5de36d;hb=refs%2Ftags%2FEarlyBlue-2.50;hpb=689d55520a6b693a10bd5ecb82afa7ee0deb8cac diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 931b936f..5d9ee7ea 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -13,12 +13,8 @@ /* ::::: XBL bindings ::::: */ -checkbox { - -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); -} - radio { - -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); + -moz-binding: url("chrome://global/skin/globalBindings.xml#radio"); } menulist > menupopup { @@ -53,10 +49,10 @@ toolbaritem > menubar { /* ::::: Variables ::::: */ :root { - --panel-arrowcontent-padding: 6px; - --panel-arrowcontent-background: #000000; - --panel-arrowcontent-color: #FF9F00; - --panel-arrowcontent-border-color: #FF9F00; + --arrowpanel-padding: 6px; + --arrowpanel-background: #000000; + --arrowpanel-color: #FF9F00; + --arrowpanel-border-color: #FF9F00; } /* ::::: root elements ::::: */ @@ -334,6 +330,22 @@ popupnotificationcontent { margin-top: .5em; } +/* === BEGIN notification-popup.inc.css === */ + +.popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent { + /* In order to display the action buttons near the edge of the arrow panel we + * have to reset its default padding and specify the padding in the individual + * "popupnotification" elements instead. To keep the rounded borders of the + * panel, we also have to ensure the contents are clipped to the border box + * by hiding the overflow, and we have to override the "display" property so + * that the height of the contents is computed correctly in that case. */ + padding: 0; + overflow: hidden; + display: block; +} + +/* === END notification-popup.inc.css === */ + /* :::::: autoscroll popup ::::: */ .autoscroller { @@ -378,3 +390,21 @@ popupnotificationcontent { .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; +}