react-ui-components
Version:
A collection of UI components for React
55 lines (44 loc) • 806 B
CSS
.mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
background: rgba(0, 0, 0, 0.3); }
.dialog-wrap {
position: fixed;
top: 0;
left: 0; }
.dialog {
position: absolute;
left: 50%;
top: 50%;
z-index: 1;
display: inline-block;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
background: #fff; }
.dialog-head {
line-height: 44px;
color: #666;
border-bottom: 1px solid #dadada;
box-shadow: 0 1px 4px #ddd; }
.dialog-body {
padding: 20px; }
.dialog-foot .btn {
float: right; }
body {
margin: 0; }
header {
text-align: center;
font-size: 24px;
line-height: 32px;
margin-bottom: 24px; }
.hide {
display: none; }
#main {
text-align: center; }
.dialog-foot .btn {
font-size: 14px;
line-height: 21px;
margin: 10px; }