Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present Open Networking Foundation |
| 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 (theme) -- CSS file |
| 19 | */ |
| 20 | |
| 21 | .light div.close-btn svg.embeddedIcon g.icon .glyph { |
| 22 | fill: #333333; |
| 23 | } |
| 24 | |
| 25 | /* Sortable table headers */ |
| 26 | .light div.tableColSort svg.embeddedIcon .icon .glyph { |
| 27 | fill: #353333; |
| 28 | } |
| 29 | |
| 30 | /* active / inactive (check/xmark) icons */ |
| 31 | .light svg.embeddedIcon .icon.active .glyph { |
| 32 | fill: #04bf34; |
| 33 | } |
| 34 | |
| 35 | .light svg.embeddedIcon .icon.inactive .glyph { |
| 36 | fill: #c0242b; |
| 37 | } |
| 38 | |
| 39 | .light table svg.embeddedIcon .icon .glyph { |
| 40 | fill: #3c3a3a; |
| 41 | } |
| 42 | |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 43 | /* --- Control Buttons --- */ |
| 44 | |
| 45 | /* INACTIVE */ |
| 46 | svg.embeddedIcon g.icon use { |
| 47 | fill: #e0dfd6; |
| 48 | } |
| 49 | /* note: no change for inactive buttons when hovered */ |
| 50 | |
| 51 | |
| 52 | /* ACTIVE */ |
| 53 | svg.embeddedIcon g.icon.active use { |
| 54 | fill: #939598; |
| 55 | } |
| 56 | svg.embeddedIcon g.icon.active:hover use { |
| 57 | fill: #ce5b58; |
| 58 | } |
| 59 | |
| 60 | /* CURRENT-VIEW */ |
| 61 | svg.embeddedIcon g.icon.current-view rect { |
| 62 | fill: #518ecc; |
| 63 | } |
| 64 | svg.embeddedIcon g.icon.current-view use { |
| 65 | fill: white; |
| 66 | } |
| 67 | |
| 68 | /* REFRESH */ |
| 69 | svg.embeddedIcon g.icon.refresh use { |
| 70 | fill: #cdeff2; |
| 71 | } |
| 72 | svg.embeddedIcon g.icon.refresh:hover use { |
| 73 | fill: #ce5b58; |
| 74 | } |
| 75 | svg.embeddedIcon g.icon.refresh.active use { |
| 76 | fill: #009fdb; |
| 77 | } |
| 78 | svg.embeddedIcon g.icon.refresh.active:hover use { |
| 79 | fill: #ce5b58; |
| 80 | } |
| 81 | |
| 82 | |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 83 | /* ========== DARK Theme ========== */ |
| 84 | |
| 85 | .dark div.close-btn svg.embeddedIcon g.icon .glyph { |
| 86 | fill: #8d8d8d; |
| 87 | } |
| 88 | |
| 89 | .dark div.tableColSort svg.embeddedIcon .icon .glyph { |
| 90 | fill: #888888; |
| 91 | } |
| 92 | |
| 93 | .dark svg.embeddedIcon .icon.active .glyph { |
| 94 | fill: #04bf34; |
| 95 | } |
| 96 | |
| 97 | .dark svg.embeddedIcon .icon.inactive .glyph { |
| 98 | fill: #c0242b; |
| 99 | } |
| 100 | |
| 101 | .dark table svg.embeddedIcon .icon .glyph { |
| 102 | fill: #9999aa; |
| 103 | } |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 104 | /* |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 105 | svg.embeddedIcon g.icon .glyph { |
| 106 | fill: #007dc4; |
| 107 | } |
| 108 | |
| 109 | svg.embeddedIcon:hover g.icon .glyph { |
| 110 | fill: #20b2ff; |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 111 | } |
| 112 | */ |