mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 11:26:04 +01:00
Table CSS improvements
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.7.2
|
||||
## dd/mm/2018
|
||||
|
||||
1. [](#improved)
|
||||
* Table CSS improvements for use in 3rd party plugins
|
||||
|
||||
# v1.7.1
|
||||
## 03/11/2018
|
||||
|
||||
|
||||
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -20,24 +20,14 @@ tr {
|
||||
@include display(flex);
|
||||
@include flex-wrap(wrap);
|
||||
|
||||
th {
|
||||
th, td {
|
||||
display: block;
|
||||
@include flex(1);
|
||||
font-weight: bold;
|
||||
|
||||
&:first-child {
|
||||
padding-left: $padding-default;
|
||||
&.shrink {
|
||||
@include flex(0);
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
padding-right: $padding-default;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
display: block;
|
||||
@include flex(1);
|
||||
|
||||
&.double {
|
||||
@include flex(2);
|
||||
}
|
||||
@@ -80,13 +70,48 @@ tr {
|
||||
@include breakpoint(mobile-only) {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
padding-right: $padding-default;
|
||||
|
||||
@include breakpoint(mobile-only) {
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
&.ellipsis {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
&.rtl {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
&.rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td {
|
||||
|
||||
&.gpm-actions {
|
||||
padding-right: $padding-default + 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user