@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.
- package/README.md +94 -0
- package/dist/assets/castlabs-logo.svg +2 -0
- package/dist/assets/cookie.svg +1 -0
- package/dist/castlabs-ui-editor.common.js +23189 -0
- package/dist/castlabs-ui-editor.common.js.map +1 -0
- package/dist/castlabs-ui-editor.css +1 -0
- package/dist/castlabs-ui-editor.umd.js +23208 -0
- package/dist/castlabs-ui-editor.umd.js.map +1 -0
- package/dist/castlabs-ui-editor.umd.min.js +10 -0
- package/dist/castlabs-ui-editor.umd.min.js.map +1 -0
- package/dist/castlabs-ui.common.js +6828 -0
- package/dist/castlabs-ui.common.js.map +1 -0
- package/dist/castlabs-ui.core.js +1031 -0
- package/dist/castlabs-ui.css +12 -0
- package/dist/castlabs-ui.module.d.ts +83 -0
- package/dist/castlabs-ui.module.js +1031 -0
- package/dist/castlabs-ui.umd.js +6847 -0
- package/dist/castlabs-ui.umd.js.map +1 -0
- package/dist/castlabs-ui.umd.min.js +8 -0
- package/dist/castlabs-ui.umd.min.js.map +1 -0
- package/dist/demo.html +1 -0
- package/dist/favicon/192.png +0 -0
- package/dist/favicon/512.png +0 -0
- package/dist/favicon/apple-touch-icon.png +0 -0
- package/dist/favicon/favicon-unread.svg +75 -0
- package/dist/favicon/favicon.ico +0 -0
- package/dist/favicon/favicon.svg +43 -0
- package/dist/favicon/manifest.webmanifest +6 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCCwR26eg.f31394d2.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCFwR26eg.00073a59.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCGwR0.faa92a75.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCIwR26eg.f8e38fba.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCJwR26eg.f1d5cd16.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCKwR26eg.ebbe259f.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCLwR26eg.e3d460d0.woff2 +0 -0
- package/dist/fonts/fa-brands-400.18993be8.woff2 +0 -0
- package/dist/fonts/fa-regular-400.e45bb696.woff2 +0 -0
- package/dist/fonts/fa-solid-900.16e3d2f0.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Udc1UAw.6de93dc1.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.55c9461f.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.111f8c99.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Zdc0.92257a03.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0adc1UAw.1844ded3.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0bdc1UAw.719267ea.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0ddc1UAw.037dea2d.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFUZ0bbck.6869bd80.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFV50bbck.05a41692.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFVZ0b.38ffdf27.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFVp0bbck.f12c0c2c.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFW50bbck.03f14837.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFWJ0bbck.abcca84a.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFWp0bbck.4d1e267c.woff2 +0 -0
- package/package.json +71 -0
- package/plugins/uid/index.js +16 -0
- package/plugins/uid/index.ts +16 -0
- package/src/assets/castlabs-logo.svg +2 -0
- package/src/assets/cookie.svg +1 -0
- package/src/components/ClAlert/style.scss +117 -0
- package/src/components/ClBadge/style.scss +122 -0
- package/src/components/ClButton/style.scss +338 -0
- package/src/components/ClCard/style.scss +61 -0
- package/src/components/ClCard/style.variables.scss +179 -0
- package/src/components/ClDropdown/style.scss +272 -0
- package/src/components/ClDropzone/style.scss +21 -0
- package/src/components/ClFooter/style.scss +119 -0
- package/src/components/ClIcon/style.scss +58 -0
- package/src/components/ClIconotron/style.scss +86 -0
- package/src/components/ClList/style.scss +93 -0
- package/src/components/ClList/style.variables.scss +133 -0
- package/src/components/ClListGroup/style.scss +9 -0
- package/src/components/ClPagination/style.scss +123 -0
- package/src/components/ClProgress/style.scss +49 -0
- package/src/components/ClScrollbar/style.scss +14 -0
- package/src/components/ClSpinner/style.scss +26 -0
- package/src/components/ClTabs/style.scss +90 -0
- package/src/components/ClToggle/style.scss +97 -0
- package/src/components/ClTooltip/style.scss +46 -0
- package/src/components/ClWizard/style.scss +173 -0
- package/src/components/form/ClField/style.scss +45 -0
- package/src/components/form/ClFieldCheck/style.scss +99 -0
- package/src/components/form/ClFieldFile/style.scss +71 -0
- package/src/components/form/ClFieldGroup/style.scss +73 -0
- package/src/components/form/ClFieldInput/style.scss +118 -0
- package/src/components/form/ClFieldSelect/style.scss +39 -0
- package/src/components/form/ClFieldSet/style.scss +16 -0
- package/src/components/form/ClForm/style.scss +87 -0
- package/src/components/modal/ClModal/style.scss +138 -0
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +444 -0
- package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +51 -0
- package/src/components/navigation/ClNavSide/style.scss +81 -0
- package/src/components/navigation/ClNavTop/style.scss +305 -0
- package/src/components/section/ClSectionHeadline/style.scss +49 -0
- package/src/components/section/ClSectionMainSide/style.scss +60 -0
- package/src/components/table/ClTable/style.scss +23 -0
- package/src/components/table/ClTable/style.variables.scss +155 -0
- package/src/components/table/ClTableCel/Actions/style.scss +11 -0
- package/src/components/table/ClTableCel/Audit/style.scss +26 -0
- package/src/components/table/ClTableCel/Boolean/style.scss +12 -0
- package/src/components/table/ClTableCel/Checkbox/style.scss +18 -0
- package/src/components/table/ClTableCel/Code/style.scss +13 -0
- package/src/components/table/ClTableCel/Currency/style.scss +9 -0
- package/src/components/table/ClTableCel/Date/style.scss +12 -0
- package/src/components/table/ClTableCel/ID/style.scss +16 -0
- package/src/components/table/ClTableCel/Links/style.scss +44 -0
- package/src/components/table/ClTableCel/style.scss +7 -0
- package/src/components/table/ClTableCel/style.variables.scss +25 -0
- package/src/components/table/ClTableFootChecked/style.scss +2 -0
- package/src/components/table/ClTableHead/style.scss +36 -0
- package/src/components/text/ClCopy/style.scss +42 -0
- package/src/components/text/ClHashtag/style.scss +31 -0
- package/src/components/text/ClLinkExternal/style.scss +147 -0
- package/src/components/text/ClOrg/style.scss +40 -0
- package/src/components/text/ClPlan/style.scss +35 -0
- package/src/components/text/ClRole/style.scss +39 -0
- package/src/components/widget/ClBackCancelOk/style.scss +3 -0
- package/src/components/widget/ClCookieBanner/style.scss +40 -0
- package/src/components/widget/ClPage/style.scss +11 -0
- package/src/fonts/FontAwesome5/FontAwesome5.scss +6121 -0
- package/src/fonts/NotoSansMono/NotoSansMono.scss +82 -0
- package/src/fonts/OpenSansVariable/OpenSansVariable.scss +183 -0
- package/src/styles/_global.scss +70 -0
- package/src/styles/abstracts/color.scss +127 -0
- package/src/styles/abstracts/layer.scss +10 -0
- package/src/styles/abstracts/spacing.scss +35 -0
- package/src/styles/abstracts/tools.scss +117 -0
- package/src/styles/assets/logo.scss +22 -0
- package/src/styles/components/button.variables.scss +18 -0
- package/src/styles/components/form.variables.scss +51 -0
- package/src/styles/layout/animation.scss +39 -0
- package/src/styles/layout/grid.scss +144 -0
- package/src/styles/layout/grid.variables.scss +50 -0
- package/src/styles/layout/section.scss +90 -0
- package/src/styles/layout/spacing.scss +295 -0
- package/src/styles/layout/typography.scss +321 -0
- package/src/styles/layout/typography.variables.scss +363 -0
- package/src/styles/ui.scss +98 -0
- package/src/styles/vendors/bootstrap.scss +28 -0
- package/src/styles/vendors/castlabs.scss +17 -0
- package/types/castlabs-ui.module.d.ts +83 -0
- package/types/index.d.ts +140 -0
|
@@ -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,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,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,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,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
|
+
}
|