Files
Grav-Admin-Plugin/themes/grav/scss/template/_tables.scss

120 lines
2.0 KiB
SCSS
Raw Normal View History

table,
tbody,
thead {
display: inline-block;
width: 100%;
}
2014-09-03 22:22:03 -06:00
.gpm-details {
width: 100%;
2015-08-17 18:59:14 +02:00
@include flex(auto);
2014-09-03 22:22:03 -06:00
}
td {
2014-09-10 11:29:49 -06:00
border: 0;
}
tr {
@include transition(all 0.2s ease);
2015-08-06 13:25:24 -06:00
@include display(flex);
@include flex-wrap(wrap);
th {
display: block;
@include flex(1);
font-weight: bold;
&:first-child {
padding-left: $padding-default;
}
&:last-child {
padding-right: $padding-default;
}
}
2014-09-10 11:29:49 -06:00
td {
display: block;
2015-08-06 13:25:24 -06:00
@include flex(1);
&.double {
@include flex(2);
}
2014-09-10 11:29:49 -06:00
&:first-child {
padding-left: $padding-default;
@include breakpoint(mobile-only) {
padding-left: .5rem;
.plugin-update-button {
float: left;
}
}
2014-09-10 11:29:49 -06:00
}
2015-07-28 14:42:40 -07:00
&:last-child, &.gpm-actions {
padding-right: $padding-default;
}
&.gpm-actions {
line-height: 1;
2014-09-10 11:29:49 -06:00
text-align: right;
position: relative;
2015-08-17 10:29:15 +02:00
.gpm-details-expand {
position: absolute;
top: 12px;
right: 12px;
}
}
&.gpm-details {
margin: 0;
padding: 0;
@include breakpoint(mobile-only){
word-wrap: break-word;
}
> .table-wrapper {
display: none;
td {
border-bottom: 0;
}
}
tbody {
width: 100%;
}
2014-09-10 11:29:49 -06:00
}
}
&:last-child {
td {
border-bottom: 0;
}
}
2014-09-03 22:22:03 -06:00
}
//Fixes for Kendo calendar on Firefox
.k-calendar-container {
table,
tbody,
thead {
width: 100%;
}
thead {
th:first-child {
padding-left: 0;
}
th:last-child {
padding-right: 0.5rem;
}
}
}