blob: b64135aa39d4023c09db8e8fcf0b790a0f95b373 [file] [log] [blame]
Simon Hunt58894c82016-05-24 15:09:02 -07001/*
2 * Copyright 2016-present Open Networking Laboratory
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
Simon Huntc217cb92016-08-30 16:17:51 -070021/* TODO: dark theme */
Simon Hunt58894c82016-05-24 15:09:02 -070022
Simon Huntc217cb92016-08-30 16:17:51 -070023
24/* === SELECTED BUTTONS === */
25
26/* Selected toggle / radio button */
Simon Hunt58894c82016-05-24 15:09:02 -070027.light .toggleButton.selected svg.embeddedIcon .icon rect,
28.light .radioButton.selected svg.embeddedIcon .icon rect {
Simon Huntc217cb92016-08-30 16:17:51 -070029 fill: #e4f0f6;
Simon Hunt58894c82016-05-24 15:09:02 -070030}
31
Simon Huntc217cb92016-08-30 16:17:51 -070032/* Selected:hover (normal) button */
33.light .button:hover svg.embeddedIcon .icon rect {
34 stroke: black;
35 stroke-width: 1px;
Simon Hunt58894c82016-05-24 15:09:02 -070036}
37
Simon Huntc217cb92016-08-30 16:17:51 -070038/* Selected:hover toggle-button */
39.light .toggleButton.selected:hover svg.embeddedIcon .icon rect {
40 fill: #c0d8f0;
41 stroke: black;
42 stroke-width: 1px;
43}
44
45/* Selected toggle/radio button and normal button glyph color */
Simon Hunt58894c82016-05-24 15:09:02 -070046.light .button svg.embeddedIcon .glyph,
47.light .toggleButton.selected svg.embeddedIcon .glyph,
48.light .radioButton.selected svg.embeddedIcon .glyph {
Simon Huntc217cb92016-08-30 16:17:51 -070049 fill: #5b99d2;
Simon Hunt58894c82016-05-24 15:09:02 -070050}
51
Simon Hunt58894c82016-05-24 15:09:02 -070052
Simon Huntc217cb92016-08-30 16:17:51 -070053/* === UNSELECTED BUTTONS === */
Simon Hunt58894c82016-05-24 15:09:02 -070054
Simon Huntc217cb92016-08-30 16:17:51 -070055/* Unselected toggle / radio button */
Simon Hunt58894c82016-05-24 15:09:02 -070056.light .toggleButton svg.embeddedIcon .icon rect,
57.light .radioButton svg.embeddedIcon .icon rect {
Simon Huntc217cb92016-08-30 16:17:51 -070058 /* no fill */
Simon Hunt58894c82016-05-24 15:09:02 -070059}
60
Simon Huntc217cb92016-08-30 16:17:51 -070061/* Unselected:hover toggle / radio button */
Simon Hunt58894c82016-05-24 15:09:02 -070062.light .toggleButton:hover svg.embeddedIcon .icon rect,
63.light .radioButton:hover:not(.selected) svg.embeddedIcon .icon rect {
Simon Huntc217cb92016-08-30 16:17:51 -070064 fill: #e4f0f6;
65 stroke: black;
66 stroke-width: 1px;
Simon Hunt58894c82016-05-24 15:09:02 -070067}
68
Simon Huntc217cb92016-08-30 16:17:51 -070069/* Unselected toggle / radio button */
Simon Hunt58894c82016-05-24 15:09:02 -070070.light .toggleButton svg.embeddedIcon .glyph,
71.light .radioButton svg.embeddedIcon .glyph {
72 fill: #bbb;
73}
Simon Huntc217cb92016-08-30 16:17:51 -070074
75/* Unselected:hover toggle / radio button */
Simon Hunt58894c82016-05-24 15:09:02 -070076.light .toggleButton:hover:not(.selected) svg.embeddedIcon .glyph,
77.light .radioButton:hover:not(.selected) svg.embeddedIcon .glyph {
Simon Huntc217cb92016-08-30 16:17:51 -070078 fill: #5b99d2;
Simon Hunt58894c82016-05-24 15:09:02 -070079}