PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.1.8
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.1.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 1 year ago _addons.scss 1 year ago _agents.scss 1 year ago _animations.scss 1 year ago _booking_form_preview.scss 1 year ago _bookings.scss 1 year ago _bundles.scss 1 year ago _buttons.scss 1 year ago _calendars.scss 1 year ago _categories.scss 1 year ago _customers.scss 1 year ago _dark.scss 1 year ago _daterangepicker.scss 1 year ago _elements.scss 1 year ago _forms.scss 1 year ago _grid.scss 1 year ago _grid_variables.scss 1 year ago _icons.scss 1 year ago _latecheckbox.scss 1 year ago _lateselect.scss 1 year ago _layout.scss 1 year ago _lightbox.scss 1 year ago _menu.scss 1 year ago _messages.scss 1 year ago _misc.scss 1 year ago _mixins.scss 1 year ago _notifications.scss 1 year ago _orders.scss 1 year ago _pickr.scss 1 year ago _processes.scss 1 year ago _quick_availability.scss 1 year ago _reminders.scss 1 year ago _responsive.scss 1 year ago _roles.scss 1 year ago _schedule.scss 1 year ago _services.scss 1 year ago _settings.scss 1 year ago _side-panel.scss 1 year ago _steps.scss 1 year ago _tables.scss 1 year ago _type.scss 1 year ago _updates.scss 1 year ago _utilities.scss 1 year ago _variables.scss 1 year ago _widgets.scss 1 year ago _wizard.scss 1 year ago
_buttons.scss
348 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: block;
159 width: 100%;
160 text-align: center;
161 }
162
163 &.latepoint-btn-rounded {
164 border-radius: 30px;
165 }
166
167 // --------------
168 // SIZES
169 // --------------
170
171 &.latepoint-btn-md {
172 padding: 10px 16px 10px;
173 font-size: floor($font-size-base * 1.15);
174 border-radius: $border-radius-btn-sm;
175 gap: 10px;
176 i {
177 font-size: 13px;
178 }
179 i + span {
180 }
181 }
182 &.latepoint-btn-lg {
183 padding: 12px 20px;
184 font-size: floor($font-size-base * 1.2);
185 border-radius: $border-radius-btn-lg;
186 gap: 10px;
187 i {
188 line-height: inherit;
189 }
190 i + span {
191 }
192 }
193 &.latepoint-btn-sm {
194 padding: 6px 8px;
195 font-size: floor($font-size-base * 0.9);
196 border-radius: $border-radius-btn-sm;
197 gap: 5px;
198 i, span {
199 vertical-align: middle;
200 }
201 i + span {
202 }
203 }
204
205
206
207 span {
208 display: inline-block;
209 }
210 i {
211 display: inline-block;
212 }
213 &.latepoint-btn-just-icon {
214 i {
215 display: block;
216 }
217 }
218 i + span {
219 }
220 span + i {
221 }
222
223
224
225 // --------------
226 // LOADING STATE
227 // --------------
228
229 &.os-loading {
230 color: transparent!important;
231 position: relative;
232 span, i {
233 color: transparent!important;
234 border-color: transparent!important;
235 }
236 &:after {
237 display: block;
238 content: "";
239 width: 14px;
240 height: 14px;
241 border-bottom: 2px solid $button-primary-text-color;
242 border-left: 2px solid $button-primary-text-color;
243 border-top: 2px solid $button-primary-text-color;
244 border-right: 2px solid transparent;
245 border-radius: 20px;
246 position: absolute;
247 top: 50%;
248 left: 50%;
249 transform: translate(-50%, -50%);
250 animation: os-loading 700ms infinite linear;
251 background-color: transparent!important;
252 }
253 &.latepoint-btn-danger{
254 &:after {
255 border-bottom-color: $button-danger-text-color;
256 border-left-color: $button-danger-text-color;
257 border-top-color: $button-danger-text-color;
258 border-right-color: transparent;
259 }
260 }
261 &.latepoint-btn-white{
262 &:after {
263 border-bottom-color: $button-white-text-color;
264 border-left-color: $button-white-text-color;
265 border-top-color: $button-white-text-color;
266 border-right-color: transparent;
267 }
268 }
269 &.latepoint-btn-secondary{
270 &:after {
271 border-bottom-color: $button-secondary-text-color;
272 border-left-color: $button-secondary-text-color;
273 border-top-color: $button-secondary-text-color;
274 border-right-color: transparent;
275 }
276 }
277 &.latepoint-btn-outline{
278 &:after {
279 border-bottom-color: $button-primary-border-color;
280 border-left-color: $button-primary-border-color;
281 border-top-color: $button-primary-border-color;
282 border-right-color: transparent;
283 }
284 }
285 &.latepoint-btn-link {
286 &:after {
287 border-bottom-color: $button-primary-border-color;
288 border-left-color: $button-primary-border-color;
289 border-top-color: $button-primary-border-color;
290 border-right-color: transparent;
291 }
292 }
293 }
294 }
295
296 .latepoint-link {
297 display: inline-block;
298 border-bottom: 1px solid $brand-primary;
299 color: $brand-primary;
300 position: relative;
301 outline: none;
302 box-shadow: none;
303 text-decoration: none;
304 &:focus {
305 outline: none;
306 box-shadow: none;
307 }
308 i {
309 display: inline-block;
310 margin-right: 5px;
311 }
312 span {
313 display: inline-block;
314 }
315 &.os-loading {
316 i, .latepoint-icon {
317 color: transparent!important;
318 }
319 &:before {
320 @include loading-circle($brand-primary, 12px);
321 left: 6px;
322 }
323 }
324 }
325 }
326
327
328 // Booking Button
329 .latepoint-book-button-wrapper {
330 &.latepoint-book-button-align-center {
331 text-align: center;
332 }
333 &.latepoint-book-button-align-right {
334 text-align: right;
335 }
336 &.latepoint-book-button-align-left {
337 text-align: left;
338 }
339 &.latepoint-book-button-align-justify {
340 text-align: center;
341 .latepoint-book-button {
342 display: block;
343 }
344 }
345 }
346 .latepoint-book-button {
347 @include latepoint-book-button();
348 }