2016-06-27 21:42:18 +02:00
|
|
|
// Mixins
|
|
|
|
|
2014-08-13 03:01:38 +02:00
|
|
|
// Bootstrap Button Variant
|
|
|
|
|
|
|
|
.button-variant(@color; @background; @border) {
|
2016-06-22 00:23:31 +02:00
|
|
|
color: @color;
|
|
|
|
background-color: @background;
|
|
|
|
border-color: @border;
|
2014-08-13 03:01:38 +02:00
|
|
|
|
2016-06-22 00:23:31 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&.active,
|
2016-11-30 03:03:56 +01:00
|
|
|
&:active:focus,
|
2016-06-22 00:23:31 +02:00
|
|
|
.open .dropdown-toggle& {
|
|
|
|
color: @color;
|
|
|
|
background-color: darken(@background, 10%);
|
2014-08-13 03:01:38 +02:00
|
|
|
border-color: darken(@border, 12%);
|
2016-06-22 00:23:31 +02:00
|
|
|
}
|
|
|
|
&:active,
|
|
|
|
&.active,
|
|
|
|
.open .dropdown-toggle& {
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
&.disabled,
|
|
|
|
&[disabled],
|
|
|
|
fieldset[disabled] & {
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
background-color: @background;
|
|
|
|
border-color: @border;
|
|
|
|
}
|
|
|
|
}
|
2014-08-13 03:01:38 +02:00
|
|
|
|
2016-06-22 00:23:31 +02:00
|
|
|
.badge {
|
|
|
|
color: @background;
|
|
|
|
background-color: @color;
|
|
|
|
}
|
2014-08-13 03:01:38 +02:00
|
|
|
}
|
|
|
|
|
2016-06-27 21:42:18 +02:00
|
|
|
// Background Cover Mixin
|
2014-08-13 03:01:38 +02:00
|
|
|
|
|
|
|
.background-cover() {
|
|
|
|
-webkit-background-size: cover;
|
|
|
|
-moz-background-size: cover;
|
|
|
|
background-size: cover;
|
|
|
|
-o-background-size: cover;
|
|
|
|
}
|
|
|
|
|
2016-06-27 21:42:18 +02:00
|
|
|
// Font Mixins
|
2014-08-13 03:01:38 +02:00
|
|
|
|
|
|
|
.serif-font() {
|
2016-06-22 00:23:31 +02:00
|
|
|
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
2014-08-13 03:01:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.script-font() {
|
2016-06-22 00:23:31 +02:00
|
|
|
font-family: "Kaushan Script", "Helvetica Neue", Helvetica, Arial, cursive;
|
2014-08-13 03:01:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.body-font() {
|
2016-06-22 00:23:31 +02:00
|
|
|
font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
2014-08-13 03:01:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.heading-font() {
|
2016-06-22 00:23:31 +02:00
|
|
|
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|