diff --git a/css/area_nav-breadcrumb.less b/css/area_nav-breadcrumb.less index a47faa1..4fc30ab 100755 --- a/css/area_nav-breadcrumb.less +++ b/css/area_nav-breadcrumb.less @@ -69,19 +69,28 @@ float: left; - .prefix { - .fontello(); - .hide-text-show-before(); - .icon-clipboard(); - + > strong, + > a { + display: block; + width: auto; + min-height: 2em; + border: 1px solid @color-border; + border-radius: @border-radius; color: @color-nav; - font-size: 1.3em; - margin-top: .2rem; + text-align: center; + margin: 0; + } + + .prefix { + .btn-prefix (); + .icon-clipboard(); } /* check !!! */ &.do_none { - &:not([class*="plugin__qc"]) { + position: relative; + + strong { background-color: @color-site-bg; } @@ -99,13 +108,6 @@ } // li a { - display: block; - width: auto; - min-height: 2em; - margin: 0; - border: 1px solid @color-border; - border-radius: @border-radius; - color: @color-nav; transition: @transition color, @transition border-color; &[aria-expanded="false"] + #plugin__qc__wrapper { diff --git a/css/area_nav-usertools.less b/css/area_nav-usertools.less index 92e1c3c..74a38ec 100755 --- a/css/area_nav-usertools.less +++ b/css/area_nav-usertools.less @@ -37,6 +37,10 @@ } &.noopentasks { + strong { + background-color: @color-site-bg; + } + .num { background-color: @color-border; color: @color-nav; @@ -86,13 +90,8 @@ } .prefix { - .fontello(); - .hide-text-show-before(); + .btn-prefix (); .icon-clipboard(); - - color: @color-nav; - font-size: 1.3em; - margin-top: .2rem; } &.opentasks, diff --git a/css/base_mixins.less b/css/base_mixins.less index 6558f8e..aac2b6b 100755 --- a/css/base_mixins.less +++ b/css/base_mixins.less @@ -185,6 +185,15 @@ } } +.btn-prefix () { + .fontello(); + .hide-text-show-before(); + + color: @color-nav; + font-size: 1rem; + margin-top: .2rem; +} + .btn-default-size() { height: 1rem; diff --git a/css/plugins/do_tasks.less b/css/plugins/do_tasks.less index 79a5e17..989fe7b 100755 --- a/css/plugins/do_tasks.less +++ b/css/plugins/do_tasks.less @@ -4,30 +4,6 @@ ul.page-attributes { .plugin__do_pagetasks { - @icon-size: 2em; - - .btn-usertools-num (); - - .prefix { - .fontello(); - .hide-text-show-before(); - .icon-clipboard(); - - color: @color-nav; - display: block; - width: 100%; - box-sizing: border-box; - font-size: 1.3em; - margin: .2rem 0 0; - } - - &.do_none { - position: relative; - height: 1rem; - width: 1rem; - box-sizing: border-box; - border: 1px solid @color-border; - border-radius: @border-radius; - } + &.do_none { } } }