-
Notifications
You must be signed in to change notification settings - Fork 62
/
BootstrapInterface.php
485 lines (390 loc) · 9.71 KB
/
BootstrapInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
<?php
/**
* @package yii2-krajee-base
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2022
* @version 3.0.5
*/
namespace kartik\base;
/**
* BootstrapInterface includes all Bootstrap library specific constants implemented by all Krajee extension
* classes. These constants are used in configuration of Bootstrap version specific configurations as set via
* [[BootstrapTrait::$bsCssMap]].
*
* @author Kartik Visweswaran <[email protected]>
*/
interface BootstrapInterface
{
/**
* bootstrap **extra small** size modifier - **deprecated** - use [[SIZE_X_SMALL]] instead
*/
const SIZE_TINY = 'xs';
/**
* bootstrap **extra small** size modifier
*/
const SIZE_X_SMALL = 'xs';
/**
* bootstrap **small** size modifier
*/
const SIZE_SMALL = 'sm';
/**
* bootstrap **medium** size modifier (this is the default size)
*/
const SIZE_MEDIUM = 'md';
/**
* bootstrap **large** size modifier
*/
const SIZE_LARGE = 'lg';
/**
* bootstrap **extra large** size modifier
*/
const SIZE_X_LARGE = 'xl';
/**
* bootstrap **extra extra large** size modifier
*/
const SIZE_XX_LARGE = 'xxl';
/**
* Bootstrap panel
*/
const BS_SR_ONLY = 'sr-only';
/**
* Bootstrap panel
*/
const BS_PANEL = 'panel';
/**
* Bootstrap panel heading
*/
const BS_PANEL_HEADING = 'panel-heading';
/**
* Bootstrap panel title
*/
const BS_PANEL_TITLE = 'panel-title';
/**
* Bootstrap panel body
*/
const BS_PANEL_BODY = 'panel-body';
/**
* Bootstrap panel footer
*/
const BS_PANEL_FOOTER = 'panel-footer';
/**
* Bootstrap panel default contextual color
*/
const BS_PANEL_DARK = 'panel-dark';
/**
* Bootstrap panel default contextual color
*/
const BS_PANEL_DEFAULT = 'panel-default';
/**
* Bootstrap panel secondary contextual color
*/
const BS_PANEL_SECONDARY = 'panel-secondary';
/**
* Bootstrap panel primary contextual color
*/
const BS_PANEL_PRIMARY = 'panel-primary';
/**
* Bootstrap panel success contextual color
*/
const BS_PANEL_SUCCESS = 'panel-success';
/**
* Bootstrap panel info contextual color
*/
const BS_PANEL_INFO = 'panel-info';
/**
* Bootstrap panel warning contextual color
*/
const BS_PANEL_WARNING = 'panel-warning';
/**
* Bootstrap panel danger contextual color
*/
const BS_PANEL_DANGER = 'panel-danger';
/**
* Bootstrap badge style
*/
const BS_BADGE = 'badge';
/**
* Bootstrap label
*/
const BS_LABEL = 'label';
/**
* Bootstrap label default contextual color
*/
const BS_LABEL_LIGHT = 'label-light';
/**
* Bootstrap label default contextual color
*/
const BS_LABEL_DARK = 'label-dark';
/**
* Bootstrap label default contextual color
*/
const BS_LABEL_DEFAULT = 'label-default';
/**
* Bootstrap label primary contextual color
*/
const BS_LABEL_PRIMARY = 'label-primary';
/**
* Bootstrap label success contextual color
*/
const BS_LABEL_SUCCESS = 'label-success';
/**
* Bootstrap label info contextual color
*/
const BS_LABEL_INFO = 'label-info';
/**
* Bootstrap label warning contextual color
*/
const BS_LABEL_WARNING = 'label-warning';
/**
* Bootstrap label danger contextual color
*/
const BS_LABEL_DANGER = 'label-danger';
/**
* Bootstrap table default contextual color
*/
const BS_TABLE_ACTIVE = 'table-active';
/**
* Bootstrap table primary contextual color
*/
const BS_TABLE_PRIMARY = 'table-primary';
/**
* Bootstrap table success contextual color
*/
const BS_TABLE_SUCCESS = 'table-success';
/**
* Bootstrap table info contextual color
*/
const BS_TABLE_INFO = 'table-info';
/**
* Bootstrap table warning contextual color
*/
const BS_TABLE_WARNING = 'table-warning';
/**
* Bootstrap table danger contextual color
*/
const BS_TABLE_DANGER = 'table-danger';
/**
* Bootstrap progress-bar active animated state
*/
const BS_PROGRESS_BAR_ACTIVE = 'progress-bar-active';
/**
* Bootstrap progress-bar primary contextual color
*/
const BS_PROGRESS_BAR_PRIMARY = 'progress-bar-primary';
/**
* Bootstrap progress-bar success contextual color
*/
const BS_PROGRESS_BAR_SUCCESS = 'progress-bar-success';
/**
* Bootstrap progress-bar info contextual color
*/
const BS_PROGRESS_BAR_INFO = 'progress-bar-info';
/**
* Bootstrap progress-bar warning contextual color
*/
const BS_PROGRESS_BAR_WARNING = 'progress-bar-warning';
/**
* Bootstrap progress-bar danger contextual color
*/
const BS_PROGRESS_BAR_DANGER = 'progress-bar-danger';
/**
* Bootstrap well style
*/
const BS_WELL = 'well';
/**
* Bootstrap well large style
*/
const BS_WELL_LG = 'well-lg';
/**
* Bootstrap well small style
*/
const BS_WELL_SM = 'well-sm';
/**
* Bootstrap well small style
*/
const BS_THUMBNAIL = 'thumbnail';
/**
* Bootstrap navbar right style
*/
const BS_NAVBAR_DEFAULT = 'navbar-default';
/**
* Bootstrap navbar toggle style
*/
const BS_NAVBAR_TOGGLE = 'navbar-toggle';
/**
* Bootstrap navbar right style
*/
const BS_NAVBAR_RIGHT = 'navbar-right';
/**
* Bootstrap navbar button style
*/
const BS_NAVBAR_BTN = 'navbar-btn';
/**
* Bootstrap navbar fixed top style
*/
const BS_NAVBAR_FIXTOP = 'navbar-fixed-top';
/**
* Bootstrap NAV stacked style
*/
const BS_NAV_STACKED = 'nav-stacked';
/**
* Bootstrap NAV item style
*/
const BS_NAV_ITEM = 'nav-item';
/**
* Bootstrap NAV link style
*/
const BS_NAV_LINK = 'nav-link';
/**
* Bootstrap page item style
*/
const BS_PAGE_ITEM = 'page-item';
/**
* Bootstrap page link style
*/
const BS_PAGE_LINK = 'page-link';
/**
* Bootstrap list inline item style
*/
const BS_LIST_INLINE_ITEM = 'list-inline-item';
/**
* Bootstrap default button style
*/
const BS_BTN_DEFAULT = 'btn-default';
/**
* Bootstrap image responsive style
*/
const BS_IMG_RESPONSIVE = 'img-responsive';
/**
* Bootstrap image circle style
*/
const BS_IMG_CIRCLE = 'img-circle';
/**
* Bootstrap image rounded style
*/
const BS_IMG_ROUNDED = 'img-rounded';
/**
* Bootstrap radio style
*/
const BS_RADIO = 'radio';
/**
* Bootstrap checkbox style
*/
const BS_CHECKBOX = 'checkbox';
/**
* Bootstrap large input style
*/
const BS_INPUT_LG = 'input-lg';
/**
* Bootstrap small input style
*/
const BS_INPUT_SM = 'input-sm';
/**
* Bootstrap label control style
*/
const BS_CONTROL_LABEL = 'control-label';
/**
* Bootstrap condensed table style
*/
const BS_TABLE_CONDENSED = 'table-condensed';
/**
* Bootstrap carousel item style
*/
const BS_CAROUSEL_ITEM = 'carousel-item';
/**
* Bootstrap carousel item next style
*/
const BS_CAROUSEL_ITEM_NEXT = 'carousel-item-next';
/**
* Bootstrap carousel item previous style
*/
const BS_CAROUSEL_ITEM_PREV = 'carousel-item-prev';
/**
* Bootstrap carousel item left style
*/
const BS_CAROUSEL_ITEM_LEFT = 'carousel-item-left';
/**
* Bootstrap carousel item right style
*/
const BS_CAROUSEL_ITEM_RIGHT = 'carousel-item-right';
/**
* Bootstrap carousel control left style
*/
const BS_CAROUSEL_CONTROL_LEFT = 'carousel-control-left';
/**
* Bootstrap carousel control right style
*/
const BS_CAROUSEL_CONTROL_RIGHT = 'carousel-control-right';
/**
* Bootstrap help block style
*/
const BS_HELP_BLOCK = 'form-text';
/**
* Bootstrap pull right style
*/
const BS_PULL_RIGHT = 'pull-right';
/**
* Bootstrap pull left style
*/
const BS_PULL_LEFT = 'pull-left';
/**
* Bootstrap center block style
*/
const BS_CENTER_BLOCK = 'center-block';
/**
* Bootstrap hide print style
*/
const BS_HIDE = 'hide';
/**
* Bootstrap hidden print style
*/
const BS_HIDDEN_PRINT = 'hidden-print';
/**
* Bootstrap hidden extra small style
*/
const BS_HIDDEN_XS = 'hidden-xs';
/**
* Bootstrap hidden small style
*/
const BS_HIDDEN_SM = 'hidden-sm';
/**
* Bootstrap hidden medium style
*/
const BS_HIDDEN_MD = 'hidden-md';
/**
* Bootstrap hidden large style
*/
const BS_HIDDEN_LG = 'hidden-lg';
/**
* Bootstrap hidden print block style
*/
const BS_VISIBLE_PRINT = 'visible-print-block';
/**
* Bootstrap visible extra small style
*/
const BS_VISIBLE_XS = 'visible-xs';
/**
* Bootstrap visible small style
*/
const BS_VISIBLE_SM = 'visible-sm';
/**
* Bootstrap visible medium style
*/
const BS_VISIBLE_MD = 'visible-md';
/**
* Bootstrap visible large style
*/
const BS_VISIBLE_LG = 'visible-lg';
/**
* Bootstrap form control static style
*/
const BS_FORM_CONTROL_STATIC = 'form-control-static';
/**
* Bootstrap dropdown divider style
*/
const BS_DROPDOWN_DIVIDER = 'dropdown-divider';
/**
* Bootstrap show style
*/
const BS_SHOW = 'show';
}