@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,7 +1,6 @@
|
|
|
1
1
|
@import '../variables/colors.less';
|
|
2
2
|
@import '../variables/typography.less';
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
// Use these classes to opt-in to header styling.
|
|
6
5
|
.o-hero,
|
|
7
6
|
.o-h1,
|
|
@@ -68,17 +67,13 @@ h1.o-page-title {
|
|
|
68
67
|
|
|
69
68
|
.o-page-title__subtle {
|
|
70
69
|
color: @color-gray-x-light;
|
|
70
|
+
|
|
71
|
+
&.is-react {
|
|
72
|
+
margin-right: 12px;
|
|
73
|
+
}
|
|
71
74
|
}
|
|
72
75
|
|
|
73
76
|
.o-page-title__icon {
|
|
74
77
|
color: @color-gray-x-light;
|
|
75
78
|
margin-right: 2px;
|
|
76
79
|
}
|
|
77
|
-
|
|
78
|
-
.o-page-title__subtle {
|
|
79
|
-
color: @color-gray-x-light;
|
|
80
|
-
|
|
81
|
-
&.is-react {
|
|
82
|
-
margin-right: 12px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@import './buttons';
|
|
2
|
-
@import './containers';
|
|
3
|
-
@import './forms';
|
|
4
|
-
@import './grid';
|
|
5
|
-
@import './headers';
|
|
6
|
-
@import './labels';
|
|
7
|
-
@import './links';
|
|
8
|
-
@import './modals';
|
|
9
|
-
@import './radios-checkboxes';
|
|
10
|
-
@import './tables';
|
|
11
|
-
@import './tabs';
|
|
1
|
+
@import './buttons.less';
|
|
2
|
+
@import './containers.less';
|
|
3
|
+
@import './forms.less';
|
|
4
|
+
@import './grid.less';
|
|
5
|
+
@import './headers.less';
|
|
6
|
+
@import './labels.less';
|
|
7
|
+
@import './links.less';
|
|
8
|
+
@import './modals.less';
|
|
9
|
+
@import './radios-checkboxes.less';
|
|
10
|
+
@import './tables.less';
|
|
11
|
+
@import './tabs.less';
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
@import '../variables/colors.less';
|
|
5
5
|
@import '../variables/typography.less';
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
.o-label {
|
|
9
8
|
background-color: @color-gray-x-dark;
|
|
10
9
|
border-radius: 0.25em;
|
|
11
|
-
color:
|
|
10
|
+
color: #fff;
|
|
12
11
|
display: inline;
|
|
13
12
|
font-size: 11px;
|
|
14
13
|
font-weight: @font-weight-medium;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@import '../variables/colors.less';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
.o-link {
|
|
5
4
|
background: transparent;
|
|
6
5
|
border: none;
|
|
@@ -30,18 +29,18 @@
|
|
|
30
29
|
align-items: baseline;
|
|
31
30
|
display: inline-flex;
|
|
32
31
|
text-decoration: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.has-icon > .far,
|
|
35
|
+
&.has-icon > .fal,
|
|
36
|
+
&.has-icon > .fas,
|
|
37
|
+
&.has-icon > .fab,
|
|
38
|
+
&.has-icon > .mfly-font {
|
|
39
|
+
margin-right: 5px;
|
|
40
|
+
}
|
|
33
41
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
& > .fas,
|
|
37
|
-
& > .fab,
|
|
38
|
-
& > .mfly-font {
|
|
39
|
-
margin-right: 5px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
& > .o-link__text {
|
|
43
|
-
text-decoration: underline;
|
|
44
|
-
}
|
|
42
|
+
&.has-icon > .o-link__text {
|
|
43
|
+
text-decoration: underline;
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
&.is-disabled {
|
|
@@ -21,25 +21,6 @@
|
|
|
21
21
|
outline-offset: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
/* Links that wrap an icon and some text (we don't want the icon to be underlined) */
|
|
25
|
-
&.hasIcon {
|
|
26
|
-
align-items: baseline;
|
|
27
|
-
display: inline-flex;
|
|
28
|
-
text-decoration: none;
|
|
29
|
-
|
|
30
|
-
:global(.far),
|
|
31
|
-
:global(.fal),
|
|
32
|
-
:global(.fas),
|
|
33
|
-
:global(.fab),
|
|
34
|
-
:global(.mfly-font) {
|
|
35
|
-
margin-right: 5px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.linkText {
|
|
39
|
-
text-decoration: underline;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
24
|
&.isDisabled {
|
|
44
25
|
color: var(--color-gray-x-light);
|
|
45
26
|
cursor: not-allowed;
|
|
@@ -55,3 +36,22 @@
|
|
|
55
36
|
transition-duration: 0s;
|
|
56
37
|
}
|
|
57
38
|
}
|
|
39
|
+
|
|
40
|
+
/* Links that wrap an icon and some text (we don't want the icon to be underlined) */
|
|
41
|
+
.link.hasIcon {
|
|
42
|
+
align-items: baseline;
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
text-decoration: none;
|
|
45
|
+
|
|
46
|
+
:global(.far),
|
|
47
|
+
:global(.fal),
|
|
48
|
+
:global(.fas),
|
|
49
|
+
:global(.fab),
|
|
50
|
+
:global(.mfly-font) {
|
|
51
|
+
margin-right: 5px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.linkText {
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
@import '../variables/colors.less';
|
|
5
5
|
@import '../variables/typography.less';
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
@modal-padding: 15px;
|
|
9
8
|
|
|
10
9
|
.o-modal {
|
|
11
|
-
background-color:
|
|
10
|
+
background-color: #fff;
|
|
12
11
|
border-radius: 3px;
|
|
13
12
|
box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
|
|
14
13
|
max-width: 600px;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
+
/* stylelint-disable max-nesting-depth */
|
|
2
|
+
|
|
1
3
|
//
|
|
2
4
|
// - Checkboxes & Radio pill buttons
|
|
3
5
|
// -------------------------------------------------------------
|
|
4
6
|
@import '../variables/colors.less';
|
|
5
7
|
@import '../variables/typography.less';
|
|
6
8
|
|
|
7
|
-
|
|
8
9
|
// Standard Checkboxes & Radio
|
|
9
10
|
.o-radio,
|
|
10
11
|
.o-checkbox {
|
|
11
12
|
display: block;
|
|
12
|
-
min-height: 20px;
|
|
13
|
-
margin-top: 10px;
|
|
14
13
|
margin-bottom: 10px;
|
|
14
|
+
margin-top: 10px;
|
|
15
|
+
min-height: 20px;
|
|
15
16
|
|
|
16
17
|
label {
|
|
17
18
|
align-items: stretch;
|
|
19
|
+
cursor: pointer;
|
|
18
20
|
display: flex;
|
|
19
|
-
padding-left: 20px;
|
|
20
|
-
margin-bottom: 0;
|
|
21
|
-
font-weight: 400;
|
|
22
21
|
font-family: @font-stack-main;
|
|
23
|
-
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
padding-left: 20px;
|
|
24
25
|
|
|
25
26
|
&.o-checkbox__label--disabled {
|
|
26
27
|
color: #999;
|
|
@@ -31,9 +32,8 @@
|
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
input[type=
|
|
36
|
-
input[type=checkbox] {
|
|
35
|
+
input[type='radio'],
|
|
36
|
+
input[type='checkbox'] {
|
|
37
37
|
margin-left: -20px;
|
|
38
38
|
margin-right: 8px;
|
|
39
39
|
}
|
|
@@ -42,13 +42,12 @@
|
|
|
42
42
|
// Inline versions
|
|
43
43
|
.o-radio-inline,
|
|
44
44
|
.o-checkbox-inline {
|
|
45
|
-
|
|
46
45
|
.o-form-group & {
|
|
47
46
|
cursor: pointer;
|
|
48
47
|
display: inline-block;
|
|
49
48
|
font-weight: 400;
|
|
50
|
-
padding-left: 40px;
|
|
51
49
|
margin-bottom: 0;
|
|
50
|
+
padding-left: 40px;
|
|
52
51
|
vertical-align: middle;
|
|
53
52
|
|
|
54
53
|
&:nth-of-type(1),
|
|
@@ -57,21 +56,21 @@
|
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
|
|
60
|
-
input[type=radio],
|
|
61
|
-
input[type=checkbox] {
|
|
59
|
+
input[type='radio'],
|
|
60
|
+
input[type='checkbox'] {
|
|
62
61
|
float: left;
|
|
63
62
|
margin-left: -20px;
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
|
|
68
66
|
// Inline "selections" are special textboxes are dropdowns that
|
|
69
67
|
// appear as "part of" a radio or checkbox label
|
|
70
68
|
.o-inline-selection-text-group {
|
|
71
|
-
input[type=radio] {
|
|
69
|
+
input[type='radio'] {
|
|
72
70
|
margin-top: 11px;
|
|
73
71
|
}
|
|
74
72
|
}
|
|
73
|
+
|
|
75
74
|
.o-inline-selection-text-group__text {
|
|
76
75
|
display: inline-block;
|
|
77
76
|
padding: 0 4px;
|
|
@@ -81,21 +80,22 @@
|
|
|
81
80
|
display: inline-block;
|
|
82
81
|
}
|
|
83
82
|
}
|
|
83
|
+
|
|
84
84
|
.o-inline-selection-text-group__text--small {
|
|
85
85
|
width: 74px;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
// Disabled classes
|
|
90
89
|
.c-disabled-option {
|
|
91
90
|
color: @color-gray-light;
|
|
92
91
|
font-style: italic;
|
|
93
92
|
}
|
|
93
|
+
|
|
94
94
|
.c-disabled-option--warning {
|
|
95
95
|
color: @color-danger;
|
|
96
|
+
display: block;
|
|
96
97
|
font-style: normal;
|
|
97
98
|
font-weight: bold;
|
|
98
|
-
display: block;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
// Checkboxes & Radio pill buttons
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
// ------------------------------------------------------------------
|
|
112
112
|
.o-radio-pill,
|
|
113
113
|
.o-checkbox-pill {
|
|
114
|
-
position: absolute;
|
|
115
114
|
left: -999em;
|
|
115
|
+
position: absolute;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.o-radio-pill-label,
|
|
@@ -139,12 +139,11 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
&.is-label-only {
|
|
142
|
-
|
|
143
|
-
&:before{
|
|
142
|
+
&::before {
|
|
144
143
|
display: none;
|
|
145
144
|
}
|
|
146
145
|
|
|
147
|
-
& .o-radio-pill-label__label{
|
|
146
|
+
& .o-radio-pill-label__label {
|
|
148
147
|
align-items: center;
|
|
149
148
|
display: flex;
|
|
150
149
|
|
|
@@ -157,44 +156,43 @@
|
|
|
157
156
|
}
|
|
158
157
|
|
|
159
158
|
// The 'before' pseudo-selector handles the FA checkmark.
|
|
160
|
-
.o-radio-pill-label
|
|
161
|
-
.o-checkbox-pill-label
|
|
162
|
-
|
|
159
|
+
.o-radio-pill-label::before,
|
|
160
|
+
.o-checkbox-pill-label::before {
|
|
163
161
|
color: @color-gray-medium;
|
|
164
|
-
margin-right: 4px;
|
|
165
|
-
transition: all 0.4s;
|
|
166
162
|
|
|
167
163
|
// Pasted in the font awesome "fa" class properties here:
|
|
168
164
|
display: inline-block;
|
|
169
|
-
font: normal normal 400 14px/1
|
|
165
|
+
font: normal normal 400 14px/1 'Font Awesome 5 Pro';
|
|
170
166
|
font-size: inherit;
|
|
171
|
-
text-rendering: auto;
|
|
172
167
|
-webkit-font-smoothing: antialiased;
|
|
173
168
|
-moz-osx-font-smoothing: grayscale;
|
|
169
|
+
margin-right: 4px;
|
|
174
170
|
|
|
175
171
|
// Fixed width and center align prevent the icon from jumping around
|
|
176
172
|
text-align: center;
|
|
173
|
+
text-rendering: auto;
|
|
174
|
+
transition: all 0.4s;
|
|
177
175
|
width: 20px;
|
|
178
176
|
}
|
|
179
177
|
|
|
180
|
-
.o-radio-pill:checked + .o-radio-pill-label
|
|
181
|
-
content:
|
|
178
|
+
.o-radio-pill:checked + .o-radio-pill-label::before {
|
|
179
|
+
content: '\f058'; // fa-check-circle
|
|
182
180
|
}
|
|
183
181
|
|
|
184
|
-
.o-radio-pill:not(:checked) + .o-radio-pill-label
|
|
185
|
-
content:
|
|
182
|
+
.o-radio-pill:not(:checked) + .o-radio-pill-label::before {
|
|
183
|
+
content: '\f111'; // fa-circle-thin
|
|
186
184
|
}
|
|
187
185
|
|
|
188
|
-
.o-checkbox-pill:checked + .o-checkbox-pill-label
|
|
189
|
-
content:
|
|
186
|
+
.o-checkbox-pill:checked + .o-checkbox-pill-label::before {
|
|
187
|
+
content: '\f14a'; // fa-check-square
|
|
190
188
|
}
|
|
191
189
|
|
|
192
|
-
.o-checkbox-pill:not(:checked) + .o-checkbox-pill-label
|
|
193
|
-
content:
|
|
190
|
+
.o-checkbox-pill:not(:checked) + .o-checkbox-pill-label::before {
|
|
191
|
+
content: '\f0c8'; // fa-square-o
|
|
194
192
|
}
|
|
195
193
|
|
|
196
194
|
// Accessibility & tab-selection visual feedback
|
|
197
|
-
.o-radio-pill:focus
|
|
195
|
+
.o-radio-pill:focus + .o-radio-pill-label,
|
|
198
196
|
.o-checkbox-pill:focus + .o-checkbox-pill-label {
|
|
199
197
|
box-shadow: 0 0 3px @color-success;
|
|
200
198
|
}
|
|
@@ -211,13 +209,13 @@
|
|
|
211
209
|
}
|
|
212
210
|
|
|
213
211
|
// Checked ones are colored green
|
|
214
|
-
.o-radio-pill:checked
|
|
212
|
+
.o-radio-pill:checked + .o-radio-pill-label,
|
|
215
213
|
.o-checkbox-pill:checked + .o-checkbox-pill-label {
|
|
216
214
|
background-color: @color-success-light;
|
|
217
215
|
border-color: darken(@color-success-light, 10%);
|
|
218
216
|
color: @color-success;
|
|
219
217
|
|
|
220
|
-
|
|
218
|
+
&::before {
|
|
221
219
|
color: @color-success;
|
|
222
220
|
}
|
|
223
221
|
}
|
|
@@ -227,7 +225,9 @@
|
|
|
227
225
|
.o-checkbox-pill-label--compact {
|
|
228
226
|
display: inline-block;
|
|
229
227
|
|
|
230
|
-
|
|
228
|
+
&::before {
|
|
231
229
|
margin-right: 0;
|
|
232
230
|
}
|
|
233
231
|
}
|
|
232
|
+
|
|
233
|
+
/* stylelint-enable max-nesting-depth */
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
@import '../variables/pages.less';
|
|
7
7
|
@import '../variables/typography.less';
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
// Basic structure
|
|
11
10
|
// ----------------------------------------------
|
|
12
11
|
.o-table {
|
|
13
|
-
width: 100%;
|
|
14
|
-
max-width: 100%;
|
|
15
12
|
background-color: transparent;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
width: 100%;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
th {
|
|
@@ -32,8 +31,8 @@ th {
|
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
.o-table > thead > tr > th {
|
|
35
|
-
vertical-align: bottom;
|
|
36
34
|
border-bottom: 1px solid @color-gray-light;
|
|
35
|
+
vertical-align: bottom;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
.o-table > caption + thead > tr:first-child > th,
|
|
@@ -53,7 +52,6 @@ th {
|
|
|
53
52
|
background-color: #fff;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
|
|
57
55
|
// Style modifiers for table cells
|
|
58
56
|
// ----------------------------------------------
|
|
59
57
|
|
|
@@ -74,7 +72,6 @@ th {
|
|
|
74
72
|
.o-table.has-touch-targets > thead > tr > td,
|
|
75
73
|
.o-table.has-touch-targets > tbody > tr > td,
|
|
76
74
|
.o-table.has-touch-targets > tfoot > tr > td {
|
|
77
|
-
|
|
78
75
|
@media (max-width: @grid-breakpoint-sm) {
|
|
79
76
|
padding-bottom: 14px;
|
|
80
77
|
padding-top: 14px;
|
|
@@ -118,7 +115,6 @@ th {
|
|
|
118
115
|
cursor: pointer;
|
|
119
116
|
}
|
|
120
117
|
|
|
121
|
-
|
|
122
118
|
// Table row highlighting
|
|
123
119
|
//
|
|
124
120
|
// (The last one declared here gets priority)
|
|
@@ -172,7 +168,6 @@ th {
|
|
|
172
168
|
background-color: @color-danger-light;
|
|
173
169
|
}
|
|
174
170
|
|
|
175
|
-
|
|
176
171
|
// Table actions column
|
|
177
172
|
// ----------------------------------------------
|
|
178
173
|
.o-table-actions {
|
|
@@ -193,43 +188,41 @@ th {
|
|
|
193
188
|
padding-left: 8px;
|
|
194
189
|
}
|
|
195
190
|
|
|
196
|
-
|
|
197
191
|
// Static width using grid classes
|
|
198
192
|
// ----------------------------------------------
|
|
199
|
-
table col[class*=col-] {
|
|
200
|
-
position: static;
|
|
193
|
+
table col[class*='col-'] {
|
|
201
194
|
display: table-column;
|
|
202
195
|
float: none;
|
|
196
|
+
position: static;
|
|
203
197
|
}
|
|
204
198
|
|
|
205
|
-
table td[class*=col-],
|
|
206
|
-
table th[class*=col-] {
|
|
207
|
-
position: static;
|
|
199
|
+
table td[class*='col-'],
|
|
200
|
+
table th[class*='col-'] {
|
|
208
201
|
display: table-cell;
|
|
209
202
|
float: none;
|
|
203
|
+
position: static;
|
|
210
204
|
}
|
|
211
205
|
|
|
212
|
-
|
|
213
206
|
// Table thumbnail-spinner
|
|
214
207
|
// ----------------------------------------------
|
|
215
208
|
.o-table-item-thumbnail {
|
|
216
|
-
|
|
217
|
-
width: 100%;
|
|
209
|
+
background-color: #353535;
|
|
218
210
|
height: auto;
|
|
211
|
+
line-height: 50px;
|
|
212
|
+
margin: 5px 10px 5px 0;
|
|
219
213
|
max-height: 50px;
|
|
220
214
|
max-width: 50px;
|
|
221
|
-
margin: 5px 10px 5px 0;
|
|
222
215
|
min-height: 50px;
|
|
223
|
-
|
|
216
|
+
width: 100%;
|
|
224
217
|
}
|
|
225
218
|
|
|
226
219
|
.o-table-item-thumbnail-fixed {
|
|
227
|
-
line-height: 50px;
|
|
228
220
|
background-color: #353535;
|
|
221
|
+
font-size: 0;
|
|
222
|
+
height: 50px;
|
|
223
|
+
line-height: 50px;
|
|
229
224
|
text-align: center;
|
|
230
225
|
width: 50px;
|
|
231
|
-
height: 50px;
|
|
232
|
-
font-size: 0;
|
|
233
226
|
}
|
|
234
227
|
|
|
235
228
|
.o-table-item-thumbnail-fixed--is-inline {
|
|
@@ -238,7 +231,7 @@ table th[class*=col-] {
|
|
|
238
231
|
}
|
|
239
232
|
|
|
240
233
|
.o-table-item-thumbnail-fixed__thumbnail {
|
|
241
|
-
max-width: 50px;
|
|
242
234
|
max-height: 50px;
|
|
235
|
+
max-width: 50px;
|
|
243
236
|
vertical-align: middle;
|
|
244
237
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// For keyboard users, override everything with a Big Blue Border when focused on any element
|
|
2
2
|
body.user-is-tabbing *:focus {
|
|
3
|
-
|
|
3
|
+
/* stylelint-disable declaration-no-important */
|
|
4
|
+
outline: 2px solid #7aacfe !important; /* for non-webkit browsers */
|
|
4
5
|
outline: 5px auto -webkit-focus-ring-color !important;
|
|
6
|
+
/* stylelint-enable declaration-no-important */
|
|
5
7
|
}
|
|
6
8
|
|
|
7
9
|
.o-button {
|
|
@@ -15,11 +17,11 @@ body.user-is-tabbing *:focus {
|
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
.o-button--primary:focus {
|
|
18
|
-
box-shadow: inset 1000px 400px
|
|
20
|
+
box-shadow: inset 1000px 400px 0 0 rgba(0, 0, 0, 0), 0 0 8px rgba(131, 131, 131, 0.9);
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
a:focus,
|
|
22
|
-
.o-link:focus
|
|
24
|
+
.o-link:focus {
|
|
23
25
|
outline-offset: 2px;
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -27,7 +29,7 @@ a:focus,
|
|
|
27
29
|
.is-sr,
|
|
28
30
|
.sr-only {
|
|
29
31
|
border: 0;
|
|
30
|
-
clip: rect(0,0,0,0);
|
|
32
|
+
clip: rect(0, 0, 0, 0);
|
|
31
33
|
height: 1px;
|
|
32
34
|
margin: -1px;
|
|
33
35
|
overflow: hidden;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
// - fadeInToInlineBlock
|
|
6
6
|
// -------------------------------------------------------------
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
// Apply these animations to show a display: none element and
|
|
10
9
|
// also transition its opacity from 0 to 1.
|
|
11
10
|
// -------------------------------------------------------------
|
|
@@ -14,10 +13,12 @@
|
|
|
14
13
|
display: none;
|
|
15
14
|
opacity: 0;
|
|
16
15
|
}
|
|
16
|
+
|
|
17
17
|
1% {
|
|
18
18
|
display: block;
|
|
19
19
|
opacity: 0;
|
|
20
20
|
}
|
|
21
|
+
|
|
21
22
|
100% {
|
|
22
23
|
opacity: 1;
|
|
23
24
|
}
|
|
@@ -28,10 +29,12 @@
|
|
|
28
29
|
display: none;
|
|
29
30
|
opacity: 0;
|
|
30
31
|
}
|
|
32
|
+
|
|
31
33
|
1% {
|
|
32
34
|
display: inline-block;
|
|
33
35
|
opacity: 0;
|
|
34
36
|
}
|
|
37
|
+
|
|
35
38
|
100% {
|
|
36
39
|
opacity: 1;
|
|
37
40
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* stylelint-disable declaration-no-important */
|
|
2
|
+
|
|
1
3
|
//
|
|
2
4
|
// Grid Utilities
|
|
3
5
|
//
|
|
@@ -8,37 +10,35 @@
|
|
|
8
10
|
// -------------------------------------------------------------
|
|
9
11
|
@import '../variables/pages.less';
|
|
10
12
|
|
|
11
|
-
|
|
12
13
|
// Show (specific)
|
|
13
14
|
//
|
|
14
15
|
// Apply these classes to show at the specified size ONLY.
|
|
15
16
|
// Assumes you have hidden the element on your own.
|
|
16
17
|
// -------------------------------------------------------------
|
|
17
18
|
@media (min-width: 0) and (max-width: (@grid-breakpoint-sm - 1)) {
|
|
18
|
-
.u-visible-xs--block
|
|
19
|
-
.u-visible-xs--inline
|
|
19
|
+
.u-visible-xs--block { display: block !important; }
|
|
20
|
+
.u-visible-xs--inline { display: inline !important; }
|
|
20
21
|
.u-visible-xs--inline-block { display: inline-block !important; }
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
@media (min-width: @grid-breakpoint-sm) and (max-width: (@grid-breakpoint-md - 1)) {
|
|
24
|
-
.u-visible-sm--block
|
|
25
|
-
.u-visible-sm--inline
|
|
25
|
+
.u-visible-sm--block { display: block !important; }
|
|
26
|
+
.u-visible-sm--inline { display: inline !important; }
|
|
26
27
|
.u-visible-sm--inline-block { display: inline-block !important; }
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
@media (min-width: @grid-breakpoint-md) and (max-width: (@grid-breakpoint-lg - 1)) {
|
|
30
|
-
.u-visible-md--block
|
|
31
|
-
.u-visible-md--inline
|
|
31
|
+
.u-visible-md--block { display: block !important; }
|
|
32
|
+
.u-visible-md--inline { display: inline !important; }
|
|
32
33
|
.u-visible-md--inline-block { display: inline-block !important; }
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
@media (min-width: @grid-breakpoint-lg) {
|
|
36
|
-
.u-visible-lg--block
|
|
37
|
-
.u-visible-lg--inline
|
|
37
|
+
.u-visible-lg--block { display: block !important; }
|
|
38
|
+
.u-visible-lg--inline { display: inline !important; }
|
|
38
39
|
.u-visible-lg--inline-block { display: inline-block !important; }
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
|
|
42
42
|
// Show (greedy)
|
|
43
43
|
//
|
|
44
44
|
// Apply these classes to show at the specified sizes or
|
|
@@ -46,30 +46,29 @@
|
|
|
46
46
|
// Assumes you have hidden the element on your own.
|
|
47
47
|
// -------------------------------------------------------------
|
|
48
48
|
@media (max-width: (@grid-breakpoint-md - 1)) {
|
|
49
|
-
.u-visible-sm--and-smaller-block
|
|
50
|
-
.u-visible-sm--and-smaller-inline
|
|
49
|
+
.u-visible-sm--and-smaller-block { display: block !important; }
|
|
50
|
+
.u-visible-sm--and-smaller-inline { display: inline !important; }
|
|
51
51
|
.u-visible-sm--and-smaller-inline-block { display: inline-block !important; }
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@media (max-width: (@grid-breakpoint-lg - 1)) {
|
|
55
|
-
.u-visible-md--and-smaller-block
|
|
56
|
-
.u-visible-md--and-smaller-inline
|
|
55
|
+
.u-visible-md--and-smaller-block { display: block !important; }
|
|
56
|
+
.u-visible-md--and-smaller-inline { display: inline !important; }
|
|
57
57
|
.u-visible-md--and-smaller-inline-block { display: inline-block !important; }
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@media (min-width: @grid-breakpoint-sm) {
|
|
61
|
-
.u-visible-sm--and-larger-block
|
|
62
|
-
.u-visible-sm--and-larger-inline
|
|
61
|
+
.u-visible-sm--and-larger-block { display: block !important; }
|
|
62
|
+
.u-visible-sm--and-larger-inline { display: inline !important; }
|
|
63
63
|
.u-visible-sm--and-larger-inline-block { display: inline-block !important; }
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@media (min-width: @grid-breakpoint-md) {
|
|
67
|
-
.u-visible-md--and-larger-block
|
|
68
|
-
.u-visible-md--and-larger-inline
|
|
67
|
+
.u-visible-md--and-larger-block { display: block !important; }
|
|
68
|
+
.u-visible-md--and-larger-inline { display: inline !important; }
|
|
69
69
|
.u-visible-md--and-larger-inline-block { display: inline-block !important; }
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
73
72
|
// Hide (specific)
|
|
74
73
|
//
|
|
75
74
|
// Apply these classes to hide at the specified size ONLY.
|
|
@@ -91,7 +90,6 @@
|
|
|
91
90
|
.u-hidden-lg { display: none !important; }
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
|
|
95
93
|
// Hide (greedy)
|
|
96
94
|
//
|
|
97
95
|
// Apply these classes to hide at the specified sizes or
|
|
@@ -113,3 +111,5 @@
|
|
|
113
111
|
@media (min-width: @grid-breakpoint-md) {
|
|
114
112
|
.u-hidden-md--and-larger { display: none !important; }
|
|
115
113
|
}
|
|
114
|
+
|
|
115
|
+
/* stylelint-enable declaration-no-important */
|