79 lines
1.4 KiB
CSS
79 lines
1.4 KiB
CSS
.classTable,
|
|
.classTable2 {
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
text-align: center;
|
|
border-collapse: collapse;
|
|
border-spacing: 1px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.classTable tr td,
|
|
.classTable tr th,
|
|
.classTable2 tr td,
|
|
.classTable2 tr th {
|
|
height: 50px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #ddd;
|
|
padding: 10px 20px;
|
|
text-align: left;
|
|
text-align: center;
|
|
}
|
|
|
|
.classTable tr td,
|
|
.classTable tr th {
|
|
width: 20%;
|
|
}
|
|
|
|
.classTable tr td:nth-child(3),
|
|
.classTable tr th:nth-child(3),
|
|
.classTable tr td:nth-child(4),
|
|
.classTable tr th:nth-child(4) {
|
|
width: 10%;
|
|
}
|
|
|
|
.classTable2 tr td,
|
|
.classTable2 tr th {
|
|
width: 16%
|
|
}
|
|
|
|
.classTable2 tr td:nth-child(3),
|
|
.classTable2 tr th:nth-child(3),
|
|
.classTable2 tr td:nth-child(4),
|
|
.classTable2 tr th:nth-child(4) .classTable2 tr td:nth-child(7),
|
|
.classTable2 tr th:nth-child(7) {
|
|
width: 12%;
|
|
}
|
|
|
|
.required {
|
|
color: red;
|
|
margin: 0 4px;
|
|
font-weight: bold;
|
|
line-height: 1.8em;
|
|
top: 6px;
|
|
right: 5px;
|
|
}
|
|
|
|
#basic-box {
|
|
height: calc(100% - 200px);
|
|
}
|
|
|
|
/**自定义滚动条样式 */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-color: transparent;
|
|
-webkit-border-radius: 2em;
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #9c9da0;
|
|
-webkit-border-radius: 2em;
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em
|
|
} |