manager.css 2.24 KB
* {
    margin: 0;
    padding: 0;
    font-size: 12px;
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
.error {
    color: #f46d6d;
}
header {
    position: relative;
    padding: 10px;
    height: 42px;
    border-bottom: 1px solid #eee;
}
header h4 {
    font-size: 16px;
    color: rgba(0,0,0,.87);
}
#btn {
    position: absolute;
    display: block;
    right: 10px;
    top: 8px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
    background: #108efc;
    border-radius: 3px;
}
section {
    position: absolute;
    top: 42px;
    bottom: 0;
    width: 100%;
    background: #f7f7f7;
    padding: 10px;
}
section > div {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
table {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(34,36,38,.15);
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: .28571429rem;
    text-align: left;
    color: rgba(0,0,0,.87);
    border-collapse: separate;
    border-spacing: 0;
    word-break: break-all;
    visibility: hidden;
}
table thead,
table tbody {
    width: 100%;
}
table > div {
    display: block;
    height: 500px;
    overflow: hidden;
    overflow-y: auto;
}
table tr {  
    width: 100%;
    background: #fff;
    margin: 1em 0;
    border: 1px solid rgba(34,36,38,.15);
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: .28571429rem;
    text-align: left;
    color: rgba(0,0,0,.87);
    border-collapse: separate;
    border-spacing: 0;
}

table tr:nth-child(2n) {
    background-color: rgba(0,0,50,.02);
}
.no-record {
    text-align: center;
    font-size: 12px;
    padding: 7px 0;
}
table thead th {
    cursor: auto;
    background: #f9fafb;
    text-align: inherit;
    color: rgba(0,0,0,.87);
    padding: .92857143em .78571429em;
    vertical-align: inherit;
    font-style: none;
    font-weight: 700;
    text-transform: none;
    border-bottom: 1px solid rgba(34,36,38,.1);
    border-left: none;
}

table td {
    padding: .78571429em .78571429em;
    text-align: inherit;
    border-top: 1px solid rgba(34,36,38,.1);
    border-left: 1px solid rgba(34,36,38,.1);
}

tr td:first-child,
tr th:first-child {
    border-left: none;
}

tbody tr:first-child td {
    border-top: none;
}