PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.6.8
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.6.8
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 / admin / _buttons.scss
latepoint / lib / assets / stylesheets / admin Last commit date
_activities.scss 9 months ago _addons.scss 9 months ago _agents.scss 9 months ago _animations.scss 9 months ago _booking_form_preview.scss 9 months ago _bookings.scss 3 weeks ago _bundles.scss 9 months ago _buttons.scss 9 months ago _calendars.scss 9 months ago _categories.scss 9 months ago _customers.scss 9 months ago _dark.scss 9 months ago _daterangepicker.scss 9 months ago _elements.scss 1 month ago _forms.scss 9 months ago _grid.scss 1 year ago _grid_variables.scss 1 year ago _icons.scss 1 year ago _latecheckbox.scss 9 months ago _lateselect.scss 1 year ago _layout.scss 9 months ago _lightbox.scss 9 months ago _menu.scss 9 months ago _messages.scss 9 months ago _misc.scss 9 months ago _mixins.scss 9 months ago _notifications.scss 9 months ago _orders.scss 9 months ago _pickr.scss 1 year ago _processes.scss 1 month ago _quick_availability.scss 9 months ago _reminders.scss 1 year ago _responsive.scss 9 months ago _roles.scss 1 year ago _schedule.scss 3 months ago _services.scss 9 months ago _settings.scss 2 days ago _side-panel.scss 9 months ago _steps.scss 1 year ago _tables.scss 9 months ago _type.scss 1 year ago _updates.scss 9 months ago _utilities.scss 1 year ago _variables.scss 9 months ago _widgets.scss 9 months ago _wizard.scss 2 weeks ago
_buttons.scss
351 lines
1 body.latepoint-admin {
2 .latepoint-btn {
3 padding: 8px 12px;
4 background-color: $button-primary-bg-color;
5 box-shadow: $button-shadow-size $button-primary-shadow-color;
6 border: 1px solid $button-primary-border-color;
7 color: $button-primary-text-color;
8 border-radius: $border-radius-btn;
9 text-decoration: none;
10 font-weight: $body-font-weight-bold;
11 display: inline-flex;
12 align-items: center;
13 gap: 6px;
14 cursor: pointer;
15 white-space: nowrap;
16 line-height: 1.2;
17 font-size: $button-font-size;
18
19
20 &:hover, &:focus {
21 outline: none;
22 background-color: $button-primary-hover-bg-color;
23 border-color: $button-primary-hover-bg-color;
24 }
25
26
27 // --------------
28 // COLORS
29 // --------------
30
31 &.latepoint-btn-secondary {
32 background-color: $button-secondary-bg-color;
33 color: $button-secondary-text-color;
34 border-color: $button-secondary-border-color;
35 box-shadow: $button-shadow-size $button-secondary-shadow-color;
36 &.latepoint-btn-link {
37 border-color: $button-secondary-border-color;
38 }
39 &:hover {
40 background-color: $button-secondary-hover-bg-color;
41 border-color: $button-secondary-hover-bg-color;
42 }
43 }
44
45 &.latepoint-btn-danger {
46 background-color: $button-danger-bg-color;
47 color: $button-danger-text-color;
48 box-shadow: $button-shadow-size $button-danger-shadow-color;
49 border-color: $button-danger-border-color;
50 &.latepoint-btn-link {
51 border-color: $button-danger-border-color;
52 }
53 &:focus, &:active {
54 background-color: $button-danger-bg-color;
55 }
56 &:hover {
57 background-color: $button-danger-hover-bg-color;
58 border-color: $button-danger-hover-bg-color;
59 }
60 }
61
62 &.latepoint-btn-success {
63 background-color: $button-success-bg-color;
64 color: $button-success-text-color;
65 box-shadow: $button-shadow-size $button-success-shadow-color;
66 border-color: $button-success-border-color;
67 &.latepoint-btn-link {
68 border-color: $button-success-border-color;
69 }
70 &:focus, &:active {
71 background-color: $button-success-bg-color;
72 }
73 &:hover {
74 background-color: $button-success-hover-bg-color;
75 border-color: $button-success-hover-bg-color;
76 }
77 }
78
79 &.latepoint-btn-white {
80 background-color: $button-white-bg-color;
81 color: $button-white-text-color;
82 box-shadow: $button-shadow-size $button-white-shadow-color;
83 border-color: $button-white-border-color;
84 border-bottom-color: darken($button-white-border-color, 8%);
85 &.latepoint-btn-link {
86 border-color: $button-white-border-color;
87 }
88 &:focus, &:active {
89 background-color: $button-white-bg-color;
90 }
91 &:hover {
92 background-color: $button-white-hover-bg-color;
93 border-color: $button-white-hover-bg-color;
94 }
95 }
96
97
98 // --------------
99 // STYLES
100 // --------------
101
102 &.latepoint-btn-link {
103 border: none;
104 border-radius: 0px;
105 padding-left: 0px;
106 padding-right: 0px;
107 background-color: transparent;
108 color: $brand-primary;
109 }
110
111
112 &.latepoint-btn-outline {
113 background-color: transparent;
114 color: $button-primary-outline-text-color;
115 border: 1px solid $button-primary-border-color;
116 &.latepoint-btn-outline-dotted {
117 border-style: dotted;
118 }
119 &:hover, &:focus {
120 border-color: darken($brand-primary, 10%);
121 color: $brand-primary;
122 background-color: transparent;
123 }
124 &.latepoint-btn-danger {
125 background-color: transparent;
126 color: $button-danger-outline-color;
127 border-color: $button-danger-outline-color;
128 &:hover, &:focus {
129 border-color: darken($button-danger-outline-color, 10%);
130 color: darken($button-danger-outline-color, 10%);
131 }
132 }
133 &.latepoint-btn-secondary {
134 border: 1px solid #ccc;
135 background-color: transparent;
136 color: #444;
137 &:hover, &:focus {
138 border-color: darken(#ccc, 10%);
139 color: darken(#444, 10%);
140 background-color: transparent;
141 }
142 }
143 &.latepoint-btn-grey {
144 color: $headings-color;
145 border: 1px solid rgba(0,0,0,0.1);
146 background-color: #fff;
147 box-shadow: 0 1px 1px rgba(0,0,0,0.05);
148 border-bottom-color: rgba(0,0,0,0.25);
149 &:hover, &:focus {
150 border-color: darken(#ccc, 10%);
151 color: darken(#444, 10%);
152 background-color: #fff;
153 }
154 }
155 }
156
157 &.latepoint-btn-block {
158 display: flex;
159 justify-content: center;
160 gap: 10px;
161 align-items: center;
162 width: 100%;
163 text-align: center;
164 }
165
166 &.latepoint-btn-rounded {
167 border-radius: 30px;
168 }
169
170 // --------------
171 // SIZES
172 // --------------
173
174 &.latepoint-btn-md {
175 padding: 10px 16px 10px;
176 font-size: floor($font-size-base * 1.15);
177 border-radius: $border-radius-btn-sm;
178 gap: 10px;
179 i {
180 font-size: 13px;
181 }
182 i + span {
183 }
184 }
185 &.latepoint-btn-lg {
186 padding: 12px 20px;
187 font-size: floor($font-size-base * 1.2);
188 border-radius: $border-radius-btn-lg;
189 gap: 10px;
190 i {
191 line-height: inherit;
192 }
193 i + span {
194 }
195 }
196 &.latepoint-btn-sm {
197 padding: 6px 8px;
198 font-size: floor($font-size-base * 0.9);
199 border-radius: $border-radius-btn-sm;
200 gap: 5px;
201 i, span {
202 vertical-align: middle;
203 }
204 i + span {
205 }
206 }
207
208
209
210 span {
211 display: inline-block;
212 }
213 i {
214 display: inline-block;
215 }
216 &.latepoint-btn-just-icon {
217 i {
218 display: block;
219 }
220 }
221 i + span {
222 }
223 span + i {
224 }
225
226
227
228 // --------------
229 // LOADING STATE
230 // --------------
231
232 &.os-loading {
233 color: transparent!important;
234 position: relative;
235 span, i {
236 color: transparent!important;
237 border-color: transparent!important;
238 }
239 &:after {
240 display: block;
241 content: "";
242 width: 14px;
243 height: 14px;
244 border-bottom: 2px solid $button-primary-text-color;
245 border-left: 2px solid $button-primary-text-color;
246 border-top: 2px solid $button-primary-text-color;
247 border-right: 2px solid transparent;
248 border-radius: 20px;
249 position: absolute;
250 top: 50%;
251 left: 50%;
252 transform: translate(-50%, -50%);
253 animation: os-loading 700ms infinite linear;
254 background-color: transparent!important;
255 }
256 &.latepoint-btn-danger{
257 &:after {
258 border-bottom-color: $button-danger-text-color;
259 border-left-color: $button-danger-text-color;
260 border-top-color: $button-danger-text-color;
261 border-right-color: transparent;
262 }
263 }
264 &.latepoint-btn-white{
265 &:after {
266 border-bottom-color: $button-white-text-color;
267 border-left-color: $button-white-text-color;
268 border-top-color: $button-white-text-color;
269 border-right-color: transparent;
270 }
271 }
272 &.latepoint-btn-secondary{
273 &:after {
274 border-bottom-color: $button-secondary-text-color;
275 border-left-color: $button-secondary-text-color;
276 border-top-color: $button-secondary-text-color;
277 border-right-color: transparent;
278 }
279 }
280 &.latepoint-btn-outline{
281 &:after {
282 border-bottom-color: $button-primary-border-color;
283 border-left-color: $button-primary-border-color;
284 border-top-color: $button-primary-border-color;
285 border-right-color: transparent;
286 }
287 }
288 &.latepoint-btn-link {
289 &:after {
290 border-bottom-color: $button-primary-border-color;
291 border-left-color: $button-primary-border-color;
292 border-top-color: $button-primary-border-color;
293 border-right-color: transparent;
294 }
295 }
296 }
297 }
298
299 .latepoint-link {
300 display: inline-block;
301 border-bottom: 1px solid $brand-primary;
302 color: $brand-primary;
303 position: relative;
304 outline: none;
305 box-shadow: none;
306 text-decoration: none;
307 &:focus {
308 outline: none;
309 box-shadow: none;
310 }
311 i {
312 display: inline-block;
313 margin-right: 5px;
314 }
315 span {
316 display: inline-block;
317 }
318 &.os-loading {
319 i, .latepoint-icon {
320 color: transparent!important;
321 }
322 &:before {
323 @include loading-circle($brand-primary, 12px);
324 left: 6px;
325 }
326 }
327 }
328 }
329
330
331 // Booking Button
332 .latepoint-book-button-wrapper {
333 &.latepoint-book-button-align-center {
334 text-align: center;
335 }
336 &.latepoint-book-button-align-right {
337 text-align: right;
338 }
339 &.latepoint-book-button-align-left {
340 text-align: left;
341 }
342 &.latepoint-book-button-align-justify {
343 text-align: center;
344 .latepoint-book-button {
345 display: block;
346 }
347 }
348 }
349 .latepoint-book-button {
350 @include latepoint-book-button();
351 }