From 938e7b65184af40a06bca6172394fba39cbb1664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jana=20Deutschl=C3=A4nder?= Date: Tue, 22 Aug 2017 15:54:57 +0200 Subject: [PATCH] print styles detail template und admin templates --- css/plugins/magic-matcher.less | 21 ++++ css/plugins/qc.less | 16 +++ css/print.less | 215 ++++++++++++++++++++++++++++++++- css/template_detail.less | 75 +++++++----- 4 files changed, 290 insertions(+), 37 deletions(-) diff --git a/css/plugins/magic-matcher.less b/css/plugins/magic-matcher.less index eb2fdbd..0652529 100755 --- a/css/plugins/magic-matcher.less +++ b/css/plugins/magic-matcher.less @@ -169,6 +169,27 @@ a.jiralink { } } +.do-admin #dokuwiki__content { + #magicmatcher__repoadmin, + #magicmatcher_adminimport { + .tabs li { + a { + cursor: pointer; + } + &.active { + a { + cursor: default; + } + } + } + + .service_wrapper > a{ + display: inline-block; + margin-top: 20px; + } + } +} + /* + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* max-width: 1023px */ diff --git a/css/plugins/qc.less b/css/plugins/qc.less index 97a7911..3c486f1 100644 --- a/css/plugins/qc.less +++ b/css/plugins/qc.less @@ -109,3 +109,19 @@ padding: .1rem; } } + + +/* + + + + + admin settings + + + + + */ +.do-admin #dokuwiki__content { + #plugin__qc_admin { + table .centeralign { + .qc_icon svg + span { + min-width: 2em; + padding-left: .2em; + text-align: left; + display: inline-block; + + } + } + } +} diff --git a/css/print.less b/css/print.less index 7e88636..2b02270 100755 --- a/css/print.less +++ b/css/print.less @@ -38,6 +38,7 @@ a:visited { .content .row > .col-xs-12 #dokuwiki__content::before, .page-wrapper > .tools, .breadcrumbs, +.wikilink1[href*="id=pagefooter"], .structaggregation > a.export, #dokuwiki__content .structaggregation > a, #dokuwiki__content a.folder { @@ -79,6 +80,17 @@ a:visited { display: inline-block; margin-bottom: 20pt; } + form.install { + display: none; + } + ul.tabs { + li.active { + a { + font-weight: bold; + text-decoration: none; + } + } + } } #extension__list { @@ -108,13 +120,186 @@ a:visited { border: 1pt solid @border-color-print; margin: 0 10pt 5pt 0; } + + h2, h2 * { + font-size: 100%; + } + } + } +} + +#user__manager { + table input, + .import_users input{ + display: none !important; + } +} +#acl__detail #acl__user { + display: none; +} + +.do-admin #dokuwiki__content { + + #confmanager { + .popup, + .confmanager_singleLine#local, + button, + .button.saveButton { + display: none !important; + } + + .confmanager_singleLine { + div.defaultValue { + word-break: break-all; + } + } + + } + + > form > fieldset { + + border-color: @border-color-print; + + > textarea.edit[readonly] { + border: 0 none; + min-height: 2250pt; + overflow:visible; + display: block; + page-break-inside: auto; + + + br + label[for="autosubmit"] { + margin-top: 20pt; + + input { + margin-right: 5pt; + } + } + } + } + + #magicmatcher__repoadmin { + + button { + display: none; + } + .service-wrapper { + padding-top: 1rem; + } + } + + .plugin_move_form { + legend { + display: none; + } + } + + #plugin__qc_admin { + table .centeralign { + .qc_icon svg + span { + vertical-align: top; + } + } + } + + .doku_form.struct_newschema { + button { + display: none; + } + } + form.plugin_tagging { + display: none; + } + + #plugin__upgrade_meter { + ol li .stage { + padding-left: .4em; + } + } + + #plugin__upgrade { + code { + word-break: break-all; + font-size: .82rem; } } } + /* + + + Configuration Settings + + + */ -#dokuwiki__content #config__manager td.label { +#dokuwiki__content #config__manager { + fieldset { + padding: 0; + + legend { + padding: 0 .5em; + text-align: center; + background-color: #fff; + } + > .table > table { + border: 0 solid @border-color-print; + width: 100%; + tr { + border-top: 1pt solid @border-color-print; + + &:first-child { + border-top-width: 0; + } + td { + border-width: 0; + } + } + } + } + td.value, + td.label { + font-size: 100%; + padding: .6em 0 .8em 1em; + } + td.label { + width: 35%; + span.outkey, span.outkey * { + font-size: 100%; + } + label { + display: block; + } + span.outkey, label { + padding-left: .2rem; + } + } + + td.value { + input[type="text"] { + border: 0 none; + } + + select { + max-width: 80%; + box-sizing: border-box; + border: 1px solid transparent; + background: transparent; + } + .selectiondefault { + position: relative; + + input.checkbox { + position: absolute; + top:0; + left: 0; + } + + label, input[type="text"] { + position: relative; + top:0; + left: 0; + margin-left: 20pt; + margin-top: .5em; + padding-left: 0; + background-color: transparent; + } + } + } } @@ -166,15 +351,22 @@ a:visited { /* + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + Template Style Settings + + + + + */ + + .page-footer { border-top: 1pt solid @border-color-print; margin-top: 13pt; } -#plugin__styling { +#dokuwiki__content #plugin__styling { + button { display: none !important; } + + .styling input[type="text"] { + border: 0 none; + } } @@ -195,6 +387,21 @@ a:visited { } +#dokuwiki__detail { + div.img_detail dl { + dt { + display: inline-block; + width: 20%; + background-color: transparent; + } + dd { + display: inline-block; + width: 75%; + } + } +} + + /* + + + tabbox + + + */ div#dwpl-ti-container .dwpl-ti, .dwpl-ti-permalink-header, @@ -208,7 +415,7 @@ div#dwpl-ti-container div.dwpl-ti-content-box { } -/* + + + medie nmanager + + + */ +/* + + + media nmanager + + + */ #mediamanager__page { .namespaces, .filelist .tabs, @@ -321,4 +528,4 @@ form { select { border: 1pt solid @border-dark-print; } -} \ No newline at end of file +} diff --git a/css/template_detail.less b/css/template_detail.less index 93f9c61..410e937 100644 --- a/css/template_detail.less +++ b/css/template_detail.less @@ -9,7 +9,8 @@ #dokuwiki__detail { /* + + + + + linked image + + + + + */ - .img-link { + @media screen { + .img-link { text-align: center; a { @@ -54,43 +55,49 @@ } } } + } /* + + + + + meta data + + + + + */ div.img_detail { - /* vertical minus margin of .img-detail corresponds to the padding of .page */ - background-color: @ini_background_page_header; - border: solid @ini_border_light; - border-width: 1px 0; - margin: @margin-default -(@margin-default); + @media screen { + /* vertical minus margin of .img-detail corresponds to the padding of .page */ + background-color: @ini_background_page_header; + border: solid @ini_border_light; + border-width: 1px 0; + margin: @margin-default -(@margin-default); - h1, - h2, - h3, - h4, - h5, - h6, - p { - padding-left: @margin-default; - padding-right: @margin-default; - } + h1, + h2, + h3, + h4, + h5, + h6, + p { + padding-left: @margin-default; + padding-right: @margin-default; + } - > h4 { - padding-top: (@margin-default / 2); + > h4 { + padding-top: (@margin-default / 2); + } } dl { - .display-flex(); - .flex-wrap(); - width: 100%; + @media screen { + .display-flex(); + .flex-wrap(); - dt, - dd { - box-sizing: border-box; - margin: .2em 0; - padding: (@small-spacing * 2) @small-spacing; + width: 100%; + + dt, + dd { + box-sizing: border-box; + margin: .2em 0; + padding: (@small-spacing * 2) @small-spacing; + } } dt { @@ -105,16 +112,18 @@ width: 40%; } } + @media screen { - dd { - padding-left: (@small-spacing * 2); + dd { + padding-left: (@small-spacing * 2); - @media @screen_min-xs { - width: 66.6%; - } + @media @screen_min-xs { + width: 66.6%; + } - @media @screen_max-xs { - width: 59.9%; + @media @screen_max-xs { + width: 59.9%; + } } } }