@finqu/cool 1.2.29 → 2.0.2

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.
Files changed (221) hide show
  1. package/README.md +694 -1
  2. package/dist/css/cool.css +26902 -14322
  3. package/dist/css/cool.css.map +1 -154
  4. package/dist/css/cool.min.css +2 -7
  5. package/dist/css/cool.min.css.map +1 -1
  6. package/dist/js/cool.bundle.js +16191 -5588
  7. package/dist/js/cool.bundle.js.map +1 -1
  8. package/dist/js/cool.bundle.min.js +13 -8
  9. package/dist/js/cool.bundle.min.js.map +1 -1
  10. package/dist/js/cool.esm.js +4722 -4812
  11. package/dist/js/cool.esm.js.map +1 -1
  12. package/dist/js/cool.esm.min.js +4 -9
  13. package/dist/js/cool.esm.min.js.map +1 -1
  14. package/dist/js/cool.js +5143 -5240
  15. package/dist/js/cool.js.map +1 -1
  16. package/dist/js/cool.min.js +4 -9
  17. package/dist/js/cool.min.js.map +1 -1
  18. package/package.json +125 -60
  19. package/scss/LISENCE +1 -1
  20. package/scss/_badge.scss +134 -102
  21. package/scss/_button-group.scss +80 -129
  22. package/scss/_buttons.scss +257 -201
  23. package/scss/_dark.scss +637 -0
  24. package/scss/_dialog.scss +314 -123
  25. package/scss/_dropdown.scss +165 -233
  26. package/scss/_forms.scss +555 -200
  27. package/scss/_frame.scss +945 -624
  28. package/scss/_grid.scss +215 -35
  29. package/scss/_input-group.scss +326 -285
  30. package/scss/_list-group.scss +127 -82
  31. package/scss/_media.scss +439 -0
  32. package/scss/_navbar.scss +116 -284
  33. package/scss/_notification.scss +111 -9
  34. package/scss/_pagination.scss +82 -88
  35. package/scss/_popover.scss +61 -167
  36. package/scss/_reboot.scss +306 -284
  37. package/scss/_root.scss +848 -15
  38. package/scss/_section.scss +735 -977
  39. package/scss/_select.scss +559 -187
  40. package/scss/_tables.scss +471 -595
  41. package/scss/_tabs.scss +50 -178
  42. package/scss/_toast.scss +242 -147
  43. package/scss/_tooltip.scss +130 -101
  44. package/scss/_typography.scss +166 -0
  45. package/scss/_variables.scss +1154 -748
  46. package/scss/cool.scss +64 -32
  47. package/scss/utilities/_align.scss +51 -41
  48. package/scss/utilities/_animation.scss +165 -0
  49. package/scss/utilities/_background.scss +72 -14
  50. package/scss/utilities/_borders.scss +205 -146
  51. package/scss/utilities/_collapse.scss +20 -25
  52. package/scss/utilities/_cursor.scss +160 -22
  53. package/scss/utilities/_display.scss +116 -16
  54. package/scss/utilities/_embed.scss +89 -78
  55. package/scss/utilities/_fill.scss +79 -0
  56. package/scss/utilities/_filters.scss +233 -0
  57. package/scss/utilities/_flex.scss +216 -52
  58. package/scss/utilities/_grid.scss +136 -0
  59. package/scss/utilities/_opacity.scss +131 -0
  60. package/scss/utilities/_overflow.scss +242 -6
  61. package/scss/utilities/_perfect-scrollbar.scss +147 -141
  62. package/scss/utilities/_pointer-events.scss +125 -0
  63. package/scss/utilities/_position.scss +130 -30
  64. package/scss/utilities/_screen-readers.scss +95 -0
  65. package/scss/utilities/_shadows.scss +195 -0
  66. package/scss/utilities/_sizing.scss +288 -32
  67. package/scss/utilities/_spacing.scss +168 -92
  68. package/scss/utilities/_stroke.scss +124 -0
  69. package/scss/utilities/_text.scss +420 -99
  70. package/scss/utilities/_transform.scss +232 -0
  71. package/scss/utilities/_transitions.scss +147 -0
  72. package/scss/utilities/_user-select.scss +89 -10
  73. package/scss/utilities/_visibility.scss +62 -6
  74. package/scss/utilities/_z-index.scss +169 -0
  75. package/.babelrc.js +0 -20
  76. package/.browserslistrc +0 -13
  77. package/build/.eslintrc.json +0 -10
  78. package/build/banner.js +0 -14
  79. package/build/build-plugins.js +0 -92
  80. package/build/rollup.config.js +0 -46
  81. package/dist/css/cool-grid.css +0 -4390
  82. package/dist/css/cool-grid.css.map +0 -30
  83. package/dist/css/cool-grid.min.css +0 -7
  84. package/dist/css/cool-grid.min.css.map +0 -1
  85. package/dist/css/cool-reboot.css +0 -286
  86. package/dist/css/cool-reboot.css.map +0 -62
  87. package/dist/css/cool-reboot.min.css +0 -7
  88. package/dist/css/cool-reboot.min.css.map +0 -1
  89. package/html/index.html +0 -2703
  90. package/js/dist/collapse.js +0 -5535
  91. package/js/dist/collapse.js.map +0 -1
  92. package/js/dist/common.js +0 -21996
  93. package/js/dist/common.js.map +0 -1
  94. package/js/dist/cooldropdown.js +0 -467
  95. package/js/dist/cooldropdown.js.map +0 -1
  96. package/js/dist/coolpopover.js +0 -391
  97. package/js/dist/coolpopover.js.map +0 -1
  98. package/js/dist/coolsectiontabs.js +0 -256
  99. package/js/dist/coolsectiontabs.js.map +0 -1
  100. package/js/dist/coolselect.js +0 -796
  101. package/js/dist/coolselect.js.map +0 -1
  102. package/js/dist/cooltooltip.js +0 -360
  103. package/js/dist/cooltooltip.js.map +0 -1
  104. package/js/dist/coolui.js +0 -73
  105. package/js/dist/coolui.js.map +0 -1
  106. package/js/dist/dropdown.js +0 -27421
  107. package/js/dist/dropdown.js.map +0 -1
  108. package/js/dist/popover.js +0 -9472
  109. package/js/dist/popover.js.map +0 -1
  110. package/js/dist/sectiontabs.js +0 -4483
  111. package/js/dist/sectiontabs.js.map +0 -1
  112. package/js/dist/select.js +0 -37080
  113. package/js/dist/select.js.map +0 -1
  114. package/js/dist/tooltip.js +0 -8786
  115. package/js/dist/tooltip.js.map +0 -1
  116. package/js/index.esm.js +0 -21
  117. package/js/index.umd.js +0 -21
  118. package/js/src/abstract-ui-component.js +0 -81
  119. package/js/src/collapse.js +0 -286
  120. package/js/src/common.js +0 -296
  121. package/js/src/dialog.js +0 -579
  122. package/js/src/dropdown.js +0 -525
  123. package/js/src/popover.js +0 -632
  124. package/js/src/section-tabs.js +0 -215
  125. package/js/src/select.js +0 -1342
  126. package/js/src/toast.js +0 -581
  127. package/js/src/tooltip.js +0 -591
  128. package/js/src/util/animate-css.js +0 -22
  129. package/js/src/util/index.js +0 -122
  130. package/js/src/util/perfect-scrollbar.js +0 -1316
  131. package/less/alert.less +0 -345
  132. package/less/badge.less +0 -38
  133. package/less/bootstrap-noconflict.less +0 -23
  134. package/less/bootstrap.less +0 -23
  135. package/less/button-group.less +0 -153
  136. package/less/buttons.less +0 -287
  137. package/less/dialog-noconflict.less +0 -174
  138. package/less/dialog.less +0 -203
  139. package/less/dropdown.less +0 -209
  140. package/less/forms.less +0 -770
  141. package/less/images.less +0 -242
  142. package/less/input-group.less +0 -163
  143. package/less/list-group.less +0 -73
  144. package/less/mixins/aspect-ratio.less +0 -23
  145. package/less/mixins/border-radius.less +0 -24
  146. package/less/mixins/box-shadow.less +0 -4
  147. package/less/mixins/buttons.less +0 -17
  148. package/less/mixins/caret.less +0 -51
  149. package/less/mixins/clearfix.less +0 -10
  150. package/less/mixins/gradients.less +0 -34
  151. package/less/mixins/nav-divider.less +0 -7
  152. package/less/mixins/object-fit.less +0 -13
  153. package/less/mixins/reset-text.less +0 -16
  154. package/less/mixins.less +0 -11
  155. package/less/package.json +0 -11
  156. package/less/pagination.less +0 -69
  157. package/less/popover.less +0 -143
  158. package/less/project.sublime-workspace +0 -774
  159. package/less/reboot.less +0 -235
  160. package/less/section.less +0 -793
  161. package/less/select.less +0 -150
  162. package/less/tables.less +0 -737
  163. package/less/tabs.less +0 -162
  164. package/less/tooltip.less +0 -87
  165. package/less/type.less +0 -71
  166. package/less/utilities/align.less +0 -27
  167. package/less/utilities/animate.less +0 -3512
  168. package/less/utilities/background.less +0 -70
  169. package/less/utilities/borders.less +0 -16
  170. package/less/utilities/color.less +0 -70
  171. package/less/utilities/cursor.less +0 -8
  172. package/less/utilities/display.less +0 -38
  173. package/less/utilities/embed.less +0 -61
  174. package/less/utilities/flex.less +0 -76
  175. package/less/utilities/jquery-ui.less +0 -116
  176. package/less/utilities/lazyload.less +0 -29
  177. package/less/utilities/overflow.less +0 -11
  178. package/less/utilities/pace.less +0 -25
  179. package/less/utilities/placeholder.less +0 -60
  180. package/less/utilities/position.less +0 -42
  181. package/less/utilities/scrollbar.less +0 -152
  182. package/less/utilities/spacing.less +0 -197
  183. package/less/utilities/text.less +0 -68
  184. package/less/utilities/transform.less +0 -7
  185. package/less/utilities.less +0 -21
  186. package/less/variables.less +0 -343
  187. package/scss/_alert.scss +0 -102
  188. package/scss/_custom-forms.scss +0 -444
  189. package/scss/_functions.scss +0 -124
  190. package/scss/_images.scss +0 -361
  191. package/scss/_mixins.scss +0 -34
  192. package/scss/_type.scss +0 -129
  193. package/scss/_utilities.scss +0 -23
  194. package/scss/cool-grid.scss +0 -29
  195. package/scss/cool-reboot.scss +0 -11
  196. package/scss/mixins/_alert-variant.scss +0 -20
  197. package/scss/mixins/_aspect-ratio.scss +0 -29
  198. package/scss/mixins/_background-variant.scss +0 -25
  199. package/scss/mixins/_badge-variant.scss +0 -36
  200. package/scss/mixins/_breakpoints.scss +0 -102
  201. package/scss/mixins/_buttons.scss +0 -104
  202. package/scss/mixins/_caret.scss +0 -80
  203. package/scss/mixins/_clearfix.scss +0 -10
  204. package/scss/mixins/_float.scss +0 -14
  205. package/scss/mixins/_forms.scss +0 -67
  206. package/scss/mixins/_gradients.scss +0 -40
  207. package/scss/mixins/_grid-framework.scss +0 -72
  208. package/scss/mixins/_grid.scss +0 -60
  209. package/scss/mixins/_nav-divider.scss +0 -9
  210. package/scss/mixins/_notification-variant.scss +0 -7
  211. package/scss/mixins/_object-fit.scss +0 -16
  212. package/scss/mixins/_reset-text.scss +0 -19
  213. package/scss/mixins/_text-emphasis.scss +0 -21
  214. package/scss/mixins/_text-hide.scss +0 -10
  215. package/scss/mixins/_text-truncate.scss +0 -81
  216. package/scss/mixins/_visibility.scss +0 -7
  217. package/scss/project.sublime-workspace +0 -491
  218. package/scss/utilities/_animate.scss +0 -3512
  219. package/scss/utilities/_clearfix.scss +0 -6
  220. package/scss/utilities/_lazyload.scss +0 -31
  221. package/scss/utilities/_placeholder.scss +0 -77
package/scss/_tables.scss CHANGED
@@ -1,735 +1,611 @@
1
- // Tables
2
- // ---------------------------------------------------------------------------------------------------------------
3
-
4
- // Default structure
5
- .table {
6
- background: transparent;
7
- border-spacing: 0;
8
- display: table;
9
- margin: 0;
10
- padding: 0;
11
- width: 100%;
12
- table-layout: auto;
13
-
14
- .col-icon { width: 15px; }
15
- .col-small { width: 48px; }
16
- .col-small-medium { width: 74px; }
17
- .col-medium { width: 100px; }
18
- .col-medium-large { width: 150px; }
19
- .col-large { width: 288px; }
20
- .col-verylarge { width: 432px; }
21
- .col-img-xs { width: 24px; }
22
- .col-img-sm { width: 32px; }
23
- .col-img-md { width: 50px; }
24
- .col-img-lg { width: 90px; }
25
- .col-img-xl { width: 120px; }
26
- .col-select { width: 45px; }
27
-
28
- thead,
29
- .thead {
30
- display: table-header-group;
31
- vertical-align: middle;
32
- border-color: inherit;
33
- }
34
-
35
- tbody,
36
- .tbody {
37
- display: table-row-group;
38
- vertical-align: middle;
39
- border-color: inherit;
40
- }
41
-
42
- label.tr {
43
- font-size: inherit;
44
- }
1
+ @use "variables" as *;
2
+ @use "sass:color";
3
+ /* Tables ========================================================================== */
45
4
 
46
- .tr,
47
- tr {
48
- display: table-row;
5
+ @mixin cool-tables {
6
+ .table {
7
+ background: transparent;
8
+ border-spacing: 0;
9
+ display: table;
10
+ margin: 0;
11
+ padding: 0;
12
+ width: 100%;
13
+ table-layout: auto;
49
14
 
50
- &:first-child td,
51
- &:first-child .td {
52
- border-top: 0;
15
+ .col-icon {
16
+ --cool-table-cell-width: 15px;
53
17
  }
54
-
55
- &[data-table-link],
56
- &[data-table-btn] {
57
- cursor: pointer;
18
+ .col-small {
19
+ --cool-table-cell-width: 48px;
20
+ }
21
+ .col-small-medium {
22
+ --cool-table-cell-width: 74px;
23
+ }
24
+ .col-medium {
25
+ --cool-table-cell-width: 100px;
26
+ }
27
+ .col-medium-large {
28
+ --cool-table-cell-width: 150px;
29
+ }
30
+ .col-large {
31
+ --cool-table-cell-width: 288px;
32
+ }
33
+ .col-img-sm {
34
+ --cool-table-cell-width: 32px;
35
+ }
36
+ .col-img-md {
37
+ --cool-table-cell-width: 45px;
38
+ }
39
+ .col-img-lg {
40
+ --cool-table-cell-width: 90px;
41
+ }
42
+ .col-select {
43
+ --cool-table-cell-width: 18px;
58
44
  }
59
45
 
60
- .th,
61
- th {
62
- display: table-cell;
46
+ thead,
47
+ .thead {
48
+ display: table-header-group;
63
49
  vertical-align: middle;
64
- font-family: $table-th-font-family;
65
- line-height: $table-th-line-height;
66
- background-color: $table-th-bg;
67
- border-bottom: $border-width solid $table-border-color;
68
- color: $table-head-color;
69
- font-size: $table-th-font-size;
70
- font-weight: $table-th-font-weight;
71
- padding: $table-th-padding-mobile;
72
- word-break: normal;
73
- box-sizing: content-box;
74
-
75
- @include media-breakpoint-up(sm) {
76
- padding: $table-th-padding;
77
- }
50
+ border-color: inherit;
78
51
  }
79
52
 
80
- .td,
81
- td {
82
- display: table-cell;
53
+ tbody,
54
+ .tbody {
55
+ display: table-row-group;
83
56
  vertical-align: middle;
84
- line-height: $table-td-line-height;
85
- background: $table-bg;
86
- border-top: $border-width solid $table-border-color;
87
- color: $table-color;
88
- padding: $table-td-padding-mobile;
89
- box-sizing: content-box;
57
+ border-color: inherit;
58
+ }
90
59
 
91
- @include media-breakpoint-down(sm) {
92
- word-break: break-word;
60
+ .tr,
61
+ tr {
62
+ display: table-row;
63
+
64
+ &:first-child td,
65
+ &:first-child .td {
66
+ border-top: 0;
93
67
  }
94
68
 
95
- @include media-breakpoint-up(sm) {
96
- padding: $table-td-padding;
69
+ &[data-table-link],
70
+ &[data-table-btn] {
71
+ cursor: pointer;
97
72
  }
98
73
 
99
- .span {
74
+ .th,
75
+ th {
76
+ display: table-cell;
100
77
  vertical-align: middle;
78
+ font-family: var(--cool-table-th-font-family);
79
+ line-height: var(--cool-table-th-line-height);
80
+ background-color: var(--cool-table-th-bg);
81
+ border-bottom: var(--cool-border-width) solid var(--cool-table-border-color);
82
+ color: var(--cool-table-head-color);
83
+ font-size: var(--cool-table-th-font-size);
84
+ font-weight: var(--cool-table-th-font-weight);
85
+ padding: var(--cool-table-th-padding-mobile);
86
+ word-break: normal;
87
+ box-sizing: content-box;
88
+ width: var(--cool-table-cell-width, auto);
89
+ height: var(--cool-table-cell-height, auto);
90
+
91
+ @include media-breakpoint-up(sm) {
92
+ padding: var(--cool-table-th-padding);
93
+ }
101
94
  }
102
- }
103
- }
104
- }
105
-
106
95
 
107
- // Table essentials
108
- .table {
96
+ .td,
97
+ td {
98
+ display: table-cell;
99
+ vertical-align: middle;
100
+ position: static;
101
+ box-sizing: content-box;
102
+ line-height: var(--cool-table-td-line-height);
103
+ background: var(--cool-table-bg);
104
+ border-top: var(--cool-border-width) solid var(--cool-table-border-color);
105
+ color: var(--cool-table-color);
106
+ padding: var(--cool-table-td-padding-mobile);
107
+ width: var(--cool-table-cell-width, auto);
108
+ height: var(--cool-table-cell-height, auto);
109
+
110
+ @include media-breakpoint-down(sm) {
111
+ word-break: break-word;
112
+ }
109
113
 
110
- // Has bg
111
- &.has-bg {
112
- > thead > th,
113
- > .thead > .th,
114
- > thead > tr > th,
115
- > .thead > .tr > .th,
116
- > .tr > .th {
117
- background-color: $table-head-bg;
114
+ @include media-breakpoint-up(sm) {
115
+ padding: var(--cool-table-td-padding);
116
+ }
117
+ }
118
118
  }
119
- }
120
119
 
121
- // Form
122
- .form {
123
- width: 100%;
124
- }
120
+ ul {
121
+ display: block;
122
+ width: 100%;
123
+ box-sizing: border-box;
124
+ padding-left: 40px;
125
125
 
126
- // List
127
- ul {
128
- display: block;
129
- width: 100%;
130
- box-sizing: border-box;
131
- padding-left: 40px;
132
- @include media-breakpoint-down(sm) {
133
- padding-left: 10px;
126
+ @include media-breakpoint-down(sm) {
127
+ padding-left: 10px;
128
+ }
134
129
  }
135
- }
136
130
 
137
- li {
138
- display: block;
139
- list-style: none;
140
- width: 100%;
141
- }
131
+ li {
132
+ display: block;
133
+ list-style: none;
134
+ width: 100%;
135
+ }
136
+
137
+ a:not(.btn):not(.dropdown-item),
138
+ span.icon {
139
+ color: var(--cool-table-link-color);
142
140
 
143
- // links
144
- a:not(.btn),
145
- span.icon {
146
- color: $table-link-color;
141
+ &:hover:not(span) {
142
+ color: var(--cool-table-link-hover-color);
147
143
 
148
- &:hover:not(span) {
149
- color: $table-link-hover-color;
144
+ .icon {
145
+ color: var(--cool-table-link-hover-color);
146
+ }
147
+ }
150
148
 
151
149
  .icon {
152
- color: $table-link-hover-color;
150
+ color: var(--cool-table-icon-color);
151
+ font-size: 18px;
153
152
  }
154
153
  }
155
154
 
156
- &.inherit-color {
157
- color: inherit;
158
-
159
- &:hover {
160
- color: inherit;
161
- }
155
+ p {
156
+ a:not(.btn):not(.dropdown-item),
157
+ span.icon {
158
+ color: var(--cool-table-link-color);
159
+ text-decoration: none;
162
160
 
163
- .icon {
164
- color: inherit;
161
+ &:hover {
162
+ color: var(--cool-table-link-hover-color);
163
+ }
165
164
  }
166
165
  }
167
166
 
168
- .icon {
169
- color: $table-icon-color;
170
- font-size: 18px;
171
- }
172
- }
167
+ .image.img-md {
168
+ --cool-image-width: 45px;
169
+ --cool-image-height: 45px;
173
170
 
174
- p {
175
- a:not(.btn),
176
- span.icon {
177
- color: $table-link-color;
178
- text-decoration: none;
171
+ &.img-thumbnail .icon {
172
+ --cool-image-icon-width: 20px;
173
+ --cool-image-icon-height: 20px;
174
+ }
179
175
 
180
- &:hover {
181
- color: $table-link-hover-color;
176
+ .icon {
177
+ --cool-image-icon-width: 42px;
178
+ --cool-image-icon-height: 42px;
182
179
  }
183
180
  }
184
- }
185
- }
186
-
187
181
 
188
- // Striped
189
- .table-striped {
190
- .tr,
191
- tr {
192
- &:nth-child(odd) .td,
193
- &:nth-child(odd) td {
194
- background: $table-accent-bg;
182
+ .badge {
183
+ white-space: normal;
195
184
  }
196
185
  }
197
- }
198
186
 
187
+ .table-sm .tr:first-child .td,
188
+ .table-sm tr:first-child td {
189
+ padding: var(--cool-table-th-padding-sm);
190
+ }
199
191
 
200
- // Bordered
201
- .table-bordered {
202
- .td,
203
- td {
204
- border-left: $border-width solid $table-border-color;
205
- &:last-child {
206
- border-right: $border-width solid $table-border-color;
207
- }
192
+ .table-sm .tr .td,
193
+ .table-sm tr td {
194
+ padding: var(--cool-table-td-padding-sm);
208
195
  }
209
- }
210
196
 
197
+ .table-borderless:not(.table-sortable) .tr .th,
198
+ .table-borderless:not(.table-sortable) .tr .td,
199
+ .table-borderless:not(.table-sortable) tr th,
200
+ .table-borderless:not(.table-sortable) tr td {
201
+ border: none;
202
+ }
211
203
 
212
- // Borderless
213
- .table-borderless {
214
- .tr,
215
- tr {
216
- .th,
217
- th,
218
- td,
219
- .td {
220
- border: none;
221
- }
204
+ .table-hover thead tr th,
205
+ .table-hover .thead .tr .th {
206
+ background-color: var(--cool-table-th-bg);
222
207
  }
223
- }
224
208
 
209
+ .table-hover > tbody > tr:hover > td,
210
+ .table-hover > .tbody > .tr:hover > .td {
211
+ background-color: var(--cool-table-hover-bg);
212
+ }
225
213
 
226
- // Sortable
227
- .table-sortable {
228
- li {
229
- margin-top: -$border-width;
230
- cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABF0lEQ…%2BX%2BvObByYdEkFh8%2F6qXFrrfeocIk8x2VrNl9A%2F0l7Ib3y%2F5wAAAAAElFTkSuQmCC),move;
231
- cursor: -webkit-grab;
232
- cursor: grab;
214
+ .table-hover > tbody > tr:not(:first-child):not(:last-child):hover > td,
215
+ .table-hover > .tbody > .tr:not(:first-child):not(:last-child):hover > .td {
216
+ border-radius: 0;
217
+ }
233
218
 
234
- &.root {
235
- margin-top: $border-width;
219
+ .table-sortable {
220
+ &:has(.sortable-chosen) {
221
+ user-select: none;
236
222
  }
237
223
 
238
- &.ui-sortable-helper,
239
- &:focus,
240
- &:active {
241
- cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAA8ElEQ…MaIrswx%2FYOXKRSUsXsh8s3Y91rlQK%2FF8IiOx%2B3vxAooqZGlRhljTAAAAAElFTkSuQmCC),move;
242
- cursor: -webkit-grabbing;
243
- cursor: grabbing;
224
+ &.table-borderless {
225
+ .table tbody,
226
+ .table .tbody {
227
+ outline: none;
228
+ }
244
229
  }
245
230
 
246
- &.ui-state-highlight {
247
- height: 75px;
248
- width: 100%;
249
- background: $grey-100;
250
- border-radius: $border-radius;
231
+ li {
232
+ margin-top: calc(-1 * var(--cool-border-width));
251
233
  }
252
- }
253
-
254
- table,
255
- .table {
256
- position: relative;
257
234
 
258
- thead,
259
- .thead {
260
- tr,
261
- .tr {
262
- th,
263
- .th {
264
- background-color: $table-bg;
265
-
266
- &.sortable {
267
- color: $table-color;
268
-
269
- &:hover {
270
- cursor: pointer;
271
- background: lighten($table-head-bg, 2%) !important;
272
- }
273
- }
274
- }
275
- }
235
+ li:first-child {
236
+ margin-top: 0;
276
237
  }
277
238
 
278
- tbody,
279
- .tbody {
239
+ table,
240
+ .table {
280
241
  position: relative;
281
- display: table;
282
- width: 100%;
283
- outline: $border-width solid $table-border-color;
284
- outline-offset: -$border-width;
285
- background-color: #ffffff;
286
-
287
- > tr,
288
- > .tr {
289
- position: relative;
290
242
 
291
- &.ui-sortable-handle {
292
- &:hover {
293
- td,
294
- .td {
295
- background-color: $table-hover-bg;
296
- }
297
- }
298
-
299
- &:after {
300
- position: absolute;
301
- top: calc(50% - 10px);
302
- left: 20px;
303
- line-height: 0;
304
- content: '';
305
- width: 16px;
306
- height: 16px;
307
- background-repeat: no-repeat;
308
- background-position: left;
309
- // Font Awesome Free fa-ellipsis-v
310
- background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIgNTEyIj48cGF0aCBmaWxsPSIjNzY4NDhGIiBkPSJNOTYgMTg0YzM5LjggMCA3MiAzMi4yIDcyIDcycy0zMi4yIDcyLTcyIDcyLTcyLTMyLjItNzItNzIgMzIuMi03MiA3Mi03MnpNMjQgODBjMCAzOS44IDMyLjIgNzIgNzIgNzJzNzItMzIuMiA3Mi03MlMxMzUuOCA4IDk2IDggMjQgNDAuMiAyNCA4MHptMCAzNTJjMCAzOS44IDMyLjIgNzIgNzIgNzJzNzItMzIuMiA3Mi03Mi0zMi4yLTcyLTcyLTcyLTcyIDMyLjItNzIgNzJ6Ij48L3BhdGg+PC9zdmc+');
311
- @include media-breakpoint-down(sm) {
312
- left: 15px;
313
- }
314
- }
315
-
316
- &:hover {
317
- &:after {
318
- color: $table-link-hover-color;
319
- }
320
- }
321
-
322
- td,
323
- .td {
324
- height: 32px;
325
-
326
- &:first-child {
327
- padding-left: 40px;
328
- @include media-breakpoint-down(sm) {
329
- padding-left: 30px;
330
- }
331
- }
332
- }
333
- }
243
+ thead tr th,
244
+ .thead .tr .th {
245
+ background-color: var(--cool-table-bg);
334
246
  }
335
- }
336
- }
337
- }
338
247
 
248
+ thead tr th.sortable,
249
+ .thead .tr .th.sortable {
250
+ color: var(--cool-table-color);
251
+ }
339
252
 
340
- // Condensed
341
- .table-sm {
342
- .tr,
343
- tr {
344
- &:first-child {
345
- .td,
346
- td {
347
- padding: $table-th-padding-sm;
253
+ thead tr th.sortable:hover,
254
+ .thead .tr .th.sortable:hover {
255
+ cursor: pointer;
256
+ background: var(--cool-table-sortable-head-hover-bg) !important;
348
257
  }
349
- }
350
- .td,
351
- td {
352
- padding: $table-td-padding-sm;
353
- }
354
- }
355
- }
356
258
 
259
+ tbody,
260
+ .tbody {
261
+ position: relative;
262
+ display: table;
263
+ width: 100%;
264
+ outline: var(--cool-border-width) solid var(--cool-table-border-color);
265
+ outline-offset: calc(-0.5 * var(--cool-border-width));
266
+ background-color: var(--cool-table-bg);
267
+
268
+ > tr td.ui-sortable-handle,
269
+ > .tr .td.ui-sortable-handle {
270
+ width: var(--cool-table-sortable-handle-width);
271
+ height: var(--cool-table-sortable-handle-height);
272
+ padding-right: 0;
273
+ text-align: center;
274
+ cursor:
275
+ url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABF0lEQ…%2BX%2BvObByYdEkFh8%2F6qXFrrfeocIk8x2VrNl9A%2F0l7Ib3y%2F5wAAAAAElFTkSuQmCC),
276
+ move;
277
+ cursor: -webkit-grab;
278
+ cursor: grab;
279
+ }
357
280
 
358
- // Hover
359
- .table-hover {
360
- > .tbody,
361
- > tbody {
362
- > .tr,
363
- > tr {
364
- &:hover {
365
- > .td,
366
- > td {
367
- background-color: $table-hover-bg;
368
- .hover-this {
369
- color: $table-link-hover-color;
370
- }
281
+ > tr td.ui-sortable-handle:focus,
282
+ > tr td.ui-sortable-handle:active,
283
+ > .tr .td.ui-sortable-handle:focus,
284
+ > .tr .td.ui-sortable-handle:active {
285
+ cursor:
286
+ url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAA8ElEQ…MaIrswx%2FYOXKRSUsXsh8s3Y91rlQK%2FF8IiOx%2B3vxAooqZGlRhljTAAAAAElFTkSuQmCC),
287
+ move;
288
+ cursor: -webkit-grabbing;
289
+ cursor: grabbing;
371
290
  }
372
291
  }
373
292
  }
374
293
  }
375
- }
376
294
 
295
+ .table-bulk-actions tr.selected > td,
296
+ .table-bulk-actions .tr.selected > .td {
297
+ background-color: var(--cool-table-hover-bg);
298
+ color: var(--cool-table-hover-color);
299
+ }
377
300
 
378
- // Bulk actions
379
- .table-bulk-actions {
301
+ .table-bulk-actions tr th.bulk-action,
302
+ .table-bulk-actions tr td.bulk-action,
303
+ .table-bulk-actions .tr .th.bulk-action,
304
+ .table-bulk-actions .tr .td.bulk-action {
305
+ cursor: pointer;
306
+ text-align: center;
307
+ position: relative;
380
308
 
381
- .tr,
382
- tr {
309
+ &:hover {
310
+ background: var(--cool-table-bulk-actions-hover-bg);
311
+ color: var(--cool-table-bulk-actions-hover-color);
383
312
 
384
- &.selected {
385
- > .td,
386
- > td {
387
- background-color: $table-hover-bg;
388
- color: $table-hover-color;
313
+ .dropdown-menu {
314
+ display: block;
389
315
  }
390
316
  }
391
317
 
392
- .th,
393
- .td,
394
- th,
395
- td {
396
- &.bulk-action {
397
- cursor: pointer;
398
- text-align: center;
399
- position: relative;
400
-
401
- &:hover {
402
- background: color('blue');
403
- color: #ffffff;
404
-
405
- .dropdown-menu {
406
- display: block;
407
- }
408
- }
318
+ .dropdown-menu {
319
+ background: var(--cool-section-bg);
320
+ border: var(--cool-border-width) solid var(--cool-border-color);
321
+ box-shadow: var(--cool-table-bulk-actions-dropdown-shadow);
322
+ clear: left;
323
+ display: none;
324
+ list-style: none;
325
+ margin: 0;
326
+ padding: 0;
327
+ position: absolute;
328
+ right: 0;
329
+ top: 100%;
330
+ z-index: 100;
331
+ width: 100%;
332
+ min-width: var(--cool-table-bulk-actions-dropdown-min-width);
333
+
334
+ li {
335
+ font-size: var(--cool-table-bulk-actions-dropdown-item-font-size);
336
+ font-weight: var(--cool-font-weight-normal);
337
+ line-height: var(--cool-table-bulk-actions-dropdown-item-line-height);
338
+ min-height: var(--cool-table-bulk-actions-dropdown-item-line-height);
339
+
340
+ & > * {
341
+ color: var(--cool-body-color);
342
+ cursor: pointer;
343
+ display: block;
344
+ padding: var(--cool-table-bulk-actions-dropdown-item-padding);
345
+ text-decoration: none;
346
+ text-transform: none;
409
347
 
410
- .dropdown-menu {
411
- background: $section-bg;
412
- border: $border-width solid $border-color;
413
- box-shadow: 0 4px 4px rgba(0, 0, 0, .15);
414
- clear: left;
415
- display: none;
416
- list-style: none;
417
- margin: 0;
418
- padding: 0;
419
- position: absolute;
420
- right: 0;
421
- top: 100%;
422
- z-index: 100;
423
- width: 100%;
424
- min-width: 150px;
425
- li {
426
- font-size: 12px;
427
- font-weight: 400;
428
- line-height: 25px;
429
- min-height: 25px;
430
- & > * {
431
- color: $body-color;
432
- cursor: pointer;
433
- display: block;
434
- padding: 5px 15px;
435
- text-decoration: none;
436
- text-transform: none;
437
- &:hover {
438
- background: color('blue');
439
- color: $section-bg;
440
- }
441
- }
348
+ &:hover {
349
+ background: var(--cool-table-bulk-actions-hover-bg);
350
+ color: var(--cool-section-bg);
442
351
  }
443
352
  }
444
353
  }
445
354
  }
446
355
  }
447
356
 
448
- &.bulk-actions-active {
449
-
450
- .bulk-actions-header {
451
- display: block;
452
- z-index: 1002;
453
- border-bottom: $border-width solid $table-border-color;
454
-
455
- .input-group-sm {
456
- .bulk-actions-count {
457
- margin-left: -6px;
458
- }
459
- }
460
-
461
- .bulk-actions-count {
462
- border-left: 0;
463
- }
464
- }
465
- }
466
-
467
- .bulk-actions-header {
357
+ .table-bulk-actions .bulk-actions-header {
468
358
  display: none;
469
359
  position: absolute;
470
- background: $table-bg;
471
- box-sizing: border-box;
472
360
  left: 0;
473
- font-family: $font-family-sans-serif;
474
-
475
- .input-group-dropdown {
476
- border: $input-border-width solid $input-group-addon-border-color;
477
- }
361
+ top: 0;
362
+ background: var(--cool-table-bg);
478
363
  }
479
364
 
480
- .bulk-actions-trigger-spacer {
481
- box-sizing: content-box;
365
+ .table-bulk-actions.bulk-actions-active .bulk-actions-header {
366
+ display: block;
367
+ z-index: 1002;
368
+ border-bottom: var(--cool-border-width) solid var(--cool-table-border-color);
369
+ background-color: var(--cool-table-th-bg);
482
370
  }
483
371
 
484
- .col-select {
485
- text-align: left;
372
+ .table-bulk-actions .col-select {
373
+ text-align: center;
486
374
  flex-wrap: nowrap;
487
375
  position: relative;
488
376
  padding-right: 0;
377
+ max-width: 100%;
378
+ line-height: 0;
379
+ }
489
380
 
490
- &:not(.bulk-actions-select) {
491
- .styled-checkbox {
492
- padding-left: 6px;
381
+ .table-responsive {
382
+ @include media-breakpoint-down(sm) {
383
+ --cool-table-th-padding-mobile: var(--cool-table-responsive-td-padding);
384
+ --cool-table-td-padding-x: var(--cool-table-responsive-td-padding);
385
+ overflow: hidden;
386
+ table-layout: auto;
387
+
388
+ &.table-bulk-actions.bulk-actions-active .bulk-actions-header,
389
+ .bulk-actions-select {
390
+ background-color: transparent;
493
391
  }
494
- }
495
-
496
- .input-group {
497
- flex-wrap: nowrap;
498
-
499
- &.input-group-sm {
500
-
501
- .input-group-text,
502
- .input-group-prepend > .input-group-text,
503
- .input-group-append > .input-group-text,
504
- .input-group-dropdown,
505
- .input-group-prepend > .input-group-dropdown,
506
- .input-group-append > .input-group-dropdown, {
507
- height: 17px;
508
- padding: 5px 6px;
509
- box-sizing: content-box;
510
- color: $table-head-color;
511
- }
512
-
513
- .btn-sm {
514
- padding: 5px 6px;
515
- color: $table-head-color;
516
- &:after {
517
- padding-left: 0;
518
- }
519
- }
520
392
 
521
- .input-group-dropdown .dropdown {
522
- margin: -5px -6px;
523
- }
393
+ th,
394
+ .th,
395
+ td,
396
+ .td {
397
+ --cool-table-cell-width: auto;
524
398
  }
525
399
 
526
- }
527
-
528
- .styled-checkbox {
529
- label {
530
- .checkbox-inner {
531
- z-index: 1003;
532
- }
400
+ &.table-bordered {
401
+ border: none;
533
402
  }
534
- }
535
403
 
536
- .styled-radio {
537
- label {
538
- .radio-inner {
539
- z-index: 1003;
540
- }
404
+ &.table-bulk-actions .bulk-actions-header {
405
+ border-bottom: 0;
541
406
  }
542
- }
543
- }
544
- }
545
-
546
-
547
- // Responsive
548
- .table-responsive {
549
- @include media-breakpoint-down(sm) {
550
- overflow: hidden;
551
- table-layout: auto;
552
407
 
553
- .col-icon,
554
- .col-small,
555
- .col-small-medium,
556
- .col-medium,
557
- .col-medium-large,
558
- .col-large,
559
- .col-verylarge,
560
- .col-img-sm,
561
- .col-img-md,
562
- .col-img-lg,
563
- .col-select {
564
- width: auto;
565
- }
566
-
567
- &.table-bordered {
568
- border: none;
569
- }
408
+ > .thead > .tr > .th:not(.bulk-actions-select),
409
+ > thead > tr > th:not(.bulk-actions-select) {
410
+ display: none;
411
+ }
570
412
 
571
- &.table-bulk-actions {
572
- .bulk-actions-header {
413
+ > .thead > .tr > .th.bulk-actions-select,
414
+ > thead > tr > th.bulk-actions-select {
573
415
  border-bottom: 0;
416
+ text-align: left;
417
+ padding: var(--cool-table-responsive-td-padding);
574
418
  }
575
- }
576
419
 
577
- > .thead,
578
- > thead {
420
+ > .tbody > .tr,
421
+ > tbody > tr {
422
+ display: block;
423
+ margin-bottom: var(--cool-table-responsive-margin-bottom);
424
+ box-sizing: border-box;
425
+ margin-top: 0;
426
+ border-right: var(--cool-border-width) solid var(--cool-table-border-color);
427
+ border-bottom: var(--cool-border-width) solid var(--cool-table-border-color);
428
+ border-left: var(--cool-border-width) solid var(--cool-table-border-color);
429
+ border-radius: var(--cool-border-radius);
430
+
431
+ &:first-child > .td,
432
+ &:first-child > td {
433
+ border-top: var(--cool-border-width) solid var(--cool-table-border-color);
434
+ border-left: none;
435
+ border-right: none;
436
+ border-bottom: none;
437
+ }
438
+
439
+ &:last-child {
440
+ margin-bottom: 0;
441
+ }
442
+ }
579
443
 
580
- > .tr,
581
- > tr {
444
+ > .tbody > .tr > .td,
445
+ > tbody > tr > td {
446
+ display: flex;
447
+ text-align: left !important;
448
+ min-height: 0;
449
+ border-top: var(--cool-border-width) solid var(--cool-table-border-color);
450
+ border-left: none;
451
+ border-right: none;
452
+ border-bottom: none;
453
+ flex: 1;
454
+ flex-wrap: wrap;
455
+ width: 100%;
456
+ box-sizing: border-box;
457
+ padding: var(--cool-table-responsive-td-padding);
458
+ align-items: center;
459
+ font-size: var(--cool-table-responsive-td-font-size);
460
+ line-height: var(--cool-table-responsive-td-line-height);
461
+ border-radius: 0 0 var(--cool-border-radius) var(--cool-border-radius);
462
+
463
+ [type="checkbox"]:not(.onoffswitch-checkbox) {
464
+ margin: 0 auto 0 0;
465
+ }
582
466
 
583
- > .th,
584
- > th {
467
+ &.col-select {
468
+ flex-wrap: nowrap;
585
469
 
586
- &:not(.bulk-actions-select) {
587
- display: none;
470
+ &[data-heading]:after {
471
+ content: attr(data-heading);
472
+ display: inline-block;
473
+ width: 100%;
474
+ text-align: left;
475
+ font-weight: var(--cool-table-responsive-heading-font-weight);
476
+ margin-left: 5px;
588
477
  }
589
478
 
590
- &.bulk-actions-select {
479
+ .form-check:not(.bulk-actions-select) {
591
480
  padding-left: 0;
592
- border-bottom: 0;
481
+ margin-left: 0;
593
482
  }
594
483
  }
595
- }
596
- }
597
484
 
598
- > .tbody,
599
- > tbody {
600
- > .tr,
601
- > tr {
602
- display: block;
603
- margin-bottom: 15px;
604
- box-sizing: border-box;
605
- margin-top: 0;
606
- border-right: $border-width solid $table-border-color;
607
- border-bottom: $border-width solid $table-border-color;
608
- border-left: $border-width solid $table-border-color;
609
- border-radius: $border-radius;
610
-
611
- &:first-child {
612
- > .td,
613
- > td {
614
- border-top: $border-width solid $table-border-color;
615
- border-left: none;
616
- border-right: none;
617
- border-bottom: none;
618
- }
485
+ a:not(.btn):not(.dropdown-item) {
486
+ padding: 0;
619
487
  }
620
488
 
621
- &:last-child {
622
- margin-bottom: 0;
489
+ &:first-of-type:not(.d-none),
490
+ &:first-of-type:not(.d-sm-none),
491
+ &:first-of-type:not(.d-md-none) {
492
+ background: var(--cool-table-responsive-first-td-bg);
493
+ border-radius: var(--cool-border-radius) var(--cool-border-radius) 0 0 !important;
623
494
  }
624
495
 
625
- > .td,
626
- > td {
627
- display: flex;
628
- text-align: left !important;
629
- min-height: 0;
630
- border-top: $border-width solid $table-border-color;
631
- border-left: none;
632
- border-right: none;
633
- border-bottom: none;
634
- flex: 1;
635
- flex-wrap: wrap;
496
+ &:first-of-type.d-none + td,
497
+ &:first-of-type.d-none + .td,
498
+ &:first-of-type.d-sm-none + td,
499
+ &:first-of-type.d-sm-none + .td,
500
+ &:first-of-type.d-md-none + td,
501
+ &:first-of-type.d-md-none + .td {
502
+ background: var(--cool-table-responsive-first-td-bg);
503
+ border-radius: var(--cool-border-radius) var(--cool-border-radius) 0 0 !important;
504
+ }
505
+
506
+ .heading:not(.d-none):not(.d-sm-none):not(.d-md-none),
507
+ &[data-heading]:not(.col-select):before {
508
+ content: attr(data-heading);
509
+ display: inline-block;
636
510
  width: 100%;
637
- box-sizing: border-box;
638
- padding: 8px;
639
- align-items: center;
640
- font-size: 85%;
641
- line-height: 16px;
642
- border-radius: 0 0 $border-radius $border-radius;
643
-
644
- [type="checkbox"]:not(.onoffswitch-checkbox) {
645
- margin: 0 auto 0 0;
646
- }
511
+ text-align: left;
512
+ font-weight: var(--cool-table-responsive-heading-font-weight);
513
+ margin-bottom: var(--cool-table-responsive-heading-margin-bottom);
514
+ }
647
515
 
648
- &.col-select {
649
- flex-wrap: nowrap;
650
-
651
- &[data-heading]:after {
652
- content: attr(data-heading);
653
- display: inline-block;
654
- width: 100%;
655
- text-align: left;
656
- font-weight: 500;
657
- margin-left: 5px;
658
- }
659
-
660
- .styled-checkbox:not(.bulk-actions-select),
661
- .styled-radio:not(.bulk-actions-select) {
662
- padding-left: 0;
663
- }
664
- }
516
+ .heading:not(.d-none):not(.d-sm-none):not(.d-md-none) {
517
+ margin-bottom: 0;
665
518
 
666
- a:not(.btn) {
667
- padding: 0;
519
+ & + * {
520
+ margin-top: var(--cool-table-responsive-heading-margin-bottom);
668
521
  }
522
+ }
669
523
 
670
- &:first-of-type:not(.d-none),
671
- &:first-of-type:not(.d-sm-none),
672
- &:first-of-type:not(.d-md-none) {
673
- background: $grey-50;
674
- border-radius: $border-radius $border-radius 0 0;
675
- }
524
+ .d-block,
525
+ p {
526
+ width: 100%;
527
+ }
676
528
 
677
- &:first-of-type.d-none + td:not(.default-bg-mobile),
678
- &:first-of-type.d-none + .td:not(.default-bg-mobile),
679
- &:first-of-type.d-sm-none + td:not(.default-bg-mobile),
680
- &:first-of-type.d-sm-none + .td:not(.default-bg-mobile),
681
- &:first-of-type.d-md-none + td:not(.default-bg-mobile),
682
- &:first-of-type.d-md-none + .td:not(.default-bg-mobile) {
683
- background: $grey-50;
684
- border-radius: $border-radius $border-radius 0 0;
685
- }
529
+ &.no-wrap-mobile {
530
+ display: flex !important;
531
+ flex-wrap: nowrap;
686
532
 
687
- &.has-bg-mobile {
688
- background: darken($section-bg, 5%);
533
+ .heading:not(.d-none):not(.d-sm-none):not(.d-md-none),
534
+ &[data-heading]:not(.col-select):before {
535
+ width: 50%;
689
536
  }
537
+ }
538
+ }
539
+ }
540
+ }
690
541
 
691
- &.default-bg-mobile {
692
- background: $section-bg;
693
- }
542
+ .table-sticky-actions {
543
+ overflow-x: auto;
544
+ position: relative;
545
+ display: flex;
694
546
 
695
- &.show-on-responsive-table {
696
- display: inherit !important;
697
- }
547
+ .table {
548
+ min-width: 100%;
549
+ white-space: nowrap;
550
+ border-collapse: collapse;
698
551
 
699
- .heading:not(.d-none):not(.d-sm-none):not(.d-md-none),
700
- &[data-heading]:not(.col-select):before {
701
- content: attr(data-heading);
702
- display: inline-block;
703
- width: 100%;
704
- text-align: left;
705
- font-weight: 500;
706
- margin-bottom: 5px;
707
- }
552
+ .badge {
553
+ white-space: nowrap;
554
+ }
555
+ }
708
556
 
709
- .heading:not(.d-none):not(.d-sm-none):not(.d-md-none) {
710
- margin-bottom: 0;
557
+ .col-sticky {
558
+ position: sticky;
559
+ right: 0;
560
+ z-index: 2;
711
561
 
712
- & + * {
713
- margin-top: 5px;
714
- }
715
- }
562
+ &:has(.dropdown-menu.show) {
563
+ z-index: 1001;
564
+ }
565
+ }
716
566
 
717
- .d-block,
718
- p {
719
- width: 100%;
720
- }
567
+ .table-sticky-actions-sentinel {
568
+ margin-left: -2px;
569
+ }
721
570
 
722
- &.no-wrap-mobile {
723
- display: flex !important;
724
- flex-wrap: nowrap;
571
+ &.sticky {
572
+ .col-sticky {
573
+ box-shadow: inset 1px 0 0px var(--cool-table-sticky-actions-shadow-color);
574
+ border: transparent;
575
+ background-color: var(--cool-table-sticky-actions-col-sticky-bg);
576
+ border-radius: 0;
725
577
 
726
- .heading:not(.d-none):not(.d-sm-none):not(.d-md-none),
727
- &[data-heading]:not(.col-select):before {
728
- width: 50%;
729
- }
730
- }
578
+ & + * {
579
+ background-color: var(--cool-table-sticky-actions-col-sticky-bg);
580
+ }
581
+
582
+ &:before {
583
+ content: "";
584
+ position: absolute;
585
+ top: 0;
586
+ left: calc(-1 * var(--cool-table-sticky-actions-shadow-width));
587
+ width: var(--cool-table-sticky-actions-shadow-width);
588
+ height: 100%;
589
+ z-index: -1;
590
+ background: var(--cool-table-sticky-actions-shadow-gradient);
731
591
  }
732
592
  }
593
+
594
+ th.col-sticky {
595
+ border-bottom: 1px solid var(--cool-table-border-color);
596
+ }
597
+
598
+ tbody > tr:not(:last-of-type) > td.col-sticky {
599
+ border-bottom: 1px solid var(--cool-table-border-color);
600
+ }
733
601
  }
734
602
  }
735
- }
603
+ }
604
+
605
+ @if $cool-use-component-layer {
606
+ @layer components {
607
+ @include cool-tables;
608
+ }
609
+ } @else {
610
+ @include cool-tables;
611
+ }