Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present 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 | /* ------ for summary-list tables (theme) ------ */ |
| 18 | |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 19 | .light div.summary-list .table-header td { |
| 20 | background-color: #e5e5e6; |
| 21 | color: #3c3a3a; |
| 22 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 23 | |
| 24 | .light div.summary-list td { |
| 25 | color: #3c3a3a; |
| 26 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 27 | |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 28 | .light div.summary-list tr:nth-child(even) { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame] | 29 | background-color: #f4f4f4; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 30 | } |
| 31 | .light div.summary-list tr:nth-child(odd) { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame] | 32 | background-color: #fbfbfb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 33 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 34 | |
| 35 | .light div.summary-list tr.selected { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame] | 36 | background-color: #dbeffc !important; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 37 | } |
| 38 | |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 39 | |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 40 | .light div.summary-list tr.data-change { |
| 41 | background-color: #FDFFDC; |
| 42 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 43 | |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 44 | /* --- Control Buttons --- */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 45 | |
Simon Hunt | 986b92f | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 46 | /* INACTIVE */ |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 47 | .light .ctrl-btns div svg.embeddedIcon g.icon use { |
Simon Hunt | 986b92f | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 48 | fill: #e0dfd6; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 49 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 50 | /* note: no change for inactive buttons when hovered */ |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 51 | |
Simon Hunt | 986b92f | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 52 | |
| 53 | /* ACTIVE */ |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 54 | .light .ctrl-btns div.active svg.embeddedIcon g.icon use { |
| 55 | fill: #939598; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 56 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 57 | .light .ctrl-btns div.active:hover svg.embeddedIcon g.icon use { |
| 58 | fill: #ce5b58; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Simon Hunt | 986b92f | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 61 | /* CURRENT-VIEW */ |
| 62 | .light .ctrl-btns div.current-view svg.embeddedIcon g.icon rect { |
| 63 | fill: #518ecc; |
| 64 | } |
| 65 | .light .ctrl-btns div.current-view svg.embeddedIcon g.icon use { |
| 66 | fill: white; |
| 67 | } |
| 68 | |
| 69 | /* REFRESH */ |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 70 | .light .ctrl-btns div.refresh svg.embeddedIcon g.icon use { |
| 71 | fill: #cdeff2; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 72 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 73 | .light .ctrl-btns div.refresh:hover svg.embeddedIcon g.icon use { |
| 74 | fill: #ce5b58; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 75 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 76 | .light .ctrl-btns div.refresh.active svg.embeddedIcon g.icon use { |
| 77 | fill: #009fdb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 78 | } |
Simon Hunt | 5fdba20 | 2016-06-02 20:01:14 -0700 | [diff] [blame] | 79 | .light .ctrl-btns div.refresh.active:hover svg.embeddedIcon g.icon use { |
| 80 | fill: #ce5b58; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 81 | } |
Simon Hunt | bb0f267 | 2017-03-28 18:52:59 -0700 | [diff] [blame] | 82 | |
| 83 | |
| 84 | /* ========== DARK Theme ========== */ |
| 85 | |
| 86 | .dark div.summary-list .table-header td { |
| 87 | background-color: #222222; |
| 88 | color: #cccccc; |
| 89 | } |
| 90 | |
| 91 | .dark div.summary-list td { |
| 92 | /* note: don't put background-color here */ |
| 93 | color: #cccccc; |
| 94 | } |
| 95 | .dark div.summary-list tr.no-data td { |
| 96 | background-color: #333333; |
| 97 | } |
| 98 | |
| 99 | .dark div.summary-list tr:nth-child(even) { |
| 100 | background-color: #333333; |
| 101 | } |
| 102 | .dark div.summary-list tr:nth-child(odd) { |
| 103 | background-color: #3a3a3a; |
| 104 | } |
| 105 | |
| 106 | .dark div.summary-list tr.selected { |
| 107 | background-color: #304860 !important; |
| 108 | } |
| 109 | |
| 110 | |
| 111 | .dark div.summary-list tr.data-change { |
| 112 | background-color: #423708; |
| 113 | } |
| 114 | |
| 115 | /* --- Control Buttons --- */ |
| 116 | |
| 117 | /* INACTIVE */ |
| 118 | .dark .ctrl-btns div svg.embeddedIcon g.icon use { |
| 119 | fill: #444444; |
| 120 | } |
| 121 | /* note: no change for inactive buttons when hovered */ |
| 122 | |
| 123 | |
| 124 | /* ACTIVE */ |
| 125 | .dark .ctrl-btns div.active svg.embeddedIcon g.icon use { |
| 126 | fill: #939598; |
| 127 | } |
| 128 | .dark .ctrl-btns div.active:hover svg.embeddedIcon g.icon use { |
| 129 | fill: #ce5b58; |
| 130 | } |
| 131 | |
| 132 | /* CURRENT-VIEW */ |
| 133 | .dark .ctrl-btns div.current-view svg.embeddedIcon g.icon rect { |
| 134 | fill: #518ecc; |
| 135 | } |
| 136 | .dark .ctrl-btns div.current-view svg.embeddedIcon g.icon use { |
| 137 | fill: #dddddd; |
| 138 | } |
| 139 | |
| 140 | /* REFRESH */ |
| 141 | .dark .ctrl-btns div.refresh svg.embeddedIcon g.icon use { |
| 142 | fill: #364144; |
| 143 | } |
| 144 | .dark .ctrl-btns div.refresh:hover svg.embeddedIcon g.icon use { |
| 145 | fill: #ce5b58; |
| 146 | } |
| 147 | .dark .ctrl-btns div.refresh.active svg.embeddedIcon g.icon use { |
| 148 | fill: #0074a6; |
| 149 | } |
| 150 | .dark .ctrl-btns div.refresh.active:hover svg.embeddedIcon g.icon use { |
| 151 | fill: #ce5b58; |
| 152 | } |