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 | |
| 19 | .light div.summary-list tr:nth-child(even) { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 20 | background-color: #f4f4f4; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 21 | } |
| 22 | .light div.summary-list tr:nth-child(odd) { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 23 | background-color: #fbfbfb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 24 | } |
| 25 | .dark div.summary-list tr:nth-child(even) { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 26 | /* TODO: dark theme */ |
| 27 | background-color: #f4f4f4; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 28 | } |
| 29 | .dark div.summary-list tr:nth-child(odd) { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 30 | /* TODO: dark theme */ |
| 31 | background-color: #fbfbfb; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | .light div.summary-list tr.selected { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 35 | background-color: #dbeffc !important; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | .dark div.summary-list tr.selected { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 39 | /* TODO: dark theme */ |
| 40 | background-color: #dbeffc; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | /* highlighting */ |
| 44 | .light div.summary-list tr.data-change { |
| 45 | background-color: #FDFFDC; |
| 46 | } |
| 47 | .dark div.summary-list tr.data-change { |
| 48 | background-color: #5A5600; |
| 49 | } |
| 50 | |
| 51 | .light div.summary-list .table-header td { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 52 | background-color: #e5e5e6; |
| 53 | color: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 54 | } |
| 55 | .dark div.summary-list .table-header td { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 56 | /* TODO: dark theme */ |
| 57 | background-color: #e5e5e6; |
| 58 | color: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 61 | .light div.summary-list td { |
| 62 | color: #3c3a3a; |
| 63 | } |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 64 | .dark div.summary-list td { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame^] | 65 | /* TODO: dark theme */ |
| 66 | color: #3c3a3a; |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | /* Inactive */ |
| 70 | .light .ctrl-btns div g.icon rect, |
| 71 | .light .ctrl-btns div:hover g.icon rect { |
| 72 | fill: #eee; |
| 73 | } |
| 74 | .dark .ctrl-btns div g.icon rect, |
| 75 | .dark .ctrl-btns div:hover g.icon rect { |
| 76 | fill: #222; |
| 77 | } |
| 78 | |
| 79 | .light .ctrl-btns div g.icon use { |
| 80 | fill: #ddd; |
| 81 | } |
| 82 | .dark .ctrl-btns div g.icon use { |
| 83 | fill: #333; |
| 84 | } |
| 85 | |
| 86 | /* Active hover */ |
| 87 | .light .ctrl-btns div.active:hover g.icon rect { |
| 88 | fill: #800; |
| 89 | } |
| 90 | |
| 91 | .dark .ctrl-btns div.active:hover g.icon rect { |
| 92 | fill: #CE5650; |
| 93 | } |
| 94 | |
| 95 | /* Active */ |
| 96 | .light .ctrl-btns div.active g.icon use { |
| 97 | fill: #fff; |
| 98 | } |
| 99 | .dark .ctrl-btns div.active g.icon use { |
| 100 | fill: #eee; |
| 101 | } |
| 102 | |
| 103 | .light .ctrl-btns div.active g.icon rect { |
| 104 | fill: #bbb; |
| 105 | } |
| 106 | .dark .ctrl-btns div.active g.icon rect { |
| 107 | fill: #444; |
| 108 | } |
| 109 | |
| 110 | /* Refresh button specific */ |
| 111 | .light .ctrl-btns div.refresh.active g.icon rect { |
| 112 | fill: #964949; |
| 113 | } |
| 114 | |
| 115 | .dark .ctrl-btns div.refresh.active g.icon rect { |
| 116 | fill: #9B4641; |
| 117 | } |
| 118 | .light .ctrl-btns div.refresh:hover g.icon rect { |
| 119 | fill: #964949; |
| 120 | } |
| 121 | |
| 122 | .dark .ctrl-btns div.refresh:hover g.icon rect { |
| 123 | fill: #9B4641; |
| 124 | } |
| 125 | |