2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
//
|
|
|
|
// settings
|
|
|
|
//
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
$gtb_height: 32px; // gtb == globaltopbar
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
//
|
|
|
|
// globaltopbar
|
|
|
|
//
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
@media screen {
|
2020-10-11 15:18:25 +02:00
|
|
|
#global__header {
|
2020-10-11 18:33:06 +02:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
background: $blog_body-bg;
|
|
|
|
border-bottom: 3px $nom-blue solid;
|
2020-10-11 15:18:25 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
2020-10-11 18:33:06 +02:00
|
|
|
font-size: 14px;
|
2020-10-11 15:18:25 +02:00
|
|
|
left: 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 0;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
position: absolute;
|
2020-10-11 18:33:06 +02:00
|
|
|
text-align: left;
|
|
|
|
transition: background .2s, color .2s;
|
|
|
|
top: -$gtb_height;
|
2020-10-11 15:18:25 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
white-space: nowrap;
|
2020-10-11 18:33:06 +02:00
|
|
|
width: 100%;
|
|
|
|
z-index: 9999;
|
2020-10-11 15:18:25 +02:00
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
margin: 0;
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
a {
|
2020-10-11 18:33:06 +02:00
|
|
|
color: $grey-light;
|
2020-10-11 15:18:25 +02:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0 1px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2020-10-11 18:33:06 +02:00
|
|
|
background: $nom-blue;
|
2020-10-11 15:18:25 +02:00
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.global__header-right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
@media print {
|
2020-10-11 15:18:25 +02:00
|
|
|
body {
|
2020-10-11 18:33:06 +02:00
|
|
|
#dokuwiki__site {
|
|
|
|
.site {
|
|
|
|
#global__header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
2020-10-11 18:33:06 +02:00
|
|
|
// globaltopbar blog
|
2020-10-11 15:18:25 +02:00
|
|
|
//
|
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
@if $type == blog {
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
body {
|
|
|
|
top: $gtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird
|
|
|
|
header {
|
|
|
|
.search-modal {
|
|
|
|
top: $gtb_height; // Suchleiste nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
2020-10-11 18:33:06 +02:00
|
|
|
.menu-modal {
|
|
|
|
top: $gtb_height; // Menu oben nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
2020-10-11 18:33:06 +02:00
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
//
|
|
|
|
// globaltopbar wiki
|
|
|
|
//
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
@if $type == wiki {
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
body {
|
|
|
|
margin-top: $gtb_height; // DokuWiki nach unten verschieben, damit globaltopbar sichtbar wird
|
|
|
|
overflow-x: hidden;
|
|
|
|
#dokuwiki__site {
|
|
|
|
.site {
|
|
|
|
#dokuwiki__header {
|
|
|
|
.group {
|
|
|
|
.tools {
|
|
|
|
#dokuwiki__usertools {
|
|
|
|
top: 15px + $gtb_height; // 'em' and 'px' are incompatible units
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#global__header {
|
|
|
|
top: 0;
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
2020-10-11 18:33:06 +02:00
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
@media only screen and (min-width: 601px) {
|
|
|
|
body {
|
|
|
|
#dokuwiki__site {
|
|
|
|
.site {
|
|
|
|
#dokuwiki__header {
|
|
|
|
padding-top: 3em;
|
|
|
|
.group {
|
|
|
|
.tools {
|
|
|
|
#dokuwiki__usertools {
|
|
|
|
top: 12px + $gtb_height; // 'em' and 'px' are incompatible units
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
|
|
|
/* changes specific for bugs.dokuwiki.org */
|
|
|
|
div#container div#showtask {
|
2020-10-11 18:33:06 +02:00
|
|
|
top: 40px;
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
2020-10-11 18:33:06 +02:00
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
|
2020-10-11 18:33:06 +02:00
|
|
|
@media only screen and (max-width: 600px) {
|
2020-10-11 15:18:25 +02:00
|
|
|
body {
|
2020-10-11 18:33:06 +02:00
|
|
|
padding-top: 0;
|
2020-10-11 15:18:25 +02:00
|
|
|
}
|
2020-10-11 18:33:06 +02:00
|
|
|
}
|
2020-10-11 15:18:25 +02:00
|
|
|
|
|
|
|
}
|