de.swm.commons.mobile.client.theme.bright.css.toolbarpanel.css Maven / Gradle / Ivy
@if swmmobile.css pretty {
@external toolbarPanel, selected, badge;
}
@external gwt-Image, gwt-Label;
.toolbarPanel {
width:100%;
\-webkit-box-flex: 1;
display: \-webkit-box;
\-webkit-box-orient: vertical;
\-webkit-box-orient: vertical;
}
/*toolbar header panel*/
.toolbarPanel > div:last-child {
display: \-webkit-box;
\-webkit-box-orient: horizontal;
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: 4px;
padding-top: 10px;
background: #ffffff;
border: 1px solid #004180;
color: #004180
}
.toolbarPanel > div:last-child > div.selected > div.gwt-Label {
color: #004180;
font-weight: bold;
}
.toolbarPanel > div:last-child > div.selected .gwt-Image {
opacity: 1;
}
.toolbarPanel > div:last-child > div .gwt-Image {
opacity: 0.5;
margin-bottom: 4px;
}
.toolbarPanel > div:last-child > div > div.gwt-Label {
color: grey;
}
/*tab content panel*/
.toolbarPanel > div:first-child {
position: relative;
\-webkit-box-flex: 1;
}
/*tab content*/
.toolbarPanel > div:first-child > div {
position:absolute;
display: \-webkit-box;
height: 100%;
width: 100%;
}
.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;
}