Light12306/Web12306/css/ui/widget.css

77 lines
1.2 KiB
CSS
Raw Normal View History

2014-07-01 20:07:44 +08:00
#mask {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 1000;
background: #000;
opacity: 0;
transition: all 0.2s linear;
display: none;
}
#mask.final {
opacity: 0.6;
transition: all 0.2s linear;
}
.float-dialog {
display: none;
left: 50%;
top: 50%;
position: fixed;
z-index: 1001;
box-shadow: 5px 5px 20px rgba(100, 100, 100, 0.5);
border-radius: 10px;
background-color: #f6f6f6;
}
2014-08-26 21:29:58 +08:00
.float-dialog > header {
line-height: 32px;
2014-07-01 20:07:44 +08:00
font-size: 16px;
border-bottom: 1px solid #c6c6c6;
color: #333333;
text-indent: 30px;
font-weight: bold;
position: relative;
2014-08-26 21:29:58 +08:00
padding: 10px;
2014-07-01 20:07:44 +08:00
}
2014-08-26 21:29:58 +08:00
.float-dialog > header .fa {
2014-07-01 20:07:44 +08:00
color: #999;
position: absolute;
right: 20px;
top: 50%;
2014-08-26 21:29:58 +08:00
margin-top: -8px;
2014-07-01 20:07:44 +08:00
cursor: pointer;
font-size: 16px;
}
2014-08-26 21:29:58 +08:00
.float-dialog > header .fa:hover {
2014-07-01 20:07:44 +08:00
color: #444;
}
2014-08-26 21:29:58 +08:00
.float-dialog > section {
2014-07-01 20:07:44 +08:00
padding: 20px 30px 15px 30px;
}
2014-08-26 21:29:58 +08:00
.float-dialog > footer {
2014-07-01 20:07:44 +08:00
padding: 0 30px 20px 30px;
text-align: center;
}
2014-08-26 21:29:58 +08:00
.float-dialog > footer button,
.float-dialog > footer a {
2014-07-01 20:07:44 +08:00
margin-right: 10px;
width: 150px;
}
2014-08-26 21:29:58 +08:00
.float-dialog > footer button:last-child,
.float-dialog > footer a:last-child {
2014-07-01 20:07:44 +08:00
margin-right: 0;
}
.cancel-button {
}