fomantic-ui 2.9.1-beta.2 → 2.9.1-beta.20
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/.eslintrc.js +110 -0
- package/.github/workflows/ci.yml +14 -4
- package/.stylelintrc.js +46 -0
- package/dist/components/accordion.css +19 -26
- package/dist/components/accordion.js +568 -595
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +31 -41
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1161 -1179
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +71 -106
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +18 -16
- package/dist/components/calendar.js +1895 -1809
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +83 -115
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +47 -64
- package/dist/components/checkbox.js +842 -841
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +37 -51
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +6 -5
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +31 -41
- package/dist/components/dimmer.js +708 -737
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +32 -44
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +129 -166
- package/dist/components/dropdown.js +4161 -4234
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +13 -19
- package/dist/components/embed.js +651 -675
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +7 -6
- package/dist/components/feed.css +24 -32
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +5 -3
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +44 -58
- package/dist/components/flyout.js +1464 -1465
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +85 -111
- package/dist/components/form.js +1979 -2004
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +70 -96
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +47 -65
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +45 -66
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +32 -42
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +182 -65
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +55 -77
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +68 -91
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +44 -59
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +16 -22
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +126 -186
- package/dist/components/message.css +25 -35
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +39 -40
- package/dist/components/modal.js +1491 -1485
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +21 -28
- package/dist/components/nag.js +518 -526
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +10 -12
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +352 -59
- package/dist/components/popup.js +1437 -1456
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +29 -39
- package/dist/components/progress.js +969 -997
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +15 -20
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +9 -13
- package/dist/components/rating.js +505 -523
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +19 -26
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +43 -58
- package/dist/components/search.js +1498 -1534
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +64 -83
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +10 -14
- package/dist/components/shape.js +792 -809
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +43 -58
- package/dist/components/sidebar.js +1071 -1098
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +5 -5
- package/dist/components/site.js +462 -476
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +27 -37
- package/dist/components/slider.js +1287 -1306
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +639 -657
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +32 -41
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +26 -35
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +857 -902
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +6 -8
- package/dist/components/tab.js +922 -963
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +93 -119
- 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 +4 -6
- package/dist/components/toast.js +886 -887
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +150 -3
- package/dist/components/transition.js +1041 -1077
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +1220 -1244
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +2529 -1778
- package/dist/semantic.js +28928 -29383
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/examples/assets/show-examples.js +13 -13
- package/gulpfile.js +9 -10
- package/package.json +13 -8
- package/scripts/nightly-version.js +81 -75
- package/src/definitions/behaviors/api.js +1162 -1180
- package/src/definitions/behaviors/form.js +1978 -2003
- package/src/definitions/behaviors/state.js +645 -663
- package/src/definitions/behaviors/visibility.js +1219 -1243
- package/src/definitions/collections/breadcrumb.less +41 -44
- package/src/definitions/collections/form.less +869 -879
- package/src/definitions/collections/grid.less +1690 -1695
- package/src/definitions/collections/menu.less +1493 -1503
- package/src/definitions/collections/message.less +292 -295
- package/src/definitions/collections/table.less +1616 -1620
- package/src/definitions/elements/button.less +1721 -1743
- package/src/definitions/elements/container.less +209 -209
- package/src/definitions/elements/divider.less +205 -206
- package/src/definitions/elements/emoji.less +38 -44
- package/src/definitions/elements/flag.less +44 -46
- package/src/definitions/elements/header.less +337 -345
- package/src/definitions/elements/icon.less +516 -443
- package/src/definitions/elements/image.less +221 -225
- package/src/definitions/elements/input.less +663 -659
- package/src/definitions/elements/label.less +803 -793
- package/src/definitions/elements/list.less +809 -809
- package/src/definitions/elements/loader.less +272 -266
- package/src/definitions/elements/placeholder.less +171 -168
- package/src/definitions/elements/rail.less +91 -91
- package/src/definitions/elements/reveal.less +192 -196
- package/src/definitions/elements/segment.less +743 -746
- package/src/definitions/elements/step.less +425 -433
- package/src/definitions/elements/text.less +32 -34
- package/src/definitions/globals/reset.less +9 -6
- package/src/definitions/globals/site.js +461 -475
- package/src/definitions/globals/site.less +106 -108
- package/src/definitions/modules/accordion.js +567 -594
- package/src/definitions/modules/accordion.less +242 -246
- package/src/definitions/modules/calendar.js +1894 -1808
- package/src/definitions/modules/calendar.less +98 -95
- package/src/definitions/modules/checkbox.js +841 -840
- package/src/definitions/modules/checkbox.less +536 -542
- package/src/definitions/modules/dimmer.js +707 -736
- package/src/definitions/modules/dimmer.less +300 -297
- package/src/definitions/modules/dropdown.js +4160 -4233
- package/src/definitions/modules/dropdown.less +1577 -1589
- package/src/definitions/modules/embed.js +650 -674
- package/src/definitions/modules/embed.less +81 -82
- package/src/definitions/modules/flyout.js +1463 -1464
- package/src/definitions/modules/flyout.less +445 -451
- package/src/definitions/modules/modal.js +1490 -1484
- package/src/definitions/modules/modal.less +459 -459
- package/src/definitions/modules/nag.js +517 -525
- package/src/definitions/modules/nag.less +134 -138
- package/src/definitions/modules/popup.js +1436 -1455
- package/src/definitions/modules/popup.less +742 -687
- package/src/definitions/modules/progress.js +968 -996
- package/src/definitions/modules/progress.less +521 -494
- package/src/definitions/modules/rating.js +504 -522
- package/src/definitions/modules/rating.less +94 -101
- package/src/definitions/modules/search.js +1497 -1533
- package/src/definitions/modules/search.less +375 -382
- package/src/definitions/modules/shape.js +791 -808
- package/src/definitions/modules/shape.less +71 -76
- package/src/definitions/modules/sidebar.js +1070 -1097
- package/src/definitions/modules/sidebar.less +463 -472
- package/src/definitions/modules/slider.js +1286 -1305
- package/src/definitions/modules/slider.less +307 -308
- package/src/definitions/modules/sticky.js +873 -918
- package/src/definitions/modules/sticky.less +21 -23
- package/src/definitions/modules/tab.js +921 -962
- package/src/definitions/modules/tab.less +51 -52
- package/src/definitions/modules/toast.js +885 -886
- package/src/definitions/modules/toast.less +584 -586
- package/src/definitions/modules/transition.js +1040 -1076
- package/src/definitions/modules/transition.less +62 -28
- package/src/definitions/views/ad.less +206 -206
- package/src/definitions/views/card.less +968 -970
- package/src/definitions/views/comment.less +190 -198
- package/src/definitions/views/feed.less +220 -224
- package/src/definitions/views/item.less +436 -446
- package/src/definitions/views/statistic.less +271 -277
- package/src/theme.less +29 -32
- package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- package/src/themes/default/elements/container.variables +0 -7
- package/src/themes/default/elements/icon.variables +18 -0
- package/src/themes/default/elements/segment.variables +0 -7
- package/src/themes/default/globals/colors.less +589 -589
- package/src/themes/default/globals/site.variables +8 -0
- package/src/themes/default/globals/variation.variables +13 -1
- package/src/themes/default/modules/calendar.variables +2 -0
- package/src/themes/default/modules/nag.variables +1 -1
- package/src/themes/default/modules/popup.variables +2 -0
- package/src/themes/default/modules/transition.variables +8 -1
- package/tasks/admin/components/create.js +274 -276
- package/tasks/admin/components/init.js +123 -130
- package/tasks/admin/components/update.js +149 -157
- package/tasks/admin/distributions/create.js +184 -187
- package/tasks/admin/distributions/init.js +123 -130
- package/tasks/admin/distributions/update.js +145 -152
- package/tasks/admin/publish.js +5 -7
- package/tasks/admin/register.js +36 -38
- package/tasks/admin/release.js +8 -10
- package/tasks/build/assets.js +42 -39
- package/tasks/build/css.js +225 -216
- package/tasks/build/javascript.js +118 -113
- package/tasks/build.js +10 -10
- package/tasks/check-install.js +14 -16
- package/tasks/clean.js +5 -5
- package/tasks/collections/admin.js +34 -36
- package/tasks/collections/build.js +18 -20
- package/tasks/collections/docs.js +9 -11
- package/tasks/collections/install.js +9 -11
- package/tasks/collections/rtl.js +9 -11
- package/tasks/collections/various.js +8 -10
- package/tasks/config/admin/github.js +17 -17
- package/tasks/config/admin/oauth.example.js +4 -4
- package/tasks/config/admin/release.js +98 -98
- package/tasks/config/admin/templates/component-package.js +9 -10
- package/tasks/config/admin/templates/css-package.js +18 -20
- package/tasks/config/admin/templates/less-package.js +11 -13
- package/tasks/config/defaults.js +116 -114
- package/tasks/config/docs.js +23 -23
- package/tasks/config/npm/gulpfile.js +8 -9
- package/tasks/config/project/config.js +127 -134
- package/tasks/config/project/install.js +715 -713
- package/tasks/config/project/release.js +32 -38
- package/tasks/config/tasks.js +165 -156
- package/tasks/config/user.js +23 -26
- package/tasks/docs/build.js +97 -95
- package/tasks/docs/metadata.js +90 -96
- package/tasks/docs/serve.js +80 -81
- package/tasks/install.js +370 -378
- package/tasks/rtl/build.js +2 -2
- package/tasks/rtl/watch.js +2 -2
- package/tasks/version.js +4 -4
- package/tasks/watch.js +28 -30
- package/test/meteor/assets.js +10 -13
- package/test/meteor/fonts.js +12 -13
- package/test/modules/accordion.spec.js +6 -8
- package/test/modules/checkbox.spec.js +5 -7
- package/test/modules/dropdown.spec.js +5 -7
- package/test/modules/modal.spec.js +6 -8
- package/test/modules/module.spec.js +158 -178
- package/test/modules/popup.spec.js +5 -7
- package/test/modules/search.spec.js +5 -7
- package/test/modules/shape.spec.js +5 -7
- package/test/modules/sidebar.spec.js +5 -7
- package/test/modules/tab.spec.js +6 -8
- package/test/modules/transition.spec.js +5 -7
- package/test/modules/video.spec.js +5 -7
@@ -8,12 +8,11 @@
|
|
8
8
|
*
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
11
|
/*******************************
|
13
12
|
Theme
|
14
13
|
*******************************/
|
15
14
|
|
16
|
-
@type
|
15
|
+
@type : 'collection';
|
17
16
|
@element : 'table';
|
18
17
|
|
19
18
|
@import (multiple) '../../theme.config';
|
@@ -24,29 +23,29 @@
|
|
24
23
|
|
25
24
|
/* Prototype */
|
26
25
|
.ui.table {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
26
|
+
width: 100%;
|
27
|
+
background: @background;
|
28
|
+
margin: @margin;
|
29
|
+
border: @border;
|
30
|
+
box-shadow: @boxShadow;
|
31
|
+
border-radius: @borderRadius;
|
32
|
+
text-align: @textAlign;
|
33
|
+
vertical-align: @verticalAlign;
|
34
|
+
color: @color;
|
35
|
+
border-collapse: @borderCollapse;
|
36
|
+
border-spacing: @borderSpacing;
|
38
37
|
}
|
39
38
|
|
40
39
|
.ui.table:first-child {
|
41
|
-
|
40
|
+
margin-top: 0;
|
42
41
|
}
|
43
42
|
.ui.table:last-child {
|
44
|
-
|
43
|
+
margin-bottom: 0;
|
45
44
|
}
|
46
45
|
.ui.table > thead,
|
47
46
|
.ui.table > tbody {
|
48
|
-
|
49
|
-
|
47
|
+
text-align: inherit;
|
48
|
+
vertical-align: inherit;
|
50
49
|
}
|
51
50
|
|
52
51
|
/*******************************
|
@@ -56,527 +55,527 @@
|
|
56
55
|
/* Table Content */
|
57
56
|
.ui.table th,
|
58
57
|
.ui.table td {
|
59
|
-
|
58
|
+
transition: @transition;
|
60
59
|
}
|
61
60
|
|
62
61
|
/* Rowspan helper class */
|
63
62
|
.ui.table th.rowspanned,
|
64
63
|
.ui.table td.rowspanned {
|
65
|
-
|
64
|
+
display: none;
|
66
65
|
}
|
67
66
|
|
68
67
|
/* Headers */
|
69
68
|
.ui.table > thead {
|
70
|
-
|
69
|
+
box-shadow: @headerBoxShadow;
|
71
70
|
}
|
72
71
|
.ui.table > thead > tr > th {
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
72
|
+
cursor: auto;
|
73
|
+
background: @headerBackground;
|
74
|
+
text-align: @headerAlign;
|
75
|
+
color: @headerColor;
|
76
|
+
padding: @headerVerticalPadding @headerHorizontalPadding;
|
77
|
+
vertical-align: @headerVerticalAlign;
|
78
|
+
font-style: @headerFontStyle;
|
79
|
+
font-weight: @headerFontWeight;
|
80
|
+
text-transform: @headerTextTransform;
|
81
|
+
border-bottom: @headerBorder;
|
82
|
+
border-left: @headerDivider;
|
84
83
|
}
|
85
84
|
|
86
85
|
.ui.table > thead > tr > th:first-child {
|
87
|
-
|
86
|
+
border-left: none;
|
88
87
|
}
|
89
88
|
|
90
89
|
.ui.table > thead > tr:first-child > th:first-child {
|
91
|
-
|
90
|
+
border-radius: @borderRadius 0 0 0;
|
92
91
|
}
|
93
92
|
.ui.table > thead > tr:first-child > th:last-child {
|
94
|
-
|
93
|
+
border-radius: 0 @borderRadius 0 0;
|
95
94
|
}
|
96
95
|
.ui.table > thead > tr:first-child > th:only-child {
|
97
|
-
|
96
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
98
97
|
}
|
99
98
|
|
100
99
|
/* Footer */
|
101
100
|
.ui.table > tfoot {
|
102
|
-
|
101
|
+
box-shadow: @footerBoxShadow;
|
103
102
|
}
|
104
103
|
.ui.table > tfoot > tr > th,
|
105
104
|
.ui.table > tfoot > tr > td {
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
105
|
+
cursor: auto;
|
106
|
+
border-top: @footerBorder;
|
107
|
+
background: @footerBackground;
|
108
|
+
text-align: @footerAlign;
|
109
|
+
color: @footerColor;
|
110
|
+
padding: @footerVerticalPadding @footerHorizontalPadding;
|
111
|
+
vertical-align: @footerVerticalAlign;
|
112
|
+
font-style: @footerFontStyle;
|
113
|
+
font-weight: @footerFontWeight;
|
114
|
+
text-transform: @footerTextTransform;
|
116
115
|
}
|
117
116
|
.ui.table > tfoot > tr > th:first-child,
|
118
117
|
.ui.table > tfoot > tr > td:first-child {
|
119
|
-
|
118
|
+
border-left: none;
|
120
119
|
}
|
121
120
|
.ui.table > tfoot > tr:first-child > th:first-child,
|
122
121
|
.ui.table > tfoot > tr:first-child > td:first-child {
|
123
|
-
|
122
|
+
border-radius: 0 0 0 @borderRadius;
|
124
123
|
}
|
125
124
|
.ui.table > tfoot > tr:first-child > th:last-child,
|
126
125
|
.ui.table > tfoot > tr:first-child > td:last-child {
|
127
|
-
|
126
|
+
border-radius: 0 0 @borderRadius 0;
|
128
127
|
}
|
129
128
|
.ui.table > tfoot > tr:first-child > th:only-child,
|
130
129
|
.ui.table > tfoot > tr:first-child > td:only-child {
|
131
|
-
|
130
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
132
131
|
}
|
133
132
|
|
134
133
|
/* Table Row */
|
135
134
|
.ui.table > tr > td,
|
136
135
|
.ui.table > tbody > tr > td {
|
137
|
-
|
136
|
+
border-top: @rowBorder;
|
138
137
|
}
|
139
138
|
.ui.table > tr:first-child > td,
|
140
139
|
.ui.table > tbody > tr:first-child > td {
|
141
|
-
|
140
|
+
border-top: none;
|
142
141
|
}
|
143
142
|
|
144
143
|
/* Repeated tbody */
|
145
144
|
.ui.table > tbody + tbody tr:first-child > td {
|
146
|
-
|
145
|
+
border-top: @rowBorder;
|
147
146
|
}
|
148
147
|
|
149
148
|
/* Table Cells */
|
150
149
|
.ui.table > tbody > tr > td,
|
151
150
|
.ui.table > tr > td {
|
152
|
-
|
153
|
-
|
151
|
+
padding: @cellVerticalPadding @cellHorizontalPadding;
|
152
|
+
text-align: @cellTextAlign;
|
154
153
|
}
|
155
154
|
|
156
155
|
/* Icons */
|
157
156
|
.ui.table > i.icon {
|
158
|
-
|
157
|
+
vertical-align: @iconVerticalAlign;
|
159
158
|
}
|
160
159
|
.ui.table > i.icon:only-child {
|
161
|
-
|
160
|
+
margin: 0;
|
162
161
|
}
|
163
162
|
|
164
163
|
/* Table Segment */
|
165
164
|
.ui.table.segment {
|
166
|
-
|
165
|
+
padding: 0;
|
167
166
|
}
|
168
167
|
.ui.table.segment::after {
|
169
|
-
|
168
|
+
display: none;
|
170
169
|
}
|
171
170
|
.ui.table.segment.stacked::after {
|
172
|
-
|
171
|
+
display: block;
|
173
172
|
}
|
174
173
|
|
175
|
-
|
176
174
|
/* Responsive */
|
177
|
-
@media only screen and (max-width
|
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
|
-
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
242
|
-
each(@variationTableColors, {
|
243
|
-
@color: @value;
|
244
|
-
@c: @colors[@@color][color];
|
245
|
-
@l: @colors[@@color][light];
|
246
|
-
.ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
|
247
|
-
&.left {
|
248
|
-
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
249
|
-
}
|
250
|
-
&.right {
|
251
|
-
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
252
|
-
}
|
253
|
-
}
|
254
|
-
& when (@variationTableInverted) {
|
255
|
-
.ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
|
256
|
-
&.left {
|
257
|
-
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
258
|
-
}
|
259
|
-
&.right {
|
260
|
-
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
261
|
-
}
|
262
|
-
}
|
263
|
-
}
|
264
|
-
})
|
265
|
-
}
|
266
|
-
& when (@variationTableScrolling) {
|
267
|
-
& when (@variationTableScrollingShort) {
|
268
|
-
.ui.scrolling.table.short > tbody {
|
269
|
-
max-height: @scrollingMobileMaxBodyHeight * 0.75;
|
270
|
-
}
|
271
|
-
}
|
272
|
-
& when (@variationTableScrollingVeryShort) {
|
273
|
-
.ui.scrolling.table[class*="very short"] > tbody {
|
274
|
-
max-height: @scrollingMobileMaxBodyHeight * 0.5;
|
275
|
-
}
|
276
|
-
}
|
277
|
-
.ui.scrolling.table > tbody {
|
278
|
-
max-height: @scrollingMobileMaxBodyHeight;
|
279
|
-
}
|
280
|
-
& when (@variationTableScrollingLong) {
|
281
|
-
.ui.scrolling.table.long > tbody {
|
282
|
-
max-height: @scrollingMobileMaxBodyHeight * 2;
|
283
|
-
}
|
284
|
-
}
|
285
|
-
& when (@variationTableScrollingVeryLong) {
|
286
|
-
.ui.scrolling.table[class*="very long"] > tbody {
|
287
|
-
max-height: @scrollingMobileMaxBodyHeight * 3;
|
288
|
-
}
|
175
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
176
|
+
.ui.table:not(.unstackable) {
|
177
|
+
width: 100%;
|
178
|
+
padding: 0;
|
179
|
+
}
|
180
|
+
.ui.table:not(.unstackable) > thead,
|
181
|
+
.ui.table:not(.unstackable) > thead > tr,
|
182
|
+
.ui.table:not(.unstackable) > tfoot,
|
183
|
+
.ui.table:not(.unstackable) > tfoot > tr,
|
184
|
+
.ui.table:not(.unstackable) > tbody,
|
185
|
+
.ui.table:not(.unstackable) > tr,
|
186
|
+
.ui.table:not(.unstackable) > tbody > tr,
|
187
|
+
.ui.table:not(.unstackable) > tr > th:not(.rowspanned),
|
188
|
+
.ui.table:not(.unstackable) > thead > tr > th:not(.rowspanned),
|
189
|
+
.ui.table:not(.unstackable) > tbody > tr > th:not(.rowspanned),
|
190
|
+
.ui.table:not(.unstackable) > tfoot > tr > th:not(.rowspanned),
|
191
|
+
.ui.table:not(.unstackable) > tr > td:not(.rowspanned),
|
192
|
+
.ui.table:not(.unstackable) > tbody > tr > td:not(.rowspanned),
|
193
|
+
.ui.table:not(.unstackable) > tfoot > tr > td:not(.rowspanned) {
|
194
|
+
display: block !important;
|
195
|
+
width: auto !important;
|
196
|
+
}
|
197
|
+
|
198
|
+
.ui.table:not(.unstackable) > thead {
|
199
|
+
display: @responsiveHeaderDisplay;
|
200
|
+
}
|
201
|
+
.ui.table:not(.unstackable) > tfoot {
|
202
|
+
display: @responsiveFooterDisplay;
|
203
|
+
}
|
204
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tr,
|
205
|
+
.ui.ui.ui.ui.table:not(.unstackable) > thead > tr,
|
206
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tbody > tr,
|
207
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr {
|
208
|
+
padding-top: @responsiveRowVerticalPadding;
|
209
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
210
|
+
box-shadow: @responsiveRowBoxShadow;
|
211
|
+
}
|
212
|
+
|
213
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tr > th,
|
214
|
+
.ui.ui.ui.ui.table:not(.unstackable) > thead > tr > th,
|
215
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > th,
|
216
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > th,
|
217
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tr > td,
|
218
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tbody > tr > td,
|
219
|
+
.ui.ui.ui.ui.table:not(.unstackable) > tfoot > tr > td {
|
220
|
+
background: none;
|
221
|
+
border: none;
|
222
|
+
padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
|
223
|
+
box-shadow: @responsiveCellBoxShadow;
|
224
|
+
}
|
225
|
+
.ui.table:not(.unstackable) > tr > th:first-child,
|
226
|
+
.ui.table:not(.unstackable) > thead > tr > th:first-child,
|
227
|
+
.ui.table:not(.unstackable) > tbody > tr > th:first-child,
|
228
|
+
.ui.table:not(.unstackable) > tfoot > tr > th:first-child,
|
229
|
+
.ui.table:not(.unstackable) > tr > td:first-child,
|
230
|
+
.ui.table:not(.unstackable) > tbody > tr > td:first-child,
|
231
|
+
.ui.table:not(.unstackable) > tfoot > tr > td:first-child {
|
232
|
+
font-weight: @responsiveCellHeaderFontWeight;
|
233
|
+
}
|
234
|
+
|
235
|
+
/* Definition Table */
|
236
|
+
.ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
|
237
|
+
box-shadow: none !important;
|
289
238
|
}
|
239
|
+
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
240
|
+
each(@variationTableColors, {
|
241
|
+
@color: @value;
|
242
|
+
@c: @colors[@@color][color];
|
243
|
+
@l: @colors[@@color][light];
|
244
|
+
.ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
|
245
|
+
&.left {
|
246
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
247
|
+
}
|
248
|
+
&.right {
|
249
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
& when (@variationTableInverted) {
|
253
|
+
.ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
|
254
|
+
&.left {
|
255
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
256
|
+
}
|
257
|
+
&.right {
|
258
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
})
|
290
263
|
}
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
264
|
+
& when (@variationTableScrolling) {
|
265
|
+
& when (@variationTableScrollingShort) {
|
266
|
+
.ui.scrolling.table.short > tbody {
|
267
|
+
max-height: @scrollingMobileMaxBodyHeight * 0.75;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
& when (@variationTableScrollingVeryShort) {
|
271
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
272
|
+
max-height: @scrollingMobileMaxBodyHeight * 0.5;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
.ui.scrolling.table > tbody {
|
276
|
+
max-height: @scrollingMobileMaxBodyHeight;
|
277
|
+
}
|
278
|
+
& when (@variationTableScrollingLong) {
|
279
|
+
.ui.scrolling.table.long > tbody {
|
280
|
+
max-height: @scrollingMobileMaxBodyHeight * 2;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
& when (@variationTableScrollingVeryLong) {
|
284
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
285
|
+
max-height: @scrollingMobileMaxBodyHeight * 3;
|
286
|
+
}
|
287
|
+
}
|
309
288
|
}
|
310
|
-
& when (@
|
311
|
-
|
312
|
-
|
313
|
-
|
289
|
+
& when (@variationTableOverflowing) {
|
290
|
+
& when (@variationTableOverflowingShort) {
|
291
|
+
.ui.overflowing.table.short {
|
292
|
+
max-height: @overflowingMobileMaxHeight * 0.75;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
& when (@variationTableOverflowingVeryShort) {
|
296
|
+
.ui.overflowing.table[class*="very short"] {
|
297
|
+
max-height: @overflowingMobileMaxHeight * 0.5;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
.ui.overflowing.table {
|
301
|
+
max-height: @overflowingMobileMaxHeight;
|
302
|
+
}
|
303
|
+
& when (@variationTableOverflowingLong) {
|
304
|
+
.ui.overflowing.table.long {
|
305
|
+
max-height: @overflowingMobileMaxHeight * 2;
|
306
|
+
}
|
307
|
+
}
|
308
|
+
& when (@variationTableOverflowingVeryLong) {
|
309
|
+
.ui.overflowing.table[class*="very long"] {
|
310
|
+
max-height: @overflowingMobileMaxHeight * 3;
|
311
|
+
}
|
312
|
+
}
|
314
313
|
}
|
315
|
-
}
|
316
314
|
}
|
317
315
|
& when (@variationTableScrolling) {
|
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
|
-
@media only screen and (min-width: @computerBreakpoint) {
|
347
|
-
& when (@variationTableScrollingShort) {
|
348
|
-
.ui.scrolling.table.short > tbody {
|
349
|
-
max-height: @scrollingComputerMaxBodyHeight * 0.75;
|
350
|
-
}
|
351
|
-
}
|
352
|
-
& when (@variationTableScrollingVeryShort) {
|
353
|
-
.ui.scrolling.table[class*="very short"] > tbody {
|
354
|
-
max-height: @scrollingComputerMaxBodyHeight * 0.5;
|
355
|
-
}
|
356
|
-
}
|
357
|
-
.ui.scrolling.table > tbody {
|
358
|
-
max-height: @scrollingComputerMaxBodyHeight;
|
359
|
-
}
|
360
|
-
& when (@variationTableScrollingLong) {
|
361
|
-
.ui.scrolling.table.long > tbody {
|
362
|
-
max-height: @scrollingComputerMaxBodyHeight * 2;
|
363
|
-
}
|
364
|
-
}
|
365
|
-
& when (@variationTableScrollingVeryLong) {
|
366
|
-
.ui.scrolling.table[class*="very long"] > tbody {
|
367
|
-
max-height: @scrollingComputerMaxBodyHeight * 3;
|
368
|
-
}
|
369
|
-
}
|
370
|
-
}
|
371
|
-
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
372
|
-
& when (@variationTableScrollingShort) {
|
373
|
-
.ui.scrolling.table.short > tbody {
|
374
|
-
max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
|
375
|
-
}
|
376
|
-
}
|
377
|
-
& when (@variationTableScrollingVeryShort) {
|
378
|
-
.ui.scrolling.table[class*="very short"] > tbody {
|
379
|
-
max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
|
380
|
-
}
|
381
|
-
}
|
382
|
-
.ui.scrolling.table > tbody {
|
383
|
-
max-height: @scrollingWidescreenMaxBodyHeight;
|
316
|
+
/* --------------
|
317
|
+
Scrolling
|
318
|
+
--------------- */
|
319
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
320
|
+
& when (@variationTableScrollingShort) {
|
321
|
+
.ui.scrolling.table.short > tbody {
|
322
|
+
max-height: @scrollingTabletMaxBodyHeight * 0.75;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
& when (@variationTableScrollingVeryShort) {
|
326
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
327
|
+
max-height: @scrollingTabletMaxBodyHeight * 0.5;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
.ui.scrolling.table > tbody {
|
331
|
+
max-height: @scrollingTabletMaxBodyHeight;
|
332
|
+
}
|
333
|
+
& when (@variationTableScrollingLong) {
|
334
|
+
.ui.scrolling.table.long > tbody {
|
335
|
+
max-height: @scrollingTabletMaxBodyHeight * 2;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
& when (@variationTableScrollingVeryLong) {
|
339
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
340
|
+
max-height: @scrollingTabletMaxBodyHeight * 3;
|
341
|
+
}
|
342
|
+
}
|
384
343
|
}
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
344
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
345
|
+
& when (@variationTableScrollingShort) {
|
346
|
+
.ui.scrolling.table.short > tbody {
|
347
|
+
max-height: @scrollingComputerMaxBodyHeight * 0.75;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
& when (@variationTableScrollingVeryShort) {
|
351
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
352
|
+
max-height: @scrollingComputerMaxBodyHeight * 0.5;
|
353
|
+
}
|
354
|
+
}
|
355
|
+
.ui.scrolling.table > tbody {
|
356
|
+
max-height: @scrollingComputerMaxBodyHeight;
|
357
|
+
}
|
358
|
+
& when (@variationTableScrollingLong) {
|
359
|
+
.ui.scrolling.table.long > tbody {
|
360
|
+
max-height: @scrollingComputerMaxBodyHeight * 2;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
& when (@variationTableScrollingVeryLong) {
|
364
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
365
|
+
max-height: @scrollingComputerMaxBodyHeight * 3;
|
366
|
+
}
|
367
|
+
}
|
389
368
|
}
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
369
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
370
|
+
& when (@variationTableScrollingShort) {
|
371
|
+
.ui.scrolling.table.short > tbody {
|
372
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
& when (@variationTableScrollingVeryShort) {
|
376
|
+
.ui.scrolling.table[class*="very short"] > tbody {
|
377
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
|
378
|
+
}
|
379
|
+
}
|
380
|
+
.ui.scrolling.table > tbody {
|
381
|
+
max-height: @scrollingWidescreenMaxBodyHeight;
|
382
|
+
}
|
383
|
+
& when (@variationTableScrollingLong) {
|
384
|
+
.ui.scrolling.table.long > tbody {
|
385
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 2;
|
386
|
+
}
|
387
|
+
}
|
388
|
+
& when (@variationTableScrollingVeryLong) {
|
389
|
+
.ui.scrolling.table[class*="very long"] > tbody {
|
390
|
+
max-height: @scrollingWidescreenMaxBodyHeight * 3;
|
391
|
+
}
|
392
|
+
}
|
394
393
|
}
|
395
|
-
}
|
396
394
|
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
395
|
+
.ui.scrolling.table > thead,
|
396
|
+
.ui.scrolling.table > tfoot,
|
397
|
+
.ui.scrolling.table > tbody {
|
398
|
+
display: block;
|
399
|
+
overflow-y: scroll;
|
400
|
+
overscroll-behavior: @overscrollBehavior;
|
401
|
+
scrollbar-width: thin; /* Firefox */
|
402
|
+
& > tr {
|
403
|
+
display: table;
|
404
|
+
table-layout: fixed;
|
405
|
+
width: 100%;
|
406
|
+
}
|
407
407
|
}
|
408
|
-
}
|
409
408
|
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
}
|
416
|
-
.ui.scrolling.table > tfoot {
|
417
|
-
background: @footerBackground;
|
418
|
-
color: @footerBackground;
|
419
|
-
border-radius: 0 0 @borderRadius @borderRadius;
|
420
|
-
}
|
421
|
-
& when (@variationTableInverted) {
|
422
|
-
.ui.inverted.scrolling.table > thead {
|
423
|
-
background: @invertedHeaderBackground;
|
424
|
-
color: @invertedHeaderBackground;
|
425
|
-
}
|
426
|
-
.ui.inverted.scrolling.table > tfoot {
|
427
|
-
background: @invertedFooterBackground;
|
428
|
-
color: @invertedFooterBackground;
|
409
|
+
/* Camouflage scrollbars, we need them only to gain the same width as tbody */
|
410
|
+
.ui.scrolling.table > thead {
|
411
|
+
background: @headerBackground;
|
412
|
+
color: @headerBackground;
|
413
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
429
414
|
}
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
border-radius: @borderRadius;
|
435
|
-
}
|
436
|
-
|
437
|
-
/* Firefox & IE */
|
438
|
-
.ui.scrolling.table > thead,
|
439
|
-
.ui.scrolling.table > tfoot {
|
440
|
-
scrollbar-color: currentColor currentColor;
|
441
|
-
& when (@supportIE) {
|
442
|
-
scrollbar-face-color: currentColor;
|
443
|
-
scrollbar-shadow-color: currentColor;
|
444
|
-
scrollbar-track-color: currentColor;
|
445
|
-
scrollbar-arrow-color: currentColor;
|
415
|
+
.ui.scrolling.table > tfoot {
|
416
|
+
background: @footerBackground;
|
417
|
+
color: @footerBackground;
|
418
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
446
419
|
}
|
447
|
-
|
448
|
-
& when (@supportIE) {
|
449
|
-
/* IE scrollbar color needs hex values */
|
450
|
-
@media all and (-ms-high-contrast: none) {
|
451
|
-
.ui.scrolling.table > thead {
|
452
|
-
color: @headerBackgroundHex;
|
453
|
-
}
|
454
|
-
.ui.scrolling.table > tfoot {
|
455
|
-
color: @footerBackgroundHex;
|
456
|
-
}
|
457
|
-
& when (@variationTableInverted) {
|
420
|
+
& when (@variationTableInverted) {
|
458
421
|
.ui.inverted.scrolling.table > thead {
|
459
|
-
|
422
|
+
background: @invertedHeaderBackground;
|
423
|
+
color: @invertedHeaderBackground;
|
460
424
|
}
|
461
425
|
.ui.inverted.scrolling.table > tfoot {
|
462
|
-
|
426
|
+
background: @invertedFooterBackground;
|
427
|
+
color: @invertedFooterBackground;
|
463
428
|
}
|
464
|
-
}
|
465
|
-
}
|
466
|
-
}
|
467
|
-
& when (@variationTableInverted) {
|
468
|
-
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
|
469
|
-
background: @trackInvertedBackground;
|
470
|
-
}
|
471
|
-
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
|
472
|
-
background: @thumbInvertedBackground;
|
473
|
-
}
|
474
|
-
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
|
475
|
-
background: @thumbInvertedInactiveBackground;
|
476
|
-
}
|
477
|
-
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
|
478
|
-
background: @thumbInvertedHoverBackground;
|
479
|
-
}
|
480
|
-
.ui.inverted.scrolling.table > tbody {
|
481
|
-
& when (@supportIE) {
|
482
|
-
/* IE11 */
|
483
|
-
scrollbar-face-color: @thumbInvertedBackgroundHex;
|
484
|
-
scrollbar-shadow-color: @thumbInvertedBackgroundHex;
|
485
|
-
scrollbar-track-color: @trackInvertedBackgroundHex;
|
486
|
-
scrollbar-arrow-color: @trackInvertedBackgroundHex;
|
487
|
-
}
|
488
|
-
/* firefox : first color thumb, second track */
|
489
|
-
scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
|
490
|
-
}
|
491
|
-
}
|
492
|
-
|
493
|
-
}
|
494
|
-
& when (@variationTableOverflowing) {
|
495
|
-
/*--------------
|
496
|
-
Overflowing
|
497
|
-
---------------*/
|
498
|
-
.ui.overflowing.table {
|
499
|
-
display: block;
|
500
|
-
overflow: auto;
|
501
|
-
}
|
502
|
-
@media only screen and (min-width: @tabletBreakpoint) {
|
503
|
-
& when (@variationTableOverflowingShort) {
|
504
|
-
.ui.overflowing.table.short {
|
505
|
-
max-height: @overflowingTabletMaxHeight * 0.75;
|
506
|
-
}
|
507
|
-
}
|
508
|
-
& when (@variationTableOverflowingVeryShort) {
|
509
|
-
.ui.overflowing.table[class*="very short"] {
|
510
|
-
max-height: @overflowingTabletMaxHeight * 0.5;
|
511
|
-
}
|
512
|
-
}
|
513
|
-
.ui.overflowing.table {
|
514
|
-
max-height: @overflowingTabletMaxHeight;
|
515
|
-
}
|
516
|
-
& when (@variationTableOverflowingLong) {
|
517
|
-
.ui.overflowing.table.long {
|
518
|
-
max-height: @overflowingTabletMaxHeight * 2;
|
519
|
-
}
|
520
429
|
}
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
}
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
}
|
538
|
-
.ui.overflowing.table {
|
539
|
-
max-height: @overflowingComputerMaxHeight;
|
540
|
-
}
|
541
|
-
& when (@variationTableOverflowingLong) {
|
542
|
-
.ui.overflowing.table.long {
|
543
|
-
max-height: @overflowingComputerMaxHeight * 2;
|
544
|
-
}
|
545
|
-
}
|
546
|
-
& when (@variationTableOverflowingVeryLong) {
|
547
|
-
.ui.overflowing.table[class*="very long"]{
|
548
|
-
max-height: @overflowingComputerMaxHeight * 3;
|
549
|
-
}
|
430
|
+
.ui.scrolling.table > thead::-webkit-scrollbar-track,
|
431
|
+
.ui.scrolling.table > tfoot::-webkit-scrollbar-track {
|
432
|
+
background: inherit;
|
433
|
+
border-radius: @borderRadius;
|
434
|
+
}
|
435
|
+
|
436
|
+
/* Firefox & IE */
|
437
|
+
.ui.scrolling.table > thead,
|
438
|
+
.ui.scrolling.table > tfoot {
|
439
|
+
scrollbar-color: currentColor currentColor;
|
440
|
+
& when (@supportIE) {
|
441
|
+
scrollbar-face-color: currentColor;
|
442
|
+
scrollbar-shadow-color: currentColor;
|
443
|
+
scrollbar-track-color: currentColor;
|
444
|
+
scrollbar-arrow-color: currentColor;
|
445
|
+
}
|
550
446
|
}
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
447
|
+
& when (@supportIE) {
|
448
|
+
/* IE scrollbar color needs hex values */
|
449
|
+
@media all and (-ms-high-contrast: none) {
|
450
|
+
.ui.scrolling.table > thead {
|
451
|
+
color: @headerBackgroundHex;
|
452
|
+
}
|
453
|
+
.ui.scrolling.table > tfoot {
|
454
|
+
color: @footerBackgroundHex;
|
455
|
+
}
|
456
|
+
& when (@variationTableInverted) {
|
457
|
+
.ui.inverted.scrolling.table > thead {
|
458
|
+
color: @invertedHeaderBackgroundHex;
|
459
|
+
}
|
460
|
+
.ui.inverted.scrolling.table > tfoot {
|
461
|
+
color: @invertedFooterBackgroundHex;
|
462
|
+
}
|
463
|
+
}
|
464
|
+
}
|
557
465
|
}
|
558
|
-
& when (@
|
559
|
-
|
560
|
-
|
561
|
-
|
466
|
+
& when (@variationTableInverted) {
|
467
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
|
468
|
+
background: @trackInvertedBackground;
|
469
|
+
}
|
470
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
|
471
|
+
background: @thumbInvertedBackground;
|
472
|
+
}
|
473
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
|
474
|
+
background: @thumbInvertedInactiveBackground;
|
475
|
+
}
|
476
|
+
.ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
|
477
|
+
background: @thumbInvertedHoverBackground;
|
478
|
+
}
|
479
|
+
.ui.inverted.scrolling.table > tbody {
|
480
|
+
& when (@supportIE) {
|
481
|
+
/* IE11 */
|
482
|
+
scrollbar-face-color: @thumbInvertedBackgroundHex;
|
483
|
+
scrollbar-shadow-color: @thumbInvertedBackgroundHex;
|
484
|
+
scrollbar-track-color: @trackInvertedBackgroundHex;
|
485
|
+
scrollbar-arrow-color: @trackInvertedBackgroundHex;
|
486
|
+
}
|
487
|
+
|
488
|
+
/* firefox : first color thumb, second track */
|
489
|
+
scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
|
490
|
+
}
|
562
491
|
}
|
492
|
+
}
|
493
|
+
& when (@variationTableOverflowing) {
|
494
|
+
/* --------------
|
495
|
+
Overflowing
|
496
|
+
--------------- */
|
563
497
|
.ui.overflowing.table {
|
564
|
-
|
498
|
+
display: block;
|
499
|
+
overflow: auto;
|
500
|
+
overscroll-behavior: @overscrollBehavior;
|
501
|
+
}
|
502
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
503
|
+
& when (@variationTableOverflowingShort) {
|
504
|
+
.ui.overflowing.table.short {
|
505
|
+
max-height: @overflowingTabletMaxHeight * 0.75;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
& when (@variationTableOverflowingVeryShort) {
|
509
|
+
.ui.overflowing.table[class*="very short"] {
|
510
|
+
max-height: @overflowingTabletMaxHeight * 0.5;
|
511
|
+
}
|
512
|
+
}
|
513
|
+
.ui.overflowing.table {
|
514
|
+
max-height: @overflowingTabletMaxHeight;
|
515
|
+
}
|
516
|
+
& when (@variationTableOverflowingLong) {
|
517
|
+
.ui.overflowing.table.long {
|
518
|
+
max-height: @overflowingTabletMaxHeight * 2;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
& when (@variationTableOverflowingVeryLong) {
|
522
|
+
.ui.overflowing.table[class*="very long"] {
|
523
|
+
max-height: @overflowingTabletMaxHeight * 3;
|
524
|
+
}
|
525
|
+
}
|
565
526
|
}
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
527
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
528
|
+
& when (@variationTableOverflowingShort) {
|
529
|
+
.ui.overflowing.table.short {
|
530
|
+
max-height: @overflowingComputerMaxHeight * 0.75;
|
531
|
+
}
|
532
|
+
}
|
533
|
+
& when (@variationTableOverflowingVeryShort) {
|
534
|
+
.ui.overflowing.table[class*="very short"] {
|
535
|
+
max-height: @overflowingComputerMaxHeight * 0.5;
|
536
|
+
}
|
537
|
+
}
|
538
|
+
.ui.overflowing.table {
|
539
|
+
max-height: @overflowingComputerMaxHeight;
|
540
|
+
}
|
541
|
+
& when (@variationTableOverflowingLong) {
|
542
|
+
.ui.overflowing.table.long {
|
543
|
+
max-height: @overflowingComputerMaxHeight * 2;
|
544
|
+
}
|
545
|
+
}
|
546
|
+
& when (@variationTableOverflowingVeryLong) {
|
547
|
+
.ui.overflowing.table[class*="very long"] {
|
548
|
+
max-height: @overflowingComputerMaxHeight * 3;
|
549
|
+
}
|
550
|
+
}
|
570
551
|
}
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
552
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
553
|
+
& when (@variationTableOverflowingShort) {
|
554
|
+
.ui.overflowing.table.short {
|
555
|
+
max-height: @overflowingWidescreenMaxHeight * 0.75;
|
556
|
+
}
|
557
|
+
}
|
558
|
+
& when (@variationTableOverflowingVeryShort) {
|
559
|
+
.ui.overflowing.table[class*="very short"] {
|
560
|
+
max-height: @overflowingWidescreenMaxHeight * 0.5;
|
561
|
+
}
|
562
|
+
}
|
563
|
+
.ui.overflowing.table {
|
564
|
+
max-height: @overflowingWidescreenMaxHeight;
|
565
|
+
}
|
566
|
+
& when (@variationTableOverflowingLong) {
|
567
|
+
.ui.overflowing.table.long {
|
568
|
+
max-height: @overflowingWidescreenMaxHeight * 2;
|
569
|
+
}
|
570
|
+
}
|
571
|
+
& when (@variationTableOverflowingVeryLong) {
|
572
|
+
.ui.overflowing.table[class*="very long"] {
|
573
|
+
max-height: @overflowingWidescreenMaxHeight * 3;
|
574
|
+
}
|
575
|
+
}
|
575
576
|
}
|
576
|
-
}
|
577
577
|
}
|
578
578
|
|
579
|
-
|
580
579
|
/*******************************
|
581
580
|
Coupling
|
582
581
|
*******************************/
|
@@ -584,108 +583,108 @@
|
|
584
583
|
/* UI Image */
|
585
584
|
.ui.table .collapsing .image,
|
586
585
|
.ui.table .collapsing .image img {
|
587
|
-
|
586
|
+
max-width: none;
|
588
587
|
}
|
589
588
|
|
590
|
-
|
591
589
|
/*******************************
|
592
590
|
Types
|
593
591
|
*******************************/
|
594
592
|
|
595
|
-
|
593
|
+
/* --------------
|
596
594
|
Complex
|
597
|
-
|
595
|
+
--------------- */
|
598
596
|
& when (@variationTableStructured) {
|
599
|
-
|
600
|
-
|
601
|
-
}
|
602
|
-
.ui.structured.table > thead > tr > th {
|
603
|
-
border-left: @headerDivider;
|
604
|
-
border-right: @headerDivider;
|
605
|
-
}
|
606
|
-
& when (@variationTableSortable) {
|
607
|
-
.ui.structured.sortable.table > thead > tr > th {
|
608
|
-
border-left: @sortableBorder;
|
609
|
-
border-right: @sortableBorder;
|
597
|
+
.ui.structured.table {
|
598
|
+
border-collapse: collapse;
|
610
599
|
}
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
.ui.structured.basic.table > thead > tr > th,
|
615
|
-
.ui.structured.basic.table > tbody > tr > th,
|
616
|
-
.ui.structured.basic.table > tfoot > tr > th {
|
617
|
-
border-left: @basicTableHeaderDivider;
|
618
|
-
border-right: @basicTableHeaderDivider;
|
600
|
+
.ui.structured.table > thead > tr > th {
|
601
|
+
border-left: @headerDivider;
|
602
|
+
border-right: @headerDivider;
|
619
603
|
}
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
604
|
+
& when (@variationTableSortable) {
|
605
|
+
.ui.structured.sortable.table > thead > tr > th {
|
606
|
+
border-left: @sortableBorder;
|
607
|
+
border-right: @sortableBorder;
|
608
|
+
}
|
609
|
+
}
|
610
|
+
& when (@variationTableBasic) {
|
611
|
+
.ui.structured.basic.table > tr > th,
|
612
|
+
.ui.structured.basic.table > thead > tr > th,
|
613
|
+
.ui.structured.basic.table > tbody > tr > th,
|
614
|
+
.ui.structured.basic.table > tfoot > tr > th {
|
615
|
+
border-left: @basicTableHeaderDivider;
|
616
|
+
border-right: @basicTableHeaderDivider;
|
617
|
+
}
|
618
|
+
}
|
619
|
+
& when (@variationTableCelled) {
|
620
|
+
.ui.structured.celled.table > tr > th,
|
621
|
+
.ui.structured.celled.table > thead > tr > th,
|
622
|
+
.ui.structured.celled.table > tbody > tr > th,
|
623
|
+
.ui.structured.celled.table > tfoot > tr > th,
|
624
|
+
.ui.structured.celled.table > tr > td,
|
625
|
+
.ui.structured.celled.table > tbody > tr > td,
|
626
|
+
.ui.structured.celled.table > tfoot > tr > td {
|
627
|
+
border-left: @cellBorder;
|
628
|
+
border-right: @cellBorder;
|
629
|
+
}
|
630
630
|
}
|
631
|
-
}
|
632
631
|
}
|
633
632
|
|
634
633
|
& when (@variationTableDefinition) {
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
634
|
+
/* --------------
|
635
|
+
Definition
|
636
|
+
--------------- */
|
637
|
+
|
638
|
+
.ui.definition.table > thead:not(.full-width) > tr > th:first-child {
|
639
|
+
pointer-events: none;
|
640
|
+
background: @definitionHeaderBackground;
|
641
|
+
font-weight: @definitionHeaderFontWeight;
|
642
|
+
color: @definitionHeaderColor;
|
643
|
+
box-shadow: -@coloredBorderSizeCover -@coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
|
644
|
+
-moz-transform: scale(1);
|
645
|
+
}
|
646
|
+
|
647
|
+
.ui.definition.table > thead:not(.full-width) > tr > th:first-child:not(:empty) {
|
648
|
+
pointer-events: auto;
|
649
|
+
}
|
650
|
+
|
651
|
+
.ui.definition.table > tfoot:not(.full-width) > tr > th:first-child {
|
652
|
+
pointer-events: none;
|
653
|
+
background: @definitionFooterBackground;
|
654
|
+
font-weight: @definitionFooterFontWeight;
|
655
|
+
color: @definitionFooterColor;
|
656
|
+
box-shadow: -@coloredBorderSizeCover @coloredBorderSize 0 @coloredBorderSizeCover @definitionPageBackground;
|
657
|
+
-moz-transform: scale(1);
|
658
|
+
}
|
659
|
+
|
660
|
+
/* Highlight Defining Column */
|
661
|
+
.ui.definition.table > tr > td:first-child:not(.ignored),
|
662
|
+
.ui.definition.table > tbody > tr > td:first-child:not(.ignored),
|
663
|
+
.ui.definition.table > tfoot > tr > td:first-child:not(.ignored),
|
664
|
+
.ui.definition.table tr td.definition {
|
665
|
+
background: @definitionColumnBackground;
|
666
|
+
font-weight: @definitionColumnFontWeight;
|
667
|
+
color: @definitionColumnColor;
|
668
|
+
text-transform: @definitionColumnTextTransform;
|
669
|
+
box-shadow: @definitionColumnBoxShadow;
|
670
|
+
text-align: @definitionColumnTextAlign;
|
671
|
+
font-size: @definitionColumnFontSize;
|
672
|
+
padding-left: @definitionColumnHorizontalPadding;
|
673
|
+
padding-right: @definitionColumnHorizontalPadding;
|
674
|
+
}
|
675
|
+
|
676
|
+
/* Fix 2nd Column */
|
677
|
+
.ui.definition.table > thead:not(.full-width) > tr > th:nth-child(2) {
|
678
|
+
border-left: @borderWidth solid @borderColor;
|
679
|
+
}
|
680
|
+
.ui.definition.table > tfoot:not(.full-width) > tr > th:nth-child(2),
|
681
|
+
.ui.definition.table > tfoot:not(.full-width) > tr > td:nth-child(2) {
|
682
|
+
border-left: @borderWidth solid @borderColor;
|
683
|
+
}
|
684
|
+
.ui.definition.table > tr > td:nth-child(2),
|
685
|
+
.ui.definition.table > tbody > tr > td:nth-child(2) {
|
686
|
+
border-left: @borderWidth solid @borderColor;
|
687
|
+
}
|
689
688
|
}
|
690
689
|
|
691
690
|
/*******************************
|
@@ -693,1244 +692,1241 @@
|
|
693
692
|
*******************************/
|
694
693
|
|
695
694
|
& when (@variationTablePositive) {
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
695
|
+
/* --------------
|
696
|
+
Positive
|
697
|
+
--------------- */
|
698
|
+
|
699
|
+
.ui.ui.ui.ui.table tr.positive,
|
700
|
+
.ui.ui.table td.positive {
|
701
|
+
box-shadow: @positiveBoxShadow;
|
702
|
+
background: @positiveBackgroundColor;
|
703
|
+
color: @positiveColor;
|
704
|
+
}
|
705
|
+
& when (@variationTableInverted) {
|
706
|
+
.ui.ui.ui.ui.inverted.table tr.positive,
|
707
|
+
.ui.ui.inverted.table td.positive {
|
708
|
+
background: @invertedPositiveBackgroundColor;
|
709
|
+
color: @invertedPositiveColor;
|
710
|
+
}
|
711
711
|
}
|
712
|
-
}
|
713
712
|
}
|
714
713
|
|
715
714
|
& when (@variationTableNegative) {
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
715
|
+
/* --------------
|
716
|
+
Negative
|
717
|
+
--------------- */
|
718
|
+
|
719
|
+
.ui.ui.ui.ui.table tr.negative,
|
720
|
+
.ui.ui.table td.negative {
|
721
|
+
box-shadow: @negativeBoxShadow;
|
722
|
+
background: @negativeBackgroundColor;
|
723
|
+
color: @negativeColor;
|
724
|
+
}
|
725
|
+
& when (@variationTableInverted) {
|
726
|
+
.ui.ui.ui.ui.inverted.table tr.negative,
|
727
|
+
.ui.ui.inverted.table td.negative {
|
728
|
+
background: @invertedNegativeBackgroundColor;
|
729
|
+
color: @invertedNegativeColor;
|
730
|
+
}
|
731
731
|
}
|
732
|
-
}
|
733
732
|
}
|
734
733
|
|
735
734
|
& when (@variationTableError) {
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
735
|
+
/* --------------
|
736
|
+
Error
|
737
|
+
--------------- */
|
738
|
+
|
739
|
+
.ui.ui.ui.ui.table tr.error,
|
740
|
+
.ui.ui.table td.error {
|
741
|
+
box-shadow: @errorBoxShadow;
|
742
|
+
background: @errorBackgroundColor;
|
743
|
+
color: @errorColor;
|
744
|
+
}
|
745
|
+
& when (@variationTableInverted) {
|
746
|
+
.ui.ui.ui.ui.inverted.table tr.error,
|
747
|
+
.ui.ui.inverted.table td.error {
|
748
|
+
background: @invertedErrorBackgroundColor;
|
749
|
+
color: @invertedErrorColor;
|
750
|
+
}
|
751
751
|
}
|
752
|
-
}
|
753
752
|
}
|
754
753
|
|
755
754
|
& when (@variationTableWarning) {
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
755
|
+
/* --------------
|
756
|
+
Warning
|
757
|
+
--------------- */
|
758
|
+
|
759
|
+
.ui.ui.ui.ui.table tr.warning,
|
760
|
+
.ui.ui.table td.warning {
|
761
|
+
box-shadow: @warningBoxShadow;
|
762
|
+
background: @warningBackgroundColor;
|
763
|
+
color: @warningColor;
|
764
|
+
}
|
765
|
+
& when (@variationTableInverted) {
|
766
|
+
.ui.ui.ui.ui.inverted.table tr.warning,
|
767
|
+
.ui.ui.inverted.table td.warning {
|
768
|
+
background: @invertedWarningBackgroundColor;
|
769
|
+
color: @invertedWarningColor;
|
770
|
+
}
|
771
771
|
}
|
772
|
-
}
|
773
772
|
}
|
774
773
|
|
775
774
|
& when (@variationTableActive) {
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
775
|
+
/* --------------
|
776
|
+
Active
|
777
|
+
--------------- */
|
778
|
+
|
779
|
+
.ui.ui.ui.ui.table tr.active,
|
780
|
+
.ui.ui.table td.active {
|
781
|
+
box-shadow: @activeBoxShadow;
|
782
|
+
background: @activeBackgroundColor;
|
783
|
+
color: @activeColor;
|
784
|
+
}
|
785
|
+
& when (@variationTableInverted) {
|
786
|
+
.ui.ui.ui.ui.inverted.table tr.active,
|
787
|
+
.ui.ui.inverted.table td.active {
|
788
|
+
background: @invertedActiveBackgroundColor;
|
789
|
+
color: @invertedActiveColor;
|
790
|
+
}
|
791
791
|
}
|
792
|
-
}
|
793
792
|
}
|
794
793
|
|
795
|
-
|
796
794
|
& when (@variationTableDisabled) {
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
795
|
+
/* --------------
|
796
|
+
Disabled
|
797
|
+
--------------- */
|
798
|
+
|
799
|
+
.ui.ui.ui.table tr.disabled td,
|
800
|
+
.ui.ui.ui.table tr td.disabled,
|
801
|
+
.ui.table tr.disabled:hover,
|
802
|
+
.ui.table tr:hover td.disabled {
|
803
|
+
pointer-events: none;
|
804
|
+
color: @disabledTextColor;
|
805
|
+
}
|
808
806
|
}
|
809
807
|
|
810
808
|
/*******************************
|
811
809
|
Variations
|
812
810
|
*******************************/
|
813
811
|
& when (@variationTableStackable) {
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
812
|
+
/* --------------
|
813
|
+
Stackable
|
814
|
+
--------------- */
|
815
|
+
|
816
|
+
@media only screen and (max-width: @largestTabletScreen) {
|
817
|
+
|
818
|
+
.ui[class*="tablet stackable"].table,
|
819
|
+
.ui[class*="tablet stackable"].table > thead,
|
820
|
+
.ui[class*="tablet stackable"].table > thead > tr,
|
821
|
+
.ui[class*="tablet stackable"].table > tfoot,
|
822
|
+
.ui[class*="tablet stackable"].table > tfoot > tr,
|
823
|
+
.ui[class*="tablet stackable"].table > tbody,
|
824
|
+
.ui[class*="tablet stackable"].table > tbody > tr,
|
825
|
+
.ui[class*="tablet stackable"].table > tr,
|
826
|
+
.ui[class*="tablet stackable"].table > thead > tr > th:not(.rowspanned),
|
827
|
+
.ui[class*="tablet stackable"].table > tbody > tr > th:not(.rowspanned),
|
828
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > th:not(.rowspanned),
|
829
|
+
.ui[class*="tablet stackable"].table > tr > th:not(.rowspanned),
|
830
|
+
.ui[class*="tablet stackable"].table > tbody > tr > td:not(.rowspanned),
|
831
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > td:not(.rowspanned),
|
832
|
+
.ui[class*="tablet stackable"].table > tr > td:not(.rowspanned) {
|
833
|
+
display: block !important;
|
834
|
+
width: 100% !important;
|
835
|
+
}
|
836
|
+
|
837
|
+
.ui[class*="tablet stackable"].table {
|
838
|
+
padding: 0;
|
839
|
+
}
|
840
|
+
.ui[class*="tablet stackable"].table > thead {
|
841
|
+
display: @responsiveHeaderDisplay;
|
842
|
+
}
|
843
|
+
.ui[class*="tablet stackable"].table > tfoot {
|
844
|
+
display: @responsiveFooterDisplay;
|
845
|
+
}
|
846
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > thead > tr,
|
847
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > tbody > tr,
|
848
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > tfoot > tr,
|
849
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table > tr {
|
850
|
+
padding-top: @responsiveRowVerticalPadding;
|
851
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
852
|
+
box-shadow: @responsiveRowBoxShadow;
|
853
|
+
}
|
854
|
+
.ui[class*="tablet stackable"].table > thead > tr > th,
|
855
|
+
.ui[class*="tablet stackable"].table > tbody > tr > th,
|
856
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > th,
|
857
|
+
.ui[class*="tablet stackable"].table > tr > th,
|
858
|
+
.ui[class*="tablet stackable"].table > tbody > tr > td,
|
859
|
+
.ui[class*="tablet stackable"].table > tfoot > tr > td,
|
860
|
+
.ui[class*="tablet stackable"].table > tr > td {
|
861
|
+
background: none;
|
862
|
+
border: none !important;
|
863
|
+
padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
|
864
|
+
box-shadow: @responsiveCellBoxShadow;
|
865
|
+
}
|
866
|
+
& when (@variationTableDefinition) {
|
867
|
+
/* Definition Table */
|
868
|
+
.ui.definition[class*="tablet stackable"].table > thead > tr > th:first-child {
|
869
|
+
box-shadow: none !important;
|
870
|
+
}
|
871
|
+
}
|
873
872
|
}
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
})
|
873
|
+
& when (@variationTableMarked) and not (@variationTableColors = false) {
|
874
|
+
each(@variationTableColors, {
|
875
|
+
@color: @value;
|
876
|
+
@c: @colors[@@color][color];
|
877
|
+
@l: @colors[@@color][light];
|
878
|
+
.ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
|
879
|
+
&.left {
|
880
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
|
881
|
+
}
|
882
|
+
&.right {
|
883
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @c inset;
|
884
|
+
}
|
885
|
+
}
|
886
|
+
& when (@variationTableInverted) {
|
887
|
+
.ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
|
888
|
+
&.left {
|
889
|
+
box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
|
890
|
+
}
|
891
|
+
&.right {
|
892
|
+
box-shadow: @responsiveRowBoxShadow, -@coloredBorderSize 0 0 0 @l inset;
|
893
|
+
}
|
894
|
+
}
|
895
|
+
}
|
896
|
+
})
|
899
897
|
}
|
900
898
|
}
|
901
899
|
|
902
900
|
& when (@variationTableAligned) {
|
903
|
-
|
904
|
-
|
905
|
-
|
901
|
+
/* --------------
|
902
|
+
Text Alignment
|
903
|
+
--------------- */
|
906
904
|
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
905
|
+
.ui.table[class*="left aligned"],
|
906
|
+
.ui.table [class*="left aligned"] {
|
907
|
+
text-align: left;
|
908
|
+
}
|
909
|
+
.ui.table[class*="center aligned"],
|
910
|
+
.ui.table [class*="center aligned"] {
|
911
|
+
text-align: center;
|
912
|
+
}
|
913
|
+
.ui.table[class*="right aligned"],
|
914
|
+
.ui.table [class*="right aligned"] {
|
915
|
+
text-align: right;
|
916
|
+
}
|
919
917
|
|
920
|
-
|
921
|
-
|
922
|
-
|
918
|
+
/* ------------------
|
919
|
+
Vertical Alignment
|
920
|
+
------------------ */
|
923
921
|
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
922
|
+
.ui.table[class*="top aligned"],
|
923
|
+
.ui.table [class*="top aligned"] {
|
924
|
+
vertical-align: top;
|
925
|
+
}
|
926
|
+
.ui.table[class*="middle aligned"],
|
927
|
+
.ui.table [class*="middle aligned"] {
|
928
|
+
vertical-align: middle;
|
929
|
+
}
|
930
|
+
.ui.table[class*="bottom aligned"],
|
931
|
+
.ui.table [class*="bottom aligned"] {
|
932
|
+
vertical-align: bottom;
|
933
|
+
}
|
936
934
|
}
|
937
935
|
|
938
936
|
& when (@variationTableCollapsing) {
|
939
|
-
|
940
|
-
|
941
|
-
|
937
|
+
/* --------------
|
938
|
+
Collapsing
|
939
|
+
--------------- */
|
942
940
|
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
941
|
+
.ui.table th.collapsing,
|
942
|
+
.ui.table td.collapsing {
|
943
|
+
width: 1px;
|
944
|
+
white-space: nowrap;
|
945
|
+
}
|
948
946
|
}
|
949
947
|
|
950
948
|
& when (@variationTableFixed) {
|
951
|
-
|
952
|
-
|
953
|
-
|
949
|
+
/* --------------
|
950
|
+
Fixed
|
951
|
+
--------------- */
|
954
952
|
|
955
|
-
|
956
|
-
|
957
|
-
|
953
|
+
.ui.fixed.table {
|
954
|
+
table-layout: fixed;
|
955
|
+
}
|
958
956
|
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
957
|
+
.ui.fixed.table th,
|
958
|
+
.ui.fixed.table td {
|
959
|
+
overflow: hidden;
|
960
|
+
text-overflow: ellipsis;
|
961
|
+
}
|
964
962
|
}
|
965
963
|
|
966
|
-
|
967
964
|
& when (@variationTableSelectable) {
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
}
|
977
|
-
& when (@variationTableInverted) {
|
978
|
-
.ui.ui.selectable.inverted.table > tbody > tr:hover,
|
979
|
-
.ui.inverted.table tbody tr td.selectable:hover {
|
980
|
-
background: @selectableInvertedBackground;
|
981
|
-
color: @selectableInvertedTextColor;
|
965
|
+
/* --------------
|
966
|
+
Selectable
|
967
|
+
--------------- */
|
968
|
+
|
969
|
+
.ui.ui.selectable.table > tbody > tr:hover,
|
970
|
+
.ui.table tbody tr td.selectable:hover {
|
971
|
+
background: @selectableBackground;
|
972
|
+
color: @selectableTextColor;
|
982
973
|
}
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
display: block;
|
990
|
-
color: inherit;
|
991
|
-
}
|
992
|
-
.ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
|
993
|
-
padding: @cellVerticalPadding @cellHorizontalPadding;
|
994
|
-
}
|
995
|
-
.ui.table > tr > td.selectable,
|
996
|
-
.ui.table > tbody > tr > td.selectable,
|
997
|
-
.ui.selectable.table > tbody > tr,
|
998
|
-
.ui.selectable.table > tr {
|
999
|
-
cursor:pointer;
|
1000
|
-
}
|
1001
|
-
& when (@variationTableError) {
|
1002
|
-
/* Other States */
|
1003
|
-
.ui.ui.selectable.table tr.error:hover,
|
1004
|
-
.ui.table tr td.selectable.error:hover,
|
1005
|
-
.ui.selectable.table tr:hover td.error {
|
1006
|
-
background: @errorBackgroundHover;
|
1007
|
-
color: @errorColorHover;
|
974
|
+
& when (@variationTableInverted) {
|
975
|
+
.ui.ui.selectable.inverted.table > tbody > tr:hover,
|
976
|
+
.ui.inverted.table tbody tr td.selectable:hover {
|
977
|
+
background: @selectableInvertedBackground;
|
978
|
+
color: @selectableInvertedTextColor;
|
979
|
+
}
|
1008
980
|
}
|
1009
|
-
|
1010
|
-
|
1011
|
-
.ui.
|
1012
|
-
|
1013
|
-
.ui.selectable.table tr:hover td.warning {
|
1014
|
-
background: @warningBackgroundHover;
|
1015
|
-
color: @warningColorHover;
|
981
|
+
|
982
|
+
/* Selectable Cell Link */
|
983
|
+
.ui.table tbody tr td.selectable {
|
984
|
+
padding: 0;
|
1016
985
|
}
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
.ui.table tr td.selectable.active:hover,
|
1021
|
-
.ui.selectable.table tr:hover td.active {
|
1022
|
-
background: @activeBackgroundColor;
|
1023
|
-
color: @activeColor;
|
986
|
+
.ui.table tbody tr td.selectable > a:not(.ui) {
|
987
|
+
display: block;
|
988
|
+
color: inherit;
|
1024
989
|
}
|
1025
|
-
|
1026
|
-
|
1027
|
-
.ui.ui.selectable.table tr.positive:hover,
|
1028
|
-
.ui.table tr td.selectable.positive:hover,
|
1029
|
-
.ui.selectable.table tr:hover td.positive {
|
1030
|
-
background: @positiveBackgroundHover;
|
1031
|
-
color: @positiveColorHover;
|
990
|
+
.ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
|
991
|
+
padding: @cellVerticalPadding @cellHorizontalPadding;
|
1032
992
|
}
|
1033
|
-
|
1034
|
-
|
1035
|
-
.ui.
|
1036
|
-
.ui.table tr
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
993
|
+
.ui.table > tr > td.selectable,
|
994
|
+
.ui.table > tbody > tr > td.selectable,
|
995
|
+
.ui.selectable.table > tbody > tr,
|
996
|
+
.ui.selectable.table > tr {
|
997
|
+
cursor: pointer;
|
998
|
+
}
|
999
|
+
& when (@variationTableError) {
|
1000
|
+
/* Other States */
|
1001
|
+
.ui.ui.selectable.table tr.error:hover,
|
1002
|
+
.ui.table tr td.selectable.error:hover,
|
1003
|
+
.ui.selectable.table tr:hover td.error {
|
1004
|
+
background: @errorBackgroundHover;
|
1005
|
+
color: @errorColorHover;
|
1006
|
+
}
|
1007
|
+
}
|
1008
|
+
& when (@variationTableWarning) {
|
1009
|
+
.ui.ui.selectable.table tr.warning:hover,
|
1010
|
+
.ui.table tr td.selectable.warning:hover,
|
1011
|
+
.ui.selectable.table tr:hover td.warning {
|
1012
|
+
background: @warningBackgroundHover;
|
1013
|
+
color: @warningColorHover;
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
& when (@variationTableActive) {
|
1017
|
+
.ui.ui.selectable.table tr.active:hover,
|
1018
|
+
.ui.table tr td.selectable.active:hover,
|
1019
|
+
.ui.selectable.table tr:hover td.active {
|
1020
|
+
background: @activeBackgroundColor;
|
1021
|
+
color: @activeColor;
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
& when (@variationTablePositive) {
|
1025
|
+
.ui.ui.selectable.table tr.positive:hover,
|
1026
|
+
.ui.table tr td.selectable.positive:hover,
|
1027
|
+
.ui.selectable.table tr:hover td.positive {
|
1028
|
+
background: @positiveBackgroundHover;
|
1029
|
+
color: @positiveColorHover;
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
& when (@variationTableNegative) {
|
1033
|
+
.ui.ui.selectable.table tr.negative:hover,
|
1034
|
+
.ui.table tr td.selectable.negative:hover,
|
1035
|
+
.ui.selectable.table tr:hover td.negative {
|
1036
|
+
background: @negativeBackgroundHover;
|
1037
|
+
color: @negativeColorHover;
|
1038
|
+
}
|
1040
1039
|
}
|
1041
|
-
}
|
1042
1040
|
}
|
1043
1041
|
|
1044
|
-
|
1045
1042
|
& when (@variationTableAttached) {
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1043
|
+
/* -------------------
|
1044
|
+
Attached
|
1045
|
+
-------------------- */
|
1046
|
+
|
1047
|
+
/* Middle */
|
1048
|
+
.ui.attached.table {
|
1049
|
+
top: 0;
|
1050
|
+
bottom: 0;
|
1051
|
+
border-radius: 0;
|
1052
|
+
margin: 0 @attachedHorizontalOffset;
|
1053
|
+
width: @attachedWidth;
|
1054
|
+
max-width: @attachedWidth;
|
1055
|
+
box-shadow: @attachedBoxShadow;
|
1056
|
+
border: @attachedBorder;
|
1057
|
+
}
|
1058
|
+
.ui.attached + .ui.attached.table:not(.top) {
|
1059
|
+
border-top: none;
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
/* Top */
|
1063
|
+
.ui[class*="top attached"].table {
|
1064
|
+
bottom: 0;
|
1065
|
+
margin-bottom: 0;
|
1066
|
+
top: @attachedTopOffset;
|
1067
|
+
margin-top: @verticalMargin;
|
1068
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
1069
|
+
}
|
1070
|
+
.ui.table[class*="top attached"]:first-child {
|
1071
|
+
margin-top: 0;
|
1072
|
+
}
|
1073
|
+
|
1074
|
+
/* Bottom */
|
1075
|
+
.ui[class*="bottom attached"].table {
|
1076
|
+
bottom: 0;
|
1077
|
+
margin-top: 0;
|
1078
|
+
top: @attachedBottomOffset;
|
1079
|
+
margin-bottom: @verticalMargin;
|
1080
|
+
box-shadow: @attachedBottomBoxShadow;
|
1081
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1082
|
+
}
|
1083
|
+
.ui[class*="bottom attached"].table:last-child {
|
1084
|
+
margin-bottom: 0;
|
1085
|
+
}
|
1089
1086
|
}
|
1090
1087
|
|
1091
1088
|
& when (@variationTableStriped) {
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
}
|
1101
|
-
& when (@variationTableInverted) {
|
1102
|
-
/* Stripes */
|
1103
|
-
.ui.inverted.striped.table > tr:nth-child(2n),
|
1104
|
-
.ui.inverted.striped.table > tbody > tr:nth-child(2n) {
|
1105
|
-
background-color: @invertedStripedBackground;
|
1089
|
+
/* --------------
|
1090
|
+
Striped
|
1091
|
+
--------------- */
|
1092
|
+
|
1093
|
+
/* Table Striping */
|
1094
|
+
.ui.striped.table > tr:nth-child(2n),
|
1095
|
+
.ui.striped.table > tbody > tr:nth-child(2n) {
|
1096
|
+
background-color: @stripedBackground;
|
1106
1097
|
}
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1098
|
+
& when (@variationTableInverted) {
|
1099
|
+
/* Stripes */
|
1100
|
+
.ui.inverted.striped.table > tr:nth-child(2n),
|
1101
|
+
.ui.inverted.striped.table > tbody > tr:nth-child(2n) {
|
1102
|
+
background-color: @invertedStripedBackground;
|
1103
|
+
}
|
1104
|
+
}
|
1105
|
+
& when (@variationTableSelectable) {
|
1106
|
+
/* Allow striped active hover */
|
1107
|
+
.ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
|
1108
|
+
background: @activeBackgroundHover;
|
1109
|
+
color: @activeColorHover;
|
1110
|
+
}
|
1113
1111
|
}
|
1114
|
-
}
|
1115
1112
|
}
|
1116
1113
|
|
1117
|
-
|
1114
|
+
/* --------------
|
1118
1115
|
Single Line
|
1119
|
-
|
1116
|
+
--------------- */
|
1120
1117
|
|
1121
1118
|
.ui.table[class*="single line"],
|
1122
1119
|
.ui.table [class*="single line"] {
|
1123
|
-
|
1120
|
+
white-space: nowrap;
|
1124
1121
|
}
|
1125
1122
|
|
1126
|
-
|
1123
|
+
/* -------------------
|
1127
1124
|
Colors
|
1128
|
-
|
1125
|
+
-------------------- */
|
1129
1126
|
& when not (@variationTableColors = false) {
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1127
|
+
each(@variationTableColors, {
|
1128
|
+
@color: @value;
|
1129
|
+
@c: @colors[@@color][color];
|
1130
|
+
@t: @colors[@@color][text];
|
1131
|
+
@ht: @colors[@@color][hoverText];
|
1132
|
+
@l: @colors[@@color][light];
|
1133
|
+
@lh: @colors[@@color][lightHover];
|
1134
|
+
@r: @colors[@@color][ribbon];
|
1135
|
+
@b: @colors[@@color][bright];
|
1136
|
+
@bh: @colors[@@color][brightHover];
|
1137
|
+
@isDark: @colors[@@color][isDark];
|
1138
|
+
@isVeryDark: @colors[@@color][isVeryDark];
|
1139
|
+
|
1140
|
+
.ui.@{color}.table {
|
1141
|
+
border-top: @coloredBorderSize solid @c;
|
1142
|
+
}
|
1143
|
+
& when (@variationTableInverted) {
|
1144
|
+
.ui.inverted.@{color}.table {
|
1145
|
+
background: @c;
|
1146
|
+
color: @white;
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
/* Same color for background and color to camouflage the scrollbar */
|
1150
|
+
& when (@variationTableScrolling) {
|
1151
|
+
.ui.scrolling.table > thead.@{color},
|
1152
|
+
.ui.scrolling.table > tfoot.@{color} {
|
1153
|
+
& when (@isDark) {
|
1154
|
+
background: @l;
|
1155
|
+
color: @l;
|
1156
|
+
}
|
1157
|
+
& when not (@isDark) {
|
1158
|
+
background: @b;
|
1159
|
+
color: @b;
|
1160
|
+
}
|
1161
|
+
& > tr > th,
|
1162
|
+
> tr > td {
|
1163
|
+
background: inherit;
|
1164
|
+
& when (@isVeryDark) {
|
1165
|
+
color: @white;
|
1166
|
+
}
|
1167
|
+
& when not (@isVeryDark) {
|
1168
|
+
color: @t;
|
1169
|
+
}
|
1170
|
+
}
|
1171
|
+
}
|
1172
|
+
& when (@variationTableInverted) {
|
1173
|
+
.ui.inverted.scrolling.table > thead.@{color},
|
1174
|
+
.ui.inverted.scrolling.table > tfoot.@{color} {
|
1175
|
+
background: @c;
|
1176
|
+
color: @c;
|
1177
|
+
& > tr > th,
|
1178
|
+
> tr > td {
|
1179
|
+
background: inherit;
|
1180
|
+
color: @white;
|
1181
|
+
}
|
1182
|
+
}
|
1183
|
+
}
|
1184
|
+
}
|
1185
|
+
.ui.ui.ui.ui.table tr[class*="@{color} colored"],
|
1186
|
+
.ui.ui.table th[class*="@{color} colored"],
|
1187
|
+
.ui.ui.table td[class*="@{color} colored"],
|
1188
|
+
.ui.ui.ui.ui.table tr.@{color}:not(.marked),
|
1189
|
+
.ui.ui.table th.@{color}:not(.marked),
|
1190
|
+
.ui.ui.table td.@{color}:not(.marked) {
|
1191
|
+
& when (@stateMarkerWidth > 0) {
|
1192
|
+
box-shadow: @stateMarkerWidth 0 0 @r inset;
|
1193
|
+
}
|
1194
|
+
& when (@isDark) {
|
1195
|
+
background: @l;
|
1196
|
+
}
|
1197
|
+
& when not (@isDark) {
|
1198
|
+
background: @b;
|
1199
|
+
}
|
1200
|
+
& when (@isVeryDark) {
|
1201
|
+
color: @white;
|
1202
|
+
}
|
1203
|
+
& when not (@isVeryDark) {
|
1204
|
+
color: @t;
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
.ui.table > thead > tr[class*="@{color} colored"] > th,
|
1208
|
+
.ui.table > tfoot > tr[class*="@{color} colored"] > th,
|
1209
|
+
.ui.table > tfoot > tr[class*="@{color} colored"] > td,
|
1210
|
+
.ui.table > thead > tr.@{color}:not(.marked) > th,
|
1211
|
+
.ui.table > tfoot > tr.@{color}:not(.marked) > th,
|
1212
|
+
.ui.table > tfoot > tr.@{color}:not(.marked) > td {
|
1182
1213
|
background: inherit;
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
.ui.ui.table td[class*="@{color} colored"],
|
1191
|
-
.ui.ui.ui.ui.table tr.@{color}:not(.marked),
|
1192
|
-
.ui.ui.table th.@{color}:not(.marked),
|
1193
|
-
.ui.ui.table td.@{color}:not(.marked) {
|
1194
|
-
& when (@stateMarkerWidth > 0) {
|
1195
|
-
box-shadow: @stateMarkerWidth 0 0 @r inset;
|
1196
|
-
}
|
1197
|
-
& when (@isDark) {
|
1198
|
-
background: @l;
|
1199
|
-
}
|
1200
|
-
& when not (@isDark) {
|
1201
|
-
background: @b;
|
1202
|
-
}
|
1203
|
-
& when (@isVeryDark) {
|
1204
|
-
color: @white;
|
1205
|
-
}
|
1206
|
-
& when not (@isVeryDark) {
|
1207
|
-
color: @t;
|
1208
|
-
}
|
1209
|
-
}
|
1210
|
-
.ui.table > thead > tr[class*="@{color} colored"] > th,
|
1211
|
-
.ui.table > tfoot > tr[class*="@{color} colored"] > th,
|
1212
|
-
.ui.table > tfoot > tr[class*="@{color} colored"] > td,
|
1213
|
-
.ui.table > thead > tr.@{color}:not(.marked) > th,
|
1214
|
-
.ui.table > tfoot > tr.@{color}:not(.marked) > th,
|
1215
|
-
.ui.table > tfoot > tr.@{color}:not(.marked) > td {
|
1216
|
-
background: inherit;
|
1217
|
-
& when (@isVeryDark) {
|
1218
|
-
color: @white;
|
1219
|
-
}
|
1220
|
-
& when not (@isVeryDark) {
|
1221
|
-
color: @t;
|
1222
|
-
}
|
1223
|
-
}
|
1214
|
+
& when (@isVeryDark) {
|
1215
|
+
color: @white;
|
1216
|
+
}
|
1217
|
+
& when not (@isVeryDark) {
|
1218
|
+
color: @t;
|
1219
|
+
}
|
1220
|
+
}
|
1224
1221
|
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1222
|
+
& when (@variationTableInverted) {
|
1223
|
+
.ui.ui.ui.ui.inverted.table tr[class*="@{color} colored"],
|
1224
|
+
.ui.ui.inverted.table th[class*="@{color} colored"],
|
1225
|
+
.ui.ui.inverted.table td[class*="@{color} colored"],
|
1226
|
+
.ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
|
1227
|
+
.ui.ui.inverted.table th.@{color}:not(.marked),
|
1228
|
+
.ui.ui.inverted.table td.@{color}:not(.marked) {
|
1229
|
+
background: @c;
|
1230
|
+
color: @white;
|
1231
|
+
}
|
1232
|
+
.ui.inverted.table > thead > tr[class*="@{color} colored"] > th,
|
1233
|
+
.ui.inverted.table > tfoot > tr[class*="@{color} colored"] > th,
|
1234
|
+
.ui.inverted.table > tfoot > tr[class*="@{color} colored"] > td,
|
1235
|
+
.ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
|
1236
|
+
.ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
|
1237
|
+
.ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
|
1238
|
+
background: inherit;
|
1239
|
+
color: @white;
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
& when (@variationTableSelectable) {
|
1243
|
+
.ui.ui.selectable.table tr[class*="@{color} colored"]:hover,
|
1244
|
+
.ui.table tr td.selectable[class*="@{color} colored"]:hover,
|
1245
|
+
.ui.selectable.table tr:hover td[class*="@{color} colored"],
|
1246
|
+
.ui.ui.selectable.table tr.@{color}:not(.marked):hover,
|
1247
|
+
.ui.table tr td.selectable.@{color}:not(.marked):hover,
|
1248
|
+
.ui.selectable.table tr:hover td.@{color}:not(.marked) {
|
1249
|
+
& when (@isDark) {
|
1250
|
+
background: @lh;
|
1251
|
+
}
|
1252
|
+
& when not (@isDark) {
|
1253
|
+
background: @bh;
|
1254
|
+
}
|
1255
|
+
& when (@isVeryDark) {
|
1256
|
+
color: @white;
|
1257
|
+
}
|
1258
|
+
& when not (@isVeryDark) {
|
1259
|
+
color: @ht;
|
1260
|
+
}
|
1261
|
+
}
|
1262
|
+
& when (@variationTableInverted) {
|
1263
|
+
.ui.ui.inverted.selectable.table tr[class*="@{color} colored"]:hover,
|
1264
|
+
.ui.inverted.table tr td.selectable[class*="@{color} colored"]:hover,
|
1265
|
+
.ui.inverted.selectable.table tr:hover td[class*="@{color} colored"],
|
1266
|
+
.ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
|
1267
|
+
.ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
|
1268
|
+
.ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
|
1269
|
+
& when (@isDark) {
|
1270
|
+
background: @bh;
|
1271
|
+
}
|
1272
|
+
& when not (@isDark) {
|
1273
|
+
background: @lh;
|
1274
|
+
}
|
1275
|
+
& when (@isVeryDark) {
|
1276
|
+
color: @ht;
|
1277
|
+
}
|
1278
|
+
& when not (@isVeryDark) {
|
1279
|
+
color: @white;
|
1280
|
+
}
|
1281
|
+
}
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
& when (@variationTableMarked) {
|
1285
|
+
.ui.table td[class*="@{color} marked"],
|
1286
|
+
.ui.table tr[class*="@{color} marked"] {
|
1287
|
+
&.left {
|
1288
|
+
box-shadow: @coloredBorderSize 0 0 0 @c inset;
|
1289
|
+
}
|
1290
|
+
&.right {
|
1291
|
+
box-shadow: -@coloredBorderSize 0 0 0 @c inset;
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
& when (@variationTableInverted) {
|
1295
|
+
.ui.inverted.table td[class*="@{color} marked"],
|
1296
|
+
.ui.inverted.table tr[class*="@{color} marked"] {
|
1297
|
+
&.left {
|
1298
|
+
box-shadow: @coloredBorderSize 0 0 0 @l inset;
|
1299
|
+
}
|
1300
|
+
&.right {
|
1301
|
+
box-shadow: -@coloredBorderSize 0 0 0 @l inset;
|
1302
|
+
}
|
1303
|
+
}
|
1304
|
+
}
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
})
|
1311
1308
|
}
|
1312
1309
|
|
1313
1310
|
& when (@variationTableEqualWidth) {
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1311
|
+
/* --------------
|
1312
|
+
Column Count
|
1313
|
+
--------------- */
|
1317
1314
|
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1315
|
+
/* Grid Based */
|
1316
|
+
.ui.one.column.table td {
|
1317
|
+
width: @oneColumn;
|
1318
|
+
}
|
1319
|
+
.ui.two.column.table td {
|
1320
|
+
width: @twoColumn;
|
1321
|
+
}
|
1322
|
+
.ui.three.column.table td {
|
1323
|
+
width: @threeColumn;
|
1324
|
+
}
|
1325
|
+
.ui.four.column.table td {
|
1326
|
+
width: @fourColumn;
|
1327
|
+
}
|
1328
|
+
.ui.five.column.table td {
|
1329
|
+
width: @fiveColumn;
|
1330
|
+
}
|
1331
|
+
.ui.six.column.table td {
|
1332
|
+
width: @sixColumn;
|
1333
|
+
}
|
1334
|
+
.ui.seven.column.table td {
|
1335
|
+
width: @sevenColumn;
|
1336
|
+
}
|
1337
|
+
.ui.eight.column.table td {
|
1338
|
+
width: @eightColumn;
|
1339
|
+
}
|
1340
|
+
.ui.nine.column.table td {
|
1341
|
+
width: @nineColumn;
|
1342
|
+
}
|
1343
|
+
.ui.ten.column.table td {
|
1344
|
+
width: @tenColumn;
|
1345
|
+
}
|
1346
|
+
.ui.eleven.column.table td {
|
1347
|
+
width: @elevenColumn;
|
1348
|
+
}
|
1349
|
+
.ui.twelve.column.table td {
|
1350
|
+
width: @twelveColumn;
|
1351
|
+
}
|
1352
|
+
.ui.thirteen.column.table td {
|
1353
|
+
width: @thirteenColumn;
|
1354
|
+
}
|
1355
|
+
.ui.fourteen.column.table td {
|
1356
|
+
width: @fourteenColumn;
|
1357
|
+
}
|
1358
|
+
.ui.fifteen.column.table td {
|
1359
|
+
width: @fifteenColumn;
|
1360
|
+
}
|
1361
|
+
.ui.sixteen.column.table td {
|
1362
|
+
width: @sixteenColumn;
|
1363
|
+
}
|
1367
1364
|
}
|
1368
1365
|
|
1369
1366
|
& when (@variationTableWide) {
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1367
|
+
/* Column Width */
|
1368
|
+
.ui.table th.one.wide,
|
1369
|
+
.ui.table td.one.wide {
|
1370
|
+
width: @oneWide;
|
1371
|
+
}
|
1372
|
+
.ui.table th.two.wide,
|
1373
|
+
.ui.table td.two.wide {
|
1374
|
+
width: @twoWide;
|
1375
|
+
}
|
1376
|
+
.ui.table th.three.wide,
|
1377
|
+
.ui.table td.three.wide {
|
1378
|
+
width: @threeWide;
|
1379
|
+
}
|
1380
|
+
.ui.table th.four.wide,
|
1381
|
+
.ui.table td.four.wide {
|
1382
|
+
width: @fourWide;
|
1383
|
+
}
|
1384
|
+
.ui.table th.five.wide,
|
1385
|
+
.ui.table td.five.wide {
|
1386
|
+
width: @fiveWide;
|
1387
|
+
}
|
1388
|
+
.ui.table th.six.wide,
|
1389
|
+
.ui.table td.six.wide {
|
1390
|
+
width: @sixWide;
|
1391
|
+
}
|
1392
|
+
.ui.table th.seven.wide,
|
1393
|
+
.ui.table td.seven.wide {
|
1394
|
+
width: @sevenWide;
|
1395
|
+
}
|
1396
|
+
.ui.table th.eight.wide,
|
1397
|
+
.ui.table td.eight.wide {
|
1398
|
+
width: @eightWide;
|
1399
|
+
}
|
1400
|
+
.ui.table th.nine.wide,
|
1401
|
+
.ui.table td.nine.wide {
|
1402
|
+
width: @nineWide;
|
1403
|
+
}
|
1404
|
+
.ui.table th.ten.wide,
|
1405
|
+
.ui.table td.ten.wide {
|
1406
|
+
width: @tenWide;
|
1407
|
+
}
|
1408
|
+
.ui.table th.eleven.wide,
|
1409
|
+
.ui.table td.eleven.wide {
|
1410
|
+
width: @elevenWide;
|
1411
|
+
}
|
1412
|
+
.ui.table th.twelve.wide,
|
1413
|
+
.ui.table td.twelve.wide {
|
1414
|
+
width: @twelveWide;
|
1415
|
+
}
|
1416
|
+
.ui.table th.thirteen.wide,
|
1417
|
+
.ui.table td.thirteen.wide {
|
1418
|
+
width: @thirteenWide;
|
1419
|
+
}
|
1420
|
+
.ui.table th.fourteen.wide,
|
1421
|
+
.ui.table td.fourteen.wide {
|
1422
|
+
width: @fourteenWide;
|
1423
|
+
}
|
1424
|
+
.ui.table th.fifteen.wide,
|
1425
|
+
.ui.table td.fifteen.wide {
|
1426
|
+
width: @fifteenWide;
|
1427
|
+
}
|
1428
|
+
.ui.table th.sixteen.wide,
|
1429
|
+
.ui.table td.sixteen.wide {
|
1430
|
+
width: @sixteenWide;
|
1431
|
+
}
|
1435
1432
|
}
|
1436
1433
|
|
1437
1434
|
& when (@variationTableSortable) {
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1435
|
+
/* --------------
|
1436
|
+
Sortable
|
1437
|
+
--------------- */
|
1438
|
+
|
1439
|
+
.ui.sortable.table > thead > tr > th {
|
1440
|
+
cursor: pointer;
|
1441
|
+
white-space: nowrap;
|
1442
|
+
color: @sortableColor;
|
1443
|
+
}
|
1444
|
+
& when (@variationTableCelled) {
|
1445
|
+
.ui.celled.sortable.table > thead > tr > th:not(:first-child) {
|
1446
|
+
border-left: @sortableBorder;
|
1447
|
+
}
|
1448
|
+
}
|
1449
|
+
.ui.sortable.table thead th.sorted,
|
1450
|
+
.ui.sortable.table thead th.sorted:hover {
|
1451
|
+
user-select: none;
|
1450
1452
|
}
|
1451
|
-
}
|
1452
|
-
.ui.sortable.table thead th.sorted,
|
1453
|
-
.ui.sortable.table thead th.sorted:hover {
|
1454
|
-
user-select: none;
|
1455
|
-
}
|
1456
|
-
|
1457
|
-
.ui.sortable.table > thead > tr > th::after {
|
1458
|
-
display: none;
|
1459
|
-
font-style: normal;
|
1460
|
-
font-weight: @normal;
|
1461
|
-
text-decoration: inherit;
|
1462
|
-
content: '';
|
1463
|
-
height: 1em;
|
1464
|
-
width: @sortableIconWidth;
|
1465
|
-
opacity: @sortableIconOpacity;
|
1466
|
-
margin: 0 0 0 @sortableIconDistance;
|
1467
|
-
font-family: @sortableIconFont;
|
1468
|
-
}
|
1469
|
-
.ui.sortable.table thead th.ascending::after {
|
1470
|
-
content: @sortableIconAscending;
|
1471
|
-
}
|
1472
|
-
.ui.sortable.table thead th.descending::after {
|
1473
|
-
content: @sortableIconDescending;
|
1474
|
-
}
|
1475
1453
|
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1454
|
+
.ui.sortable.table > thead > tr > th::after {
|
1455
|
+
display: none;
|
1456
|
+
font-style: normal;
|
1457
|
+
font-weight: @normal;
|
1458
|
+
text-decoration: inherit;
|
1459
|
+
content: '';
|
1460
|
+
height: 1em;
|
1461
|
+
width: @sortableIconWidth;
|
1462
|
+
opacity: @sortableIconOpacity;
|
1463
|
+
margin: 0 0 0 @sortableIconDistance;
|
1464
|
+
font-family: @sortableIconFont;
|
1465
|
+
}
|
1466
|
+
.ui.sortable.table thead th.ascending::after {
|
1467
|
+
content: @sortableIconAscending;
|
1468
|
+
}
|
1469
|
+
.ui.sortable.table thead th.descending::after {
|
1470
|
+
content: @sortableIconDescending;
|
1481
1471
|
}
|
1482
|
-
}
|
1483
|
-
.ui.sortable.table > thead > tr > th:hover {
|
1484
|
-
color: @sortableHoverColor;
|
1485
|
-
}
|
1486
|
-
.ui.sortable.table:not(.basic) > thead > tr > th:hover {
|
1487
|
-
background: @sortableHoverBackground;
|
1488
|
-
}
|
1489
1472
|
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1473
|
+
& when (@variationTableDisabled) {
|
1474
|
+
/* Hover */
|
1475
|
+
.ui.sortable.table th.disabled:hover {
|
1476
|
+
cursor: auto;
|
1477
|
+
color: @sortableDisabledColor;
|
1478
|
+
}
|
1479
|
+
}
|
1480
|
+
.ui.sortable.table > thead > tr > th:hover {
|
1481
|
+
color: @sortableHoverColor;
|
1482
|
+
}
|
1483
|
+
.ui.sortable.table:not(.basic) > thead > tr > th:hover {
|
1484
|
+
background: @sortableHoverBackground;
|
1485
|
+
}
|
1500
1486
|
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
}
|
1505
|
-
.ui.sortable.table:not(.basic) thead th.sorted:hover {
|
1506
|
-
background: @sortableActiveHoverBackground;
|
1507
|
-
}
|
1508
|
-
& when (@variationTableInverted) {
|
1509
|
-
/* Inverted */
|
1510
|
-
.ui.inverted.sortable.table thead th.sorted {
|
1511
|
-
color: @sortableInvertedActiveColor;
|
1487
|
+
/* Sorted */
|
1488
|
+
.ui.sortable.table thead th.sorted {
|
1489
|
+
color: @sortableActiveColor;
|
1512
1490
|
}
|
1513
|
-
.ui.
|
1514
|
-
|
1491
|
+
.ui.sortable.table:not(.basic) thead th.sorted {
|
1492
|
+
background: @sortableActiveBackground;
|
1515
1493
|
}
|
1516
|
-
.ui.
|
1517
|
-
|
1494
|
+
.ui.sortable.table thead th.sorted::after {
|
1495
|
+
display: inline-block;
|
1518
1496
|
}
|
1519
|
-
|
1520
|
-
|
1497
|
+
|
1498
|
+
/* Sorted Hover */
|
1499
|
+
.ui.sortable.table thead th.sorted:hover {
|
1500
|
+
color: @sortableActiveHoverColor;
|
1521
1501
|
}
|
1522
|
-
.ui.
|
1523
|
-
|
1524
|
-
|
1502
|
+
.ui.sortable.table:not(.basic) thead th.sorted:hover {
|
1503
|
+
background: @sortableActiveHoverBackground;
|
1504
|
+
}
|
1505
|
+
& when (@variationTableInverted) {
|
1506
|
+
/* Inverted */
|
1507
|
+
.ui.inverted.sortable.table thead th.sorted {
|
1508
|
+
color: @sortableInvertedActiveColor;
|
1509
|
+
}
|
1510
|
+
.ui.inverted.sortable.table:not(.basic) thead th.sorted {
|
1511
|
+
background: @sortableInvertedActiveBackground;
|
1512
|
+
}
|
1513
|
+
.ui.inverted.sortable.table > thead > tr > th:hover {
|
1514
|
+
color: @sortableInvertedHoverColor;
|
1515
|
+
}
|
1516
|
+
.ui.inverted.sortable.table:not(.basic) > thead > tr > th:hover {
|
1517
|
+
background: @sortableInvertedHoverBackground;
|
1518
|
+
}
|
1519
|
+
.ui.inverted.sortable.table:not(.basic) > thead > tr > th {
|
1520
|
+
border-left-color: @sortableInvertedBorderColor;
|
1521
|
+
border-right-color: @sortableInvertedBorderColor;
|
1522
|
+
}
|
1525
1523
|
}
|
1526
|
-
}
|
1527
1524
|
}
|
1528
1525
|
|
1529
1526
|
& when (@variationTableInverted) {
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1527
|
+
/* --------------
|
1528
|
+
Inverted
|
1529
|
+
--------------- */
|
1530
|
+
|
1531
|
+
/* Text Color */
|
1532
|
+
.ui.inverted.table {
|
1533
|
+
background: @invertedBackground;
|
1534
|
+
color: @invertedCellColor;
|
1535
|
+
border: @invertedBorder;
|
1536
|
+
}
|
1537
|
+
.ui.ui.inverted.table > thead > tr > th,
|
1538
|
+
.ui.ui.inverted.table > tbody > tr > th,
|
1539
|
+
.ui.ui.inverted.table > tr > th {
|
1540
|
+
background-color: @invertedHeaderBackground;
|
1541
|
+
border-color: @invertedHeaderBorderColor;
|
1542
|
+
color: @invertedHeaderColor;
|
1543
|
+
}
|
1544
|
+
.ui.ui.inverted.table > tfoot > tr > th,
|
1545
|
+
.ui.ui.inverted.table > tfoot > tr > td {
|
1546
|
+
background-color: @invertedFooterBackground;
|
1547
|
+
border-color: @invertedFooterBorderColor;
|
1548
|
+
color: @invertedFooterColor;
|
1549
|
+
}
|
1550
|
+
.ui.inverted.table > tbody > tr > td,
|
1551
|
+
.ui.inverted.table > tfoot > tr > td,
|
1552
|
+
.ui.inverted.table > tr > td {
|
1553
|
+
border-color: @invertedCellBorderColor;
|
1554
|
+
}
|
1555
|
+
& when (@variationTableDisabled) {
|
1556
|
+
.ui.ui.ui.inverted.table tr.disabled td,
|
1557
|
+
.ui.ui.ui.inverted.table tr td.disabled,
|
1558
|
+
.ui.inverted.table tr.disabled:hover td,
|
1559
|
+
.ui.inverted.table tr:hover td.disabled {
|
1560
|
+
pointer-events: none;
|
1561
|
+
color: @invertedDisabledTextColor;
|
1562
|
+
}
|
1563
|
+
.ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
|
1564
|
+
.ui.inverted.table tr.disabled:not([class="disabled"]) td,
|
1565
|
+
.ui.inverted.table tr.disabled td[class]:not(.disabled),
|
1566
|
+
.ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
|
1567
|
+
color: @disabledTextColor;
|
1568
|
+
}
|
1571
1569
|
}
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1570
|
+
& when (@variationTableDefinition) {
|
1571
|
+
/* Definition */
|
1572
|
+
.ui.inverted.definition.table > tfoot:not(.full-width) > tr > th:first-child,
|
1573
|
+
.ui.inverted.definition.table > thead:not(.full-width) > tr > th:first-child {
|
1574
|
+
background: @definitionPageBackground;
|
1575
|
+
}
|
1576
|
+
.ui.inverted.definition.table > tbody > tr > td:first-child,
|
1577
|
+
.ui.inverted.definition.table > tfoot > tr > td:first-child,
|
1578
|
+
.ui.inverted.definition.table > tr > td:first-child {
|
1579
|
+
background: @invertedDefinitionColumnBackground;
|
1580
|
+
color: @invertedDefinitionColumnColor;
|
1581
|
+
}
|
1584
1582
|
}
|
1585
|
-
}
|
1586
1583
|
}
|
1587
1584
|
|
1588
1585
|
& when (@variationTableCollapsing) {
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1586
|
+
/* --------------
|
1587
|
+
Collapsing
|
1588
|
+
--------------- */
|
1592
1589
|
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1590
|
+
.ui.collapsing.table {
|
1591
|
+
width: auto;
|
1592
|
+
}
|
1596
1593
|
}
|
1597
1594
|
|
1598
|
-
& when (@variationTableBasic) or (@variationTableVeryBasic){
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1595
|
+
& when (@variationTableBasic) or (@variationTableVeryBasic) {
|
1596
|
+
/* --------------
|
1597
|
+
Basic
|
1598
|
+
--------------- */
|
1599
|
+
|
1600
|
+
.ui.basic.table {
|
1601
|
+
background: @basicTableBackground;
|
1602
|
+
border: @basicTableBorder;
|
1603
|
+
box-shadow: @basicBoxShadow;
|
1604
|
+
}
|
1605
|
+
.ui.basic.table > thead,
|
1606
|
+
.ui.basic.table > tfoot {
|
1607
|
+
box-shadow: none;
|
1608
|
+
}
|
1609
|
+
.ui.basic.table > thead > tr > th,
|
1610
|
+
.ui.basic.table > tbody > tr > th,
|
1611
|
+
.ui.basic.table > tfoot > tr > th,
|
1612
|
+
.ui.basic.table > tr > th {
|
1613
|
+
background: @basicTableHeaderBackground;
|
1614
|
+
border-left: @basicTableHeaderDivider;
|
1615
|
+
}
|
1616
|
+
.ui.basic.table > tbody > tr {
|
1617
|
+
border-bottom: @basicTableCellBorder;
|
1618
|
+
}
|
1619
|
+
.ui.basic.table > tbody > tr > td,
|
1620
|
+
.ui.basic.table > tfoot > tr > td,
|
1621
|
+
.ui.basic.table > tr > td {
|
1622
|
+
background: @basicTableCellBackground;
|
1623
|
+
}
|
1624
|
+
& when (@variationTableStriped) {
|
1625
|
+
.ui.basic.striped.table > tbody > tr:nth-child(2n) {
|
1626
|
+
background-color: @basicTableStripedBackground;
|
1627
|
+
}
|
1630
1628
|
}
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1629
|
+
& when (@variationTableVeryBasic) {
|
1630
|
+
/* Very Basic */
|
1631
|
+
.ui[class*="very basic"].table {
|
1632
|
+
border: none;
|
1633
|
+
}
|
1634
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
|
1635
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
|
1636
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
|
1637
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
|
1638
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
|
1639
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
|
1640
|
+
padding: @basicTableCellPadding;
|
1641
|
+
}
|
1642
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
|
1643
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
|
1644
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
|
1645
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
|
1646
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
|
1647
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
|
1648
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
|
1649
|
+
padding-left: 0;
|
1650
|
+
}
|
1651
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
|
1652
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
|
1653
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
|
1654
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
|
1655
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
|
1656
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
|
1657
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
|
1658
|
+
padding-right: 0;
|
1659
|
+
}
|
1660
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
|
1661
|
+
padding-top: 0;
|
1662
|
+
}
|
1665
1663
|
}
|
1666
|
-
}
|
1667
1664
|
}
|
1668
1665
|
|
1669
1666
|
& when (@variationTableCelled) {
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1667
|
+
/* --------------
|
1668
|
+
Celled
|
1669
|
+
--------------- */
|
1670
|
+
|
1671
|
+
.ui.celled.table > tr > th,
|
1672
|
+
.ui.celled.table > thead > tr > th,
|
1673
|
+
.ui.celled.table > tbody > tr > th,
|
1674
|
+
.ui.celled.table > tfoot > tr > th,
|
1675
|
+
.ui.celled.table > tr > td,
|
1676
|
+
.ui.celled.table > tbody > tr > td,
|
1677
|
+
.ui.celled.table > tfoot > tr > td {
|
1678
|
+
border-left: @cellBorder;
|
1679
|
+
}
|
1680
|
+
& when (@variationTableInverted) {
|
1681
|
+
.ui.inverted.celled.table > tbody > tr > td,
|
1682
|
+
.ui.inverted.celled.table > tr > td {
|
1683
|
+
border-left: @invertedCellBorder;
|
1684
|
+
}
|
1685
|
+
}
|
1686
|
+
.ui.celled.table > tr > th:first-child,
|
1687
|
+
.ui.celled.table > thead > tr > th:first-child,
|
1688
|
+
.ui.celled.table > tbody > tr > th:first-child,
|
1689
|
+
.ui.celled.table > tfoot > tr > th:first-child,
|
1690
|
+
.ui.celled.table > tr > td:first-child,
|
1691
|
+
.ui.celled.table > tbody > tr > td:first-child,
|
1692
|
+
.ui.celled.table > tfoot > tr > td:first-child {
|
1693
|
+
border-left: none;
|
1687
1694
|
}
|
1688
|
-
}
|
1689
|
-
.ui.celled.table > tr > th:first-child,
|
1690
|
-
.ui.celled.table > thead > tr > th:first-child,
|
1691
|
-
.ui.celled.table > tbody > tr > th:first-child,
|
1692
|
-
.ui.celled.table > tfoot > tr > th:first-child,
|
1693
|
-
.ui.celled.table > tr > td:first-child,
|
1694
|
-
.ui.celled.table > tbody > tr > td:first-child,
|
1695
|
-
.ui.celled.table > tfoot >tr > td:first-child {
|
1696
|
-
border-left: none;
|
1697
|
-
}
|
1698
1695
|
}
|
1699
1696
|
|
1700
1697
|
& when (@variationTablePadded) or (@variationTableVeryPadded) {
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1698
|
+
/* --------------
|
1699
|
+
Padded
|
1700
|
+
--------------- */
|
1701
|
+
|
1702
|
+
.ui.padded.table > tr > th,
|
1703
|
+
.ui.padded.table > thead > tr > th,
|
1704
|
+
.ui.padded.table > tbody > tr > th,
|
1705
|
+
.ui.padded.table > tfoot > tr > th {
|
1706
|
+
padding-left: @paddedHorizontalPadding;
|
1707
|
+
padding-right: @paddedHorizontalPadding;
|
1708
|
+
}
|
1709
|
+
.ui.padded.table > tr > th,
|
1710
|
+
.ui.padded.table > thead > tr > th,
|
1711
|
+
.ui.padded.table > tbody > tr > th,
|
1712
|
+
.ui.padded.table > tfoot > tr > th,
|
1713
|
+
.ui.padded.table > tr > td,
|
1714
|
+
.ui.padded.table > tbody > tr > td,
|
1715
|
+
.ui.padded.table > tfoot > tr > td {
|
1716
|
+
padding: @paddedVerticalPadding @paddedHorizontalPadding;
|
1717
|
+
}
|
1718
|
+
|
1719
|
+
& when (@variationTableVeryPadded) {
|
1720
|
+
/* Very */
|
1721
|
+
.ui[class*="very padded"].table > tr > th,
|
1722
|
+
.ui[class*="very padded"].table > thead > tr > th,
|
1723
|
+
.ui[class*="very padded"].table > tbody > tr > th,
|
1724
|
+
.ui[class*="very padded"].table > tfoot > tr > th {
|
1725
|
+
padding-left: @veryPaddedHorizontalPadding;
|
1726
|
+
padding-right: @veryPaddedHorizontalPadding;
|
1727
|
+
}
|
1728
|
+
.ui[class*="very padded"].table > tr > td,
|
1729
|
+
.ui[class*="very padded"].table > tbody > tr > td,
|
1730
|
+
.ui[class*="very padded"].table > tfoot > tr > td {
|
1731
|
+
padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
|
1732
|
+
}
|
1735
1733
|
}
|
1736
|
-
}
|
1737
1734
|
}
|
1738
1735
|
|
1739
1736
|
& when (@variationTableCompact) or (@variationTableVeryCompact) {
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1737
|
+
/* --------------
|
1738
|
+
Compact
|
1739
|
+
--------------- */
|
1740
|
+
|
1741
|
+
.ui.compact.table > tr > th,
|
1742
|
+
.ui.compact.table > thead > tr > th,
|
1743
|
+
.ui.compact.table > tbody > tr > th,
|
1744
|
+
.ui.compact.table > tfoot > tr > th {
|
1745
|
+
padding-left: @compactHorizontalPadding;
|
1746
|
+
padding-right: @compactHorizontalPadding;
|
1747
|
+
}
|
1748
|
+
.ui.compact.table > tr > td,
|
1749
|
+
.ui.compact.table > tbody > tr > td,
|
1750
|
+
.ui.compact.table > tfoot > tr > td {
|
1751
|
+
padding: @compactVerticalPadding @compactHorizontalPadding;
|
1752
|
+
}
|
1753
|
+
|
1754
|
+
& when (@variationTableVeryCompact) {
|
1755
|
+
/* Very */
|
1756
|
+
.ui[class*="very compact"].table > tr > th,
|
1757
|
+
.ui[class*="very compact"].table > thead > tr > th,
|
1758
|
+
.ui[class*="very compact"].table > tbody > tr > th,
|
1759
|
+
.ui[class*="very compact"].table > tfoot > tr > th {
|
1760
|
+
padding-left: @veryCompactHorizontalPadding;
|
1761
|
+
padding-right: @veryCompactHorizontalPadding;
|
1762
|
+
}
|
1763
|
+
.ui[class*="very compact"].table > tr > td,
|
1764
|
+
.ui[class*="very compact"].table > tbody > tr > td,
|
1765
|
+
.ui[class*="very compact"].table > tfoot > tr > td {
|
1766
|
+
padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
|
1767
|
+
}
|
1770
1768
|
}
|
1771
|
-
}
|
1772
1769
|
}
|
1773
1770
|
|
1774
1771
|
& when (@variationTableStuck) {
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1772
|
+
/* --------------
|
1773
|
+
Stuck
|
1774
|
+
--------------- */
|
1778
1775
|
|
1779
|
-
|
1780
|
-
background: @stuckBackground;
|
1781
|
-
& > thead > tr {
|
1782
|
-
background: @stuckHeaderBackground;
|
1783
|
-
}
|
1784
|
-
& > tbody > tr {
|
1785
|
-
background: @stuckBackground;
|
1786
|
-
}
|
1787
|
-
& > tfoot > tr {
|
1788
|
-
background: @stuckFooterBackground;
|
1789
|
-
}
|
1790
|
-
&.basic when (@variationTableBasic) {
|
1791
|
-
& > thead > tr,
|
1792
|
-
> tfoot > tr {
|
1776
|
+
.ui.stuck.table:not(.inverted) {
|
1793
1777
|
background: @stuckBackground;
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
> tfoot > tr {
|
1810
|
-
background: @invertedStuckBackground;
|
1811
|
-
}
|
1778
|
+
& > thead > tr {
|
1779
|
+
background: @stuckHeaderBackground;
|
1780
|
+
}
|
1781
|
+
& > tbody > tr {
|
1782
|
+
background: @stuckBackground;
|
1783
|
+
}
|
1784
|
+
& > tfoot > tr {
|
1785
|
+
background: @stuckFooterBackground;
|
1786
|
+
}
|
1787
|
+
&.basic when (@variationTableBasic) {
|
1788
|
+
& > thead > tr,
|
1789
|
+
> tfoot > tr {
|
1790
|
+
background: @stuckBackground;
|
1791
|
+
}
|
1792
|
+
}
|
1812
1793
|
}
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1794
|
+
.ui.inverted.stuck.table when (@variationTableInverted) {
|
1795
|
+
& > thead > tr {
|
1796
|
+
background: @invertedStuckHeaderBackground;
|
1797
|
+
}
|
1798
|
+
& > tbody > tr {
|
1799
|
+
background: @invertedStuckBackground;
|
1800
|
+
}
|
1801
|
+
& > tfoot > tr {
|
1802
|
+
background: @invertedStuckFooterBackground;
|
1803
|
+
}
|
1804
|
+
&.basic when (@variationTableBasic) {
|
1805
|
+
& > thead > tr,
|
1806
|
+
> tfoot > tr {
|
1807
|
+
background: @invertedStuckBackground;
|
1808
|
+
}
|
1809
|
+
}
|
1820
1810
|
}
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
border-top: @cellBorder;
|
1829
|
-
}
|
1830
|
-
}
|
1831
|
-
&.inverted > thead > tr:first-child > th when (@variationTableInverted) {
|
1832
|
-
border-top: @invertedCellBorder;
|
1811
|
+
& when (@variationTableStuckHead) or (@variationTableStuckFoot) {
|
1812
|
+
.ui.head.stuck.table > thead,
|
1813
|
+
.ui.foot.stuck.table > tfoot {
|
1814
|
+
position: -webkit-sticky;
|
1815
|
+
position: sticky;
|
1816
|
+
z-index: @stuckZIndex;
|
1817
|
+
}
|
1833
1818
|
}
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1819
|
+
.ui.head.stuck.table when (@variationTableStuckHead) {
|
1820
|
+
border-top: 0;
|
1821
|
+
& > thead {
|
1822
|
+
top: 0;
|
1823
|
+
bottom: auto;
|
1824
|
+
& > tr:first-child > th {
|
1825
|
+
border-top: @cellBorder;
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
&.inverted > thead > tr:first-child > th when (@variationTableInverted) {
|
1829
|
+
border-top: @invertedCellBorder;
|
1830
|
+
}
|
1844
1831
|
}
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1832
|
+
.ui.foot.stuck.table when (@variationTableStuckFoot) {
|
1833
|
+
border-bottom: 0;
|
1834
|
+
& > tfoot {
|
1835
|
+
top: auto;
|
1836
|
+
bottom: 0;
|
1837
|
+
& > tr:last-child > td,
|
1838
|
+
> tr:last-child > th {
|
1839
|
+
border-bottom: @cellBorder;
|
1840
|
+
}
|
1841
|
+
}
|
1842
|
+
& when (@variationTableInverted) {
|
1843
|
+
&.inverted > tfoot > tr:first-child > td,
|
1844
|
+
&.inverted > tfoot > tr:first-child > th {
|
1845
|
+
border-top: @invertedCellBorder;
|
1846
|
+
}
|
1847
|
+
}
|
1850
1848
|
}
|
1851
|
-
}
|
1852
1849
|
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1850
|
+
.ui.first.stuck.table when (@variationTableStuckFirst) {
|
1851
|
+
border-left: 0;
|
1852
|
+
& th:first-child,
|
1853
|
+
td:first-child {
|
1854
|
+
position: -webkit-sticky;
|
1855
|
+
position: sticky;
|
1856
|
+
left: 0;
|
1857
|
+
border-left: @cellBorder;
|
1858
|
+
background: inherit;
|
1859
|
+
}
|
1860
|
+
& when (@variationTableInverted) {
|
1861
|
+
&.inverted th:first-child,
|
1862
|
+
&.inverted td:first-child {
|
1863
|
+
border-left: @invertedCellBorder;
|
1864
|
+
}
|
1865
|
+
}
|
1868
1866
|
}
|
1869
|
-
}
|
1870
1867
|
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
}
|
1888
|
-
& when (@variationTableCelled) {
|
1889
|
-
& when (@variationTableStuckFirst) {
|
1890
|
-
.ui.celled.first.stuck.table th:first-child,
|
1891
|
-
.ui.celled.first.stuck.table td:first-child {
|
1892
|
-
border-right: @cellBorder;
|
1893
|
-
}
|
1894
|
-
}
|
1895
|
-
& when (@variationTableStuckLast) {
|
1896
|
-
.ui.celled.last.stuck.table th:last-child,
|
1897
|
-
.ui.celled.last.stuck.table td:last-child {
|
1898
|
-
border-left: @cellBorder;
|
1899
|
-
}
|
1868
|
+
.ui.last.stuck.table when (@variationTableStuckLast) {
|
1869
|
+
border-right: 0;
|
1870
|
+
& th:last-child,
|
1871
|
+
td:last-child {
|
1872
|
+
position: -webkit-sticky;
|
1873
|
+
position: sticky;
|
1874
|
+
right: 0;
|
1875
|
+
border-right: @cellBorder;
|
1876
|
+
background: inherit;
|
1877
|
+
}
|
1878
|
+
& when (@variationTableInverted) {
|
1879
|
+
&.inverted th:last-child,
|
1880
|
+
&.inverted td:last-child {
|
1881
|
+
border-right: @invertedCellBorder;
|
1882
|
+
}
|
1883
|
+
}
|
1900
1884
|
}
|
1901
|
-
& when (@
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1885
|
+
& when (@variationTableCelled) {
|
1886
|
+
& when (@variationTableStuckFirst) {
|
1887
|
+
.ui.celled.first.stuck.table th:first-child,
|
1888
|
+
.ui.celled.first.stuck.table td:first-child {
|
1889
|
+
border-right: @cellBorder;
|
1890
|
+
}
|
1906
1891
|
}
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1892
|
+
& when (@variationTableStuckLast) {
|
1893
|
+
.ui.celled.last.stuck.table th:last-child,
|
1894
|
+
.ui.celled.last.stuck.table td:last-child {
|
1895
|
+
border-left: @cellBorder;
|
1896
|
+
}
|
1897
|
+
}
|
1898
|
+
& when (@variationTableInverted) {
|
1899
|
+
& when (@variationTableStuckFirst) {
|
1900
|
+
.ui.inverted.celled.first.stuck.table th:first-child,
|
1901
|
+
.ui.inverted.celled.first.stuck.table td:first-child {
|
1902
|
+
border-right: @invertedCellBorder;
|
1903
|
+
}
|
1904
|
+
}
|
1905
|
+
& when (@variationTableStuckLast) {
|
1906
|
+
.ui.inverted.celled.last.stuck.table th:last-child,
|
1907
|
+
.ui.inverted.celled.last.stuck.table td:last-child {
|
1908
|
+
border-left: @invertedCellBorder;
|
1909
|
+
}
|
1910
|
+
}
|
1912
1911
|
}
|
1913
|
-
}
|
1914
1912
|
}
|
1915
|
-
}
|
1916
1913
|
}
|
1917
1914
|
|
1918
|
-
|
1915
|
+
/* --------------
|
1919
1916
|
Sizes
|
1920
|
-
|
1917
|
+
--------------- */
|
1921
1918
|
|
1922
1919
|
/* Standard */
|
1923
1920
|
.ui.table {
|
1924
|
-
|
1921
|
+
font-size: @medium;
|
1925
1922
|
}
|
1926
1923
|
& when not (@variationTableSizes = false) {
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1924
|
+
each(@variationTableSizes, {
|
1925
|
+
@s: @@value;
|
1926
|
+
.ui.@{value}.table {
|
1927
|
+
font-size: @s;
|
1928
|
+
}
|
1929
|
+
})
|
1933
1930
|
}
|
1934
1931
|
|
1935
|
-
|
1936
1932
|
.loadUIOverrides();
|