update
This commit is contained in:
parent
262494bd0b
commit
1ecad32feb
3 changed files with 13 additions and 17 deletions
|
@ -15,4 +15,4 @@ $type: blog;
|
|||
@import 'import/edit-warning.scss';
|
||||
@import 'import/blog.scss';
|
||||
|
||||
@import 'import/globaltopbar.scss'; // @natenom: remove this to disable globaltopbar
|
||||
@import 'import/nom_globaltopbar.scss'; // @natenom: remove this to disable globaltopbar
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
// settings
|
||||
//
|
||||
|
||||
$gtb_height: 32px; // gtb == globaltopbar
|
||||
$ngtb_height: 32px; // ngtb == nom_globaltopbar
|
||||
|
||||
//
|
||||
// globaltopbar
|
||||
// nom_globaltopbar
|
||||
//
|
||||
|
||||
@media screen {
|
||||
|
@ -27,8 +27,7 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
overflow-y: hidden;
|
||||
position: absolute;
|
||||
text-align: left;
|
||||
transition: background .2s, color .2s;
|
||||
top: -$gtb_height;
|
||||
top: -$ngtb_height;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
|
@ -46,11 +45,12 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
font-weight: normal;
|
||||
padding: 4px 13px;
|
||||
text-decoration: none;
|
||||
transition: background .2s,color .2s;
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
background: $nom-blue;
|
||||
color: #fff;
|
||||
color: rgb(255, 255, 255);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
@ -81,14 +81,14 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
@if $type == blog {
|
||||
|
||||
body {
|
||||
top: $gtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird
|
||||
top: $ngtb_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
|
||||
top: $ngtb_height; // Suchleiste nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
||||
}
|
||||
}
|
||||
.menu-modal {
|
||||
top: $gtb_height; // Menu oben nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
||||
top: $ngtb_height; // Menu oben nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -101,7 +101,7 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
@if $type == wiki {
|
||||
|
||||
body {
|
||||
margin-top: $gtb_height; // DokuWiki nach unten verschieben, damit globaltopbar sichtbar wird
|
||||
margin-top: $ngtb_height; // DokuWiki nach unten verschieben, damit globaltopbar sichtbar wird
|
||||
overflow-x: hidden;
|
||||
#dokuwiki__site {
|
||||
.site {
|
||||
|
@ -109,7 +109,7 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
.group {
|
||||
.tools {
|
||||
#dokuwiki__usertools {
|
||||
top: 15px + $gtb_height; // 'em' and 'px' are incompatible units
|
||||
top: 15px + $ngtb_height; // 'em' and 'px' are incompatible units
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
.group {
|
||||
.tools {
|
||||
#dokuwiki__usertools {
|
||||
top: 12px + $gtb_height; // 'em' and 'px' are incompatible units
|
||||
top: 12px + $ngtb_height; // 'em' and 'px' are incompatible units
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -141,10 +141,6 @@ $gtb_height: 32px; // gtb == globaltopbar
|
|||
}
|
||||
}
|
||||
}
|
||||
/* changes specific for bugs.dokuwiki.org */
|
||||
div#container div#showtask {
|
||||
top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
|
@ -14,4 +14,4 @@ $type: wiki;
|
|||
@import 'import/edit-warning.scss';
|
||||
@import 'import/wiki.scss';
|
||||
|
||||
@import 'import/globaltopbar.scss'; // @natenom: remove this to disable globaltopbar
|
||||
@import 'import/nom_globaltopbar.scss'; // @natenom: remove this to disable globaltopbar
|
||||
|
|
Reference in a new issue