togglelink für content
This commit is contained in:
parent
a1671cb1d0
commit
33b4a53199
3 changed files with 226 additions and 160 deletions
60
css/area_togglelink.less
Normal file
60
css/area_togglelink.less
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
/**
|
||||||
|
* This file provides the design styles for the sidebar (navmain).
|
||||||
|
*
|
||||||
|
* @author Jana Deutschlaender <deutschlaender@cosmocode.de>
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#dokuwiki__content {
|
||||||
|
overflow: visible;
|
||||||
|
|
||||||
|
.togglelink {
|
||||||
|
&.page_main-content {
|
||||||
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
|
left: -2rem;
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
|
width: 2rem;
|
||||||
|
height: 3.1rem;
|
||||||
|
background-color: #F6F6F6;
|
||||||
|
border: solid 1px @color-border;
|
||||||
|
border-radius: 2px 0 0 2px;
|
||||||
|
text-align: center;
|
||||||
|
padding-top: .9em;
|
||||||
|
transition: @transition color, @transition background-color, @transition border-color;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:active {
|
||||||
|
background-color: @button_background;
|
||||||
|
border-color: @button_background;
|
||||||
|
color: @button_color;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
* {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
|
/* min-width: 1440px */
|
||||||
|
|
||||||
|
@media @screen_min-xlg {
|
||||||
|
#dokuwiki__content .togglelink {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
|
/* max-width: 1199px */
|
||||||
|
|
||||||
|
@media @screen_max-xlg {
|
||||||
|
#dokuwiki__content .togglelink {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
5
main.php
5
main.php
|
@ -326,6 +326,11 @@ $showSidebar = true; /* */
|
||||||
</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>
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,7 @@ css/area_nav-metabox.less = all
|
||||||
css/area_main-sidebar.less = all
|
css/area_main-sidebar.less = all
|
||||||
css/area_sidetools.less = all
|
css/area_sidetools.less = all
|
||||||
css/area_main-content.less = all
|
css/area_main-content.less = all
|
||||||
|
css/area_togglelink.less = all
|
||||||
|
|
||||||
|
|
||||||
; _____________ plugin styles _____________
|
; _____________ plugin styles _____________
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue