78 lines
1.5 KiB
SCSS
78 lines
1.5 KiB
SCSS
/*
|
|
* Button Styles
|
|
*
|
|
*/
|
|
|
|
.button,
|
|
a.button.md-button {
|
|
display: inline-block;
|
|
line-height: $unit * 4;
|
|
padding: 0px ($unit * 2);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
border-radius: 3px;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
overflow: hidden;
|
|
border: none;
|
|
|
|
// SIZES
|
|
&.button-small {
|
|
font-size: 12px;
|
|
line-height: $unit * 3;
|
|
padding: 0px ($unit * 1);
|
|
}
|
|
|
|
&.button-large {
|
|
font-size: 15px;
|
|
line-height: $unit * 6;
|
|
padding: 0px ($unit * 3);
|
|
}
|
|
|
|
&.button-x-large {
|
|
font-size: 16px;
|
|
line-height: $unit * 7;
|
|
padding: 0px ($unit * 3);
|
|
}
|
|
|
|
|
|
// COLORS
|
|
|
|
&.button-secondary {
|
|
background: $fog;
|
|
color: rgba($white, .87);
|
|
}
|
|
|
|
&.button-plain {
|
|
background: $white;
|
|
color: rgba($steel, .87);
|
|
}
|
|
|
|
&.button-subtle {
|
|
background: $mist;
|
|
color: darken($cloud, 10%);
|
|
}
|
|
|
|
&.button-navy {
|
|
background: $ocean;
|
|
color: rgba($white, .87);
|
|
}
|
|
|
|
&.button-banner {
|
|
background: $metal;
|
|
color: rgba($white, .87);
|
|
}
|
|
|
|
&.button-shield,
|
|
&.button-shield.md-button {
|
|
background-color: $blue-600;
|
|
background: $blue-600 url('/resources/images/logos/inverse/shield/22.png') 24px 13px no-repeat;
|
|
color: rgba($white, .87);
|
|
padding-left: 54px;
|
|
|
|
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
|
|
background: $blue-600 url('/resources/images/logos/inverse/shield/22@2x.png') 24px 13px no-repeat;
|
|
background-size: 22px 22px;
|
|
}
|
|
}
|
|
} |