la-chariotte/la_chariotte/static/sass/base/_form.sass
2023-07-07 15:06:59 +02:00

36 lines
No EOL
766 B
Sass

// Buttons
.button
white-space: normal
height: auto
.button.is-light, .buttons.is-light:hover, .buttons.is-light.is-hovered
border: $betterave 1px solid !important
color: $betterave !important
.button.is-info, .button.is-info:hover
color: $bright-black !important
&.is-light
border: $beige 1px solid !important
// for "validate" buttons at end of forms
.buttons.is-pulled-right:last-child
float: none !important
justify-content: end
// Input
.input.custom-width
width: unset
// Forms
.mini-title, form p label
color: $grey-text
font-size: 0.8rem
margin-bottom: 0px !important
form
p
label ~ input, label ~ textarea
display: block
max-width: 100%
box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05)