bulma/docs/_sass/home/custom.scss

103 lines
1.7 KiB
SCSS
Raw Normal View History

2024-11-11 10:32:08 +00:00
@use "sass:color";
2024-03-21 16:11:54 +00:00
@use "sass/utilities/mixins" as mx;
@use "sass/themes/light";
$mauve: #8a4d76;
$pink: #fa7c91;
$rose: #ea4aaa;
$brown: #757763;
$beige-light: #d0d1cd;
$beige-lighter: #eff0eb;
$sass: #bf4080;
// Customize
.bd-index-custom-title {
2024-03-21 16:11:54 +00:00
color: var(--bulma-border-hover);
}
.bd-index-custom-example {
padding: 1rem;
.subtitle {
margin-bottom: 0.5rem;
}
}
.bd-index-custom.bd-is-after {
color: $brown;
2024-03-21 16:11:54 +00:00
font-family: "Nunito", serif;
margin-top: 0.5rem;
a {
color: $pink;
&:hover {
color: #363636;
}
}
.subtitle {
color: $brown;
}
.input,
.select select {
background-color: $beige-lighter;
border-color: transparent;
border-width: 2px;
box-shadow: none;
2024-03-21 16:11:54 +00:00
font-family: "Nunito", serif;
&:hover {
border-color: $beige-light;
}
&:focus {
border-color: $pink;
box-shadow: 0 0 0 0.125em rgba($pink, 0.25);
}
}
.select {
&:not(.is-multiple):not(:hover) {
&::after {
border-color: $pink;
}
}
}
.button {
&.is-primary {
background-color: $mauve;
2024-03-21 16:11:54 +00:00
color: light.$scheme-main;
&:hover {
2024-11-11 10:32:08 +00:00
background-color: color.adjust($mauve, $lightness: -2.5%);
}
&:active {
2024-11-11 10:32:08 +00:00
background-color: color.adjust($mauve, $lightness: -5%);
}
}
&.is-link {
background-color: $pink;
2024-03-21 16:11:54 +00:00
color: light.$scheme-main;
&:hover {
2024-11-11 10:32:08 +00:00
background-color: color.adjust($pink, $lightness: -2.5%);
}
&:active {
2024-11-11 10:32:08 +00:00
background-color: color.adjust($pink, $lightness: -5%);
}
}
}
2024-03-21 16:11:54 +00:00
@include mx.selection {
background-color: $pink;
2024-03-21 16:11:54 +00:00
color: light.$scheme-main;
}
}