mirror of https://github.com/RubaXa/Ply.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
139 lines
2.3 KiB
139 lines
2.3 KiB
11 years ago
|
/* Loading */
|
||
|
.ply-loading {
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
padding: 30px;
|
||
|
width: 60px;
|
||
|
height: 60px;
|
||
|
margin: -100px 0 0 -60px;
|
||
|
z-index: 100000;
|
||
|
position: fixed;
|
||
|
border-radius: 10%;
|
||
|
background-color: rgba(255,255,255,.5);
|
||
|
box-shadow: 0 1px 2px rgba(0,0,0,.2);
|
||
|
}
|
||
|
|
||
|
.ply-loading-spinner {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
opacity: .9;
|
||
|
background: #fff;
|
||
|
border-radius: 100%;
|
||
|
overflow: hidden;
|
||
|
position: relative;
|
||
|
box-shadow: 0 1px 3px rgba(0,0,0,.6);
|
||
|
}
|
||
|
|
||
|
.ply-loading-spinner::before {
|
||
|
content: "";
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
background: #333;
|
||
|
max-height: 0;
|
||
|
-webkit-animation: loading 3s normal infinite;
|
||
|
animation: loading 3s normal infinite;
|
||
|
}
|
||
|
|
||
|
@keyframes loading {
|
||
|
0% { max-height: 0; }
|
||
|
50% { max-height: 100%; top: 0; }
|
||
|
100% { max-height: 0; top: 120%; }
|
||
|
}
|
||
|
|
||
|
@-webkit-keyframes loading {
|
||
|
0% { max-height: 0; }
|
||
|
50% { max-height: 100%; top: 0; }
|
||
|
100% { max-height: 0; top: 120%; }
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Layer */
|
||
|
.ply-layer {
|
||
|
color: #333;
|
||
|
min-width: 280px;
|
||
|
box-shadow: 0 0 3px rgba(0,0,0,.3);
|
||
|
background-color: #fff;
|
||
|
border-radius: 2px;
|
||
|
font-family: "Arial", Helvetica;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
.ply-layer.alert .ply-content,
|
||
|
.ply-layer.confirm .ply-content {
|
||
|
padding: 40px 30px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.ply-layer.alert .ply-footer,
|
||
|
.ply-layer.confirm .ply-footer,
|
||
|
.ply-layer.prompt .ply-footer {
|
||
|
text-align: center;
|
||
|
padding-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
|
||
|
.ply-header {
|
||
|
padding: 10px 20px;
|
||
|
font-size: 18px;
|
||
|
background-color: #f1f1f1;
|
||
|
border-radius: 2px 2px 0 0;
|
||
|
}
|
||
|
|
||
|
.ply-content {
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.ply-footer {
|
||
|
padding: 0 20px 15px;
|
||
|
}
|
||
|
.ply-footer button {
|
||
|
margin-left: 20px;
|
||
|
}
|
||
|
.ply-footer button:first-child {
|
||
|
margin-left: 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Controls */
|
||
|
.ply-ok,
|
||
|
.ply-cancel {
|
||
|
color: #fff;
|
||
|
cursor: pointer;
|
||
|
border: 0;
|
||
|
outline: 0;
|
||
|
padding: 5px 20px;
|
||
|
box-shadow: 0 1px 1px rgba(0,0,0,.2);
|
||
|
background-color: #39C082;
|
||
|
border-radius: 3px;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
.ply-ok {
|
||
|
width: 100px;
|
||
|
}
|
||
|
|
||
|
.ply-cancel {
|
||
|
background-color: #b2b2b2;
|
||
|
}
|
||
|
.ply-ok:focus,
|
||
|
.ply-cancel:focus {
|
||
|
box-shadow: 0 0 1px 2px rgba(255, 180, 0, .6);
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Forms */
|
||
|
.ply-input {
|
||
|
width: 100%;
|
||
|
border: 2px solid #ccc;
|
||
|
outline: 0;
|
||
|
padding: 5px 10px;
|
||
|
font-size: 16px;
|
||
|
font-family: "Arial", Helvetica;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
.ply-input:focus {
|
||
|
border-color: #39C082;
|
||
|
}
|