|
19 | 19 | //colors
|
20 | 20 | $color_celeste_approx: #1D1F2B;
|
21 | 21 | $switchTransition: .4s ease-out;
|
22 |
| - |
23 | 22 | @mixin transition($transition...) {
|
24 |
| - -webkit-transition: $transition; |
25 |
| - -moz-transition: $transition; |
26 |
| - -o-transition: $transition; |
27 |
| - transition: $transition; |
| 23 | + -webkit-transition: $transition; |
| 24 | + -moz-transition: $transition; |
| 25 | + -o-transition: $transition; |
| 26 | + transition: $transition; |
28 | 27 | }
|
29 | 28 |
|
30 | 29 | @mixin transition-property($properties...) {
|
31 |
| - -webkit-transition-property: $properties; |
32 |
| - -moz-transition-property: $properties; |
33 |
| - -o-transition-property: $properties; |
34 |
| - transition-property: $properties; |
| 30 | + -webkit-transition-property: $properties; |
| 31 | + -moz-transition-property: $properties; |
| 32 | + -o-transition-property: $properties; |
| 33 | + transition-property: $properties; |
35 | 34 | }
|
36 | 35 |
|
37 | 36 | .switch {
|
38 |
| - position: relative; |
39 |
| - width: 50px; |
40 |
| - height: 22px; |
41 |
| - margin-left: 8px; |
42 |
| - padding: 3px; |
43 |
| - vertical-align: top; |
44 |
| - background-color: $color_celeste_approx; |
45 |
| - border-radius: 18px; |
46 |
| - cursor: pointer; |
| 37 | + position: relative; |
| 38 | + width: 50px; |
| 39 | + height: 22px; |
| 40 | + margin-left: 8px; |
| 41 | + padding: 3px; |
| 42 | + vertical-align: top; |
| 43 | + background-color: $color_celeste_approx; |
| 44 | + border-radius: 18px; |
| 45 | + cursor: pointer; |
47 | 46 | }
|
48 | 47 |
|
49 | 48 | .switch-input {
|
50 |
| - position: absolute; |
51 |
| - top: 0; |
52 |
| - left: 0; |
53 |
| - opacity: 0; |
| 49 | + position: absolute; |
| 50 | + top: 0; |
| 51 | + left: 0; |
| 52 | + opacity: 0; |
54 | 53 | }
|
55 | 54 |
|
56 | 55 | .switch-slider {
|
57 |
| - position: absolute; |
58 |
| - top: 1px; |
59 |
| - left: 3px; |
60 |
| - width: 16px; |
61 |
| - height: 16px; |
62 |
| - border-radius: 10px; |
63 |
| - box-shadow: 1px 1px 5px rgba(black, .2); |
64 |
| - @include transition(left #{$switchTransition}); |
65 |
| - |
66 |
| - &:before { |
67 |
| - content: ''; |
68 | 56 | position: absolute;
|
69 |
| - top: 50%; |
70 |
| - left: 50%; |
71 |
| - margin: -6px 0 0 -8px; |
| 57 | + top: 1px; |
| 58 | + left: 3px; |
72 | 59 | width: 16px;
|
73 | 60 | height: 16px;
|
74 |
| - background-color: $color_jungle_green_approx; |
75 | 61 | border-radius: 10px;
|
76 |
| - box-shadow: inset 0 1px rgba(black, .02); |
77 |
| - @include transition(inherit) |
78 |
| - } |
79 |
| - |
80 |
| - .switch-input:checked ~ & { |
81 |
| - left: 30px; |
82 |
| - box-shadow: -1px 1px 5px rgba(black, .2); |
83 |
| - } |
| 62 | + box-shadow: 1px 1px 5px rgba(black, .2); |
| 63 | + @include transition(left #{$switchTransition}); |
| 64 | + &:before { |
| 65 | + content: ''; |
| 66 | + position: absolute; |
| 67 | + top: 50%; |
| 68 | + left: 50%; |
| 69 | + margin: -6px 0 0 -8px; |
| 70 | + width: 16px; |
| 71 | + height: 16px; |
| 72 | + background-color: $color_jungle_green_approx; |
| 73 | + border-radius: 10px; |
| 74 | + box-shadow: inset 0 1px rgba(black, .02); |
| 75 | + @include transition(inherit) |
| 76 | + } |
| 77 | + .switch-input:checked ~ & { |
| 78 | + left: 30px; |
| 79 | + box-shadow: -1px 1px 5px rgba(black, .2); |
| 80 | + } |
84 | 81 | }
|
85 | 82 |
|
86 | 83 | .advanceSearchBtn {
|
@@ -109,3 +106,11 @@ $switchTransition: .4s ease-out;
|
109 | 106 | .btnAssign {
|
110 | 107 | margin-bottom: 15px;
|
111 | 108 | }
|
| 109 | + |
| 110 | +.srchType { |
| 111 | + margin: 5px 0px; |
| 112 | + .srchTitle { |
| 113 | + font-size: 14px; |
| 114 | + color: $gray |
| 115 | + } |
| 116 | +} |
0 commit comments