Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 1 | /* |
| 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 Hunt | 64b60cd | 2015-01-19 13:51:30 -0800 | [diff] [blame] | 21 | svg#IconLibDefs { |
| 22 | display: none; |
| 23 | } |
| 24 | |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 25 | svg.embeddedIcon .icon .glyph { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 26 | stroke: none; |
| 27 | fill: white; |
| 28 | fill-rule: evenodd; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 29 | } |
| 30 | |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 31 | .light svg.embeddedIcon .icon.deviceOnline, |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 32 | .light svg.embeddedIcon .icon.deviceOffline { |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 33 | fill: none; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 34 | } |
| 35 | |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 36 | .dark svg.embeddedIcon .icon.deviceOnline, |
| 37 | .dark svg.embeddedIcon .icon.deviceOffline { |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 38 | fill: none; |
| 39 | } |
| 40 | |
| 41 | .light svg.embeddedIcon .icon.devIcon_SWITCH { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 42 | fill: #ccc; |
| 43 | } |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 44 | .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 Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 55 | fill: green; |
| 56 | } |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 57 | .light svg.embeddedIcon .icon.deviceOffline .glyph { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 58 | fill: darkred; |
| 59 | } |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 60 | .dark svg.embeddedIcon .icon.deviceOnline .glyph { |
| 61 | fill: #266610; |
| 62 | } |
| 63 | .dark svg.embeddedIcon .icon.deviceOffline .glyph { |
| 64 | fill: #610000; |
| 65 | } |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 66 | |
| 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 Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 76 | .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 Cole | aa0f088 | 2015-02-04 15:27:55 -0800 | [diff] [blame] | 84 | svg.embeddedIcon .icon.tableColSortAsc rect, |
| 85 | svg.embeddedIcon .icon.tableColSortDesc rect { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 86 | stroke: none; |
| 87 | fill: none; |
| 88 | } |
Bri Prebilic Cole | aa0f088 | 2015-02-04 15:27:55 -0800 | [diff] [blame] | 89 | |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 90 | svg.embeddedIcon .icon rect { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 91 | stroke: black; |
| 92 | stroke-width: 1px; |
| 93 | } |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 94 | .dark svg.embeddedIcon .icon.deviceOnline rect |
| 95 | .dark svg.embeddedIcon .icon.deviceOffline rect { |
| 96 | stroke: none; |
| 97 | } |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 98 | .dark svg.embeddedIcon .icon rect { |
| 99 | stroke: #ccc; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 100 | } |
Bri Prebilic Cole | aa0f088 | 2015-02-04 15:27:55 -0800 | [diff] [blame] | 101 | .dark svg.embeddedIcon .icon.tableColSortAsc rect, |
| 102 | .dark svg.embeddedIcon .icon.tableColSortDesc rect { |
| 103 | stroke: none; |
| 104 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 105 | |
| 106 | svg .svgIcon { |
| 107 | fill-rule: evenodd; |
| 108 | } |