PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.12.4
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.12.4
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
wpfunnels / public / assets / scss / _elements.scss

_elements.scss in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.12.4, at public/assets/scss/_elements.scss

121 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 //1. checkbox style
2 //2. redio button style
3
4
5 //------1. checkbox style-------
6 .wpfnl-checkbox {
7 input[type=checkbox]=checkbox] {
8 display: none;
9 }
10
11 &.no-title label {
12 height: 14px;
13 }
14
15 label {
16 font-size: 12px;
17 line-height: 14px;
18 font-weight: 400;
19 color: #7A8B9A;
20 position: relative;
21 padding-left: 29px;
22 display: inline-block;
23 text-transform: capitalize;
24 cursor: pointer;
25
26 &:before {
27 content: "";
28 position: absolute;
29 left: 0;
30 top: -3px;
31 width: 18px;
32 height: 18px;
33 border-radius: 4px;
34 border: 1px solid #E5E8F3;
35 background-color: #f6f6f8;
36 transition: all 0.3s ease;
37 }
38 &:after {
39 content: "";
40 position: absolute;
41 left: 5px;
42 top: 3px;
43 width: 9px;
44 height: 4px;
45 transform: rotate(-45deg);
46 border-bottom: 2px solid #fff;
47 border-left: 2px solid #fff;
48 transition: all 0.3s ease;
49 opacity: 0;
50 visibility: hidden;
51 }
52 }
53
54 input[type=checkbox]=checkbox]:checked + label::before {
55 background-color:$primary-color;
56 border-color: $primary-color;
57 }
58 input[type=checkbox]=checkbox]:checked + label::after {
59 opacity: 1;
60 visibility: visible;
61 }
62 }
63
64 //----2. radio button style-------
65 .wpfnl-radiobtn {
66
67 input[type=radio]=radio] {
68 display: none;
69 }
70
71 &.no-title label {
72 height: 16px;
73 }
74
75 label {
76 font-size: 12px;
77 line-height: 14px;
78 font-weight: 400;
79 color: #7A8B9A;
80 position: relative;
81 padding-left: 29px;
82 display: inline-block;
83 text-transform: capitalize;
84 cursor: pointer;
85
86 &::before {
87 content: "";
88 position: absolute;
89 left: 0;
90 top: -3px;
91 width: 18px;
92 height: 18px;
93 border-radius: 100%;
94 background: #F7F7FA;
95 border: 1px solid #E5E8F3;
96 transition: all 0.3s ease;
97 }
98 &::after {
99 content: "";
100 position: absolute;
101 left: 5px;
102 top: 2px;
103 width: 10px;
104 height: 10px;
105 border-radius: 100%;
106 background: $primary-color;
107 transform: scale(0);
108 transition: all 0.3s ease;
109 }
110 }
111
112 input[type="radio"]="radio""]:checked + label::before {
113 border-color: $primary-color;
114 }
115 input[type="radio"]="radio""]:checked + label::after {
116 transform: scale(1);
117 }
118
119 }
120
121