| kumaran.m | 3b4814a | 2020-05-01 19:48:54 +0530 | [diff] [blame] | 1 | /* |
| 2 | Copyright 2020 TATA ELXSI |
| 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 | Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in) |
| 17 | */ |
| 18 | @import '../../../assets/scss/mixins/mixin'; |
| 19 | @import '../../../assets/scss/variable'; |
| 20 | .custom-button{ |
| 21 | label { |
| 22 | @include padding-value(2,2,2,2); |
| 23 | &.active { |
| 24 | @include background(null, $white, null, null, null); |
| 25 | span{ |
| 26 | img { |
| 27 | opacity: 1; |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | input[type="radio"] { |
| 32 | display: none; |
| 33 | } |
| 34 | span { |
| 35 | display: inline-block; |
| 36 | @include wh-value(30px,30px); |
| 37 | cursor: pointer; |
| 38 | border-radius: 50%; |
| 39 | @include border(all,2,solid, $white); |
| 40 | @include box-shadow(0px, 1px, 3px, 0px, $dark); |
| 41 | @include background(null, null, null, no-repeat, center); |
| 42 | text-align: center; |
| 43 | @include line-height(25px); |
| 44 | img { |
| 45 | width:50%; |
| 46 | opacity: 0; |
| 47 | @include transition(all, 0.3, null, ease); |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | } |