de.swm.commons.mobile.client.theme.bootstrap.css.toolbarpanel.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 toolbarPanel, selected, badge;
}
@external gwt-Image;
.toolbarPanel {
width:100%;
\-webkit-box-flex: 1;
display: \-webkit-box;
\-webkit-user-select: none;
\-webkit-box-orient: vertical;
}
/*toolbar header panel*/
.toolbarPanel > div:last-child {
display: \-webkit-box;
\-webkit-box-orient: horizontal;
\-webkit-box-shadow: rgb(246, 246, 246) 0 0 1em;
background: #f6f6f6;
position: relative;
z-index: 1;
}
/*tab header*/
.toolbarPanel > div:last-child > div {
\-webkit-box-flex: 1;
display: \-webkit-box;
\-webkit-box-orient: vertical;
\-webkit-box-align: center;
\-webkit-box-pack: center;
min-height: 2em;
font-size: 0.8em;
padding-bottom: 2px;
padding-top: 2px;
background-image: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(#D5D5D5), to(#f5f5f5))');
}
.toolbarPanel > div:last-child > div.selected {
background-image: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(#D5D5D5), to(#A09D9D))');
}
.toolbarPanel > div:last-child > div.selected .gwt-Image {
opacity: 1;
}
.toolbarPanel > div:last-child > div .gwt-Image {
opacity: 0.5;
}
/*tab content panel*/
.toolbarPanel > div:first-child {
position: relative;
\-webkit-box-flex: 1;
-ms-flex: 1;
}
/*tab content*/
.toolbarPanel > div:first-child > div {
position:absolute;
display: \-webkit-box;
height: 100%;
width: 100%;
display: -ms-flexbox;
}
.badge {
padding-left: 5px;
padding-right: 5px;
text-align: center;
background: -webkit-linear-gradient(top,#FF444D,#BC0003);
position: absolute;
top:2px;
margin-left: 20px;
border: 2px solid #FFFFFF;
color:#FFFFFF;
font: bold 16px Helvetica;
border-radius: 18px;
box-shadow: 0px 4px 3px #000;
line-height: 18px;
z-index: 1000;
background: literal('linear-gradient(to bottom, #FF444D 0%, #BC0003 100%)');
}