X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Ftoolbarbutton.css;h=84c21f427cb2ba75e3eb01cbc0f8d8df3ed8e240;hp=65f2eaa4ccea667ce192ee98d8614d831dfadc91;hb=e82e1bf4270f9b94650c3e46465532a9fc20694e;hpb=83ac1f44fe8e6e5aa92e5e884ac475865b348b3a diff --git a/EarlyBlue/global/toolbarbutton.css b/EarlyBlue/global/toolbarbutton.css index 65f2eaa4..84c21f42 100644 --- a/EarlyBlue/global/toolbarbutton.css +++ b/EarlyBlue/global/toolbarbutton.css @@ -149,6 +149,48 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu padding: 1px !important; } +/* ::::: toolbarbutton badged ::::: */ + +.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) { + -moz-margin-end: 0; +} + +.toolbarbutton-badge[badge=""] { + display: none; +} + +.toolbarbutton-badge { + background-color: #CCD0DD; +} + +.toolbarbutton-badge::after { + /* The |content| property is set in the content stylesheet. */ + font-size: 10px; + font-weight: bold; + padding: 1px 2px 2px; + color: #000000; + background-color: inherit; + border-radius: 2px; + box-shadow: 0 1px 0 #9999CC inset, + 0 -1px 0 #9999CC inset, + 0 1px 0 #9999CC; + 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 {