marc-leopold/assets/scss/_buefy.scss

66 lines
1.7 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 {
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 {
font-weight: 600;
font-size: .8em;
}