blob: ad4d4c9cfa75b982a02fa28488c677ab88a27a99 [file] [log] [blame]
Simon Hunt97225382015-01-19 13:33:09 -08001/*
2 * Copyright 2014,2015 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 -- Icon Service -- CSS file
19 */
20
Simon Hunt64b60cd2015-01-19 13:51:30 -080021svg#IconLibDefs {
22 display: none;
23}
24
Simon Hunt97225382015-01-19 13:33:09 -080025svg.embeddedIcon .icon .glyph {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080026 stroke: none;
27 fill: white;
28 fill-rule: evenodd;
Simon Hunt97225382015-01-19 13:33:09 -080029}
30
Bri Prebilic Coledee46622015-02-03 16:36:11 -080031div.inline-icon {
32 display: inline-block;
Simon Hunt97225382015-01-19 13:33:09 -080033}
34
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080035.light svg.embeddedIcon .icon.deviceOnline,
Bri Prebilic Coledee46622015-02-03 16:36:11 -080036.light svg.embeddedIcon .icon.deviceOffline {
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080037 fill: none;
Simon Hunt97225382015-01-19 13:33:09 -080038}
39
Bri Prebilic Coledee46622015-02-03 16:36:11 -080040.dark svg.embeddedIcon .icon.deviceOnline,
41.dark svg.embeddedIcon .icon.deviceOffline {
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080042 fill: none;
43}
44
45.light svg.embeddedIcon .icon.devIcon_SWITCH {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080046 fill: #ccc;
47}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080048.dark svg.embeddedIcon .icon.devIcon_SWITCH {
49 fill: #222;
50}
51.light svg.embeddedIcon .icon.devIcon_SWITCH .glyph {
52 fill: #333;
53}
54.dark svg.embeddedIcon .icon.devIcon_SWITCH .glyph {
55 fill: #ccc;
56}
57
58.light svg.embeddedIcon .icon.deviceOnline .glyph {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080059 fill: green;
60}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080061.light svg.embeddedIcon .icon.deviceOffline .glyph {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080062 fill: darkred;
63}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080064.dark svg.embeddedIcon .icon.deviceOnline .glyph {
65 fill: #266610;
66}
67.dark svg.embeddedIcon .icon.deviceOffline .glyph {
68 fill: #610000;
69}
Bri Prebilic Coledee46622015-02-03 16:36:11 -080070
71.light svg.embeddedIcon .icon.tableColSortAsc .glyph,
72.light svg.embeddedIcon .icon.tableColSortDesc .glyph {
73 fill: black;
74}
75.dark svg.embeddedIcon .icon.tableColSortAsc .glyph,
76.dark svg.embeddedIcon .icon.tableColSortDesc .glyph {
77 fill: #ccc;
78}
79
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080080.light svg.embeddedIcon .icon.deviceOnline rect,
81.light svg.embeddedIcon .icon.deviceOffline rect,
82.dark svg.embeddedIcon .icon.deviceOnline rect,
83.dark svg.embeddedIcon .icon.deviceOffline rect {
84 stroke: none;
85 fill: none;
86}
87
Bri Prebilic Coleaa0f0882015-02-04 15:27:55 -080088svg.embeddedIcon .icon.tableColSortAsc rect,
89svg.embeddedIcon .icon.tableColSortDesc rect {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080090 stroke: none;
91 fill: none;
92}
Bri Prebilic Coleaa0f0882015-02-04 15:27:55 -080093
Simon Hunt97225382015-01-19 13:33:09 -080094svg.embeddedIcon .icon rect {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080095 stroke: black;
96 stroke-width: 1px;
97}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080098.dark svg.embeddedIcon .icon.deviceOnline rect
99.dark svg.embeddedIcon .icon.deviceOffline rect {
100 stroke: none;
101}
Bri Prebilic Coledee46622015-02-03 16:36:11 -0800102.dark svg.embeddedIcon .icon rect {
103 stroke: #ccc;
Simon Hunt97225382015-01-19 13:33:09 -0800104}
Bri Prebilic Coleaa0f0882015-02-04 15:27:55 -0800105.dark svg.embeddedIcon .icon.tableColSortAsc rect,
106.dark svg.embeddedIcon .icon.tableColSortDesc rect {
107 stroke: none;
108}
Simon Huntac4c6f72015-02-03 19:50:53 -0800109
110svg .svgIcon {
111 fill-rule: evenodd;
112}