Skip to content

Commit

Permalink
Added a few more default variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jordykommeren committed Aug 8, 2018
1 parent 3fa60a5 commit a66fabe
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/scss/boilerplate/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ button {
border-radius: $button-default-border-radius;
transition: $button-default-transition;
color: $button-default-color;
font-size: $button-default-font-size;
font-weight: $button-default-font-weight;
transition: $button-default-transition;
padding: $button-default-padding;
text-transform: $button-default-text-transform;

&.action {
&:hover {
Expand All @@ -24,6 +29,8 @@ button {
padding: $button-primary-padding;
font-size: $button-primary-font-size;
text-transform: $button-primary-text-transform;
font-weight: $button-primary-font-weight;
transition: $button-primary-transition;

&:hover {
background: $button-primary-hover-background-color;
Expand All @@ -46,6 +53,7 @@ button {
border: $button-secondary-border;
color: $button-secondary-color;
font-size: $button-secondary-font-size;
text-transform: $button-secondary-text-transform;

&:hover {
background: $button-secondary-hover-background-color;
Expand Down Expand Up @@ -95,3 +103,12 @@ button {
}
}

.block.newsletter {
.action.subscribe {
height: $input-default-height;
}
.field .control:before {
line-height: $input-default-height;
}
}

21 changes: 21 additions & 0 deletions src/scss/boilerplate/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,26 @@
}
}
}
.level0 {
.submenu {
background: $menu-bar-menu-item-submenu-background;

li {
a {
color: $menu-bar-menu-item-submenu-item-color;
font-weight: $menu-bar-menu-item-submenu-item-font-weight;
border-color: $menu-bar-menu-item-submenu-item-border-color;
}

&:hover {
background: $menu-bar-menu-item-submenu-item-hover-background;
a {
color: $menu-bar-menu-item-submenu-item-hover-color;
font-weight: $menu-bar-menu-item-submenu-item-hover-font-weight;
}
}
}
}
}
}
}
7 changes: 7 additions & 0 deletions src/scss/boilerplate/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,13 @@ $menu-bar-menu-item-hover-border-top: none !default;
$menu-bar-menu-item-hover-border-bottom: $menu-bar-menu-item-hover-default-border !default;
$menu-bar-menu-item-hover-border-left: none !default;
$menu-bar-menu-item-hover-border-right: none !default;
$menu-bar-menu-item-submenu-background: #ffffff !default;
$menu-bar-menu-item-submenu-item-color: $color-boilerplate-black !default;
$menu-bar-menu-item-submenu-item-border-color: $color-boilerplate-orange !default;
$menu-bar-menu-item-submenu-item-font-weight: 400 !default;
$menu-bar-menu-item-submenu-item-hover-background: #eaeaea !default;
$menu-bar-menu-item-submenu-item-hover-color: $color-boilerplate-black !default;
$menu-bar-menu-item-submenu-item-hover-font-weight: 400 !default;

/*
* Fieldset / Fields
Expand Down

0 comments on commit a66fabe

Please sign in to comment.