PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.1.6
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.1.6
5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / assets / stylesheets / front / _buttons.scss
latepoint / lib / assets / stylesheets / front Last commit date
_animations.scss 1 year ago _booking.scss 1 year ago _booking_animations.scss 1 year ago _buttons.scss 1 year ago _calendar.scss 1 year ago _customer_dashboard.scss 1 year ago _forms.scss 1 year ago _grid.scss 1 year ago _icons.scss 1 year ago _items.scss 1 year ago _lightbox.scss 1 year ago _login.scss 1 year ago _mixins.scss 1 year ago _notifications.scss 1 year ago _print.scss 1 year ago _responsive.scss 1 year ago _shared.scss 1 year ago _shortcodes.scss 1 year ago _type.scss 1 year ago _utilities.scss 1 year ago _variables.scss 1 year ago
_buttons.scss
258 lines
1 .latepoint-btn {
2 padding: 9px 14px;
3 background-color: $brand-primary;
4 color: #fff;
5 border-radius: $border-radius;
6 text-decoration: none!important;
7 font-weight: $body-font-weight-bold;
8 display: inline-block;
9 box-shadow: none;
10 border: none;
11 line-height: 1.2;
12 cursor: pointer;
13 &:hover, &:focus {
14 outline: none;
15 color: #fff!important;
16 background-color: color-mix(in srgb,var(--latepoint-brand-primary),#000 10%);
17 box-shadow: none;
18 }
19 &.latepoint-btn-sm {
20 padding: 6px 8px;
21 font-size: $body-font-size-s;
22 }
23 &.latepoint-btn-danger {
24 background-color: #FB7F7F;
25 color: #fff;
26 &.latepoint-btn-link {
27 background-color: transparent;
28 border-color: transparent;
29 span, i {
30 color: #d83838;
31 }
32 span {
33 border-bottom: 1px solid #d83838;
34 }
35
36 &.os-loading, &.os-loading:hover, &.os-loading:focus {
37 color: transparent!important;
38 background-color: transparent;
39 &:after {
40 border-bottom: 2px solid #d83838;
41 border-left: 2px solid #d83838;
42 border-top: 2px solid #d83838;
43 }
44 }
45 &:hover:not(.os-loading), &:focus:not(.os-loading) {
46 color: #d83838!important;
47 background-color: transparent;
48 span, i {
49 color: #d83838!important;
50 }
51 }
52 }
53 &:focus, &:active {
54 color: #fff;
55 background-color: #FB7F7F;
56 }
57 &:hover {
58 background-color: darken(#FB7F7F, 10%);
59 }
60 }
61 &.latepoint-btn-primary {
62 background-color: $brand-primary;
63 color: #fff;
64 span {
65 color: #fff;
66 }
67 i {
68 color: #fff;
69 }
70
71 &.latepoint-btn-outline {
72 background-color: transparent;
73 color: $brand-primary;
74 border: 1px solid $brand-primary;
75 &:hover, &:focus {
76 border-color: color-mix(in srgb,var(--latepoint-brand-primary),#000 10%);
77 color: $brand-primary;
78 background-color: transparent;
79 }
80 &.latepoint-btn-primary {
81 &.os-loading {
82 &:after {
83 border-bottom-color: $brand-primary;
84 border-left-color: $brand-primary;
85 border-top-color: $brand-primary;
86 }
87 }
88 }
89 span, i {
90 color: $brand-primary;
91 }
92 }
93 &.latepoint-btn-link {
94 background-color: transparent;
95 color: $brand-primary;
96 border-color: transparent;
97 padding-left: 0px;
98 padding-right: 0px;
99 span, i {
100 color: $brand-primary;
101 }
102 span {
103 border-bottom: 1px solid $brand-primary;
104 }
105 &.os-loading, &.os-loading:hover, &.os-loading:focus {
106 color: transparent!important;
107 &:after {
108 border-bottom: 2px solid $brand-primary;
109 border-left: 2px solid $brand-primary;
110 border-top: 2px solid $brand-primary;
111 }
112 }
113 &:hover:not(.os-loading), &:focus:not(.os-loading) {
114 color: $brand-primary!important;
115 span, i {
116 color: $brand-primary!important;
117 }
118 }
119 }
120 }
121 &.latepoint-btn-grey {
122 background-color: #eee;
123 color: #111!important;
124 }
125 &.latepoint-btn-white {
126 background-color: #fff;
127 color: #111!important;
128 &.latepoint-btn-link {
129 background-color: transparent;
130 color: #fff;
131 border-color: transparent;
132 padding-left: 0px;
133 padding-right: 0px;
134 span, i {
135 color: #fff;
136 }
137 span {
138 border-bottom: 1px solid #fff;
139 }
140 &.os-loading, &.os-loading:hover, &.os-loading:focus {
141 color: transparent!important;
142 &:after {
143 border-bottom: 2px solid #fff;
144 border-left: 2px solid #fff;
145 border-top: 2px solid #fff;
146 }
147 }
148 &:hover:not(.os-loading), &:focus:not(.os-loading) {
149 color: #fff!important;
150 span, i {
151 color: #fff!important;
152 }
153 }
154 }
155 }
156
157 &.latepoint-btn-block {
158 display: block;
159 text-align: center;
160 flex: 1;
161 }
162
163
164 &.os-loading {
165 color: transparent!important;
166 position: relative;
167 span, i {
168 color: transparent!important;
169 border-bottom-color: transparent!important;
170 }
171 &:focus {
172 color: transparent!important;
173 span, i {
174 color: transparent!important;
175 border-bottom-color: transparent!important;
176 }
177 }
178 &:after {
179 display: block;
180 content: "";
181 width: 14px!important;
182 height: 14px!important;
183 border-bottom: 2px solid #fff;
184 border-left: 2px solid #fff;
185 border-top: 2px solid #fff;
186 border-right: 2px solid rgba(255,255,255,0);
187 border-radius: 20px;
188 position: absolute;
189 top: 50%;
190 left: 50%;
191 transform: translate(-50%, -50%);
192 animation: os-loading 700ms infinite linear;
193 background-color: transparent!important;
194 }
195 &.latepoint-btn-white,
196 &.latepoint-btn-secondary {
197 &:after {
198 border-bottom: 2px solid $body-color;
199 border-left: 2px solid $body-color;
200 border-top: 2px solid $body-color;
201 border-right: 2px solid rgba(0,0,0,0);
202 }
203 }
204 }
205
206 &.latepoint-btn-secondary {
207 background-color: #EDEFF6;
208 color: #252C39;
209 &.latepoint-btn-link {
210 border-color: 2px solid #111;
211 }
212 &:hover, &:focus {
213 outline: none;
214 color: #252C39!important;
215 background-color: darken(#EDEFF6, 10%);
216 box-shadow: none;
217 }
218 }
219
220 span {
221 display: inline-block;
222 vertical-align: middle;
223 line-height: 1.5;
224 }
225 i {
226 display: inline-block;
227 vertical-align: middle;
228 }
229 i + span {
230 margin-left: 6px;
231 }
232 span + i {
233 margin-left: 6px;
234 }
235 }
236
237
238 // Booking Button
239 .latepoint-book-button-wrapper {
240 &.latepoint-book-button-align-center {
241 text-align: center;
242 }
243 &.latepoint-book-button-align-right {
244 text-align: right;
245 }
246 &.latepoint-book-button-align-left {
247 text-align: left;
248 }
249 &.latepoint-book-button-align-justify {
250 text-align: center;
251 .latepoint-book-button {
252 display: block;
253 }
254 }
255 }
256 .latepoint-book-button {
257 @include latepoint-book-button();
258 }