@castlabs/ui 4.18.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 (140) hide show
  1. package/README.md +94 -0
  2. package/dist/assets/castlabs-logo.svg +2 -0
  3. package/dist/assets/cookie.svg +1 -0
  4. package/dist/castlabs-ui-editor.common.js +23189 -0
  5. package/dist/castlabs-ui-editor.common.js.map +1 -0
  6. package/dist/castlabs-ui-editor.css +1 -0
  7. package/dist/castlabs-ui-editor.umd.js +23208 -0
  8. package/dist/castlabs-ui-editor.umd.js.map +1 -0
  9. package/dist/castlabs-ui-editor.umd.min.js +10 -0
  10. package/dist/castlabs-ui-editor.umd.min.js.map +1 -0
  11. package/dist/castlabs-ui.common.js +6828 -0
  12. package/dist/castlabs-ui.common.js.map +1 -0
  13. package/dist/castlabs-ui.core.js +1031 -0
  14. package/dist/castlabs-ui.css +12 -0
  15. package/dist/castlabs-ui.module.d.ts +83 -0
  16. package/dist/castlabs-ui.module.js +1031 -0
  17. package/dist/castlabs-ui.umd.js +6847 -0
  18. package/dist/castlabs-ui.umd.js.map +1 -0
  19. package/dist/castlabs-ui.umd.min.js +8 -0
  20. package/dist/castlabs-ui.umd.min.js.map +1 -0
  21. package/dist/demo.html +1 -0
  22. package/dist/favicon/192.png +0 -0
  23. package/dist/favicon/512.png +0 -0
  24. package/dist/favicon/apple-touch-icon.png +0 -0
  25. package/dist/favicon/favicon-unread.svg +75 -0
  26. package/dist/favicon/favicon.ico +0 -0
  27. package/dist/favicon/favicon.svg +43 -0
  28. package/dist/favicon/manifest.webmanifest +6 -0
  29. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCCwR26eg.f31394d2.woff2 +0 -0
  30. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCFwR26eg.00073a59.woff2 +0 -0
  31. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCGwR0.faa92a75.woff2 +0 -0
  32. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCIwR26eg.f8e38fba.woff2 +0 -0
  33. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCJwR26eg.f1d5cd16.woff2 +0 -0
  34. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCKwR26eg.ebbe259f.woff2 +0 -0
  35. package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCLwR26eg.e3d460d0.woff2 +0 -0
  36. package/dist/fonts/fa-brands-400.18993be8.woff2 +0 -0
  37. package/dist/fonts/fa-regular-400.e45bb696.woff2 +0 -0
  38. package/dist/fonts/fa-solid-900.16e3d2f0.woff2 +0 -0
  39. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Udc1UAw.6de93dc1.woff2 +0 -0
  40. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.55c9461f.woff2 +0 -0
  41. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.111f8c99.woff2 +0 -0
  42. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Zdc0.92257a03.woff2 +0 -0
  43. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0adc1UAw.1844ded3.woff2 +0 -0
  44. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0bdc1UAw.719267ea.woff2 +0 -0
  45. package/dist/fonts/mem6YaGs126MiZpBA-UFUK0ddc1UAw.037dea2d.woff2 +0 -0
  46. package/dist/fonts/mem8YaGs126MiZpBA-UFUZ0bbck.6869bd80.woff2 +0 -0
  47. package/dist/fonts/mem8YaGs126MiZpBA-UFV50bbck.05a41692.woff2 +0 -0
  48. package/dist/fonts/mem8YaGs126MiZpBA-UFVZ0b.38ffdf27.woff2 +0 -0
  49. package/dist/fonts/mem8YaGs126MiZpBA-UFVp0bbck.f12c0c2c.woff2 +0 -0
  50. package/dist/fonts/mem8YaGs126MiZpBA-UFW50bbck.03f14837.woff2 +0 -0
  51. package/dist/fonts/mem8YaGs126MiZpBA-UFWJ0bbck.abcca84a.woff2 +0 -0
  52. package/dist/fonts/mem8YaGs126MiZpBA-UFWp0bbck.4d1e267c.woff2 +0 -0
  53. package/package.json +71 -0
  54. package/plugins/uid/index.js +16 -0
  55. package/plugins/uid/index.ts +16 -0
  56. package/src/assets/castlabs-logo.svg +2 -0
  57. package/src/assets/cookie.svg +1 -0
  58. package/src/components/ClAlert/style.scss +117 -0
  59. package/src/components/ClBadge/style.scss +122 -0
  60. package/src/components/ClButton/style.scss +338 -0
  61. package/src/components/ClCard/style.scss +61 -0
  62. package/src/components/ClCard/style.variables.scss +179 -0
  63. package/src/components/ClDropdown/style.scss +272 -0
  64. package/src/components/ClDropzone/style.scss +21 -0
  65. package/src/components/ClFooter/style.scss +119 -0
  66. package/src/components/ClIcon/style.scss +58 -0
  67. package/src/components/ClIconotron/style.scss +86 -0
  68. package/src/components/ClList/style.scss +93 -0
  69. package/src/components/ClList/style.variables.scss +133 -0
  70. package/src/components/ClListGroup/style.scss +9 -0
  71. package/src/components/ClPagination/style.scss +123 -0
  72. package/src/components/ClProgress/style.scss +49 -0
  73. package/src/components/ClScrollbar/style.scss +14 -0
  74. package/src/components/ClSpinner/style.scss +26 -0
  75. package/src/components/ClTabs/style.scss +90 -0
  76. package/src/components/ClToggle/style.scss +97 -0
  77. package/src/components/ClTooltip/style.scss +46 -0
  78. package/src/components/ClWizard/style.scss +173 -0
  79. package/src/components/form/ClField/style.scss +45 -0
  80. package/src/components/form/ClFieldCheck/style.scss +99 -0
  81. package/src/components/form/ClFieldFile/style.scss +71 -0
  82. package/src/components/form/ClFieldGroup/style.scss +73 -0
  83. package/src/components/form/ClFieldInput/style.scss +118 -0
  84. package/src/components/form/ClFieldSelect/style.scss +39 -0
  85. package/src/components/form/ClFieldSet/style.scss +16 -0
  86. package/src/components/form/ClForm/style.scss +87 -0
  87. package/src/components/modal/ClModal/style.scss +138 -0
  88. package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +444 -0
  89. package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +51 -0
  90. package/src/components/navigation/ClNavSide/style.scss +81 -0
  91. package/src/components/navigation/ClNavTop/style.scss +305 -0
  92. package/src/components/section/ClSectionHeadline/style.scss +49 -0
  93. package/src/components/section/ClSectionMainSide/style.scss +60 -0
  94. package/src/components/table/ClTable/style.scss +23 -0
  95. package/src/components/table/ClTable/style.variables.scss +155 -0
  96. package/src/components/table/ClTableCel/Actions/style.scss +11 -0
  97. package/src/components/table/ClTableCel/Audit/style.scss +26 -0
  98. package/src/components/table/ClTableCel/Boolean/style.scss +12 -0
  99. package/src/components/table/ClTableCel/Checkbox/style.scss +18 -0
  100. package/src/components/table/ClTableCel/Code/style.scss +13 -0
  101. package/src/components/table/ClTableCel/Currency/style.scss +9 -0
  102. package/src/components/table/ClTableCel/Date/style.scss +12 -0
  103. package/src/components/table/ClTableCel/ID/style.scss +16 -0
  104. package/src/components/table/ClTableCel/Links/style.scss +44 -0
  105. package/src/components/table/ClTableCel/style.scss +7 -0
  106. package/src/components/table/ClTableCel/style.variables.scss +25 -0
  107. package/src/components/table/ClTableFootChecked/style.scss +2 -0
  108. package/src/components/table/ClTableHead/style.scss +36 -0
  109. package/src/components/text/ClCopy/style.scss +42 -0
  110. package/src/components/text/ClHashtag/style.scss +31 -0
  111. package/src/components/text/ClLinkExternal/style.scss +147 -0
  112. package/src/components/text/ClOrg/style.scss +40 -0
  113. package/src/components/text/ClPlan/style.scss +35 -0
  114. package/src/components/text/ClRole/style.scss +39 -0
  115. package/src/components/widget/ClBackCancelOk/style.scss +3 -0
  116. package/src/components/widget/ClCookieBanner/style.scss +40 -0
  117. package/src/components/widget/ClPage/style.scss +11 -0
  118. package/src/fonts/FontAwesome5/FontAwesome5.scss +6121 -0
  119. package/src/fonts/NotoSansMono/NotoSansMono.scss +82 -0
  120. package/src/fonts/OpenSansVariable/OpenSansVariable.scss +183 -0
  121. package/src/styles/_global.scss +70 -0
  122. package/src/styles/abstracts/color.scss +127 -0
  123. package/src/styles/abstracts/layer.scss +10 -0
  124. package/src/styles/abstracts/spacing.scss +35 -0
  125. package/src/styles/abstracts/tools.scss +117 -0
  126. package/src/styles/assets/logo.scss +22 -0
  127. package/src/styles/components/button.variables.scss +18 -0
  128. package/src/styles/components/form.variables.scss +51 -0
  129. package/src/styles/layout/animation.scss +39 -0
  130. package/src/styles/layout/grid.scss +144 -0
  131. package/src/styles/layout/grid.variables.scss +50 -0
  132. package/src/styles/layout/section.scss +90 -0
  133. package/src/styles/layout/spacing.scss +295 -0
  134. package/src/styles/layout/typography.scss +321 -0
  135. package/src/styles/layout/typography.variables.scss +363 -0
  136. package/src/styles/ui.scss +98 -0
  137. package/src/styles/vendors/bootstrap.scss +28 -0
  138. package/src/styles/vendors/castlabs.scss +17 -0
  139. package/types/castlabs-ui.module.d.ts +83 -0
  140. package/types/index.d.ts +140 -0
@@ -0,0 +1,18 @@
1
+ .cl-table-data {
2
+ .cl-th-checkbox {
3
+ @extend %p-tiny;
4
+
5
+ font-weight: 700;
6
+ }
7
+
8
+ .cl-td-checkbox {
9
+ .form-check {
10
+ margin: 0;
11
+ padding: 0;
12
+ }
13
+
14
+ input {
15
+ margin: 0.25em 0;
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,13 @@
1
+ .cl-table-data {
2
+ .cl-td-code {
3
+ @include typography-font($typography-font-list-monospace, 400, px(15), 1.25, 0.025em, 80%);
4
+
5
+ padding-top: 0.6rem;
6
+
7
+ @include media-breakpoint-down($table-responsive) {
8
+ table:not(.cl-table-nonresponsive) & {
9
+ width: 100%;
10
+ }
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,9 @@
1
+ .cl-table-data {
2
+ @include media-breakpoint-up($table-responsive) {
3
+ .cl-th-currency,
4
+ .cl-td-currency {
5
+ text-align: end;
6
+ word-wrap: unset;
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,12 @@
1
+ .cl-table-data {
2
+ .cl-td-date {
3
+ width: 9.5em;
4
+ word-wrap: break-word;
5
+
6
+ @include media-breakpoint-down($table-responsive) {
7
+ table:not(.cl-table-nonresponsive) & {
8
+ width: 100%;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,16 @@
1
+ .cl-table-data {
2
+ .cl-td-id,
3
+ .cl-td-uuid {
4
+ @include typography-font($typography-font-list-monospace, 400, px(15), 1, 0.025em, 80%);
5
+
6
+ padding-top: 0.6rem;
7
+ width: 2.5em;
8
+ word-wrap: unset;
9
+
10
+ @include media-breakpoint-down($table-responsive) {
11
+ table:not(.cl-table-nonresponsive) & {
12
+ width: 100%;
13
+ }
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,44 @@
1
+ .cl-table-data {
2
+ .cl-th-links {
3
+ @extend %p-tiny;
4
+
5
+ font-weight: 700;
6
+
7
+ @include media-breakpoint-down($table-responsive) {
8
+ table:not(.cl-table-nonresponsive) & {
9
+ display: none;
10
+ }
11
+ }
12
+ }
13
+
14
+ .cl-td-links {
15
+ @extend %cl-font-condensed;
16
+
17
+ white-space: nowrap;
18
+ word-wrap: unset;
19
+
20
+ a:not(.cl-a-primary) {
21
+ @extend %cl-a-text;
22
+ }
23
+
24
+ :not(:first-child) {
25
+ margin-left: $spacing-tiny;
26
+
27
+ &.cl-a-pdf,
28
+ &.cl-a-image,
29
+ &.cl-a-video,
30
+ &.cl-a-file,
31
+ &.cl-a-zip,
32
+ &.cl-a-spinner,
33
+ &.cl-a-lock {
34
+ margin-left: $spacing-small + $spacing-micro;
35
+ }
36
+ }
37
+
38
+ @include media-breakpoint-down($table-responsive) {
39
+ table:not(.cl-table-nonresponsive) & {
40
+ text-align: end;
41
+ }
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,7 @@
1
+ // styles that apply to all types of table cels
2
+
3
+ @import 'style.variables';
4
+
5
+ .cl-table-data {
6
+ @extend %cl-table-data-cel;
7
+ }
@@ -0,0 +1,25 @@
1
+ // styles that apply to all types of table cels
2
+
3
+ %cl-table-data-cel {
4
+ td {
5
+ @include typography-font($typography-font-list-sans, 400, px(16), 1.2em);
6
+
7
+ padding-bottom: $table-padding-vertical;
8
+ padding-top: $table-padding-vertical;
9
+ word-wrap: anywhere;
10
+
11
+ .badge {
12
+ font-size: px(14);
13
+ }
14
+ }
15
+
16
+ td,
17
+ th {
18
+ padding-left: $table-padding-horizontal;
19
+ padding-right: $table-padding-horizontal;
20
+ }
21
+
22
+ td:not(:last-child) {
23
+ border-right: 2px dotted $color-ci-smoke;
24
+ }
25
+ }
@@ -0,0 +1,2 @@
1
+ .cl-table-foot-checked {
2
+ }
@@ -0,0 +1,36 @@
1
+ .cl-table-head {
2
+ white-space: nowrap;
3
+
4
+ &.cl-table-head-sort {
5
+ .fa-fw {
6
+ // sort indicator
7
+ margin-left: $spacing-micro;
8
+ }
9
+
10
+ .fa-sort {
11
+ // hide not-sorted indicator
12
+ opacity: 0;
13
+ }
14
+ }
15
+
16
+ &.cl-table-head-checkbox {
17
+ font-size: 1rem;
18
+
19
+ .form-check {
20
+ margin-top: 0;
21
+ min-height: 1em;
22
+ position: relative;
23
+ top: -0.1em;
24
+ }
25
+ }
26
+ }
27
+
28
+ .cl-table-data {
29
+ th {
30
+ @include media-breakpoint-down($table-responsive) {
31
+ table:not(.cl-table-nonresponsive) & {
32
+ width: 100%;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,42 @@
1
+ ////
2
+ /// @group components
3
+ /// @access public
4
+ ////
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
+ .cl-copy {
24
+ @include cl-fontawesome-postfix('\f0c5');
25
+
26
+ & {
27
+ cursor: pointer;
28
+ top: 0.125em;
29
+ }
30
+
31
+ &::after {
32
+ font-size: 0.75em;
33
+ }
34
+ }
35
+
36
+ .cl-copy-text {
37
+ @extend %cl-a-text;
38
+ }
39
+
40
+ .cl-copy-transparent {
41
+ @extend %cl-a-transparent;
42
+ }
@@ -0,0 +1,31 @@
1
+ ////
2
+ /// @group components
3
+ /// @access public
4
+ ////
5
+
6
+ // This file defines custom hashtag styles.
7
+
8
+ .cl-hashtag {
9
+ @include cl-badge();
10
+
11
+ & {
12
+ color: $badge-color-fg;
13
+ }
14
+
15
+ &::before {
16
+ @include cl-fontawesome('\f292');
17
+
18
+ & {
19
+ margin-right: $spacing-micro;
20
+ position: static;
21
+ }
22
+ }
23
+
24
+ &.cl-hashtag-secondary {
25
+ background-color: $color-secondary;
26
+ }
27
+
28
+ .cl-p-large & {
29
+ font-weight: 500;
30
+ }
31
+ }
@@ -0,0 +1,147 @@
1
+ ////
2
+ /// @group components
3
+ /// @access public
4
+ ////
5
+
6
+ // This file defines variants for hyperlinks.
7
+
8
+ .cl-a,
9
+ .cl-p a,
10
+ main a {
11
+ // default for body
12
+ @extend %cl-a-default;
13
+ }
14
+
15
+ .cl-a-primary a:not(.btn),
16
+ .cl-a-secondary a.cl-a-primary:not(.btn),
17
+ .cl-a-text a.cl-a-primary:not(.btn),
18
+ .cl-a-transparent a.cl-a-primary:not(.btn),
19
+ a.cl-a-primary:not(.btn) {
20
+ @extend %cl-a-primary;
21
+ }
22
+
23
+ .cl-a-secondary a:not(.btn),
24
+ .cl-a-primary a.cl-a-secondary:not(.btn),
25
+ .cl-a-text a.cl-a-secondary:not(.btn),
26
+ .cl-a-transparent a.cl-a-secondary:not(.btn),
27
+ a.cl-a-secondary:not(.btn) {
28
+ @extend %cl-a-secondary;
29
+ }
30
+
31
+ .cl-a-text a:not(.btn),
32
+ .cl-a-primary a.cl-a-text:not(.btn),
33
+ .cl-a-secondary a.cl-a-text:not(.btn),
34
+ .cl-a-transparent a.cl-a-text:not(.btn),
35
+ a.cl-a-text:not(.btn) {
36
+ @extend %cl-a-text;
37
+ }
38
+
39
+ .cl-a-transparent a:not(.btn),
40
+ .cl-a-primary a.cl-a-transparent:not(.btn),
41
+ .cl-a-secondary a.cl-a-transparent:not(.btn),
42
+ .cl-a-text a.cl-a-transparent:not(.btn),
43
+ a.cl-a-transparent:not(.btn) {
44
+ @extend %cl-a-transparent;
45
+ }
46
+
47
+ .cl-a-none a:not(.btn),
48
+ .cl-a-primary a.cl-a-none:not(.btn),
49
+ .cl-a-secondary a.cl-a-none:not(.btn),
50
+ .cl-a-text a.cl-a-none:not(.btn),
51
+ a.cl-a-none:not(.btn) {
52
+ @extend %cl-a-none;
53
+ }
54
+
55
+ .cl-a-btn {
56
+ // a link that is more an embedded button
57
+ @extend %cl-a-btn;
58
+ }
59
+
60
+ .cl-a-quickaction {
61
+ @extend %cl-a-btn;
62
+ @extend %cl-a-transparent;
63
+
64
+ margin-left: $spacing-tiny;
65
+
66
+ &:not(:hover) {
67
+ color: $color-ci-silver;
68
+ }
69
+ }
70
+
71
+ @keyframes cl-a-spin {
72
+ 0% {
73
+ transform: rotate(0deg);
74
+ }
75
+
76
+ 100% {
77
+ transform: rotate(360deg);
78
+ }
79
+ }
80
+
81
+ // --- ::before icons ------------------------------------------------------------
82
+
83
+ // HINT: if you add new icons here, also add the class to ClTableCel/Links/style.css
84
+ // or the in-table spacings will be off
85
+
86
+ .cl-a-lock,
87
+ .cl-span-lock {
88
+ @include cl-fontawesome-before('\f023', -0.15em, 0.8em, -0.15em);
89
+
90
+ &::before {
91
+ font-weight: 900;
92
+ }
93
+ }
94
+
95
+ .cl-a-spinner,
96
+ .cl-span-spinner {
97
+ @include cl-fontawesome-before('\f110', -0.2em, 0.8em, -0.1em);
98
+
99
+ &::before {
100
+ animation: cl-a-spin 2s linear infinite;
101
+ font-weight: 900;
102
+ transform-origin: 0.5em 0.5em;
103
+ }
104
+ }
105
+
106
+ span.cl-a-lock,
107
+ span.cl-span-lock,
108
+ span.cl-a-spinner,
109
+ span.cl-span-spinner {
110
+ @extend %cl-a-default; // make it look like a link
111
+
112
+ pointer-events: none; // disable hover effects
113
+ }
114
+
115
+ .cl-a-pdf {
116
+ @include cl-fontawesome-before('\f1c1', 0.1em);
117
+ }
118
+
119
+ .cl-a-image {
120
+ @include cl-fontawesome-before('\f1c5', 0.1em);
121
+ }
122
+
123
+ .cl-a-video {
124
+ @include cl-fontawesome-before('\f1c8', 0.1em);
125
+ }
126
+
127
+ .cl-a-file {
128
+ @include cl-fontawesome-before('\f15c', 0.1em);
129
+ }
130
+
131
+ .cl-a-zip {
132
+ @include cl-fontawesome-before('\f1c6', 0.1em);
133
+ }
134
+
135
+ // --- ::after icons -------------------------------------------------------------
136
+
137
+ .cl-a-email {
138
+ @include cl-fontawesome-after('\f0e0', 0.2em, 0.8em);
139
+ }
140
+
141
+ .cl-a-external {
142
+ @include cl-fontawesome-after('\f35d', 0.2em, 0.75em, -0.15em);
143
+
144
+ &::after {
145
+ font-weight: 900;
146
+ }
147
+ }
@@ -0,0 +1,40 @@
1
+ ////
2
+ /// @group components
3
+ /// @access public
4
+ ////
5
+
6
+ // This file defines custom org lables.
7
+
8
+ .cl-org-name {
9
+ // deprecated
10
+ font-weight: 600;
11
+
12
+ i {
13
+ color: $color-ci-cloud;
14
+ display: inline;
15
+ }
16
+
17
+ .cl-p-large & {
18
+ font-weight: 500;
19
+ }
20
+ }
21
+
22
+ .cl-org {
23
+ font-weight: 600;
24
+
25
+ &::before {
26
+ box-sizing: border-box;
27
+ content: '\f0ac';
28
+ font-family: 'Font Awesome 5 Free';
29
+ font-style: normal;
30
+ font-variant: normal;
31
+ font-weight: 900;
32
+ line-height: 1;
33
+ margin-right: $spacing-micro;
34
+ text-rendering: auto;
35
+ }
36
+
37
+ .cl-p-large & {
38
+ font-weight: 500;
39
+ }
40
+ }
@@ -0,0 +1,35 @@
1
+ ////
2
+ /// @group components
3
+ /// @access public
4
+ ////
5
+
6
+ // This file defines custom plan styles.
7
+
8
+ .cl-plan {
9
+ @include cl-badge();
10
+
11
+ & {
12
+ color: $badge-color-fg;
13
+ }
14
+
15
+ &::before {
16
+ @include cl-fontawesome('\f005');
17
+
18
+ & {
19
+ margin-right: $spacing-micro;
20
+ position: static;
21
+ }
22
+ }
23
+
24
+ .cl-p-large & {
25
+ font-weight: 500;
26
+ }
27
+ }
28
+
29
+ .cl-badge-derived {
30
+ @include badge-derived();
31
+
32
+ + .cl-plan {
33
+ margin-left: -1.5em;
34
+ }
35
+ }
@@ -0,0 +1,39 @@
1
+ ////
2
+ /// @group components
3
+ /// @access public
4
+ ////
5
+
6
+ // This file defines custom role styles.
7
+
8
+ .cl-role {
9
+ @include cl-badge();
10
+
11
+ & {
12
+ color: $badge-color-fg;
13
+ }
14
+
15
+ &::before {
16
+ @include cl-fontawesome('\f02b');
17
+
18
+ & {
19
+ margin-right: $spacing-micro;
20
+ position: static;
21
+ }
22
+ }
23
+
24
+ &.cl-role-primary {
25
+ background-color: $color-primary;
26
+ }
27
+
28
+ .cl-p-large & {
29
+ font-weight: 500;
30
+ }
31
+ }
32
+
33
+ .cl-badge-derived {
34
+ @include badge-derived();
35
+
36
+ + .cl-role {
37
+ margin-left: -1.5em;
38
+ }
39
+ }
@@ -0,0 +1,3 @@
1
+ .cl-back-cancel-ok {
2
+ padding-top: 0;
3
+ }
@@ -0,0 +1,40 @@
1
+ .cl-cookie-banner {
2
+ bottom: $spacing-large;
3
+ box-shadow: 1px 1px 2px 1px $color-black-25a;
4
+ left: 50%;
5
+ opacity: 1;
6
+ position: fixed;
7
+ transform: translate(-50%);
8
+ z-index: $layer-z-sidenav;
9
+
10
+ .cl-asset-cookie {
11
+ font-size: 2em;
12
+ margin-top: $spacing-small;
13
+ }
14
+
15
+ .btn {
16
+ display: inline !important; // sass-lint:disable-line no-important
17
+ width: 8rem !important; // sass-lint:disable-line no-important
18
+ }
19
+
20
+ @include media-breakpoint-up(md) {
21
+ width: 640px;
22
+ }
23
+
24
+ @include media-breakpoint-down(md) {
25
+ width: calc(100% - $spacing-small);
26
+
27
+ .card-body {
28
+ padding-left: 0;
29
+ padding-right: 0;
30
+ }
31
+ }
32
+
33
+ &.cl-fade-away {
34
+ opacity: 0;
35
+ transform: translate(-50%, $spacing-large);
36
+ transition:
37
+ transform 0.4s,
38
+ opacity 0.4s;
39
+ }
40
+ }
@@ -0,0 +1,11 @@
1
+ .cl-page-spinner {
2
+ align-items: center;
3
+ display: flex;
4
+ flex-direction: row;
5
+ height: 100%;
6
+ justify-content: space-around;
7
+
8
+ .cl-spinner {
9
+ margin: 0;
10
+ }
11
+ }