INGREDIENTS
1 serving
root {
1 serving
list-bg-color: #f4f4f4
1 serving
list-text-color: #23252f; /* use "inherit" to take on parent text color
1 serving
select-field-arrow-color: #23252f; /* this is the select field arrow color
1 serving
border-color-active: #585d78; /* active state
1 serving
border-color-hover: #23252f; /* select field could be the same as your form field border color
1/5
list-item-bg-color: rgba; /* select field hover/focus state
1 serving
list-padding-top-bottom: 10px; /* this is the top and bottom padding
1 serving
webkit-tap-highlight-color: transparent
1 serving
clear: both
1 serving
border-color: var)
1 serving
nice-select:active
1 serving
border-color: var)
1 serving
border-bottom: 2px solid var)
1 serving
border-right: 2px solid var)
1 serving
display: block
1 serving
margin-top: -4px
1 serving
top
1 serving
border-color: #ededed
999
color
1 serving
border-color: #cccccc
1 serving
nice-select.wide {
1 serving
nice-select.wide .list {
1 serving
font-size: 12px
1 serving
background-color: var)
1 serving
color: var)
1 serving
border-color: 3px solid #ededed
1 serving
margin-top: 4px
1 serving
top
1 serving
background-color: transparent !important
1 serving
list-style: none
1 serving
color: var)
1 serving
background-color: var)
1 serving
background-color: transparent
999
color
1 serving
display: block
1 serving
colors
1 serving
spacing
1 serving
select-field-padding-left: 12px; /* match the padding values
1 serving
select-field-padding-right: 12px; /* match the padding values
1 can
list-max-height: 150px; /* you set this to "auto" as
1 serving
list-item-padding-left: 18px
1 serving
list-item-padding-right: 18px
1 serving
list-item-min-height: 40px; /* this is the height of each list item in the dropdown
1 serving
list-item-line-height: 40px; /* this is the height of each list item in the dropdown
1 serving
make sure both "line-height" and "min-height" are the same
1 serving
}
1 serving
nice-select {
1 serving
box-sizing: border-box
1 serving
padding-left: var)
1 serving
padding-right: var)
1 serving
position: relative
1 serving
text-align: left !important
webkit-transition: all 2s ease-in-out
transition: all 2s ease-in-out
1 serving
webkit-user-select: none
1 oz
m -user-select: none
1 serving
ms-user-select: none
1 serving
user-select: none
1 serving
white-space: nowrap
1 serving
}
1 serving
nice-select:hover {
1 serving
}
1 serving
}
1 serving
nice-select:after {
1 serving
content
1 serving
height: 5px
1 serving
pointer-events: none
1 serving
position: absolute
1 serving
right: 12px
1 serving
webkit-transform-origin
1 serving
ms-transform-origin
1 serving
transform-origin
1 serving
webkit-transform: rotate)
1 serving
ms-transform: rotate)
1 serving
transform: rotate)
webkit-transition: all 15s ease-in-out
transition: all 15s ease-in-out
1 serving
width: 5px
1 serving
}
1 serving
nice-select.open:after {
1 serving
webkit-transform: rotate)
1 serving
ms-transform: rotate)
1 serving
transform: rotate)
1 serving
}
1 serving
nice-select.open .list {
1
1 serving
pointer-events: auto
1 serving
webkit-transform: scale translatey
1 serving
ms-transform: scale translatey
1 serving
transform: scale translatey
1 serving
}
1 serving
nice-select.disabled {
1 serving
pointer-events: none
1 serving
}
1 serving
nice-select.disabled:after {
1 serving
}
1 serving
width
1 serving
}
left: !important
right: !important
1 serving
}
1 serving
nice-select.right {
1 serving
float: right
1 serving
}
1 serving
nice-select.right .list {
1 serving
left: auto
? right: 0; right: 0; right 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
1 serving
}
1 serving
nice-select. {
1 serving
height: 36px
1 serving
line-height: 34px
1 serving
}
1 serving
nice-select.:after {
1 serving
height: 4px
1 serving
width: 4px
1 serving
}
1 serving
nice-select. .option {
1 serving
line-height: 34px
1 serving
min-height: 34px
1 serving
}
1 serving
nice-select .list {
1 serving
border-radius: 5px
box-shadow: 0 7px 20px 0px rgba
1 serving
box-sizing: border-box
? opacity: 0; opacity: 0; opacity 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
1 serving
overflow: hidden
1 serving
padding: var) 0px
1 serving
pointer-events: none
1 serving
position: absolute
? left: 0; left: 0; left 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
1 serving
overflow-y: scroll
1 serving
overflow-x: hidden
1 serving
max-height: var)
? -webkit-transform-origin: 50% 0; -webkit-transform-origin: 50% 0; webkit-transform-origin: % 0 0.0 50% 50% {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
? -ms-transform-origin: 50% 0; -ms-transform-origin: 50% 0; ms-transform-origin: % 0 0.0 50% 50% {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
? transform-origin: 50% 0; transform-origin: 50% 0; transform-origin: % 0 0.0 50% 50% {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
3/4
webkit-transform: scale) translatey)
3/4
ms-transform: scale) translatey)
3/4
transform: scale) translatey)
webkit-transition: all 2s cubic-bezier
transition: all 2s cubic-bezier
9
1 serving
}
1 serving
nice-select .list:hover .option:not) {
1 serving
}
1 serving
nice-select .option {
1 serving
cursor: pointer
400
1 serving
line-height: var)
1 serving
min-height: var)
1 serving
outline: none
1 serving
padding-left: var)
1 serving
padding-right: var)
1 serving
text-align: left
webkit-transition: all 2s
transition: all 2s
1 serving
}
1 serving
nice-select .option:first-child {
1 serving
display: none
1 serving
}
1 serving
span.current {
1 serving
}
1 serving
nice-select .option:hover
1 serving
}
1 serving
nice-select .option.selected {
1 serving
font-weight: bold
1 serving
}
1 serving
nice-select .option.disabled {
1 serving
cursor: default
1 serving
}
1 serving
no-csspointerevents .nice-select .list {
1 serving
display: none
1 serving
}
1 serving
no-csspointerevents .nice-select.open .list {
1 serving
}