Bri Prebilic Cole | 5000a75 | 2015-02-23 17:20:53 -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 -- Button Service -- CSS file |
| 19 | */ |
| 20 | |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 21 | .button, |
| 22 | .toggleButton, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 23 | .radioSet { |
Bri Prebilic Cole | 258f046 | 2015-02-25 14:48:50 -0800 | [diff] [blame] | 24 | display: inline-block; |
Simon Hunt | 6925286 | 2015-02-26 11:26:08 -0800 | [diff] [blame] | 25 | padding: 0 4px; |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 26 | } |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 27 | .radioButton { |
Bri Prebilic Cole | 258f046 | 2015-02-25 14:48:50 -0800 | [diff] [blame] | 28 | display: inline-block; |
Simon Hunt | 6925286 | 2015-02-26 11:26:08 -0800 | [diff] [blame] | 29 | padding: 0 2px; |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | .button svg.embeddedIcon, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 33 | .toggleButton svg.embeddedIcon, |
| 34 | .radioButton svg.embeddedIcon { |
Bri Prebilic Cole | 5000a75 | 2015-02-23 17:20:53 -0800 | [diff] [blame] | 35 | cursor: pointer; |
| 36 | } |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 37 | .button svg.embeddedIcon .icon rect, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 38 | .toggleButton svg.embeddedIcon .icon rect, |
| 39 | .radioButton svg.embeddedIcon .icon rect{ |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 40 | stroke: none; |
| 41 | } |
| 42 | |
| 43 | /* Selected button color */ |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 44 | .light .button svg.embeddedIcon .icon rect, |
| 45 | .light .toggleButton.selected svg.embeddedIcon .icon rect, |
| 46 | .light .radioButton.selected svg.embeddedIcon .icon rect { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 47 | fill: #838383; |
| 48 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 49 | |
| 50 | .light .button:hover svg.embeddedIcon .icon rect, |
| 51 | .light .toggleButton.selected:hover svg.embeddedIcon .icon rect |
| 52 | /* NOTE: selected radio button should NOT have hover highlight */ |
| 53 | { |
| 54 | fill: #444444; |
| 55 | } |
| 56 | |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 57 | .light .button svg.embeddedIcon .glyph, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 58 | .light .toggleButton.selected svg.embeddedIcon .glyph, |
| 59 | .light .radioButton.selected svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 60 | fill: white; |
| 61 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 62 | |
| 63 | .dark .button svg.embeddedIcon .icon rect, |
| 64 | .dark .toggleButton.selected svg.embeddedIcon .icon rect, |
| 65 | .dark .radioButton.selected svg.embeddedIcon .icon rect { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 66 | fill: #151515; |
| 67 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 68 | |
| 69 | .dark .button:hover svg.embeddedIcon .icon rect, |
| 70 | .dark .toggleButton.selected:hover svg.embeddedIcon .icon rect |
| 71 | /* NOTE: selected radio button should NOT have hover highlight */ |
| 72 | { |
| 73 | fill: #444; |
| 74 | } |
| 75 | |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 76 | .dark .button svg.embeddedIcon .glyph, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 77 | .dark .toggleButton.selected svg.embeddedIcon .glyph, |
| 78 | .dark .radioButton.selected svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 79 | fill: #B2B2B2; |
| 80 | } |
| 81 | |
| 82 | /* Unselected button color */ |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 83 | .light .toggleButton svg.embeddedIcon .icon rect, |
| 84 | .light .radioButton svg.embeddedIcon .icon rect { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 85 | fill: #eee; |
| 86 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 87 | |
| 88 | .light .toggleButton:hover svg.embeddedIcon .icon rect, |
| 89 | .light .radioButton:hover:not(.selected) svg.embeddedIcon .icon rect { |
| 90 | fill: #ccc; |
| 91 | } |
| 92 | |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 93 | .light .toggleButton svg.embeddedIcon .glyph, |
| 94 | .light .radioButton svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 95 | fill: #bbb; |
| 96 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 97 | .light .toggleButton:hover:not(.selected) svg.embeddedIcon .glyph, |
| 98 | .light .radioButton:hover:not(.selected) svg.embeddedIcon .glyph { |
| 99 | fill: #999; |
| 100 | } |
| 101 | |
| 102 | .dark .toggleButton svg.embeddedIcon .icon rect, |
| 103 | .dark .radioButton svg.embeddedIcon .icon rect { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 104 | fill: #303030; |
| 105 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 106 | |
| 107 | .dark .toggleButton:hover:not(.selected) svg.embeddedIcon .icon rect, |
| 108 | .dark .radioButton:hover:not(.selected) svg.embeddedIcon .icon rect { |
| 109 | fill: #555; |
| 110 | } |
| 111 | |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 112 | .dark .toggleButton svg.embeddedIcon .glyph, |
| 113 | .dark .radioButton svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 114 | fill: #565656; |
| 115 | } |
Simon Hunt | 7be1be4 | 2015-02-26 17:20:33 -0800 | [diff] [blame] | 116 | |
| 117 | .dark .toggleButton:hover:not(.selected) svg.embeddedIcon .glyph, |
| 118 | .dark .radioButton:hover:not(.selected) svg.embeddedIcon .glyph { |
| 119 | fill: #777; |
| 120 | } |