marc-leopold/assets/scss/_buefy.scss

67 lines
1.8 KiB
SCSS
Raw Normal View History

2019-01-16 22:55:56 +00:00
$link: $color__primary-500;
$link-hover: $color__primary-700;
2019-01-16 21:09:55 +00:00
$primary: #f00;
2019-01-27 18:26:13 +00:00
$white: $color__neutral-900;
$danger: $color__accent-danger-300;
$success: $color__accent-success-300;
2019-01-16 21:09:55 +00:00
@import "~bulma/sass/utilities/_all.sass";
@import "~bulma/bulma.sass";
@import "~buefy/src/scss/buefy";
2019-01-27 18:26:13 +00:00
.label {
2019-02-17 19:19:07 +00:00
position: relative;
2019-01-27 18:26:13 +00:00
color: $color__neutral-700;
@include font-title(600);
}
.input, .textarea {
2019-01-30 21:12:13 +00:00
$color-bg: $color__neutral-900;
$gradient-from: .1;
$gradient-to: .3;
2019-01-27 18:26:13 +00:00
font-weight: 600;
2019-01-30 21:12:13 +00:00
background-color: rgba($color__neutral-900, .7);
background: linear-gradient(
to bottom,
rgba($color-bg, $gradient-from),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-from),
),
linear-gradient(
to right,
rgba($color-bg, $gradient-from),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-from),
);
&:focus {
$color-bg: #fff;
$gradient-from: .1;
$gradient-to: .5;
background: $color-bg;
background: linear-gradient(
to bottom,
rgba($color-bg, $gradient-from),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-from),
),
linear-gradient(
to right,
rgba($color-bg, $gradient-from),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-to),
rgba($color-bg, $gradient-from),
);
}
2019-01-27 18:26:13 +00:00
}
.help {
2019-01-31 10:50:58 +00:00
@include font-body(600);
2019-01-27 18:26:13 +00:00
font-size: .8em;
}