Burger button height

This commit is contained in:
Raphael Goetter 2017-09-07 15:17:27 +02:00
parent 49a0a27f7f
commit c87a1e1d11
3 changed files with 4 additions and 4 deletions

View file

@ -2214,7 +2214,7 @@ button:focus {
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-origin: content-box; background-origin: content-box;
background-size: 100% calc(2.4rem * (16 / 100)); background-size: 100% calc(2.4rem * (18 / 100));
-webkit-transition: .25s; -webkit-transition: .25s;
transition: .25s; transition: .25s;
-webkit-transition-property: background, -webkit-transform; -webkit-transition-property: background, -webkit-transform;
@ -2226,7 +2226,7 @@ button:focus {
.button-burger > *::before, .button-burger > *::after { .button-burger > *::before, .button-burger > *::after {
content: ""; content: "";
height: calc(2.4rem * (16 / 100)); height: calc(2.4rem * (18 / 100));
background: #333; background: #333;
-webkit-transition: .25s; -webkit-transition: .25s;
transition: .25s; transition: .25s;

File diff suppressed because one or more lines are too long

View file

@ -71,7 +71,7 @@ $color-burger : $color-gray1;
$background-burger : transparent; $background-burger : transparent;
$background-burger-hover : transparent; $background-burger-hover : transparent;
$size-burger : 2.4rem; $size-burger : 2.4rem;
$weight-burger : 16; // sort of percentage $weight-burger : 18; // sort of percentage
$padding-burger : 0; $padding-burger : 0;
// spacings (choose unit you prefer) // spacings (choose unit you prefer)