From 9a1f716d9add2efaab5b5074aef928b4f07816d5 Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Tue, 3 Jan 2017 15:18:50 +0100 Subject: [PATCH] styles for icon-buttons .num with "0"-amount --- css/area_nav-breadcrumb.less | 20 ++++++++++++-------- css/area_nav-usertools.less | 8 +++++++- css/base_mixins.less | 4 ++-- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/css/area_nav-breadcrumb.less b/css/area_nav-breadcrumb.less index 68bf701..7b07621 100755 --- a/css/area_nav-breadcrumb.less +++ b/css/area_nav-breadcrumb.less @@ -63,22 +63,26 @@ > li { .btn-usertools-wrapper(); // uniform li + .btn-usertools-num(); float: left; + &.do_none { + &:not([class*="plugin__qc"]) { + background-color: @color-site-bg; + } + + .num { + background-color: @color-border; + color: @color-nav; + } + } + &.plugin__qc { display: inline-block; overflow: visible; } - &.do_none { - background-color: @color-site-bg; - } - - - .btn-usertools-num (); - - .prefix { .fontello(); .hide-text-show-before(); diff --git a/css/area_nav-usertools.less b/css/area_nav-usertools.less index b8a3c5f..558eecd 100755 --- a/css/area_nav-usertools.less +++ b/css/area_nav-usertools.less @@ -18,6 +18,7 @@ li { .btn-usertools-wrapper(); // uniform li + .btn-usertools-num(); float: right; font-size: .8rem; @@ -38,7 +39,12 @@ margin: 0; } - .btn-usertools-num (); + &.noopentasks { + .num { + background-color: @color-border; + color: @color-nav; + } + } &.user { border: 1px solid @color-border; diff --git a/css/base_mixins.less b/css/base_mixins.less index 317d8c9..07077b3 100755 --- a/css/base_mixins.less +++ b/css/base_mixins.less @@ -158,9 +158,9 @@ position: absolute; right: -.4em; top: -.4em; - background-color: @color-border; + background-color: @button_color; border-radius: 2px; - color: @color-nav; + color: #fff; font-size: .6rem; font-weight: 400; text-align: center;