Explorar o código

HUE-209. Ensure that the selected state of a table row remains even on mouseover

Aaron Newton %!s(int64=15) %!d(string=hai) anos
pai
achega
bb1df34ccd
Modificáronse 1 ficheiros con 14 adicións e 4 borrados
  1. 14 4
      desktop/core/static/css/shared.css

+ 14 - 4
desktop/core/static/css/shared.css

@@ -250,10 +250,6 @@ table.ccs-bordered-table {
 	border: 1px solid #888;
 }
 
-table[data-filters*=HtmlTable] tr.selected td, table[data-filters*=HtmlTable] tr.table-tr-selected td, table[data-filters*=HtmlTable] tr.selected td a, table[data-filters*=HtmlTable] tr.table-tr-selected td a {
-	background-color: #3875d7;
-	color: #fff;
-}
 table[data-filters*=HtmlTable].selectable tr:hover > td, table[data-filters*=HtmlTable].selectable tr.table-tr-hovered td,
 	table[data-filters*=HtmlTable].multiselect tr:hover > td, table[data-filters*=HtmlTable].multiselect tr.table-tr-hovered td,
 	table[data-filters*=HtmlTable].selectable tr:hover > td a, table[data-filters*=HtmlTable].selectable tr.table-tr-hovered td a,
@@ -262,6 +258,18 @@ table[data-filters*=HtmlTable].selectable tr:hover > td, table[data-filters*=Htm
 	color: #000;
 	cursor: pointer;
 }
+
+table[data-filters*=HtmlTable] tr.selected td,
+	table[data-filters*=HtmlTable] tr.table-tr-selected td,
+	table[data-filters*=HtmlTable] tr.selected td a,
+	table[data-filters*=HtmlTable] tr.table-tr-selected td a,
+	table[data-filters*=HtmlTable] tr.selected:hover td,
+	table[data-filters*=HtmlTable] tr.table-tr-selected:hover td,
+	table[data-filters*=HtmlTable] tr.selected:hover td a,
+	table[data-filters*=HtmlTable] tr.table-tr-selected:hover td a {
+	background-color: #3875d7;
+	color: #fff;
+}
 table.table-sortable th {
 	cursor: pointer;
 }
@@ -293,6 +301,8 @@ table[data-filters*=HtmlTable].treeView tr a.expand {
 	position: relative;
 	top: 4px;
 	left: -4px;
+	text-indent: -200px;
+	overflow: hidden;
 }
 table[data-filters*=HtmlTable].treeView tr.table-expanded a.expand {
 	background: url(/static/art/divots.png) 0px -14px;