From f834fe47d03c562a68fb1b6fb46a1a23e3dceee3 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Fri, 29 Aug 2014 18:21:24 +0100 Subject: [PATCH] Plugin priority icons now only shown in edit mode. I just made this commit, but GitHub for Windows seems to have ignored it when merging. >:( --- resources/report/css/style.css | 6 ------ resources/report/report.html | 23 +++++++++++------------ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/resources/report/css/style.css b/resources/report/css/style.css index 50a74bf9..0adf63ff 100644 --- a/resources/report/css/style.css +++ b/resources/report/css/style.css @@ -374,12 +374,6 @@ table[is=editable-table] tbody tr:last-child:hover { #pluginsNav .priority { display: none; } -body.editMode #pluginsNav li:hover .priority { - display: inline; -} -body.editMode #pluginsNav li:hover .name { - display: none; -} body.editMode header { color: #999; } diff --git a/resources/report/report.html b/resources/report/report.html index 9988a040..87ec5666 100644 --- a/resources/report/report.html +++ b/resources/report/report.html @@ -291,18 +291,10 @@ display: inline-block; width: 1.2em; } - :host([data-bsa=false]) .loadsBSA { - visibility: hidden; - } - :host([data-dummy=false]) .dummyPlugin { - visibility: hidden; - } - :host([data-edits=false]) .hasUserEdits { - visibility: hidden; - } - :host([data-global-priority=false]) .hasGlobalPriority { - visibility: hidden; - } + :host([data-bsa=false]) .loadsBSA, + :host([data-dummy=false]) .dummyPlugin, + :host([data-edits=false]) .hasUserEdits, + :host([data-global-priority=false]) .hasGlobalPriority, .hasPriority:not([title^=Priority]) { visibility: hidden; } @@ -310,6 +302,13 @@ text-decoration: none; color: black; } + .hasGlobalPriority, .hasPriority { + display:none; + } + :host-context(.editMode) .hasGlobalPriority, + :host-context(.editMode) .hasPriority { + display: inline-block; + }