mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-09-03 11:02:43 +02:00
Changes requested made like adding table-layout property, usage of the $base-color variable, added word-wrap property and removed the box-shadow unused values.
This commit is contained in:
14
css/nes.css
14
css/nes.css
@@ -723,6 +723,7 @@ button,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
|
table-layout: fixed;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -736,15 +737,20 @@ button,
|
|||||||
|
|
||||||
.table.is-bordered th,
|
.table.is-bordered th,
|
||||||
.table.is-bordered td {
|
.table.is-bordered td {
|
||||||
padding: 8.5px;
|
padding: 0.5rem;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table.is-bordered tr th {
|
.table.is-bordered tr th + th {
|
||||||
box-shadow: 0 0 #212529, 0 0 #212529, -4px 0 #212529, 0 0 #212529;
|
box-shadow: -4px 0 #212529;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table.is-bordered tr td {
|
.table.is-bordered tr td {
|
||||||
box-shadow: 0 0 #212529, 0 -4px #212529, 0 0 #212529, -4px 0 #212529;
|
box-shadow: 0 -4px #212529;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table.is-bordered tr td:not(:first-child) {
|
||||||
|
box-shadow: -4px 0 #212529, 0 -4px #212529;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
|
File diff suppressed because one or more lines are too long
3
css/nes.min.css
vendored
3
css/nes.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,23 +1,29 @@
|
|||||||
.table {
|
.table {
|
||||||
|
table-layout: fixed;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
&.is-centered th {
|
&.is-centered th {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
&.is-bordered {
|
&.is-bordered {
|
||||||
box-shadow: 4px 0 #212529, 0 -4px #212529, -4px 0 #212529, 0 4px #212529;
|
box-shadow: 4px 0 $base-color, 0 -4px $base-color, -4px 0 $base-color, 0 4px $base-color;
|
||||||
|
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
padding: 8.5px;
|
padding: 0.5rem;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr th {
|
tr {
|
||||||
box-shadow: 0 0 #212529, 0 0 #212529, -4px 0 #212529, 0 0 #212529;
|
th + th {
|
||||||
|
box-shadow: -4px 0 $base-color;
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
box-shadow: 0 -4px $base-color;
|
||||||
|
}
|
||||||
|
td:not(:first-child) {
|
||||||
|
box-shadow: -4px 0 $base-color, 0 -4px $base-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr td {
|
|
||||||
box-shadow: 0 0 #212529, 0 -4px #212529, 0 0 #212529, -4px 0 #212529;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user