less-rails-semantic_ui 2.0.7.0 → 2.1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons-local.ttf +0 -0
  3. data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.svg +200 -0
  4. data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.ttf +0 -0
  5. data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.woff +0 -0
  6. data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +26 -8
  7. data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +281 -74
  8. data/assets/javascripts/semantic_ui/definitions/globals/site.js +2 -2
  9. data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +17 -13
  10. data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +124 -48
  11. data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +202 -112
  12. data/assets/javascripts/semantic_ui/definitions/modules/embed.js +1 -4
  13. data/assets/javascripts/semantic_ui/definitions/modules/modal.js +13 -13
  14. data/assets/javascripts/semantic_ui/definitions/modules/nag.js +11 -1
  15. data/assets/javascripts/semantic_ui/definitions/modules/popup.js +23 -10
  16. data/assets/javascripts/semantic_ui/definitions/modules/search.js +84 -55
  17. data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +34 -32
  18. data/assets/javascripts/semantic_ui/definitions/modules/tab.js +10 -9
  19. data/assets/javascripts/semantic_ui/definitions/modules/transition.js +5 -5
  20. data/assets/stylesheets/semantic_ui/definitions/collections/breadcrumb.less +1 -1
  21. data/assets/stylesheets/semantic_ui/definitions/collections/form.less +90 -25
  22. data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +146 -23
  23. data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +138 -64
  24. data/assets/stylesheets/semantic_ui/definitions/collections/message.less +6 -6
  25. data/assets/stylesheets/semantic_ui/definitions/collections/table.less +19 -0
  26. data/assets/stylesheets/semantic_ui/definitions/elements/button.less +109 -31
  27. data/assets/stylesheets/semantic_ui/definitions/elements/container.less +25 -1
  28. data/assets/stylesheets/semantic_ui/definitions/elements/divider.less +4 -3
  29. data/assets/stylesheets/semantic_ui/definitions/elements/header.less +0 -2
  30. data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +22 -3
  31. data/assets/stylesheets/semantic_ui/definitions/elements/input.less +59 -28
  32. data/assets/stylesheets/semantic_ui/definitions/elements/label.less +353 -235
  33. data/assets/stylesheets/semantic_ui/definitions/elements/list.less +16 -1
  34. data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +4 -11
  35. data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +2 -1
  36. data/assets/stylesheets/semantic_ui/definitions/elements/step.less +9 -5
  37. data/assets/stylesheets/semantic_ui/definitions/globals/site.less +3 -0
  38. data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +19 -1
  39. data/assets/stylesheets/semantic_ui/definitions/views/item.less +2 -2
  40. data/assets/stylesheets/semantic_ui/theme.less +10 -4
  41. data/assets/stylesheets/semantic_ui/themes/amazon/globals/site.variables +43 -0
  42. data/assets/stylesheets/semantic_ui/themes/bookish/elements/header.variables +5 -5
  43. data/assets/stylesheets/semantic_ui/themes/chubby/elements/header.variables +5 -5
  44. data/assets/stylesheets/semantic_ui/themes/default/collections/breadcrumb.variables +1 -1
  45. data/assets/stylesheets/semantic_ui/themes/default/collections/form.variables +15 -5
  46. data/assets/stylesheets/semantic_ui/themes/default/collections/grid.variables +5 -0
  47. data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +29 -14
  48. data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +14 -4
  49. data/assets/stylesheets/semantic_ui/themes/default/elements/container.variables +14 -1
  50. data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +0 -12
  51. data/assets/stylesheets/semantic_ui/themes/default/elements/input.variables +5 -6
  52. data/assets/stylesheets/semantic_ui/themes/default/elements/label.variables +30 -6
  53. data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +11 -2
  54. data/assets/stylesheets/semantic_ui/themes/default/modules/checkbox.variables +4 -4
  55. data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +13 -7
  56. data/assets/stylesheets/semantic_ui/themes/default/modules/popup.variables +1 -1
  57. data/assets/stylesheets/semantic_ui/themes/github/collections/breadcrumb.variables +11 -0
  58. data/assets/stylesheets/semantic_ui/themes/github/collections/grid.variables +2 -0
  59. data/assets/stylesheets/semantic_ui/themes/github/collections/table.variables +8 -0
  60. data/assets/stylesheets/semantic_ui/themes/github/elements/header.variables +9 -0
  61. data/assets/stylesheets/semantic_ui/themes/github/elements/icon.overrides +208 -0
  62. data/assets/stylesheets/semantic_ui/themes/github/elements/icon.variables +13 -0
  63. data/assets/stylesheets/semantic_ui/themes/github/elements/image.variables +5 -0
  64. data/assets/stylesheets/semantic_ui/themes/github/elements/input.overrides +32 -0
  65. data/assets/stylesheets/semantic_ui/themes/github/elements/input.variables +16 -0
  66. data/assets/stylesheets/semantic_ui/themes/github/elements/label.overrides +9 -0
  67. data/assets/stylesheets/semantic_ui/themes/github/elements/label.variables +4 -0
  68. data/assets/stylesheets/semantic_ui/themes/github/globals/site.variables +47 -0
  69. data/assets/stylesheets/semantic_ui/themes/github/modules/dropdown.overrides +53 -0
  70. data/assets/stylesheets/semantic_ui/themes/github/modules/dropdown.variables +35 -0
  71. data/assets/stylesheets/semantic_ui/themes/github/modules/popup.variables +12 -0
  72. data/assets/stylesheets/semantic_ui/themes/material/elements/button.overrides +0 -8
  73. data/assets/stylesheets/semantic_ui/themes/material/elements/button.variables +4 -2
  74. data/assets/stylesheets/semantic_ui/themes/twitter/elements/button.variables +1 -2
  75. data/lib/less/rails/semantic_ui/version.rb +1 -1
  76. metadata +22 -2
@@ -61,11 +61,12 @@
61
61
  Coupling
62
62
  ---------------*/
63
63
 
64
- .ui.grid > .ui.divider {
65
- font-size: 1rem;
64
+ /* Allow divider between each column row */
65
+ .ui.grid > .column + .divider,
66
+ .ui.grid > .row > .column + .divider {
67
+ left: auto;
66
68
  }
67
69
 
68
-
69
70
  /*--------------
70
71
  Horizontal
71
72
  ---------------*/
@@ -677,12 +677,10 @@ a.ui.inverted.grey.header:hover {
677
677
  margin-top: 0em;
678
678
  margin-bottom: 0em;
679
679
  border-top: none;
680
- border-bottom: none;
681
680
  border-radius: 0em;
682
681
  }
683
682
  .ui.top.attached.header {
684
683
  margin-bottom: 0em;
685
- border-bottom: none;
686
684
  border-radius: @attachedBorderRadius @attachedBorderRadius 0em 0em;
687
685
  }
688
686
  .ui.bottom.attached.header {
@@ -98,15 +98,15 @@ i.icon.loading {
98
98
  *******************************/
99
99
 
100
100
  i.icon.hover {
101
- opacity: 1;
101
+ opacity: 1 !important;
102
102
  }
103
103
 
104
104
  i.icon.active {
105
- opacity: 1;
105
+ opacity: 1 !important;
106
106
  }
107
107
 
108
108
  i.emphasized.icon {
109
- opacity: 1;
109
+ opacity: 1 !important;
110
110
  }
111
111
 
112
112
  i.disabled.icon {
@@ -119,6 +119,15 @@ i.disabled.icon {
119
119
  *******************************/
120
120
 
121
121
 
122
+ /*-------------------
123
+ Fitted
124
+ --------------------*/
125
+
126
+ i.fitted.icon {
127
+ width: auto;
128
+ margin: 0em;
129
+ }
130
+
122
131
  /*-------------------
123
132
  Link
124
133
  --------------------*/
@@ -389,6 +398,16 @@ i.inverted.circular.black.icon {
389
398
  Sizes
390
399
  --------------------*/
391
400
 
401
+ i.mini.icon,
402
+ i.mini.icons {
403
+ line-height: 1;
404
+ font-size: @mini;
405
+ }
406
+ i.tiny.icon,
407
+ i.tiny.icons {
408
+ line-height: 1;
409
+ font-size: @tiny;
410
+ }
392
411
  i.small.icon,
393
412
  i.small.icons {
394
413
  line-height: 1;
@@ -40,6 +40,8 @@
40
40
 
41
41
  .ui.input {
42
42
  position: relative;
43
+ font-weight: normal;
44
+ font-style: normal;
43
45
  display: inline-flex;
44
46
  color: @inputColor;
45
47
  }
@@ -86,6 +88,19 @@
86
88
  States
87
89
  *******************************/
88
90
 
91
+ /*--------------------
92
+ Disabled
93
+ ---------------------*/
94
+
95
+ .ui.disabled.input,
96
+ .ui.input input[disabled] {
97
+ opacity: @disabledOpacity;
98
+ }
99
+
100
+ .ui.disabled.input input {
101
+ pointer-events: none;
102
+ }
103
+
89
104
  /*--------------------
90
105
  Active
91
106
  ---------------------*/
@@ -150,15 +165,15 @@
150
165
  box-shadow: @focusBoxShadow;
151
166
  }
152
167
  .ui.input.focus input::-webkit-input-placeholder,
153
- .ui.input input:focus input::-webkit-input-placeholder {
168
+ .ui.input input:focus::-webkit-input-placeholder {
154
169
  color: @placeholderFocusColor;
155
170
  }
156
171
  .ui.input.focus input::-moz-placeholder,
157
- .ui.input input:focus input::-moz-placeholder {
172
+ .ui.input input:focus::-moz-placeholder {
158
173
  color: @placeholderFocusColor;
159
174
  }
160
175
  .ui.input.focus input::-ms-input-placeholder,
161
- .ui.input input:focus input::-ms-input-placeholder {
176
+ .ui.input input:focus::-ms-input-placeholder {
162
177
  color: @placeholderFocusColor;
163
178
  }
164
179
 
@@ -176,24 +191,24 @@
176
191
  }
177
192
 
178
193
  /* Error Placeholder */
179
- .ui.input.error input ::-webkit-input-placeholder {
194
+ .ui.input.error input::-webkit-input-placeholder {
180
195
  color: @placeholderErrorColor;
181
196
  }
182
- .ui.input.error input ::-moz-placeholder {
197
+ .ui.input.error input::-moz-placeholder {
183
198
  color: @placeholderErrorColor;
184
199
  }
185
- .ui.input.error input ::-ms-input-placeholder {
200
+ .ui.input.error input::-ms-input-placeholder {
186
201
  color: @placeholderErrorColor;
187
202
  }
188
203
 
189
204
  /* Focused Error Placeholder */
190
- .ui.input.error input :focus::-webkit-input-placeholder {
205
+ .ui.input.error input:focus::-webkit-input-placeholder {
191
206
  color: @placeholderErrorFocusColor;
192
207
  }
193
- .ui.input.error input :focus::-moz-placeholder {
208
+ .ui.input.error input:focus::-moz-placeholder {
194
209
  color: @placeholderErrorFocusColor;
195
210
  }
196
- .ui.input.error input :focus::-ms-input-placeholder {
211
+ .ui.input.error input:focus::-ms-input-placeholder {
197
212
  color: @placeholderErrorFocusColor;
198
213
  }
199
214
 
@@ -324,27 +339,34 @@
324
339
  }
325
340
 
326
341
  /* Regular Label on Left */
327
- .ui.labeled.input:not([class*="corner labeled"]):not([class*="right labeled"]) > input {
328
- border-left: none;
342
+ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
343
+ border-top-right-radius: 0px;
344
+ border-bottom-right-radius: 0px;
345
+ }
346
+ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input {
329
347
  border-top-left-radius: 0px;
330
348
  border-bottom-left-radius: 0px;
349
+ border-left-color: transparent;
331
350
  }
332
- .ui.labeled.input:not([class*="corner labeled"]):not([class*="right labeled"]) > .label {
333
- border-top-right-radius: 0px;
334
- border-bottom-right-radius: 0px;
351
+ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus {
352
+ border-left-color: @focusBorderColor;
335
353
  }
336
354
 
337
355
  /* Regular Label on Right */
338
- .ui[class*="right labeled"].input > input {
339
- border-right: none;
356
+ .ui[class*="right labeled"].input input {
340
357
  border-top-right-radius: 0px !important;
341
358
  border-bottom-right-radius: 0px !important;
359
+ border-right-color: transparent !important;
342
360
  }
343
- .ui[class*="right labeled"].input > .label {
361
+ .ui[class*="right labeled"].input input + .label {
344
362
  border-top-left-radius: 0px;
345
363
  border-bottom-left-radius: 0px;
346
364
  }
347
365
 
366
+ .ui[class*="right labeled"].input input:focus {
367
+ border-right-color: @focusBorderColor !important;
368
+ }
369
+
348
370
  /* Corner Label */
349
371
  .ui.labeled.input .corner.label {
350
372
  top: @labelCornerTop;
@@ -354,24 +376,24 @@
354
376
  }
355
377
 
356
378
  /* Spacing with corner label */
357
- .ui[class*="corner labeled"]:not(.left).labeled.input input {
379
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input input {
358
380
  padding-right: @labeledMargin !important;
359
381
  }
360
- .ui[class*="corner labeled"].icon.input:not(.left) > input {
382
+ .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
361
383
  padding-right: @labeledIconInputMargin !important;
362
384
  }
363
- .ui[class*="corner labeled"].icon.input:not(.left) > .icon {
385
+ .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .icon {
364
386
  margin-right: @labeledIconMargin;
365
387
  }
366
388
 
367
389
  /* Left Labeled */
368
- .ui[class*="corner labeled"].left.labeled.input input {
390
+ .ui[class*="left corner labeled"].labeled.input input {
369
391
  padding-left: @labeledMargin !important;
370
392
  }
371
- .ui[class*="corner labeled"].icon.input.left > input {
393
+ .ui[class*="left corner labeled"].icon.input > input {
372
394
  padding-left: @labeledIconInputMargin !important;
373
395
  }
374
- .ui[class*="corner labeled"].icon.input.left > .icon {
396
+ .ui[class*="left corner labeled"].icon.input > .icon {
375
397
  margin-left: @labeledIconMargin;
376
398
  }
377
399
 
@@ -405,9 +427,9 @@
405
427
 
406
428
  /* Button on Right */
407
429
  .ui.action.input:not([class*="left action"]) > input {
408
- border-right: none;
409
430
  border-top-right-radius: 0px !important;
410
431
  border-bottom-right-radius: 0px !important;
432
+ border-right-color: transparent !important;
411
433
  }
412
434
  .ui.action.input:not([class*="left action"]) > .dropdown,
413
435
  .ui.action.input:not([class*="left action"]) > .button,
@@ -420,7 +442,17 @@
420
442
  border-radius: 0px @borderRadius @borderRadius 0px;
421
443
  }
422
444
 
445
+ /* Input Focus */
446
+ .ui.action.input:not([class*="left action"]) input:focus {
447
+ border-right-color: @focusBorderColor !important;
448
+ }
449
+
423
450
  /* Button on Left */
451
+ .ui[class*="left action"].input > input {
452
+ border-top-left-radius: 0px !important;
453
+ border-bottom-left-radius: 0px !important;
454
+ border-left-color: transparent !important;
455
+ }
424
456
  .ui[class*="left action"].input > .dropdown,
425
457
  .ui[class*="left action"].input > .button,
426
458
  .ui[class*="left action"].input > .buttons > .button {
@@ -431,10 +463,9 @@
431
463
  .ui[class*="left action"].input > .buttons:first-child > .button {
432
464
  border-radius: @borderRadius 0px 0px @borderRadius;
433
465
  }
434
- .ui[class*="left action"].input > input {
435
- border-left: none;
436
- border-top-left-radius: 0px !important;
437
- border-bottom-left-radius: 0px !important;
466
+ /* Input Focus */
467
+ .ui[class*="left action"].input > input:focus {
468
+ border-left-color: @focusBorderColor !important;
438
469
  }
439
470
 
440
471
  /*--------------------
@@ -35,23 +35,20 @@
35
35
 
36
36
  .ui.label {
37
37
  display: inline-block;
38
- white-space: nowrap;
39
38
  line-height: 1;
40
39
  vertical-align: @verticalAlign;
41
40
 
42
41
  margin: @verticalMargin @horizontalMargin;
43
42
 
44
43
  background-color: @backgroundColor;
45
- border-color: @backgroundColor;
46
-
47
44
  background-image: @backgroundImage;
48
-
49
45
  padding: @verticalPadding @horizontalPadding;
50
- color: @labelTextColor;
46
+ color: @color;
51
47
 
52
48
  text-transform: @textTransform;
53
49
  font-weight: @fontWeight;
54
50
 
51
+ border: @border;
55
52
  border-radius: @borderRadius;
56
53
  transition: @transition;
57
54
  }
@@ -208,6 +205,7 @@ a.ui.label {
208
205
  padding-right: @tagHorizontalPadding;
209
206
 
210
207
  border-radius: 0em @borderRadius @borderRadius 0em;
208
+ transition: @tagTransition;
211
209
  }
212
210
  .ui.tag.labels .label:before,
213
211
  .ui.tag.label:before {
@@ -218,8 +216,8 @@ a.ui.label {
218
216
  right: @tagTriangleRightOffset;
219
217
  content: '';
220
218
 
221
- background-color: @backgroundColor;
222
- background-image: @backgroundImage;
219
+ background-color: inherit;
220
+ background-image: @tagTriangleBackgroundImage;
223
221
 
224
222
  width: @tagTriangleSize;
225
223
  height: @tagTriangleSize;
@@ -256,6 +254,8 @@ a.ui.label {
256
254
  padding: 0em;
257
255
  text-align: center;
258
256
 
257
+ border-color: @backgroundColor;
258
+
259
259
  width: @cornerTriangleSize;
260
260
  height: @cornerTriangleSize;
261
261
  z-index: @cornerTriangleZIndex;
@@ -380,9 +380,7 @@ a.ui.label {
380
380
  border-top-color: inherit;
381
381
  }
382
382
 
383
-
384
-
385
- /* Inside Image */
383
+ /* Inside Table */
386
384
  .ui.image > .ribbon.label,
387
385
  .ui.card .image > .ribbon.label {
388
386
  position: absolute;
@@ -398,12 +396,21 @@ a.ui.label {
398
396
  padding-left: @horizontalPadding;
399
397
  }
400
398
 
399
+ /* Inside Table */
400
+ .ui.table td > .ui.ribbon.label {
401
+ left: @ribbonTableOffset;
402
+ }
403
+ .ui.table td > .ui[class*="right ribbon"].label {
404
+ left: @rightRibbonTableOffset;
405
+ padding-left: @horizontalPadding;
406
+ }
407
+
401
408
 
402
409
  /*-------------------
403
410
  Attached
404
411
  --------------------*/
405
412
 
406
- .ui.top.attached.label,
413
+ .ui[class*="top attached"].label,
407
414
  .ui.attached.label {
408
415
  width: 100%;
409
416
  position: absolute;
@@ -415,31 +422,31 @@ a.ui.label {
415
422
 
416
423
  border-radius: @attachedCornerBorderRadius @attachedCornerBorderRadius 0em 0em;
417
424
  }
418
- .ui.bottom.attached.label {
425
+ .ui[class*="bottom attached"].label {
419
426
  top: auto;
420
427
  bottom: 0em;
421
428
  border-radius: 0em 0em @attachedCornerBorderRadius @attachedCornerBorderRadius;
422
429
  }
423
430
 
424
- .ui.top.left.attached.label {
431
+ .ui[class*="top left attached"].label {
425
432
  width: auto;
426
433
  margin-top: 0em !important;
427
434
  border-radius: @attachedCornerBorderRadius 0em @attachedBorderRadius 0em;
428
435
  }
429
436
 
430
- .ui.top.right.attached.label {
437
+ .ui[class*="top right attached"].label {
431
438
  width: auto;
432
439
  left: auto;
433
440
  right: 0em;
434
441
  border-radius: 0em @attachedCornerBorderRadius 0em @attachedBorderRadius;
435
442
  }
436
- .ui.bottom.left.attached.label {
443
+ .ui[class*="bottom left attached"].label {
437
444
  width: auto;
438
445
  top: auto;
439
446
  bottom: 0em;
440
447
  border-radius: 0em @attachedBorderRadius 0em @attachedCornerBorderRadius;
441
448
  }
442
- .ui.bottom.right.attached.label {
449
+ .ui[class*="bottom right attached"].label {
443
450
  top: auto;
444
451
  bottom: 0em;
445
452
  left: auto;
@@ -475,8 +482,6 @@ a.ui.label:hover {
475
482
  }
476
483
  .ui.labels a.label:hover:before,
477
484
  a.ui.label:hover:before {
478
- background-color: @labelHoverBackgroundColor;
479
- background-image: @labelHoverBackgroundImage;
480
485
  color: @labelHoverTextColor;
481
486
  }
482
487
 
@@ -552,30 +557,34 @@ a.ui.active.label:ActiveHover:before {
552
557
  border-color: @red !important;
553
558
  color: @redTextColor !important;
554
559
  }
555
- .ui.labels .red.label:before,
556
- .ui.red.labels .label:before,
557
- .ui.red.label:before {
558
- background-color: @red !important;
559
- }
560
- .ui.red.corner.label,
561
- .ui.red.corner.label:hover {
562
- background-color: transparent !important;
563
- }
564
-
565
- a.ui.red.labels .label:hover,
560
+ /* Link */
561
+ .ui.red.labels .label:hover,
566
562
  a.ui.red.label:hover{
567
563
  background-color: @redHover !important;
568
564
  border-color: @redHover !important;
569
565
  color: @redHoverTextColor !important;
570
566
  }
571
- .ui.labels a.red.label:hover:before,
572
- .ui.red.labels a.label:hover:before,
573
- a.ui.red.label:hover:before {
574
- background-color: @redHover !important;
567
+ /* Corner */
568
+ .ui.red.corner.label,
569
+ .ui.red.corner.label:hover {
570
+ background-color: transparent !important;
575
571
  }
572
+ /* Ribbon */
576
573
  .ui.red.ribbon.label {
577
574
  border-color: @redRibbonShadow !important;
578
575
  }
576
+ /* Basic */
577
+ .ui.basic.red.label {
578
+ background-color: @white !important;
579
+ color: @red !important;
580
+ border-color: @red !important;
581
+ }
582
+ .ui.basic.red.labels a.label:hover,
583
+ a.ui.basic.red.label:hover {
584
+ background-color: @white !important;
585
+ color: @redHover !important;
586
+ border-color: @redHover !important;
587
+ }
579
588
 
580
589
  /*--- Orange ---*/
581
590
  .ui.orange.labels .label,
@@ -584,30 +593,34 @@ a.ui.red.label:hover:before {
584
593
  border-color: @orange !important;
585
594
  color: @orangeTextColor !important;
586
595
  }
587
- .ui.labels .orange.label:before,
588
- .ui.orange.labels .label:before,
589
- .ui.orange.label:before {
590
- background-color: @orange !important;
591
- }
592
- .ui.orange.corner.label,
593
- .ui.orange.corner.label:hover {
594
- background-color: transparent !important;
595
- }
596
-
597
- a.ui.orange.labels .label:hover,
596
+ /* Link */
597
+ .ui.orange.labels .label:hover,
598
598
  a.ui.orange.label:hover{
599
599
  background-color: @orangeHover !important;
600
600
  border-color: @orangeHover !important;
601
601
  color: @orangeHoverTextColor !important;
602
602
  }
603
- .ui.labels a.orange.label:hover:before,
604
- .ui.orange.labels a.label:hover:before,
605
- a.ui.orange.label:hover:before {
606
- background-color: @orangeHover !important;
603
+ /* Corner */
604
+ .ui.orange.corner.label,
605
+ .ui.orange.corner.label:hover {
606
+ background-color: transparent !important;
607
607
  }
608
+ /* Ribbon */
608
609
  .ui.orange.ribbon.label {
609
610
  border-color: @orangeRibbonShadow !important;
610
611
  }
612
+ /* Basic */
613
+ .ui.basic.orange.label {
614
+ background-color: @white !important;
615
+ color: @orange !important;
616
+ border-color: @orange !important;
617
+ }
618
+ .ui.basic.orange.labels a.label:hover,
619
+ a.ui.basic.orange.label:hover {
620
+ background-color: @white !important;
621
+ color: @orangeHover !important;
622
+ border-color: @orangeHover !important;
623
+ }
611
624
 
612
625
  /*--- Yellow ---*/
613
626
  .ui.yellow.labels .label,
@@ -616,30 +629,34 @@ a.ui.orange.label:hover:before {
616
629
  border-color: @yellow !important;
617
630
  color: @yellowTextColor !important;
618
631
  }
619
- .ui.labels .yellow.label:before,
620
- .ui.yellow.labels .label:before,
621
- .ui.yellow.label:before {
622
- background-color: @yellow !important;
623
- }
624
- .ui.yellow.corner.label,
625
- .ui.yellow.corner.label:hover {
626
- background-color: transparent !important;
627
- }
628
-
629
- a.ui.yellow.labels .label:hover,
632
+ /* Link */
633
+ .ui.yellow.labels .label:hover,
630
634
  a.ui.yellow.label:hover{
631
635
  background-color: @yellowHover !important;
632
636
  border-color: @yellowHover !important;
633
637
  color: @yellowHoverTextColor !important;
634
638
  }
635
- .ui.labels a.yellow.label:hover:before,
636
- .ui.yellow.labels a.label:hover:before,
637
- a.ui.yellow.label:hover:before {
638
- background-color: @yellowHover !important;
639
+ /* Corner */
640
+ .ui.yellow.corner.label,
641
+ .ui.yellow.corner.label:hover {
642
+ background-color: transparent !important;
639
643
  }
644
+ /* Ribbon */
640
645
  .ui.yellow.ribbon.label {
641
646
  border-color: @yellowRibbonShadow !important;
642
647
  }
648
+ /* Basic */
649
+ .ui.basic.yellow.label {
650
+ background-color: @white !important;
651
+ color: @yellow !important;
652
+ border-color: @yellow !important;
653
+ }
654
+ .ui.basic.yellow.labels a.label:hover,
655
+ a.ui.basic.yellow.label:hover {
656
+ background-color: @white !important;
657
+ color: @yellowHover !important;
658
+ border-color: @yellowHover !important;
659
+ }
643
660
 
644
661
  /*--- Olive ---*/
645
662
  .ui.olive.labels .label,
@@ -648,30 +665,34 @@ a.ui.yellow.label:hover:before {
648
665
  border-color: @olive !important;
649
666
  color: @oliveTextColor !important;
650
667
  }
651
- .ui.labels .olive.label:before,
652
- .ui.olive.labels .label:before,
653
- .ui.olive.label:before {
654
- background-color: @olive !important;
655
- }
656
- .ui.olive.corner.label,
657
- .ui.olive.corner.label:hover {
658
- background-color: transparent !important;
659
- }
660
-
661
- a.ui.olive.labels .label:hover,
668
+ /* Link */
669
+ .ui.olive.labels .label:hover,
662
670
  a.ui.olive.label:hover{
663
671
  background-color: @oliveHover !important;
664
672
  border-color: @oliveHover !important;
665
673
  color: @oliveHoverTextColor !important;
666
674
  }
667
- .ui.labels a.olive.label:hover:before,
668
- .ui.olive.labels a.label:hover:before,
669
- a.ui.olive.label:hover:before {
670
- background-color: @oliveHover !important;
675
+ /* Corner */
676
+ .ui.olive.corner.label,
677
+ .ui.olive.corner.label:hover {
678
+ background-color: transparent !important;
671
679
  }
680
+ /* Ribbon */
672
681
  .ui.olive.ribbon.label {
673
682
  border-color: @greenRibbonShadow !important;
674
683
  }
684
+ /* Basic */
685
+ .ui.basic.olive.label {
686
+ background-color: @white !important;
687
+ color: @olive !important;
688
+ border-color: @olive !important;
689
+ }
690
+ .ui.basic.olive.labels a.label:hover,
691
+ a.ui.basic.olive.label:hover {
692
+ background-color: @white !important;
693
+ color: @oliveHover !important;
694
+ border-color: @oliveHover !important;
695
+ }
675
696
 
676
697
  /*--- Green ---*/
677
698
  .ui.green.labels .label,
@@ -680,30 +701,34 @@ a.ui.olive.label:hover:before {
680
701
  border-color: @green !important;
681
702
  color: @greenTextColor !important;
682
703
  }
683
- .ui.labels .green.label:before,
684
- .ui.green.labels .label:before,
685
- .ui.green.label:before {
686
- background-color: @green !important;
687
- }
688
- .ui.green.corner.label,
689
- .ui.green.corner.label:hover {
690
- background-color: transparent !important;
691
- }
692
-
693
- a.ui.green.labels .label:hover,
704
+ /* Link */
705
+ .ui.green.labels .label:hover,
694
706
  a.ui.green.label:hover{
695
707
  background-color: @greenHover !important;
696
708
  border-color: @greenHover !important;
697
709
  color: @greenHoverTextColor !important;
698
710
  }
699
- .ui.labels a.green.label:hover:before,
700
- .ui.green.labels a.label:hover:before,
701
- a.ui.green.label:hover:before {
702
- background-color: @greenHover !important;
711
+ /* Corner */
712
+ .ui.green.corner.label,
713
+ .ui.green.corner.label:hover {
714
+ background-color: transparent !important;
703
715
  }
716
+ /* Ribbon */
704
717
  .ui.green.ribbon.label {
705
718
  border-color: @greenRibbonShadow !important;
706
719
  }
720
+ /* Basic */
721
+ .ui.basic.green.label {
722
+ background-color: @white !important;
723
+ color: @green !important;
724
+ border-color: @green !important;
725
+ }
726
+ .ui.basic.green.labels a.label:hover,
727
+ a.ui.basic.green.label:hover {
728
+ background-color: @white !important;
729
+ color: @greenHover !important;
730
+ border-color: @greenHover !important;
731
+ }
707
732
 
708
733
  /*--- Teal ---*/
709
734
  .ui.teal.labels .label,
@@ -712,30 +737,34 @@ a.ui.green.label:hover:before {
712
737
  border-color: @teal !important;
713
738
  color: @tealTextColor !important;
714
739
  }
715
- .ui.labels .teal.label:before,
716
- .ui.teal.labels .label:before,
717
- .ui.teal.label:before {
718
- background-color: @teal !important;
719
- }
720
- .ui.teal.corner.label,
721
- .ui.teal.corner.label:hover {
722
- background-color: transparent !important;
723
- }
724
-
725
- a.ui.teal.labels .label:hover,
740
+ /* Link */
741
+ .ui.teal.labels .label:hover,
726
742
  a.ui.teal.label:hover{
727
743
  background-color: @tealHover !important;
728
744
  border-color: @tealHover !important;
729
745
  color: @tealHoverTextColor !important;
730
746
  }
731
- .ui.labels a.teal.label:hover:before,
732
- .ui.teal.labels a.label:hover:before,
733
- a.ui.teal.label:hover:before {
734
- background-color: @tealHover !important;
747
+ /* Corner */
748
+ .ui.teal.corner.label,
749
+ .ui.teal.corner.label:hover {
750
+ background-color: transparent !important;
735
751
  }
752
+ /* Ribbon */
736
753
  .ui.teal.ribbon.label {
737
754
  border-color: @tealRibbonShadow !important;
738
755
  }
756
+ /* Basic */
757
+ .ui.basic.teal.label {
758
+ background-color: @white !important;
759
+ color: @teal !important;
760
+ border-color: @teal !important;
761
+ }
762
+ .ui.basic.teal.labels a.label:hover,
763
+ a.ui.basic.teal.label:hover {
764
+ background-color: @white !important;
765
+ color: @tealHover !important;
766
+ border-color: @tealHover !important;
767
+ }
739
768
 
740
769
  /*--- Blue ---*/
741
770
  .ui.blue.labels .label,
@@ -744,30 +773,34 @@ a.ui.teal.label:hover:before {
744
773
  border-color: @blue !important;
745
774
  color: @blueTextColor !important;
746
775
  }
747
- .ui.labels .blue.label:before,
748
- .ui.blue.labels .label:before,
749
- .ui.blue.label:before {
750
- background-color: @blue !important;
751
- }
752
- .ui.blue.corner.label,
753
- .ui.blue.corner.label:hover {
754
- background-color: transparent !important;
755
- }
756
-
757
- a.ui.blue.labels .label:hover,
776
+ /* Link */
777
+ .ui.blue.labels .label:hover,
758
778
  a.ui.blue.label:hover{
759
779
  background-color: @blueHover !important;
760
780
  border-color: @blueHover !important;
761
781
  color: @blueHoverTextColor !important;
762
782
  }
763
- .ui.labels a.blue.label:hover:before,
764
- .ui.blue.labels a.label:hover:before,
765
- a.ui.blue.label:hover:before {
766
- background-color: @blueHover !important;
783
+ /* Corner */
784
+ .ui.blue.corner.label,
785
+ .ui.blue.corner.label:hover {
786
+ background-color: transparent !important;
767
787
  }
788
+ /* Ribbon */
768
789
  .ui.blue.ribbon.label {
769
790
  border-color: @blueRibbonShadow !important;
770
791
  }
792
+ /* Basic */
793
+ .ui.basic.blue.label {
794
+ background-color: @white !important;
795
+ color: @blue !important;
796
+ border-color: @blue !important;
797
+ }
798
+ .ui.basic.blue.labels a.label:hover,
799
+ a.ui.basic.blue.label:hover {
800
+ background-color: @white !important;
801
+ color: @blueHover !important;
802
+ border-color: @blueHover !important;
803
+ }
771
804
 
772
805
  /*--- Violet ---*/
773
806
  .ui.violet.labels .label,
@@ -776,30 +809,34 @@ a.ui.blue.label:hover:before {
776
809
  border-color: @violet !important;
777
810
  color: @violetTextColor !important;
778
811
  }
779
- .ui.labels .violet.label:before,
780
- .ui.violet.labels .label:before,
781
- .ui.violet.label:before {
782
- background-color: @violet !important;
783
- }
784
- .ui.violet.corner.label,
785
- .ui.violet.corner.label:hover {
786
- background-color: transparent !important;
787
- }
788
-
789
- a.ui.violet.labels .label:hover,
812
+ /* Link */
813
+ .ui.violet.labels .label:hover,
790
814
  a.ui.violet.label:hover{
791
815
  background-color: @violetHover !important;
792
816
  border-color: @violetHover !important;
793
817
  color: @violetHoverTextColor !important;
794
818
  }
795
- .ui.labels a.violet.label:hover:before,
796
- .ui.violet.labels a.label:hover:before,
797
- a.ui.violet.label:hover:before {
798
- background-color: @violetHover !important;
819
+ /* Corner */
820
+ .ui.violet.corner.label,
821
+ .ui.violet.corner.label:hover {
822
+ background-color: transparent !important;
799
823
  }
824
+ /* Ribbon */
800
825
  .ui.violet.ribbon.label {
801
826
  border-color: @violetRibbonShadow !important;
802
827
  }
828
+ /* Basic */
829
+ .ui.basic.violet.label {
830
+ background-color: @white !important;
831
+ color: @violet !important;
832
+ border-color: @violet !important;
833
+ }
834
+ .ui.basic.violet.labels a.label:hover,
835
+ a.ui.basic.violet.label:hover {
836
+ background-color: @white !important;
837
+ color: @violetHover !important;
838
+ border-color: @violetHover !important;
839
+ }
803
840
 
804
841
  /*--- Purple ---*/
805
842
  .ui.purple.labels .label,
@@ -808,30 +845,34 @@ a.ui.violet.label:hover:before {
808
845
  border-color: @purple !important;
809
846
  color: @purpleTextColor !important;
810
847
  }
811
- .ui.labels .purple.label:before,
812
- .ui.purple.labels .label:before,
813
- .ui.purple.label:before {
814
- background-color: @purple !important;
815
- }
816
- .ui.purple.corner.label,
817
- .ui.purple.corner.label:hover {
818
- background-color: transparent !important;
819
- }
820
-
821
- a.ui.purple.labels .label:hover,
848
+ /* Link */
849
+ .ui.purple.labels .label:hover,
822
850
  a.ui.purple.label:hover{
823
851
  background-color: @purpleHover !important;
824
852
  border-color: @purpleHover !important;
825
853
  color: @purpleHoverTextColor !important;
826
854
  }
827
- .ui.labels a.purple.label:hover:before,
828
- .ui.purple.labels a.label:hover:before,
829
- a.ui.purple.label:hover:before {
830
- background-color: @purpleHover !important;
855
+ /* Corner */
856
+ .ui.purple.corner.label,
857
+ .ui.purple.corner.label:hover {
858
+ background-color: transparent !important;
831
859
  }
860
+ /* Ribbon */
832
861
  .ui.purple.ribbon.label {
833
862
  border-color: @purpleRibbonShadow !important;
834
863
  }
864
+ /* Basic */
865
+ .ui.basic.purple.label {
866
+ background-color: @white !important;
867
+ color: @purple !important;
868
+ border-color: @purple !important;
869
+ }
870
+ .ui.basic.purple.labels a.label:hover,
871
+ a.ui.basic.purple.label:hover {
872
+ background-color: @white !important;
873
+ color: @purpleHover !important;
874
+ border-color: @purpleHover !important;
875
+ }
835
876
 
836
877
  /*--- Pink ---*/
837
878
  .ui.pink.labels .label,
@@ -840,30 +881,34 @@ a.ui.purple.label:hover:before {
840
881
  border-color: @pink !important;
841
882
  color: @pinkTextColor !important;
842
883
  }
843
- .ui.labels .pink.label:before,
844
- .ui.pink.labels .label:before,
845
- .ui.pink.label:before {
846
- background-color: @pink !important;
847
- }
848
- .ui.pink.corner.label,
849
- .ui.pink.corner.label:hover {
850
- background-color: transparent !important;
851
- }
852
-
853
- a.ui.pink.labels .label:hover,
884
+ /* Link */
885
+ .ui.pink.labels .label:hover,
854
886
  a.ui.pink.label:hover{
855
887
  background-color: @pinkHover !important;
856
888
  border-color: @pinkHover !important;
857
889
  color: @pinkHoverTextColor !important;
858
890
  }
859
- .ui.labels a.pink.label:hover:before,
860
- .ui.pink.labels a.label:hover:before,
861
- a.ui.pink.label:hover:before {
862
- background-color: @pinkHover !important;
891
+ /* Corner */
892
+ .ui.pink.corner.label,
893
+ .ui.pink.corner.label:hover {
894
+ background-color: transparent !important;
863
895
  }
896
+ /* Ribbon */
864
897
  .ui.pink.ribbon.label {
865
898
  border-color: @pinkRibbonShadow !important;
866
899
  }
900
+ /* Basic */
901
+ .ui.basic.pink.label {
902
+ background-color: @white !important;
903
+ color: @pink !important;
904
+ border-color: @pink !important;
905
+ }
906
+ .ui.basic.pink.labels a.label:hover,
907
+ a.ui.basic.pink.label:hover {
908
+ background-color: @white !important;
909
+ color: @pinkHover !important;
910
+ border-color: @pinkHover !important;
911
+ }
867
912
 
868
913
  /*--- Brown ---*/
869
914
  .ui.brown.labels .label,
@@ -872,30 +917,34 @@ a.ui.pink.label:hover:before {
872
917
  border-color: @brown !important;
873
918
  color: @brownTextColor !important;
874
919
  }
875
- .ui.labels .brown.label:before,
876
- .ui.brown.labels .label:before,
877
- .ui.brown.label:before {
878
- background-color: @brown !important;
879
- }
880
- .ui.brown.corner.label,
881
- .ui.brown.corner.label:hover {
882
- background-color: transparent !important;
883
- }
884
-
885
- a.ui.brown.labels .label:hover,
920
+ /* Link */
921
+ .ui.brown.labels .label:hover,
886
922
  a.ui.brown.label:hover{
887
923
  background-color: @brownHover !important;
888
924
  border-color: @brownHover !important;
889
925
  color: @brownHoverTextColor !important;
890
926
  }
891
- .ui.labels a.brown.label:hover:before,
892
- .ui.brown.labels a.label:hover:before,
893
- a.ui.brown.label:hover:before {
894
- background-color: @brownHover !important;
927
+ /* Corner */
928
+ .ui.brown.corner.label,
929
+ .ui.brown.corner.label:hover {
930
+ background-color: transparent !important;
895
931
  }
932
+ /* Ribbon */
896
933
  .ui.brown.ribbon.label {
897
934
  border-color: @brownRibbonShadow !important;
898
935
  }
936
+ /* Basic */
937
+ .ui.basic.brown.label {
938
+ background-color: @white !important;
939
+ color: @brown !important;
940
+ border-color: @brown !important;
941
+ }
942
+ .ui.basic.brown.labels a.label:hover,
943
+ a.ui.basic.brown.label:hover {
944
+ background-color: @white !important;
945
+ color: @brownHover !important;
946
+ border-color: @brownHover !important;
947
+ }
899
948
 
900
949
  /*--- Grey ---*/
901
950
  .ui.grey.labels .label,
@@ -904,29 +953,33 @@ a.ui.brown.label:hover:before {
904
953
  border-color: @grey !important;
905
954
  color: @greyTextColor !important;
906
955
  }
907
- .ui.labels .grey.label:before,
908
- .ui.grey.labels .label:before,
909
- .ui.grey.label:before {
910
- background-color: @grey !important;
911
- }
912
- .ui.grey.corner.label,
913
- .ui.grey.corner.label:hover {
914
- background-color: transparent !important;
915
- }
916
-
917
- a.ui.grey.labels .label:hover,
956
+ /* Link */
957
+ .ui.grey.labels .label:hover,
918
958
  a.ui.grey.label:hover{
919
959
  background-color: @greyHover !important;
920
960
  border-color: @greyHover !important;
921
961
  color: @greyHoverTextColor !important;
922
962
  }
923
- .ui.labels a.grey.label:hover:before,
924
- .ui.grey.labels a.label:hover:before,
925
- a.ui.grey.label:hover:before {
926
- background-color: @greyHover !important;
963
+ /* Corner */
964
+ .ui.grey.corner.label,
965
+ .ui.grey.corner.label:hover {
966
+ background-color: transparent !important;
927
967
  }
968
+ /* Ribbon */
928
969
  .ui.grey.ribbon.label {
929
- border-color: @greyRibbonShadow !important;
970
+ border-color: @brownRibbonShadow !important;
971
+ }
972
+ /* Basic */
973
+ .ui.basic.grey.label {
974
+ background-color: @white !important;
975
+ color: @grey !important;
976
+ border-color: @grey !important;
977
+ }
978
+ .ui.basic.grey.labels a.label:hover,
979
+ a.ui.basic.grey.label:hover {
980
+ background-color: @white !important;
981
+ color: @greyHover !important;
982
+ border-color: @greyHover !important;
930
983
  }
931
984
 
932
985
  /*--- Black ---*/
@@ -936,31 +989,60 @@ a.ui.grey.label:hover:before {
936
989
  border-color: @black !important;
937
990
  color: @blackTextColor !important;
938
991
  }
939
- .ui.labels .black.label:before,
940
- .ui.black.labels .label:before,
941
- .ui.black.label:before {
942
- background-color: @black !important;
992
+ /* Link */
993
+ .ui.black.labels .label:hover,
994
+ a.ui.black.label:hover{
995
+ background-color: @blackHover !important;
996
+ border-color: @blackHover !important;
997
+ color: @blackHoverTextColor !important;
943
998
  }
999
+ /* Corner */
944
1000
  .ui.black.corner.label,
945
1001
  .ui.black.corner.label:hover {
946
1002
  background-color: transparent !important;
947
1003
  }
948
-
949
- a.ui.black.labels .label:hover,
950
- a.ui.black.label:hover{
951
- background-color: @blackHover !important;
1004
+ /* Ribbon */
1005
+ .ui.black.ribbon.label {
1006
+ border-color: @brownRibbonShadow !important;
1007
+ }
1008
+ /* Basic */
1009
+ .ui.basic.black.label {
1010
+ background-color: @white !important;
1011
+ color: @black !important;
1012
+ border-color: @black !important;
1013
+ }
1014
+ .ui.basic.black.labels a.label:hover,
1015
+ a.ui.basic.black.label:hover {
1016
+ background-color: @white !important;
1017
+ color: @blackHover !important;
952
1018
  border-color: @blackHover !important;
953
- color: @blackHoverTextColor !important;
954
1019
  }
955
- .ui.labels a.black.label:hover:before,
956
- .ui.black.labels a.label:hover:before,
957
- a.ui.black.label:hover:before {
958
- background-color: @blackHover !important;
1020
+
1021
+
1022
+ /*-------------------
1023
+ Basic
1024
+ --------------------*/
1025
+
1026
+ .ui.basic.label {
1027
+ background: @basicBackground;
1028
+ border: @basicBorder;
1029
+ color: @basicColor;
1030
+ box-shadow: @basicBoxShadow;
959
1031
  }
960
- .ui.black.ribbon.label {
961
- border-color: @greyRibbonShadow !important;
1032
+
1033
+ /* Link */
1034
+ a.ui.basic.label:hover {
1035
+ text-decoration: none;
1036
+ background: @basicHoverBackground;
1037
+ color: @basicHoverColor;
1038
+ box-shadow: @basicHoverBorder;
1039
+ box-shadow: @basicHoverBoxShadow;
962
1040
  }
963
1041
 
1042
+ /* Pointing */
1043
+ .ui.basic.pointing.label:before {
1044
+ border-color: inherit;
1045
+ }
964
1046
 
965
1047
 
966
1048
  /*-------------------
@@ -1028,10 +1110,19 @@ a.ui.black.label:hover:before {
1028
1110
  .ui.pointing.label {
1029
1111
  position: relative;
1030
1112
  }
1113
+
1031
1114
  .ui.attached.pointing.label {
1032
1115
  position: absolute;
1033
1116
  }
1034
1117
 
1118
+ .ui.pointing.label:before {
1119
+ background-color: inherit;
1120
+ background-image: inherit;
1121
+ border-width: none;
1122
+ border-style: solid;
1123
+ border-color: @pointingBorderColor;
1124
+ }
1125
+ /* Arrow */
1035
1126
  .ui.pointing.label:before {
1036
1127
  position: absolute;
1037
1128
  content: '';
@@ -1043,60 +1134,87 @@ a.ui.black.label:hover:before {
1043
1134
  height: @pointingTriangleSize;
1044
1135
  transition: @pointingTriangleTransition;
1045
1136
  }
1137
+
1046
1138
  /*--- Above ---*/
1047
- .ui.pointing.label:before {
1048
- background-color: @backgroundColor;
1049
- background-image: @backgroundImage;
1050
- }
1051
1139
  .ui.pointing.label,
1052
- .ui.pointing.above.label {
1140
+ .ui[class*="pointing above"].label {
1053
1141
  margin-top: @pointingVerticalDistance;
1054
1142
  }
1055
1143
  .ui.pointing.label:before,
1056
- .ui.pointing.above.label:before {
1057
- margin-left: -@pointingTriangleOffset;
1058
- top: -@pointingTriangleOffset;
1144
+ .ui[class*="pointing above"].label:before {
1145
+ border-width: @borderWidth 0px 0px @borderWidth;
1146
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
1147
+ top: 0%;
1059
1148
  left: 50%;
1060
1149
  }
1061
1150
  /*--- Below ---*/
1062
- .ui.pointing.bottom.label,
1063
- .ui.pointing.below.label {
1151
+ .ui[class*="bottom pointing"].label,
1152
+ .ui[class*="pointing below"].label {
1064
1153
  margin-top: 0em;
1065
1154
  margin-bottom: @pointingVerticalDistance;
1066
1155
  }
1067
- .ui.pointing.bottom.label:before,
1068
- .ui.pointing.below.label:before {
1069
- margin-left: -@pointingTriangleOffset;
1156
+ .ui[class*="bottom pointing"].label:before,
1157
+ .ui[class*="pointing below"].label:before {
1158
+ border-width: 0px @borderWidth @borderWidth 0px;
1070
1159
  top: auto;
1071
1160
  right: auto;
1072
- bottom: -@pointingTriangleOffset;
1161
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
1162
+ top: 100%;
1073
1163
  left: 50%;
1074
1164
  }
1075
1165
  /*--- Left ---*/
1076
- .ui.pointing.left.label {
1166
+ .ui[class*="left pointing"].label {
1077
1167
  margin-top: 0em;
1078
1168
  margin-left: @pointingHorizontalDistance;
1079
1169
  }
1080
- .ui.pointing.left.label:before {
1081
- margin-top: -@pointingTriangleOffset;
1170
+ .ui[class*="left pointing"].label:before {
1171
+ border-width: 0px 0px @borderWidth @borderWidth;
1172
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
1082
1173
  bottom: auto;
1083
1174
  right: auto;
1084
1175
  top: 50%;
1085
1176
  left: 0em;
1086
1177
  }
1087
1178
  /*--- Right ---*/
1088
- .ui.pointing.right.label {
1179
+ .ui[class*="right pointing"].label {
1089
1180
  margin-top: 0em;
1090
1181
  margin-right: @pointingHorizontalDistance;
1091
1182
  }
1092
- .ui.pointing.right.label:before {
1093
- margin-top: -@pointingTriangleOffset;
1094
- right: -@pointingTriangleOffset;
1183
+ .ui[class*="right pointing"].label:before {
1184
+ border-width: @borderWidth @borderWidth 0px 0px;
1185
+ transform: translateX(50%) translateY(-50%) rotate(45deg);
1095
1186
  top: 50%;
1187
+ right: 0%;
1096
1188
  bottom: auto;
1097
1189
  left: auto;
1098
1190
  }
1099
1191
 
1192
+ /* Basic Pointing */
1193
+
1194
+ /*--- Above ---*/
1195
+ .ui.basic.pointing.label:before,
1196
+ .ui.basic[class*="pointing above"].label:before {
1197
+ margin-top: @basicPointingTriangleOffset;
1198
+ }
1199
+ /*--- Below ---*/
1200
+ .ui.basic[class*="bottom pointing"].label:before,
1201
+ .ui.basic[class*="pointing below"].label:before {
1202
+ bottom: auto;
1203
+ top: 100%;
1204
+ margin-top: -@basicPointingTriangleOffset;
1205
+ }
1206
+ /*--- Left ---*/
1207
+ .ui.basic[class*="left pointing"].label:before {
1208
+ top: 50%;
1209
+ left: @basicPointingTriangleOffset;
1210
+ }
1211
+ /*--- Right ---*/
1212
+ .ui.basic[class*="right pointing"].label:before {
1213
+ top: 50%;
1214
+ right: @basicPointingTriangleOffset;
1215
+ }
1216
+
1217
+
1100
1218
  /*------------------
1101
1219
  Floating Label
1102
1220
  -------------------*/