fomantic-ui 2.9.0-beta.126 → 2.9.0-beta.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +77 -1
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +77 -1
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +187 -1
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +474 -49
- package/dist/semantic.js +25 -25
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/src/definitions/collections/table.less +253 -0
- package/src/definitions/elements/container.less +110 -0
- package/src/definitions/elements/segment.less +109 -0
- package/src/themes/default/collections/table.variables +23 -0
- package/src/themes/default/elements/container.variables +8 -0
- package/src/themes/default/elements/segment.variables +8 -0
- package/src/themes/default/globals/variation.variables +20 -0
package/dist/semantic.min.js
CHANGED
package/package.json
CHANGED
@@ -288,6 +288,31 @@
|
|
288
288
|
}
|
289
289
|
}
|
290
290
|
}
|
291
|
+
& when (@variationTableOverflowing) {
|
292
|
+
& when (@variationTableOverflowingShort) {
|
293
|
+
.ui.overflowing.table.short {
|
294
|
+
max-height: @overflowingMobileMaxHeight * 0.75;
|
295
|
+
}
|
296
|
+
}
|
297
|
+
& when (@variationTableOverflowingVeryShort) {
|
298
|
+
.ui.overflowing.table[class*="very short"] {
|
299
|
+
max-height: @overflowingMobileMaxHeight * 0.5;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
.ui.overflowing.table {
|
303
|
+
max-height: @overflowingMobileMaxHeight;
|
304
|
+
}
|
305
|
+
& when (@variationTableOverflowingLong) {
|
306
|
+
.ui.overflowing.table.long {
|
307
|
+
max-height: @overflowingMobileMaxHeight * 2;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
& when (@variationTableOverflowingVeryLong) {
|
311
|
+
.ui.overflowing.table[class*="very long"] {
|
312
|
+
max-height: @overflowingMobileMaxHeight * 3;
|
313
|
+
}
|
314
|
+
}
|
315
|
+
}
|
291
316
|
}
|
292
317
|
& when (@variationTableScrolling) {
|
293
318
|
/*--------------
|
@@ -461,6 +486,90 @@
|
|
461
486
|
}
|
462
487
|
|
463
488
|
}
|
489
|
+
& when (@variationTableOverflowing) {
|
490
|
+
/*--------------
|
491
|
+
Overflowing
|
492
|
+
---------------*/
|
493
|
+
.ui.overflowing.table {
|
494
|
+
display: block;
|
495
|
+
overflow: auto;
|
496
|
+
}
|
497
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
498
|
+
& when (@variationTableOverflowingShort) {
|
499
|
+
.ui.overflowing.table.short {
|
500
|
+
max-height: @overflowingTabletMaxHeight * 0.75;
|
501
|
+
}
|
502
|
+
}
|
503
|
+
& when (@variationTableOverflowingVeryShort) {
|
504
|
+
.ui.overflowing.table[class*="very short"] {
|
505
|
+
max-height: @overflowingTabletMaxHeight * 0.5;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
.ui.overflowing.table {
|
509
|
+
max-height: @overflowingTabletMaxHeight;
|
510
|
+
}
|
511
|
+
& when (@variationTableOverflowingLong) {
|
512
|
+
.ui.overflowing.table.long {
|
513
|
+
max-height: @overflowingTabletMaxHeight * 2;
|
514
|
+
}
|
515
|
+
}
|
516
|
+
& when (@variationTableOverflowingVeryLong) {
|
517
|
+
.ui.overflowing.table[class*="very long"] {
|
518
|
+
max-height: @overflowingTabletMaxHeight * 3;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
}
|
522
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
523
|
+
& when (@variationTableOverflowingShort) {
|
524
|
+
.ui.overflowing.table.short {
|
525
|
+
max-height: @overflowingComputerMaxHeight * 0.75;
|
526
|
+
}
|
527
|
+
}
|
528
|
+
& when (@variationTableOverflowingVeryShort) {
|
529
|
+
.ui.overflowing.table[class*="very short"] {
|
530
|
+
max-height: @overflowingComputerMaxHeight * 0.5;
|
531
|
+
}
|
532
|
+
}
|
533
|
+
.ui.overflowing.table {
|
534
|
+
max-height: @overflowingComputerMaxHeight;
|
535
|
+
}
|
536
|
+
& when (@variationTableOverflowingLong) {
|
537
|
+
.ui.overflowing.table.long {
|
538
|
+
max-height: @overflowingComputerMaxHeight * 2;
|
539
|
+
}
|
540
|
+
}
|
541
|
+
& when (@variationTableOverflowingVeryLong) {
|
542
|
+
.ui.overflowing.table[class*="very long"]{
|
543
|
+
max-height: @overflowingComputerMaxHeight * 3;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
}
|
547
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
548
|
+
& when (@variationTableOverflowingShort) {
|
549
|
+
.ui.overflowing.table.short {
|
550
|
+
max-height: @overflowingWidescreenMaxHeight * 0.75;
|
551
|
+
}
|
552
|
+
}
|
553
|
+
& when (@variationTableOverflowingVeryShort) {
|
554
|
+
.ui.overflowing.table[class*="very short"] {
|
555
|
+
max-height: @overflowingWidescreenMaxHeight * 0.5;
|
556
|
+
}
|
557
|
+
}
|
558
|
+
.ui.overflowing.table {
|
559
|
+
max-height: @overflowingWidescreenMaxHeight;
|
560
|
+
}
|
561
|
+
& when (@variationTableOverflowingLong) {
|
562
|
+
.ui.overflowing.table.long {
|
563
|
+
max-height: @overflowingWidescreenMaxHeight * 2;
|
564
|
+
}
|
565
|
+
}
|
566
|
+
& when (@variationTableOverflowingVeryLong) {
|
567
|
+
.ui.overflowing.table[class*="very long"] {
|
568
|
+
max-height: @overflowingWidescreenMaxHeight * 3;
|
569
|
+
}
|
570
|
+
}
|
571
|
+
}
|
572
|
+
}
|
464
573
|
|
465
574
|
|
466
575
|
/*******************************
|
@@ -1638,6 +1747,150 @@
|
|
1638
1747
|
}
|
1639
1748
|
}
|
1640
1749
|
|
1750
|
+
& when (@variationTableStuck) {
|
1751
|
+
/*--------------
|
1752
|
+
Stuck
|
1753
|
+
---------------*/
|
1754
|
+
|
1755
|
+
.ui.stuck.table:not(.inverted) {
|
1756
|
+
background: @stuckBackground;
|
1757
|
+
& > thead > tr {
|
1758
|
+
background: @stuckHeaderBackground;
|
1759
|
+
}
|
1760
|
+
& > tbody > tr {
|
1761
|
+
background: @stuckBackground;
|
1762
|
+
}
|
1763
|
+
& > tfoot > tr {
|
1764
|
+
background: @stuckFooterBackground;
|
1765
|
+
}
|
1766
|
+
&.basic when (@variationTableBasic) {
|
1767
|
+
& > thead > tr,
|
1768
|
+
> tfoot > tr {
|
1769
|
+
background: @stuckBackground;
|
1770
|
+
}
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
.ui.inverted.stuck.table when (@variationTableInverted) {
|
1774
|
+
& > thead > tr {
|
1775
|
+
background: @invertedStuckHeaderBackground;
|
1776
|
+
}
|
1777
|
+
& > tbody > tr {
|
1778
|
+
background: @invertedStuckBackground;
|
1779
|
+
}
|
1780
|
+
& > tfoot > tr {
|
1781
|
+
background: @invertedStuckFooterBackground;
|
1782
|
+
}
|
1783
|
+
&.basic when (@variationTableBasic){
|
1784
|
+
& > thead > tr,
|
1785
|
+
> tfoot > tr {
|
1786
|
+
background: @invertedStuckBackground;
|
1787
|
+
}
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
& when (@variationTableStuckHead) or (@variationTableStuckFoot) {
|
1791
|
+
.ui.head.stuck.table > thead,
|
1792
|
+
.ui.foot.stuck.table > tfoot {
|
1793
|
+
position: -webkit-sticky;
|
1794
|
+
position: sticky;
|
1795
|
+
z-index: @stuckZIndex;
|
1796
|
+
}
|
1797
|
+
}
|
1798
|
+
.ui.head.stuck.table when (@variationTableStuckHead) {
|
1799
|
+
border-top: 0;
|
1800
|
+
& > thead {
|
1801
|
+
top: 0;
|
1802
|
+
bottom: auto;
|
1803
|
+
& > tr:first-child > th {
|
1804
|
+
border-top: @cellBorder;
|
1805
|
+
}
|
1806
|
+
}
|
1807
|
+
&.inverted > thead > tr:first-child > th when (@variationTableInverted) {
|
1808
|
+
border-top: @invertedCellBorder;
|
1809
|
+
}
|
1810
|
+
}
|
1811
|
+
.ui.foot.stuck.table when (@variationTableStuckFoot) {
|
1812
|
+
border-bottom: 0;
|
1813
|
+
& > tfoot {
|
1814
|
+
top: auto;
|
1815
|
+
bottom: 0;
|
1816
|
+
& > tr:last-child > td,
|
1817
|
+
> tr:last-child > th {
|
1818
|
+
border-bottom: @cellBorder;
|
1819
|
+
}
|
1820
|
+
}
|
1821
|
+
& when (@variationTableInverted) {
|
1822
|
+
&.inverted > tfoot > tr:first-child > td,
|
1823
|
+
&.inverted > tfoot > tr:first-child > th {
|
1824
|
+
border-top: @invertedCellBorder;
|
1825
|
+
}
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
|
1829
|
+
.ui.first.stuck.table when (@variationTableStuckFirst) {
|
1830
|
+
border-left: 0;
|
1831
|
+
& th:first-child,
|
1832
|
+
td:first-child {
|
1833
|
+
position: -webkit-sticky;
|
1834
|
+
position: sticky;
|
1835
|
+
left: 0;
|
1836
|
+
border-left: @cellBorder;
|
1837
|
+
background: inherit;
|
1838
|
+
}
|
1839
|
+
& when (@variationTableInverted) {
|
1840
|
+
&.inverted th:first-child,
|
1841
|
+
&.inverted td:first-child {
|
1842
|
+
border-left: @invertedCellBorder;
|
1843
|
+
}
|
1844
|
+
}
|
1845
|
+
}
|
1846
|
+
|
1847
|
+
.ui.last.stuck.table when (@variationTableStuckLast) {
|
1848
|
+
border-right: 0;
|
1849
|
+
& th:last-child,
|
1850
|
+
td:last-child {
|
1851
|
+
position: -webkit-sticky;
|
1852
|
+
position: sticky;
|
1853
|
+
right: 0;
|
1854
|
+
border-right: @cellBorder;
|
1855
|
+
background: inherit;
|
1856
|
+
}
|
1857
|
+
& when (@variationTableInverted) {
|
1858
|
+
&.inverted th:last-child,
|
1859
|
+
&.inverted td:last-child {
|
1860
|
+
border-right: @invertedCellBorder;
|
1861
|
+
}
|
1862
|
+
}
|
1863
|
+
}
|
1864
|
+
& when (@variationTableCelled) {
|
1865
|
+
& when (@variationTableStuckFirst) {
|
1866
|
+
.ui.celled.first.stuck.table th:first-child,
|
1867
|
+
.ui.celled.first.stuck.table td:first-child {
|
1868
|
+
border-right: @cellBorder;
|
1869
|
+
}
|
1870
|
+
}
|
1871
|
+
& when (@variationTableStuckLast) {
|
1872
|
+
.ui.celled.last.stuck.table th:last-child,
|
1873
|
+
.ui.celled.last.stuck.table td:last-child {
|
1874
|
+
border-left: @cellBorder;
|
1875
|
+
}
|
1876
|
+
}
|
1877
|
+
& when (@variationTableInverted) {
|
1878
|
+
& when (@variationTableStuckFirst) {
|
1879
|
+
.ui.inverted.celled.first.stuck.table th:first-child,
|
1880
|
+
.ui.inverted.celled.first.stuck.table td:first-child {
|
1881
|
+
border-right: @invertedCellBorder;
|
1882
|
+
}
|
1883
|
+
}
|
1884
|
+
& when (@variationTableStuckLast) {
|
1885
|
+
.ui.inverted.celled.last.stuck.table th:last-child,
|
1886
|
+
.ui.inverted.celled.last.stuck.table td:last-child {
|
1887
|
+
border-left: @invertedCellBorder;
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
}
|
1891
|
+
}
|
1892
|
+
}
|
1893
|
+
|
1641
1894
|
/*--------------
|
1642
1895
|
Sizes
|
1643
1896
|
---------------*/
|
@@ -164,5 +164,115 @@
|
|
164
164
|
hyphens: auto;
|
165
165
|
}
|
166
166
|
}
|
167
|
+
& when (@variationContainerScrolling) {
|
168
|
+
/*--------------
|
169
|
+
Scrolling
|
170
|
+
---------------*/
|
171
|
+
.ui.scrolling.container {
|
172
|
+
overflow: auto;
|
173
|
+
}
|
174
|
+
@media only screen and (max-width : @largestMobileScreen) {
|
175
|
+
& when (@variationContainerScrollingShort) {
|
176
|
+
.ui.scrolling.container.short {
|
177
|
+
max-height: @scrollingMobileMaxHeight * 0.75;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
& when (@variationContainerScrollingVeryShort) {
|
181
|
+
.ui.scrolling.container[class*="very short"] {
|
182
|
+
max-height: @scrollingMobileMaxHeight * 0.5;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
.ui.scrolling.container {
|
186
|
+
max-height: @scrollingMobileMaxHeight;
|
187
|
+
}
|
188
|
+
& when (@variationContainerScrollingLong) {
|
189
|
+
.ui.scrolling.container.long {
|
190
|
+
max-height: @scrollingMobileMaxHeight * 2;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
& when (@variationContainerScrollingVeryLong) {
|
194
|
+
.ui.scrolling.container[class*="very long"] {
|
195
|
+
max-height: @scrollingMobileMaxHeight * 3;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
201
|
+
& when (@variationContainerScrollingShort) {
|
202
|
+
.ui.scrolling.container.short {
|
203
|
+
max-height: @scrollingTabletMaxHeight * 0.75;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
& when (@variationContainerScrollingVeryShort) {
|
207
|
+
.ui.scrolling.container[class*="very short"] {
|
208
|
+
max-height: @scrollingTabletMaxHeight * 0.5;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
.ui.scrolling.container {
|
212
|
+
max-height: @scrollingTabletMaxHeight;
|
213
|
+
}
|
214
|
+
& when (@variationContainerScrollingLong) {
|
215
|
+
.ui.scrolling.container.long {
|
216
|
+
max-height: @scrollingTabletMaxHeight * 2;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
& when (@variationContainerScrollingVeryLong) {
|
220
|
+
.ui.scrolling.container[class*="very long"] {
|
221
|
+
max-height: @scrollingTabletMaxHeight * 3;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
226
|
+
& when (@variationContainerScrollingShort) {
|
227
|
+
.ui.scrolling.container.short {
|
228
|
+
max-height: @scrollingComputerMaxHeight * 0.75;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
& when (@variationContainerScrollingVeryShort) {
|
232
|
+
.ui.scrolling.container[class*="very short"] {
|
233
|
+
max-height: @scrollingComputerMaxHeight * 0.5;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
.ui.scrolling.container {
|
237
|
+
max-height: @scrollingComputerMaxHeight;
|
238
|
+
}
|
239
|
+
& when (@variationContainerScrollingLong) {
|
240
|
+
.ui.scrolling.container.long {
|
241
|
+
max-height: @scrollingComputerMaxHeight * 2;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
& when (@variationContainerScrollingVeryLong) {
|
245
|
+
.ui.scrolling.container[class*="very long"]{
|
246
|
+
max-height: @scrollingComputerMaxHeight * 3;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
251
|
+
& when (@variationContainerScrollingShort) {
|
252
|
+
.ui.scrolling.container.short {
|
253
|
+
max-height: @scrollingWidescreenMaxHeight * 0.75;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
& when (@variationContainerScrollingVeryShort) {
|
257
|
+
.ui.scrolling.container[class*="very short"] {
|
258
|
+
max-height: @scrollingWidescreenMaxHeight * 0.5;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
.ui.scrolling.container {
|
262
|
+
max-height: @scrollingWidescreenMaxHeight;
|
263
|
+
}
|
264
|
+
& when (@variationContainerScrollingLong) {
|
265
|
+
.ui.scrolling.container.long {
|
266
|
+
max-height: @scrollingWidescreenMaxHeight * 2;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
& when (@variationContainerScrollingVeryLong) {
|
270
|
+
.ui.scrolling.container[class*="very long"] {
|
271
|
+
max-height: @scrollingWidescreenMaxHeight * 3;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
167
277
|
|
168
278
|
.loadUIOverrides();
|
@@ -783,6 +783,115 @@
|
|
783
783
|
}
|
784
784
|
}
|
785
785
|
|
786
|
+
& when (@variationSegmentScrolling) {
|
787
|
+
/*--------------
|
788
|
+
Scrolling
|
789
|
+
---------------*/
|
790
|
+
.ui.scrolling.segment {
|
791
|
+
overflow: auto;
|
792
|
+
}
|
793
|
+
@media only screen and (max-width : @largestMobileScreen) {
|
794
|
+
& when (@variationSegmentScrollingShort) {
|
795
|
+
.ui.scrolling.segment.short {
|
796
|
+
max-height: @scrollingMobileMaxHeight * 0.75;
|
797
|
+
}
|
798
|
+
}
|
799
|
+
& when (@variationSegmentScrollingVeryShort) {
|
800
|
+
.ui.scrolling.segment[class*="very short"] {
|
801
|
+
max-height: @scrollingMobileMaxHeight * 0.5;
|
802
|
+
}
|
803
|
+
}
|
804
|
+
.ui.scrolling.segment {
|
805
|
+
max-height: @scrollingMobileMaxHeight;
|
806
|
+
}
|
807
|
+
& when (@variationSegmentScrollingLong) {
|
808
|
+
.ui.scrolling.segment.long {
|
809
|
+
max-height: @scrollingMobileMaxHeight * 2;
|
810
|
+
}
|
811
|
+
}
|
812
|
+
& when (@variationSegmentScrollingVeryLong) {
|
813
|
+
.ui.scrolling.segment[class*="very long"] {
|
814
|
+
max-height: @scrollingMobileMaxHeight * 3;
|
815
|
+
}
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
820
|
+
& when (@variationSegmentScrollingShort) {
|
821
|
+
.ui.scrolling.segment.short {
|
822
|
+
max-height: @scrollingTabletMaxHeight * 0.75;
|
823
|
+
}
|
824
|
+
}
|
825
|
+
& when (@variationSegmentScrollingVeryShort) {
|
826
|
+
.ui.scrolling.segment[class*="very short"] {
|
827
|
+
max-height: @scrollingTabletMaxHeight * 0.5;
|
828
|
+
}
|
829
|
+
}
|
830
|
+
.ui.scrolling.segment {
|
831
|
+
max-height: @scrollingTabletMaxHeight;
|
832
|
+
}
|
833
|
+
& when (@variationSegmentScrollingLong) {
|
834
|
+
.ui.scrolling.segment.long {
|
835
|
+
max-height: @scrollingTabletMaxHeight * 2;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
& when (@variationSegmentScrollingVeryLong) {
|
839
|
+
.ui.scrolling.segment[class*="very long"] {
|
840
|
+
max-height: @scrollingTabletMaxHeight * 3;
|
841
|
+
}
|
842
|
+
}
|
843
|
+
}
|
844
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
845
|
+
& when (@variationSegmentScrollingShort) {
|
846
|
+
.ui.scrolling.segment.short {
|
847
|
+
max-height: @scrollingComputerMaxHeight * 0.75;
|
848
|
+
}
|
849
|
+
}
|
850
|
+
& when (@variationSegmentScrollingVeryShort) {
|
851
|
+
.ui.scrolling.segment[class*="very short"] {
|
852
|
+
max-height: @scrollingComputerMaxHeight * 0.5;
|
853
|
+
}
|
854
|
+
}
|
855
|
+
.ui.scrolling.segment {
|
856
|
+
max-height: @scrollingComputerMaxHeight;
|
857
|
+
}
|
858
|
+
& when (@variationSegmentScrollingLong) {
|
859
|
+
.ui.scrolling.segment.long {
|
860
|
+
max-height: @scrollingComputerMaxHeight * 2;
|
861
|
+
}
|
862
|
+
}
|
863
|
+
& when (@variationSegmentScrollingVeryLong) {
|
864
|
+
.ui.scrolling.segment[class*="very long"]{
|
865
|
+
max-height: @scrollingComputerMaxHeight * 3;
|
866
|
+
}
|
867
|
+
}
|
868
|
+
}
|
869
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
870
|
+
& when (@variationSegmentScrollingShort) {
|
871
|
+
.ui.scrolling.segment.short {
|
872
|
+
max-height: @scrollingWidescreenMaxHeight * 0.75;
|
873
|
+
}
|
874
|
+
}
|
875
|
+
& when (@variationSegmentScrollingVeryShort) {
|
876
|
+
.ui.scrolling.segment[class*="very short"] {
|
877
|
+
max-height: @scrollingWidescreenMaxHeight * 0.5;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
.ui.scrolling.segment {
|
881
|
+
max-height: @scrollingWidescreenMaxHeight;
|
882
|
+
}
|
883
|
+
& when (@variationSegmentScrollingLong) {
|
884
|
+
.ui.scrolling.segment.long {
|
885
|
+
max-height: @scrollingWidescreenMaxHeight * 2;
|
886
|
+
}
|
887
|
+
}
|
888
|
+
& when (@variationSegmentScrollingVeryLong) {
|
889
|
+
.ui.scrolling.segment[class*="very long"] {
|
890
|
+
max-height: @scrollingWidescreenMaxHeight * 3;
|
891
|
+
}
|
892
|
+
}
|
893
|
+
}
|
894
|
+
}
|
786
895
|
/*-------------------
|
787
896
|
Size
|
788
897
|
--------------------*/
|
@@ -273,6 +273,29 @@
|
|
273
273
|
@scrollingComputerMaxBodyHeight: (@scrollingItemHeight * @scrollingComputerMaxItems);
|
274
274
|
@scrollingWidescreenMaxBodyHeight: (@scrollingItemHeight * @scrollingWidescreenMaxItems);
|
275
275
|
|
276
|
+
/* Stuck */
|
277
|
+
@stuckBackground: @background;
|
278
|
+
@stuckHeaderBackground: @offWhite;
|
279
|
+
@stuckFooterBackground: @stuckHeaderBackground;
|
280
|
+
|
281
|
+
@invertedStuckBackground: @invertedBackground;
|
282
|
+
@invertedStuckHeaderBackground: @invertedHeaderBackgroundHex;
|
283
|
+
@invertedStuckFooterBackground: @invertedStuckHeaderBackground;
|
284
|
+
|
285
|
+
@stuckZIndex: 800;
|
286
|
+
|
287
|
+
@overflowingMobileMaxItems: 5;
|
288
|
+
@overflowingTabletMaxItems: 6;
|
289
|
+
@overflowingComputerMaxItems: 8;
|
290
|
+
@overflowingWidescreenMaxItems: 10;
|
291
|
+
|
292
|
+
@overflowingItemHeight: (@cellVerticalPadding * 2) + @lineHeight;
|
293
|
+
@overflowingMobileMaxHeight: (@overflowingItemHeight * @overflowingMobileMaxItems);
|
294
|
+
@overflowingTabletMaxHeight: (@overflowingItemHeight * @overflowingTabletMaxItems);
|
295
|
+
@overflowingComputerMaxHeight: (@overflowingItemHeight * @overflowingComputerMaxItems);
|
296
|
+
@overflowingWidescreenMaxHeight: (@overflowingItemHeight * @overflowingWidescreenMaxItems);
|
297
|
+
|
298
|
+
|
276
299
|
/* Sizes */
|
277
300
|
@small: 0.9em;
|
278
301
|
@medium: 1em;
|
@@ -47,6 +47,14 @@
|
|
47
47
|
@computerVeryRelaxedGridWidth: e(%("calc(%d + %d)", @computerWidth, @veryRelaxedGridGutterWidth));
|
48
48
|
@largeMonitorVeryRelaxedGridWidth: e(%("calc(%d + %d)", @largeMonitorWidth, @veryRelaxedGridGutterWidth));
|
49
49
|
|
50
|
+
/*-------------------
|
51
|
+
Scrolling
|
52
|
+
--------------------*/
|
53
|
+
@scrollingMobileMaxHeight: 15em;
|
54
|
+
@scrollingTabletMaxHeight: 18em;
|
55
|
+
@scrollingComputerMaxHeight: 24em;
|
56
|
+
@scrollingWidescreenMaxHeight: 30em;
|
57
|
+
|
50
58
|
/*-------------------
|
51
59
|
Types
|
52
60
|
--------------------*/
|
@@ -153,3 +153,11 @@
|
|
153
153
|
)
|
154
154
|
;
|
155
155
|
@tertiaryInvertedColor: @invertedMutedTextColor;
|
156
|
+
|
157
|
+
/*-------------------
|
158
|
+
Scrolling
|
159
|
+
--------------------*/
|
160
|
+
@scrollingMobileMaxHeight: 15em;
|
161
|
+
@scrollingTabletMaxHeight: 18em;
|
162
|
+
@scrollingComputerMaxHeight: 24em;
|
163
|
+
@scrollingWidescreenMaxHeight: 30em;
|
@@ -45,6 +45,11 @@
|
|
45
45
|
@variationContainerFluid: true;
|
46
46
|
@variationContainerAligned: true;
|
47
47
|
@variationContainerJustified: true;
|
48
|
+
@variationContainerScrolling: true;
|
49
|
+
@variationContainerScrollingShort: true;
|
50
|
+
@variationContainerScrollingVeryShort: true;
|
51
|
+
@variationContainerScrollingLong: true;
|
52
|
+
@variationContainerScrollingVeryLong: true;
|
48
53
|
|
49
54
|
/* Divider */
|
50
55
|
@variationDividerInverted: true;
|
@@ -220,6 +225,11 @@
|
|
220
225
|
@variationSegmentTertiary: true;
|
221
226
|
@variationSegmentAttached: true;
|
222
227
|
@variationSegmentFitted: true;
|
228
|
+
@variationSegmentScrolling: true;
|
229
|
+
@variationSegmentScrollingShort: true;
|
230
|
+
@variationSegmentScrollingVeryShort: true;
|
231
|
+
@variationSegmentScrollingLong: true;
|
232
|
+
@variationSegmentScrollingVeryLong: true;
|
223
233
|
@variationSegmentSizes: @variationAllSizes;
|
224
234
|
@variationSegmentColors: @variationAllColors;
|
225
235
|
|
@@ -354,6 +364,16 @@
|
|
354
364
|
@variationTableScrollingVeryShort: true;
|
355
365
|
@variationTableScrollingLong: true;
|
356
366
|
@variationTableScrollingVeryLong: true;
|
367
|
+
@variationTableStuck: true;
|
368
|
+
@variationTableStuckHead: true;
|
369
|
+
@variationTableStuckFoot: true;
|
370
|
+
@variationTableStuckFirst: true;
|
371
|
+
@variationTableStuckLast: true;
|
372
|
+
@variationTableOverflowing: true;
|
373
|
+
@variationTableOverflowingShort: true;
|
374
|
+
@variationTableOverflowingVeryShort: true;
|
375
|
+
@variationTableOverflowingLong: true;
|
376
|
+
@variationTableOverflowingVeryLong: true;
|
357
377
|
@variationTableSizes: @variationAllSizes;
|
358
378
|
@variationTableColors: @variationAllColors;
|
359
379
|
|