de.swm.commons.mobile.client.theme.bootstrap.css.selectpanel.css Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swm-mobile Show documentation
Show all versions of swm-mobile Show documentation
GWT Bibliothek fuer Mobile Plattformen der SWM
@if swmmobile.css pretty {
@external selectPanel, pressed, disabled;
}
.selectPanel {
position:relative;
display: \-webkit-box;
\-webkit-box-orient: vertical;
display: -ms-flexbox;
-ms-flex-direction: column;
}
.selectPanel > div {
border-bottom:1px solid #333333;
border-top:1px solid #666666;
padding: 0.3em 0.3em 0.3em 0.3em;
display: \-webkit-box;
\-webkit-box-orient: horizontal;
\-webkit-box-pack: justify;
\-webkit-box-align: center;
/* background-image: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142))'); */
background-color: white;
display: -ms-flexbox;
-ms-flex-direction: row;
-ms-flex-pack: justify;
-ms-flex-align: center;
}
.selectPanel > div:first-child {
border-top:0px;
}
.selectPanel > div:last-child {
border-bottom:0px;
}
.selectPanel > div.pressed {
color: white;
background: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(lightgreen), color-stop(0.5, #298C08), color-stop(0.5, darkgreen), to(darkgreen))');
background: literal('linear-gradient(to bottom, lightgreen 0%, #298C08 50%, darkgreen 50%, darkgreen 100%)');
}
.selectPanel > div.disabled {
color: gray;
}
.selectPanel > div > div {
white-space: nowrap;
-webkit-user-select: none;
}
.selectPanel > div > img {
margin-left: 0.5em;
}