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 | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 25 | svg .svgIcon { |
| 26 | fill-rule: evenodd; |
| 27 | } |
| 28 | |
| 29 | svg.embeddedIcon g.icon { |
| 30 | fill: none; |
| 31 | } |
| 32 | |
| 33 | svg.embeddedIcon g.icon rect { |
| 34 | stroke: none; |
| 35 | fill: none; |
| 36 | } |
| 37 | |
| 38 | svg.embeddedIcon g.icon .glyph { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 39 | stroke: none; |
| 40 | fill: white; |
| 41 | fill-rule: evenodd; |
Simon Hunt | 9722538 | 2015-01-19 13:33:09 -0800 | [diff] [blame] | 42 | } |
| 43 | |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 44 | |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 45 | /* Sortable table headers */ |
| 46 | .light div.tableColSort svg.embeddedIcon .icon .glyph { |
| 47 | fill: black; |
| 48 | } |
| 49 | .dark div.tableColSort svg.embeddedIcon .icon .glyph { |
| 50 | fill: #ccc; |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 51 | } |
| 52 | |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 53 | |
| 54 | /* color schemes for specific icon classes */ |
| 55 | |
| 56 | svg.embeddedIcon .icon.appInactive .glyph { |
Thomas Vachuska | 619c538 | 2015-04-02 13:41:47 -0700 | [diff] [blame] | 57 | fill: none; |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 58 | } |
| 59 | |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 60 | .light svg.embeddedIcon .icon.active .glyph { |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 61 | fill: green; |
| 62 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 63 | .dark svg.embeddedIcon .icon.active .glyph { |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 64 | fill: #308C10; |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | |
Thomas Vachuska | 58eded6 | 2015-03-31 12:04:03 -0700 | [diff] [blame] | 68 | .light table svg.embeddedIcon { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 69 | fill: #ccc; |
| 70 | } |
Thomas Vachuska | 58eded6 | 2015-03-31 12:04:03 -0700 | [diff] [blame] | 71 | .dark table svg.embeddedIcon { |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 72 | fill: #222; |
| 73 | } |
Thomas Vachuska | 58eded6 | 2015-03-31 12:04:03 -0700 | [diff] [blame] | 74 | .light table svg.embeddedIcon .glyph { |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 75 | fill: #333; |
| 76 | } |
Thomas Vachuska | 58eded6 | 2015-03-31 12:04:03 -0700 | [diff] [blame] | 77 | .dark table svg.embeddedIcon .glyph { |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 78 | fill: #ccc; |
| 79 | } |
| 80 | |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 81 | .light svg.embeddedIcon .icon.active .glyph { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 82 | fill: green; |
| 83 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 84 | .light svg.embeddedIcon .icon.inactive .glyph { |
Bri Prebilic Cole | dee4662 | 2015-02-03 16:36:11 -0800 | [diff] [blame] | 85 | fill: darkred; |
| 86 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 87 | .dark svg.embeddedIcon .icon.active .glyph { |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 88 | fill: #308C10; |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 89 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 90 | .dark svg.embeddedIcon .icon.inactive .glyph { |
Simon Hunt | 3695a62 | 2015-03-31 11:52:23 -0700 | [diff] [blame] | 91 | fill: #AD2D2D; |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 92 | } |