X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=sass%2Fjuplo.scss;h=cd03e363f4dd65d3f942b9e9098446db27c75564;hb=9179a67d9952d3b63e95686dbd6cacd3c9e13cb2;hp=3a38c5f9fa80038d87ae7576c0c63a956b34d9e3;hpb=b19975ae32c2f78e1d5f64ef43c303c3b2870e9f;p=website diff --git a/sass/juplo.scss b/sass/juplo.scss index 3a38c5f9..cd03e363 100644 --- a/sass/juplo.scss +++ b/sass/juplo.scss @@ -26,4 +26,143 @@ $primary-invert: $pink-invert; // 4. Import the rest of Bulma */ +$primary: #0ACF00; +$button-text-color: #FFF !important; +$button-border-color: #000 !important; +$button-hover-border-color: #000 !important; + @import "../node_modules/bulma/bulma"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/fontawesome"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/regular"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/solid"; +@import "../node_modules/@fortawesome/fontawesome-free/scss/brands"; + +.navbar-item > .logo +{ + max-height: none; +} + + +// Navigation + +#navigation li.s.off +{ + display: none; +} +#navigation li.s > a.selected, +#navigation li.s > a.leaf, +#navigation li.s > strong.selected, +#navigation li.s > strong.leaf +{ + @extend .button; + @extend .is-primary; + @extend .is-rounded; + @extend .has-text-weight-bold; + @extend .mb-3; +} +#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 > strong.selected:after, +#navigation li.s > strong.leaf:after +{ + content: "\f0a8"; + padding-left: .5em; + margin-right: -.5em; + font-family: 'Font Awesome 5 Free'; + font-weight: 900; + font-size: 2em; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; +} +#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; +}