blob: 7f3e8f41ccbb91bb046082c9dbd46690d6ca81d1 [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 Cole357f7fd2015-02-12 17:03:42 -080031.light svg.embeddedIcon .icon.deviceOnline,
Bri Prebilic Coledee46622015-02-03 16:36:11 -080032.light svg.embeddedIcon .icon.deviceOffline {
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080033 fill: none;
Simon Hunt97225382015-01-19 13:33:09 -080034}
35
Bri Prebilic Coledee46622015-02-03 16:36:11 -080036.dark svg.embeddedIcon .icon.deviceOnline,
37.dark svg.embeddedIcon .icon.deviceOffline {
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080038 fill: none;
39}
40
41.light svg.embeddedIcon .icon.devIcon_SWITCH {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080042 fill: #ccc;
43}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080044.dark svg.embeddedIcon .icon.devIcon_SWITCH {
45 fill: #222;
46}
47.light svg.embeddedIcon .icon.devIcon_SWITCH .glyph {
48 fill: #333;
49}
50.dark svg.embeddedIcon .icon.devIcon_SWITCH .glyph {
51 fill: #ccc;
52}
53
54.light svg.embeddedIcon .icon.deviceOnline .glyph {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080055 fill: green;
56}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080057.light svg.embeddedIcon .icon.deviceOffline .glyph {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080058 fill: darkred;
59}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080060.dark svg.embeddedIcon .icon.deviceOnline .glyph {
61 fill: #266610;
62}
63.dark svg.embeddedIcon .icon.deviceOffline .glyph {
64 fill: #610000;
65}
Bri Prebilic Coledee46622015-02-03 16:36:11 -080066
67.light svg.embeddedIcon .icon.tableColSortAsc .glyph,
68.light svg.embeddedIcon .icon.tableColSortDesc .glyph {
69 fill: black;
70}
71.dark svg.embeddedIcon .icon.tableColSortAsc .glyph,
72.dark svg.embeddedIcon .icon.tableColSortDesc .glyph {
73 fill: #ccc;
74}
75
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080076.light svg.embeddedIcon .icon.deviceOnline rect,
77.light svg.embeddedIcon .icon.deviceOffline rect,
78.dark svg.embeddedIcon .icon.deviceOnline rect,
79.dark svg.embeddedIcon .icon.deviceOffline rect {
80 stroke: none;
81 fill: none;
82}
83
Bri Prebilic Coleaa0f0882015-02-04 15:27:55 -080084svg.embeddedIcon .icon.tableColSortAsc rect,
85svg.embeddedIcon .icon.tableColSortDesc rect {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080086 stroke: none;
87 fill: none;
88}
Bri Prebilic Coleaa0f0882015-02-04 15:27:55 -080089
Simon Hunt97225382015-01-19 13:33:09 -080090svg.embeddedIcon .icon rect {
Bri Prebilic Coledee46622015-02-03 16:36:11 -080091 stroke: black;
92 stroke-width: 1px;
93}
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080094.dark svg.embeddedIcon .icon.deviceOnline rect
95.dark svg.embeddedIcon .icon.deviceOffline rect {
96 stroke: none;
97}
Bri Prebilic Coledee46622015-02-03 16:36:11 -080098.dark svg.embeddedIcon .icon rect {
99 stroke: #ccc;
Simon Hunt97225382015-01-19 13:33:09 -0800100}
Bri Prebilic Coleaa0f0882015-02-04 15:27:55 -0800101.dark svg.embeddedIcon .icon.tableColSortAsc rect,
102.dark svg.embeddedIcon .icon.tableColSortDesc rect {
103 stroke: none;
104}
Simon Huntac4c6f72015-02-03 19:50:53 -0800105
106svg .svgIcon {
107 fill-rule: evenodd;
108}