X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Ftoolbarbutton.css;h=feaa25607ed89997ba663e4aaa48e53265a8820b;hp=2b0d4598fd9bceadbf0e5d5ac8a4e85c31cf7cdc;hb=1eb9479dcd57435d5baac6c245734008e702917b;hpb=b1db19fed8bd91ff36a19724e9c7dc7545f70f9e diff --git a/LCARStrek/global/toolbarbutton.css b/LCARStrek/global/toolbarbutton.css index 2b0d4598..feaa2560 100644 --- a/LCARStrek/global/toolbarbutton.css +++ b/LCARStrek/global/toolbarbutton.css @@ -175,6 +175,48 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu padding: 1px 2px !important; } +/* ::::: toolbarbutton badged ::::: */ + +.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { + -moz-margin-end: 0; +} + +.toolbarbutton-badge[badge=""] { + display: none; +} + +.toolbarbutton-badge { + background-color: #000000; +} + +.toolbarbutton-badge::after { + /* The |content| property is set in the content stylesheet. */ + font-size: 10px; + font-weight: bold; + padding: 1px 2px 2px; + color: #FF9F00; + background-color: inherit; + border-radius: 2px; + box-shadow: 0 1px 0 #9C9CFF inset, + 0 -1px 0 #9C9CFF inset, + 0 1px 0 #9C9CFF; + position: absolute; + top: -4px; + right: -2px; + min-width: 10px; + line-height: 10px; + text-align: center; +} + +.toolbarbutton-badge:-moz-locale-dir(rtl)::after { + left: -2px; + right: auto; +} + +.toolbarbutton-badge-container { + position: relative; +} + /* .......... dropmarker .......... */ .toolbarbutton-menubutton-dropmarker {