ohmyform/ui/assets/css/base.scss
2019-09-02 00:19:38 +02:00

38 lines
867 B
SCSS

$accent: #fae596;
$primary: #3fb0ac;
html {
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI',
Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 16px;
word-spacing: 1px;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
}
.btn-primary {
color: #fff;
background-color: $primary;
border-color: $primary;
&:hover {
color: #fff;
background-color: darken($primary, 10%);
border-color: darken($primary, 10%);
}
&:not(:disabled):not(.disabled):active {
color: #fff;
background-color: darken($primary, 10%);
border-color: darken($primary, 10%);
}
&:not(:disabled):not(.disabled):active:focus,
&:focus {
box-shadow: 0 0 0 0.2rem transparentize($primary, 0.5);
}
}