Fixes checkbox cell not appearing on hover in tables.

This commit is contained in:
Mateus Machado Luna 2018-05-22 16:01:06 -03:00
parent c321cd0c93
commit 924079a024
2 changed files with 18 additions and 10 deletions

View File

@ -350,7 +350,6 @@ export default {
position: -webkit-sticky !important;
left: 0;
top: auto;
visibility: hidden;
display: table-cell;
&::before {
@ -361,6 +360,7 @@ export default {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
label.checkbox {
@ -371,13 +371,14 @@ export default {
height: 100%;
display: flex;
justify-content: center;
visibility: hidden;
}
label span.control-label {
display: none;
}
&.is-selecting {
visibility: visible;
.checkbox { visibility: visible; }
&::before { visibility: visible !important; }
}
}
// Only to be used in case we can implement Column resizing
@ -464,8 +465,11 @@ export default {
cursor: pointer;
.checkbox-cell {
visibility: visible;
.checkbox { background-color: $tainacan-input-background !important; }
&::before { visibility: visible; }
.checkbox {
visibility: visible;
background-color: $tainacan-input-background !important;
}
}
.actions-cell {
.actions-container {

View File

@ -334,7 +334,6 @@ export default {
position: -webkit-sticky !important;
left: 0;
top: auto;
visibility: hidden;
display: table-cell;
&::before {
@ -345,6 +344,7 @@ export default {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
}
label.checkbox {
@ -355,13 +355,14 @@ export default {
height: 100%;
display: flex;
justify-content: center;
visibility: hidden;
}
label.control-label {
display: none;
}
&.is-selecting {
visibility: visible;
.checkbox { visibility: visible; }
&::before { visibility: visible !important; }
}
}
// Only to be used in case we can implement Column resizing
@ -448,8 +449,11 @@ export default {
cursor: pointer;
.checkbox-cell {
visibility: visible;
.checkbox { background-color: $tainacan-input-background !important; }
&::before { visibility: visible; }
.checkbox {
visibility: visible;
background-color: $tainacan-input-background !important;
}
}
.actions-cell {
.actions-container {