diff --git a/css/_search.css b/css/_search.css index 1a96265..ab706d3 100644 --- a/css/_search.css +++ b/css/_search.css @@ -80,7 +80,7 @@ display: flex; flex-direction: row-reverse; align-items: center; - justify-content: end; + justify-content: start; } /* .JSpopup */ diff --git a/css/plugin.less b/css/plugin.less index 7415841..70b91f6 100644 --- a/css/plugin.less +++ b/css/plugin.less @@ -13,34 +13,90 @@ margin: 0 ; float: none; text-align: inherit; - /*margin-bottom: 1em; - display:flex; - flex-direction: column;*/ } - -.dokuwiki div.plugin_translation ul li a.wikilink1:link, .dokuwiki div.plugin_translation ul li a.wikilink1:hover, .dokuwiki div.plugin_translation ul li a.wikilink1:active, .dokuwiki div.plugin_translation ul li a.wikilink1:visited { +.dokuwiki div.plugin_translation ul li a:link, +.dokuwiki div.plugin_translation ul li a:active, +.dokuwiki div.plugin_translation ul li a:visited, +.dokuwiki div.plugin_translation ul li span { background-color: inherit; - color: @ini_link; - text-decoration: underline dotted; + color: @ini_neutrallight; +} +.dokuwiki div.plugin_translation ul li:hover, +.dokuwiki div.plugin_translation ul li:hover a, +.dokuwiki div.plugin_translation ul li:hover span, +.dokuwiki div.plugin_translation ul li:hover a.wikilink2:link, +.dokuwiki div.plugin_translation ul li:hover a.wikilink2:hover { + background-color: purple; + color: @ini_neutrallight; } -.dokuwiki div.plugin_translation ul li a.wikilink2:link, .dokuwiki div.plugin_translation ul li a.wikilink2:hover, .dokuwiki div.plugin_translation ul li a.wikilink2:active, .dokuwiki div.plugin_translation ul li a.wikilink2:visited { +.dokuwiki div.plugin_translation ul li a.wikilink1:link, +.dokuwiki div.plugin_translation ul li a.wikilink1:hover, +.dokuwiki div.plugin_translation ul li a.wikilink1:active, +.dokuwiki div.plugin_translation ul li a.wikilink1:visited { + text-decoration: underline dotted; + background-color: inherit; +} + +.dokuwiki div.plugin_translation ul li a.wikilink2:link, +.dokuwiki div.plugin_translation ul li a.wikilink2:hover, +.dokuwiki div.plugin_translation ul li a.wikilink2:active, +.dokuwiki div.plugin_translation ul li a.wikilink2:visited +.dokuwiki div.plugin_translation ul li span { text-decoration: none; border-bottom: 1px dashed !important; color: @ini_link2; background-color: inherit; } -.dokuwiki div.plugin_translation select.wikilink1, .dokuwiki div.plugin_translation option.wikilink1 { +.dokuwiki div.plugin_translation select.wikilink1, +.dokuwiki div.plugin_translation option.wikilink1 { color: @ini_link; } -.dokuwiki div.plugin_translation select, .dokuwiki div.plugin_translation input { +.dokuwiki div.plugin_translation select, +.dokuwiki div.plugin_translation input { background-color: @ini_neutral4; + color: @ini_neutrallight; +} +.dokuwiki div.plugin_translation.is-dropdown ul { + position: inherit; + background: @ini_neutral1; } .kh_translate { display: flex; align-items: center; + margin-bottom: 0.3em; + + img { + max-height:1em; + width: 1.2em; + } + li { + text-transform: uppercase; + } +} + .plugin_translation .title { + display:none; + } + + +.kh_translate .is-dropdown ul .span::after { + content: '▼'; + margin-right: 5px; + font-size: 14px; +} +.kh_translate .is-dropdown ul .span { +display: flex; +align-items: center; +} +.dokuwiki div.plugin_translation.is-dropdown, +.dokuwiki div.plugin_translation { +padding-bottom: 0em; +} + +.dokuwiki div.plugin_translation.is-dropdown ul li { +width: 100%; } /*____________ Config manager ____________*/ diff --git a/css/structure.less b/css/structure.less index 6a814c4..f5e9a4f 100644 --- a/css/structure.less +++ b/css/structure.less @@ -50,10 +50,9 @@ } .kh_littletool { display: flex; - position: absolute; - top: 1em; - right: 1em; flex-direction: column; + justify-content: center; + height: 100%; } /*____________ dokuwiki__content not in "read" mode ____________*/ @@ -106,6 +105,7 @@ background-color: @ini_background ; padding:0em 1em 0em 1em; display:flex; + flex-direction: column; /*box-shadow: 0 1.2em .5em @ini_text_alt;*/ /* make sidebar more condensed */ diff --git a/css/tools.less b/css/tools.less index 8af3e01..f1332b4 100644 --- a/css/tools.less +++ b/css/tools.less @@ -87,10 +87,6 @@ So, navbar too, and breadcrumbs. } -.searchtool { - max-height: 2em; -} - /*____________ Usertools ____________*/ /* Link to Connexion, userpage, administration, profil */ diff --git a/main.php b/main.php index 2e67dc0..8192636 100644 --- a/main.php +++ b/main.php @@ -90,6 +90,29 @@ $showSidebar = $hasSidebar && ($ACT=='show'); //echo $lang['sidebar'] ; ?>