initial
This commit is contained in:
42
themes/next/source/css/_common/scaffolding/tables.styl
Normal file
42
themes/next/source/css/_common/scaffolding/tables.styl
Normal file
@ -0,0 +1,42 @@
|
||||
.table-container {
|
||||
margin: 20px 0;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.highlight .table-container {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
table {
|
||||
width: $table-width;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
font-size: $table-font-size;
|
||||
}
|
||||
|
||||
table > tbody > tr {
|
||||
&:nth-of-type(odd) { background-color: $table-row-odd-bg-color; }
|
||||
&:hover { background-color: $table-row-hover-bg-color; }
|
||||
}
|
||||
|
||||
caption, th, td {
|
||||
padding: $table-cell-padding;
|
||||
text-align: $table-content-alignment;
|
||||
vertical-align: $table-content-vertical;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1px solid $table-border-color;
|
||||
border-bottom: 3px solid $table-cell-border-bottom-color;
|
||||
}
|
||||
|
||||
th {
|
||||
padding-bottom: 10px;
|
||||
font-weight: $table-th-font-weight;
|
||||
}
|
||||
|
||||
td {
|
||||
border-bottom-width: 1px;
|
||||
}
|
Reference in New Issue
Block a user