@castlabs/ui 6.0.2 → 7.0.0

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 (145) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/castlabs-logo-eggshell.svg +31 -162
  3. package/dist/assets/castlabs-logo.svg +31 -162
  4. package/dist/castlabs-ui-editor.css +1 -1
  5. package/dist/castlabs-ui-editor.umd.js +30 -30
  6. package/dist/castlabs-ui.common.js +5 -5
  7. package/dist/castlabs-ui.common.js.map +1 -1
  8. package/dist/castlabs-ui.core.js +28 -35
  9. package/dist/castlabs-ui.css +7 -7
  10. package/dist/castlabs-ui.module.js +28 -35
  11. package/dist/castlabs-ui.umd.js +13 -13
  12. package/dist/castlabs-ui.umd.js.map +1 -1
  13. package/package.json +18 -18
  14. package/src/assets/castlabs-logo-eggshell.svg +31 -162
  15. package/src/assets/castlabs-logo.svg +31 -162
  16. package/src/components/ClAlert/style.scss +46 -43
  17. package/src/components/ClBadge/style.scss +13 -15
  18. package/src/components/ClBadge/style.variables.scss +39 -33
  19. package/src/components/ClButton/style.scss +47 -249
  20. package/src/components/ClCard/style.scss +20 -20
  21. package/src/components/ClCard/style.variables.scss +121 -106
  22. package/src/components/ClDropdown/style.scss +47 -150
  23. package/src/components/ClDropzone/style.scss +4 -4
  24. package/src/components/ClFooter/style.scss +6 -105
  25. package/src/components/ClIconotron/style.scss +3 -8
  26. package/src/components/ClList/style.scss +10 -13
  27. package/src/components/ClList/style.variables.scss +27 -22
  28. package/src/components/ClPagination/style.scss +48 -85
  29. package/src/components/ClProgress/style.scss +8 -23
  30. package/src/components/ClSpinner/style.scss +1 -1
  31. package/src/components/ClTabs/style.scss +9 -9
  32. package/src/components/ClToggle/style.scss +18 -59
  33. package/src/components/ClTooltip/style.scss +9 -24
  34. package/src/components/ClWizard/style.scss +14 -12
  35. package/src/components/form/ClField/style.scss +4 -4
  36. package/src/components/form/ClFieldCheck/style.scss +25 -20
  37. package/src/components/form/ClFieldFile/style.scss +11 -13
  38. package/src/components/form/ClFieldGroup/style.scss +38 -4
  39. package/src/components/form/ClFieldInput/style.scss +15 -11
  40. package/src/components/form/ClFieldSelect/style.scss +6 -5
  41. package/src/components/form/ClFieldSet/style.scss +2 -2
  42. package/src/components/form/ClForm/style.scss +6 -8
  43. package/src/components/modal/ClModal/style.scss +50 -35
  44. package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +112 -180
  45. package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +0 -23
  46. package/src/components/navigation/ClNavSide/style.scss +11 -17
  47. package/src/components/navigation/ClNavTop/style.scss +39 -35
  48. package/src/components/section/ClSectionForm/style.scss +6 -3
  49. package/src/components/section/ClSectionHeadline/style.scss +23 -25
  50. package/src/components/table/ClTable/style.variables.scss +18 -69
  51. package/src/components/table/ClTableCel/Actions/style.scss +1 -1
  52. package/src/components/table/ClTableCel/Audit/style.scss +2 -4
  53. package/src/components/table/ClTableCel/Boolean/style.scss +1 -1
  54. package/src/components/table/ClTableCel/Checkbox/style.scss +2 -2
  55. package/src/components/table/ClTableCel/Code/style.scss +1 -1
  56. package/src/components/table/ClTableCel/Currency/style.scss +1 -1
  57. package/src/components/table/ClTableCel/Date/style.scss +1 -1
  58. package/src/components/table/ClTableCel/ID/style.scss +2 -2
  59. package/src/components/table/ClTableCel/Links/style.scss +10 -11
  60. package/src/components/table/ClTableCel/style.variables.scss +3 -3
  61. package/src/components/text/ClCopy/style.scss +4 -21
  62. package/src/components/text/ClHashtag/style.scss +7 -25
  63. package/src/components/text/ClLinkExternal/style.scss +21 -19
  64. package/src/components/text/ClOrg/style.scss +1 -19
  65. package/src/components/text/ClPlan/style.scss +7 -25
  66. package/src/components/text/ClRole/style.scss +7 -25
  67. package/src/components/widget/ClCookieBanner/style.scss +5 -1
  68. package/src/fonts/DMMono/DMMono.scss +36 -0
  69. package/src/fonts/DMMono/DM_Mono_300.woff2 +0 -0
  70. package/src/fonts/DMMono/DM_Mono_300italic.woff2 +0 -0
  71. package/src/fonts/DMMono/DM_Mono_400.woff2 +0 -0
  72. package/src/fonts/DMMono/DM_Mono_400italic.woff2 +0 -0
  73. package/src/fonts/DMMono/DM_Mono_500.woff2 +0 -0
  74. package/src/fonts/DMMono/DM_Mono_500italic.woff2 +0 -0
  75. package/src/fonts/FontAwesome5/FontAwesome5.scss +2 -2
  76. package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2 +0 -0
  77. package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2 +0 -0
  78. package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2 +0 -0
  79. package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +21 -0
  80. package/src/styles/_global.scss +2 -0
  81. package/src/styles/abstracts/brand.scss +9 -0
  82. package/src/styles/abstracts/color.scss +243 -98
  83. package/src/styles/abstracts/spacing.scss +2 -2
  84. package/src/styles/abstracts/tools.scss +0 -82
  85. package/src/styles/assets/fontawesome.scss +2 -0
  86. package/src/styles/assets/fontawesome.variables.scss +88 -0
  87. package/src/styles/assets/logo.scss +30 -9
  88. package/src/styles/components/button.variables.scss +79 -6
  89. package/src/styles/components/form.variables.scss +15 -16
  90. package/src/styles/layout/app.scss +29 -0
  91. package/src/styles/layout/color.scss +115 -0
  92. package/src/styles/layout/grid.scss +2 -1
  93. package/src/styles/layout/helper.scss +14 -2
  94. package/src/styles/layout/section.scss +46 -47
  95. package/src/styles/layout/spacing.scss +4 -4
  96. package/src/styles/layout/typography.scss +91 -112
  97. package/src/styles/layout/typography.variables.scss +281 -168
  98. package/src/styles/ui.scss +4 -5
  99. package/src/styles/vendors/bootstrap.scss +1 -1
  100. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCCwR26eg.9f9ebd6f.woff2 +0 -0
  101. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCFwR26eg.d7aed4ec.woff2 +0 -0
  102. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCGwR0.860d704d.woff2 +0 -0
  103. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCIwR26eg.196096f5.woff2 +0 -0
  104. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCJwR26eg.60896ebf.woff2 +0 -0
  105. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCKwR26eg.c5d717bd.woff2 +0 -0
  106. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCLwR26eg.e6581016.woff2 +0 -0
  107. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Udc1UAw.ed9c080e.woff2 +0 -0
  108. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.65f5554a.woff2 +0 -0
  109. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.ffa02f1c.woff2 +0 -0
  110. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Zdc0.157a9634.woff2 +0 -0
  111. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0adc1UAw.ae9457b8.woff2 +0 -0
  112. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0bdc1UAw.3c6000b1.woff2 +0 -0
  113. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0ddc1UAw.1244aaff.woff2 +0 -0
  114. package/dist/fonts/mem8YaGs126MiZpBA-UFUZ0bbck.32149fc9.woff2 +0 -0
  115. package/dist/fonts/mem8YaGs126MiZpBA-UFV50bbck.16910b81.woff2 +0 -0
  116. package/dist/fonts/mem8YaGs126MiZpBA-UFVZ0b.16652597.woff2 +0 -0
  117. package/dist/fonts/mem8YaGs126MiZpBA-UFVp0bbck.e1ba37a1.woff2 +0 -0
  118. package/dist/fonts/mem8YaGs126MiZpBA-UFW50bbck.b50868a3.woff2 +0 -0
  119. package/dist/fonts/mem8YaGs126MiZpBA-UFWJ0bbck.1250c5ba.woff2 +0 -0
  120. package/dist/fonts/mem8YaGs126MiZpBA-UFWp0bbck.3ec09e79.woff2 +0 -0
  121. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCCwR26eg.woff2 +0 -0
  122. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCFwR26eg.woff2 +0 -0
  123. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCGwR0.woff2 +0 -0
  124. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCIwR26eg.woff2 +0 -0
  125. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCJwR26eg.woff2 +0 -0
  126. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCKwR26eg.woff2 +0 -0
  127. package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCLwR26eg.woff2 +0 -0
  128. package/src/fonts/NotoSansMono/NotoSansMono.scss +0 -84
  129. package/src/fonts/OpenSansVariable/OpenSansVariable.scss +0 -187
  130. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Udc1UAw.woff2 +0 -0
  131. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Vdc1UAw.woff2 +0 -0
  132. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.woff2 +0 -0
  133. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.woff2 +0 -0
  134. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Zdc0.woff2 +0 -0
  135. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0adc1UAw.woff2 +0 -0
  136. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0bdc1UAw.woff2 +0 -0
  137. package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0ddc1UAw.woff2 +0 -0
  138. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFUZ0bbck.woff2 +0 -0
  139. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFV50bbck.woff2 +0 -0
  140. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFVZ0b.woff2 +0 -0
  141. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFVp0bbck.woff2 +0 -0
  142. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFW50bbck.woff2 +0 -0
  143. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFWJ0bbck.woff2 +0 -0
  144. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFWZ0bbck.woff2 +0 -0
  145. package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFWp0bbck.woff2 +0 -0
@@ -11,12 +11,11 @@
11
11
 
12
12
  @include spacing-before(0);
13
13
 
14
- & {
15
- background-color: $color-ci-white;
16
- }
14
+ background-color: $color-ci-night;
15
+ color: $color-ci-eggshell;
17
16
 
18
17
  a:not(.btn) {
19
- @include typography-links-invisible;
18
+ @include typography-link-invisible;
20
19
  }
21
20
 
22
21
  > .container,
@@ -31,6 +30,8 @@
31
30
  flex-direction: row;
32
31
  height: $header-nav-height;
33
32
  justify-content: space-between;
33
+ padding-bottom: 0;
34
+ padding-top: 0;
34
35
  }
35
36
 
36
37
  .cl-nav-side-burger {
@@ -38,8 +39,9 @@
38
39
  }
39
40
 
40
41
  .cl-path {
41
- @extend %p-tiny;
42
+ @extend %cl-p-label;
42
43
 
44
+ color: $color-ci-eggshell;
43
45
  margin: 0;
44
46
  padding: 0 $spacing-small;
45
47
 
@@ -66,9 +68,10 @@
66
68
  display: flex;
67
69
 
68
70
  span {
69
- @extend %p-tiny;
71
+ @extend %cl-p-label;
70
72
 
71
73
  margin-right: $spacing-tiny;
74
+ text-transform: uppercase;
72
75
  }
73
76
 
74
77
  i {
@@ -82,19 +85,6 @@
82
85
  }
83
86
  }
84
87
 
85
- .cl-nav-top-large {
86
- // cl-nav-top variant that as slightly bigger
87
- > .container > .row > .col-12,
88
- > .container-fluid > .row > .col-12 {
89
- height: 4rem;
90
- }
91
-
92
- .cl-asset-logo {
93
- height: 1.5em;
94
- width: 7.5em;
95
- }
96
- }
97
-
98
88
  // -----------------------------------------------------------------------------
99
89
  // add & customize bootstrap navbar
100
90
  // -----------------------------------------------------------------------------
@@ -114,10 +104,6 @@
114
104
  margin-right: $spacing-medium;
115
105
  }
116
106
 
117
- .dropdown-menu {
118
- box-shadow: $color-shadow-3d;
119
- }
120
-
121
107
  .cl-nav-side-burger {
122
108
  display: none;
123
109
  }
@@ -130,7 +116,7 @@
130
116
  @mixin navbar-responsive {
131
117
  .cl-nav-drawer {
132
118
  // open drawer if checked
133
- background-color: $color-ci-haze;
119
+ background-color: $color-ci-eggshell;
134
120
  height: 100vh;
135
121
  left: 0;
136
122
  overflow: hidden auto;
@@ -142,7 +128,7 @@
142
128
 
143
129
  .cl-nav-checkbox:checked ~ & {
144
130
  .cl-nav-backdrop {
145
- background-color: $sidenav-backdrop;
131
+ background-color: $color-ci-backdrop;
146
132
  inset: 0;
147
133
  position: fixed;
148
134
  z-index: $sidenav-z-index - 1;
@@ -185,7 +171,7 @@
185
171
  $navbar-item-spacing: $spacing-medium;
186
172
 
187
173
  .cl-navbar {
188
- @extend %p-nav;
174
+ @extend %cl-p-nav;
189
175
 
190
176
  min-height: $header-nav-height;
191
177
  padding-bottom: 0;
@@ -212,14 +198,23 @@ $navbar-item-spacing: $spacing-medium;
212
198
  line-height: 1;
213
199
  margin: 0;
214
200
  padding: 0.5em 0;
201
+
202
+ .cl-asset-logo,
203
+ .cl-asset-logo-eggshell {
204
+ height: 2.5 * 1em;
205
+ width: 2.5 * 2.95em;
206
+ }
215
207
  }
216
208
 
217
209
  .nav-link {
218
- @include typography-links($color-text, $color-ci-night, 0);
210
+ @include typography-link($color-text, $color-ci-night, 0);
219
211
 
220
- & {
221
- display: block;
222
- padding: math.div($navbar-item-spacing, 2) 0;
212
+ display: block;
213
+ font-weight: 500;
214
+ padding: math.div($navbar-item-spacing, 2) 0;
215
+
216
+ &.show {
217
+ color: $color-ci-eggshell;
223
218
  }
224
219
  }
225
220
 
@@ -233,16 +228,25 @@ $navbar-item-spacing: $spacing-medium;
233
228
  }
234
229
 
235
230
  .dropdown-menu {
236
- background-color: $color-ci-haze;
231
+ background-color: $color-ci-night;
237
232
  border: 0;
238
- border-radius: 0;
233
+ border-radius: $brand-border-radius;
234
+ color: $color-ci-eggshell;
235
+ left: -1em;
236
+ top: 2.125em;
239
237
  }
240
238
 
241
239
  .dropdown-item {
242
- @extend %p-nav;
240
+ @extend %cl-p-nav;
243
241
 
242
+ font-weight: 500;
244
243
  padding: math.div($navbar-item-spacing, 2) $spacing-small;
245
244
 
245
+ &:hover {
246
+ background-color: transparent;
247
+ color: $color-ci-red !important;
248
+ }
249
+
246
250
  &.active {
247
251
  background-color: transparent;
248
252
  color: $color-ci-red;
@@ -250,9 +254,9 @@ $navbar-item-spacing: $spacing-medium;
250
254
  }
251
255
 
252
256
  .dropdown-divider {
253
- background-color: $color-ci-smoke;
257
+ background-color: $color-ci-clay;
254
258
  border: 0;
255
- height: px(2);
259
+ height: px(1);
256
260
  opacity: 1;
257
261
  }
258
262
 
@@ -1,7 +1,10 @@
1
1
  .cl-section-form {
2
- padding-top: 0;
2
+ border-bottom: $brand-line-width solid $color-ci-clay;
3
+ border-top: $brand-line-width solid $color-ci-clay;
4
+ padding-top: $spacing-tiny;
3
5
 
4
- @include media-breakpoint-up(sm) {
5
- padding-top: $spacing-small;
6
+ &,
7
+ + .cl-section {
8
+ margin-top: 0 !important; // do not merge form-sections with other sections
6
9
  }
7
10
  }
@@ -1,24 +1,22 @@
1
1
  .cl-section-dark .cl-headline-help-icon,
2
2
  .cl-section-primary .cl-headline-help-icon,
3
3
  .cl-section-secondary .cl-headline-help-icon {
4
- @include typography-links(rgba($color-ci-white, 0.5), $color-ci-white, 0);
5
-
6
- & {
7
- font-size: 0.5em;
8
- line-height: 1;
9
- margin-left: 0.25em;
10
- position: relative;
11
- top: -0.75em;
12
- }
4
+ @include typography-link(rgba($color-ci-white, 0.5), $color-ci-white, 0);
5
+
6
+ font-size: 0.5em;
7
+ line-height: 1;
8
+ margin-left: 0.25em;
9
+ position: relative;
10
+ top: -0.75em;
13
11
  }
14
12
 
15
13
  .cl-section-headline {
16
- $height: 80;
14
+ // $height: 80;
17
15
 
18
16
  display: flex;
19
- min-height: px($height);
20
- padding-bottom: 0;
21
- padding-top: 0;
17
+ // min-height: px($height);
18
+ padding-bottom: $spacing-medium;
19
+ padding-top: $spacing-medium;
22
20
 
23
21
  .row > [class^='col-'] {
24
22
  margin-bottom: 0;
@@ -27,25 +25,25 @@
27
25
  padding-top: $spacing-tiny;
28
26
  }
29
27
 
30
- .container,
31
- .container-fluid,
32
- .row {
33
- min-height: px($height);
34
- }
28
+ // .container,
29
+ // .container-fluid,
30
+ // .row {
31
+ // min-height: px($height);
32
+ // }
35
33
 
36
34
  .row {
37
35
  align-content: center;
38
36
  }
39
37
 
40
38
  @include media-breakpoint-down(sm) {
41
- $height: 54;
39
+ // $height: 54;
42
40
 
43
- min-height: px($height);
41
+ // min-height: px($height);
44
42
 
45
- .container,
46
- .container-fluid,
47
- .row {
48
- min-height: px($height);
49
- }
43
+ // .container,
44
+ // .container-fluid,
45
+ // .row {
46
+ // min-height: px($height);
47
+ // }
50
48
  }
51
49
  }
@@ -12,16 +12,17 @@ $table-lineheight: 1.2em;
12
12
 
13
13
  %cl-table-data {
14
14
  border: 0;
15
- border-collapse: separate;
16
15
  border-spacing: 0;
17
16
  position: relative;
18
17
  width: 100%;
19
18
 
20
19
  th {
21
- @extend %p-tiny;
20
+ @extend %cl-p-tag;
22
21
 
22
+ font-size: px(14);
23
23
  padding-bottom: 0.6rem;
24
24
  padding-top: 0.6rem;
25
+ text-transform: uppercase;
25
26
 
26
27
  i {
27
28
  width: inherit; // usually sort-icons
@@ -42,50 +43,27 @@ $table-lineheight: 1.2em;
42
43
  }
43
44
  }
44
45
 
45
- tbody {
46
+ tbody,
47
+ tfoot {
46
48
  line-height: $table-lineheight;
47
49
 
48
50
  tr {
49
- &:nth-child(odd) {
50
- background-color: $color-ci-haze;
51
-
52
- td {
53
- &:first-of-type {
54
- border-bottom-left-radius: $border-ui-radius;
55
- border-top-left-radius: $border-ui-radius;
56
- }
57
-
58
- &:last-of-type {
59
- border-bottom-right-radius: $border-ui-radius;
60
- border-top-right-radius: $border-ui-radius;
61
- }
62
- }
63
- }
51
+ border-top: $brand-line-width solid var(--cl-color-line);
64
52
 
65
53
  &.cl-faded {
66
54
  opacity: 1; // undo generic fade to not fade bg
67
55
 
68
56
  td:not(.cl-td-audit, .cl-td-links) {
69
- border-color: $color-ci-silver; // compensate for fade
57
+ border-color: $color-disabled; // compensate for fade
70
58
  opacity: 0.5;
71
59
  }
72
60
  }
61
+ }
62
+ }
73
63
 
74
- &:hover {
75
- color: $color-ci-night;
76
-
77
- td {
78
- border-color: $color-ci-smoke;
79
- }
80
-
81
- .btn {
82
- opacity: 1;
83
- }
84
-
85
- .cl-a-btn {
86
- color: $color-ci-night;
87
- }
88
- }
64
+ tbody tr {
65
+ &:last-child {
66
+ border-bottom: $brand-line-width solid var(--cl-color-line);
89
67
  }
90
68
  }
91
69
 
@@ -100,35 +78,6 @@ $table-lineheight: 1.2em;
100
78
  }
101
79
  }
102
80
 
103
- // --- links in tables -------------------------------------------------------
104
-
105
- th a {
106
- // links in headline are usually sort-links
107
- @include typography-links(inherit, inherit, 0); // not visible
108
- }
109
-
110
- td a:not(.btn, .badge, .cl-a-btn, .cl-a-none) {
111
- @extend %cl-a-default;
112
- }
113
-
114
- // --- badges/bubbles in tables ----------------------------------------------
115
-
116
- [class^='cl-badge'],
117
- [class*=' cl-badge'],
118
- [class^='cl-hashtag'],
119
- [class*=' cl-hashtag'],
120
- [class^='cl-plan'],
121
- [class*=' cl-plan'],
122
- [class^='cl-role'],
123
- [class*=' cl-role'] {
124
- max-height: 1.375em; // ~17px
125
- min-height: 0;
126
- padding-bottom: 2px;
127
- padding-top: 3px;
128
- position: relative;
129
- top: -1px;
130
- }
131
-
132
81
  // --- responsive phone tables -----------------------------------------------
133
82
 
134
83
  @include media-breakpoint-down($table-responsive) {
@@ -162,19 +111,19 @@ $table-lineheight: 1.2em;
162
111
  .cl-table-wrap-col-#{$col} {
163
112
  // deprecated
164
113
  td:nth-child(#{$col}) {
165
- word-wrap: anywhere;
114
+ overflow-wrap: anywhere;
166
115
  }
167
116
  }
168
117
 
169
118
  .cl-table-col-#{$col}-wrap {
170
119
  td:nth-child(#{$col}) {
171
- word-wrap: anywhere;
120
+ overflow-wrap: anywhere;
172
121
  }
173
122
  }
174
123
 
175
124
  .cl-table-col-#{$col}-nowrap {
176
125
  td:nth-child(#{$col}) {
177
- word-wrap: nowrap;
126
+ overflow-wrap: nowrap;
178
127
  }
179
128
  }
180
129
 
@@ -190,16 +139,16 @@ $table-lineheight: 1.2em;
190
139
  tbody {
191
140
  tr {
192
141
  &:nth-child(odd) td {
193
- background-color: $color-ci-white;
142
+ background-color: $color-ci-eggshell;
194
143
  }
195
144
  }
196
145
  }
197
146
 
198
147
  tr:nth-child(odd) .cl-td-links {
199
- background-color: $color-ci-white;
148
+ background-color: $color-ci-eggshell;
200
149
  }
201
150
 
202
151
  tr:nth-child(even) .cl-td-links {
203
- background-color: $color-ci-haze;
152
+ background-color: var(--cl-color-highlight);
204
153
  }
205
154
  }
@@ -1,6 +1,6 @@
1
1
  .cl-table-data {
2
2
  .cl-td-actions {
3
- word-wrap: unset;
3
+ overflow-wrap: unset;
4
4
 
5
5
  @include media-breakpoint-down($table-responsive) {
6
6
  table:not(.cl-table-nonresponsive) & {
@@ -1,8 +1,6 @@
1
1
  .cl-table-data {
2
2
  .cl-th-audit {
3
- @extend %p-tiny;
4
-
5
- font-weight: 700;
3
+ @extend %cl-p-label;
6
4
 
7
5
  @include media-breakpoint-down($table-responsive) {
8
6
  table:not(.cl-table-nonresponsive) & {
@@ -13,9 +11,9 @@
13
11
 
14
12
  .cl-td-audit {
15
13
  color: $color-ci-silver;
14
+ overflow-wrap: unset;
16
15
  text-align: center;
17
16
  width: 0.9em;
18
- word-wrap: unset;
19
17
 
20
18
  @include media-breakpoint-down($table-responsive) {
21
19
  table:not(.cl-table-nonresponsive) & {
@@ -1,7 +1,7 @@
1
1
  .cl-table-data {
2
2
  .cl-td-boolean {
3
+ overflow-wrap: unset;
3
4
  text-align: center;
4
- word-wrap: unset;
5
5
 
6
6
  @include media-breakpoint-down($table-responsive) {
7
7
  table:not(.cl-table-nonresponsive) & {
@@ -1,8 +1,8 @@
1
1
  .cl-table-data {
2
2
  .cl-th-checkbox {
3
- @extend %p-tiny;
3
+ @extend %cl-p-label;
4
4
 
5
- font-weight: 700;
5
+ text-transform: uppercase;
6
6
  }
7
7
 
8
8
  .cl-td-checkbox {
@@ -1,7 +1,7 @@
1
1
  .cl-table-data {
2
2
  .cl-td-code {
3
3
  @include typography-font(
4
- $typography-font-list-monospace,
4
+ $typography-monospace-font-list,
5
5
  400,
6
6
  px(15),
7
7
  $table-lineheight * 1.066666667,
@@ -2,8 +2,8 @@
2
2
  @include media-breakpoint-up($table-responsive) {
3
3
  .cl-th-currency,
4
4
  .cl-td-currency {
5
+ overflow-wrap: unset;
5
6
  text-align: end;
6
- word-wrap: unset;
7
7
  }
8
8
  }
9
9
  }
@@ -1,7 +1,7 @@
1
1
  .cl-table-data {
2
2
  .cl-td-date {
3
+ overflow-wrap: break-word;
3
4
  width: 9.5em;
4
- word-wrap: break-word;
5
5
 
6
6
  @include media-breakpoint-down($table-responsive) {
7
7
  table:not(.cl-table-nonresponsive) & {
@@ -2,7 +2,7 @@
2
2
  .cl-td-id,
3
3
  .cl-td-uuid {
4
4
  @include typography-font(
5
- $typography-font-list-monospace,
5
+ $typography-monospace-font-list,
6
6
  400,
7
7
  px(15),
8
8
  $table-lineheight * 1.066666667,
@@ -10,8 +10,8 @@
10
10
  80%
11
11
  );
12
12
 
13
+ overflow-wrap: unset;
13
14
  width: 2.5em;
14
- word-wrap: unset;
15
15
 
16
16
  @include media-breakpoint-down($table-responsive) {
17
17
  table:not(.cl-table-nonresponsive) & {
@@ -1,9 +1,8 @@
1
1
  .cl-table-data {
2
2
  .cl-th-links {
3
- @extend %p-tiny;
3
+ @extend %cl-p-label;
4
4
 
5
- background-color: $color-ci-white;
6
- font-weight: 700;
5
+ background-color: transparent;
7
6
  position: sticky;
8
7
  right: 0;
9
8
  text-align: end;
@@ -18,10 +17,10 @@
18
17
  .cl-td-links {
19
18
  @extend %cl-font-condensed;
20
19
 
20
+ overflow-wrap: unset;
21
21
  position: sticky;
22
22
  right: 0;
23
23
  white-space: nowrap;
24
- word-wrap: unset;
25
24
 
26
25
  a:not(.cl-a-primary) {
27
26
  @extend %cl-a-text;
@@ -48,11 +47,11 @@
48
47
  }
49
48
  }
50
49
 
51
- tr:nth-child(even) .cl-td-links {
52
- background-color: $color-ci-white;
53
- }
54
-
55
- tr:nth-child(odd) .cl-td-links {
56
- background-color: $color-ci-haze;
57
- }
50
+ // tr:nth-child(even) .cl-td-links {
51
+ // background-color: transparent;
52
+ // }
53
+ //
54
+ // tr:nth-child(odd) .cl-td-links {
55
+ // background-color: var(--cl-color-highlight);
56
+ // }
58
57
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  %cl-table-data-cel {
4
4
  td {
5
- @include typography-font($typography-font-list-sans, 400, px(16), $table-lineheight);
5
+ @include typography-font($typography-sans-font-list, 400, px(16), $table-lineheight);
6
6
 
7
+ overflow-wrap: anywhere;
7
8
  padding-bottom: $table-padding-vertical;
8
9
  padding-top: $table-padding-vertical;
9
- word-wrap: anywhere;
10
10
 
11
11
  .badge {
12
12
  font-size: px(14);
@@ -20,6 +20,6 @@
20
20
  }
21
21
 
22
22
  td:not(:last-child) {
23
- border-right: 2px dotted $color-ci-smoke;
23
+ border-right: $brand-line-width dotted var(--cl-color-line);
24
24
  }
25
25
  }
@@ -3,30 +3,11 @@
3
3
  /// @access public
4
4
  ////
5
5
 
6
- @mixin cl-fontawesome-postfix($codepoint) {
7
- margin-right: 1em;
8
-
9
- &::after {
10
- @include cl-fontawesome($codepoint);
11
-
12
- & {
13
- font-weight: 400;
14
- left: 0.2em;
15
- opacity: 0.5;
16
- position: relative;
17
- top: 0;
18
- width: 0;
19
- }
20
- }
21
- }
22
-
23
6
  .cl-copy {
24
7
  @include cl-fontawesome-postfix('\f0c5');
25
8
 
26
- & {
27
- cursor: pointer;
28
- top: 0.125em;
29
- }
9
+ cursor: pointer;
10
+ top: 0.125em;
30
11
 
31
12
  &::after {
32
13
  font-size: 0.75em;
@@ -35,6 +16,8 @@
35
16
 
36
17
  .cl-copy-text {
37
18
  @extend %cl-a-text;
19
+
20
+ text-decoration: underline;
38
21
  }
39
22
 
40
23
  .cl-copy-transparent {
@@ -5,32 +5,14 @@
5
5
 
6
6
  // This file defines custom hashtag styles.
7
7
 
8
- [class^='cl-hashtag'],
9
- [class*=' cl-hashtag'] {
10
- &:not(.cl-hashtag-derived) {
11
- @extend %cl-badge;
8
+ .cl-hashtag {
9
+ @extend %cl-badge;
10
+ @include cl-badge-small;
12
11
 
13
- &::before {
14
- @include cl-fontawesome('\f292');
12
+ &::before {
13
+ @include cl-fontawesome('\f292');
15
14
 
16
- margin-right: 0.2em;
17
- top: 0.015em;
18
- }
19
- }
20
- }
21
-
22
- a[class^='cl-hashtag'],
23
- a[class*=' cl-hashtag'] {
24
- @include typography-links($badge-color-fg, rgba($badge-color-fg, $color-hover-opacity), 0);
25
-
26
- display: inline-block !important;
27
- }
28
-
29
- .cl-hashtag-derived {
30
- @extend %cl-badge-derived;
31
-
32
- + [class^='cl-hashtag'],
33
- + [class*=' cl-hashtag'] {
34
- margin-left: -1.66em;
15
+ margin-right: 0.2em;
16
+ top: 0.015em;
35
17
  }
36
18
  }