mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 04:14:29 -07:00
Fix select colors
This commit is contained in:
@@ -149,11 +149,10 @@ $help-size: $size-small !default
|
||||
vertical-align: top
|
||||
&:not(.is-multiple)
|
||||
height: 2.25em
|
||||
&:not(.is-multiple):not(.is-loading)
|
||||
&::after
|
||||
+arrow($input-arrow)
|
||||
margin-top: -0.375em
|
||||
right: 1.125em
|
||||
top: 50%
|
||||
z-index: 4
|
||||
&.is-rounded
|
||||
select
|
||||
@@ -178,19 +177,25 @@ $help-size: $size-small !default
|
||||
option
|
||||
padding: 0.5em 1em
|
||||
// States
|
||||
&:hover
|
||||
&: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} select
|
||||
border-color: $color
|
||||
&:focus,
|
||||
&.is-focused,
|
||||
&:active,
|
||||
&.is-active
|
||||
box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
|
||||
&.is-#{$name}
|
||||
&:not(:hover)::after
|
||||
border-color: $color
|
||||
select
|
||||
border-color: $color
|
||||
&:hover,
|
||||
&.is-hovered
|
||||
border-color: darken($color, 5%)
|
||||
&:focus,
|
||||
&.is-focused,
|
||||
&:active,
|
||||
&.is-active
|
||||
box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
|
||||
// Sizes
|
||||
&.is-small
|
||||
+control-small
|
||||
|
||||
Reference in New Issue
Block a user