@shoprenter/sr-styleguide 1.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/README.md +37 -0
- package/dist/demo/src/demo.js +1 -0
- package/dist/demo/src/demo_bootstrap_js.css +119 -0
- package/dist/demo/src/demo_bootstrap_js.js +2 -0
- package/dist/demo/src/demo_bootstrap_js.js.LICENSE.txt +3180 -0
- package/dist/demo/src/index.html +1 -0
- package/dist/demo/src/stylesheet.js +0 -0
- package/dist/stylesheet/sr-styleguide.css +34 -0
- package/package.json +61 -0
- package/src/components/alerts/SrErrorAlert.vue +18 -0
- package/src/components/alerts/SrInfoAlert.vue +18 -0
- package/src/components/alerts/SrSuccessAlert.vue +18 -0
- package/src/components/alerts/SrWarningAlert.vue +18 -0
- package/src/components/app-containers/SrModule/SrModule.scss +16 -0
- package/src/components/app-containers/SrModule/SrModule.vue +17 -0
- package/src/components/app-containers/SrPage/SrPage.vue +25 -0
- package/src/components/buttons/SrDeleteButton.vue +11 -0
- package/src/components/buttons/SrHelpButton.scss +9 -0
- package/src/components/buttons/SrHelpButton.vue +16 -0
- package/src/components/buttons/SrPrimaryButton.vue +11 -0
- package/src/components/buttons/tests/SrHelpButton.spec.js +36 -0
- package/src/components/form/SrFormRow/SrFormRow.scss +26 -0
- package/src/components/form/SrFormRow/SrFormRow.vue +44 -0
- package/src/components/icons/SrAddCircleOutlineIcon.vue +11 -0
- package/src/components/icons/SrArrowRightIcon.vue +11 -0
- package/src/components/icons/SrCalendarIcon.vue +11 -0
- package/src/components/icons/SrCheckboxIndeterminateIcon.vue +11 -0
- package/src/components/icons/SrCheckboxOffIcon.vue +11 -0
- package/src/components/icons/SrCheckboxOnIcon.vue +11 -0
- package/src/components/icons/SrCloseIcon.vue +11 -0
- package/src/components/icons/SrDuplicateIcon.vue +11 -0
- package/src/components/icons/SrEditIcon.vue +11 -0
- package/src/components/icons/SrErrorCircleOutlineIcon.vue +11 -0
- package/src/components/icons/SrErrorIcon.vue +11 -0
- package/src/components/icons/SrExportIcon.vue +11 -0
- package/src/components/icons/SrFileWithStarIcon.vue +11 -0
- package/src/components/icons/SrFilterIcon.vue +11 -0
- package/src/components/icons/SrFindIcon.vue +11 -0
- package/src/components/icons/SrHelpCircleOutlineIcon.vue +11 -0
- package/src/components/icons/SrImportIcon.vue +11 -0
- package/src/components/icons/SrInfoIcon.vue +11 -0
- package/src/components/icons/SrInformationIcon.vue +11 -0
- package/src/components/icons/SrInvoiceIcon.vue +11 -0
- package/src/components/icons/SrInvoiceStornoIcon.vue +11 -0
- package/src/components/icons/SrLightningIcon.vue +11 -0
- package/src/components/icons/SrMagnifyIcon.vue +11 -0
- package/src/components/icons/SrMailIcon.vue +11 -0
- package/src/components/icons/SrNextIcon.vue +11 -0
- package/src/components/icons/SrOpenInNewIcon.vue +11 -0
- package/src/components/icons/SrPackageIcon.vue +10 -0
- package/src/components/icons/SrPadlockOutlineIcon.vue +11 -0
- package/src/components/icons/SrPencilIcon.vue +11 -0
- package/src/components/icons/SrPrevIcon.vue +11 -0
- package/src/components/icons/SrRadioOff.vue +11 -0
- package/src/components/icons/SrRadioOn.vue +11 -0
- package/src/components/icons/SrSearchCloseIcon.vue +11 -0
- package/src/components/icons/SrSearchIcon.vue +11 -0
- package/src/components/icons/SrSettingIcon.vue +11 -0
- package/src/components/icons/SrSuccessCircleOutlineIcon.vue +11 -0
- package/src/components/icons/SrSuccessIcon.vue +11 -0
- package/src/components/icons/SrTrashIcon.vue +11 -0
- package/src/components/icons/SrWarningCircleOutlineIcon.vue +11 -0
- package/src/components/icons/flags/SrCroatiaFlag.vue +73 -0
- package/src/components/icons/flags/SrGermanyFlag.vue +23 -0
- package/src/components/icons/flags/SrHungaryFlag.vue +19 -0
- package/src/components/icons/flags/SrRomaniaFlag.vue +23 -0
- package/src/components/icons/flags/SrSerbiaFlag.vue +34 -0
- package/src/components/icons/flags/SrSloveniaFlag.vue +33 -0
- package/src/components/icons/flags/SrUnitedKingdomFlag.vue +42 -0
- package/src/components/inputs/SrCheckbox/SrArrayCheckbox.vue +34 -0
- package/src/components/inputs/SrCheckbox/SrCheckbox.vue +15 -0
- package/src/components/inputs/SrCheckbox/tests/SrArrayCheckbox.spec.js +73 -0
- package/src/components/inputs/SrDatePicker/SrDatePicker.vue +56 -0
- package/src/components/inputs/SrInputField/SrInputField.vue +17 -0
- package/src/components/inputs/SrMultiCheckbox/SrMultiCheckbox.scss +35 -0
- package/src/components/inputs/SrMultiCheckbox/SrMultiCheckbox.vue +68 -0
- package/src/components/inputs/SrMultiCheckbox/tests/SrMultiCheckbox.spec.js +81 -0
- package/src/components/inputs/SrRadio/SrRadio.vue +19 -0
- package/src/components/inputs/SrRadio/SrRadioGroup.vue +15 -0
- package/src/components/inputs/SrSelect/SrSelect.vue +23 -0
- package/src/components/inputs/SrSwitch/SrSwitch.vue +30 -0
- package/src/components/layouts/slim/SrSlimContent/SrSlimContent.vue +14 -0
- package/src/components/layouts/slim/SrSlimHeading/SrSlimHeading.vue +14 -0
- package/src/components/layouts/slim/SrSlimLayout/SrSlimLayout.vue +13 -0
- package/src/components/milestone-indicators/multi-step-progress-bar/SrMultiStepProgressBar/SrMultiStepProgressBar.scss +25 -0
- package/src/components/milestone-indicators/multi-step-progress-bar/SrMultiStepProgressBar/SrMultiStepProgressBar.vue +12 -0
- package/src/components/milestone-indicators/multi-step-progress-bar/SrProgressBarStep/SrProgressBarStep.scss +69 -0
- package/src/components/milestone-indicators/multi-step-progress-bar/SrProgressBarStep/SrProgressBarStep.vue +25 -0
- package/src/components/pagination/SrPagination.vue +57 -0
- package/src/components/tables/SrSimpleTable/SrSimpleTable.vue +11 -0
- package/src/components/tabs/SrLanguageTab/SrLanguageTab.scss +12 -0
- package/src/components/tabs/SrLanguageTab/SrLanguageTab.vue +26 -0
- package/src/components/tabs/SrLanguageTab/adminLanguages.js +64 -0
- package/src/components/tabs/SrTab/SrTab.scss +9 -0
- package/src/components/tabs/SrTab/SrTab.vue +15 -0
- package/src/components/tabs/SrTabItem/SrTabItem.vue +12 -0
- package/src/components/tabs/SrTabs/SrTabs.scss +5 -0
- package/src/components/tabs/SrTabs/SrTabs.vue +28 -0
- package/src/components/tabs/SrTabsItems/SrTabsItems.vue +12 -0
- package/src/index.js +2 -0
- package/src/plugins/component-library/index.js +27 -0
- package/src/plugins/component-library/library/SrAlerts.js +13 -0
- package/src/plugins/component-library/library/SrAppContainers.js +9 -0
- package/src/plugins/component-library/library/SrButtons.js +11 -0
- package/src/plugins/component-library/library/SrFormRow.js +7 -0
- package/src/plugins/component-library/library/SrIcons.js +98 -0
- package/src/plugins/component-library/library/SrInputs.js +23 -0
- package/src/plugins/component-library/library/SrLayouts.js +11 -0
- package/src/plugins/component-library/library/SrMilestoneIndicators.js +11 -0
- package/src/plugins/component-library/library/SrPagination.js +7 -0
- package/src/plugins/component-library/library/SrTables.js +7 -0
- package/src/plugins/component-library/library/SrTabs.js +15 -0
- package/src/plugins/vuetify/index.js +9 -0
- package/src/plugins/vuetify/preset/icons/components/AddCircleOutlineIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/ArrowRightIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/CalendarIcon.vue +27 -0
- package/src/plugins/vuetify/preset/icons/components/CheckboxIndeterminateIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/CheckboxOffIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/CheckboxOnIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/CloseIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/DuplicateIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/EditIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/ErrorCircleOutlineIcon.vue +13 -0
- package/src/plugins/vuetify/preset/icons/components/ErrorIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/ExportIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/FileWithStarIcon.vue +15 -0
- package/src/plugins/vuetify/preset/icons/components/FilterIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/FindIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/HelpCircleOutlineIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/ImportIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/InfoIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/InformationIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/InvoiceIcon.vue +13 -0
- package/src/plugins/vuetify/preset/icons/components/InvoiceStornoIcon.vue +13 -0
- package/src/plugins/vuetify/preset/icons/components/LightningIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/MagnifyIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/MailIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/NextIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/OpenInNewIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/PackageIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/PadlockOutlineIcon.vue +20 -0
- package/src/plugins/vuetify/preset/icons/components/PencilIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/PrevIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/RadioOff.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/RadioOn.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/SearchCloseIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/SearchIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/SettingIcon.vue +9 -0
- package/src/plugins/vuetify/preset/icons/components/SuccessCircleOutlineIcon.vue +13 -0
- package/src/plugins/vuetify/preset/icons/components/SuccessIcon.vue +11 -0
- package/src/plugins/vuetify/preset/icons/components/TrashIcon.vue +12 -0
- package/src/plugins/vuetify/preset/icons/components/WarningCircleOutlineIcon.vue +18 -0
- package/src/plugins/vuetify/preset/icons/index.js +156 -0
- package/src/plugins/vuetify/preset/index.js +27 -0
- package/src/plugins/vuetify/preset/locale/sr-en.js +10 -0
- package/src/plugins/vuetify/preset/locale/sr-hu.js +10 -0
- package/src/plugins/vuetify/preset/overrides.sass +7 -0
- package/src/plugins/vuetify/preset/style/css/root_variables.css +25 -0
- package/src/plugins/vuetify/preset/style/scss/_admin-menu.scss +24 -0
- package/src/plugins/vuetify/preset/style/scss/_components.scss +19 -0
- package/src/plugins/vuetify/preset/style/scss/_layout.scss +140 -0
- package/src/plugins/vuetify/preset/style/scss/_new-style.scss +80 -0
- package/src/plugins/vuetify/preset/style/scss/_pages.scss +5 -0
- package/src/plugins/vuetify/preset/style/scss/_scaffolding.scss +29 -0
- package/src/plugins/vuetify/preset/style/scss/_utility.scss +14 -0
- package/src/plugins/vuetify/preset/style/scss/_vuetify-rewrite.scss +4 -0
- package/src/plugins/vuetify/preset/style/scss/components/_actionbar.scss +31 -0
- package/src/plugins/vuetify/preset/style/scss/components/_block.scss +12 -0
- package/src/plugins/vuetify/preset/style/scss/components/_breadcrumb.scss +37 -0
- package/src/plugins/vuetify/preset/style/scss/components/_buttons.scss +71 -0
- package/src/plugins/vuetify/preset/style/scss/components/_cards.scss +61 -0
- package/src/plugins/vuetify/preset/style/scss/components/_copy-to-clipboard.scss +16 -0
- package/src/plugins/vuetify/preset/style/scss/components/_dialog.scss +61 -0
- package/src/plugins/vuetify/preset/style/scss/components/_icons.scss +21 -0
- package/src/plugins/vuetify/preset/style/scss/components/_input.scss +199 -0
- package/src/plugins/vuetify/preset/style/scss/components/_pagination.scss +36 -0
- package/src/plugins/vuetify/preset/style/scss/components/_quantity-range-input.scss +93 -0
- package/src/plugins/vuetify/preset/style/scss/components/_select-all-plus.scss +5 -0
- package/src/plugins/vuetify/preset/style/scss/components/_select.scss +92 -0
- package/src/plugins/vuetify/preset/style/scss/components/_simple-card.scss +97 -0
- package/src/plugins/vuetify/preset/style/scss/components/_sticky-header.scss +41 -0
- package/src/plugins/vuetify/preset/style/scss/components/_table.scss +94 -0
- package/src/plugins/vuetify/preset/style/scss/components/_tooltip.scss +3 -0
- package/src/plugins/vuetify/preset/style/scss/mixins/_breakpoints.scss +123 -0
- package/src/plugins/vuetify/preset/style/scss/pages/_apps.scss +99 -0
- package/src/plugins/vuetify/preset/style/scss/pages/_campaign.scss +30 -0
- package/src/plugins/vuetify/preset/style/scss/pages/_order-list.scss +498 -0
- package/src/plugins/vuetify/preset/style/scss/pages/_order-preview.scss +83 -0
- package/src/plugins/vuetify/preset/style/scss/pages/_product-list.scss +286 -0
- package/src/plugins/vuetify/preset/variables.scss +264 -0
- package/src/plugins/vuetify/vuetify.sass +95 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
.v-input {
|
|
2
|
+
input, textarea {
|
|
3
|
+
border: 0;
|
|
4
|
+
box-shadow: none;
|
|
5
|
+
|
|
6
|
+
&::placeholder {
|
|
7
|
+
font-style: italic;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__control {
|
|
12
|
+
.v-messages {
|
|
13
|
+
&__message {
|
|
14
|
+
font-size: 12px;
|
|
15
|
+
line-height: 16px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.v-input--selection-controls {
|
|
22
|
+
width: auto;
|
|
23
|
+
|
|
24
|
+
.v-input__control {
|
|
25
|
+
width: auto;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.v-input__slot {
|
|
29
|
+
width: auto;
|
|
30
|
+
align-items: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.v-input__slot > .v-label {
|
|
34
|
+
flex: 0 0 auto;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.v-input--selection-controls__input {
|
|
38
|
+
transition: none;
|
|
39
|
+
|
|
40
|
+
.v-icon {
|
|
41
|
+
width: auto;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.v-input--checkbox {
|
|
46
|
+
padding-top: 0;
|
|
47
|
+
|
|
48
|
+
&:not(.v-input--has-state) {
|
|
49
|
+
.v-icon__component {
|
|
50
|
+
color: var(--sr-black);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
.v-icon__component {
|
|
55
|
+
color: var(--sr-primary);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.v-input--is-disabled {
|
|
61
|
+
.v-icon__component {
|
|
62
|
+
color: var(--sr-pale-gray);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.v-simple-checkbox {
|
|
69
|
+
&:not(.v-simple-checkbox--disabled) {
|
|
70
|
+
color: var(--sr-black);
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
.v-icon__component {
|
|
74
|
+
color: var(--sr-primary);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.v-icon.v-icon--disabled {
|
|
80
|
+
color: var(--sr-pale-gray) !important;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.v-radio {
|
|
85
|
+
&:not(.v-radio--is-disabled) {
|
|
86
|
+
.v-icon {
|
|
87
|
+
color: var(--sr-black);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:hover {
|
|
91
|
+
.v-icon {
|
|
92
|
+
color: var(--sr-primary);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.v-radio--is-disabled {
|
|
98
|
+
.v-icon {
|
|
99
|
+
color: var(--sr-pale-gray) !important;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.v-text-field--outlined.v-input--is-focused fieldset,
|
|
105
|
+
.v-text-field--outlined.v-input--has-state fieldset {
|
|
106
|
+
border-width: 1px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.textarea-save {
|
|
110
|
+
&__textarea {
|
|
111
|
+
outline: none;
|
|
112
|
+
width: 100%;
|
|
113
|
+
height: 80px;
|
|
114
|
+
padding: 4px 7px;
|
|
115
|
+
text-align: left;
|
|
116
|
+
border-radius: 3px;
|
|
117
|
+
border: 1px solid var(--sr-pale-gray);
|
|
118
|
+
background: white;
|
|
119
|
+
|
|
120
|
+
&:hover {
|
|
121
|
+
border: 1px solid $input-hover-border-color;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&::-webkit-outer-spin-button,
|
|
125
|
+
&::-webkit-inner-spin-button {
|
|
126
|
+
-webkit-appearance: none;
|
|
127
|
+
margin: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.input-save {
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: space-between;
|
|
135
|
+
align-items: center;
|
|
136
|
+
|
|
137
|
+
&__input {
|
|
138
|
+
outline: none;
|
|
139
|
+
width: 100%;
|
|
140
|
+
max-width: 120px;
|
|
141
|
+
padding: 4px 7px;
|
|
142
|
+
text-align: right;
|
|
143
|
+
border: 1px solid transparent;
|
|
144
|
+
border-radius: 3px;
|
|
145
|
+
|
|
146
|
+
&:not([disabled]):hover {
|
|
147
|
+
border: 1px solid $input-focus-border-color;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&:not([disabled]):focus {
|
|
151
|
+
border: 1px solid $input-focus-border-color;
|
|
152
|
+
background: white;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&__loading-container {
|
|
157
|
+
min-width: 14px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.admin-order-table__body-row:hover .select-save__select,
|
|
162
|
+
.admin-product-table__body-row:hover .input-save__input,
|
|
163
|
+
.admin-product-table__body-row:hover .select-save__select {
|
|
164
|
+
border: 1px solid #cccccc;
|
|
165
|
+
background: #fff;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.admin-product-table__model,
|
|
169
|
+
.admin-product-table__model > div {
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.admin-product-table__model > div input {
|
|
174
|
+
max-width: 100%;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@include media-breakpoint-down(sm) {
|
|
178
|
+
.admin-order-table__body-row .select-save__select,
|
|
179
|
+
.admin-product-table__body-row .input-save__input,
|
|
180
|
+
.admin-product-table__body-row .select-save__select {
|
|
181
|
+
border: 1px solid #cccccc;
|
|
182
|
+
background: #fff;
|
|
183
|
+
max-width: 100%;
|
|
184
|
+
width: 100%;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.admin-order-table__body-row .select-save__select,
|
|
188
|
+
.admin-product-table__body-row .select-save__select {
|
|
189
|
+
min-width: 120px;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
.v-label {
|
|
193
|
+
font-size: 12px;
|
|
194
|
+
margin: unset;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.v-input.v-input--selection-controls {
|
|
198
|
+
margin-top: 0;
|
|
199
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.admin-pagination .row {
|
|
2
|
+
flex-direction: row-reverse;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.admin-pagination-results {
|
|
7
|
+
font-size: 13px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.admin-pagination-results__label {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.admin-pagination-pages {
|
|
15
|
+
.v-pagination {
|
|
16
|
+
justify-content: flex-end;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.v-pagination__navigation,
|
|
20
|
+
.v-pagination__item--active,
|
|
21
|
+
.v-pagination__item {
|
|
22
|
+
background: transparent !important;
|
|
23
|
+
box-shadow: none;
|
|
24
|
+
border-radius: 0;
|
|
25
|
+
outline: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.v-pagination__item {
|
|
29
|
+
color: var(--sr-dark-grey) !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.v-pagination__item--active {
|
|
33
|
+
color: var(--sr-black) !important;
|
|
34
|
+
font-weight: bold;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
.admin-quantity-range {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
@include media-breakpoint-up(md) {
|
|
5
|
+
width: auto;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__fieldset {
|
|
9
|
+
border: 1px solid var(--sr-pale-gray);
|
|
10
|
+
border-collapse: collapse;
|
|
11
|
+
border-radius: 3px;
|
|
12
|
+
background: white;
|
|
13
|
+
position: absolute;
|
|
14
|
+
padding-left: 12px;
|
|
15
|
+
top: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
transition-duration: 0.3s;
|
|
20
|
+
transition-property: color, border-width;
|
|
21
|
+
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
22
|
+
|
|
23
|
+
legend {
|
|
24
|
+
line-height: 11px;
|
|
25
|
+
padding: 0;
|
|
26
|
+
transition: width 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover .admin-quantity-range__fieldset {
|
|
31
|
+
border-color: #A7ADAF;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:focus-within {
|
|
35
|
+
border-color: #A7ADAF;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.admin-quantity-range__input {
|
|
40
|
+
position: relative;
|
|
41
|
+
display: flex;
|
|
42
|
+
|
|
43
|
+
.quantity-input {
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
border-radius: 3px;
|
|
46
|
+
border: none;
|
|
47
|
+
color: $sub-color;
|
|
48
|
+
padding: 9px 10px 9px 5px;
|
|
49
|
+
width: 49%;
|
|
50
|
+
outline: none;
|
|
51
|
+
|
|
52
|
+
@include media-breakpoint-up(md) {
|
|
53
|
+
width: 70px;
|
|
54
|
+
}
|
|
55
|
+
margin: 0;
|
|
56
|
+
|
|
57
|
+
&:hover,
|
|
58
|
+
&:focus {
|
|
59
|
+
box-shadow: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.quantity-input-label {
|
|
64
|
+
color: $sub-color;
|
|
65
|
+
font-weight: normal;
|
|
66
|
+
padding-right: 0.5rem;
|
|
67
|
+
padding-left: 0.5rem;
|
|
68
|
+
background-color: #fff;
|
|
69
|
+
position: absolute;
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
left: 12px;
|
|
72
|
+
top: 8px;
|
|
73
|
+
transition: 300ms ease all;
|
|
74
|
+
|
|
75
|
+
&--shrink {
|
|
76
|
+
transform: translate3d(-8px, -18px, 0) scale(0.75);
|
|
77
|
+
background: transparent;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&--focused {
|
|
81
|
+
color: var(--sr-primary);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.quantity-divider {
|
|
86
|
+
position: absolute;
|
|
87
|
+
left: calc(50% - 10px);
|
|
88
|
+
top: 50%;
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
color: #C5CCD6;
|
|
91
|
+
transform: translate(-50%, -50%);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.v-select__selection--comma {
|
|
2
|
+
margin: 5px 4px 5px 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.select-save {
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
.select-arrow {
|
|
9
|
+
position: absolute;
|
|
10
|
+
right: 20px;
|
|
11
|
+
top: 0;
|
|
12
|
+
width: 15px;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
color: #546A79;
|
|
18
|
+
|
|
19
|
+
.v-icon {
|
|
20
|
+
margin: 0;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__loading-container {
|
|
26
|
+
min-width: 14px;
|
|
27
|
+
}
|
|
28
|
+
&__select {
|
|
29
|
+
border: 1px solid transparent;
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
box-shadow: unset;
|
|
32
|
+
border-radius: 0;
|
|
33
|
+
appearance: none;
|
|
34
|
+
padding: 4px 25px 4px 10px;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
border: 1px solid $input-hover-border-color;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:focus {
|
|
41
|
+
border: 1px solid $input-focus-border-color;
|
|
42
|
+
background: white;
|
|
43
|
+
outline: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
&__option {
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
padding: 3px;
|
|
49
|
+
|
|
50
|
+
&.active {
|
|
51
|
+
color: var(--sr-primary);
|
|
52
|
+
background-color: #f2f8e7;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.v-menu__content {
|
|
58
|
+
max-width: 300px;
|
|
59
|
+
box-shadow: 0 3px 10px rgba(162, 162, 162, 0.25);
|
|
60
|
+
border-radius: 3px;
|
|
61
|
+
border: 1px solid #A7ADAF;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.v-application--is-ltr .v-list-item__action:first-child,
|
|
65
|
+
.v-application--is-ltr .v-list-item__icon:first-child {
|
|
66
|
+
margin: 6px;
|
|
67
|
+
min-width: 18px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.v-list-item--dense .v-list-item__title,
|
|
71
|
+
.v-list-item--dense .v-list-item__subtitle,
|
|
72
|
+
.v-list--dense .v-list-item .v-list-item__title,
|
|
73
|
+
.v-list--dense .v-list-item .v-list-item__subtitle {
|
|
74
|
+
font-size: 0.8125rem;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.v-list-item__title,
|
|
79
|
+
.v-list-item__subtitle {
|
|
80
|
+
text-overflow: clip;
|
|
81
|
+
white-space: normal;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@include media-breakpoint-only(md) {
|
|
85
|
+
.admin-filter-box .v-select__selections input {
|
|
86
|
+
padding: 0;
|
|
87
|
+
height: 0;
|
|
88
|
+
}
|
|
89
|
+
.admin-filter-box .v-select__selections > span {
|
|
90
|
+
line-height: 14px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.sr-simple-card-link-wrapper {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.sr-simple-card {
|
|
7
|
+
box-shadow: 0px 4px 10px rgba(212, 218, 223, 0.1);
|
|
8
|
+
border-radius: 3px;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
flex-grow: 0;
|
|
13
|
+
background-color: #fff;
|
|
14
|
+
&__icon {
|
|
15
|
+
background-color: var(--sr-light-grey);
|
|
16
|
+
min-height: 100px;
|
|
17
|
+
min-width: 90px;
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
align-items: center;
|
|
21
|
+
svg {
|
|
22
|
+
width: 28px;
|
|
23
|
+
height: 28px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&__info {
|
|
27
|
+
padding: 0 1rem;
|
|
28
|
+
|
|
29
|
+
.v-application &__info__label,
|
|
30
|
+
&__label {
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
font-size: 18px;
|
|
33
|
+
line-height: 1;
|
|
34
|
+
color: var(--sr-black);
|
|
35
|
+
}
|
|
36
|
+
&-wrapper {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
.sr-simple-card-count {
|
|
40
|
+
font-weight: bold;
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
line-height: 24px;
|
|
43
|
+
margin: 0 0.5rem 0 0;
|
|
44
|
+
background-color: var(--sr-primary);
|
|
45
|
+
border-radius: 3px;
|
|
46
|
+
color: #fff;
|
|
47
|
+
width: 40px;
|
|
48
|
+
height: 40px;
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
}
|
|
53
|
+
.sr-simple-card-info-text {
|
|
54
|
+
font-weight: normal;
|
|
55
|
+
font-size: 16px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@include media-breakpoint-down(lg) {
|
|
61
|
+
&__icon {
|
|
62
|
+
min-width: 80px;
|
|
63
|
+
}
|
|
64
|
+
&__info {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
flex-wrap: wrap;
|
|
68
|
+
height: 60px;
|
|
69
|
+
padding: 0 1rem;
|
|
70
|
+
flex: 0;
|
|
71
|
+
}
|
|
72
|
+
&__info__label {
|
|
73
|
+
min-width: 180px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@include media-breakpoint-up(md) {
|
|
78
|
+
&__info__label {
|
|
79
|
+
padding-bottom: 5px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@include media-breakpoint-down(sm) {
|
|
84
|
+
&__icon {
|
|
85
|
+
min-height: 60px;
|
|
86
|
+
min-width: 60px;
|
|
87
|
+
}
|
|
88
|
+
&__info {
|
|
89
|
+
flex: 1;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
@include media-breakpoint-down(xs) {
|
|
93
|
+
&__info__label {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.sticky-header {
|
|
2
|
+
&__wrapper {
|
|
3
|
+
background-color: var(--sr-black);
|
|
4
|
+
color: #fff;
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
height: var(--header-height);
|
|
8
|
+
left: var(--header-height);
|
|
9
|
+
width: calc(100% - var(--header-height));
|
|
10
|
+
z-index: 200;
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
|
|
13
|
+
@include media-breakpoint-down(xs) {
|
|
14
|
+
padding-right: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@include media-breakpoint-up(md) {
|
|
18
|
+
left: var(--sidebar-width);
|
|
19
|
+
width: calc(100% - var(--sidebar-width));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
opacity: 0;
|
|
23
|
+
transform: translateY(-20px);
|
|
24
|
+
transition: all .3s ease;
|
|
25
|
+
|
|
26
|
+
&.sticky-header--visible {
|
|
27
|
+
visibility: visible;
|
|
28
|
+
opacity: 1;
|
|
29
|
+
transform: translateY(0);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.admin-menu-minified ~ .admin-page__body {
|
|
35
|
+
.sticky-header__wrapper {
|
|
36
|
+
@include media-breakpoint-up(md) {
|
|
37
|
+
left: var(--sidebar-small-width);
|
|
38
|
+
width: calc(100% - var(--sidebar-small-width));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.v-data-table.theme--light {
|
|
2
|
+
thead {
|
|
3
|
+
tr {
|
|
4
|
+
th {
|
|
5
|
+
font-weight: normal;
|
|
6
|
+
text-transform: uppercase;
|
|
7
|
+
background: var(--sr-light-grey);
|
|
8
|
+
border-bottom: 0 !important;
|
|
9
|
+
padding: $cell-padding !important;
|
|
10
|
+
color: var(--sr-link-grey) !important;
|
|
11
|
+
|
|
12
|
+
&.active {
|
|
13
|
+
color: var(--sr-black) !important;
|
|
14
|
+
font-weight: 500;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
tbody {
|
|
21
|
+
margin-top: 10px;
|
|
22
|
+
|
|
23
|
+
tr {
|
|
24
|
+
border: 1px solid transparent;
|
|
25
|
+
border-bottom: 1px solid #ECEFF1;
|
|
26
|
+
margin-bottom: 1px;
|
|
27
|
+
|
|
28
|
+
&.selected:not(.v-data-table__expanded__content),
|
|
29
|
+
&:hover:not(.v-data-table__expanded__content) {
|
|
30
|
+
background: var(--sr-bg-grey);
|
|
31
|
+
border: 1px solid #DFE3E7;
|
|
32
|
+
border-radius: 3px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
td {
|
|
36
|
+
border: 0 !important;
|
|
37
|
+
padding: $cell-padding !important;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.table-select-all-plus {
|
|
42
|
+
tr:hover {
|
|
43
|
+
background: unset !important;
|
|
44
|
+
}
|
|
45
|
+
td {
|
|
46
|
+
padding: 0 !important;
|
|
47
|
+
margin: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.v-data-footer {
|
|
52
|
+
border-top: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.admin-data-table__actions {
|
|
57
|
+
display: flex;
|
|
58
|
+
width: 100%;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.admin-bulk-actions-table__bulk-actions,
|
|
63
|
+
.admin-bulk-actions-table__bulk-checkbox {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.admin-bulk-actions-table__bulk-checkbox {
|
|
69
|
+
padding: $cell-padding !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.admin-data-table__head-row {
|
|
73
|
+
border-radius: 3px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.admin-bulk-actions-table-head {
|
|
77
|
+
th {
|
|
78
|
+
position: sticky;
|
|
79
|
+
position: -webkit-sticky;
|
|
80
|
+
top: 0;
|
|
81
|
+
z-index: 8;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.admin-table-sticky-head {
|
|
86
|
+
margin-bottom: 10px;
|
|
87
|
+
display: block;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.admin-table-sticky-head.sticky {
|
|
91
|
+
position: fixed;
|
|
92
|
+
z-index: 197;
|
|
93
|
+
top: var(--header-height);
|
|
94
|
+
}
|