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 */ |
| 44 | .light .button svg.embeddedIcon, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 45 | .light .toggleButton.selected svg.embeddedIcon, |
| 46 | .light .radioButton.selected svg.embeddedIcon { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 47 | fill: #838383; |
| 48 | } |
| 49 | .light .button svg.embeddedIcon .glyph, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 50 | .light .toggleButton.selected svg.embeddedIcon .glyph, |
| 51 | .light .radioButton.selected svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 52 | fill: white; |
| 53 | } |
| 54 | .dark .button svg.embeddedIcon, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 55 | .dark .toggleButton.selected svg.embeddedIcon, |
| 56 | .dark .radioButton.selected svg.embeddedIcon{ |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 57 | fill: #151515; |
| 58 | } |
| 59 | .dark .button svg.embeddedIcon .glyph, |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 60 | .dark .toggleButton.selected svg.embeddedIcon .glyph, |
| 61 | .dark .radioButton.selected svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 62 | fill: #B2B2B2; |
| 63 | } |
| 64 | |
| 65 | /* Unselected button color */ |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 66 | .light .toggleButton svg.embeddedIcon, |
| 67 | .light .radioButton svg.embeddedIcon { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 68 | fill: #eee; |
| 69 | } |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 70 | .light .toggleButton svg.embeddedIcon .glyph, |
| 71 | .light .radioButton svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 72 | fill: #bbb; |
| 73 | } |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 74 | .dark .toggleButton svg.embeddedIcon, |
| 75 | .dark .radioButton svg.embeddedIcon { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 76 | fill: #303030; |
| 77 | } |
Bri Prebilic Cole | 664d470 | 2015-02-25 12:16:14 -0800 | [diff] [blame] | 78 | .dark .toggleButton svg.embeddedIcon .glyph, |
| 79 | .dark .radioButton svg.embeddedIcon .glyph { |
Bri Prebilic Cole | f7280d0 | 2015-02-24 16:20:47 -0800 | [diff] [blame] | 80 | fill: #565656; |
| 81 | } |