New stuff
This commit is contained in:
parent
db96a298fb
commit
f97f76ee3d
30 changed files with 1463 additions and 1146 deletions
76
elements/_tables.scss
Normal file
76
elements/_tables.scss
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
// Table
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
table {
|
||||
margin-top: $space_2;
|
||||
margin-bottom: $space_2;
|
||||
border: $basic_border;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th, td {
|
||||
@extend %basic;
|
||||
padding: $half_space;
|
||||
}
|
||||
|
||||
th {
|
||||
border: $basic_border;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.precol {
|
||||
border-right: $basic_border;
|
||||
}
|
||||
|
||||
td {
|
||||
border-right: $cell_border;
|
||||
border-bottom: $cell_border;
|
||||
}
|
||||
|
||||
td:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
tr:first-child td {
|
||||
border-top: $basic_border;
|
||||
}
|
||||
}
|
||||
|
||||
.table_blank {
|
||||
border: $basic_border_width solid transparent;
|
||||
|
||||
th, td {
|
||||
border: $basic_border_width solid transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.table_free {
|
||||
border: $basic_border_width solid transparent;
|
||||
}
|
||||
|
||||
.table_stripe {
|
||||
td {
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
tr:nth-child(even) td {
|
||||
background-color: $bright_color;
|
||||
}
|
||||
}
|
||||
|
||||
.table_fix {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
caption {
|
||||
@extend p;
|
||||
padding: $half_space 0;
|
||||
border: $basic_border_width dotted $basic_border_color;
|
||||
text-align: center;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue