@mediafly/js-ui 46.2.5 → 46.3.1-beta.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.
- package/.stylelintignore +5 -0
- package/CHANGELOG.md +12 -0
- package/lib/jsui.module.css +260 -74
- package/lib/rich-text/rich-text.component.html +2 -1
- package/lib/rich-text/rich-text.component.js +1 -0
- package/lib/rich-text/rich-text.component.js.map +1 -1
- package/lib/styles.css +232 -203
- package/lib/tree/tree-node.html +3 -2
- package/lib/tree/tree-node.js +1 -0
- package/lib/tree/tree-node.js.map +1 -1
- package/lib/tree/tree.html +1 -1
- package/lib/tree/tree.js +1 -0
- package/lib/tree/tree.js.map +1 -1
- package/lib/tsconfig.deploy.tsbuildinfo +389 -9
- package/package.json +4 -1
- package/src/components/actionable-empty-state/actionable-empty-state.less +5 -6
- package/src/components/auto-complete/auto-complete.component.less +2 -2
- package/src/components/badge/badge.less +5 -7
- package/src/components/collapse/collapse.less +2 -2
- package/src/components/color-input/color-input.less +5 -3
- package/src/components/date-time-zone-picker/date-time-zone-picker.less +4 -2
- package/src/components/dropdown/dropdown.less +7 -9
- package/src/components/dropdown-menu/dropdown-menu.less +11 -14
- package/src/components/feedback/feedback.less +28 -30
- package/src/components/first-time-motivator/first-time-motivator.less +25 -26
- package/src/components/footer/footer.less +0 -2
- package/src/components/hierarchy/hierarchy.less +0 -1
- package/src/components/hover-tooltip/hover-tooltip.less +15 -17
- package/src/components/index.less +8 -9
- package/src/components/inline-text-input/inline-text-input.less +2 -2
- package/src/components/less/fonts/mfly-webfont.less +69 -53
- package/src/components/less/fonts/poppins.less +15 -10
- package/src/components/less/fonts/roboto.less +26 -18
- package/src/components/less/mixins/vendor-prefixes.less +4 -1
- package/src/components/less/objects/buttons.less +63 -56
- package/src/components/less/objects/buttons.module.css +203 -0
- package/src/components/less/objects/containers.less +18 -23
- package/src/components/less/objects/containers.module.css +3 -3
- package/src/components/less/objects/forms.less +41 -35
- package/src/components/less/objects/grid.less +316 -18
- package/src/components/less/objects/headers.less +4 -9
- package/src/components/less/objects/headers.module.css +0 -1
- package/src/components/less/objects/index.less +11 -11
- package/src/components/less/objects/labels.less +1 -2
- package/src/components/less/objects/links.less +11 -12
- package/src/components/less/objects/links.module.css +19 -19
- package/src/components/less/objects/modals.less +1 -2
- package/src/components/less/objects/radios-checkboxes.less +41 -41
- package/src/components/less/objects/tables.less +16 -23
- package/src/components/less/utilities/accessibility.less +6 -4
- package/src/components/less/utilities/animations.less +4 -1
- package/src/components/less/utilities/grid-utilities.less +20 -20
- package/src/components/less/utilities/normalize.less +9 -8
- package/src/components/less/utilities/reset.less +5 -3
- package/src/components/less/utilities/utilities.less +39 -42
- package/src/components/less/variables/colors.less +2 -7
- package/src/components/less/variables/effects.less +11 -12
- package/src/components/less/variables/forms.less +0 -2
- package/src/components/less/variables/pages.less +0 -3
- package/src/components/less/variables/typography.less +2 -3
- package/src/components/less/variables.module.css +34 -51
- package/src/components/loading-indicator/loading-indicator.less +18 -18
- package/src/components/metadata-form/metadata-form.less +13 -14
- package/src/components/modal/modal.component.less +19 -16
- package/src/components/modal/modal.component.module.css +16 -17
- package/src/components/paging/paging.less +0 -1
- package/src/components/progress-bar/progress-bar.less +1 -1
- package/src/components/progress-circle/progress-circle.less +8 -4
- package/src/components/rich-text/rich-text-toolbar-container.less +3 -3
- package/src/components/rich-text/rich-text.component.html +2 -1
- package/src/components/rich-text/rich-text.component.less +25 -25
- package/src/components/rich-text/rich-text.component.ts +1 -0
- package/src/components/site-header/site-header.less +9 -12
- package/src/components/slides/slides.less +31 -25
- package/src/components/table-blank-slate/table-blank-slate.less +0 -1
- package/src/components/tabs/tabs.less +1 -1
- package/src/components/tag-input/tag-input.less +4 -5
- package/src/components/time-input/time-input.less +0 -1
- package/src/components/tree/tree-node.html +3 -2
- package/src/components/tree/tree-node.js +1 -0
- package/src/components/tree/tree.html +1 -1
- package/src/components/tree/tree.less +20 -7
- package/src/components/tree/tree.ts +1 -0
- package/stylelint.config.js +8 -0
- package/tsconfig.tsbuildinfo +392 -10
- package/webpack.config.js +7 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
@import '../less/variables/colors.less';
|
|
2
2
|
@import '../less/variables/typography.less';
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
.o-empty-state__container {
|
|
6
5
|
padding: 20px;
|
|
7
6
|
|
|
8
|
-
.o-empty-state__subheader{
|
|
9
|
-
padding-bottom:20px;
|
|
7
|
+
.o-empty-state__subheader {
|
|
8
|
+
padding-bottom: 20px;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
.o-empty-state__body {
|
|
13
|
-
display:flex;
|
|
14
|
-
padding-bottom:40px;
|
|
12
|
+
display: flex;
|
|
13
|
+
padding-bottom: 40px;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
.o-empty-state__body__list {
|
|
18
|
-
padding-top:10px;
|
|
17
|
+
padding-top: 10px;
|
|
19
18
|
}
|
|
20
19
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.c-auto-complete__dropdown {
|
|
6
|
-
background-color:
|
|
6
|
+
background-color: #fff;
|
|
7
7
|
border: 1px solid @color-gray-x-light;
|
|
8
8
|
border-radius: 4px;
|
|
9
9
|
box-shadow: @dropdown-box-shadow;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
max-height: 300px;
|
|
12
12
|
overflow-y: auto;
|
|
13
13
|
position: absolute;
|
|
14
|
-
top: calc(
|
|
14
|
+
top: calc(100% + 2px);
|
|
15
15
|
width: 370px;
|
|
16
16
|
z-index: 2;
|
|
17
17
|
|
|
@@ -4,29 +4,27 @@
|
|
|
4
4
|
@badge-size-medium: 21px;
|
|
5
5
|
@badge-size-large: 28px;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
// Put this class manually on the parent of the badge:
|
|
9
8
|
.o-has-badge {
|
|
10
9
|
position: relative;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
|
|
14
12
|
// Base styles for the badge
|
|
15
13
|
.o-badge {
|
|
16
|
-
background-color:
|
|
17
|
-
border: 1px solid
|
|
14
|
+
background-color: #fff;
|
|
15
|
+
border: 1px solid #fff;
|
|
18
16
|
border-radius: 100%;
|
|
19
|
-
color: #
|
|
17
|
+
color: #00c364;
|
|
20
18
|
font-size: @badge-size-medium;
|
|
21
19
|
line-height: 1;
|
|
22
20
|
opacity: 0;
|
|
23
21
|
position: absolute;
|
|
24
22
|
right: @badge-size-medium * -0.5;
|
|
25
|
-
transform: scale(0.25);
|
|
26
23
|
top: @badge-size-medium * -0.5;
|
|
24
|
+
transform: scale(0.25);
|
|
27
25
|
|
|
28
26
|
// http://cubic-bezier.com/#.7,.8,.2,1.5
|
|
29
|
-
transition: all 0.3s cubic-bezier(.7, .8, .2, 1.5);
|
|
27
|
+
transition: all 0.3s cubic-bezier(0.7, 0.8, 0.2, 1.5);
|
|
30
28
|
|
|
31
29
|
// Toggle this class to show it:
|
|
32
30
|
&.is-visible {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.c-collapse {
|
|
2
2
|
display: none;
|
|
3
3
|
position: relative;
|
|
4
|
-
transition-
|
|
4
|
+
transition-duration: 0.35s;
|
|
5
|
+
transition-property: 'visibility, height';
|
|
5
6
|
transition-timing-function: ease;
|
|
6
|
-
transition-duration: .35s;
|
|
7
7
|
|
|
8
8
|
&.c-collapse--collapsing {
|
|
9
9
|
display: block;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/* stylelint-disable */
|
|
1
2
|
@import '../less/variables/colors.less';
|
|
2
3
|
@import '../less/variables/effects.less';
|
|
3
4
|
@import '../less/variables/z-index.less';
|
|
4
5
|
|
|
5
6
|
.c-color-input {
|
|
6
|
-
background-color:
|
|
7
|
+
background-color: #fff;
|
|
7
8
|
background-image:
|
|
8
9
|
linear-gradient(45deg, @color-gray-light 25%, transparent 25%, transparent 75%, @color-gray-light 75%, @color-gray-light),
|
|
9
10
|
linear-gradient(45deg, @color-gray-light 25%, transparent 25%, transparent 75%, @color-gray-light 75%, @color-gray-light);
|
|
@@ -108,7 +109,7 @@ License: MIT
|
|
|
108
109
|
left: 50%;
|
|
109
110
|
cursor: pointer;
|
|
110
111
|
border: 1px solid black;
|
|
111
|
-
background:
|
|
112
|
+
background: #fff;
|
|
112
113
|
opacity: .8;
|
|
113
114
|
}
|
|
114
115
|
.sp-alpha {
|
|
@@ -264,7 +265,7 @@ License: MIT
|
|
|
264
265
|
left: -1px;
|
|
265
266
|
right: -1px;
|
|
266
267
|
border: 1px solid #000;
|
|
267
|
-
background:
|
|
268
|
+
background: #fff;
|
|
268
269
|
opacity: .8;
|
|
269
270
|
}
|
|
270
271
|
|
|
@@ -619,3 +620,4 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
|
|
|
619
620
|
}
|
|
620
621
|
|
|
621
622
|
}
|
|
623
|
+
/* stylelint-enable */
|
|
@@ -35,18 +35,20 @@
|
|
|
35
35
|
overflow-y: scroll;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
39
38
|
// Pika overrides
|
|
40
39
|
// ----------------------------------------------------
|
|
41
40
|
.pika-button:hover {
|
|
42
41
|
background-color: @color-mfly-green;
|
|
43
42
|
}
|
|
43
|
+
|
|
44
44
|
.is-selected .pika-button {
|
|
45
45
|
background-color: @color-mfly-blue;
|
|
46
46
|
}
|
|
47
|
+
|
|
47
48
|
.is-today .pika-button {
|
|
48
49
|
color: @color-mfly-blue;
|
|
49
50
|
}
|
|
51
|
+
|
|
50
52
|
.is-today.is-selected .pika-button {
|
|
51
|
-
color:
|
|
53
|
+
color: #fff;
|
|
52
54
|
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
// -----------------------------------------------------------
|
|
7
7
|
@import '../less/variables/colors.less';
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
.o-dropdown {
|
|
11
10
|
position: relative;
|
|
12
11
|
|
|
@@ -29,21 +28,21 @@
|
|
|
29
28
|
|
|
30
29
|
&::after {
|
|
31
30
|
content: '\f107';
|
|
32
|
-
font: normal normal 400 14px/1
|
|
31
|
+
font: normal normal 400 14px/1 'Font Awesome 5 Pro';
|
|
33
32
|
font-size: 14px;
|
|
34
|
-
text-rendering: auto;
|
|
35
33
|
-webkit-font-smoothing: antialiased;
|
|
36
34
|
-moz-osx-font-smoothing: grayscale;
|
|
37
|
-
|
|
38
35
|
pointer-events: none;
|
|
39
36
|
position: absolute;
|
|
40
37
|
right: 10px;
|
|
38
|
+
text-rendering: auto;
|
|
41
39
|
top: 50%;
|
|
42
40
|
transform: translateY(-50%);
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
// Fix Firefox mysterious left padding on <select> elements.
|
|
45
|
+
/* stylelint-disable-next-line function-url-quotes */
|
|
47
46
|
@-moz-document url-prefix() {
|
|
48
47
|
.o-dropdown > .o-form-control {
|
|
49
48
|
padding-left: 8px;
|
|
@@ -52,18 +51,17 @@
|
|
|
52
51
|
|
|
53
52
|
// Themeing
|
|
54
53
|
.o-dropdown.is-dark-theme {
|
|
55
|
-
|
|
56
54
|
& select {
|
|
55
|
+
background-color: @color-gray-x-dark;
|
|
57
56
|
border: 2px solid @color-gray-light;
|
|
58
57
|
border-radius: 5px;
|
|
59
|
-
|
|
60
|
-
color: white;
|
|
61
|
-
height: 33px;
|
|
58
|
+
color: #fff;
|
|
62
59
|
font-size: 14px;
|
|
60
|
+
height: 33px;
|
|
63
61
|
width: 100%;
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
&::after {
|
|
67
|
-
color:
|
|
65
|
+
color: #fff;
|
|
68
66
|
}
|
|
69
67
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
@import '../less/variables/typography.less';
|
|
9
9
|
@import '../less/variables/z-index.less';
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
.o-dropdown-menu__wrapper {
|
|
13
12
|
// Provides a target for the menu to be positioned against
|
|
14
13
|
display: inline-block;
|
|
@@ -22,7 +21,8 @@
|
|
|
22
21
|
outline: none;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
|
-
.fa-angle-down,
|
|
24
|
+
.fa-angle-down,
|
|
25
|
+
.fa-angle-up {
|
|
26
26
|
padding-left: 4px;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -50,33 +50,32 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&.is-pinned-left {
|
|
53
|
-
right: auto;
|
|
54
53
|
left: 0;
|
|
54
|
+
right: auto;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&.is-pinned-right {
|
|
58
|
-
right: 0;
|
|
59
58
|
left: auto;
|
|
59
|
+
right: 0;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.is-pinned-bottom {
|
|
63
63
|
box-shadow: @dropdown-box-shadow;
|
|
64
|
-
margin-top: @dropdown-menu-margin;
|
|
65
64
|
margin-bottom: 0;
|
|
65
|
+
margin-top: @dropdown-menu-margin;
|
|
66
66
|
top: 100%;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&.is-pinned-top {
|
|
70
|
+
bottom: 100%;
|
|
70
71
|
box-shadow: @dropup-box-shadow;
|
|
71
|
-
margin-top: 0;
|
|
72
72
|
margin-bottom: @dropdown-menu-margin;
|
|
73
|
-
|
|
73
|
+
margin-top: 0;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// List items
|
|
78
78
|
.o-dropdown-menu__item {
|
|
79
|
-
|
|
80
79
|
&.o-dropdown-menu__item--separator {
|
|
81
80
|
border-bottom: 1px solid @color-gray-xx-light;
|
|
82
81
|
margin: 10px 0;
|
|
@@ -101,29 +100,27 @@
|
|
|
101
100
|
cursor: default;
|
|
102
101
|
|
|
103
102
|
&:hover {
|
|
104
|
-
background-color:
|
|
103
|
+
background-color: #fff;
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
|
|
109
|
-
|
|
110
108
|
// Themeing
|
|
111
109
|
.is-dark-theme {
|
|
112
|
-
|
|
113
110
|
&.o-dropdown-menu__contents {
|
|
114
111
|
background-color: rgba(0, 0, 0, 0.8);
|
|
115
112
|
border: none;
|
|
116
113
|
box-shadow: none;
|
|
117
|
-
color:
|
|
114
|
+
color: #fff;
|
|
118
115
|
}
|
|
119
116
|
|
|
120
117
|
& .o-dropdown-menu__item {
|
|
121
|
-
color:
|
|
118
|
+
color: #fff;
|
|
122
119
|
}
|
|
123
120
|
|
|
124
121
|
& .o-dropdown-menu__item--link:hover {
|
|
125
122
|
background-color: @color-gray-dark;
|
|
126
|
-
color:
|
|
123
|
+
color: #fff;
|
|
127
124
|
}
|
|
128
125
|
|
|
129
126
|
& .o-dropdown-menu__item--link.is-disabled {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@import (reference) '../less/objects/containers.less';
|
|
2
1
|
@import '../less/variables/effects.less';
|
|
3
2
|
@import '../less/variables/z-index.less';
|
|
4
3
|
|
|
4
|
+
@alert-border-radius: 4px;
|
|
5
5
|
@feedback-breakpoint: 620px;
|
|
6
6
|
@feedback-width-flexible: 80%;
|
|
7
7
|
@feedback-width-fixed: 600px;
|
|
8
8
|
|
|
9
9
|
.c-feedback_container {
|
|
10
|
-
width: 100%;
|
|
11
10
|
height: auto;
|
|
12
|
-
z-index: @z-index-feedback;
|
|
13
11
|
position: fixed;
|
|
14
12
|
top: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
z-index: @z-index-feedback;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.c-feedback {
|
|
18
|
+
margin-left: auto;
|
|
19
|
+
margin-right: auto;
|
|
18
20
|
pointer-events: none;
|
|
19
21
|
text-align: center;
|
|
20
22
|
width: @feedback-width-flexible;
|
|
21
|
-
margin-left: auto;
|
|
22
|
-
margin-right: auto;
|
|
23
23
|
|
|
24
24
|
@media (min-width: @feedback-breakpoint) {
|
|
25
25
|
width: @feedback-width-fixed;
|
|
@@ -45,6 +45,28 @@
|
|
|
45
45
|
width: @feedback-width-fixed;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
+
|
|
49
|
+
// Animations:
|
|
50
|
+
// In
|
|
51
|
+
&.ng-leave,
|
|
52
|
+
&.ng-enter.ng-enter-active {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
transform: scale(1);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Out
|
|
58
|
+
&.ng-enter,
|
|
59
|
+
&.ng-leave.ng-leave-active {
|
|
60
|
+
opacity: 0;
|
|
61
|
+
transform: scale(0.75);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Timing
|
|
65
|
+
&.ng-enter,
|
|
66
|
+
&.ng-leave {
|
|
67
|
+
// http://cubic-bezier.com/#.7,.8,.2,1.5
|
|
68
|
+
transition: all 0.3s cubic-bezier(0.7, 0.8, 0.2, 1.5);
|
|
69
|
+
}
|
|
48
70
|
}
|
|
49
71
|
|
|
50
72
|
.c-feedback__message {
|
|
@@ -54,8 +76,8 @@
|
|
|
54
76
|
// Close button
|
|
55
77
|
.c-feedback__close {
|
|
56
78
|
border: none;
|
|
57
|
-
border-top-right-radius: @alert-border-radius;
|
|
58
79
|
border-bottom-right-radius: @alert-border-radius;
|
|
80
|
+
border-top-right-radius: @alert-border-radius;
|
|
59
81
|
font-size: 14px;
|
|
60
82
|
height: 100%;
|
|
61
83
|
margin: 0;
|
|
@@ -102,27 +124,3 @@
|
|
|
102
124
|
background-color: darken(@color-info-light, 10%);
|
|
103
125
|
}
|
|
104
126
|
}
|
|
105
|
-
|
|
106
|
-
// Animations
|
|
107
|
-
.c-feedback__contents {
|
|
108
|
-
// In
|
|
109
|
-
&.ng-leave,
|
|
110
|
-
&.ng-enter.ng-enter-active {
|
|
111
|
-
opacity: 1;
|
|
112
|
-
transform: scale(1);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// Out
|
|
116
|
-
&.ng-enter,
|
|
117
|
-
&.ng-leave.ng-leave-active {
|
|
118
|
-
opacity: 0;
|
|
119
|
-
transform: scale(0.75);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Timing
|
|
123
|
-
&.ng-enter,
|
|
124
|
-
&.ng-leave {
|
|
125
|
-
// http://cubic-bezier.com/#.7,.8,.2,1.5
|
|
126
|
-
transition: all 0.3s cubic-bezier(.7, .8, .2, 1.5);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
@import '../less/variables/z-index.less';
|
|
4
4
|
|
|
5
5
|
.c-first-time-motivator {
|
|
6
|
-
background-color:
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.3);
|
|
7
8
|
max-width: 280px;
|
|
8
9
|
min-width: 170px;
|
|
9
10
|
opacity: 0;
|
|
@@ -11,10 +12,10 @@
|
|
|
11
12
|
pointer-events: none;
|
|
12
13
|
position: absolute;
|
|
13
14
|
z-index: @z-index-ftm;
|
|
14
|
-
box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.3);
|
|
15
15
|
|
|
16
16
|
a {
|
|
17
17
|
color: @color-info;
|
|
18
|
+
|
|
18
19
|
&:hover {
|
|
19
20
|
color: darken(@color-info, 20%);
|
|
20
21
|
}
|
|
@@ -50,72 +51,71 @@ a.c-first-time-motivator__close-link {
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.c-first-time-motivator::after,
|
|
53
|
-
.c-first-time-motivator::before{
|
|
54
|
-
border: 1em solid
|
|
54
|
+
.c-first-time-motivator::before {
|
|
55
|
+
border: 1em solid #000;
|
|
55
56
|
box-sizing: border-box;
|
|
56
|
-
content:
|
|
57
|
+
content: '';
|
|
57
58
|
height: 0;
|
|
58
59
|
position: absolute;
|
|
59
|
-
transform-origin: 0 0;
|
|
60
60
|
transform: rotate(-45deg);
|
|
61
|
+
transform-origin: 0 0;
|
|
61
62
|
width: 0;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
//bottom arrow
|
|
65
66
|
.has-bottom-arrow {
|
|
66
|
-
|
|
67
|
+
&::before {
|
|
67
68
|
border-width: 0;
|
|
68
69
|
}
|
|
69
|
-
|
|
70
|
+
|
|
71
|
+
&::after {
|
|
70
72
|
border-color: transparent transparent #fff #fff;
|
|
71
73
|
bottom: -2em;
|
|
72
74
|
box-shadow: -5px 5px 10px 0 rgba(0, 0, 0, 0.2);
|
|
73
|
-
left: calc(
|
|
75
|
+
left: calc(50% - 12px);
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
//top arrow
|
|
77
79
|
.has-top-arrow {
|
|
78
|
-
|
|
80
|
+
&::after {
|
|
79
81
|
border-width: 0;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
&::before {
|
|
83
85
|
border-color: #fff #fff transparent transparent;
|
|
84
|
-
box-shadow: 3px -3px 6px 0 rgba(0, 0, 0, .08);
|
|
85
|
-
left: calc(
|
|
86
|
-
top:
|
|
86
|
+
box-shadow: 3px -3px 6px 0 rgba(0, 0, 0, 0.08);
|
|
87
|
+
left: calc(50% - 20px);
|
|
88
|
+
top: 0;
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
//right arrow
|
|
90
92
|
.has-right-arrow {
|
|
91
|
-
|
|
92
|
-
border-color:transparent #fff #fff transparent;
|
|
93
|
+
&::after {
|
|
94
|
+
border-color: transparent #fff #fff transparent;
|
|
93
95
|
box-shadow: 2px 3px 2px 0 rgba(0, 0, 0, 0.1);
|
|
94
96
|
right: -8px;
|
|
95
97
|
top: 50%;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
|
-
|
|
99
|
-
border-width:0;
|
|
100
|
+
&::before {
|
|
101
|
+
border-width: 0;
|
|
100
102
|
}
|
|
101
103
|
}
|
|
102
104
|
//left arrow
|
|
103
105
|
.has-left-arrow {
|
|
104
|
-
|
|
105
|
-
border-width:0;
|
|
106
|
+
&::after {
|
|
107
|
+
border-width: 0;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
|
-
|
|
109
|
-
border-color: #fff transparent transparent #fff
|
|
110
|
+
&::before {
|
|
111
|
+
border-color: #fff transparent transparent #fff;
|
|
110
112
|
box-shadow: -4px -4px 6px 0 rgba(0, 0, 0, 0.1);
|
|
111
113
|
left: -18px;
|
|
112
114
|
top: 50%;
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
117
|
|
|
116
|
-
|
|
117
118
|
.c-first-time-motivator__header {
|
|
118
|
-
|
|
119
119
|
color: @color-gray-dark;
|
|
120
120
|
display: -ms-flexbox;
|
|
121
121
|
display: -webkit-flex;
|
|
@@ -126,9 +126,8 @@ a.c-first-time-motivator__close-link {
|
|
|
126
126
|
padding: 5px 8px;
|
|
127
127
|
|
|
128
128
|
&.is-grouped-ftm {
|
|
129
|
-
justify-content: space-between
|
|
129
|
+
justify-content: space-between;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
131
|
}
|
|
133
132
|
|
|
134
133
|
.c-first-time-motivator__header__title {
|
|
@@ -2,41 +2,39 @@
|
|
|
2
2
|
@import '../less/variables/colors.less';
|
|
3
3
|
@import '../less/variables/z-index.less';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
@tooltip-background-color: rgba(0,0,0,.8);
|
|
5
|
+
@tooltip-background-color: rgba(0,0,0,0.8);
|
|
7
6
|
|
|
8
7
|
// The tooltip should only be presented on devices that support a hover interaction.
|
|
9
8
|
@media (hover) {
|
|
10
|
-
|
|
11
9
|
.c-hover-tooltip {
|
|
12
10
|
background-color: @tooltip-background-color;
|
|
13
11
|
border-radius: 4px;
|
|
14
12
|
color: #fff;
|
|
15
13
|
display: none;
|
|
16
14
|
font-size: 12px;
|
|
15
|
+
opacity: 0;
|
|
17
16
|
padding: 5px 10px;
|
|
18
17
|
position: absolute;
|
|
19
|
-
opacity: 0;
|
|
20
18
|
word-wrap: break-word;
|
|
21
19
|
z-index: @z-index-hover-tooltip;
|
|
22
20
|
|
|
23
21
|
// Added to the tooltip to show it
|
|
24
22
|
&.c-hover-tooltip--visible {
|
|
25
|
-
display: inline-block;
|
|
26
23
|
animation: fadeInToInlineBlock 0.15s linear;
|
|
24
|
+
display: inline-block;
|
|
27
25
|
opacity: 1;
|
|
28
26
|
}
|
|
29
27
|
|
|
30
28
|
&.left.flush-arrow {
|
|
31
|
-
border-radius: 4px 4px 4px
|
|
29
|
+
border-radius: 4px 4px 4px 0;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
&.right.flush-arrow {
|
|
35
|
-
border-radius: 4px 4px
|
|
33
|
+
border-radius: 4px 4px 0 4px;
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
// The triangles:
|
|
39
|
-
|
|
37
|
+
&::after {
|
|
40
38
|
border-color: @tooltip-background-color transparent;
|
|
41
39
|
border-style: solid;
|
|
42
40
|
content: '';
|
|
@@ -45,41 +43,41 @@
|
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
// Top positioned tooltip -> arrows should be on the bottom
|
|
48
|
-
&.top
|
|
46
|
+
&.top::after {
|
|
49
47
|
border-width: 4px 4px 0 4px;
|
|
50
48
|
top: 100%;
|
|
51
49
|
}
|
|
52
50
|
|
|
53
51
|
// Top positioned tooltip -> arrows should be on the top
|
|
54
|
-
&.bottom
|
|
52
|
+
&.bottom::after {
|
|
55
53
|
border-width: 0 4px 4px 4px;
|
|
56
54
|
top: -4px;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
// Left positioned tooltip -> arrows should be near the left edge
|
|
60
|
-
&.left
|
|
58
|
+
&.left::after {
|
|
61
59
|
left: 10px;
|
|
62
60
|
}
|
|
63
61
|
|
|
64
|
-
&.left.flush-arrow
|
|
62
|
+
&.left.flush-arrow::after {
|
|
65
63
|
border-color: @tooltip-background-color transparent transparent @tooltip-background-color;
|
|
66
64
|
border-width: 3px;
|
|
67
|
-
left:
|
|
65
|
+
left: 0;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
// Right positioned tooltip -> arrows should be near the right edge
|
|
71
|
-
&.right
|
|
69
|
+
&.right::after {
|
|
72
70
|
right: 10px;
|
|
73
71
|
}
|
|
74
72
|
|
|
75
|
-
&.right.flush-arrow
|
|
73
|
+
&.right.flush-arrow::after {
|
|
76
74
|
border-color: @tooltip-background-color @tooltip-background-color transparent transparent;
|
|
77
75
|
border-width: 3px;
|
|
78
|
-
right:
|
|
76
|
+
right: 0;
|
|
79
77
|
}
|
|
80
78
|
|
|
81
79
|
// Center positioned tooltip
|
|
82
|
-
&.center
|
|
80
|
+
&.center::after {
|
|
83
81
|
left: 50%;
|
|
84
82
|
transform: translate(-50%, 0);
|
|
85
83
|
}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
@import './less/fonts/index.less';
|
|
2
|
-
@import './less/objects/index.less';
|
|
3
|
-
@import './less/utilities/index.less';
|
|
4
|
-
@import './less/variables/index.less';
|
|
5
|
-
@import './less/vendor/index.less';
|
|
6
|
-
|
|
7
|
-
@import './auto-complete/auto-complete.component.less';
|
|
8
1
|
@import './actionable-empty-state/actionable-empty-state';
|
|
2
|
+
@import './auto-complete/auto-complete.component.less';
|
|
9
3
|
@import './badge/badge';
|
|
10
4
|
@import './collapse/collapse';
|
|
11
5
|
@import './color-input/color-input';
|
|
12
6
|
@import './date-input/date-input';
|
|
13
7
|
@import './date-time-zone-picker/date-time-zone-picker';
|
|
14
|
-
@import './dropdown/dropdown';
|
|
15
8
|
@import './dropdown-menu/dropdown-menu';
|
|
9
|
+
@import './dropdown/dropdown';
|
|
16
10
|
@import './feedback/feedback';
|
|
17
11
|
@import './first-time-motivator/first-time-motivator';
|
|
18
12
|
@import './footer/footer';
|
|
19
13
|
@import './hierarchy/hierarchy';
|
|
20
14
|
@import './hover-tooltip/hover-tooltip';
|
|
21
15
|
@import './inline-text-input/inline-text-input';
|
|
16
|
+
@import './less/fonts/index.less';
|
|
17
|
+
@import './less/objects/index.less';
|
|
18
|
+
@import './less/utilities/index.less';
|
|
19
|
+
@import './less/variables/index.less';
|
|
20
|
+
@import './less/vendor/index.less';
|
|
22
21
|
@import './loading-indicator/loading-indicator';
|
|
23
22
|
@import './metadata-form/metadata-form';
|
|
24
23
|
@import './modal/modal.component.less';
|
|
25
24
|
@import './paging/paging';
|
|
26
25
|
@import './progress-bar/progress-bar';
|
|
27
26
|
@import './progress-circle/progress-circle';
|
|
28
|
-
@import './rich-text/rich-text.component.less';
|
|
29
27
|
@import './rich-text/rich-text-toolbar-container.less';
|
|
28
|
+
@import './rich-text/rich-text.component.less';
|
|
30
29
|
@import './site-header/site-header';
|
|
31
30
|
@import './slides/slides';
|
|
32
31
|
@import './table-blank-slate/table-blank-slate';
|