X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=sass%2Fjuplo.scss;h=cd03e363f4dd65d3f942b9e9098446db27c75564;hb=9179a67d9952d3b63e95686dbd6cacd3c9e13cb2;hp=1b1bbc6fd4ba69a0c40d198cced25e318c7fe893;hpb=f36618612aef099fcd32cb4602e3b6367b52be39;p=website diff --git a/sass/juplo.scss b/sass/juplo.scss index 1b1bbc6f..cd03e363 100644 --- a/sass/juplo.scss +++ b/sass/juplo.scss @@ -50,7 +50,9 @@ $button-hover-border-color: #000 !important; display: none; } #navigation li.s > a.selected, -#navigation li.s > a.leaf +#navigation li.s > a.leaf, +#navigation li.s > strong.selected, +#navigation li.s > strong.leaf { @extend .button; @extend .is-primary; @@ -58,15 +60,22 @@ $button-hover-border-color: #000 !important; @extend .has-text-weight-bold; @extend .mb-3; } -#navigation li.s > a.leaf +#navigation li.s > a.leaf, +#navigation li.s > strong.leaf { color: #ccc; background-color: #fff; } +#navigation li.s > ul.selected +{ + margin-top: 1em; +} #navigation li.s > a.selected:after, -#navigation li.s > a.leaf:after +#navigation li.s > a.leaf:after, +#navigation li.s > strong.selected:after, +#navigation li.s > strong.leaf:after { - content: "\f0ab"; + content: "\f0a8"; padding-left: .5em; margin-right: -.5em; font-family: 'Font Awesome 5 Free'; @@ -79,7 +88,81 @@ $button-hover-border-color: #000 !important; text-rendering: auto; line-height: 1; } -#navigation li.s > a.leaf:after +#navigation li.s > a.leaf:after, +#navigation li.s > strong.leaf:after { color: #fff; } +#navigation li.s.sub > a.selected:after, +#navigation li.s.sub > a.selected:after, +#navigation li.s.sub > strong.leaf:after, +#navigation li.s.sub > strong.leaf:after +{ + content: "\f0ab"; +} + + +html +{ + height: 100%; +} +body +{ + height: 100%; + display: flex; + flex-direction: column; +} +#page +{ + flex: 1 0 auto; + display: flex; + justify-content: flex-end; +} +footer +{ + flex-shrink: 0; + display: flex; + justify-content: flex-end; +} +main, +#copyright +{ + flex: 0 1 768px; + overflow: hidden; +} +nav, +#footerlinks +{ + flex: 0 0 293px ; + min-width: 293px; +} + + +label +{ + @extend .label; +} +input[type=submit], +input[type=reset] +{ + @extend .button; +} +input[type=text], +input[type=password], +input[type=email], +input[type=tel] +{ + @extend .input; +} +textarea +{ + @extend .textarea; +} +select +{ + // @extend .select; +} +input[type=file] +{ + // @extend .file-input; +}