149 lines
3.4 KiB
SCSS
149 lines
3.4 KiB
SCSS
.admin-membership-table {
|
|
.title {
|
|
@extend %bold;
|
|
}
|
|
.avatar {
|
|
@include table-flex(stretch, center, flex, row, wrap, flex-start);
|
|
figcaption {
|
|
margin-left: 1rem;
|
|
width: 75%;
|
|
span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
}
|
|
}
|
|
img {
|
|
@include table-flex-child(1, 35px, 0);
|
|
max-width: 35px;
|
|
}
|
|
.name,
|
|
.email {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.name {
|
|
@extend %bold;
|
|
}
|
|
.email {
|
|
color: $gray-light;
|
|
}
|
|
}
|
|
.header-role,
|
|
.header-status {
|
|
padding-left: .5rem;
|
|
}
|
|
.row-role {
|
|
padding-right: 1rem;
|
|
}
|
|
.row-status {
|
|
@include table-flex($justify-content: space-between, $align-items: center);
|
|
}
|
|
.active,
|
|
.pending {
|
|
padding: 8px;
|
|
}
|
|
.active {
|
|
background-color: $whitish;
|
|
}
|
|
.pending {
|
|
background-color: $red-light;
|
|
color: $white;
|
|
.icon {
|
|
float: rsdsdfdvsdvight;
|
|
}
|
|
&:hover {
|
|
background-color: $red;
|
|
color: $white;
|
|
transition: background-color .3s linear;
|
|
}
|
|
}
|
|
.delete {
|
|
@extend %large;
|
|
color: $gray-light;
|
|
&:hover {
|
|
color: $red;
|
|
}
|
|
}
|
|
.row-admin {
|
|
input {
|
|
vertical-align: middle;
|
|
}
|
|
label {
|
|
@extend %small;
|
|
}
|
|
}
|
|
.row-member,
|
|
.row-role,
|
|
.header-member,
|
|
.header-role {
|
|
@include table-flex-child(3, 0, 0);
|
|
min-width: 210px;
|
|
}
|
|
.row-admin,
|
|
.header-admin {
|
|
@include table-flex-child(1, 0, 0);
|
|
min-width: 70px;
|
|
}
|
|
.row-status,
|
|
.header-status {
|
|
@include table-flex-child(1, 50px, 0);
|
|
}
|
|
.check {
|
|
background-color: darken($whitish, 10%);
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
height: 1.5rem;
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 65px;
|
|
input[type=checkbox] {
|
|
cursor: pointer;
|
|
height: 500px;
|
|
left: -10px;
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: -10px;
|
|
width: 500px;
|
|
z-index: 999;
|
|
+ div {
|
|
background-color: $button-gray;
|
|
height: 25px;
|
|
transition: all .2s linear;
|
|
width: 50%;
|
|
}
|
|
~ .check-text {
|
|
//@include transition(opacity .3s linear);
|
|
@extend %small;
|
|
color: $white;
|
|
position: absolute;
|
|
top: .1rem;
|
|
}
|
|
~ .check-yes {
|
|
opacity: 0;
|
|
right: .5rem;
|
|
}
|
|
~ .check-no {
|
|
left: .5rem;
|
|
opacity: .6;
|
|
}
|
|
}
|
|
input[type=checkbox]:checked {
|
|
+ div {
|
|
background-color: #74a218;
|
|
margin-left: 50%;
|
|
transition: all .2s linear;
|
|
}
|
|
~ .check-yes {
|
|
opacity: .6;
|
|
right: .4rem;
|
|
}
|
|
~ .check-no {
|
|
left: .4rem;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|