-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
379 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import './main.js'; | ||
import 'styles/theme-mustavalkoinen.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@import "themes/includes"; | ||
|
||
$primary: $color-black; | ||
$primary-invert: $color-white; | ||
$primary-light: bulmaLighten($primary, 5); | ||
$primary-light-invert: $color-black; | ||
$primary-dark: $color-black; | ||
$primary-dark-invert: $color-black; | ||
|
||
$secondary: $color-white; | ||
$secondary-invert: $color-black; | ||
$secondary-light: #dcdcdc; | ||
$secondary-light-invert: $color-black; | ||
$secondary-dark: $color-black; | ||
$secondary-dark-invert: $color-white; | ||
|
||
$light: $primary-light; | ||
$light-invert: $primary-light-invert; | ||
$dark: $primary-dark; | ||
$dark-invert: $primary-dark-invert; | ||
$divider: $color-vaalean-harmaa; | ||
$divider-invert: $color-tumma-harmaa; | ||
|
||
$text: $color-black; | ||
$link: $primary-dark; | ||
|
||
$colors-palette-primary: ($primary, $primary-invert, $primary-dark, $primary-light); | ||
$colors-palette-secondary: ($secondary, $secondary-invert, $secondary-dark, $secondary-light); | ||
|
||
$accent: $primary; | ||
$accent-invert: $primary-invert; | ||
|
||
$colors: ( | ||
"primary": $colors-palette-primary, | ||
"secondary": $colors-palette-secondary, | ||
"white": ($color-white, $color-black), | ||
"black": ($color-black, $color-white), | ||
"accent": ($primary, $primary-invert), | ||
); | ||
|
||
$button-text-primary: $color-white; | ||
$button-text-invert: $primary; | ||
|
||
$button-colors: ( | ||
"primary": ($primary, $primary-invert, $color-black, $button-text-primary), | ||
"secondary": ($secondary, $secondary-invert, $color-white, $color-black), | ||
); | ||
|
||
$color-background-primary-light--opaque-light: $secondary; | ||
|
||
@import "main"; | ||
@import "themes/theme-mustavalkoinen-overrides"; |
224 changes: 224 additions & 0 deletions
224
assets/styles/themes/theme-mustavalkoinen-overrides.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
.site-header, | ||
.main-content { | ||
// Button styles | ||
.button { | ||
&.is-secondary { | ||
border-color: $black !important; | ||
} | ||
} | ||
} | ||
|
||
.site-header { | ||
background-color: $black !important; | ||
|
||
&__tagline, | ||
.secondary-menu li a { | ||
color: $white !important; | ||
} | ||
|
||
&__end { | ||
.button { | ||
border-color: $white !important; | ||
} | ||
} | ||
|
||
.fly-out-nav__trigger .icon { | ||
fill: $white !important; | ||
} | ||
} | ||
|
||
.has-border-secondary { | ||
border-color: $black; | ||
} | ||
|
||
.lang-nav--horizontal { | ||
a { | ||
color: $white !important; | ||
border-color: $white !important; | ||
|
||
&.has-text-primary-invert { | ||
&, | ||
&:hover, | ||
&:focus { | ||
color: $black !important; | ||
background-color: $white !important; | ||
} | ||
} | ||
|
||
&:hover, | ||
&:focus { | ||
color: $white !important; | ||
background-color: $black !important; | ||
outline-color: $white; | ||
} | ||
} | ||
} | ||
|
||
.site-header-notice { | ||
background-color: $secondary-light !important; | ||
|
||
.notice-banner__text { | ||
color: $black !important; | ||
|
||
.icon { | ||
fill: $black !important; | ||
} | ||
} | ||
|
||
.button { | ||
background-color: $black !important; | ||
color: $white !important; | ||
border-color: $black !important; | ||
|
||
.icon { | ||
fill: $white !important; | ||
} | ||
|
||
&:hover, | ||
&:focus { | ||
background-color: $white !important; | ||
color: $black !important; | ||
border-color: $black !important; | ||
text-decoration: underline !important; | ||
outline-color: $black !important; | ||
|
||
.icon { | ||
fill: $black !important; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.duet-date { | ||
&__toggle { | ||
&:focus { | ||
outline: .0558rem solid $black !important; | ||
} | ||
} | ||
} | ||
|
||
.language-nav { | ||
.dropdown { | ||
.dropdown-trigger { | ||
.button { | ||
color: $white !important; | ||
border-color: $white !important; | ||
|
||
.icon { | ||
fill: $white !important; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.quote { | ||
background-color: $black !important; | ||
color: $white !important; | ||
} | ||
|
||
.subpages { | ||
&__items { | ||
a { | ||
&.has-background-image { | ||
color: $white !important; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.search-item { | ||
&__title { | ||
> a { | ||
&:hover, | ||
&:focus { | ||
color: lighten($black, 25%); | ||
} | ||
} | ||
} | ||
|
||
&__meta-item { | ||
> a { | ||
&:hover, | ||
&:focus { | ||
color: $black !important; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.logo-wall { | ||
&__link { | ||
outline-color: $black !important; | ||
} | ||
} | ||
|
||
.layout-articles { | ||
&__read-more { | ||
color: $black !important; | ||
|
||
.icon { | ||
fill: $black !important; | ||
} | ||
|
||
&:hover, | ||
&:focus { | ||
color: $black !important; | ||
|
||
.icon { | ||
fill: $black !important; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.key-figures { | ||
&__row { | ||
.has-colors-white { | ||
border: 1px solid $black !important; | ||
} | ||
|
||
.has-colors-secondary { | ||
background-color: $secondary-light !important; | ||
} | ||
} | ||
} | ||
|
||
.grid { | ||
&__item { | ||
&.has-colors-white, | ||
&.has-colors-secondary { | ||
border: 1px solid $black !important; | ||
} | ||
} | ||
} | ||
|
||
.gform_wrapper { | ||
textarea, | ||
input { | ||
border-color: $black !important; | ||
} | ||
} | ||
|
||
.entry { | ||
&__content { | ||
> p { | ||
> a { | ||
color: $black !important; | ||
|
||
&:hover, | ||
&:focus { | ||
color: $black !important; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.events { | ||
&__item-inner { | ||
.icon { | ||
fill: $accent !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.