@usssa/component-library 1.0.0-alpha.17 → 1.0.0-alpha.18
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/README.md +1 -1
- package/package.json +2 -3
- package/src/App.vue +9 -0
- package/src/assets/quasar-logo-vertical.svg +15 -0
- package/src/boot/.gitkeep +0 -0
- package/src/components/core/UDialogStd.vue +38 -15
- package/src/components/core/UTableStd.vue +2 -16
- package/src/components/index.js +4 -0
- package/src/css/app.sass +156 -0
- package/src/css/colors.sass +89 -0
- package/src/css/media.sass +1 -0
- package/src/css/quasar.variables.sass +114 -0
- package/src/css/typography.sass +34 -0
- package/src/css/vars/colors.variables.sass +122 -0
- package/src/layouts/MainLayout.vue +137 -0
- package/src/pages/Avatar.vue +77 -0
- package/src/pages/AvatarGroup.vue +139 -0
- package/src/pages/BadgeStd.vue +83 -0
- package/src/pages/BannerPage.vue +76 -0
- package/src/pages/BtnIcon.vue +120 -0
- package/src/pages/BtnStd.vue +126 -0
- package/src/pages/BtnToggle.vue +131 -0
- package/src/pages/CheckBox.vue +62 -0
- package/src/pages/Chip.vue +92 -0
- package/src/pages/ComponentBase.vue +54 -0
- package/src/pages/Dialog.vue +206 -0
- package/src/pages/ErrorNotFound.vue +11 -0
- package/src/pages/IndexPage.vue +11 -0
- package/src/pages/InputPhone.vue +152 -0
- package/src/pages/InputText.vue +139 -0
- package/src/pages/MultiSelectStd.vue +174 -0
- package/src/pages/NotifyPage.vue +109 -0
- package/src/pages/Pagination.vue +71 -0
- package/src/pages/Radio.vue +80 -0
- package/src/pages/RadioBtn.vue +104 -0
- package/src/pages/SelectStd.vue +160 -0
- package/src/pages/TabButtonPage.vue +126 -0
- package/src/pages/TablePage.vue +371 -0
- package/src/pages/TabsPage.vue +261 -0
- package/src/pages/TogglePage.vue +58 -0
- package/src/pages/TooltipPage.vue +125 -0
- package/src/router/index.js +34 -0
- package/src/router/routes.js +113 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usssa/component-library",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.18",
|
|
4
4
|
"description": "A Quasar component library project",
|
|
5
5
|
"productName": "Quasar component library App",
|
|
6
6
|
"author": "Troy Moreland <troy.moreland@usssa.com>",
|
|
7
7
|
"main": "src/components/index.js",
|
|
8
8
|
"files": [
|
|
9
|
-
"src
|
|
10
|
-
"src/composables",
|
|
9
|
+
"src",
|
|
11
10
|
"README.md"
|
|
12
11
|
],
|
|
13
12
|
"publishConfig": {
|
package/src/App.vue
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 356 360">
|
|
2
|
+
<path
|
|
3
|
+
d="M43.4 303.4c0 3.8-2.3 6.3-7.1 6.3h-15v-22h14.4c4.3 0 6.2 2.2 6.2 5.2 0 2.6-1.5 4.4-3.4 5 2.8.4 4.9 2.5 4.9 5.5zm-8-13H24.1v6.9H35c2.1 0 4-1.3 4-3.8 0-2.2-1.3-3.1-3.7-3.1zm5.1 12.6c0-2.3-1.8-3.7-4-3.7H24.2v7.7h11.7c3.4 0 4.6-1.8 4.6-4zm36.3 4v2.7H56v-22h20.6v2.7H58.9v6.8h14.6v2.3H58.9v7.5h17.9zm23-5.8v8.5H97v-8.5l-11-13.4h3.4l8.9 11 8.8-11h3.4l-10.8 13.4zm19.1-1.8V298c0-7.9 5.2-10.7 12.7-10.7 7.5 0 13 2.8 13 10.7v1.4c0 7.9-5.5 10.8-13 10.8s-12.7-3-12.7-10.8zm22.7 0V298c0-5.7-3.9-8-10-8-6 0-9.8 2.3-9.8 8v1.4c0 5.8 3.8 8.1 9.8 8.1 6 0 10-2.3 10-8.1zm37.2-11.6v21.9h-2.9l-15.8-17.9v17.9h-2.8v-22h3l15.6 18v-18h2.9zm37.9 10.2v1.3c0 7.8-5.2 10.4-12.4 10.4H193v-22h11.2c7.2 0 12.4 2.8 12.4 10.3zm-3 0c0-5.3-3.3-7.6-9.4-7.6h-8.4V307h8.4c6 0 9.5-2 9.5-7.7V298zm50.8-7.6h-9.7v19.3h-3v-19.3h-9.7v-2.6h22.4v2.6zm34.4-2.6v21.9h-3v-10.1h-16.8v10h-2.8v-21.8h2.8v9.2H296v-9.2h2.9zm34.9 19.2v2.7h-20.7v-22h20.6v2.7H316v6.8h14.5v2.3H316v7.5h17.8zM24 340.2v7.3h13.9v2.4h-14v9.6H21v-22h20v2.7H24zm41.5 11.4h-9.8v7.9H53v-22h13.3c5.1 0 8 1.9 8 6.8 0 3.7-2 6.3-5.6 7l6 8.2h-3.3l-5.8-8zm-9.8-2.6H66c3.1 0 5.3-1.5 5.3-4.7 0-3.3-2.2-4.1-5.3-4.1H55.7v8.8zm47.9 6.2H89l-2 4.3h-3.2l10.7-22.2H98l10.7 22.2h-3.2l-2-4.3zm-1-2.3l-6.3-13-6 13h12.2zm46.3-15.3v21.9H146v-17.2L135.7 358h-2.1l-10.2-15.6v17h-2.8v-21.8h3l11 16.9 11.3-17h3zm35 19.3v2.6h-20.7v-22h20.6v2.7H166v6.8h14.5v2.3H166v7.6h17.8zm47-19.3l-8.3 22h-3l-7.1-18.6-7 18.6h-3l-8.2-22h3.3L204 356l6.8-18.5h3.4L221 356l6.6-18.5h3.3zm10 11.6v-1.4c0-7.8 5.2-10.7 12.7-10.7 7.6 0 13 2.9 13 10.7v1.4c0 7.9-5.4 10.8-13 10.8-7.5 0-12.7-3-12.7-10.8zm22.8 0v-1.4c0-5.7-4-8-10-8s-9.9 2.3-9.9 8v1.4c0 5.8 3.8 8.2 9.8 8.2 6.1 0 10-2.4 10-8.2zm28.3 2.4h-9.8v7.9h-2.8v-22h13.2c5.2 0 8 1.9 8 6.8 0 3.7-2 6.3-5.6 7l6 8.2h-3.3l-5.8-8zm-9.8-2.6h10.2c3 0 5.2-1.5 5.2-4.7 0-3.3-2.1-4.1-5.2-4.1h-10.2v8.8zm40.3-1.5l-6.8 5.6v6.4h-2.9v-22h2.9v12.3l15.2-12.2h3.7l-9.9 8.1 10.3 13.8h-3.6l-8.9-12z" />
|
|
4
|
+
<path fill="#050A14"
|
|
5
|
+
d="M188.4 71.7a10.4 10.4 0 01-20.8 0 10.4 10.4 0 1120.8 0zM224.2 45c-2.2-3.9-5-7.5-8.2-10.7l-12 7c-3.7-3.2-8-5.7-12.6-7.3a49.4 49.4 0 00-9.7 13.9 59 59 0 0140.1 14l7.6-4.4a57 57 0 00-5.2-12.5zM178 125.1c4.5 0 9-.6 13.4-1.7v-14a40 40 0 0012.5-7.2 47.7 47.7 0 00-7.1-15.3 59 59 0 01-32.2 27.7v8.7c4.4 1.2 8.9 1.8 13.4 1.8zM131.8 45c-2.3 4-4 8.1-5.2 12.5l12 7a40 40 0 000 14.4c5.7 1.5 11.3 2 16.9 1.5a59 59 0 01-8-41.7l-7.5-4.3c-3.2 3.2-6 6.7-8.2 10.6z" />
|
|
6
|
+
<path fill="#00B4FF"
|
|
7
|
+
d="M224.2 98.4c2.3-3.9 4-8 5.2-12.4l-12-7a40 40 0 000-14.5c-5.7-1.5-11.3-2-16.9-1.5a59 59 0 018 41.7l7.5 4.4c3.2-3.2 6-6.8 8.2-10.7zm-92.4 0c2.2 4 5 7.5 8.2 10.7l12-7a40 40 0 0012.6 7.3c4-4.1 7.3-8.8 9.7-13.8a59 59 0 01-40-14l-7.7 4.4c1.2 4.3 3 8.5 5.2 12.4zm46.2-80c-4.5 0-9 .5-13.4 1.7V34a40 40 0 00-12.5 7.2c1.5 5.7 4 10.8 7.1 15.4a59 59 0 0132.2-27.7V20a53.3 53.3 0 00-13.4-1.8z" />
|
|
8
|
+
<path fill="#00B4FF"
|
|
9
|
+
d="M178 9.2a62.6 62.6 0 11-.1 125.2A62.6 62.6 0 01178 9.2m0-9.2a71.7 71.7 0 100 143.5A71.7 71.7 0 00178 0z" />
|
|
10
|
+
<path fill="#050A14"
|
|
11
|
+
d="M96.6 212v4.3c-9.2-.8-15.4-5.8-15.4-17.8V180h4.6v18.4c0 8.6 4 12.6 10.8 13.5zm16-31.9v18.4c0 8.9-4.3 12.8-10.9 13.5v4.4c9.2-.7 15.5-5.6 15.5-18v-18.3h-4.7zM62.2 199v-2.2c0-12.7-8.8-17.4-21-17.4-12.1 0-20.7 4.7-20.7 17.4v2.2c0 12.8 8.6 17.6 20.7 17.6 1.5 0 3-.1 4.4-.3l11.8 6.2 2-3.3-8.2-4-6.4-3.1a32 32 0 01-3.6.2c-9.8 0-16-3.9-16-13.3v-2.2c0-9.3 6.2-13.1 16-13.1 9.9 0 16.3 3.8 16.3 13.1v2.2c0 5.3-2.1 8.7-5.6 10.8l4.8 2.4c3.4-2.8 5.5-7 5.5-13.2zM168 215.6h5.1L156 179.7h-4.8l17 36zM143 205l7.4-15.7-2.4-5-15.1 31.4h5.1l3.3-7h18.3l-1.8-3.7H143zm133.7 10.7h5.2l-17.3-35.9h-4.8l17 36zm-25-10.7l7.4-15.7-2.4-5-15.1 31.4h5.1l3.3-7h18.3l-1.7-3.7h-14.8zm73.8-2.5c6-1.2 9-5.4 9-11.4 0-8-4.5-10.9-12.9-10.9h-21.4v35.5h4.6v-31.3h16.5c5 0 8.5 1.4 8.5 6.7 0 5.2-3.5 7.7-8.5 7.7h-11.4v4.1h10.7l9.3 12.8h5.5l-9.9-13.2zm-117.4 9.9c-9.7 0-14.7-2.5-18.6-6.3l-2.2 3.8c5.1 5 11 6.7 21 6.7 1.6 0 3.1-.1 4.6-.3l-1.9-4h-3zm18.4-7c0-6.4-4.7-8.6-13.8-9.4l-10.1-1c-6.7-.7-9.3-2.2-9.3-5.6 0-2.5 1.4-4 4.6-5l-1.8-3.8c-4.7 1.4-7.5 4.2-7.5 8.9 0 5.2 3.4 8.7 13 9.6l11.3 1.2c6.4.6 8.9 2 8.9 5.4 0 2.7-2.1 4.7-6 5.8l1.8 3.9c5.3-1.6 8.9-4.7 8.9-10zm-20.3-21.9c7.9 0 13.3 1.8 18.1 5.7l1.8-3.9a30 30 0 00-19.6-5.9c-2 0-4 .1-5.7.3l1.9 4 3.5-.2z" />
|
|
12
|
+
<path fill="#00B4FF"
|
|
13
|
+
d="M.5 251.9c29.6-.5 59.2-.8 88.8-1l88.7-.3 88.7.3 44.4.4 44.4.6-44.4.6-44.4.4-88.7.3-88.7-.3a7981 7981 0 01-88.8-1z" />
|
|
14
|
+
<path fill="none" d="M-565.2 324H-252v15.8h-313.2z" />
|
|
15
|
+
</svg>
|
|
File without changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref } from 'vue'
|
|
3
|
+
import UBtnStd from './UBtnStd.vue'
|
|
3
4
|
|
|
4
5
|
const props = defineProps({
|
|
5
6
|
heading: {
|
|
@@ -52,15 +53,21 @@ const headerClass = computed(() => {
|
|
|
52
53
|
<div class="heading-wrapper row">
|
|
53
54
|
<div class="flex items-center dialog-heading-container">
|
|
54
55
|
<div v-if="leftIcon">
|
|
55
|
-
<
|
|
56
|
-
class="icon-back"
|
|
57
|
-
:class="leftIcon"
|
|
58
|
-
size="1.5rem"
|
|
59
|
-
@click="handleBackClick()"
|
|
56
|
+
<UBtnStd
|
|
60
57
|
tabindex="0"
|
|
58
|
+
class="dialog-action-icons"
|
|
59
|
+
:flat="true"
|
|
61
60
|
:aria-label="leftIconLabel"
|
|
61
|
+
@click="handleBackClick()"
|
|
62
62
|
>
|
|
63
|
-
|
|
63
|
+
<q-icon
|
|
64
|
+
class="icon-back"
|
|
65
|
+
:class="leftIcon"
|
|
66
|
+
size="1.5rem"
|
|
67
|
+
@click="handleBackClick()"
|
|
68
|
+
:aria-label="leftIconLabel"
|
|
69
|
+
/>
|
|
70
|
+
</UBtnStd>
|
|
64
71
|
</div>
|
|
65
72
|
<div class="col">
|
|
66
73
|
<div>
|
|
@@ -75,17 +82,23 @@ const headerClass = computed(() => {
|
|
|
75
82
|
</div>
|
|
76
83
|
</div>
|
|
77
84
|
</div>
|
|
78
|
-
<
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
:class="closeIcon"
|
|
82
|
-
size="1.5rem"
|
|
83
|
-
@click="dialogRef.hide()"
|
|
84
|
-
tabindex="0"
|
|
85
|
+
<UBtnStd
|
|
86
|
+
class="dialog-action-icons"
|
|
87
|
+
:flat="true"
|
|
85
88
|
:aria-label="closeIconLabel"
|
|
86
|
-
|
|
89
|
+
tabindex="0"
|
|
90
|
+
@click="dialogRef.hide()"
|
|
87
91
|
>
|
|
88
|
-
|
|
92
|
+
<q-icon
|
|
93
|
+
v-if="closeIcon"
|
|
94
|
+
class="icon-close"
|
|
95
|
+
:class="closeIcon"
|
|
96
|
+
size="1.5rem"
|
|
97
|
+
@click="dialogRef.hide()"
|
|
98
|
+
:aria-label="closeIconLabel"
|
|
99
|
+
:aria-hidden="false"
|
|
100
|
+
/>
|
|
101
|
+
</UBtnStd>
|
|
89
102
|
</div>
|
|
90
103
|
<div class="row">
|
|
91
104
|
<slot name="secondary_row"></slot>
|
|
@@ -174,6 +187,7 @@ const headerClass = computed(() => {
|
|
|
174
187
|
justify-content: space-between
|
|
175
188
|
flex-wrap: nowrap
|
|
176
189
|
margin-bottom: $ba
|
|
190
|
+
align-items: center
|
|
177
191
|
|
|
178
192
|
.icon-close
|
|
179
193
|
color: $neutral-9
|
|
@@ -199,4 +213,13 @@ const headerClass = computed(() => {
|
|
|
199
213
|
gap: $xs
|
|
200
214
|
.q-btn
|
|
201
215
|
margin: 0 !important
|
|
216
|
+
|
|
217
|
+
.q-btn.dialog-action-icons
|
|
218
|
+
padding: 0px 0px !important
|
|
219
|
+
min-width: 0px !important
|
|
220
|
+
min-height: 0px !important
|
|
221
|
+
height: auto !important
|
|
222
|
+
|
|
223
|
+
.q-focus-helper
|
|
224
|
+
background: transparent !important
|
|
202
225
|
</style>
|
|
@@ -147,9 +147,7 @@ const isRowSelected = (row) => {
|
|
|
147
147
|
} else {
|
|
148
148
|
return computed({
|
|
149
149
|
get: () => {
|
|
150
|
-
let dataLength = props.
|
|
151
|
-
? pagination.value.rowsPerPage
|
|
152
|
-
: props.rows.length
|
|
150
|
+
let dataLength = props.rows.length
|
|
153
151
|
return selectedRows.value.length === dataLength
|
|
154
152
|
? true
|
|
155
153
|
: selectedRows.value.length === 0
|
|
@@ -160,23 +158,11 @@ const isRowSelected = (row) => {
|
|
|
160
158
|
if (value !== null) {
|
|
161
159
|
selectedRows.value.splice(0, selectedRows.value.length)
|
|
162
160
|
} else {
|
|
163
|
-
if (props.virtualScroll) {
|
|
164
161
|
handleSelectAllData().then((res) => {
|
|
165
162
|
if (res === 200) {
|
|
166
163
|
customLoading.value = false
|
|
167
164
|
}
|
|
168
165
|
})
|
|
169
|
-
} else {
|
|
170
|
-
props.rows.forEach((element) => {
|
|
171
|
-
if (
|
|
172
|
-
selectedRows.value.findIndex(
|
|
173
|
-
(item) => item._id === element._id
|
|
174
|
-
) === -1
|
|
175
|
-
) {
|
|
176
|
-
selectedRows.value.push(element)
|
|
177
|
-
}
|
|
178
|
-
})
|
|
179
|
-
}
|
|
180
166
|
}
|
|
181
167
|
},
|
|
182
168
|
})
|
|
@@ -189,7 +175,7 @@ const handleSelectAllData = () => {
|
|
|
189
175
|
return new Promise((resolve, reject) => {
|
|
190
176
|
let index = 0
|
|
191
177
|
function processChunk() {
|
|
192
|
-
if (index >=
|
|
178
|
+
if (index >= rows.value.length) {
|
|
193
179
|
resolve(200)
|
|
194
180
|
return
|
|
195
181
|
}
|
package/src/components/index.js
CHANGED
|
@@ -16,7 +16,9 @@ import UAvatarGroup from './core/UAvatarGroup.vue'
|
|
|
16
16
|
import UBadgeStd from './core/UBadgeStd.vue'
|
|
17
17
|
import UBtnIcon from './core/UBtnIcon.vue'
|
|
18
18
|
import UChip from './core/UChip.vue'
|
|
19
|
+
import UInputPhoneStd from './core/UInputPhoneStd.vue'
|
|
19
20
|
import UInputTextStd from './core/UInputTextStd.vue'
|
|
21
|
+
import UDialogStd from './core/UDialogStd.vue'
|
|
20
22
|
import URadioBtn from './core/URadioBtn.vue'
|
|
21
23
|
|
|
22
24
|
import { useNotify } from '../composables/useNotify.js'
|
|
@@ -42,4 +44,6 @@ export {
|
|
|
42
44
|
URadioBtn,
|
|
43
45
|
UTableStd,
|
|
44
46
|
useNotify,
|
|
47
|
+
UDialogStd,
|
|
48
|
+
UInputPhoneStd,
|
|
45
49
|
}
|
package/src/css/app.sass
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
@import './vars/colors.variables'
|
|
2
|
+
@import './colors'
|
|
3
|
+
@import './typography'
|
|
4
|
+
@import 'flag-icons/css/flag-icons.min'
|
|
5
|
+
|
|
6
|
+
// @import './media'
|
|
7
|
+
|
|
8
|
+
*
|
|
9
|
+
font-family: 'neue-haas-grotesk-text', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'
|
|
10
|
+
|
|
11
|
+
//FOCUS CLASSES
|
|
12
|
+
|
|
13
|
+
.focus-primary
|
|
14
|
+
&:focus
|
|
15
|
+
box-shadow: 0 0 0 2px rgba(35, 75, 169, .20)
|
|
16
|
+
|
|
17
|
+
.focus-positive
|
|
18
|
+
&:focus
|
|
19
|
+
box-shadow: 0 0 0 2px rgba(36, 133, 96, .20)
|
|
20
|
+
|
|
21
|
+
.focus-warning
|
|
22
|
+
&:focus
|
|
23
|
+
box-shadow: 0 0 0 2px rgba(254, 78, 17, .20)
|
|
24
|
+
|
|
25
|
+
.focus-accent
|
|
26
|
+
&:focus
|
|
27
|
+
box-shadow: 0 0 0 2px rgba(203, 42, 61, .20)
|
|
28
|
+
|
|
29
|
+
.focus-info
|
|
30
|
+
&:focus
|
|
31
|
+
box-shadow: 0 0 0 2px rgba(92, 74, 184, .20)
|
|
32
|
+
|
|
33
|
+
.focus-neutral
|
|
34
|
+
&:focus
|
|
35
|
+
box-shadow: 0 0 0 2px rgba(220, 225, 233, .20)
|
|
36
|
+
|
|
37
|
+
//Shadow CLASSES
|
|
38
|
+
|
|
39
|
+
.shadow-1
|
|
40
|
+
box-shadow: 0px 0px 4px 0px rgba(16, 17, 20, 0.08)
|
|
41
|
+
|
|
42
|
+
.shadow-2
|
|
43
|
+
box-shadow: 0px 0px 8px 0px rgba(16, 17, 20, 0.12)
|
|
44
|
+
|
|
45
|
+
.shadow-3
|
|
46
|
+
box-shadow: 0px 12px 12px 0px rgba(16, 17, 20, 0.16)
|
|
47
|
+
|
|
48
|
+
.shadow-4
|
|
49
|
+
box-shadow: 0px 0px 16px 0px rgba(16, 17, 20, 0.20)
|
|
50
|
+
|
|
51
|
+
.shadow-down-1
|
|
52
|
+
box-shadow: 0px 2px 2px 0px rgba(16, 17, 20, 0.04)
|
|
53
|
+
|
|
54
|
+
.shadow-down-2
|
|
55
|
+
box-shadow: 0px 4px 4px 0px rgba(16, 17, 20, 0.08)
|
|
56
|
+
|
|
57
|
+
.shadow-down-3
|
|
58
|
+
box-shadow: 0px 8px 8px 0px rgba(16, 17, 20, 0.12)
|
|
59
|
+
|
|
60
|
+
.shadow-down-4
|
|
61
|
+
box-shadow: 0px 12px 12px 0px rgba(16, 17, 20, 0.16)
|
|
62
|
+
|
|
63
|
+
.shadow-up-1
|
|
64
|
+
box-shadow: 0px -2px 2px 0px rgba(16, 17, 20, 0.04)
|
|
65
|
+
|
|
66
|
+
.shadow-up-2
|
|
67
|
+
box-shadow: 0px -4px 4px 0px rgba(16, 17, 20, 0.08)
|
|
68
|
+
|
|
69
|
+
.shadow-up-3
|
|
70
|
+
box-shadow: 0px -8px 8px 0px rgba(16, 17, 20, 0.12)
|
|
71
|
+
|
|
72
|
+
.shadow-up-4
|
|
73
|
+
box-shadow: 0px -12px 12px 0px rgba(16, 17, 20, 0.16)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
// NOTIFY Custom CLASSES
|
|
77
|
+
|
|
78
|
+
.u-notify
|
|
79
|
+
width: 25.25rem
|
|
80
|
+
min-height: $xxl
|
|
81
|
+
border-radius: $xs
|
|
82
|
+
padding: $sm $sm $xs $sm
|
|
83
|
+
box-shadow: 0px 0px 8px 0px rgba(16, 17, 20, 0.12)
|
|
84
|
+
|
|
85
|
+
.q-notification__actions
|
|
86
|
+
padding: 0rem 0.5rem
|
|
87
|
+
|
|
88
|
+
.q-notification__progress
|
|
89
|
+
width: 25.25rem
|
|
90
|
+
bottom: -0.5rem
|
|
91
|
+
border-radius: 0rem 0.25rem
|
|
92
|
+
height: 0.25rem
|
|
93
|
+
|
|
94
|
+
.q-notification__content
|
|
95
|
+
.q-icon
|
|
96
|
+
margin-right: $xs
|
|
97
|
+
|
|
98
|
+
.q-notification__message
|
|
99
|
+
padding: 0rem
|
|
100
|
+
> div:first-child
|
|
101
|
+
font-size: 0.875rem
|
|
102
|
+
font-weight: 500
|
|
103
|
+
line-height: 1.25rem
|
|
104
|
+
letter-spacing: 0.03333rem
|
|
105
|
+
|
|
106
|
+
.q-notification__caption
|
|
107
|
+
font-size: 0.75rem
|
|
108
|
+
font-weight: 400
|
|
109
|
+
line-height: 1.25rem
|
|
110
|
+
letter-spacing: 0.01786rem
|
|
111
|
+
|
|
112
|
+
.u-notify-action-button
|
|
113
|
+
height: $lg
|
|
114
|
+
min-width: 5.5rem
|
|
115
|
+
padding: 0rem $ba
|
|
116
|
+
border-radius: $xs
|
|
117
|
+
|
|
118
|
+
.u-notify-action-icon
|
|
119
|
+
background: transparent !important
|
|
120
|
+
|
|
121
|
+
.u-action-icon-positive
|
|
122
|
+
.q-icon
|
|
123
|
+
color: $positive
|
|
124
|
+
.u-action-icon-info
|
|
125
|
+
.q-icon
|
|
126
|
+
color: $info
|
|
127
|
+
.u-action-icon-warning
|
|
128
|
+
.q-icon
|
|
129
|
+
color: $warning
|
|
130
|
+
.u-action-icon-accent
|
|
131
|
+
.q-icon
|
|
132
|
+
color: $accent
|
|
133
|
+
|
|
134
|
+
.u-type-positive
|
|
135
|
+
background: $green-2 !important
|
|
136
|
+
color: $green-7 !important
|
|
137
|
+
.q-btn
|
|
138
|
+
background: $positive
|
|
139
|
+
|
|
140
|
+
.u-type-info
|
|
141
|
+
background: $purple-1 !important
|
|
142
|
+
color: $purple-7 !important
|
|
143
|
+
.q-btn
|
|
144
|
+
background: $info
|
|
145
|
+
|
|
146
|
+
.u-type-warning
|
|
147
|
+
background: $orange-1 !important
|
|
148
|
+
color: $orange-7 !important
|
|
149
|
+
.q-btn
|
|
150
|
+
background: $warning
|
|
151
|
+
|
|
152
|
+
.u-type-accent
|
|
153
|
+
background: $red-1 !important
|
|
154
|
+
color: $red-7 !important
|
|
155
|
+
.q-btn
|
|
156
|
+
background: $accent
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
|
|
2
|
+
// GOLD TEXT
|
|
3
|
+
.text-gold-1
|
|
4
|
+
color: $gold-1 !important
|
|
5
|
+
.text-gold-2
|
|
6
|
+
color: $gold-2 !important
|
|
7
|
+
.text-gold-3
|
|
8
|
+
color: $gold-3 !important
|
|
9
|
+
.text-gold-4
|
|
10
|
+
color: $gold-4 !important
|
|
11
|
+
.text-gold-5
|
|
12
|
+
color: $gold-5 !important
|
|
13
|
+
.text-gold-6
|
|
14
|
+
color: $gold-6 !important
|
|
15
|
+
.text-gold-7
|
|
16
|
+
color: $gold-7 !important
|
|
17
|
+
.text-gold-8
|
|
18
|
+
color: $gold-8 !important
|
|
19
|
+
.text-gold-9
|
|
20
|
+
color: $gold-9 !important
|
|
21
|
+
|
|
22
|
+
// GOLD BACKGROUND
|
|
23
|
+
.bg-gold-1
|
|
24
|
+
background-color: $gold-1 !important
|
|
25
|
+
.bg-gold-2
|
|
26
|
+
background-color: $gold-2 !important
|
|
27
|
+
.bg-gold-3
|
|
28
|
+
background-color: $gold-3 !important
|
|
29
|
+
.bg-gold-4
|
|
30
|
+
background-color: $gold-4 !important
|
|
31
|
+
.bg-gold-5
|
|
32
|
+
background-color: $gold-5 !important
|
|
33
|
+
.bg-gold-6
|
|
34
|
+
background-color: $gold-6 !important
|
|
35
|
+
.bg-gold-7
|
|
36
|
+
background-color: $gold-7 !important
|
|
37
|
+
.bg-gold-8
|
|
38
|
+
background-color: $gold-8 !important
|
|
39
|
+
.bg-gold-9
|
|
40
|
+
background-color: $gold-9 !important
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// NEUTRAL TEXT
|
|
44
|
+
.text-neutral-1
|
|
45
|
+
color: $neutral-1 !important
|
|
46
|
+
.text-neutral-2
|
|
47
|
+
color: $neutral-2 !important
|
|
48
|
+
.text-neutral-3
|
|
49
|
+
color: $neutral-3 !important
|
|
50
|
+
.text-neutral-4
|
|
51
|
+
color: $neutral-4 !important
|
|
52
|
+
.text-neutral-5
|
|
53
|
+
color: $neutral-5 !important
|
|
54
|
+
.text-neutral-6
|
|
55
|
+
color: $neutral-6 !important
|
|
56
|
+
.text-neutral-7
|
|
57
|
+
color: $neutral-7 !important
|
|
58
|
+
.text-neutral-8
|
|
59
|
+
color: $neutral-8 !important
|
|
60
|
+
.text-neutral-9
|
|
61
|
+
color: $neutral-9 !important
|
|
62
|
+
|
|
63
|
+
// RED TEXT
|
|
64
|
+
.text-red-5
|
|
65
|
+
color: $red-5 !important
|
|
66
|
+
|
|
67
|
+
// NEUTRAL BACKGROUND
|
|
68
|
+
.bg-neutral-1
|
|
69
|
+
background-color: $neutral-1 !important
|
|
70
|
+
.bg-neutral-2
|
|
71
|
+
background-color: $neutral-2 !important
|
|
72
|
+
.bg-neutral-3
|
|
73
|
+
background-color: $neutral-3 !important
|
|
74
|
+
.bg-neutral-4
|
|
75
|
+
background-color: $neutral-4 !important
|
|
76
|
+
.bg-neutral-5
|
|
77
|
+
background-color: $neutral-5 !important
|
|
78
|
+
.bg-neutral-6
|
|
79
|
+
background-color: $neutral-6 !important
|
|
80
|
+
.bg-neutral-7
|
|
81
|
+
background-color: $neutral-7 !important
|
|
82
|
+
.bg-neutral-8
|
|
83
|
+
background-color: $neutral-8 !important
|
|
84
|
+
.bg-neutral-9
|
|
85
|
+
background-color: $neutral-9 !important
|
|
86
|
+
|
|
87
|
+
//BLUE BACKGROUND
|
|
88
|
+
.bg-blue-1
|
|
89
|
+
background-color: $blue-1 !important
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// Quasar Sass (& SCSS) Variables
|
|
2
|
+
// --------------------------------------------------
|
|
3
|
+
// To customize the look and feel of this app, you can override
|
|
4
|
+
// the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
|
|
5
|
+
|
|
6
|
+
// Check documentation for full list of Quasar variables
|
|
7
|
+
|
|
8
|
+
// Your own variables (that are declared here) and Quasar's own
|
|
9
|
+
// ones will be available out of the box in your .vue/.scss/.sass files
|
|
10
|
+
|
|
11
|
+
// It's highly recommended to change the default colors
|
|
12
|
+
// to match your app's branding.
|
|
13
|
+
// Tip: Use the "Theme Builder" on Quasar's documentation website.
|
|
14
|
+
|
|
15
|
+
@import 'vars/colors.variables'
|
|
16
|
+
$primary : #234BA9
|
|
17
|
+
$secondary : #143066
|
|
18
|
+
$accent : #CB2A3D
|
|
19
|
+
|
|
20
|
+
$dark : #101114
|
|
21
|
+
$dark-page : #121212
|
|
22
|
+
|
|
23
|
+
$positive : #248560
|
|
24
|
+
$negative : #CB2A3D
|
|
25
|
+
$info : #5C4AB8
|
|
26
|
+
$warning : #D33809
|
|
27
|
+
|
|
28
|
+
$description: #566176
|
|
29
|
+
|
|
30
|
+
$surface-bg-1: #FFFFFF
|
|
31
|
+
|
|
32
|
+
// USSSA TYPOGRAPHY RESET
|
|
33
|
+
$h1: (size: 4.063rem, line-height: 5.079rem, letter-spacing: .35px, weight: 700) !default
|
|
34
|
+
$h2: (size: 2.5rem, line-height: 3.125rem, letter-spacing: .35px, weight: 700) !default
|
|
35
|
+
$h3: (size: 1.5rem, line-height: 1.875rem, letter-spacing: .35px, weight: 700) !default
|
|
36
|
+
$h4: (size: 1.25rem, line-height: 1.563rem, letter-spacing: .35px, weight: 700) !default
|
|
37
|
+
|
|
38
|
+
// QUASAR DEFAULTS
|
|
39
|
+
$h5: (size: 1.5rem, line-height: 2rem, letter-spacing: normal, weight: 700) !default
|
|
40
|
+
$h6: (size: 1.25rem, line-height: 2rem, letter-spacing: .0125em, weight: 700) !default
|
|
41
|
+
|
|
42
|
+
// USSSA CUSTOM
|
|
43
|
+
$h1-md: (size: 3.00rem , line-height: 3.75rem, letter-spacing: .35px, weight: bold) !default
|
|
44
|
+
$h1-sm: (size: 2.50rem , line-height: 3.44rem, letter-spacing: .35px, weight: bold) !default
|
|
45
|
+
|
|
46
|
+
$h2-md: (size: 2.25rem , line-height: 2.813rem, letter-spacing: .35px, weight: bold) !default
|
|
47
|
+
$h2-sm: (size: 2.00rem , line-height: 2.50rem, letter-spacing: .35px, weight: bold) !default
|
|
48
|
+
|
|
49
|
+
$h3-md: (size: 1.375rem , line-height: 1.719rem, letter-spacing: .35px, weight: bold) !default
|
|
50
|
+
$h3-sm: (size: 1.250rem , line-height: 1.563rem, letter-spacing: .35px, weight: bold) !default
|
|
51
|
+
|
|
52
|
+
$h4-md: (size: 1.125rem , line-height: 1.406rem, letter-spacing: .35px, weight: bold) !default
|
|
53
|
+
$h4-sm: (size: 1.00rem , line-height: 1.25rem, letter-spacing: .35px, weight: bold) !default
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// DESKTOP
|
|
57
|
+
$caption-lg: (size: 1rem, line-height: 1.25rem, letter-spacing: .03333rem, font-weight: 500) !default
|
|
58
|
+
$caption-md: (size: 0.875rem, line-height: 1.25rem, letter-spacing: .03333rem, font-weight: 500) !default
|
|
59
|
+
$caption-sm: (size: 0.75rem, line-height: 1.25rem, letter-spacing: .03333rem, font-weight: 500) !default
|
|
60
|
+
$caption-xs: (size: 0.688rem, line-height: 1.25rem, letter-spacing: .03333rem, font-weight: 500) !default
|
|
61
|
+
|
|
62
|
+
$body-xl: (size: 1.25rem, line-height: 2.5rem, letter-spacing: .03215rem, weight: 400) !default
|
|
63
|
+
$body-lg: (size: 1.125rem, line-height: 1.75rem, letter-spacing: .03215rem, weight: 400) !default
|
|
64
|
+
$body-md: (size: 1.00rem, line-height: 1.5rem, letter-spacing: .01786rem, weight: 400) !default
|
|
65
|
+
$body-sm: (size: 0.875rem, line-height: 1.5rem, letter-spacing: .01786rem, weight: 400) !default
|
|
66
|
+
$body-xs: (size: 0.75rem, line-height: 1.25rem, letter-spacing: .01786rem, weight: 400) !default
|
|
67
|
+
$body-xxs: (size: 0.688rem, line-height: 1.25rem, letter-spacing: .01786rem, weight: 400) !default
|
|
68
|
+
|
|
69
|
+
$overline-lg: (size: 1.00rem, line-height: 1.50rem, letter-spacing: .53px, weight: 500) !default
|
|
70
|
+
$overline-md: (size: 0.875rem, line-height: 2rem, letter-spacing: .53px, weight: 500) !default
|
|
71
|
+
$overline-sm: (size: 0.75rem, line-height: 2rem, letter-spacing: .53px, weight: 500) !default
|
|
72
|
+
$overline-xs: (size: 0.688rem, line-height: 2rem, letter-spacing: .53px, weight: 500) !default
|
|
73
|
+
|
|
74
|
+
// VARIABLE ASSIGNMENT
|
|
75
|
+
$headings: ('h1': $h1, 'h1-md': $h1-md, 'h1-sm': $h1-sm, 'h2': $h2, 'h2-md': $h2-md, 'h2-sm': $h2-sm, 'h3': $h3, 'h3-md': $h3-md, 'h3-sm': $h3-sm, 'h4': $h4, 'h4-md': $h4-md, 'h4-sm': $h4-sm, 'h5': $h5, 'h6': $h6, 'body-xl': $body-xl, 'body-lg': $body-lg, 'body-md': $body-md, 'body-sm': $body-sm, 'body-xs': $body-xs, 'body-xxs': $body-xxs, 'overline-lg': $overline-lg, 'overline-md': $overline-md, 'overline-sm': $overline-sm,'overline-xs': $overline-xs, 'caption-lg': $caption-lg, 'caption-md': $caption-md, 'caption-sm': $caption-sm, 'caption-xs': $caption-xs) !default
|
|
76
|
+
|
|
77
|
+
// SPACING BASE
|
|
78
|
+
$space-base : 1rem !default
|
|
79
|
+
$space-x-base : $space-base !default
|
|
80
|
+
$space-y-base : $space-base !default
|
|
81
|
+
|
|
82
|
+
// SPACING SINGLE VARIABLES
|
|
83
|
+
$xxs : $space-base * .25 !default
|
|
84
|
+
$xs : $space-base * .5 !default
|
|
85
|
+
$sm : $space-base * .75 !default
|
|
86
|
+
$ms : $space-base * 1.5 !default
|
|
87
|
+
$ba : $space-base * 1 !default
|
|
88
|
+
$md : $space-base * 2 !default
|
|
89
|
+
$lg : $space-base * 2.5 !default
|
|
90
|
+
$xl : $space-base * 3 !default
|
|
91
|
+
$xxl : $space-base * 3.375 !default
|
|
92
|
+
|
|
93
|
+
// SPACING VARIABLES FOR QUASAR SPACING UTILITY CLASSES
|
|
94
|
+
$space-none : (x: 0, y: 0) !default
|
|
95
|
+
$space-xxs : (x: ($space-x-base * .25), y: ($space-y-base * .25)) !default
|
|
96
|
+
$space-xs : (x: ($space-x-base * .5), y: ($space-y-base * .5)) !default
|
|
97
|
+
$space-sm : (x: ($space-x-base * .75), y: ($space-y-base * .5)) !default
|
|
98
|
+
$space-ms : (x: ($space-x-base * 1.5), y: ($space-y-base * 1.5)) !default
|
|
99
|
+
$space-ba : (x: ($space-x-base * 1), y: ($space-y-base * 1)) !default
|
|
100
|
+
$space-md : (x: $space-x-base * 2, y: $space-y-base * 2) !default
|
|
101
|
+
$space-lg : (x: ($space-x-base * 2.5), y: ($space-y-base * 2.5)) !default
|
|
102
|
+
$space-xl : (x: ($space-x-base * 3), y: ($space-y-base * 3)) !default
|
|
103
|
+
$space-xxl : (x: ($space-x-base * 3.375), y: ($space-y-base * 3.375)) !default
|
|
104
|
+
|
|
105
|
+
$spaces: ('none': $space-none, 'xxs': $space-xxs, 'xs': $space-xs, 'sm': $space-sm, 'ms': $space-ms, 'ba': $space-ba, 'md': $space-md, 'lg': $space-lg, 'xl': $space-xl, 'xxl': $space-xxl) !default
|
|
106
|
+
|
|
107
|
+
//Shadow variables
|
|
108
|
+
|
|
109
|
+
$shadow-inner: 0px 0px 1px 1px rgb(16, 17, 20, .12) inset
|
|
110
|
+
$shadow-skeumorphic-primary: 0px 1px 0.4px 0px rgba(136, 136, 138, 0.40) inset, 0px -1px 0.4px 0px rgba(16, 17, 20, 0.40) inset, 0px 4px 10px 0px rgba(16,17,20,0.00), 0px 0px 0px 1px rgb(35,75,169)
|
|
111
|
+
$stroke-skeuomorphic: 1px solid rgba(255, 255, 255, 0.12)
|
|
112
|
+
$shadow-2: 0px 0px 8px 0px rgba(16, 17, 20, 0.12)
|
|
113
|
+
|
|
114
|
+
$accent-bg-hover: rgba(203, 42, 61, 0.15)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.text-heading-xxxl
|
|
2
|
+
font-size: 3rem
|
|
3
|
+
line-height: 3.75rem
|
|
4
|
+
|
|
5
|
+
.text-heading-xxl
|
|
6
|
+
font-size: 2.5rem
|
|
7
|
+
line-height: 3.125rem
|
|
8
|
+
|
|
9
|
+
.text-heading-xl
|
|
10
|
+
font-size: 2rem
|
|
11
|
+
line-height: 2.5rem
|
|
12
|
+
|
|
13
|
+
.text-heading-lg
|
|
14
|
+
font-size: 1.75rem
|
|
15
|
+
line-height: 2.188rem
|
|
16
|
+
|
|
17
|
+
.text-heading-md
|
|
18
|
+
font-size: 1.5rem
|
|
19
|
+
line-height: 1.875rem
|
|
20
|
+
|
|
21
|
+
.text-heading-sm
|
|
22
|
+
font-size: 1.25rem
|
|
23
|
+
line-height: 2rem
|
|
24
|
+
letter-spacing: 0
|
|
25
|
+
font-weight: 700
|
|
26
|
+
|
|
27
|
+
.text-heading-xs
|
|
28
|
+
font-size: 1.125rem
|
|
29
|
+
line-height: 1.406rem
|
|
30
|
+
|
|
31
|
+
.text-heading-xxs
|
|
32
|
+
font-size: 1rem
|
|
33
|
+
line-height: 1.5rem
|
|
34
|
+
|