From 3554750745055d770bc152162c46711324e4186f Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Fri, 7 Apr 2017 15:21:27 +0200 Subject: [PATCH] SPR-908: QS - code aufteilung --- css/area_nav-breadcrumb.less | 94 +----------------------------------- css/plugins/do_tasks.less | 27 +++++++++-- css/plugins/qc.less | 79 ++++++++++++++++++++++++++++-- 3 files changed, 100 insertions(+), 100 deletions(-) diff --git a/css/area_nav-breadcrumb.less b/css/area_nav-breadcrumb.less index cf6730f..16ef4ad 100755 --- a/css/area_nav-breadcrumb.less +++ b/css/area_nav-breadcrumb.less @@ -1,5 +1,5 @@ /** - * This file provides the design styles for the direct / menu jump links. + * This file provides the design styles for the breadcrumb * * @author Jana Deutschlaender */ @@ -125,32 +125,6 @@ font-size: 1.2rem; line-height: 1; } - -/* check !!! */ - &.do_none { - position: relative; - border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius - - strong { - overflow: hidden; - background-color: @ini_background; - border-color: @noopentasks-border; - color: @ini_text_webframe; - } - - .num { - margin-top: 1px; - background-color: @noopentasks-border; // fix - color: @noopentasks-color; // fix - } - } -/* end check !!! */ - - &.plugin__qc { - display: inline-block; - overflow: visible; - position: static; - } } // li a { @@ -160,71 +134,5 @@ display: none; } } - - #plugin__qc__wrapper { - position: absolute; - right: 0; - width: auto; - border: 0 none; - background: @ini_background_page_header; - background: -webkit-linear-gradient(top, @ini_background_page_header, @ini_background_content); - background: linear-gradient(top, @ini_background_page_header, @ini_background_content); - box-shadow: @box-shadow-bottom; - z-index: 2000; - - #plugin__qc__out { - h1 { - font-size: @font-size-head3; - } - - h2 { - margin-top: 1.6em; - font-size: @font-size-head5; - } - > h1, - > h2, - > p, - > dl, - > div { - padding-left: 1rem; - margin-left: 0; - } - - > div p { - padding-left: 0; - margin-left: 0; - } - } - - &[aria-hidden="false"] { - margin-top: .5rem; - } - } - - #plugin__qc__icon { - display: none; - } - - #plugin__qc__link { - position: relative; - - .prefix { - .icon-emo-happy(); - - width: 100%; - font-size: @font-size-default; - - &::before { - width: 100%; - margin: 0; - } - } - } } } - - -/* + + + + + ? + + + + + */ -.mode_admin { - -} diff --git a/css/plugins/do_tasks.less b/css/plugins/do_tasks.less index 989fe7b..261f5de 100755 --- a/css/plugins/do_tasks.less +++ b/css/plugins/do_tasks.less @@ -1,9 +1,28 @@ -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -/* all media */ -/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ +/** + * This file provides styles for do-task plugin + */ + + +/* + + + + + global + + + + + */ ul.page-attributes { .plugin__do_pagetasks { - &.do_none { } + &.do_none { + position: relative; + border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius + + strong { + overflow: hidden; + background-color: @ini_background; + border-color: @noopentasks-border; + color: @ini_text_webframe; + } + + .num { + margin-top: 1px; + background-color: @noopentasks-border; // fix + color: @noopentasks-color; // fix + } + } } } diff --git a/css/plugins/qc.less b/css/plugins/qc.less index dff5a32..aaf152a 100644 --- a/css/plugins/qc.less +++ b/css/plugins/qc.less @@ -1,6 +1,79 @@ -#plugin__qc__wrapper{ - font-size: @font-size-default; - p{ +/** + * This file provides styles for qc plugin + */ + + +/* + + + + + global + + + + + */ + +#dokuwiki__site { + .plugin__qc { + display: inline-block; + overflow: visible; + position: static; + } + + #plugin__qc__icon { + display: none; + } + + #plugin__qc__link { + position: relative; + + .prefix { + .icon-emo-happy(); + + width: 100%; + font-size: @font-size-default; + + &::before { + width: 100%; + margin: 0; + } + } + } + + #plugin__qc__wrapper { + position: absolute; + right: 0; + z-index: 2000; + width: auto; + box-shadow: @box-shadow-bottom; + background: @ini_background_page_header; + background: -webkit-linear-gradient(top, @ini_background_page_header, @ini_background_content); + background: linear-gradient(top, @ini_background_page_header, @ini_background_content); + border: 0 none; font-size: @font-size-default; + + p { + font-size: @font-size-default; + } + + #plugin__qc__out { + h1 { + font-size: @font-size-head3; + } + + h2 { + margin-top: 1.6em; + font-size: @font-size-head5; + } + > h1, + > h2, + > p, + > dl, + > div { + padding-left: 1rem; + margin-left: 0; + } + + > div p { + padding-left: 0; + margin-left: 0; + } + } + + &[aria-hidden="false"] { + margin-top: .5rem; + } } }