You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

105 lines
2.1 KiB

/**
*
*
*
*/
@mixin component__file-table()
{
.filemanager-actions__selected {
padding: 5px 10px 15px 0;
display: inline-block;
}
.file-table {
display: block;
width: 100%;
&__row {
display: flex;
flex-wrap: wrap;
padding: 5px 0;
border-bottom: 1px solid $grey;
&:hover {
background-color: lighten($grey, 45%);
}
&--current {
background-color: lighten($primary, 50%);
}
}
&__inner {
width: 100%;
}
&__column {
display: flex;
flex: 2;
align-items: center;
&--select {
max-width: 30px;
input[type=checkbox] {
margin: -17px 0 0 0;
}
}
&--actions {
max-width: 180px;
button {
border: 0;
padding: 0;
.icon {
width: 2.4em;
height: 2.4em;
}
&:disabled {
.icon {
opacity: 0.3;
&:hover {
cursor: not-allowed;
}
}
}
}
}
}
}
.file-table__column--select {
input[type=checkbox] {
position: relative;
display: none;
+ label {
.checked {
display: none;
}
&:hover {
cursor: pointer;
}
}
&:checked + label .checked {
display: inline-block;
}
&:checked + label .unchecked {
display: none;
}
}
.checked, .unchecked {
vertical-align: bottom;
}
}
}