mirror of
https://github.com/kemko/liquid.git
synced 2026-01-04 17:25:41 +03:00
85 lines
1.6 KiB
SCSS
85 lines
1.6 KiB
SCSS
.btn {
|
|
color: $color-white;
|
|
fill: currentColor;
|
|
display: flex;
|
|
background: $color-blue-5;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: $spacing-unit/4 $spacing-unit/2;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
|
|
&:hover {
|
|
background: $color-blue-4;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:first-child {
|
|
margin-bottom: $spacing-unit / 2;
|
|
}
|
|
|
|
@include phone-and-up {
|
|
justify-content: center;
|
|
|
|
&:first-child {
|
|
justify-content: flex-start;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
margin-right: $spacing-unit / 4;
|
|
width: $base-font-size * 1.5;
|
|
height: $base-font-size * 1.5;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
}
|
|
|
|
.btn:visited {
|
|
color: $color-white;
|
|
}
|
|
|
|
.btn-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
margin-bottom: 0;
|
|
|
|
@include phone-and-up {
|
|
flex-direction: row;
|
|
|
|
.btn:not(:first-child) {
|
|
margin-left: $spacing-unit / 2;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*============================================================================
|
|
Menu button
|
|
==============================================================================*/
|
|
.menu-button {
|
|
display: inline-block;
|
|
font-size: $small-font-size;
|
|
background: none;
|
|
border: none;
|
|
margin: $spacing-unit / 2 0 $spacing-unit / 2 ($spacing-unit / 4 * -1);
|
|
padding: $spacing-unit / 4;
|
|
color: $color-slate;
|
|
|
|
@include tablet-and-up {
|
|
display: none;
|
|
}
|
|
|
|
svg {
|
|
margin-right: $spacing-unit / 4;
|
|
width: $base-font-size;
|
|
height: $base-font-size;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
}
|