better content-togglelink
This commit is contained in:
parent
52928b7b4e
commit
9d4d2a1a8c
3 changed files with 55 additions and 36 deletions
|
@ -5,8 +5,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.breadcrumbs {
|
.breadcrumbs {
|
||||||
padding: (@margin-small + .2) 1.8rem @margin-small;
|
position: relative;
|
||||||
border-bottom: 1px solid @color-border;
|
border-bottom: 1px solid @color-border;
|
||||||
|
padding: .8rem 1.8rem .4rem;
|
||||||
|
|
||||||
> p {
|
> p {
|
||||||
font-size: .83rem;
|
font-size: .83rem;
|
||||||
|
@ -61,7 +62,7 @@
|
||||||
float: right;
|
float: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 30%;
|
max-width: 30%;
|
||||||
margin: -.2em 0 0;
|
margin: -.4em 0 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
|
|
|
@ -5,51 +5,69 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#dokuwiki__content {
|
.togglelink {
|
||||||
overflow: visible;
|
&.page_main-content {
|
||||||
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
|
bottom: -1px;
|
||||||
|
left: -2rem;
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
.togglelink {
|
a {
|
||||||
&.page_main-content {
|
.display-flex();
|
||||||
position: absolute;
|
.flex-direction();
|
||||||
top: -1px;
|
.justify-content();
|
||||||
left: -2rem;
|
|
||||||
z-index: 1;
|
width: 2rem;
|
||||||
|
height: 100%;
|
||||||
|
background-color: @button_background;
|
||||||
|
border: solid 1px @button_background;
|
||||||
|
border-radius: 2px 0 0 2px;
|
||||||
|
color: @button_color;
|
||||||
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:active {
|
||||||
|
background-color: @button_color;
|
||||||
|
border-color: @button_background;
|
||||||
|
color: @button_background;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
* {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* + + + toggle out + + + */
|
||||||
|
.wide-content & {
|
||||||
|
left: -1px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
background-color: @button_background;
|
||||||
width: 2rem;
|
border-color: @button_background;
|
||||||
height: 3.1rem;
|
|
||||||
background-color: #F6F6F6;
|
|
||||||
border: solid 1px @color-border;
|
|
||||||
border-radius: 2px 0 0 2px;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
padding-top: .9em;
|
|
||||||
transition: @transition color, @transition background-color, @transition border-color;
|
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active {
|
&:active {
|
||||||
background-color: @button_background;
|
background-color: @button_color;
|
||||||
border-color: @button_background;
|
|
||||||
color: @button_color;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
* {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
/* min-width: 1440px */
|
/* min-width: 1440px */
|
||||||
|
|
||||||
@media @screen_min-xlg {
|
@media @screen_min-xlg {
|
||||||
#dokuwiki__content .togglelink {
|
.togglelink {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -59,7 +77,7 @@
|
||||||
/* max-width: 1199px */
|
/* max-width: 1199px */
|
||||||
|
|
||||||
@media @screen_max-xlg {
|
@media @screen_max-xlg {
|
||||||
#dokuwiki__content .togglelink {
|
.togglelink {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
10
main.php
10
main.php
|
@ -296,6 +296,11 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="breadcrumbs">
|
<div class="breadcrumbs">
|
||||||
|
|
||||||
|
<div class="togglelink page_main-content">
|
||||||
|
<a href="#">< ><span class="sr-out">auf/zu</span></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6>
|
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -327,11 +332,6 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="dokuwiki__content" class="page main-content">
|
<div id="dokuwiki__content" class="page main-content">
|
||||||
|
|
||||||
<div class="togglelink page_main-content">
|
|
||||||
<a href="#">< ><span class="sr-out">auf/zu</span></a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="meta-box">
|
<div id="meta-box">
|
||||||
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_meta_box') ?></h6>
|
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_meta_box') ?></h6>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue