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 | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 31 | div.inline-icon { |
| 32 | display: inline-block; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 33 | } |
| 34 | |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 35 | .light svg.embeddedIcon .icon.deviceOnline { |
| 36 | fill: green; |
| 37 | } |
| 38 | .light svg.embeddedIcon .icon.deviceOffline { |
| 39 | fill: darkred; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 40 | } |
| 41 | |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 42 | .dark svg.embeddedIcon .icon.deviceOnline, |
| 43 | .dark svg.embeddedIcon .icon.deviceOffline { |
| 44 | fill: #ccc; |
| 45 | } |
| 46 | .dark svg.embeddedIcon .icon.deviceOnline .glyph { |
| 47 | fill: green; |
| 48 | } |
| 49 | .dark svg.embeddedIcon .icon.deviceOffline .glyph { |
| 50 | fill: darkred; |
| 51 | } |
| 52 | |
| 53 | .light svg.embeddedIcon .icon.tableColSortAsc .glyph, |
| 54 | .light svg.embeddedIcon .icon.tableColSortDesc .glyph { |
| 55 | fill: black; |
| 56 | } |
| 57 | .dark svg.embeddedIcon .icon.tableColSortAsc .glyph, |
| 58 | .dark svg.embeddedIcon .icon.tableColSortDesc .glyph { |
| 59 | fill: #ccc; |
| 60 | } |
| 61 | |
| 62 | svg.embeddedIcon .icon.tableColSortAsc rect { |
| 63 | stroke: none; |
| 64 | fill: none; |
| 65 | } |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 66 | svg.embeddedIcon .icon rect { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 67 | stroke: black; |
| 68 | stroke-width: 1px; |
| 69 | } |
| 70 | .dark svg.embeddedIcon .icon rect { |
| 71 | stroke: #ccc; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 72 | } |