styles for icon-buttons .num with "0"-amount

This commit is contained in:
Silke Pisulla 2017-01-03 15:18:50 +01:00
commit 9a1f716d9a
3 changed files with 21 additions and 11 deletions

View file

@ -63,22 +63,26 @@
> li { > li {
.btn-usertools-wrapper(); // uniform li .btn-usertools-wrapper(); // uniform li
.btn-usertools-num();
float: left; float: left;
&.do_none {
&:not([class*="plugin__qc"]) {
background-color: @color-site-bg;
}
.num {
background-color: @color-border;
color: @color-nav;
}
}
&.plugin__qc { &.plugin__qc {
display: inline-block; display: inline-block;
overflow: visible; overflow: visible;
} }
&.do_none {
background-color: @color-site-bg;
}
.btn-usertools-num ();
.prefix { .prefix {
.fontello(); .fontello();
.hide-text-show-before(); .hide-text-show-before();

View file

@ -18,6 +18,7 @@
li { li {
.btn-usertools-wrapper(); // uniform li .btn-usertools-wrapper(); // uniform li
.btn-usertools-num();
float: right; float: right;
font-size: .8rem; font-size: .8rem;
@ -38,7 +39,12 @@
margin: 0; margin: 0;
} }
.btn-usertools-num (); &.noopentasks {
.num {
background-color: @color-border;
color: @color-nav;
}
}
&.user { &.user {
border: 1px solid @color-border; border: 1px solid @color-border;

View file

@ -158,9 +158,9 @@
position: absolute; position: absolute;
right: -.4em; right: -.4em;
top: -.4em; top: -.4em;
background-color: @color-border; background-color: @button_color;
border-radius: 2px; border-radius: 2px;
color: @color-nav; color: #fff;
font-size: .6rem; font-size: .6rem;
font-weight: 400; font-weight: 400;
text-align: center; text-align: center;