| Current Path : /home/ereika83/www/wp-content/plugins/wpmudev-updates/assets/src/scss/admin-ui/ |
| Current File : /home/ereika83/www/wp-content/plugins/wpmudev-updates/assets/src/scss/admin-ui/_table-sessions.scss |
@include body-class(true) {
.dashui-table-sessions {
table-layout: unset;
thead,
tbody {
tr {
th, td {
@include media(max-width, md) {
display: block;
padding-right: $sui-gutter-md;
padding-left: $sui-gutter-md;
}
}
@include media(max-width, md) {
display: block;
}
}
@include media(max-width, md) {
display: block;
}
}
tbody {
tr {
td {
height: 51px;
&:first-child {
@include media(max-width, md) {
padding-top: #{$sui-gutter-md / 2};
}
}
&:last-child {
@include media(max-width, md) {
padding-bottom: #{$sui-gutter-md / 2};
}
}
@include media(max-width, md) {
height: auto;
display: block;
border-bottom: 0;
}
}
td.sui-table-item-title {
.dashui-staff-info {
display: flex;
align-items: center;
.dashui-avatar {
width: 30px;
height: 30px;
display: block;
flex: 0 0 30px;
margin: 0;
padding: 0;
border: 0;
border-radius: 60px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-color: palette(silver, default);
+ .dashui-name {
margin-left: 12px;
}
}
.dashui-name {
min-width: 0;
overflow: hidden;
display: block;
flex: 0 1 auto;
text-overflow: ellipsis;
white-space: nowrap;
+ .sui-tag {
margin-left: 10px;
line-height: 24px;
}
}
.sui-tag {
display: block;
flex: 0 0 auto;
}
}
}
td:not(.sui-table-item-title) {
color: palette(gray, light);
font: 500 13px/22px $font;
letter-spacing: $font--letter-spacing;
@include media(max-width, md) {
padding-left: #{$sui-gutter-md + 42px};
}
@include media(min-width, md) {
width: 40%;
min-width: 323px;
}
}
&:last-child {
@include media(max-width, md) {
border-bottom-width: 0;
}
}
@include media(max-width, md) {
border-bottom: 1px solid palette(silver, soft);
}
}
}
@include media(max-width, md) {
display: block;
}
}
}