1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-21 13:31:24 +02:00

Added tables.scss. Changed nes.css, map and min. Added tables.scss to _index.scss.

This commit is contained in:
Igor Guastalla de Lima
2018-11-29 20:11:28 -02:00
parent 66bd33a590
commit 3277cae6e0
6 changed files with 74 additions and 34 deletions

View File

@@ -5,3 +5,4 @@
@import "radios.scss";
@import "checkboxes.scss";
@import "balloons.scss";
@import "tables.scss";

36
scss/elements/tables.scss Normal file
View File

@@ -0,0 +1,36 @@
.table {
&.is-centered th {
text-align: center;
}
&.is-bordered {
box-shadow: 0 -4px #212529, 0 -8px #fff, 4px 0 #212529, 4px -4px #fff, 8px 0 #fff, 0 4px #212529,
0 8px #fff, -4px 0 #212529, -4px 4px #fff, -8px 0 #fff, -4px -4px #fff, 4px 4px #fff;
th,
td {
padding: 8.5px;
}
tr th {
box-shadow: 0 -4px #212529, 0 -8px #fff, 0 0 #212529, 4px -4px #fff, 8px 0 #fff, 0 4px #212529,
0 8px #fff, -4px 0 #212529, -4px 4px #fff, -8px 0 #fff, -4px -4px #fff, 4px 4px #fff;
}
tr th:last-child {
box-shadow: 0 -4px #212529, 0 -8px #fff, 4px 0 #212529, 4px -4px #fff, 8px 0 #fff,
0 4px #212529, 0 8px #fff, -4px 0 #212529, -4px 4px #fff, -8px 0 #fff, -4px -4px #fff,
4px 4px #fff;
}
tr td {
box-shadow: 0 4px #212529, 4px 6px #fff, 1px 0 #212529, 4px 4px #fff, 1px 0 #fff,
-4px 4px #212529, 4px 4px #fff, -4px 0 #212529, -2px 8px #fff, 0 4px #fff, 1px 0 #fff,
0 0 #fff;
}
tr td:last-child {
box-shadow: 0 0 #212529, 0 -8px #fff, 4px 0 #212527, 4px 0 #fff, 8px 0 #fff, 0 4px #212529,
0 -8px #fff, -4px 0 #212529, 0 4px #fff, -4px 0 #fff, 8px 0 #fff, -4px 0 #fff;
}
}
}