jam-cloud/web/app/assets/stylesheets/easydropdown_jk.css.scss

182 lines
2.9 KiB
SCSS

body.jam {
.easydropdown-wrapper {
display:inline-block;
}
.dropdown-wrapper {
position:relative;
.old {
display:none;
}
}
.dropdown-wrappper div.dropdown-container {
width:auto;
}
.dropdown-wrapper li{
display: block;
font-size: 18px;
line-height: 1;
color: #000;
padding: 9px 12px;
overflow: hidden;
white-space: nowrap;
}
.dropdown-wrapper div.dropdown-container {
position: absolute;
height: 0;
left: -1px;
top: 100%;
margin-top: -1px;
background: #fff;
border: 1px solid #ccc;
border-top: 1px solid #eee;
border-radius: 0 0 3px 3px;
overflow: hidden;
opacity: 0;
min-width:100%;
}
/* Height is adjusted by JS on open */
.dropdown-wrapper.open div.dropdown-container{
opacity: 1;
z-index: 2;
}
/* FADE OVERLAY FOR SCROLLING LISTS */
.dropdown-wrapper.scrollable div.dropdown-container::after{
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 50px;
z-index:-1;
box-shadow: inset 0 -50px 30px -35px #fff;
}
.dropdown-wrapper.scrollable.bottom div.dropdown-container::after{
opacity: 0;
}
/* DROP DOWN LIST */
.dropdown-wrapper ul{
position-wrapper: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
list-style: none;
overflow: hidden;
}
.dropdown-wrapper.scrollable.open ul{
overflow-y: auto;
}
/* DROP DOWN LIST ITEMS */
.dropdown-wrapper li{
list-style: none;
padding: 8px 12px;
}
/* .focus class is also added on hover */
.dropdown-wrapper li.focus{
background: #d24a67;
position: relative;
z-index: 3;
color: #fff;
}
.dropdown-wrapper li.active{
font-weight: 700;
}
.dropdown-wrapper li {
padding: 5px 5px;
font-size:15px;
color: #666666;
}
.dropdown-wrapper li {
margin:0;
padding:3px;
font-size:15px;
color: #666666;
&.focus {
background-color: #ed3618;
color:white;
}
}
.dropdown-wrapper ul {
background-color: #C5C5C5;
margin-left:0;
border-color:#888888;
border-style:solid;
border-width: 1px 0 0 1px;
}
}
body.jam div.dropdown {
background-color: #C5C5C5;
box-shadow: 2px 2px 3px 0 #888888 inset;
border-radius: 6px;
border-width:0;
width:auto;
padding-right:20px;
div.after {
box-shadow: 2px 2px 3px 0 #888888 inset;
}
div {
margin-top:2px;
}
.selected { min-height: 15px; }
.selected, .dropdown li {
padding: 5px 5px;
font-size:15px;
color: #666666;
}
.selected:after {
box-shadow: none;
}
.carat {
right: 5px;
}
li {
margin:0;
padding:3px;
font-size:15px;
color: #666666;
&.focus {
background-color: #ed3618;
color:white;
}
}
ul {
background-color: #C5C5C5;
margin-left:0;
border-color:#888888;
border-style:solid;
border-width: 1px 0 0 1px;
}
}