blob: cc7e7e6981dc86d7391a195a93f7fab2210cee6c [file] [log] [blame]
Sean Condon2bd11b72018-06-15 08:00:48 +01001/*
Sean Condon5ca00262018-09-06 17:55:25 +01002 * Copyright 2018-present Open Networking Foundation
Sean Condon2bd11b72018-06-15 08:00:48 +01003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/* ------ for summary-list tables (theme) ------ */
18
19.light div.summary-list, .table-header th {
20 background-color: #e5e5e6;
21 color: #3c3a3a;
22}
23
24.light div.summary-list, td {
25 color: #3c3a3a;
26}
27
28.light div.summary-list, tr:nth-child(even) {
29 background-color: #f4f4f4;
30}
31.light div.summary-list, tr:nth-child(odd) {
32 background-color: #fbfbfb;
33}
34
35.light div.summary-list, tr.selected {
36 background-color: #dbeffc !important;
37}
38
39
40.light div.summary-list, tr.data-change {
41 background-color: #FDFFDC;
42}
43
44/* --- Control Buttons --- */
45
46/* INACTIVE */
47.light .ctrl-btns div svg.embeddedIcon g.icon use {
48 fill: #e0dfd6;
49}
50/* note: no change for inactive buttons when hovered */
51
52
53/* ACTIVE */
54.light .ctrl-btns div.active svg.embeddedIcon g.icon use {
55 fill: #939598;
56}
57.light .ctrl-btns div.active:hover svg.embeddedIcon g.icon use {
58 fill: #ce5b58;
59}
60
61/* CURRENT-VIEW */
62.light .ctrl-btns div.current-view svg.embeddedIcon g.icon rect {
63 fill: #518ecc;
64}
65.light .ctrl-btns div.current-view svg.embeddedIcon g.icon use {
66 fill: white;
67}
68
69/* REFRESH */
70.light .ctrl-btns div.refresh svg.embeddedIcon g.icon use {
71 fill: #cdeff2;
72}
73.light .ctrl-btns div.refresh:hover svg.embeddedIcon g.icon use {
74 fill: #ce5b58;
75}
76.light .ctrl-btns div.refresh.active svg.embeddedIcon g.icon use {
77 fill: #009fdb;
78}
79.light .ctrl-btns div.refresh.active:hover svg.embeddedIcon g.icon use {
80 fill: #ce5b58;
81}
82
83
84/* ========== DARK Theme ========== */
85
86.dark div.summary-list .table-header td {
87 background-color: #222222;
88 color: #cccccc;
89}
90
91.dark div.summary-list td {
92 /* note: don't put background-color here */
93 color: #cccccc;
94}
95.dark div.summary-list tr.no-data td {
96 background-color: #333333;
97}
98
99.dark div.summary-list tr:nth-child(even) {
100 background-color: #333333;
101}
102.dark div.summary-list tr:nth-child(odd) {
103 background-color: #3a3a3a;
104}
105
106.dark div.summary-list tr.selected {
107 background-color: #304860 !important;
108}
109
110
111.dark div.summary-list tr.data-change {
112 background-color: #423708;
113}
114
115/* --- Control Buttons --- */
116
117/* INACTIVE */
118.dark .ctrl-btns div svg.embeddedIcon g.icon use {
119 fill: #444444;
120}
121/* note: no change for inactive buttons when hovered */
122
123
124/* ACTIVE */
125.dark .ctrl-btns div.active svg.embeddedIcon g.icon use {
126 fill: #939598;
127}
128.dark .ctrl-btns div.active:hover svg.embeddedIcon g.icon use {
129 fill: #ce5b58;
130}
131
132/* CURRENT-VIEW */
133.dark .ctrl-btns div.current-view svg.embeddedIcon g.icon rect {
134 fill: #518ecc;
135}
136.dark .ctrl-btns div.current-view svg.embeddedIcon g.icon use {
137 fill: #dddddd;
138}
139
140/* REFRESH */
141.dark .ctrl-btns div.refresh svg.embeddedIcon g.icon use {
142 fill: #364144;
143}
144.dark .ctrl-btns div.refresh:hover svg.embeddedIcon g.icon use {
145 fill: #ce5b58;
146}
147.dark .ctrl-btns div.refresh.active svg.embeddedIcon g.icon use {
148 fill: #0074a6;
149}
150.dark .ctrl-btns div.refresh.active:hover svg.embeddedIcon g.icon use {
151 fill: #ce5b58;
152}