changed : affichage d'un titre au menu en mode mobile
This commit is contained in:
parent
dc9eb87cff
commit
b839f88e5b
2 changed files with 12 additions and 1 deletions
|
@ -54,11 +54,16 @@
|
||||||
|
|
||||||
#dokuwiki__sidebar h3.toggle {
|
#dokuwiki__sidebar h3.toggle {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
|
display:flex;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
&.closed {
|
&.closed {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
background-color: @ini_background;
|
background-color: @ini_background;
|
||||||
|
|
||||||
}
|
}
|
||||||
&.open {
|
&.open {
|
||||||
border-bottom: 1px solid @ini_border;
|
border-bottom: 1px solid @ini_border;
|
||||||
|
@ -68,6 +73,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.showSidebar #dokuwiki__content, #dokuwiki__content {
|
.showSidebar #dokuwiki__content, #dokuwiki__content {
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
7
main.php
7
main.php
|
@ -83,7 +83,12 @@ $showSidebar = $hasSidebar && ($ACT=='show');
|
||||||
<?php if($showSidebar): ?>
|
<?php if($showSidebar): ?>
|
||||||
<nav id="dokuwiki__sidebar">
|
<nav id="dokuwiki__sidebar">
|
||||||
<div class="biseau_left_top nomobile"></div>
|
<div class="biseau_left_top nomobile"></div>
|
||||||
<h3 class="toggle"><?php //echo $lang['sidebar'] ?></h3>
|
<h3 class="toggle"><span class="menu_mobile">
|
||||||
|
<?php
|
||||||
|
$kh_sidebar = tpl_getLang('kh_sidebar');
|
||||||
|
echo $kh_sidebar ;
|
||||||
|
//echo $lang['sidebar'] ;
|
||||||
|
?></span></h3>
|
||||||
<div class="pad sidebar include group">
|
<div class="pad sidebar include group">
|
||||||
<div class="content"><div class="group">
|
<div class="content"><div class="group">
|
||||||
<?php tpl_flush() ?>
|
<?php tpl_flush() ?>
|
||||||
|
|
Loading…
Reference in a new issue