Under the hood changes

Minor changes to table and contextual to be more up-to-date with the rest of the framework's modules.
This commit is contained in:
Angelos Chalaris 2017-06-05 19:05:07 +03:00
parent fb3b8e20d1
commit 7296765cd0
5 changed files with 8 additions and 10 deletions

View file

@ -1354,7 +1354,7 @@ table th:first-child, table td:first-child {
width: 100%;
border: 1px solid #c9c9c9;
}
table.horizontal th + th, table.horizontal th + td, table.horizontal td + th, table.horizontal td + td {
table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) {
border-top: 0;
}
table.horizontal th {
@ -1424,7 +1424,7 @@ table th:first-child, table td:first-child {
width: 100%;
border: 1px solid #c9c9c9;
}
table.horizontal.preset th + th, table.horizontal.preset th + td, table.horizontal.preset td + th, table.horizontal.preset td + td {
table.horizontal.preset th:not(:first-child), table.horizontal.preset td:not(:first-child) {
border-top: 0;
}
table.horizontal.preset th {
@ -1733,9 +1733,6 @@ mark.inline-block {
clip-path: inset(100%);
transition: all 0.3s;
z-index: 1010;
}
.tooltip:before, .tooltip:after {
left: 50%;
}

File diff suppressed because one or more lines are too long

View file

@ -1215,3 +1215,6 @@
- Moved `input_control`'s `disabled` styling to low-specificity behind the existing flag, saved another `0.05KB`, which is quite a big change. Parsing should also be faster than before. Good catch, **hugging cat**!
- Lowered specificity of selectors used in `.button-group` for styling `border`s, cut off another `0.02KB`.
- Added styling for `:disabled` on `checkbox` and `radio`, pushed the size back up a little bit.
- Merged some styles in `contextual` in regards to `.tooltip`.
- Changed `table` selectors to use `:not(:first-child)`, similarly to other modules.
- All changes have been tested and no errors were found (as far as I can tell).

View file

@ -88,8 +88,6 @@ mark {
transition: all 0.3s;
// Remember to keep this index a lower value than the one used for stickies.
z-index: 1010; // Deals with certain problems when combined with cards and tables.
}
&:before, &:after {
left: 50%;
}
&:not(.#{$tooltip-bottom-name}):before, &:not(.#{$tooltip-bottom-name}):after { // Top (default) tooltip styling

View file

@ -185,7 +185,7 @@ table {
width: 100%;
border: $table-border-style; // Apply to overwrite.
@if $table-border-style != 0 {
& + th, & + td {
&:not(:first-child) {
border-top: 0;
}
}
@ -272,7 +272,7 @@ table {
width: 100%;
border: $table-border-style; // Apply to overwrite.
@if $table-border-style != 0 {
& + th, & + td {
&:not(:first-child){
border-top: 0;
}
}