From 7a5532db59d826f684e6df8c228c6a2ee85de22b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 27 May 2016 12:18:31 +0200 Subject: [PATCH] Fix nm row selection in filemanager tile view, and add some more styling to nm selected row --- pixelegg/mobile/fw_mobile.css | 20 +++++++++++--------- pixelegg/mobile/fw_mobile.less | 15 +++++++++------ 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 418cb83aca..166423edc8 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -7643,25 +7643,27 @@ form[id^="tracker-"] .dialogHeadbar { body .et2_nextmatch table.egwGridView_grid tbody tr.focused { 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; } - body .et2_nextmatch table.egwGridView_grid tbody tr.selected * { + body .et2_nextmatch table.egwGridView_grid tbody tr.selected:not([class*="tile"]) * { 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: " "; position: absolute; - background: #696969; - top: 0px; - left: 0px; - bottom: 0px; - right: 0; + background: #62A28E; + right: 2px; + bottom: 2px; color: white; background-image: url(../images/topmenu_items/mobile/check.svg); background-repeat: no-repeat; - background-position: center; height: auto; + background-size: 20px; + background-position: center; + height: 32px; + width: 32px; + border-radius: 50%; } body .et2_nextmatch table.egwGridView_grid tbody tr:hover { background: transparent; diff --git a/pixelegg/mobile/fw_mobile.less b/pixelegg/mobile/fw_mobile.less index 7ff0512ef7..4660d7d762 100644 --- a/pixelegg/mobile/fw_mobile.less +++ b/pixelegg/mobile/fw_mobile.less @@ -798,22 +798,25 @@ } tbody { tr.focused{background-image: none;} - tr.selected { + tr.selected:not([class*="tile"]) { background: #696969 !important; * {color:white !important;} td:last-child:before { content: " "; position: absolute; - background: #696969; - top: 0px; - left: 0px; - bottom: 0px; - right: 0; + background: #62A28E; + right: 2px; + bottom: 2px; color: white; background-image: url(../images/topmenu_items/mobile/check.svg); background-repeat: no-repeat; background-position: center; height: auto; + background-size: 20px; + background-position: center; + height: 32px; + width: 32px; + border-radius: 50%; } } tr {