blob: 8eff0a0eac575e47df5d5402b47233fded120bac [file] [log] [blame]
Sean Condon91481822019-01-01 13:56:14 +00001/*
2 * Copyright 2016-present Open Networking Foundation
3 *
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/*
18 ONOS GUI -- Button Service (theme) -- CSS file
19 */
20
21
22/* === SELECTED BUTTONS === */
23
24/* Selected toggle / radio button */
25svg.embeddedIcon .toggleButton.selected .icon rect,
26svg.embeddedIcon .radioButton.selected .icon rect {
27 fill: #e4f0f6;
28}
29
30/* Selected:hover (normal) button */
31svg.embeddedIcon .button:hover .icon rect {
32 stroke: black;
33 stroke-width: 1px;
34}
35
36/* Selected:hover toggle-button */
37svg.embeddedIcon .toggleButton.selected:hover .icon rect {
38 fill: #c0d8f0;
39 stroke: black;
40 stroke-width: 1px;
41}
42
43/* Selected toggle/radio button and normal button glyph color */
44svg.embeddedIcon .button .glyph,
45svg.embeddedIcon .toggleButton.selected .glyph,
46svg.embeddedIcon .radioButton.selected .glyph {
47 fill: #5b99d2;
48}
49
50
51/* === UNSELECTED BUTTONS === */
52
53/* Unselected toggle / radio button */
54svg.embeddedIcon .toggleButton.icon rect,
55svg.embeddedIcon .radioButton.icon rect {
56 /* no fill */
57}
58
59/* Unselected:hover toggle / radio button */
60svg.embeddedIcon .icon.toggleButton:hover rect,
61svg.embeddedIcon .icon.radioButton:hover:not(.selected) rect {
62 fill: #e4f0f6;
63 stroke: black;
64 stroke-width: 1px;
65}
66
67/* Unselected toggle / radio button */
68svg.embeddedIcon .toggleButton .glyph,
69svg.embeddedIcon .radioButton .glyph {
70 fill: #bbb;
71}
72
73/* Unselected:hover toggle / radio button */
74svg.embeddedIcon .toggleButton:hover:not(.selected) .glyph,
75svg.embeddedIcon .radioButton:hover:not(.selected) .glyph {
76 fill: #5b99d2;
77}
78
79
80/* ========== DARK Theme ========== */
81
82/* Selected toggle / radio button */
83.dark .toggleButton.selected svg.embeddedIcon .icon rect,
84.dark .radioButton.selected svg.embeddedIcon .icon rect {
85 fill: #353e45;
86}
87
88/* Selected:hover (normal) button */
89.dark .button:hover svg.embeddedIcon .icon rect {
90 stroke: white;
91 stroke-width: 1px;
92}
93
94/* Selected:hover toggle-button */
95.dark .toggleButton.selected:hover svg.embeddedIcon .icon rect {
96 fill: #444d54;
97 stroke: white;
98 stroke-width: 1px;
99}
100
101/* Selected toggle/radio button and normal button glyph color */
102.dark .button svg.embeddedIcon .glyph,
103.dark .toggleButton.selected svg.embeddedIcon .glyph,
104.dark .radioButton.selected svg.embeddedIcon .glyph {
105 fill: #5b99d2;
106}
107
108
109/* === UNSELECTED BUTTONS === */
110
111/* Unselected toggle / radio button */
112.dark .toggleButton svg.embeddedIcon .icon rect,
113.dark .radioButton svg.embeddedIcon .icon rect {
114 /* no fill */
115}
116
117/* Unselected:hover toggle / radio button */
118.dark .toggleButton:hover svg.embeddedIcon .icon rect,
119.dark .radioButton:hover:not(.selected) svg.embeddedIcon .icon rect {
120 fill: #353e45;
121 stroke: white;
122 stroke-width: 1px;
123}
124
125/* Unselected toggle / radio button */
126.dark .toggleButton svg.embeddedIcon .glyph,
127.dark .radioButton svg.embeddedIcon .glyph {
128 fill: #bbb;
129}
130
131/* Unselected:hover toggle / radio button */
132.dark .toggleButton:hover:not(.selected) svg.embeddedIcon .glyph,
133.dark .radioButton:hover:not(.selected) svg.embeddedIcon .glyph {
134 fill: #5b99d2;
135}