mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
95 lines
1.7 KiB
CSS
95 lines
1.7 KiB
CSS
body {
|
|
cursor: url('http://ionicframework.com/img/finger.png'), auto;
|
|
}
|
|
/* Your app's CSS, go crazy, make it your own */
|
|
|
|
.ionic-logo {
|
|
display: block;
|
|
margin: 15px auto;
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
.pane {
|
|
background-color: #333 !important
|
|
}
|
|
.bar.bar-transparent {
|
|
background-color: transparent;
|
|
background-image: none;
|
|
border: none;
|
|
}
|
|
.bar .title {
|
|
color: #eee;
|
|
}
|
|
.swipe-cards {
|
|
position: fixed;
|
|
}
|
|
.swipe-card {
|
|
-webkit-perspective: 1000;
|
|
-webkit-backface-visibility: hidden;
|
|
display: none;
|
|
position: fixed;
|
|
-webkit-transform: scale(1, 1);
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 300px;
|
|
height: 300px;
|
|
margin-left: -150px;
|
|
margin-top: -150px;
|
|
box-sizing: border-box;
|
|
background-color: rgb(255, 255, 255);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
-webkit-animation-fill-mode: forwards;
|
|
}
|
|
.swipe-card .title {
|
|
height: 40px;
|
|
padding: 5px;
|
|
line-height: 30px;
|
|
color: #444;
|
|
}
|
|
.swipe-card .image {
|
|
overflow: hidden;
|
|
max-height: 210px;
|
|
}
|
|
.swipe-card .button {
|
|
border: none;
|
|
}
|
|
.swipe-card .image img {
|
|
width: 100%;
|
|
border-radius: 0px 0px 4px 4px;
|
|
}
|
|
#start-card {
|
|
color: #fff;
|
|
background-color: #30BD8A;
|
|
line-height: 300px;
|
|
word-wrap: break-word;
|
|
border: 6px solid #4CD68E;
|
|
text-align: center;
|
|
}
|
|
#start-card span {
|
|
display: inline-block;
|
|
line-height: 40px;
|
|
width: 200px;
|
|
font-size: 30px;
|
|
vertical-align: middle;
|
|
}
|
|
#footer .button {
|
|
color: #fff;
|
|
}
|
|
@-webkit-keyframes bounceIn {
|
|
0% {
|
|
-webkit-transform: scale(0, 0);
|
|
}
|
|
70% {
|
|
-webkit-transform: scale(1.2, 1.2);
|
|
}
|
|
100% {
|
|
-webkit-transform: scale(1, 1);
|
|
}
|
|
}
|
|
.swipe-card.pop-in-start {
|
|
-webkit-transform: scale(0, 0);
|
|
}
|
|
.swipe-card.pop-in {
|
|
-webkit-animation: bounceIn 0.3s ease-out;
|
|
} |