angular-cn/public/resources/css/module/_buttons.scss

75 lines
1.4 KiB
SCSS
Raw Normal View History

2015-02-26 09:45:32 -05:00
/*
* Button Styles
*
*/
.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;
2015-02-26 09:45:32 -05:00
// SIZES
2015-03-11 20:56:08 -04:00
&.button-small {
font-size: 12px;
line-height: $unit * 3;
padding: 0px ($unit * 1);
}
2015-02-26 09:45:32 -05:00
&.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);
}
2015-02-26 09:45:32 -05:00
// COLORS
&.button-secondary {
background: $fog;
color: rgba($snow, .87);
}
2015-02-26 09:45:32 -05:00
&.button-plain {
background: $snow;
color: rgba($steel, .87);
}
2015-03-11 20:56:08 -04:00
&.button-subtle {
background: $mist;
color: darken($cloud, 10%);
}
&.button-navy {
2015-02-26 09:45:32 -05:00
background: $ocean;
color: rgba($snow, .87);
}
&.button-banner {
background: $metal;
color: rgba($snow, .87);
}
&.button-shield {
background: $regal url('/resources/images/logos/inverse/shield/22.png') 24px 13px no-repeat;
color: rgba($snow, .87);
padding-left: 54px;
2015-03-05 09:20:23 -05:00
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
background: $regal url('/resources/images/logos/inverse/shield/22@2x.png') 24px 13px no-repeat;
background-size: 22px 22px;
}
}
}