Separating theme from layout for CSS files.
Change-Id: I4c3cec28b30de8026df4298f65ebf6ad92faf68f
(cherry picked from commit 11f662f)
diff --git a/web/gui/src/main/webapp/app/fw/widget/table.css b/web/gui/src/main/webapp/app/fw/widget/table.css
index 2c19e66..b7f8b9e 100644
--- a/web/gui/src/main/webapp/app/fw/widget/table.css
+++ b/web/gui/src/main/webapp/app/fw/widget/table.css
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/* ------ for summary-list tables ------ */
+/* ------ for summary-list tables (layout) ------ */
div.summary-list {
margin: 0 20px 16px 10px;
@@ -42,37 +42,11 @@
font-style: italic;
}
-.light div.summary-list tr:nth-child(even) {
- background-color: #ddd;
-}
-.light div.summary-list tr:nth-child(odd) {
- background-color: #eee;
-}
-.dark div.summary-list tr:nth-child(even) {
- background-color: #333;
-}
-.dark div.summary-list tr:nth-child(odd) {
- background-color: #444;
-}
-
-.light div.summary-list tr.selected {
- background-color: deepskyblue !important;
-}
-
-.dark div.summary-list tr.selected {
- background-color: #304860;
-}
/* highlighting */
div.summary-list tr {
transition: background-color 500ms;
}
-.light div.summary-list tr.data-change {
- background-color: #FDFFDC;
-}
-.dark div.summary-list tr.data-change {
- background-color: #5A5600;
-}
div.summary-list td {
padding: 6px;
@@ -92,23 +66,11 @@
border-radius: 0 8px 0 0;
}
-.light div.summary-list .table-header td {
- background-color: #bbb;
-}
-.dark div.summary-list .table-header td {
- background-color: #222;
- color: #ccc;
-}
-
/* rows are selectable */
div.summary-list .table-body td {
cursor: pointer;
}
-.dark div.summary-list td {
- color: #ccc;
-}
-
/* Tabular view upper right control buttons */
div.ctrl-btns {
@@ -119,7 +81,6 @@
margin-top: 7px;
}
-
div.ctrl-btns div {
display: inline-block;
padding: 4px;
@@ -131,60 +92,3 @@
width: 24px;
border: none;
}
-
-/* Inactive */
-.light .ctrl-btns div g.icon rect,
-.light .ctrl-btns div:hover g.icon rect {
- fill: #eee;
-}
-.dark .ctrl-btns div g.icon rect,
-.dark .ctrl-btns div:hover g.icon rect {
- fill: #222;
-}
-
-.light .ctrl-btns div g.icon use {
- fill: #ddd;
-}
-.dark .ctrl-btns div g.icon use {
- fill: #333;
-}
-
-/* Active hover */
-.light .ctrl-btns div.active:hover g.icon rect {
- fill: #800;
-}
-
-.dark .ctrl-btns div.active:hover g.icon rect {
- fill: #CE5650;
-}
-
-/* Active */
-.light .ctrl-btns div.active g.icon use {
- fill: #fff;
-}
-.dark .ctrl-btns div.active g.icon use {
- fill: #eee;
-}
-
-.light .ctrl-btns div.active g.icon rect {
- fill: #bbb;
-}
-.dark .ctrl-btns div.active g.icon rect {
- fill: #444;
-}
-
-/* Refresh button specific */
-.light .ctrl-btns div.refresh.active g.icon rect {
- fill: #964949;
-}
-
-.dark .ctrl-btns div.refresh.active g.icon rect {
- fill: #9B4641;
-}
-.light .ctrl-btns div.refresh:hover g.icon rect {
- fill: #964949;
-}
-
-.dark .ctrl-btns div.refresh:hover g.icon rect {
- fill: #9B4641;
-}