mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Added basic toderp
This commit is contained in:
23
dist/ionic.css
vendored
23
dist/ionic.css
vendored
@@ -23,19 +23,27 @@ ul {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
main {
|
||||
.page, .full-section {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow: auto;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
-webkit-overflow-scrolling: touch; }
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
background-color: #fff; }
|
||||
|
||||
.content {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
|
||||
/* Hack to force all relatively and absolutely positioned elements still render while scrolling
|
||||
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
|
||||
main > * {
|
||||
.content > *, .content-padded > * {
|
||||
-webkit-transform: translateZ(0px);
|
||||
transform: translateZ(0px); }
|
||||
|
||||
@@ -46,12 +54,6 @@ main > * {
|
||||
position: fixed;
|
||||
z-index: 1; }
|
||||
|
||||
.full-section {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
height: 100%; }
|
||||
|
||||
.rounded {
|
||||
border-radius: 5px; }
|
||||
|
||||
@@ -1059,6 +1061,7 @@ a.list-item {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 0;
|
||||
background-color: #fff;
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user