@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
|
@@ -76,6 +76,7 @@ template {
|
|
|
76
76
|
|
|
77
77
|
/* Links
|
|
78
78
|
========================================================================== */
|
|
79
|
+
|
|
79
80
|
/**
|
|
80
81
|
* Improve readability when focused and also mouse hovered in all browsers.
|
|
81
82
|
*/
|
|
@@ -181,7 +182,7 @@ code,
|
|
|
181
182
|
kbd,
|
|
182
183
|
pre,
|
|
183
184
|
samp {
|
|
184
|
-
font-family: monospace
|
|
185
|
+
font-family: monospace;
|
|
185
186
|
font-size: 1em;
|
|
186
187
|
}
|
|
187
188
|
|
|
@@ -231,9 +232,9 @@ select {
|
|
|
231
232
|
*/
|
|
232
233
|
|
|
233
234
|
button,
|
|
234
|
-
html input[type=
|
|
235
|
-
input[type=
|
|
236
|
-
input[type=
|
|
235
|
+
html input[type='button'],
|
|
236
|
+
input[type='reset'],
|
|
237
|
+
input[type='submit'] {
|
|
237
238
|
-webkit-appearance: button; /* 2 */
|
|
238
239
|
cursor: pointer; /* 3 */
|
|
239
240
|
}
|
|
@@ -272,8 +273,8 @@ input {
|
|
|
272
273
|
* decrement button to change from `default` to `text`.
|
|
273
274
|
*/
|
|
274
275
|
|
|
275
|
-
input[type=
|
|
276
|
-
input[type=
|
|
276
|
+
input[type='number']::-webkit-inner-spin-button,
|
|
277
|
+
input[type='number']::-webkit-outer-spin-button {
|
|
277
278
|
height: auto;
|
|
278
279
|
}
|
|
279
280
|
|
|
@@ -283,8 +284,8 @@ input[type="number"]::-webkit-outer-spin-button {
|
|
|
283
284
|
* padding (and `textfield` appearance).
|
|
284
285
|
*/
|
|
285
286
|
|
|
286
|
-
input[type=
|
|
287
|
-
input[type=
|
|
287
|
+
input[type='search']::-webkit-search-cancel-button,
|
|
288
|
+
input[type='search']::-webkit-search-decoration {
|
|
288
289
|
-webkit-appearance: none;
|
|
289
290
|
}
|
|
290
291
|
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
@import '../variables/colors.less';
|
|
8
8
|
@import '../variables/typography.less';
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
// We have a lot of <a> tags which wrap elements or use ng-click to perform
|
|
12
11
|
// actions. By default, an <a> tag doesn't get a hand cursor unless it has an
|
|
13
12
|
// `href` attribute, so we want to make sure our special case links appear
|
|
@@ -33,13 +32,16 @@ html {
|
|
|
33
32
|
box-sizing: border-box;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
*,
|
|
35
|
+
*,
|
|
36
|
+
*::before,
|
|
37
|
+
*::after {
|
|
37
38
|
box-sizing: inherit;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
// We want containers to have a defined height so that child elements with
|
|
41
42
|
// absolute positioning behave correctly.
|
|
42
|
-
html,
|
|
43
|
+
html,
|
|
44
|
+
body {
|
|
43
45
|
height: 100%;
|
|
44
46
|
}
|
|
45
47
|
|
|
@@ -13,21 +13,23 @@
|
|
|
13
13
|
@import '../variables/colors.less';
|
|
14
14
|
@import '../variables/typography.less';
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
// Animation
|
|
18
17
|
// -------------------------------------------------------------
|
|
19
18
|
.u-no-animate {
|
|
20
19
|
&.ng-hide-add {
|
|
21
|
-
display: none !important;
|
|
20
|
+
display: none !important; /* stylelint-disable-line declaration-no-important */
|
|
22
21
|
}
|
|
22
|
+
|
|
23
23
|
&.ng-hide-add-active {
|
|
24
|
-
display: none !important;
|
|
24
|
+
display: none !important; /* stylelint-disable-line declaration-no-important */
|
|
25
25
|
}
|
|
26
|
+
|
|
26
27
|
&.ng-hide-remove {
|
|
27
|
-
display: inherit !important;
|
|
28
|
+
display: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
28
29
|
}
|
|
30
|
+
|
|
29
31
|
&.ng-hide-remove-active {
|
|
30
|
-
display: inherit !important;
|
|
32
|
+
display: inherit !important; /* stylelint-disable-line declaration-no-important */
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
|
|
@@ -47,7 +49,6 @@
|
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
|
|
51
52
|
// Clearfix
|
|
52
53
|
// http://nicolasgallagher.com/micro-clearfix-hack/
|
|
53
54
|
// -------------------------------------------------------------
|
|
@@ -60,53 +61,52 @@
|
|
|
60
61
|
// 2. The use of `table` rather than `block` is only necessary if using
|
|
61
62
|
// `:before` to contain the top-margins of child elements.
|
|
62
63
|
.u-clear-parent {
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
&::before,
|
|
65
|
+
&::after {
|
|
65
66
|
content: ' '; // 1
|
|
66
67
|
display: table; // 2
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
+
|
|
70
|
+
&::after {
|
|
69
71
|
clear: both;
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
|
|
73
|
-
|
|
74
75
|
// Colors
|
|
75
76
|
//
|
|
76
77
|
// Use these utilities to get a UI color or background color
|
|
77
78
|
// without having to use an object or set up a rule.
|
|
78
79
|
// -------------------------------------------------------------
|
|
79
80
|
.u-color-success { color: @color-success; }
|
|
80
|
-
.u-color-danger
|
|
81
|
+
.u-color-danger { color: @color-danger; }
|
|
81
82
|
.u-color-warning { color: @color-warning; }
|
|
82
|
-
.u-color-info
|
|
83
|
+
.u-color-info { color: @color-info; }
|
|
83
84
|
|
|
84
85
|
.u-color-gray-xxx-light { color: @color-gray-xxx-light; }
|
|
85
|
-
.u-color-gray-xx-light
|
|
86
|
-
.u-color-gray-x-light
|
|
87
|
-
.u-color-gray-light
|
|
88
|
-
.u-color-gray-medium
|
|
89
|
-
.u-color-gray-dark
|
|
90
|
-
.u-color-gray-x-dark
|
|
86
|
+
.u-color-gray-xx-light { color: @color-gray-xx-light; }
|
|
87
|
+
.u-color-gray-x-light { color: @color-gray-x-light; }
|
|
88
|
+
.u-color-gray-light { color: @color-gray-light; }
|
|
89
|
+
.u-color-gray-medium { color: @color-gray-medium; }
|
|
90
|
+
.u-color-gray-dark { color: @color-gray-dark; }
|
|
91
|
+
.u-color-gray-x-dark { color: @color-gray-x-dark; }
|
|
91
92
|
|
|
92
93
|
.u-bg-color-success { background-color: @color-success; }
|
|
93
|
-
.u-bg-color-danger
|
|
94
|
+
.u-bg-color-danger { background-color: @color-danger; }
|
|
94
95
|
.u-bg-color-warning { background-color: @color-warning; }
|
|
95
|
-
.u-bg-color-info
|
|
96
|
+
.u-bg-color-info { background-color: @color-info; }
|
|
96
97
|
|
|
97
98
|
.u-bg-color-success-light { background-color: @color-success-light; }
|
|
98
|
-
.u-bg-color-danger-light
|
|
99
|
+
.u-bg-color-danger-light { background-color: @color-danger-light; }
|
|
99
100
|
.u-bg-color-warning-light { background-color: @color-warning-light; }
|
|
100
|
-
.u-bg-color-info-light
|
|
101
|
+
.u-bg-color-info-light { background-color: @color-info-light; }
|
|
101
102
|
|
|
102
103
|
.u-bg-color-gray-xxx-light { background-color: @color-gray-xxx-light; }
|
|
103
|
-
.u-bg-color-gray-xx-light
|
|
104
|
-
.u-bg-color-gray-x-light
|
|
105
|
-
.u-bg-color-gray-light
|
|
106
|
-
.u-bg-color-gray-medium
|
|
107
|
-
.u-bg-color-gray-dark
|
|
108
|
-
.u-bg-color-gray-x-dark
|
|
109
|
-
|
|
104
|
+
.u-bg-color-gray-xx-light { background-color: @color-gray-xx-light; }
|
|
105
|
+
.u-bg-color-gray-x-light { background-color: @color-gray-x-light; }
|
|
106
|
+
.u-bg-color-gray-light { background-color: @color-gray-light; }
|
|
107
|
+
.u-bg-color-gray-medium { background-color: @color-gray-medium; }
|
|
108
|
+
.u-bg-color-gray-dark { background-color: @color-gray-dark; }
|
|
109
|
+
.u-bg-color-gray-x-dark { background-color: @color-gray-x-dark; }
|
|
110
110
|
|
|
111
111
|
// Overflow and ellipsis
|
|
112
112
|
// -------------------------------------------------------------
|
|
@@ -121,29 +121,26 @@
|
|
|
121
121
|
white-space: nowrap;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
|
|
125
124
|
// Positioning utilities
|
|
126
125
|
// -------------------------------------------------------------
|
|
127
|
-
.u-display-none
|
|
128
|
-
.u-display-block
|
|
129
|
-
.u-display-inline
|
|
126
|
+
.u-display-none { display: none; }
|
|
127
|
+
.u-display-block { display: block; }
|
|
128
|
+
.u-display-inline { display: inline; }
|
|
130
129
|
.u-display-inline-block { display: inline-block; }
|
|
131
130
|
|
|
132
|
-
.u-float-left
|
|
131
|
+
.u-float-left { float: left; }
|
|
133
132
|
.u-float-right { float: right; }
|
|
134
133
|
|
|
135
|
-
|
|
136
134
|
// Text styles
|
|
137
135
|
// -------------------------------------------------------------
|
|
138
|
-
.u-text-bold
|
|
136
|
+
.u-text-bold { font-weight: @font-weight-bold; }
|
|
139
137
|
.u-text-capitalize { text-transform: capitalize; }
|
|
140
|
-
.u-text-italic
|
|
141
|
-
.u-text-underline
|
|
138
|
+
.u-text-italic { font-style: italic; }
|
|
139
|
+
.u-text-underline { text-decoration: underline; }
|
|
142
140
|
|
|
143
|
-
.u-text-align-left
|
|
141
|
+
.u-text-align-left { text-align: left; }
|
|
144
142
|
.u-text-align-center { text-align: center; }
|
|
145
|
-
.u-text-align-right
|
|
146
|
-
|
|
143
|
+
.u-text-align-right { text-align: right; }
|
|
147
144
|
|
|
148
145
|
// Vertical centering
|
|
149
146
|
//
|
|
@@ -161,7 +158,7 @@
|
|
|
161
158
|
}
|
|
162
159
|
}
|
|
163
160
|
|
|
164
|
-
.u-center-vertical
|
|
161
|
+
.u-center-vertical::before {
|
|
165
162
|
content: '';
|
|
166
163
|
display: inline-block;
|
|
167
164
|
height: 100%;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
// - UI colors
|
|
7
7
|
// -------------------------------------------------------------
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
// Basic colors
|
|
11
10
|
// ----------------------------------------------
|
|
12
11
|
@color-gray-xxx-light: #f6f6f6;
|
|
@@ -17,7 +16,6 @@
|
|
|
17
16
|
@color-gray-dark: #535353;
|
|
18
17
|
@color-gray-x-dark: #353535;
|
|
19
18
|
|
|
20
|
-
|
|
21
19
|
// Branding colors
|
|
22
20
|
// ----------------------------------------------
|
|
23
21
|
@color-mfly-green: #00c364;
|
|
@@ -27,7 +25,6 @@
|
|
|
27
25
|
@color-mfly-purple: #531ea4;
|
|
28
26
|
@color-mfly-red: #fb2654;
|
|
29
27
|
|
|
30
|
-
|
|
31
28
|
// UI colors
|
|
32
29
|
// ----------------------------------------------
|
|
33
30
|
@color-success-light: #d8f2e6;
|
|
@@ -40,16 +37,14 @@
|
|
|
40
37
|
@color-info: #015677;
|
|
41
38
|
@color-dirty-control: #54A844;
|
|
42
39
|
|
|
43
|
-
|
|
44
40
|
// Button colors
|
|
45
41
|
// ----------------------------------------------
|
|
46
42
|
@color-button-default-text: @color-gray-medium;
|
|
47
|
-
@color-button-default-background:
|
|
43
|
+
@color-button-default-background: #fff;
|
|
48
44
|
@color-button-default-border: #A9ADB1;
|
|
49
45
|
@color-button-default-hover-background: @color-gray-xxx-light;
|
|
50
46
|
@color-button-default-hover-border: @color-gray-light;
|
|
51
47
|
|
|
52
|
-
|
|
53
|
-
@color-button-primary-text: white;
|
|
48
|
+
@color-button-primary-text: #fff;
|
|
54
49
|
@color-button-primary-background: @color-gray-medium;
|
|
55
50
|
@color-button-primary-border: @color-gray-medium;
|
|
@@ -4,19 +4,18 @@
|
|
|
4
4
|
// - Box shadows
|
|
5
5
|
// -------------------------------------------------------------
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
// Box shadows
|
|
9
8
|
// ----------------------------------------------
|
|
10
|
-
@dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
|
|
9
|
+
@dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
11
10
|
@dropup-box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.15);
|
|
12
|
-
@modal-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
|
|
13
|
-
@navbar-box-shadow: 0 3px 5px rgba(25, 25, 25, .75);
|
|
14
|
-
@notification-box-shadow: 0 5px 8px
|
|
11
|
+
@modal-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
|
12
|
+
@navbar-box-shadow: 0 3px 5px rgba(25, 25, 25, 0.75);
|
|
13
|
+
@notification-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
|
|
15
14
|
|
|
16
|
-
@input-focus-box-shadow: 0 0 8px rgba(187, 187, 187, .9);
|
|
17
|
-
@input-dirty-focus-box-shadow: 0 0 8px rgba(84, 168, 68, .8);
|
|
18
|
-
@input-dirty-focus-box-shadow-horz2: 2px 0 8px rgba(84, 168, 68, .8);
|
|
19
|
-
@input-dirty-focus-box-shadow-horz3: 3px 0 8px rgba(84, 168, 68, .8);
|
|
20
|
-
@input-invalid-focus-box-shadow: 0 0 8px rgba(169, 68, 66, .8);
|
|
21
|
-
@input-invalid-focus-box-shadow-horz2: 2px 0 8px rgba(169, 68, 66, .8);
|
|
22
|
-
@input-invalid-focus-box-shadow-horz3: 3px 0 8px rgba(169, 68, 66, .8);
|
|
15
|
+
@input-focus-box-shadow: 0 0 8px rgba(187, 187, 187, 0.9);
|
|
16
|
+
@input-dirty-focus-box-shadow: 0 0 8px rgba(84, 168, 68, 0.8);
|
|
17
|
+
@input-dirty-focus-box-shadow-horz2: 2px 0 8px rgba(84, 168, 68, 0.8);
|
|
18
|
+
@input-dirty-focus-box-shadow-horz3: 3px 0 8px rgba(84, 168, 68, 0.8);
|
|
19
|
+
@input-invalid-focus-box-shadow: 0 0 8px rgba(169, 68, 66, 0.8);
|
|
20
|
+
@input-invalid-focus-box-shadow-horz2: 2px 0 8px rgba(169, 68, 66, 0.8);
|
|
21
|
+
@input-invalid-focus-box-shadow-horz3: 3px 0 8px rgba(169, 68, 66, 0.8);
|
|
@@ -5,14 +5,12 @@
|
|
|
5
5
|
// - Input groups
|
|
6
6
|
// -------------------------------------------------------------
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
// Inputs
|
|
10
9
|
// ----------------------------------------------
|
|
11
10
|
@form-input-border-width: 1px;
|
|
12
11
|
@form-input-border-radius: 3px;
|
|
13
12
|
@form-input-height: 34px;
|
|
14
13
|
|
|
15
|
-
|
|
16
14
|
// Input groups
|
|
17
15
|
// ----------------------------------------------
|
|
18
16
|
@form-group-margin-bottom: 20px;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
// - Site header sizes
|
|
7
7
|
// -------------------------------------------------------------
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
// Grid breakpoints
|
|
11
10
|
//
|
|
12
11
|
// (everything from 0 to 768px is "xs" grid size)
|
|
@@ -15,12 +14,10 @@
|
|
|
15
14
|
@grid-breakpoint-md: 992px;
|
|
16
15
|
@grid-breakpoint-lg: 1200px;
|
|
17
16
|
|
|
18
|
-
|
|
19
17
|
// Vertical breakpoints
|
|
20
18
|
// -------------------------------------------------------------
|
|
21
19
|
@vertical-breakpoint-sm: 640px;
|
|
22
20
|
|
|
23
|
-
|
|
24
21
|
// Site header sizes (tracked here because they are relevant in
|
|
25
22
|
// a few different files and we want to keep them consistent)
|
|
26
23
|
// -------------------------------------------------------------
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
// This file defines styles for type across the applications.
|
|
4
4
|
// -----------------------------------------------------------
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
// Main type constants
|
|
8
7
|
// ----------------------------------------------
|
|
9
|
-
@font-stack-main:
|
|
10
|
-
@font-stack-headers:
|
|
8
|
+
@font-stack-main: 'Roboto', sans-serif;
|
|
9
|
+
@font-stack-headers: 'Poppins', sans-serif;
|
|
11
10
|
|
|
12
11
|
@font-size-base: 14px;
|
|
13
12
|
|
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
@value vertical-breakpoint-sm: 640px;
|
|
13
13
|
|
|
14
14
|
.variables {
|
|
15
|
-
|
|
16
15
|
/* Basic colors */
|
|
17
|
-
/* ---------------------------------------------- */
|
|
18
16
|
--color-gray-xxx-light: #f6f6f6;
|
|
19
17
|
--color-gray-xx-light: #e0e0e0;
|
|
20
18
|
--color-gray-x-light: #bbb;
|
|
@@ -24,7 +22,6 @@
|
|
|
24
22
|
--color-gray-x-dark: #353535;
|
|
25
23
|
|
|
26
24
|
/* Branding colors */
|
|
27
|
-
/* ---------------------------------------------- */
|
|
28
25
|
--color-mfly-green: #00c364;
|
|
29
26
|
--color-mfly-blue-dark: #26293d;
|
|
30
27
|
--color-mfly-blue: #039dda;
|
|
@@ -33,7 +30,6 @@
|
|
|
33
30
|
--color-mfly-red: #fb2654;
|
|
34
31
|
|
|
35
32
|
/* UI colors */
|
|
36
|
-
/* ---------------------------------------------- */
|
|
37
33
|
--color-success-light: #d8f2e6;
|
|
38
34
|
--color-success: #008c48;
|
|
39
35
|
--color-danger-light: #f9ebee;
|
|
@@ -42,89 +38,76 @@
|
|
|
42
38
|
--color-warning: #de6a44;
|
|
43
39
|
--color-info-light: #d8edf5;
|
|
44
40
|
--color-info: #015677;
|
|
45
|
-
--color-dirty-control: #
|
|
41
|
+
--color-dirty-control: #54a844;
|
|
46
42
|
|
|
47
43
|
/* Button colors */
|
|
48
|
-
|
|
49
|
-
--color-button-default-
|
|
50
|
-
--color-button-default-
|
|
51
|
-
--color-button-default-
|
|
52
|
-
--color-button-default-hover-
|
|
53
|
-
--color-button-
|
|
54
|
-
|
|
55
|
-
--color-button-primary-
|
|
56
|
-
--color-button-primary-background: color-gray-medium;
|
|
57
|
-
--color-button-primary-border: color-gray-medium;
|
|
44
|
+
--color-button-default-text: var(--color-gray-medium);
|
|
45
|
+
--color-button-default-background: #fff;
|
|
46
|
+
--color-button-default-border: #a9adb1;
|
|
47
|
+
--color-button-default-hover-background: var(--color-gray-xxx-light);
|
|
48
|
+
--color-button-default-hover-border: var(--color-gray-medium);
|
|
49
|
+
--color-button-primary-text: #fff;
|
|
50
|
+
--color-button-primary-background: var(--color-gray-medium);
|
|
51
|
+
--color-button-primary-border: var(--color-gray-medium);
|
|
58
52
|
|
|
59
53
|
/* Box shadows */
|
|
60
|
-
|
|
61
|
-
--dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
|
|
54
|
+
--dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
62
55
|
--dropup-box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.15);
|
|
63
|
-
--modal-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
|
|
64
|
-
--navbar-box-shadow: 0 3px 5px rgba(25, 25, 25, .75);
|
|
65
|
-
--notification-box-shadow: 0 5px 8px rgba(0, 0, 0, .5);
|
|
66
|
-
|
|
67
|
-
--input-focus-box-shadow: 0 0 8px rgba(
|
|
68
|
-
--input-dirty-focus-box-shadow:
|
|
69
|
-
--input-dirty-focus-box-shadow-
|
|
70
|
-
--input-
|
|
71
|
-
--input-invalid-focus-box-shadow:
|
|
72
|
-
--input-invalid-focus-box-shadow-
|
|
73
|
-
--input-invalid-focus-box-shadow-horz3: 3px 0 8px rgba(169, 68, 66, .8);
|
|
56
|
+
--modal-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
|
57
|
+
--navbar-box-shadow: 0 3px 5px rgba(25, 25, 25, 0.75);
|
|
58
|
+
--notification-box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
|
|
59
|
+
--input-focus-box-shadow: 0 0 8px rgba(187, 187, 187, 0.9);
|
|
60
|
+
--input-dirty-focus-box-shadow: 0 0 8px rgba(84, 168, 68, 0.8);
|
|
61
|
+
--input-dirty-focus-box-shadow-horz2: 2px 0 8px rgba(84, 168, 68, 0.8);
|
|
62
|
+
--input-dirty-focus-box-shadow-horz3: 3px 0 8px rgba(84, 168, 68, 0.8);
|
|
63
|
+
--input-invalid-focus-box-shadow: 0 0 8px rgba(169, 68, 66, 0.8);
|
|
64
|
+
--input-invalid-focus-box-shadow-horz2: 2px 0 8px rgba(169, 68, 66, 0.8);
|
|
65
|
+
--input-invalid-focus-box-shadow-horz3: 3px 0 8px rgba(169, 68, 66, 0.8);
|
|
74
66
|
|
|
75
67
|
/* Inputs */
|
|
76
|
-
/* ---------------------------------------------- */
|
|
77
68
|
--form-input-border-width: 1px;
|
|
78
69
|
--form-input-border-radius: 3px;
|
|
79
70
|
--form-input-height: 34px;
|
|
80
71
|
|
|
81
72
|
/* Input groups */
|
|
82
|
-
/* ---------------------------------------------- */
|
|
83
73
|
--form-group-margin-bottom: 20px;
|
|
84
74
|
|
|
85
75
|
/* Grid breakpoints */
|
|
86
|
-
/* ---------------------------------------------- */
|
|
87
76
|
--grid-breakpoint-sm: grid-breakpoint-sm; /* Note: everything from 0 to 768px is "xs" grid size */
|
|
88
77
|
--grid-breakpoint-md: grid-breakpoint-md;
|
|
89
78
|
--grid-breakpoint-lg: grid-breakpoint-lg;
|
|
90
79
|
|
|
91
80
|
/* Vertical breakpoints */
|
|
92
|
-
/* ---------------------------------------------- */
|
|
93
81
|
--vertical-breakpoint-sm: 640px;
|
|
94
82
|
|
|
95
83
|
/* Site header sizes */
|
|
96
|
-
/* ---------------------------------------------- */
|
|
97
84
|
--site-header-height: 100px;
|
|
98
85
|
--site-header-height-small: 60px;
|
|
99
86
|
|
|
100
87
|
/* Typography */
|
|
101
|
-
|
|
102
|
-
--font-stack-
|
|
103
|
-
--font-stack-headers: "Poppins", sans-serif;
|
|
104
|
-
|
|
88
|
+
--font-stack-main: 'Roboto', sans-serif;
|
|
89
|
+
--font-stack-headers: 'Poppins', sans-serif;
|
|
105
90
|
--font-size-base: 14px;
|
|
106
|
-
|
|
107
91
|
--font-line-height-base: 1.7;
|
|
108
92
|
--font-line-height-header: 1.3;
|
|
109
|
-
|
|
110
93
|
--font-weight-light: 300;
|
|
111
94
|
--font-weight-regular: 400;
|
|
112
95
|
--font-weight-medium: 500;
|
|
113
96
|
--font-weight-bold: 700;
|
|
114
97
|
|
|
115
|
-
/* Z-index */
|
|
116
|
-
/* ---------------------------------------------- */
|
|
117
98
|
/**
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
99
|
+
* Z-index
|
|
100
|
+
*
|
|
101
|
+
* Eventually, we want to move to a set of z-index constants, so we know for
|
|
102
|
+
* sure there are no rogue values floating around and we can totally predict
|
|
103
|
+
* the stacking order.
|
|
104
|
+
*
|
|
105
|
+
* However, for now we are starting by just collecting z-index values in these
|
|
106
|
+
* variables. This lets us see the relative stacking of elements even if they're
|
|
107
|
+
* not standardized.
|
|
108
|
+
*
|
|
109
|
+
* For example: https://gist.github.com/toadkicker/fc290e84d7bd861e3e73
|
|
110
|
+
*/
|
|
128
111
|
--z-index-spectrum-preview: 0;
|
|
129
112
|
--z-index-ftm: 1005;
|
|
130
113
|
--z-index-site-header: 1024;
|
|
@@ -18,24 +18,6 @@
|
|
|
18
18
|
opacity: 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
@keyframes loader {
|
|
22
|
-
0% {
|
|
23
|
-
opacity: 0;
|
|
24
|
-
transform: translateX(-300px);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
33%,
|
|
28
|
-
66% {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
transform: translateX(0);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
100% {
|
|
34
|
-
opacity: 0;
|
|
35
|
-
transform: translateX(300px);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
21
|
.c-loading-indicator__dot:nth-child(6) {
|
|
40
22
|
animation: loader 3s infinite ease-in-out;
|
|
41
23
|
}
|
|
@@ -60,3 +42,21 @@
|
|
|
60
42
|
animation: loader 3s 500ms infinite ease-in-out;
|
|
61
43
|
}
|
|
62
44
|
}
|
|
45
|
+
|
|
46
|
+
@keyframes loader {
|
|
47
|
+
0% {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
transform: translateX(-300px);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
33%,
|
|
53
|
+
66% {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
transform: translateX(0);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
100% {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transform: translateX(300px);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
@import '../less/variables/colors.less';
|
|
2
|
-
@import '../less/variables/typography.less';
|
|
3
|
-
|
|
4
|
-
// Import the needed sub-component styles so consumers don't have to be aware
|
|
5
|
-
// of them. It's expected that all less object styles are available, though.
|
|
6
1
|
@import '../date-input/date-input.less';
|
|
7
2
|
@import '../date-time-zone-picker/date-time-zone-picker.less';
|
|
8
3
|
@import '../dropdown/dropdown.less';
|
|
9
4
|
@import '../tag-input/tag-input.less';
|
|
5
|
+
@import '../less/variables/colors.less';
|
|
6
|
+
@import '../less/variables/typography.less';
|
|
10
7
|
|
|
8
|
+
// ^ Import the needed sub-component styles so consumers don't have to be aware
|
|
9
|
+
// of them. It's expected that all less object styles are available, though.
|
|
11
10
|
|
|
12
11
|
// Bootstrap override, of course
|
|
13
12
|
input.c-metadata-form__bulk-radio {
|
|
@@ -115,17 +114,17 @@ label.c-metadata-form__bulk-radio__label {
|
|
|
115
114
|
&.is-unit-list {
|
|
116
115
|
display: inline-block;
|
|
117
116
|
width: 80px;
|
|
117
|
+
}
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
right: -22px;
|
|
123
|
-
top: 6px;
|
|
124
|
-
}
|
|
119
|
+
&.is-unit-list .o-text-validation {
|
|
120
|
+
right: -156px;
|
|
121
|
+
}
|
|
125
122
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
&.is-unit-list::after {
|
|
124
|
+
content: attr(data-after-content);
|
|
125
|
+
position: absolute;
|
|
126
|
+
right: -22px;
|
|
127
|
+
top: 6px;
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
130
|
|