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/edit-warning.scss';
|
||||||
@import 'import/blog.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
|
// settings
|
||||||
//
|
//
|
||||||
|
|
||||||
$gtb_height: 32px; // gtb == globaltopbar
|
$ngtb_height: 32px; // ngtb == nom_globaltopbar
|
||||||
|
|
||||||
//
|
//
|
||||||
// globaltopbar
|
// nom_globaltopbar
|
||||||
//
|
//
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
|
@ -27,8 +27,7 @@ $gtb_height: 32px; // gtb == globaltopbar
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transition: background .2s, color .2s;
|
top: -$ngtb_height;
|
||||||
top: -$gtb_height;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -46,11 +45,12 @@ $gtb_height: 32px; // gtb == globaltopbar
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
padding: 4px 13px;
|
padding: 4px 13px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
transition: background .2s,color .2s;
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
background: $nom-blue;
|
background: $nom-blue;
|
||||||
color: #fff;
|
color: rgb(255, 255, 255);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,14 +81,14 @@ $gtb_height: 32px; // gtb == globaltopbar
|
||||||
@if $type == blog {
|
@if $type == blog {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
top: $gtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird
|
top: $ngtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird
|
||||||
header {
|
header {
|
||||||
.search-modal {
|
.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 {
|
.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 {
|
@if $type == wiki {
|
||||||
|
|
||||||
body {
|
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;
|
overflow-x: hidden;
|
||||||
#dokuwiki__site {
|
#dokuwiki__site {
|
||||||
.site {
|
.site {
|
||||||
|
@ -109,7 +109,7 @@ $gtb_height: 32px; // gtb == globaltopbar
|
||||||
.group {
|
.group {
|
||||||
.tools {
|
.tools {
|
||||||
#dokuwiki__usertools {
|
#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 {
|
.group {
|
||||||
.tools {
|
.tools {
|
||||||
#dokuwiki__usertools {
|
#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) {
|
@media only screen and (max-width: 600px) {
|
|
@ -14,4 +14,4 @@ $type: wiki;
|
||||||
@import 'import/edit-warning.scss';
|
@import 'import/edit-warning.scss';
|
||||||
@import 'import/wiki.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