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