mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 22:44:13 +08:00
Cleanup
This commit is contained in:
@@ -221,26 +221,36 @@ a.list-item {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.3; }
|
||||
|
||||
/* the container of panel content to show */
|
||||
.panel-content {
|
||||
display: block;
|
||||
width: 17em;
|
||||
[data-panel] {
|
||||
display: none;
|
||||
min-height: 100%;
|
||||
max-height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
z-index: 0; }
|
||||
|
||||
.panel-active {
|
||||
display: block;
|
||||
width: 270px; }
|
||||
|
||||
header, main, footer {
|
||||
z-index: 100;
|
||||
left: 0;
|
||||
right: 0;
|
||||
-webkit-transition: -webkit-transform 200ms ease;
|
||||
-moz-transition: -moz-transform 200ms ease;
|
||||
transition: transform 200ms ease;
|
||||
-webkit-transition: -webkit-transform 300ms ease;
|
||||
-moz-transition: -moz-transform 300ms ease;
|
||||
transition: transform 300ms ease;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0); }
|
||||
|
||||
.panel-opened > section > header,
|
||||
.panel-opened > section > main,
|
||||
.panel-opened > section > footer {
|
||||
-webkit-transform: translate3d(270px, 0, 0);
|
||||
-moz-transform: translate3d(270px, 0, 0);
|
||||
transform: translate3d(270px, 0, 0); }
|
||||
|
||||
.ptr-capable {
|
||||
-webkit-user-drag: element; }
|
||||
|
||||
@@ -524,7 +534,7 @@ main {
|
||||
a.list-item {
|
||||
color: #333333; }
|
||||
|
||||
.panel-content {
|
||||
[data-panel] {
|
||||
background: #eeeeee;
|
||||
border-right: 1px solid #bbbbbb; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user