Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 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 -- common -- CSS file |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 21 | #view h2 { |
| 22 | margin: 0; |
| 23 | /* separated out so that other padding doesn't get clobbered */ |
| 24 | padding-top: 20px; |
| 25 | padding-bottom: 20px; |
| 26 | } |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 27 | |
| 28 | /* Tabular view upper right control buttons */ |
| 29 | |
| 30 | div.ctrl-btns { |
| 31 | display: inline-block; |
| 32 | float: right; |
| 33 | height: 44px; |
| 34 | margin-right: 24px; |
| 35 | margin-top: 7px; |
| 36 | } |
| 37 | |
| 38 | |
| 39 | div.ctrl-btns div { |
| 40 | display: inline-block; |
| 41 | padding: 4px; |
| 42 | cursor: pointer; |
| 43 | } |
| 44 | |
| 45 | /* Inactive */ |
| 46 | .light .ctrl-btns div g.icon rect, |
| 47 | .light .ctrl-btns div:hover g.icon rect { |
| 48 | fill: #eee; |
| 49 | } |
| 50 | .dark .ctrl-btns div g.icon rect, |
| 51 | .dark .ctrl-btns div:hover g.icon rect { |
| 52 | fill: #222; |
| 53 | } |
| 54 | |
| 55 | .light .ctrl-btns div g.icon use { |
| 56 | fill: #ddd; |
| 57 | } |
| 58 | .dark .ctrl-btns div g.icon use { |
| 59 | fill: #333; |
| 60 | } |
| 61 | |
| 62 | /* Active hover */ |
| 63 | .light .ctrl-btns div.active:hover g.icon rect { |
| 64 | fill: #800; |
| 65 | } |
| 66 | |
| 67 | .dark .ctrl-btns div.active:hover g.icon rect { |
| 68 | fill: #CE5650; |
| 69 | } |
| 70 | |
| 71 | /* Active */ |
| 72 | .light .ctrl-btns div.active g.icon use { |
| 73 | fill: #fff; |
| 74 | } |
| 75 | .dark .ctrl-btns div.active g.icon use { |
| 76 | fill: #eee; |
| 77 | } |
| 78 | |
| 79 | .light .ctrl-btns div.active g.icon rect { |
| 80 | fill: #bbb; |
| 81 | } |
| 82 | .dark .ctrl-btns div.active g.icon rect { |
| 83 | fill: #444; |
| 84 | } |
| 85 | |
| 86 | |