@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
|
@@ -3,20 +3,19 @@
|
|
|
3
3
|
@import '../less/variables/z-index.less';
|
|
4
4
|
|
|
5
5
|
@modal-padding: 15px;
|
|
6
|
-
@bounce-easing-curve: cubic-bezier(.75, .7, .3, 1.75);
|
|
6
|
+
@bounce-easing-curve: cubic-bezier(0.75, 0.7, 0.3, 1.75);
|
|
7
7
|
|
|
8
8
|
.c-modal__backdrop {
|
|
9
9
|
background-color: rgba(0, 0, 0, 0.35);
|
|
10
10
|
bottom: 0;
|
|
11
11
|
left: 0;
|
|
12
|
+
opacity: 0;
|
|
12
13
|
overflow: auto;
|
|
13
14
|
position: fixed;
|
|
14
15
|
right: 0;
|
|
15
16
|
top: 0;
|
|
16
|
-
z-index: @z-index-modal-backdrop;
|
|
17
|
-
|
|
18
|
-
opacity: 0;
|
|
19
17
|
transition: opacity 0.25s;
|
|
18
|
+
z-index: @z-index-modal-backdrop;
|
|
20
19
|
|
|
21
20
|
&.is-visible {
|
|
22
21
|
opacity: 1;
|
|
@@ -24,7 +23,7 @@
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.c-modal {
|
|
27
|
-
background-color:
|
|
26
|
+
background-color: #fff;
|
|
28
27
|
border-radius: 3px;
|
|
29
28
|
box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
|
|
30
29
|
left: 50%;
|
|
@@ -61,18 +60,19 @@
|
|
|
61
60
|
top: 0;
|
|
62
61
|
transform: none;
|
|
63
62
|
width: 100%;
|
|
64
|
-
|
|
65
|
-
.c-modal__backdrop > & {
|
|
66
|
-
transform: none;
|
|
67
|
-
transition: none;
|
|
68
|
-
}
|
|
69
63
|
}
|
|
70
64
|
}
|
|
71
65
|
|
|
66
|
+
.c-modal__backdrop > .c-modal.is-full {
|
|
67
|
+
transform: none;
|
|
68
|
+
transition: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
72
71
|
.c-modal__header {
|
|
73
72
|
font-size: 24px;
|
|
74
73
|
font-weight: @font-weight-bold;
|
|
75
74
|
padding: @modal-padding;
|
|
75
|
+
|
|
76
76
|
.is-full & {
|
|
77
77
|
border-bottom: none;
|
|
78
78
|
}
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.c-modal__close {
|
|
97
|
-
background-color:
|
|
98
|
-
border-radius: 25px;
|
|
97
|
+
background-color: #fff;
|
|
99
98
|
border: none;
|
|
99
|
+
border-radius: 25px;
|
|
100
100
|
cursor: pointer;
|
|
101
101
|
height: 50px;
|
|
102
102
|
padding-top: 9px;
|
|
@@ -110,19 +110,22 @@
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.c-modal__close__x
|
|
114
|
-
|
|
113
|
+
.c-modal__close__x::before,
|
|
114
|
+
.c-modal__close__x::after {
|
|
115
115
|
background-color: #333;
|
|
116
116
|
border: none;
|
|
117
|
+
content: '';
|
|
117
118
|
height: 33px;
|
|
118
119
|
left: 24px;
|
|
119
120
|
position: absolute;
|
|
120
121
|
top: 9px;
|
|
121
122
|
width: 2px;
|
|
122
123
|
}
|
|
123
|
-
|
|
124
|
+
|
|
125
|
+
.c-modal__close__x::before {
|
|
124
126
|
transform: rotate(45deg);
|
|
125
127
|
}
|
|
126
|
-
|
|
128
|
+
|
|
129
|
+
.c-modal__close__x::after {
|
|
127
130
|
transform: rotate(-45deg);
|
|
128
131
|
}
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
background-color: rgba(0, 0, 0, 0.35);
|
|
3
3
|
bottom: 0;
|
|
4
4
|
left: 0;
|
|
5
|
+
opacity: 0;
|
|
5
6
|
overflow: auto;
|
|
6
7
|
position: fixed;
|
|
7
8
|
right: 0;
|
|
8
9
|
top: 0;
|
|
9
|
-
z-index: var(--z-index-modal-backdrop);
|
|
10
|
-
|
|
11
|
-
opacity: 0;
|
|
12
10
|
transition: opacity 0.25s;
|
|
11
|
+
z-index: var(--z-index-modal-backdrop);
|
|
13
12
|
|
|
14
13
|
&.isVisible {
|
|
15
14
|
opacity: 1;
|
|
@@ -18,9 +17,9 @@
|
|
|
18
17
|
|
|
19
18
|
.modal {
|
|
20
19
|
--modal-padding: 15px;
|
|
21
|
-
--bounce-easing-curve: cubic-bezier(.75, .7, .3, 1.75);
|
|
20
|
+
--bounce-easing-curve: cubic-bezier(0.75, 0.7, 0.3, 1.75);
|
|
22
21
|
|
|
23
|
-
background-color:
|
|
22
|
+
background-color: #fff;
|
|
24
23
|
border-radius: 3px;
|
|
25
24
|
box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
|
|
26
25
|
left: 50%;
|
|
@@ -56,14 +55,14 @@
|
|
|
56
55
|
top: 0;
|
|
57
56
|
transform: none;
|
|
58
57
|
width: 100%;
|
|
59
|
-
|
|
60
|
-
.backdrop > & {
|
|
61
|
-
transform: none;
|
|
62
|
-
transition: none;
|
|
63
|
-
}
|
|
64
58
|
}
|
|
65
59
|
}
|
|
66
60
|
|
|
61
|
+
.backdrop > .modal.isFull {
|
|
62
|
+
transform: none;
|
|
63
|
+
transition: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
67
66
|
.header {
|
|
68
67
|
font-size: 24px;
|
|
69
68
|
font-weight: var(--font-weight-bold);
|
|
@@ -90,9 +89,9 @@
|
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
.close {
|
|
93
|
-
background-color:
|
|
94
|
-
border-radius: 25px;
|
|
92
|
+
background-color: #fff;
|
|
95
93
|
border: none;
|
|
94
|
+
border-radius: 25px;
|
|
96
95
|
cursor: pointer;
|
|
97
96
|
height: 50px;
|
|
98
97
|
padding-top: 9px;
|
|
@@ -106,11 +105,11 @@
|
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
|
|
109
|
-
.closeX
|
|
110
|
-
.closeX
|
|
111
|
-
content: '';
|
|
108
|
+
.closeX::before,
|
|
109
|
+
.closeX::after {
|
|
112
110
|
background-color: #333;
|
|
113
111
|
border: none;
|
|
112
|
+
content: '';
|
|
114
113
|
height: 33px;
|
|
115
114
|
left: 24px;
|
|
116
115
|
position: absolute;
|
|
@@ -118,10 +117,10 @@
|
|
|
118
117
|
width: 2px;
|
|
119
118
|
}
|
|
120
119
|
|
|
121
|
-
.closeX
|
|
120
|
+
.closeX::before {
|
|
122
121
|
transform: rotate(45deg);
|
|
123
122
|
}
|
|
124
123
|
|
|
125
|
-
.closeX
|
|
124
|
+
.closeX::after {
|
|
126
125
|
transform: rotate(-45deg);
|
|
127
126
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '../less/variables/colors.less';
|
|
2
2
|
|
|
3
3
|
@wrap-dimensions: 20px;
|
|
4
|
-
@bounce-easing-curve: cubic-bezier(.75, .7, .3, 1.75); // http://cubic-bezier.com/#.75,.7,.2,1.75
|
|
4
|
+
@bounce-easing-curve: cubic-bezier(0.75, 0.7, 0.3, 1.75); // http://cubic-bezier.com/#.75,.7,.2,1.75
|
|
5
5
|
|
|
6
6
|
.c-progress-circle__wrapper {
|
|
7
7
|
background-color: @color-gray-xxx-light;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
// need to trigger an animation instead of relying on CSS transitions only.
|
|
23
23
|
&.is-complete {
|
|
24
24
|
animation-duration: 0.25s;
|
|
25
|
-
animation-name: bounce_size;
|
|
26
25
|
animation-iteration-count: 1;
|
|
26
|
+
animation-name: bounce_size;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
0% {
|
|
32
32
|
transform: scale(1);
|
|
33
33
|
}
|
|
34
|
+
|
|
34
35
|
80% {
|
|
35
36
|
transform: scale(1.2);
|
|
36
37
|
}
|
|
38
|
+
|
|
37
39
|
100% {
|
|
38
40
|
transform: scale(1);
|
|
39
41
|
}
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
|
|
42
44
|
// There's a dashed outline which sits outside the entire timer
|
|
43
45
|
.c-progress-circle__outline {
|
|
44
|
-
border: 2px solid
|
|
46
|
+
border: 2px solid #fff;
|
|
45
47
|
border-radius: 50%;
|
|
46
48
|
height: @wrap-dimensions;
|
|
47
49
|
position: absolute;
|
|
@@ -88,6 +90,7 @@
|
|
|
88
90
|
.is-over-50 > & {
|
|
89
91
|
z-index: 30;
|
|
90
92
|
}
|
|
93
|
+
|
|
91
94
|
.is-under-20 > & {
|
|
92
95
|
opacity: 0;
|
|
93
96
|
}
|
|
@@ -109,7 +112,7 @@
|
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
.c-progress-circle__check {
|
|
112
|
-
color:
|
|
115
|
+
color: #fff;
|
|
113
116
|
font-size: 12px;
|
|
114
117
|
left: 20%;
|
|
115
118
|
opacity: 0;
|
|
@@ -124,6 +127,7 @@
|
|
|
124
127
|
transform: scale(1);
|
|
125
128
|
}
|
|
126
129
|
}
|
|
130
|
+
|
|
127
131
|
.c-progress-circle__hourglass {
|
|
128
132
|
color: @color-gray-medium;
|
|
129
133
|
font-size: 11px;
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
|
|
8
8
|
&:hover {
|
|
9
|
-
color: #
|
|
9
|
+
color: #06c; // hard code match of quill editor
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.c-right-text-toolbar-container__popup {
|
|
14
|
-
background-color:
|
|
14
|
+
background-color: #fff;
|
|
15
15
|
border: 1px solid @color-gray-light;
|
|
16
16
|
box-shadow: @dropdown-box-shadow;
|
|
17
17
|
min-width: 350px;
|
|
18
18
|
padding: 15px;
|
|
19
19
|
position: absolute;
|
|
20
20
|
z-index: 100;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
<mfly:rich-text-toolbar-container>
|
|
5
5
|
<mfly:toolbar-icon>
|
|
6
6
|
<span ng-style="$ctrl.fontStyle">{{ $ctrl.selectedFont }}</span>
|
|
7
|
-
<span class="c-rich-text-sort fas fa-sort"></span
|
|
7
|
+
<span class="c-rich-text-sort fas fa-sort"></span>
|
|
8
|
+
</mfly:toolbar-icon>
|
|
8
9
|
<mfly:toolbar-container>
|
|
9
10
|
<mfly:font-selector
|
|
10
11
|
label-text="{{ $ctrl.fontLabelText }}"
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
rich-text {
|
|
4
4
|
display: flex;
|
|
5
|
-
position: relative;
|
|
6
5
|
|
|
7
6
|
// Overrides to get the editor + toolbar to combine for 100% of the container.
|
|
8
7
|
// Otherwise, the editor takes up 100% height but then overflows by the
|
|
9
8
|
// height of the toolbar.
|
|
10
9
|
flex-direction: column;
|
|
10
|
+
position: relative;
|
|
11
11
|
|
|
12
12
|
& > .ql-container {
|
|
13
13
|
flex-grow: 1;
|
|
@@ -36,82 +36,82 @@ rich-text {
|
|
|
36
36
|
// override validation coloring
|
|
37
37
|
.c-auto-complete__input {
|
|
38
38
|
.c-rich-text & {
|
|
39
|
-
border-color: #bbb !important;
|
|
39
|
+
border-color: #bbb !important; /* stylelint-disable-line declaration-no-important */
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.c-rich-text-sort {
|
|
44
|
-
padding-left: 8px;
|
|
45
44
|
font-size: 12px;
|
|
45
|
+
padding-left: 8px;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
// Color class overrides
|
|
49
49
|
.ql-color-\#e60000 { color: #e60000; }
|
|
50
|
-
.ql-color-\#ff9900 { color: #
|
|
51
|
-
.ql-color-\#ffff00 { color: #
|
|
50
|
+
.ql-color-\#ff9900 { color: #f90; }
|
|
51
|
+
.ql-color-\#ffff00 { color: #ff0; }
|
|
52
52
|
.ql-color-\#008a00 { color: #008a00; }
|
|
53
|
-
.ql-color-\#0066cc { color: #
|
|
54
|
-
.ql-color-\#9933ff { color: #
|
|
55
|
-
.ql-color-\#ffffff { color: #
|
|
53
|
+
.ql-color-\#0066cc { color: #06c; }
|
|
54
|
+
.ql-color-\#9933ff { color: #93f; }
|
|
55
|
+
.ql-color-\#ffffff { color: #fff; }
|
|
56
56
|
.ql-color-\#facccc { color: #facccc; }
|
|
57
57
|
.ql-color-\#ffebcc { color: #ffebcc; }
|
|
58
|
-
.ql-color-\#ffffcc { color: #
|
|
58
|
+
.ql-color-\#ffffcc { color: #ffc; }
|
|
59
59
|
.ql-color-\#cce8cc { color: #cce8cc; }
|
|
60
60
|
.ql-color-\#cce0f5 { color: #cce0f5; }
|
|
61
61
|
.ql-color-\#ebd6ff { color: #ebd6ff; }
|
|
62
|
-
.ql-color-\#bbbbbb { color: #
|
|
62
|
+
.ql-color-\#bbbbbb { color: #bbb; }
|
|
63
63
|
.ql-color-\#f06666 { color: #f06666; }
|
|
64
64
|
.ql-color-\#ffc266 { color: #ffc266; }
|
|
65
|
-
.ql-color-\#ffff66 { color: #
|
|
65
|
+
.ql-color-\#ffff66 { color: #ff6; }
|
|
66
66
|
.ql-color-\#66b966 { color: #66b966; }
|
|
67
67
|
.ql-color-\#66a3e0 { color: #66a3e0; }
|
|
68
68
|
.ql-color-\#c285ff { color: #c285ff; }
|
|
69
|
-
.ql-color-\#888888 { color: #
|
|
69
|
+
.ql-color-\#888888 { color: #888; }
|
|
70
70
|
.ql-color-\#a10000 { color: #a10000; }
|
|
71
71
|
.ql-color-\#b26b00 { color: #b26b00; }
|
|
72
72
|
.ql-color-\#b2b200 { color: #b2b200; }
|
|
73
73
|
.ql-color-\#006100 { color: #006100; }
|
|
74
74
|
.ql-color-\#0047b2 { color: #0047b2; }
|
|
75
75
|
.ql-color-\#6b24b2 { color: #6b24b2; }
|
|
76
|
-
.ql-color-\#444444 { color: #
|
|
76
|
+
.ql-color-\#444444 { color: #444; }
|
|
77
77
|
.ql-color-\#5c0000 { color: #5c0000; }
|
|
78
78
|
.ql-color-\#663d00 { color: #663d00; }
|
|
79
|
-
.ql-color-\#666600 { color: #
|
|
79
|
+
.ql-color-\#666600 { color: #660; }
|
|
80
80
|
.ql-color-\#003700 { color: #003700; }
|
|
81
81
|
.ql-color-\#002966 { color: #002966; }
|
|
82
82
|
.ql-color-\#3d1466 { color: #3d1466; }
|
|
83
83
|
|
|
84
|
-
.ql-bg-\#000000 { background-color: #
|
|
84
|
+
.ql-bg-\#000000 { background-color: #000; }
|
|
85
85
|
.ql-bg-\#e60000 { background-color: #e60000; }
|
|
86
|
-
.ql-bg-\#ff9900 { background-color: #
|
|
87
|
-
.ql-bg-\#ffff00 { background-color: #
|
|
86
|
+
.ql-bg-\#ff9900 { background-color: #f90; }
|
|
87
|
+
.ql-bg-\#ffff00 { background-color: #ff0; }
|
|
88
88
|
.ql-bg-\#008a00 { background-color: #008a00; }
|
|
89
|
-
.ql-bg-\#0066cc { background-color: #
|
|
90
|
-
.ql-bg-\#9933ff { background-color: #
|
|
89
|
+
.ql-bg-\#0066cc { background-color: #06c; }
|
|
90
|
+
.ql-bg-\#9933ff { background-color: #93f; }
|
|
91
91
|
.ql-bg-\#facccc { background-color: #facccc; }
|
|
92
92
|
.ql-bg-\#ffebcc { background-color: #ffebcc; }
|
|
93
|
-
.ql-bg-\#ffffcc { background-color: #
|
|
93
|
+
.ql-bg-\#ffffcc { background-color: #ffc; }
|
|
94
94
|
.ql-bg-\#cce8cc { background-color: #cce8cc; }
|
|
95
95
|
.ql-bg-\#cce0f5 { background-color: #cce0f5; }
|
|
96
96
|
.ql-bg-\#ebd6ff { background-color: #ebd6ff; }
|
|
97
|
-
.ql-bg-\#bbbbbb { background-color: #
|
|
97
|
+
.ql-bg-\#bbbbbb { background-color: #bbb; }
|
|
98
98
|
.ql-bg-\#f06666 { background-color: #f06666; }
|
|
99
99
|
.ql-bg-\#ffc266 { background-color: #ffc266; }
|
|
100
|
-
.ql-bg-\#ffff66 { background-color: #
|
|
100
|
+
.ql-bg-\#ffff66 { background-color: #ff6; }
|
|
101
101
|
.ql-bg-\#66b966 { background-color: #66b966; }
|
|
102
102
|
.ql-bg-\#66a3e0 { background-color: #66a3e0; }
|
|
103
103
|
.ql-bg-\#c285ff { background-color: #c285ff; }
|
|
104
|
-
.ql-bg-\#888888 { background-color: #
|
|
104
|
+
.ql-bg-\#888888 { background-color: #888; }
|
|
105
105
|
.ql-bg-\#a10000 { background-color: #a10000; }
|
|
106
106
|
.ql-bg-\#b26b00 { background-color: #b26b00; }
|
|
107
107
|
.ql-bg-\#b2b200 { background-color: #b2b200; }
|
|
108
108
|
.ql-bg-\#006100 { background-color: #006100; }
|
|
109
109
|
.ql-bg-\#0047b2 { background-color: #0047b2; }
|
|
110
110
|
.ql-bg-\#6b24b2 { background-color: #6b24b2; }
|
|
111
|
-
.ql-bg-\#444444 { background-color: #
|
|
111
|
+
.ql-bg-\#444444 { background-color: #444; }
|
|
112
112
|
.ql-bg-\#5c0000 { background-color: #5c0000; }
|
|
113
113
|
.ql-bg-\#663d00 { background-color: #663d00; }
|
|
114
|
-
.ql-bg-\#666600 { background-color: #
|
|
114
|
+
.ql-bg-\#666600 { background-color: #660; }
|
|
115
115
|
.ql-bg-\#003700 { background-color: #003700; }
|
|
116
116
|
.ql-bg-\#002966 { background-color: #002966; }
|
|
117
117
|
.ql-bg-\#3d1466 { background-color: #3d1466; }
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
@import '../less/variables/pages.less';
|
|
4
4
|
@import '../less/variables/z-index.less';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
.c-site-header-image {
|
|
8
7
|
height: @site-header-height;
|
|
9
8
|
position: fixed;
|
|
@@ -84,10 +83,8 @@
|
|
|
84
83
|
line-height: @site-header-height-small;
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
|
-
|
|
88
86
|
}
|
|
89
87
|
|
|
90
|
-
|
|
91
88
|
// ------------------------------------------------------------------------------------------------------
|
|
92
89
|
// Site Header Navbar
|
|
93
90
|
// ------------------------------------------------------------------------------------------------------
|
|
@@ -99,8 +96,8 @@
|
|
|
99
96
|
background-color: @color-gray-dark;
|
|
100
97
|
box-shadow: @navbar-box-shadow;
|
|
101
98
|
color: @color-gray-x-light;
|
|
102
|
-
left: 0;
|
|
103
99
|
height: @site-navbar-height;
|
|
100
|
+
left: 0;
|
|
104
101
|
position: fixed;
|
|
105
102
|
right: 0;
|
|
106
103
|
top: @site-header-height;
|
|
@@ -112,16 +109,16 @@
|
|
|
112
109
|
// We don't want to go smaller if the screen is wider than 0.6 * 2800 px
|
|
113
110
|
// because it will cause a horizontal tiling bug.
|
|
114
111
|
@media (max-height: @vertical-breakpoint-sm) and (max-width: 1680px) {
|
|
115
|
-
top: @site-header-height-small;
|
|
116
112
|
position: absolute;
|
|
113
|
+
top: @site-header-height-small;
|
|
117
114
|
}
|
|
118
115
|
|
|
119
116
|
&.has-static-positioning {
|
|
120
117
|
position: static;
|
|
121
118
|
|
|
122
119
|
@media (max-height: @vertical-breakpoint-sm) and (max-width: 1680px) {
|
|
123
|
-
top: @site-header-height-small;
|
|
124
120
|
position: static;
|
|
121
|
+
top: @site-header-height-small;
|
|
125
122
|
}
|
|
126
123
|
}
|
|
127
124
|
}
|
|
@@ -138,13 +135,19 @@
|
|
|
138
135
|
display: inline-block;
|
|
139
136
|
height: @site-navbar-height;
|
|
140
137
|
line-height: @site-navbar-height;
|
|
138
|
+
|
|
139
|
+
// Wrap long text items (e.g., usernames) with ellipses.
|
|
140
|
+
max-width: 240px;
|
|
141
|
+
overflow: hidden;
|
|
141
142
|
padding: 0 @site-navbar-item-padding;
|
|
142
143
|
text-decoration: none;
|
|
144
|
+
text-overflow: ellipsis;
|
|
143
145
|
transition: all 0.3s;
|
|
144
146
|
|
|
145
147
|
// Vertical align: top helps a weird issue with overflow: hidden. See:
|
|
146
148
|
// http://stackoverflow.com/questions/20310690/overflowhidden-on-inline-block-adds-height-to-parent
|
|
147
149
|
vertical-align: top;
|
|
150
|
+
white-space: nowrap;
|
|
148
151
|
|
|
149
152
|
&:hover,
|
|
150
153
|
&:active {
|
|
@@ -155,12 +158,6 @@
|
|
|
155
158
|
color: @color-gray-x-light;
|
|
156
159
|
}
|
|
157
160
|
|
|
158
|
-
// Wrap long text items (e.g., usernames) with ellipses.
|
|
159
|
-
max-width: 240px;
|
|
160
|
-
overflow: hidden;
|
|
161
|
-
text-overflow: ellipsis;
|
|
162
|
-
white-space: nowrap;
|
|
163
|
-
|
|
164
161
|
@media (min-width: @grid-breakpoint-lg) { max-width: 375px; }
|
|
165
162
|
|
|
166
163
|
// This needs to be a class because navbar items could be wrapped inside
|
|
@@ -13,15 +13,16 @@
|
|
|
13
13
|
.c-slides__inner {
|
|
14
14
|
height: 100%;
|
|
15
15
|
max-height: 100%;
|
|
16
|
-
position: relative;
|
|
17
16
|
overflow: hidden;
|
|
17
|
+
position: relative;
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@keyframes slide-in-left {
|
|
22
22
|
0% {
|
|
23
|
-
left: 100
|
|
23
|
+
left: 100%;
|
|
24
24
|
}
|
|
25
|
+
|
|
25
26
|
100% {
|
|
26
27
|
left: 0;
|
|
27
28
|
}
|
|
@@ -29,8 +30,9 @@
|
|
|
29
30
|
|
|
30
31
|
@keyframes slide-in-right {
|
|
31
32
|
0% {
|
|
32
|
-
left: -100
|
|
33
|
+
left: -100%;
|
|
33
34
|
}
|
|
35
|
+
|
|
34
36
|
100% {
|
|
35
37
|
left: 0;
|
|
36
38
|
}
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
0% {
|
|
41
43
|
left: 0;
|
|
42
44
|
}
|
|
45
|
+
|
|
43
46
|
100% {
|
|
44
47
|
left: -100%;
|
|
45
48
|
}
|
|
@@ -49,6 +52,7 @@
|
|
|
49
52
|
0% {
|
|
50
53
|
left: 0;
|
|
51
54
|
}
|
|
55
|
+
|
|
52
56
|
100% {
|
|
53
57
|
left: 100%;
|
|
54
58
|
}
|
|
@@ -58,67 +62,70 @@
|
|
|
58
62
|
display: none;
|
|
59
63
|
height: 100%;
|
|
60
64
|
position: absolute;
|
|
61
|
-
width: 100%;
|
|
62
65
|
text-align: center;
|
|
66
|
+
width: 100%;
|
|
63
67
|
|
|
64
68
|
&.is-zoom-to-fit {
|
|
65
69
|
max-height: 100%;
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
&.active {
|
|
69
|
-
display:block;
|
|
73
|
+
display: block;
|
|
70
74
|
left: 0;
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
&.is-sliding-in-left {
|
|
74
|
-
animation-name: slide-in-left;
|
|
75
78
|
animation-duration: 0.5s;
|
|
76
|
-
animation-timing-function: linear;
|
|
77
79
|
animation-fill-mode: forwards;
|
|
80
|
+
animation-name: slide-in-left;
|
|
81
|
+
animation-timing-function: linear;
|
|
78
82
|
display: block;
|
|
79
83
|
}
|
|
84
|
+
|
|
80
85
|
&.is-sliding-in-right {
|
|
81
|
-
animation-name: slide-in-right;
|
|
82
86
|
animation-duration: 0.5s;
|
|
83
|
-
animation-timing-function: linear;
|
|
84
87
|
animation-fill-mode: forwards;
|
|
88
|
+
animation-name: slide-in-right;
|
|
89
|
+
animation-timing-function: linear;
|
|
85
90
|
display: block;
|
|
86
91
|
}
|
|
92
|
+
|
|
87
93
|
&.is-sliding-out-left {
|
|
88
|
-
animation-name: slide-out-left;
|
|
89
94
|
animation-duration: 0.5s;
|
|
90
|
-
animation-timing-function: linear;
|
|
91
95
|
animation-fill-mode: forwards;
|
|
96
|
+
animation-name: slide-out-left;
|
|
97
|
+
animation-timing-function: linear;
|
|
92
98
|
display: block;
|
|
93
99
|
}
|
|
100
|
+
|
|
94
101
|
&.is-sliding-out-right {
|
|
95
|
-
animation-name: slide-out-right;
|
|
96
102
|
animation-duration: 0.5s;
|
|
97
|
-
animation-timing-function: linear;
|
|
98
103
|
animation-fill-mode: forwards;
|
|
104
|
+
animation-name: slide-out-right;
|
|
105
|
+
animation-timing-function: linear;
|
|
99
106
|
display: block;
|
|
100
107
|
}
|
|
101
108
|
}
|
|
102
109
|
|
|
103
110
|
.c-slides__inner__slide__inner {
|
|
104
|
-
position: relative;
|
|
105
111
|
max-height: 100%;
|
|
106
112
|
overflow-y: scroll;
|
|
113
|
+
position: relative;
|
|
107
114
|
text-align: center;
|
|
108
115
|
width: 100%;
|
|
109
116
|
|
|
110
117
|
&.is-zoom-to-fit {
|
|
111
118
|
height: 100%;
|
|
112
119
|
overflow-y: visible;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
}
|
|
121
|
+
// vertically centers zoom to fit pages
|
|
122
|
+
&.is-zoom-to-fit::before {
|
|
123
|
+
content: '';
|
|
124
|
+
display: inline-block;
|
|
125
|
+
height: 100%;
|
|
126
|
+
margin-left: -4px;
|
|
127
|
+
vertical-align: middle;
|
|
128
|
+
width: 0;
|
|
122
129
|
}
|
|
123
130
|
|
|
124
131
|
//need to remove scroll bar when animating
|
|
@@ -129,13 +136,12 @@
|
|
|
129
136
|
.is-sliding-in-left & {
|
|
130
137
|
overflow: hidden;
|
|
131
138
|
}
|
|
132
|
-
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
.c-slides__inner__slide__loader {
|
|
136
142
|
color: @color-gray-x-dark;
|
|
137
143
|
font-size: 60px;
|
|
138
|
-
padding-top:200px;
|
|
144
|
+
padding-top: 200px;
|
|
139
145
|
}
|
|
140
146
|
|
|
141
147
|
.c-slides__inner__slide__inner__image {
|