de.swm.commons.mobile.client.theme.base.css.scrollpanel.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 scrollPanel, simpleScrollPanel, scrollbar, scrollbarTable, scrollbarFiller, scrollbarRail, scrollbarIndicator;
}
.scrollPanel {
\-webkit-transition-property: \-webkit-transform, top;
\-webkit-transition-timing-function: cubic-bezier\(0,0,0.25,1\);
\-webkit-box-flex: 10;
display: \-webkit-box;
\-webkit-box-orient: vertical;
overflow: hidden;
padding-top: .3em;
padding-bottom: .5em;
transition-property: transform, top;
transition-timing-function: cubic-bezier\(0,0,0.25,1\);
-ms-flex: 10;
display: -ms-flexbox;
-ms-flex-direction: column;
}
.scrollPanel > * {
position: relative;
}
.simpleScrollPanel {
width: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
-webkit-box-flex: 1.0;
display: -webkit-box;
-webkit-box-orient: vertical;
padding-top: .3em;
padding-bottom: .5em;
display: -ms-flexbox;
-ms-flex-direction: column;
-webkit-box-flex: 1.0;
-ms-flex: 1.0;
}
.simpleScrollPanel > * {
position: relative;
}
.scrollbar {
position: absolute;
width: 100%;
height: 100%;
display: block;
box-sizing: border-box;
}
.scrollbarTable {
display: table;
width: 100%;
height: 100%;
}
.scrollbarFiller {
width: 100%;
height: 100%;
display: table-cell;
}
.scrollbarPanel {
padding: 3px 3px 0px 0px;
display: table-cell;
}
.scrollbarRail {
width: 6px;
position: relative;
}
.scrollbarIndicator {
-webkit-transform: translate3d(0px, -10000px, 0px);
width: 100%;
position: absolute;
z-index: 3;
border-radius: 3px;
background-color: white;
height: 10px;
}