blob: c2d08852cdb7a7f135e418549b05524ff010a3b4 [file] [log] [blame]
kumaran.m3b4814a2020-05-01 19:48:54 +05301/*
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*/
SANDHYA.JSc84f1122024-06-04 21:50:03 +053018@import "../../../assets/scss/mixins/mixin";
19@import "../../../assets/scss/variable";
20button:focus:not(:focus-visible) {
21 border-color: $gray-400;
22}
23.custom-button {
kumaran.m3b4814a2020-05-01 19:48:54 +053024 label {
SANDHYA.JSc84f1122024-06-04 21:50:03 +053025 @include padding-value(2, 2, 2, 2);
26 border: none;
kumaran.m3b4814a2020-05-01 19:48:54 +053027 &.active {
SANDHYA.JSc84f1122024-06-04 21:50:03 +053028 border: none;
kumaran.m3b4814a2020-05-01 19:48:54 +053029 @include background(null, $white, null, null, null);
SANDHYA.JSc84f1122024-06-04 21:50:03 +053030 span {
kumaran.m3b4814a2020-05-01 19:48:54 +053031 img {
32 opacity: 1;
33 }
34 }
35 }
36 input[type="radio"] {
37 display: none;
38 }
39 span {
40 display: inline-block;
SANDHYA.JSc84f1122024-06-04 21:50:03 +053041 @include wh-value(30px, 30px);
kumaran.m3b4814a2020-05-01 19:48:54 +053042 cursor: pointer;
43 border-radius: 50%;
SANDHYA.JSc84f1122024-06-04 21:50:03 +053044 @include border(all, 2, solid, $white);
kumaran.m3b4814a2020-05-01 19:48:54 +053045 @include box-shadow(0px, 1px, 3px, 0px, $dark);
46 @include background(null, null, null, no-repeat, center);
47 text-align: center;
48 @include line-height(25px);
49 img {
SANDHYA.JSc84f1122024-06-04 21:50:03 +053050 width: 50%;
kumaran.m3b4814a2020-05-01 19:48:54 +053051 opacity: 0;
52 @include transition(all, 0.3, null, ease);
53 }
54 }
55 }
56}