Browse Source

Hover table rows, svg icons color

Vova Tkach 6 years ago
parent
commit
e527caf075

+ 1 - 1
engine/backend/modules/modules.go

@@ -174,7 +174,7 @@ func (this *Module) data_table(table string, order_by string, order_way string,
 		}
 	}
 	limit_offset := curr_page*pear_page - pear_page
-	result := `<table class="table table-striped table-bordered table_` + table + `">`
+	result := `<table class="table data-table table-striped table-bordered table-hover table_` + table + `">`
 	result += `<thead>`
 	result += `<tr>`
 	sql := "SELECT"

+ 15 - 1
engine/wrapper/resources/styles/assets.cp.styles.css

@@ -219,4 +219,18 @@ body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:last-child ul {
 body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item svg.sicon {
 	fill: currentColor;
 	margin-right: 5px;
-}
+}
+
+/* Admin table */
+.data-table.table-hover tbody tr:hover {
+	background-color: #fffbdf;
+}
+
+.data-table a svg {
+	fill: currentColor;
+	color: #007bff;
+}
+
+.data-table a:hover svg {
+	color: #0056b3;
+}

File diff suppressed because it is too large
+ 0 - 0
engine/wrapper/resources/styles/assets.cp.styles.css.go


Some files were not shown because too many files changed in this diff