summaryrefslogtreecommitdiff
path: root/_bulma/node_modules/bulma/sass/form/select.sass
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-06-03 22:00:03 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-06-03 22:00:03 -0400
commitc6b5329e5c77b226a6b0cacd99607fc7650c3a9a (patch)
tree1b4676ab6d7e2257212d07cf5faf136f7bda89f7 /_bulma/node_modules/bulma/sass/form/select.sass
parent4d129b527ee5d3a536849209c2a4e86a64190a5d (diff)
downloadcarpentertutoring-c6b5329e5c77b226a6b0cacd99607fc7650c3a9a.tar.xz
carpentertutoring-c6b5329e5c77b226a6b0cacd99607fc7650c3a9a.zip
actually include bulma data for scss rendering later
Diffstat (limited to '_bulma/node_modules/bulma/sass/form/select.sass')
-rw-r--r--_bulma/node_modules/bulma/sass/form/select.sass85
1 files changed, 85 insertions, 0 deletions
diff --git a/_bulma/node_modules/bulma/sass/form/select.sass b/_bulma/node_modules/bulma/sass/form/select.sass
new file mode 100644
index 0000000..43520fe
--- /dev/null
+++ b/_bulma/node_modules/bulma/sass/form/select.sass
@@ -0,0 +1,85 @@
+.select
+ display: inline-block
+ max-width: 100%
+ position: relative
+ vertical-align: top
+ &:not(.is-multiple)
+ height: $input-height
+ &:not(.is-multiple):not(.is-loading)
+ &::after
+ @extend %arrow
+ border-color: $input-arrow
+ right: 1.125em
+ z-index: 4
+ &.is-rounded
+ select
+ border-radius: $radius-rounded
+ padding-left: 1em
+ select
+ @extend %input
+ cursor: pointer
+ display: block
+ font-size: 1em
+ max-width: 100%
+ outline: none
+ &::-ms-expand
+ display: none
+ &[disabled]:hover,
+ fieldset[disabled] &:hover
+ border-color: $input-disabled-border-color
+ &:not([multiple])
+ padding-right: 2.5em
+ &[multiple]
+ height: auto
+ padding: 0
+ option
+ padding: 0.5em 1em
+ // States
+ &:not(.is-multiple):not(.is-loading):hover
+ &::after
+ border-color: $input-hover-color
+ // Colors
+ @each $name, $pair in $colors
+ $color: nth($pair, 1)
+ &.is-#{$name}
+ &:not(:hover)::after
+ border-color: $color
+ select
+ border-color: $color
+ &:hover,
+ &.is-hovered
+ border-color: bulmaDarken($color, 5%)
+ &:focus,
+ &.is-focused,
+ &:active,
+ &.is-active
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
+ // Sizes
+ &.is-small
+ +control-small
+ &.is-medium
+ +control-medium
+ &.is-large
+ +control-large
+ // Modifiers
+ &.is-disabled
+ &::after
+ border-color: $input-disabled-color
+ &.is-fullwidth
+ width: 100%
+ select
+ width: 100%
+ &.is-loading
+ &::after
+ @extend %loader
+ margin-top: 0
+ position: absolute
+ right: 0.625em
+ top: 0.625em
+ transform: none
+ &.is-small:after
+ font-size: $size-small
+ &.is-medium:after
+ font-size: $size-medium
+ &.is-large:after
+ font-size: $size-large