@qtoggle/qui 0.0.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/.eslintignore +2 -0
- package/.eslintrc.json +492 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +33 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
- package/.github/ISSUE_TEMPLATE/improvement_proposal.md +20 -0
- package/.github/workflows/main.yml +74 -0
- package/.pre-commit-config.yaml +8 -0
- package/LICENSE.txt +177 -0
- package/README.md +4 -0
- package/font/dejavusans-bold.woff +0 -0
- package/font/dejavusans-bolditalic.woff +0 -0
- package/font/dejavusans-italic.woff +0 -0
- package/font/dejavusans-regular.woff +0 -0
- package/img/qui-icons.svg +1937 -0
- package/js/base/base.js +47 -0
- package/js/base/condition-variable.js +92 -0
- package/js/base/errors.js +36 -0
- package/js/base/i18n.js +20 -0
- package/js/base/mixwith.js +135 -0
- package/js/base/require-js-compat.js +78 -0
- package/js/base/signal.js +91 -0
- package/js/base/singleton.js +66 -0
- package/js/base/timer.js +126 -0
- package/js/config.js +184 -0
- package/js/forms/common-fields/check-field.js +42 -0
- package/js/forms/common-fields/choice-buttons-field.js +30 -0
- package/js/forms/common-fields/color-combo-field.js +37 -0
- package/js/forms/common-fields/combo-field.js +108 -0
- package/js/forms/common-fields/common-fields.js +23 -0
- package/js/forms/common-fields/composite-field.js +132 -0
- package/js/forms/common-fields/custom-html-field.js +51 -0
- package/js/forms/common-fields/email-field.js +30 -0
- package/js/forms/common-fields/file-picker-field.js +46 -0
- package/js/forms/common-fields/jquery-ui-field.js +111 -0
- package/js/forms/common-fields/labels-field.js +69 -0
- package/js/forms/common-fields/numeric-field.js +39 -0
- package/js/forms/common-fields/password-field.js +28 -0
- package/js/forms/common-fields/phone-field.js +26 -0
- package/js/forms/common-fields/progress-disk-field.js +69 -0
- package/js/forms/common-fields/push-button-field.js +138 -0
- package/js/forms/common-fields/slider-field.js +51 -0
- package/js/forms/common-fields/text-area-field.js +34 -0
- package/js/forms/common-fields/text-field.js +89 -0
- package/js/forms/common-fields/up-down-field.js +85 -0
- package/js/forms/common-forms/common-forms.js +16 -0
- package/js/forms/common-forms/options-form.js +77 -0
- package/js/forms/common-forms/page-form.js +115 -0
- package/js/forms/form-button.js +202 -0
- package/js/forms/form-field.js +1183 -0
- package/js/forms/form.js +1181 -0
- package/js/forms/forms.js +68 -0
- package/js/global-glass.js +100 -0
- package/js/icons/default-stock.js +173 -0
- package/js/icons/icon.js +64 -0
- package/js/icons/icons.js +16 -0
- package/js/icons/multi-state-sprites-icon.js +362 -0
- package/js/icons/stock-icon.js +219 -0
- package/js/icons/stock.js +98 -0
- package/js/icons/stocks.js +57 -0
- package/js/index.js +232 -0
- package/js/lib/jquery.longpress.js +79 -0
- package/js/lib/jquery.module.js +4 -0
- package/js/lib/logger.module.js +4 -0
- package/js/lib/pep.module.js +4 -0
- package/js/lists/common-items/common-items.js +5 -0
- package/js/lists/common-items/icon-label-list-item.js +86 -0
- package/js/lists/common-lists/common-lists.js +5 -0
- package/js/lists/common-lists/page-list.js +53 -0
- package/js/lists/list-item.js +147 -0
- package/js/lists/list.js +636 -0
- package/js/lists/lists.js +26 -0
- package/js/main-ui/main-ui.js +64 -0
- package/js/main-ui/menu-bar.js +144 -0
- package/js/main-ui/options-bar.js +181 -0
- package/js/main-ui/status.js +185 -0
- package/js/main-ui/top-bar.js +59 -0
- package/js/messages/common-message-forms/common-message-forms.js +7 -0
- package/js/messages/common-message-forms/confirm-message-form.js +81 -0
- package/js/messages/common-message-forms/simple-message-form.js +67 -0
- package/js/messages/common-message-forms/sticky-simple-message-form.js +27 -0
- package/js/messages/message-form.js +107 -0
- package/js/messages/messages.js +21 -0
- package/js/messages/sticky-modal-page.js +98 -0
- package/js/messages/sticky-modal-progress-message.js +27 -0
- package/js/messages/toast.js +164 -0
- package/js/navigation.js +654 -0
- package/js/pages/breadcrumbs.js +124 -0
- package/js/pages/common-pages/common-pages.js +6 -0
- package/js/pages/common-pages/modal-progress-page.js +83 -0
- package/js/pages/common-pages/structured-page.js +46 -0
- package/js/pages/page.js +1018 -0
- package/js/pages/pages-context.js +154 -0
- package/js/pages/pages.js +252 -0
- package/js/pwa.js +337 -0
- package/js/sections/section.js +612 -0
- package/js/sections/sections.js +300 -0
- package/js/tables/common-cells/common-cells.js +7 -0
- package/js/tables/common-cells/icon-label-table-cell.js +68 -0
- package/js/tables/common-cells/push-button-table-cell.js +133 -0
- package/js/tables/common-cells/simple-table-cell.js +37 -0
- package/js/tables/common-tables/common-tables.js +5 -0
- package/js/tables/common-tables/page-table.js +55 -0
- package/js/tables/table-cell.js +198 -0
- package/js/tables/table-row.js +126 -0
- package/js/tables/table.js +492 -0
- package/js/tables/tables.js +36 -0
- package/js/theme.js +304 -0
- package/js/utils/ajax.js +126 -0
- package/js/utils/array.js +194 -0
- package/js/utils/colors.js +445 -0
- package/js/utils/cookies.js +65 -0
- package/js/utils/crypto.js +439 -0
- package/js/utils/css.js +234 -0
- package/js/utils/date.js +300 -0
- package/js/utils/files.js +27 -0
- package/js/utils/gestures.js +165 -0
- package/js/utils/html.js +76 -0
- package/js/utils/misc.js +81 -0
- package/js/utils/object.js +324 -0
- package/js/utils/promise.js +49 -0
- package/js/utils/string.js +192 -0
- package/js/utils/url.js +187 -0
- package/js/utils/utils.js +3 -0
- package/js/utils/visibility-manager.js +211 -0
- package/js/views/common-views/common-views.js +7 -0
- package/js/views/common-views/icon-label-view.js +210 -0
- package/js/views/common-views/progress-view.js +89 -0
- package/js/views/common-views/structured-view.js +368 -0
- package/js/views/view.js +467 -0
- package/js/views/views.js +3 -0
- package/js/widgets/base-widget.js +23 -0
- package/js/widgets/common-widgets/check-button.js +109 -0
- package/js/widgets/common-widgets/choice-buttons.js +322 -0
- package/js/widgets/common-widgets/color-combo.js +104 -0
- package/js/widgets/common-widgets/combo.js +645 -0
- package/js/widgets/common-widgets/common-widgets.js +17 -0
- package/js/widgets/common-widgets/email-input.js +7 -0
- package/js/widgets/common-widgets/file-picker.js +133 -0
- package/js/widgets/common-widgets/labels.js +132 -0
- package/js/widgets/common-widgets/numeric-input.js +49 -0
- package/js/widgets/common-widgets/password-input.js +91 -0
- package/js/widgets/common-widgets/phone-input.js +7 -0
- package/js/widgets/common-widgets/progress-disk.js +174 -0
- package/js/widgets/common-widgets/push-button.js +155 -0
- package/js/widgets/common-widgets/slider.js +455 -0
- package/js/widgets/common-widgets/text-area.js +52 -0
- package/js/widgets/common-widgets/text-input.js +174 -0
- package/js/widgets/common-widgets/up-down.js +351 -0
- package/js/widgets/widgets.js +57 -0
- package/js/window.js +557 -0
- package/jsdoc.conf.json +20 -0
- package/less/base.less +123 -0
- package/less/forms/common-fields.less +101 -0
- package/less/forms/common-forms.less +5 -0
- package/less/forms/form-button.less +21 -0
- package/less/forms/form-field.less +266 -0
- package/less/forms/form.less +131 -0
- package/less/global-glass.less +64 -0
- package/less/icon-label-view.less +82 -0
- package/less/icons.less +144 -0
- package/less/lists.less +105 -0
- package/less/main-ui.less +328 -0
- package/less/messages.less +189 -0
- package/less/no-effects.less +24 -0
- package/less/pages/breadcrumbs.less +98 -0
- package/less/pages/common-pages.less +36 -0
- package/less/pages/page.less +70 -0
- package/less/progress-view.less +51 -0
- package/less/stock-icons.less +43 -0
- package/less/structured-view.less +245 -0
- package/less/tables.less +84 -0
- package/less/theme-dark.less +133 -0
- package/less/theme-light.less +132 -0
- package/less/theme.less +419 -0
- package/less/visibility-manager.less +11 -0
- package/less/widgets/check-button.less +96 -0
- package/less/widgets/choice-buttons.less +160 -0
- package/less/widgets/color-combo.less +33 -0
- package/less/widgets/combo.less +230 -0
- package/less/widgets/common-buttons.less +120 -0
- package/less/widgets/common.less +24 -0
- package/less/widgets/input.less +258 -0
- package/less/widgets/labels.less +81 -0
- package/less/widgets/progress-disk.less +70 -0
- package/less/widgets/slider.less +199 -0
- package/less/widgets/updown.less +115 -0
- package/less/widgets/various.less +36 -0
- package/package.json +47 -0
- package/pyproject.toml +45 -0
- package/qui/__init__.py +110 -0
- package/qui/constants.py +1 -0
- package/qui/exceptions.py +2 -0
- package/qui/j2template.py +71 -0
- package/qui/settings.py +60 -0
- package/qui/templates/manifest.json +25 -0
- package/qui/templates/qui.html +126 -0
- package/qui/templates/service-worker.js +188 -0
- package/qui/web/__init__.py +0 -0
- package/qui/web/tornado.py +220 -0
- package/scripts/postinstall.sh +10 -0
- package/webpack/webpack-adjust-css-urls-loader.js +36 -0
- package/webpack/webpack-common.js +384 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
|
|
2
|
+
@import (reference) "theme";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* toast message */
|
|
6
|
+
|
|
7
|
+
div.qui-toast-message-container {
|
|
8
|
+
position: absolute;
|
|
9
|
+
transition: height @transition-duration ease,
|
|
10
|
+
background @transition-duration ease,
|
|
11
|
+
color @transition-duration ease,
|
|
12
|
+
top @transition-duration ease,
|
|
13
|
+
margin @transition-duration ease,
|
|
14
|
+
opacity @transition-duration linear,
|
|
15
|
+
filter @transition-duration linear;
|
|
16
|
+
top: -0.0625em;
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
height: 3em;
|
|
20
|
+
z-index: 99;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
text-overflow: ellipsis;
|
|
23
|
+
background: @background-color;
|
|
24
|
+
border-bottom: 0.0625em solid @border-color;
|
|
25
|
+
border-top: 0.0625em solid transparent;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
body.toast-message-visible > div.qui-toast-message-container {
|
|
29
|
+
top: 3.0625em;
|
|
30
|
+
box-shadow: 0 0.3125em 0.5em -0.3125em @bar-shadow-color;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body.no-top-bar > div.qui-toast-message-container {
|
|
34
|
+
top: -3.125em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
body.no-top-bar.toast-message-visible > div.qui-toast-message-container {
|
|
38
|
+
top: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
body.small-screen > div.qui-toast-message-container {
|
|
42
|
+
line-height: 3em;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
body.global-glass-visible.toast-message-visible > div.qui-toast-message-container {
|
|
46
|
+
top: 0;
|
|
47
|
+
z-index: 1001;
|
|
48
|
+
filter: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
div.qui-toast-message-container.info {
|
|
52
|
+
color: @info-color;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
div.qui-toast-message-container.warning {
|
|
56
|
+
color: @warning-color;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
div.qui-toast-message-container.error {
|
|
60
|
+
color: @error-color;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
div.qui-toast-message-icon {
|
|
64
|
+
float: left;
|
|
65
|
+
width: 2em;
|
|
66
|
+
height: 2em;
|
|
67
|
+
margin: 0.5em;
|
|
68
|
+
background-image: url('@{qui_img_path}/qui-icons.svg');
|
|
69
|
+
background-size: 80em;
|
|
70
|
+
vertical-align: middle;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
div.qui-toast-message-container.info > div.qui-toast-message-icon {
|
|
74
|
+
background-position: @info-icon-x-offset @info-icon-y-offset;
|
|
75
|
+
display: inline-block;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
div.qui-toast-message-container.warning > div.qui-toast-message-icon {
|
|
79
|
+
background-position: @exclam-icon-x-offset @warning-icon-y-offset;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
div.qui-toast-message-container.error > div.qui-toast-message-icon {
|
|
84
|
+
background-position: @exclam-icon-x-offset @error-icon-y-offset;
|
|
85
|
+
display: inline-block;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
div.qui-toast-message {
|
|
89
|
+
display: flex;
|
|
90
|
+
margin: 0 3em;
|
|
91
|
+
height: 3em;
|
|
92
|
+
overflow: auto;
|
|
93
|
+
align-items: center; // TODO replace with "safe center" as soon as this becomes supported by major browsers
|
|
94
|
+
text-align: left;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
body.small-screen > div.qui-toast-message-container.multiline > div.qui-toast-message {
|
|
98
|
+
white-space: normal;
|
|
99
|
+
line-height: 1.45em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
span.qui-toast-message {
|
|
103
|
+
font-size: 0.9em;
|
|
104
|
+
line-height: 1em;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
div.qui-toast-message-close-button {
|
|
108
|
+
display: none;
|
|
109
|
+
position: absolute;
|
|
110
|
+
right: 0;
|
|
111
|
+
top: 0;
|
|
112
|
+
float: right;
|
|
113
|
+
width: 1.5em;
|
|
114
|
+
height: 1.5em;
|
|
115
|
+
margin: 0.75em;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
div.qui-toast-message-container.closeable > div.qui-toast-message > div.qui-toast-message-close-button {
|
|
119
|
+
display: inline-block;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
/* message label */
|
|
124
|
+
|
|
125
|
+
span.qui-message-label {
|
|
126
|
+
display: inline-block;
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
border-radius: 1em;
|
|
129
|
+
padding: 0.2em 0.5em;
|
|
130
|
+
margin: 0.125em;
|
|
131
|
+
max-width: 14em;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
text-overflow: ellipsis;
|
|
134
|
+
vertical-align: middle;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
div.qui-toast-message-container.info span.qui-message-label {
|
|
138
|
+
background: @info-color;
|
|
139
|
+
color: @background-color;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
div.qui-toast-message-container.warning span.qui-message-label {
|
|
143
|
+
background: @warning-color;
|
|
144
|
+
color: @background-color;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
div.qui-toast-message-container.error span.qui-message-label {
|
|
148
|
+
background: @error-color;
|
|
149
|
+
color: @background-color;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
div.qui-message-form-body span.qui-message-label {
|
|
153
|
+
background: @foreground-color;
|
|
154
|
+
color: @background-color;
|
|
155
|
+
font-weight: normal;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
div.qui-breadcrumb span.qui-message-label {
|
|
159
|
+
background: @interactive-color;
|
|
160
|
+
color: @background-color;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/* message forms */
|
|
165
|
+
|
|
166
|
+
div.qui-message-form-body {
|
|
167
|
+
text-align: center;
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
div.qui-message-form-label {
|
|
173
|
+
display: inline-block;
|
|
174
|
+
vertical-align: middle;
|
|
175
|
+
font-weight: bold;
|
|
176
|
+
white-space: normal;
|
|
177
|
+
word-break: break-word;
|
|
178
|
+
line-height: 1.4em;
|
|
179
|
+
flex: auto;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
div.qui-message-form-icon {
|
|
183
|
+
display: inline-block;
|
|
184
|
+
vertical-align: middle;
|
|
185
|
+
width: 2em;
|
|
186
|
+
height: 2em;
|
|
187
|
+
min-width: 2em;
|
|
188
|
+
margin: 0.5em;
|
|
189
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
@import (reference) "theme";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
body.effects-disabled {
|
|
6
|
+
|
|
7
|
+
*,
|
|
8
|
+
*::BEFORE,
|
|
9
|
+
*::AFTER {
|
|
10
|
+
transition: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.qui-global-glass,
|
|
14
|
+
div.qui-main-container-glass {
|
|
15
|
+
backdrop-filter: @modal-background-filter-no-effects;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
div.qui-progress-disk-container > svg,
|
|
19
|
+
div.qui-form-field-side-icon.progress,
|
|
20
|
+
div.qui-status-indicator.progress > div.qui-icon > div {
|
|
21
|
+
animation: none !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
|
|
2
|
+
@import (reference) "../theme";
|
|
3
|
+
@import (reference) "../widgets/various";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
div.qui-breadcrumbs-container {
|
|
7
|
+
float: left;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
max-width: 80%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.qui-breadcrumb {
|
|
14
|
+
display: none;
|
|
15
|
+
position: relative;
|
|
16
|
+
background: @background-color;
|
|
17
|
+
color: @interactive-color;
|
|
18
|
+
height: 3em;
|
|
19
|
+
line-height: 3em;
|
|
20
|
+
padding: 0 1em;
|
|
21
|
+
vertical-align: middle;
|
|
22
|
+
transition: background @transition-duration ease, color @transition-duration ease;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
border-color: @border-color;
|
|
25
|
+
border-style: solid;
|
|
26
|
+
border-width: 0 0 0 0.0625em;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
div.qui-breadcrumb.used {
|
|
30
|
+
display: inline-block;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
div.qui-breadcrumb::AFTER {
|
|
34
|
+
.qui-active-indicator();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
div.qui-breadcrumb.first-used {
|
|
38
|
+
border-left-width: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
div.qui-breadcrumb.last {
|
|
42
|
+
border-right-width: 0.0625em;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
div.qui-breadcrumb.selected {
|
|
46
|
+
background: @background-color;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
div.qui-breadcrumb.active {
|
|
50
|
+
background: @background-active-color;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
div.qui-breadcrumb.selected::AFTER {
|
|
54
|
+
.qui-active-indicator-visible();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb,
|
|
58
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb.selected {
|
|
59
|
+
background: @interactive-color;
|
|
60
|
+
border-color: @top-border-color;
|
|
61
|
+
color: @foreground-interactive-color;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb.active {
|
|
65
|
+
background: @interactive-active-color;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb.used {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb.back {
|
|
73
|
+
display: inline-block;
|
|
74
|
+
border-width: 0 0.0625em 0 0;
|
|
75
|
+
text-indent: 100%;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
width: 0;
|
|
79
|
+
padding: 0 1.5em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb.back {
|
|
83
|
+
color: transparent;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
body.small-screen > div.qui-top-bar > div.qui-breadcrumbs-container > div.qui-breadcrumb.back::BEFORE {
|
|
87
|
+
content: '';
|
|
88
|
+
display: inline-block;
|
|
89
|
+
position: absolute;
|
|
90
|
+
left: 0;
|
|
91
|
+
width: 2em;
|
|
92
|
+
height: 2em;
|
|
93
|
+
margin: 0.5em;
|
|
94
|
+
background-image: url('@{qui_img_path}/qui-icons.svg');
|
|
95
|
+
background-size: 80em;
|
|
96
|
+
background-position: @slim-arrow-icon-x-offset @white-icon-y-offset;
|
|
97
|
+
transform: rotate(180deg);
|
|
98
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
@import (reference) "../theme";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* modal progress page */
|
|
6
|
+
|
|
7
|
+
div.qui-modal-progress-page-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 100%;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
div.qui-modal-progress-page-panel {
|
|
15
|
+
background: @background-color;
|
|
16
|
+
box-shadow: 0 0 0.35em 0 @floating-shadow-color;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
padding: 0.5em;
|
|
21
|
+
border-radius: 0.2em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
div.qui-modal-progress-page-message {
|
|
25
|
+
font-size: 0.9em;
|
|
26
|
+
margin-left: 0.5em;
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
div.qui-modal-progress-page-message.empty {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
body.small-screen div.qui-modal-progress-page-message {
|
|
35
|
+
max-width: 12em;
|
|
36
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
|
|
2
|
+
@import (reference) "../theme";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
div.qui-page {
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 100%;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
position: absolute;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
border-right: solid @border-color 0.0625em;
|
|
15
|
+
background: @background-color;
|
|
16
|
+
transition: opacity @transition-duration ease-out,
|
|
17
|
+
width @transition-duration ease,
|
|
18
|
+
left @transition-duration ease;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.qui-page.attached {
|
|
22
|
+
left: -100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
div.qui-page.visible {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
z-index: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
body.small-screen > div.qui-main-container > div.qui-pages-container > div.qui-page.visible,
|
|
31
|
+
body.small-screen > div.qui-global-glass > div.qui-global-glass-container > div.qui-page.visible {
|
|
32
|
+
width: 100% !important;
|
|
33
|
+
left: 0 !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
div.qui-page.current {
|
|
37
|
+
z-index: 9;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
body:NOT(.small-screen) > div.qui-main-container > div.qui-pages-container > div.qui-page.column-layout {
|
|
41
|
+
width: 25%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
body.small-screen > div.qui-main-container > div.qui-pages-container > div.qui-page.visible,
|
|
45
|
+
body.small-screen > div.qui-global-glass > div.qui-global-glass-container > div.qui-page.visible,
|
|
46
|
+
div.qui-pages-container.full > div.qui-page:LAST-CHILD {
|
|
47
|
+
border-right: 0; /* Remove right border if last page extends to cover the entire container */
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
div.qui-page.transparent,
|
|
51
|
+
div.qui-page.popup {
|
|
52
|
+
background: transparent;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
div.qui-page.popup {
|
|
56
|
+
/* Prevent horizontal moving effect for popup pages */
|
|
57
|
+
left: 0 !important;
|
|
58
|
+
|
|
59
|
+
& > * {
|
|
60
|
+
border-radius: 0.2em;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
body.small-screen > div.qui-global-glass > div.qui-global-glass-container > div.qui-page.popup {
|
|
66
|
+
left: 0;
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
@import (reference) "theme";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
.qui-progress-view {
|
|
6
|
+
|
|
7
|
+
& > div.qui-progress-view-glass {
|
|
8
|
+
min-height: 8em; /* Ensure progress widget is entirely visible */
|
|
9
|
+
display: grid;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
right: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
transition: opacity @transition-duration ease;
|
|
16
|
+
opacity: 0;
|
|
17
|
+
background: fade(@background-color, 85%);
|
|
18
|
+
cursor: progress;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
justify-items: center;
|
|
21
|
+
align-items: start;
|
|
22
|
+
grid-template-columns: auto auto;
|
|
23
|
+
|
|
24
|
+
&.visible {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
z-index: 1000;
|
|
27
|
+
cursor: progress;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& > div.qui-progress-view-widget {
|
|
31
|
+
border-top: 2em solid transparent;
|
|
32
|
+
|
|
33
|
+
&.vertically-centered {
|
|
34
|
+
align-self: center;
|
|
35
|
+
border-top: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& > span.qui-progress-view-message:NOT(:EMPTY) {
|
|
41
|
+
padding-left: 0.5em;
|
|
42
|
+
align-self: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.has-progress {
|
|
48
|
+
min-height: 8em; /* So that the progress widget is fully visible */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
/* Names */
|
|
3
|
+
|
|
4
|
+
@plus-icon-x-offset: 0em;
|
|
5
|
+
@minus-icon-x-offset: -2em;
|
|
6
|
+
@close-icon-x-offset: -4em;
|
|
7
|
+
@fat-arrow-icon-x-offset: -6em;
|
|
8
|
+
@slim-arrow-icon-x-offset: -8em;
|
|
9
|
+
@info-icon-x-offset: -10em;
|
|
10
|
+
@qmark-icon-x-offset: -12em;
|
|
11
|
+
@exclam-icon-x-offset: -14em;
|
|
12
|
+
@check-icon-x-offset: -16em;
|
|
13
|
+
@wrench-icon-x-offset: -18em;
|
|
14
|
+
@sliders-icon-x-offset: -20em;
|
|
15
|
+
@key-icon-x-offset: -22em;
|
|
16
|
+
@user-icon-x-offset: -24em;
|
|
17
|
+
@sync-icon-x-offset: -26em;
|
|
18
|
+
@magnifier-icon-x-offset: -28em;
|
|
19
|
+
@full-screen-icon-x-offset: -30em;
|
|
20
|
+
@duplicate-icon-x-offset: -32em;
|
|
21
|
+
@envelope-icon-x-offset: -34em;
|
|
22
|
+
@gear-icon-x-offset: -36em;
|
|
23
|
+
@download-icon-x-offset: -38em;
|
|
24
|
+
@upload-icon-x-offset: -40em;
|
|
25
|
+
@file-icon-x-offset: -42em;
|
|
26
|
+
@reset-icon-x-offset: -44em;
|
|
27
|
+
@menu-icon-x-offset: -76em;
|
|
28
|
+
@options-icon-x-offset: -78em;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/* Colors */
|
|
32
|
+
|
|
33
|
+
@darkgray-icon-y-offset: 0em;
|
|
34
|
+
@gray-icon-y-offset: -2em;
|
|
35
|
+
@lightgray-icon-y-offset: -4em;
|
|
36
|
+
@white-icon-y-offset: -6em;
|
|
37
|
+
@blue-icon-y-offset: -8em;
|
|
38
|
+
@magenta-icon-y-offset: -10em;
|
|
39
|
+
@red-icon-y-offset: -12em;
|
|
40
|
+
@orange-icon-y-offset: -14em;
|
|
41
|
+
@yellow-icon-y-offset: -16em;
|
|
42
|
+
@green-icon-y-offset: -18em;
|
|
43
|
+
@cyan-icon-y-offset: -20em;
|