gulp and file structure overhaul
new gulp setup including new npm packages new file structure moved all development files to source/ used files are in build/ now
This commit is contained in:
parent
3a2140dad6
commit
a4a1fbc14d
56 changed files with 6912 additions and 5247 deletions
80
source/style/elements/_tables.scss
Normal file
80
source/style/elements/_tables.scss
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
// Table
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
table {
|
||||
margin: $high_margin;
|
||||
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: rgba($brightest_color, .1);
|
||||
}
|
||||
}
|
||||
|
||||
.table__fix {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
caption {
|
||||
@extend p;
|
||||
padding: $half_space 0;
|
||||
border: $dotted_border;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// Data
|
||||
.table__file_simple {
|
||||
@extend .width_full;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue