Fix nm row selection in filemanager tile view, and add some more styling to nm selected row

This commit is contained in:
Hadi Nategh 2016-05-27 12:18:31 +02:00
parent 9d703caf3a
commit 7a5532db59
2 changed files with 20 additions and 15 deletions

View File

@ -7643,25 +7643,27 @@ form[id^="tracker-"] .dialogHeadbar {
body .et2_nextmatch table.egwGridView_grid tbody tr.focused { body .et2_nextmatch table.egwGridView_grid tbody tr.focused {
background-image: none; background-image: none;
} }
body .et2_nextmatch table.egwGridView_grid tbody tr.selected { body .et2_nextmatch table.egwGridView_grid tbody tr.selected:not([class*="tile"]) {
background: #696969 !important; background: #696969 !important;
} }
body .et2_nextmatch table.egwGridView_grid tbody tr.selected * { body .et2_nextmatch table.egwGridView_grid tbody tr.selected:not([class*="tile"]) * {
color: white !important; color: white !important;
} }
body .et2_nextmatch table.egwGridView_grid tbody tr.selected td:last-child:before { body .et2_nextmatch table.egwGridView_grid tbody tr.selected:not([class*="tile"]) td:last-child:before {
content: " "; content: " ";
position: absolute; position: absolute;
background: #696969; background: #62A28E;
top: 0px; right: 2px;
left: 0px; bottom: 2px;
bottom: 0px;
right: 0;
color: white; color: white;
background-image: url(../images/topmenu_items/mobile/check.svg); background-image: url(../images/topmenu_items/mobile/check.svg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center;
height: auto; height: auto;
background-size: 20px;
background-position: center;
height: 32px;
width: 32px;
border-radius: 50%;
} }
body .et2_nextmatch table.egwGridView_grid tbody tr:hover { body .et2_nextmatch table.egwGridView_grid tbody tr:hover {
background: transparent; background: transparent;

View File

@ -798,22 +798,25 @@
} }
tbody { tbody {
tr.focused{background-image: none;} tr.focused{background-image: none;}
tr.selected { tr.selected:not([class*="tile"]) {
background: #696969 !important; background: #696969 !important;
* {color:white !important;} * {color:white !important;}
td:last-child:before { td:last-child:before {
content: " "; content: " ";
position: absolute; position: absolute;
background: #696969; background: #62A28E;
top: 0px; right: 2px;
left: 0px; bottom: 2px;
bottom: 0px;
right: 0;
color: white; color: white;
background-image: url(../images/topmenu_items/mobile/check.svg); background-image: url(../images/topmenu_items/mobile/check.svg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
height: auto; height: auto;
background-size: 20px;
background-position: center;
height: 32px;
width: 32px;
border-radius: 50%;
} }
} }
tr { tr {