diff options
Diffstat (limited to 'platform/www/lib/tpl/acervus/css')
-rw-r--r-- | platform/www/lib/tpl/acervus/css/basic.less | 506 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/content.less | 361 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/design.less | 301 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot | bin | 0 -> 13538 bytes | |||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf | bin | 0 -> 13268 bytes | |||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff | bin | 0 -> 7228 bytes | |||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/hacks.css | 187 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/mobile.less | 136 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/print.less | 94 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/responsive.css | 13 | ||||
-rw-r--r-- | platform/www/lib/tpl/acervus/css/structure.less | 64 |
11 files changed, 1662 insertions, 0 deletions
diff --git a/platform/www/lib/tpl/acervus/css/basic.less b/platform/www/lib/tpl/acervus/css/basic.less new file mode 100644 index 0000000..9bce960 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/basic.less @@ -0,0 +1,506 @@ + +// @font-face { +// font-family: 'Norwester'; +// src: url('css/fonts/Norwester-Regular.eot'); +// src: url('css/fonts/Norwester-Regular.eot?#iefix') format('embedded-opentype'), +// url('css/fonts/Norwester-Regular.woff') format('woff'), +// url('css/fonts/Norwester-Regular.ttf') format('truetype'); +// font-weight: normal; +// font-style: normal; +// } + + +/** + * This file provides the most basic styles. + */ + +html, +body { + margin: 0; + padding: 0; + background-color: @ini_background; + color: @ini_text; +} + +body { + font: normal @ini_font_size/@ini_line_height 'EB Garamond','Segoe UI', Roboto, Helvetica, Arial, sans-serif; + /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */ + -webkit-text-size-adjust: 100%; + -moz-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + text-size-adjust: 100%; +} + +/* headers */ +h1, +h2, +h3, +h4, +h5, +h6 { + font: normal @ini_font_size/@ini_line_height 'EB Garamond','Segoe UI', Roboto, Helvetica, Arial, sans-serif; + padding: 0; + clear: left; + font-weight: 600; +} + + +[dir=rtl] h1, +[dir=rtl] h2, +[dir=rtl] h3, +[dir=rtl] h4, +[dir=rtl] h5, +[dir=rtl] h6 { + clear: right; +} + +h1 { + font-size: 2em; + margin: 0 0 0.444em; +} +h2 { + font-size: 1.666em; + margin: 0 0 0.5em; + border-bottom: 1px solid @ini_border; +} +h3 { + font-size: 1.4em; + margin: 0 0 0.5em; + border-bottom: 1px solid @ini_border; +} +h4 { + font-size: 1.2em; + margin: 0 0 0.4em; +} +h5 { + font-size: 1em; + margin: 0 0 0.4em; +} +h6 { + font-size: 0.8em; + margin: 0 0 0.4em; +} + +/* basic bargins and paddings */ +p, +ul, +ol, +dl, +pre, +table, +hr, +blockquote, +figure, +details, +fieldset, +address { + margin: 0 0 1.4em 0; /* bottom margin = line-height */ + padding: 0; +} + +blockquote blockquote { + margin: 0; + padding: 0 0.5em; +} + +div, +video, +audio { + margin: 0; + padding: 0; +} + +/* lists */ +li, +dd { + padding: 0; + margin: 0 0 0 1.5em; +} +[dir=rtl] li, +[dir=rtl] dd { + margin: 0 1.5em 0 0; +} +dt { + font-weight: bold; + margin: 0; + padding: 0; +} + +li ul, +li ol, +li dl, +dl ul, +dl ol, +dl dl { + margin-bottom: 0; + padding: 0; +} +li li { + font-size: 100%; +} + +ul { list-style: square outside; } +ol { list-style: decimal outside; } +ol ol { list-style-type: lower-alpha; } +ol ol ol { list-style-type: upper-roman; } +ol ol ol ol { list-style-type: upper-alpha; } +ol ol ol ol ol { list-style-type: lower-roman; } + +/*____________ tables ____________*/ + +table { + border-collapse: collapse; + empty-cells: show; + border-spacing: 0; + border: 1px solid @ini_border; +} + +caption { + caption-side: top; + text-align: left; +} +[dir=rtl] caption { + text-align: right; +} + +th, +td { + padding: .3em .5em; + margin: 0; + vertical-align: top; + border: 1px solid @ini_border; +} +th { + font-weight: bold; + background-color: @ini_background_alt; + text-align: left; +} +[dir=rtl] th { + text-align: right; +} + + +/*____________ links ____________*/ + +a { + outline: none; + word-wrap: break-word; +} +a:link, +a:visited { + text-decoration: none; + color: @ini_link; +} +a:link:hover, +a:visited:hover, +a:link:focus, +a:visited:focus, +a:link:active, +a:visited:active { + text-decoration: underline; +} + + +/* misc */ +img { + border-width: 0; + vertical-align: bottom; + height: auto; +} + +img, +object, +iframe, +video, +audio, +select { + max-width: 100%; +} + +hr { + border-top: solid @ini_border; + border-bottom: solid @ini_background; + border-width: 1px 0; + height: 0; + text-align: center; + clear: both; +} + +del { + color: @ini_text_alt; +} + +pre { + overflow: auto; + word-wrap: normal; + direction: ltr; + unicode-bidi: bidi-override; + text-align: left; +} + + +acronym, +abbr { + cursor: help; + border-bottom: 1px dotted; + font-style: normal; + text-decoration: none; +} +em acronym, +em abbr { + font-style: italic; +} + +mark { + background-color: @ini_highlight; + color: inherit; +} + +pre, +code, +samp, +kbd { + font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; + /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */ + font-size: 1em; + padding: 0 4px; + border: 1px solid @ini_border; + direction: ltr; + text-align: left; + background-color: @ini_background_alt; + color: @ini_text +} +pre { + overflow: auto; + word-wrap: normal; + border: 1px solid @ini_border; + padding: .7em 1em; +} + +blockquote { + padding: 0.5em; + border: solid @ini_border; + background-color: @ini_background_alt; + border-width: 0 0 0 .25em; +} +[dir=rtl] blockquote { + border-width: 0 .25em 0 0; +} +q:before, +q:after { + content: ''; +} + +sub, +sup { + font-size: .8em; + line-height: 1; +} +sub { + vertical-align: sub; +} +sup { + vertical-align: super; +} + +small { + font-size: .8em; +} + +/*____________ forms ____________*/ + +/* for all of the form styles, style.ini colours are not used on purpose (except for fieldset border) */ + +form { + display: inline; + margin: 0; + padding: 0; +} +fieldset { + padding: .7em 1em 0; + padding: .7rem 1rem; /* for those browsers understanding :last-child */ + border: 1px solid @ini_text_alt; +} +fieldset > :last-child { + margin-bottom: 0; +} +legend { + margin: 0; + padding: 0 .1em; +} +label { + vertical-align: middle; + cursor: pointer; +} + +input, +textarea, +button, +select, +optgroup, +option, +keygen, +output, +meter, +progress { + font: inherit; + font-weight: normal; + color: #333; + background-color: #fff; + line-height: normal; + margin: 0; + vertical-align: middle; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +select { + max-width: 100%; +} +optgroup { + font-style: italic; + font-weight: bold; +} +option { + font-style: normal; + font-weight: normal; +} + +input, +textarea, +select, +keygen { + border: 1px solid #ccc; + box-shadow: inset 0 0 1px #eee; + border-radius: 2px; +} +input:active, +input:focus, +textarea:active, +textarea:focus, +select:active, +select:focus, +keygen:active, +keygen:focus { + border-color: #999; +} +input[type=radio], +input[type=checkbox], +input[type=image] { + padding: 0; + border-style: none; + box-shadow: none; +} + +/* all types of buttons */ +input[type=submit], +input[type=button], +input[type=reset], +input.button, +a.button, +button, +.qq-upload-button { + color: #333; + background-color: #eee; + background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc4MjQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjQiIG9mZnNldD0iMC4zIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0VFRUVFRSIgb2Zmc2V0PSIwLjk5Ii8+PHN0b3Agc3RvcC1jb2xvcj0iI0NDQ0NDQyIgb2Zmc2V0PSIuOTkiLz4KPC9saW5lYXJHcmFkaWVudD4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNnODI0KSIgLz4KPC9zdmc+); + background-image: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 30%, #eeeeee 99%, #cccccc 99%); + border: 1px solid #ccc; + border-radius: 2px; + padding: .1em .5em; + cursor: pointer; +} + +input[type=submit]:hover, +input[type=submit]:active, +input[type=submit]:focus, +input[type=button]:hover, +input[type=button]:active, +input[type=button]:hover, +input[type=reset]:hover, +input[type=reset]:active, +input[type=reset]:hover, +input.button:hover, +input.button:active, +input.button:focus, +a.button:hover, +a.button:active, +a.button:focus, +button:hover, +button:active, +button:focus, +.qq-upload-button:hover { + border-color: #999; + background-color: #ddd; + background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2NzAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiNGNEY0RjQiIG9mZnNldD0iMC4zIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0RERERERCIgb2Zmc2V0PSIwLjk5Ii8+PHN0b3Agc3RvcC1jb2xvcj0iI0JCQkJCQiIgb2Zmc2V0PSIuOTkiLz4KPC9saW5lYXJHcmFkaWVudD4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNnNjcwKSIgLz4KPC9zdmc+); + background-image: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 30%, #dddddd 99%, #bbbbbb 99%); +} + +input::-moz-focus-inner, +button::-moz-focus-inner { + border: 0; + padding: 0; +} + +input[disabled], +button[disabled], +select[disabled], +textarea[disabled], +option[disabled], +input[readonly], +button[readonly], +select[readonly], +textarea[readonly] { + cursor: auto; + opacity: .5; + background-color: #eee; +} + + +.img-reporte { + width: 30%; + float: right; + margin: 0 0 10px 10px; + padding: 5px; + border: #ccc 1px solid; + /*background: #E2E1E0;*/ +} + +@media (max-width: 600px) { +.img-reporte { + width: 100%; + float: right; + margin: 0 0 10px 10px; + padding: 5px; + border: #ccc 1px solid; + /*background: #E2E1E0;*/ +} + + +} + + +/* CAMBIOS VARIOS */ + +.dokuwiki textarea.edit, textarea.widearea-fullscreen { + font-family: monospace !important; + font-size: 1em !important; +} + +#dokuwiki__content { + text-align: justify; +} + +.footnotes { + font-size: 80%; +} + +.fn { + border-bottom: 1px #e9e9e9 solid; + padding: 5px; + opacity: 0.8; +} + +li.level1, li.level2, li.level3, li.level4, li.level5 { + text-align: left; +} diff --git a/platform/www/lib/tpl/acervus/css/content.less b/platform/www/lib/tpl/acervus/css/content.less new file mode 100644 index 0000000..4d72c5d --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/content.less @@ -0,0 +1,361 @@ +/* content */ +#dokuwiki__content { + /* existing wikipage */ + a.wikilink1 { + color: @ini_existing; + } + /* not existing wikipage */ + a.wikilink2 { + border-bottom: 1px dashed @ini_missing; + color: @ini_missing !important; + } + /*a.wikilink2:link, + a.wikilink2:visited { + border-bottom: none; + }*/ + a.wikilink2:hover, + a.wikilink2:active, + a.wikilink2:focus { + /* border-bottom-width: 0; */ + text-decoration: none; + color: #31363B !important; + border-bottom: 1px dashed #31363B; + + } + + /*____________ Numbered Headings ____________*/ + + .page.numbered_heading { + /* TOC */ + + // counter-reset: toc-level0; + // #dw__toc ul { + // + // } + // + // + // #dw__toc li.level1 > div > a:before { + // color: @ini_numbered_heading; + // content: counter(toc-level0) ". "; + // counter-increment: toc-level0; + // } + // + // #dw__toc li.level1 { + // counter-reset: toc-level1; + // } + // + // #dw__toc li.level2 > div > a:before { + // color: @ini_numbered_heading; + // content: counter(toc-level0) "." counter(toc-level1) ". "; + // counter-increment: toc-level1; + // } + // #dw__toc li.level2 { + // counter-reset: toc-level2; + // } + // #dw__toc li.level3 > div > a:before { + // color: @ini_numbered_heading; + // content: counter(toc-level0) "." counter(toc-level1) "." counter(toc-level2) ". "; + // counter-increment: toc-level2; + // } + // #dw__toc li.level3 { + // counter-reset: toc-level3; + // } + // #dw__toc li.level4 > div > a:before { + // color: @ini_numbered_heading; + // content: counter(toc-level0) "." counter(toc-level1) "." counter(toc-level2) "." counter(toc-level3) ". "; + // counter-increment: toc-level3; + // } + + /* Contents */ + counter-reset: level1; + h2:before { + color: @ini_numbered_heading; + content: counter(level1) ". "; + counter-increment: level1; + } + h2 { + counter-reset: level2; + } + h3:before { + color: @ini_numbered_heading; + content: counter(level1) "." counter(level2) ". "; + counter-increment: level2; + } + h3 { + counter-reset: level3; + } + h4:before { + color: @ini_numbered_heading; + content: counter(level1) "." counter(level2) "." counter(level3) ". "; + counter-increment: level3; + } + h2:before, + h3:before, + h4:before { + font-size: 90%; + } + + #dw__toc h3:before { + content: ''; + } + } + + div.license { + margin: 0 -1em; + padding: .4em 1em; + background-color: @ini_background_alt; + } + .medialeft { + margin-right: .6em; + } + .mediaright { + margin-left: .6em; + } +} + +/* table of contents */ +#dw__toc { + float: inherit; + display: inline-block; + width: auto; + margin: 0 0 1.4em 0; + border: 1px solid @ini_border; + background-color: @ini_background; + + span { + float: right; + } + h3, + div { + padding: .4em .8em; + } + h3.toggle { + margin: 0; + font-size: 1em; + } + h3.closed { + border: none; + } + a { + color: @ini_text; + } +} + +/* any link to current page */ +.dokuwiki span.curid a { + font-weight: bold; +} + +/* undo "clever" styling from fileuploader.js */ +.qq-upload-button { + cursor: inherit !important; + direction: inherit !important; +} +.qq-upload-button input { + font-family: inherit !important; + font-size: 1em !important; + margin: inherit !important; + opacity: 1 !important; + padding: inherit !important; + position: static !important; +} + +.JSpopup { + padding: 0.2em 0.4em; + border: 1px solid @ini_border; +} + +/* editor */ +.dokuwiki .editBar { + .editButtons, + .summary { + display: block !important; + margin-bottom: .6em; + } +} + + +/* fields */ +.dokuwiki fieldset { + width: auto; + text-align:left; + margin: 0 0 1em 0; + padding: 1em; + border: none; + background: @ini_background_alt; + + legend { + display: block; + padding: 0; + font-weight: bold; + font-size: 1.4em; + } + + span { + display: inline-block; + margin: 0 0 .2em 0; + vertical-align: top; + } + + label.block { + text-align: left; + + span { + display: block; + } + + input.edit { + width: 100%; + max-width: 400px; + } + } +} + +/* login */ +#dw__login, +#dw__register { + label.simple { + margin-left: 0; + } +} + +/* admin */ +/* _admin.less in default template */ + +/* main task grouped in two columns */ +.dokuwiki div.ui-admin { + ul.admin_tasks, + ul.admin_plugins { + float: left; + width: 40%; + list-style-type: none; + + /* general menu item styling */ + li { + margin: 0 0 0.5em 0; + white-space: nowrap; + + a span { + display: inline-block; + + &.icon { + vertical-align: top; + margin-right: 0.5em; + + svg { + width: 1.5em; + height: 1.5em; + } + } + + &.prompt { + white-space: normal; + } + } + } + } + [dir=rtl] & ul.admin_tasks, + [dir=rtl] & ul.admin_plugins { + float: right; + } +} + + +/* DokuWiki version */ +#admin__version { + clear: left; + margin-bottom: 2em; + color: @ini_text_alt; +} +[dir=rtl] & #admin__version { + clear: right; + float: left; +} + + +/* config */ +#config__manager { + fieldset { + margin: 0 0 2em 0; + padding: 0; + border: none; + background: none; + + legend { + text-align: left; + font-size: 1.666em; // same as h3 + } + div.table { + width: 100%; + padding: 0; + background: @ini_background_alt; + } + table { + width: 100%; + } + td.label { + padding: .4em .4em 1em; + span.outkey { + margin-top: -1.2em; + } + } + td { + div.input { + width: auto; + padding: 2px 4px; + } + input.edit { + padding: 4px 6px; + } + input.edit, + select.edit, + textarea.edit { + width: 100%; + border: none; + } + } + div.selection { + width: 40%; + padding: 2px 4px; + + label { + width: 90%; + } + } + div.other { + background: none; + } + } +} + +/* media manager */ +#mediamanager__page { + min-width: 0 !important; + + .namespaces { + min-width: 0; + } + .filelist { + min-width: 0; + .rows li { + dt a { + vertical-align: top; + } + dt a img { + max-width: 100%; + } + .name, + .size, + .filesize, + .date { + white-space: normal; + word-wrap: break-word; + } + } + } + .file { + min-width: 0; + } +} + +pre {white-space: pre-wrap;} diff --git a/platform/www/lib/tpl/acervus/css/design.less b/platform/www/lib/tpl/acervus/css/design.less new file mode 100644 index 0000000..182721a --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/design.less @@ -0,0 +1,301 @@ +/* general */ +.btn_icon { + text-indent: -9999px; +} + +.sidebar, +.breadcrumbs { + a, + a.wikilink1 { + color: @ini_text; + } + a:hover, + a.wikilink1:hover { + color: @ini_existing; + text-decoration: none; + } + a.wikilink2, + a.wikilink2:link { + color: @ini_missing; + border: none; + } +} + +/* header */ +#dokuwiki__header { + background: @ini_background; + border-bottom: 1px solid @ini_border; + + h1 { + margin: 2px 0 0 0; + overflow: hidden; + text-overflow: ellipsis; + font: 1.6em 'Source Sans Pro', 'Segoe UI', 'Times new roman', Times, serif; + white-space: nowrap; + font-weight: 600; + } + a, + a:link, + a:hover, + a:active { + color: @ini_text; + text-decoration: none; + } + button { + width: 30px; + height: 30px; + margin: 5px 0; + border: 0 none; + outline: none; + background: transparent url('images/ipari-simpleline.png') no-repeat; + background-size: 30px; + text-indent: -9999px; + } + div.left { + button:first-child { + margin-left: 16px; + } + button { + margin-left: 8px; + } + } + div.right { + button:last-child { + margin-right: 16px; + } + button { + margin-right: 4px; + } + } + div.search { + display: none; + padding: 6px 10px; + + button { + display: none; + } + input[type=text] { + padding: 4px 6px; + } + } + .btn_left { + background-position: 0 0; + } + .btn_right { + background-position: 0 -90px; + } + .btn_search { + background-position: 0 -45px; + } +} + +/* nav */ +#dokuwiki__aside, +#dokuwiki__tools { + display: none; + background-color: @ini_background; +} +#sidebar_bg { + display: none; + background-color: rgba(0, 0, 0, .75); +} + +#dokuwiki__aside { + > h1, + > h2, + > div.level1, + > div.level2 { + padding-left: 8px; + padding-right: 8px; + margin: 0 0 8px; + } + p, + pre, + table, + hr, + blockquote, + figure, + details, + fieldset, + address { + margin: 0 0 .4em 0; + } + p + p { + margin-top: 1em; + } +} + +.sidebar { + overflow-x: hidden; + overflow-y: auto; + h3 { + font-size: 16px; + margin-bottom: 0; + padding: 9px 12px; + border-bottom: 1px solid @ini_border; + } + ul { + list-style-type: none; + margin: 0 0 .4em 0; + } + li { + margin: 0; + } + li li { + margin-left: 1em; + } + li a { + display: block; + padding: 8px 10px; + } + li a.urlextern { + padding: 10px 12px 10px 30px; + background-position: 10px 10px; + } + li a:hover { + background-color: @ini_background_alt !important; + } + + div.user { + padding: 6px 12px; + } +} + +#dokuwiki__tools { + li a { + height: 30px; + overflow: hidden; + white-space: nowrap; + } + li a:before { + content: url('images/ipari-simpleline.png'); + display: inline-block; + font-size: 0; + line-height: 0; + } + li a span { + display: inline-block; + vertical-align: top; + padding: .2em .6em; + } + li a, + li a:hover, + li a:active, + li a:visited { + background-image: none !important; + } + a.action.admin:before { + margin-top: -720px; + } + a.action.profile:before { + margin-top: -540px; + } + a.action.login:before { + margin-top: -630px; + } + a.action.logout:before { + margin-top: -675px; + } + a.action.register:before { + margin-top: -585px; + } + a.action.create:before { + margin-top: -135px; + } + a.action.show:before { + margin-top: -225px; + } + a.action.source:before { + margin-top: -180px; + } + a.action.edit:before { + margin-top: -90px; + } + a.action.revs:before { + margin-top: -495px; + } + a.action.backlink:before { + margin-top: -450px; + } + a.action.top:before { + margin-top: -405px; + } + a.action.recent:before { + margin-top: -270px; + } + a.action.media:before { + margin-top: -315px; + } + a.action.index:before { + margin-top: -360px; + } + // icons for plugins + a.action.plugin_export_pdf:before { + margin-top: -765px; + } +} + + +#to_top { + input.button { + width: 48px; + height: 48px; + border: 0; + background: transparent url('images/top.png') no-repeat; + opacity: 0.2; + text-indent: -9999px; + } +} + +/* content */ +#dokuwiki__content { + margin-top: 40px; + + div.breadcrumbs { + margin-bottom: 1em; + padding: 0.4em 1em; + opacity: 0.4; + } + div.breadcrumbs:hover { + opacity: 1.0; + } + div.page { + padding: 1em; + } +} + +/* footer */ +#dokuwiki__footer { + border-top: 1px solid @ini_border; + padding: 0.5em 1em; + + div.doc { + margin-bottom: 1em; + } + div.license { + margin-bottom: 1em; + font-size: 85%; + + > a { + float: left; + margin-right: .5em; + padding-top: .3em; + } + a.urlextern { + float: left; + display: block; + background-position: 0 0.2em; + } + :after { + content: ''; + display: block; + clear: both; + } + } + div.footer { + margin: 0 -1em; + padding: 0.5em 1em; + } +} + +/* icons */ diff --git a/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot Binary files differnew file mode 100644 index 0000000..95bb006 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.eot diff --git a/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf Binary files differnew file mode 100644 index 0000000..091f756 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.ttf diff --git a/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff Binary files differnew file mode 100644 index 0000000..4a52852 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/fonts/Norwester-Regular.woff diff --git a/platform/www/lib/tpl/acervus/css/hacks.css b/platform/www/lib/tpl/acervus/css/hacks.css new file mode 100644 index 0000000..3349974 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/hacks.css @@ -0,0 +1,187 @@ +#dokuwiki__site { + background: #f8f8f8cc; +} + +#dokuwiki__header { + background: #fff; + border-bottom: 1px solid #ddd; + box-shadow: 1px 1px 24px #dadada94; +} + +#dokuwiki__header strong { + color: darkred; +} + +#dokuwiki__header em { + font-weight: 400; +} + +#dokuwiki__content div.breadcrumbs { + margin-bottom: 1em; + padding: 2em 1em 0em; + opacity: 0.4; +} + +#dokuwiki__content div.download { + /* margin-bottom: 1em; */ + padding: 0.6em 1em 0em; + opacity: 0.6; +} + + +#dokuwiki__content div.page a:link, a:visited { + color: #A00; +} + +h1#sitetitle:hover { + text-shadow: 0px 0px 5px #ccc; +} + +#dokuwiki__footer div.doc { + margin-bottom: 1em; + text-align: center; + font-size: 80%; + color: #5a5a5a; +} + +.dokuwiki form.bureaucracy__plugin fieldset { + width: 100%; +} + +.dokuwiki form.bureaucracy__plugin label input[type=checkbox] { + width: 5%; + margin-right: 45%; + vertical-align: -webkit-baseline-middle; +} + +.dokuwiki form.bureaucracy__plugin label>span { + vertical-align: middle; + padding-right: 5px; +} + +.dokuwiki form.bureaucracy__plugin { + margin: 0; +} + +.dokuwiki div.bureaucracy__plugin { + width: 100%; + font-size: 100%; + padding: 0em; + border-radius: 3px; + animation: highlight 10000ms ease-in; +} + +.dokuwiki div.bureaucracy__plugin:target { + +} +@keyframes highlight { + 0% { + background-color: white; + } + 50% { + background-color: yellow; + } + 100% { + background-color: white; + } +} + + +input[type=text], textarea { + -webkit-transition: all 0.30s ease-in-out; + -moz-transition: all 0.30s ease-in-out; + -ms-transition: all 0.30s ease-in-out; + -o-transition: all 0.30s ease-in-out; + outline: none; + padding: 3px 0px 3px 3px; + margin: 5px 1px 3px 0px; + border: 1px solid #DDDDDD; +} + +input[type=text]:focus, textarea:focus { + box-shadow: 0 0 5px rgba(81, 203, 238, 1); + padding: 3px 0px 3px 3px; + margin: 5px 1px 3px 0px; + border: 1px solid rgba(81, 203, 238, 1); +} + +.anchorjs-link{ +color: #c5c5c5 !important; + transition: all .25s linear; +} +p a.anchorjs-link:hover { + margin-left: -1.125em !important; +color: red !important; +text-decoration:none !important; +} + +h2 a.anchorjs-link, h3 a.anchorjs-link, h4 a.anchorjs-link, h5 a.anchorjs-link, li a.anchorjs-link { + margin-left: -1.8em !important; +} + +h2 a.anchorjs-link:hover, h3 a.anchorjs-link:hover, h4 a.anchorjs-link:hover, h5 a.anchorjs-link:hover { + margin-left: -1.9em !important; +color: red !important; +text-decoration:none !important; +} + +.dw__toc .anchorjs-link { + display: none; +} + +#dokuwiki__content { + counter-reset: paragraph; +} + +.page p a.anchorjs-link:before { + position: absolute; + right: 22px; + color: #c5c5c5; + content: counter(paragraph); + counter-increment: paragraph; + text-align: right; + font-size: 12pt; + top: 1px; +} + + + +.numbered_heading .page {counter-reset: level1;} +.numbered_heading #dw__toc:before, +.numbered_heading #dw__toc:after {counter-reset: level1; content: "";} +.numbered_heading #dw__toc h3:before{content: ""} + +.numbered_heading ul.toc li.level1 {counter-reset: level2;} +.numbered_heading ul.toc li.level2 {counter-reset: level3;} +.numbered_heading ul.toc li.level3 {counter-reset: level4;} +.numbered_heading ul.toc li.level4 {counter-reset: level5;} +.numbered_heading ul.toc li.level5 {} + +.numbered_heading ul.toc li.level1 a:before { + content: counter(level1) ". "; + counter-increment: level1; +} + +.numbered_heading ul.toc li.level1:first-child a:before { + /* content: none; */ +} + +.numbered_heading ul.toc li.level2 a:before { + content: counter(level1) "." counter(level2) ". "; + counter-increment: level2; +} + +.numbered_heading ul.toc li.level3 a:before { + content: counter(level1) "." counter(level2) "." counter(level3) ". "; + counter-increment: level3; +} + +.numbered_heading ul.toc li.level4 a:before { + content: counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) ". "; + counter-increment: level4; +} + +.numbered_heading ul.toc li.level5 a:before { + content: counter(level1) "." counter(level2) "." counter(level3) "." counter(level4) "." counter(level5) ". "; + counter-increment: level5; +} diff --git a/platform/www/lib/tpl/acervus/css/mobile.less b/platform/www/lib/tpl/acervus/css/mobile.less new file mode 100644 index 0000000..79f5888 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/mobile.less @@ -0,0 +1,136 @@ +@media only screen and (max-width: 760px) { + +/* admin */ +.dokuwiki div.ui-admin { + ul.admin_tasks, + ul.admin_plugins { + float: none; + width: 90%; + margin: 0; + } +} +// before "Frusterick Manners" +.dokuwiki ul.admin_tasks { + float: none; + width: auto; + margin: 0; +} + +/* config */ +#config__manager { + fieldset { + legend { + padding: 0; + } + td.label, + td.value { + display: block; + width: auto !important; + } + td.label { + padding: .2em .4em; + border: none; + } + td.value { + padding: .4em .4em 1.2em; + border: none; + background: @ini_background; + } + div.selection { + float: none; + width: auto; + margin-right: 0; + } + } +} + +/* media manager */ +#mediamanager__page { + .panel { + float: none; + } + .namespaces { + width: auto; + } + .filelist { + width: auto; + min-width: 0; + ul { + margin: 0; + } + ul.rows li { + display: inline-block; + float: left; + width: 50%; + max-height: none !important; + + dt, + dd { + float: none !important; + width: auto !important; + } + dt { + height: 60px; + } + dt a { + text-align: left; + vertical-align: top; + width: auto; + height: 60px; + padding: 0; + } + dt a img { + max-width: none; + max-height: 60px; + } + } + ul.rows li:nth-child(2n+1) { + background: none; + } + ul.rows li:hover { + background: @ini_background_alt; + } + } + .panelHeader { + margin-right: 0; + h3 { + float: none; + } + form.options { + float: none; + } + ul li.listType { + margin-left: -2px; + } + } + .panelContent { + margin: 0 0 20px 0; + } + .file { + width: auto; + + } + .ui-resizable-e { + display: none !important; + } +} + +} /* @media for 760px */ + + +@media only screen and (max-width: 480px) { + /* TOC */ + #dw__toc { + display: block; + } + + /* WRAP plugin */ + .dokuwiki .wrap_left, + .dokuwiki .wrap_right, + .dokuwiki .wrap_center, + .dokuwiki .wrap_column { + float: inherit; + width: 100% !important; + margin: 0; + } +} /* @media for 480px */ diff --git a/platform/www/lib/tpl/acervus/css/print.less b/platform/www/lib/tpl/acervus/css/print.less new file mode 100644 index 0000000..6fe15d4 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/print.less @@ -0,0 +1,94 @@ +/** + * This file provides the styles for printing. + */ + +/* hide certain sections */ +audio, +video, +.sidebar, +.breadcrumbs, +#dokuwiki__header .left, +#dokuwiki__header .right, +#dokuwiki__header .search, +#dw__toc span, +#dokuwiki__footer .doc, +#to_top { + display: none; +} + +a:link, +a:visited { + text-decoration: none; + border-bottom: 1pt dotted; + color: #333; + background-color: inherit; +} + +#dokuwiki__header, +#dw__toc { + a:link, + a:visited { + border: none; + } +} + +/* code blocks */ +pre { + font-family: monospace; +} +dl.code dt, +dl.file dt { + font-weight: bold; +} + +/* images */ +img { + border-width: 0; + vertical-align: middle; +} +.medialeft { + margin-right: .6em; +} +.mediaright { + margin-left: .6em; +} + +/* tables */ +table { + border-collapse: collapse; +} +th, +td { + text-align: left; + border-bottom: 1px solid #999; +} + + +/*____________ a bit of layout ____________*/ + +#dokuwiki__header { + border-bottom: 1pt solid #999; + + h1 { + font-size: 1.5em; + } +} + +#dokuwiki__footer { + border-top: 1pt solid #999; + div.license { + padding-top: .5em; + > a { + display: inline-block; + float: left; + margin: .2em .5em 0 0; + } + } +} + +.dokuwiki div.footnotes { + clear: both; + border-top: 1pt solid #000; + margin-top: 10pt; + padding: 1em 0; +} diff --git a/platform/www/lib/tpl/acervus/css/responsive.css b/platform/www/lib/tpl/acervus/css/responsive.css new file mode 100644 index 0000000..ecb8db4 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/responsive.css @@ -0,0 +1,13 @@ +h1#sitetitle-short p, h1#sitetitle p {margin: 0;} + +@media (min-width: 768px) { + h1#sitetitle-short {display:none;} + h1#sitetitle {display:inline-block;} + +} + +@media (max-width: 768px) { + h1#sitetitle-short {display:inline-block;} + h1#sitetitle {display:none;} + +} diff --git a/platform/www/lib/tpl/acervus/css/structure.less b/platform/www/lib/tpl/acervus/css/structure.less new file mode 100644 index 0000000..9b8dab4 --- /dev/null +++ b/platform/www/lib/tpl/acervus/css/structure.less @@ -0,0 +1,64 @@ +/* header */ +#dokuwiki__header { + position: fixed; + z-index: 102; + top: 0; + width: 100%; + max-height: 40px; + + h1 { + display: inline-block; + width: 50%; + text-align: center; + } + div.left { + width: 25%; + float: left; + /* trick for keep width when aside is deactivated */ + min-height: 1px; + } + div.right { + width: 25%; + float: right; + text-align: right; + } + div.search { + float: right; + } +} + +/* nav */ +.sidebar { + position: fixed; + z-index: 104; + width: @ini_sidebar_width; + max-width: 66%; + height: 100%; +} + +#dokuwiki__aside { + left: 0; +} +#dokuwiki__tools { + right: 0; +} +#sidebar_bg { + position: fixed; + z-index: 103; + width: 100%; + height: 100%; +} +#to_top { + position: fixed; + z-index: 101; + right: 10px; + bottom: 10px; +} + +/* content */ +.wrapper { + margin: 0 auto; + max-width: @ini_body_width; +} + +/* footer */ |