@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.
Files changed (191) hide show
  1. package/README.md +37 -0
  2. package/dist/demo/src/demo.js +1 -0
  3. package/dist/demo/src/demo_bootstrap_js.css +119 -0
  4. package/dist/demo/src/demo_bootstrap_js.js +2 -0
  5. package/dist/demo/src/demo_bootstrap_js.js.LICENSE.txt +3180 -0
  6. package/dist/demo/src/index.html +1 -0
  7. package/dist/demo/src/stylesheet.js +0 -0
  8. package/dist/stylesheet/sr-styleguide.css +34 -0
  9. package/package.json +61 -0
  10. package/src/components/alerts/SrErrorAlert.vue +18 -0
  11. package/src/components/alerts/SrInfoAlert.vue +18 -0
  12. package/src/components/alerts/SrSuccessAlert.vue +18 -0
  13. package/src/components/alerts/SrWarningAlert.vue +18 -0
  14. package/src/components/app-containers/SrModule/SrModule.scss +16 -0
  15. package/src/components/app-containers/SrModule/SrModule.vue +17 -0
  16. package/src/components/app-containers/SrPage/SrPage.vue +25 -0
  17. package/src/components/buttons/SrDeleteButton.vue +11 -0
  18. package/src/components/buttons/SrHelpButton.scss +9 -0
  19. package/src/components/buttons/SrHelpButton.vue +16 -0
  20. package/src/components/buttons/SrPrimaryButton.vue +11 -0
  21. package/src/components/buttons/tests/SrHelpButton.spec.js +36 -0
  22. package/src/components/form/SrFormRow/SrFormRow.scss +26 -0
  23. package/src/components/form/SrFormRow/SrFormRow.vue +44 -0
  24. package/src/components/icons/SrAddCircleOutlineIcon.vue +11 -0
  25. package/src/components/icons/SrArrowRightIcon.vue +11 -0
  26. package/src/components/icons/SrCalendarIcon.vue +11 -0
  27. package/src/components/icons/SrCheckboxIndeterminateIcon.vue +11 -0
  28. package/src/components/icons/SrCheckboxOffIcon.vue +11 -0
  29. package/src/components/icons/SrCheckboxOnIcon.vue +11 -0
  30. package/src/components/icons/SrCloseIcon.vue +11 -0
  31. package/src/components/icons/SrDuplicateIcon.vue +11 -0
  32. package/src/components/icons/SrEditIcon.vue +11 -0
  33. package/src/components/icons/SrErrorCircleOutlineIcon.vue +11 -0
  34. package/src/components/icons/SrErrorIcon.vue +11 -0
  35. package/src/components/icons/SrExportIcon.vue +11 -0
  36. package/src/components/icons/SrFileWithStarIcon.vue +11 -0
  37. package/src/components/icons/SrFilterIcon.vue +11 -0
  38. package/src/components/icons/SrFindIcon.vue +11 -0
  39. package/src/components/icons/SrHelpCircleOutlineIcon.vue +11 -0
  40. package/src/components/icons/SrImportIcon.vue +11 -0
  41. package/src/components/icons/SrInfoIcon.vue +11 -0
  42. package/src/components/icons/SrInformationIcon.vue +11 -0
  43. package/src/components/icons/SrInvoiceIcon.vue +11 -0
  44. package/src/components/icons/SrInvoiceStornoIcon.vue +11 -0
  45. package/src/components/icons/SrLightningIcon.vue +11 -0
  46. package/src/components/icons/SrMagnifyIcon.vue +11 -0
  47. package/src/components/icons/SrMailIcon.vue +11 -0
  48. package/src/components/icons/SrNextIcon.vue +11 -0
  49. package/src/components/icons/SrOpenInNewIcon.vue +11 -0
  50. package/src/components/icons/SrPackageIcon.vue +10 -0
  51. package/src/components/icons/SrPadlockOutlineIcon.vue +11 -0
  52. package/src/components/icons/SrPencilIcon.vue +11 -0
  53. package/src/components/icons/SrPrevIcon.vue +11 -0
  54. package/src/components/icons/SrRadioOff.vue +11 -0
  55. package/src/components/icons/SrRadioOn.vue +11 -0
  56. package/src/components/icons/SrSearchCloseIcon.vue +11 -0
  57. package/src/components/icons/SrSearchIcon.vue +11 -0
  58. package/src/components/icons/SrSettingIcon.vue +11 -0
  59. package/src/components/icons/SrSuccessCircleOutlineIcon.vue +11 -0
  60. package/src/components/icons/SrSuccessIcon.vue +11 -0
  61. package/src/components/icons/SrTrashIcon.vue +11 -0
  62. package/src/components/icons/SrWarningCircleOutlineIcon.vue +11 -0
  63. package/src/components/icons/flags/SrCroatiaFlag.vue +73 -0
  64. package/src/components/icons/flags/SrGermanyFlag.vue +23 -0
  65. package/src/components/icons/flags/SrHungaryFlag.vue +19 -0
  66. package/src/components/icons/flags/SrRomaniaFlag.vue +23 -0
  67. package/src/components/icons/flags/SrSerbiaFlag.vue +34 -0
  68. package/src/components/icons/flags/SrSloveniaFlag.vue +33 -0
  69. package/src/components/icons/flags/SrUnitedKingdomFlag.vue +42 -0
  70. package/src/components/inputs/SrCheckbox/SrArrayCheckbox.vue +34 -0
  71. package/src/components/inputs/SrCheckbox/SrCheckbox.vue +15 -0
  72. package/src/components/inputs/SrCheckbox/tests/SrArrayCheckbox.spec.js +73 -0
  73. package/src/components/inputs/SrDatePicker/SrDatePicker.vue +56 -0
  74. package/src/components/inputs/SrInputField/SrInputField.vue +17 -0
  75. package/src/components/inputs/SrMultiCheckbox/SrMultiCheckbox.scss +35 -0
  76. package/src/components/inputs/SrMultiCheckbox/SrMultiCheckbox.vue +68 -0
  77. package/src/components/inputs/SrMultiCheckbox/tests/SrMultiCheckbox.spec.js +81 -0
  78. package/src/components/inputs/SrRadio/SrRadio.vue +19 -0
  79. package/src/components/inputs/SrRadio/SrRadioGroup.vue +15 -0
  80. package/src/components/inputs/SrSelect/SrSelect.vue +23 -0
  81. package/src/components/inputs/SrSwitch/SrSwitch.vue +30 -0
  82. package/src/components/layouts/slim/SrSlimContent/SrSlimContent.vue +14 -0
  83. package/src/components/layouts/slim/SrSlimHeading/SrSlimHeading.vue +14 -0
  84. package/src/components/layouts/slim/SrSlimLayout/SrSlimLayout.vue +13 -0
  85. package/src/components/milestone-indicators/multi-step-progress-bar/SrMultiStepProgressBar/SrMultiStepProgressBar.scss +25 -0
  86. package/src/components/milestone-indicators/multi-step-progress-bar/SrMultiStepProgressBar/SrMultiStepProgressBar.vue +12 -0
  87. package/src/components/milestone-indicators/multi-step-progress-bar/SrProgressBarStep/SrProgressBarStep.scss +69 -0
  88. package/src/components/milestone-indicators/multi-step-progress-bar/SrProgressBarStep/SrProgressBarStep.vue +25 -0
  89. package/src/components/pagination/SrPagination.vue +57 -0
  90. package/src/components/tables/SrSimpleTable/SrSimpleTable.vue +11 -0
  91. package/src/components/tabs/SrLanguageTab/SrLanguageTab.scss +12 -0
  92. package/src/components/tabs/SrLanguageTab/SrLanguageTab.vue +26 -0
  93. package/src/components/tabs/SrLanguageTab/adminLanguages.js +64 -0
  94. package/src/components/tabs/SrTab/SrTab.scss +9 -0
  95. package/src/components/tabs/SrTab/SrTab.vue +15 -0
  96. package/src/components/tabs/SrTabItem/SrTabItem.vue +12 -0
  97. package/src/components/tabs/SrTabs/SrTabs.scss +5 -0
  98. package/src/components/tabs/SrTabs/SrTabs.vue +28 -0
  99. package/src/components/tabs/SrTabsItems/SrTabsItems.vue +12 -0
  100. package/src/index.js +2 -0
  101. package/src/plugins/component-library/index.js +27 -0
  102. package/src/plugins/component-library/library/SrAlerts.js +13 -0
  103. package/src/plugins/component-library/library/SrAppContainers.js +9 -0
  104. package/src/plugins/component-library/library/SrButtons.js +11 -0
  105. package/src/plugins/component-library/library/SrFormRow.js +7 -0
  106. package/src/plugins/component-library/library/SrIcons.js +98 -0
  107. package/src/plugins/component-library/library/SrInputs.js +23 -0
  108. package/src/plugins/component-library/library/SrLayouts.js +11 -0
  109. package/src/plugins/component-library/library/SrMilestoneIndicators.js +11 -0
  110. package/src/plugins/component-library/library/SrPagination.js +7 -0
  111. package/src/plugins/component-library/library/SrTables.js +7 -0
  112. package/src/plugins/component-library/library/SrTabs.js +15 -0
  113. package/src/plugins/vuetify/index.js +9 -0
  114. package/src/plugins/vuetify/preset/icons/components/AddCircleOutlineIcon.vue +11 -0
  115. package/src/plugins/vuetify/preset/icons/components/ArrowRightIcon.vue +11 -0
  116. package/src/plugins/vuetify/preset/icons/components/CalendarIcon.vue +27 -0
  117. package/src/plugins/vuetify/preset/icons/components/CheckboxIndeterminateIcon.vue +12 -0
  118. package/src/plugins/vuetify/preset/icons/components/CheckboxOffIcon.vue +11 -0
  119. package/src/plugins/vuetify/preset/icons/components/CheckboxOnIcon.vue +12 -0
  120. package/src/plugins/vuetify/preset/icons/components/CloseIcon.vue +12 -0
  121. package/src/plugins/vuetify/preset/icons/components/DuplicateIcon.vue +11 -0
  122. package/src/plugins/vuetify/preset/icons/components/EditIcon.vue +11 -0
  123. package/src/plugins/vuetify/preset/icons/components/ErrorCircleOutlineIcon.vue +13 -0
  124. package/src/plugins/vuetify/preset/icons/components/ErrorIcon.vue +12 -0
  125. package/src/plugins/vuetify/preset/icons/components/ExportIcon.vue +11 -0
  126. package/src/plugins/vuetify/preset/icons/components/FileWithStarIcon.vue +15 -0
  127. package/src/plugins/vuetify/preset/icons/components/FilterIcon.vue +11 -0
  128. package/src/plugins/vuetify/preset/icons/components/FindIcon.vue +11 -0
  129. package/src/plugins/vuetify/preset/icons/components/HelpCircleOutlineIcon.vue +11 -0
  130. package/src/plugins/vuetify/preset/icons/components/ImportIcon.vue +11 -0
  131. package/src/plugins/vuetify/preset/icons/components/InfoIcon.vue +11 -0
  132. package/src/plugins/vuetify/preset/icons/components/InformationIcon.vue +12 -0
  133. package/src/plugins/vuetify/preset/icons/components/InvoiceIcon.vue +13 -0
  134. package/src/plugins/vuetify/preset/icons/components/InvoiceStornoIcon.vue +13 -0
  135. package/src/plugins/vuetify/preset/icons/components/LightningIcon.vue +11 -0
  136. package/src/plugins/vuetify/preset/icons/components/MagnifyIcon.vue +11 -0
  137. package/src/plugins/vuetify/preset/icons/components/MailIcon.vue +11 -0
  138. package/src/plugins/vuetify/preset/icons/components/NextIcon.vue +11 -0
  139. package/src/plugins/vuetify/preset/icons/components/OpenInNewIcon.vue +11 -0
  140. package/src/plugins/vuetify/preset/icons/components/PackageIcon.vue +12 -0
  141. package/src/plugins/vuetify/preset/icons/components/PadlockOutlineIcon.vue +20 -0
  142. package/src/plugins/vuetify/preset/icons/components/PencilIcon.vue +11 -0
  143. package/src/plugins/vuetify/preset/icons/components/PrevIcon.vue +11 -0
  144. package/src/plugins/vuetify/preset/icons/components/RadioOff.vue +11 -0
  145. package/src/plugins/vuetify/preset/icons/components/RadioOn.vue +12 -0
  146. package/src/plugins/vuetify/preset/icons/components/SearchCloseIcon.vue +11 -0
  147. package/src/plugins/vuetify/preset/icons/components/SearchIcon.vue +11 -0
  148. package/src/plugins/vuetify/preset/icons/components/SettingIcon.vue +9 -0
  149. package/src/plugins/vuetify/preset/icons/components/SuccessCircleOutlineIcon.vue +13 -0
  150. package/src/plugins/vuetify/preset/icons/components/SuccessIcon.vue +11 -0
  151. package/src/plugins/vuetify/preset/icons/components/TrashIcon.vue +12 -0
  152. package/src/plugins/vuetify/preset/icons/components/WarningCircleOutlineIcon.vue +18 -0
  153. package/src/plugins/vuetify/preset/icons/index.js +156 -0
  154. package/src/plugins/vuetify/preset/index.js +27 -0
  155. package/src/plugins/vuetify/preset/locale/sr-en.js +10 -0
  156. package/src/plugins/vuetify/preset/locale/sr-hu.js +10 -0
  157. package/src/plugins/vuetify/preset/overrides.sass +7 -0
  158. package/src/plugins/vuetify/preset/style/css/root_variables.css +25 -0
  159. package/src/plugins/vuetify/preset/style/scss/_admin-menu.scss +24 -0
  160. package/src/plugins/vuetify/preset/style/scss/_components.scss +19 -0
  161. package/src/plugins/vuetify/preset/style/scss/_layout.scss +140 -0
  162. package/src/plugins/vuetify/preset/style/scss/_new-style.scss +80 -0
  163. package/src/plugins/vuetify/preset/style/scss/_pages.scss +5 -0
  164. package/src/plugins/vuetify/preset/style/scss/_scaffolding.scss +29 -0
  165. package/src/plugins/vuetify/preset/style/scss/_utility.scss +14 -0
  166. package/src/plugins/vuetify/preset/style/scss/_vuetify-rewrite.scss +4 -0
  167. package/src/plugins/vuetify/preset/style/scss/components/_actionbar.scss +31 -0
  168. package/src/plugins/vuetify/preset/style/scss/components/_block.scss +12 -0
  169. package/src/plugins/vuetify/preset/style/scss/components/_breadcrumb.scss +37 -0
  170. package/src/plugins/vuetify/preset/style/scss/components/_buttons.scss +71 -0
  171. package/src/plugins/vuetify/preset/style/scss/components/_cards.scss +61 -0
  172. package/src/plugins/vuetify/preset/style/scss/components/_copy-to-clipboard.scss +16 -0
  173. package/src/plugins/vuetify/preset/style/scss/components/_dialog.scss +61 -0
  174. package/src/plugins/vuetify/preset/style/scss/components/_icons.scss +21 -0
  175. package/src/plugins/vuetify/preset/style/scss/components/_input.scss +199 -0
  176. package/src/plugins/vuetify/preset/style/scss/components/_pagination.scss +36 -0
  177. package/src/plugins/vuetify/preset/style/scss/components/_quantity-range-input.scss +93 -0
  178. package/src/plugins/vuetify/preset/style/scss/components/_select-all-plus.scss +5 -0
  179. package/src/plugins/vuetify/preset/style/scss/components/_select.scss +92 -0
  180. package/src/plugins/vuetify/preset/style/scss/components/_simple-card.scss +97 -0
  181. package/src/plugins/vuetify/preset/style/scss/components/_sticky-header.scss +41 -0
  182. package/src/plugins/vuetify/preset/style/scss/components/_table.scss +94 -0
  183. package/src/plugins/vuetify/preset/style/scss/components/_tooltip.scss +3 -0
  184. package/src/plugins/vuetify/preset/style/scss/mixins/_breakpoints.scss +123 -0
  185. package/src/plugins/vuetify/preset/style/scss/pages/_apps.scss +99 -0
  186. package/src/plugins/vuetify/preset/style/scss/pages/_campaign.scss +30 -0
  187. package/src/plugins/vuetify/preset/style/scss/pages/_order-list.scss +498 -0
  188. package/src/plugins/vuetify/preset/style/scss/pages/_order-preview.scss +83 -0
  189. package/src/plugins/vuetify/preset/style/scss/pages/_product-list.scss +286 -0
  190. package/src/plugins/vuetify/preset/variables.scss +264 -0
  191. package/src/plugins/vuetify/vuetify.sass +95 -0
@@ -0,0 +1,498 @@
1
+ .admin-order-table {
2
+ background: transparent !important;
3
+ }
4
+
5
+ .admin-order-table .v-data-table-header tr,
6
+ .admin-order-table__body-row {
7
+ display: grid;
8
+ }
9
+
10
+ .admin-order-table__body {
11
+ background: #fff;
12
+ }
13
+
14
+ .admin-order-table__status-chip {
15
+ padding: 0 18px;
16
+
17
+ .v-chip__content {
18
+ display: inline-grid;
19
+ }
20
+ }
21
+
22
+ .admin-order-table__status-chip-text {
23
+ white-space: nowrap;
24
+ text-overflow: ellipsis;
25
+ overflow: hidden;
26
+ display: block;
27
+ max-width: 100%;
28
+ }
29
+
30
+ .admin-order-table__outer-id {
31
+ font-weight: 600;
32
+ font-size: 10px;
33
+ color: var(--sr-secondary-text);
34
+ }
35
+
36
+ .select-save__select {
37
+ @include media-breakpoint-up(xl) {
38
+ width: 100%;
39
+ max-width: 160px;
40
+ }
41
+ }
42
+
43
+ @include media-breakpoint-up(lg) {
44
+ .order-filter-box {
45
+ .v-input {
46
+ max-width: 140px;
47
+ }
48
+ }
49
+ }
50
+
51
+ .order-filter-search {
52
+ .v-input {
53
+ max-width: 250px;
54
+ }
55
+ }
56
+
57
+ .admin-order-table__shipping-method__container {
58
+ width: 100%;
59
+ }
60
+
61
+ @include media-breakpoint-down(xs) {
62
+ .admin-order-table .admin-bulk-actions-table-head tr,
63
+ .withInvoice.admin-order-table .admin-bulk-actions-table-head tr {
64
+ grid-template-columns: $order-checkbox-grid-width 1fr;
65
+ grid-template-areas:
66
+ "checkbox order";
67
+ }
68
+ .admin-order-table__body-row {
69
+ grid-template-columns: $order-checkbox-grid-width repeat(2, 1fr);
70
+ grid-template-areas:
71
+ "checkbox order total"
72
+ "checkbox date payment"
73
+ "checkbox customer shipping"
74
+ "checkbox status actions";
75
+ }
76
+
77
+ .withInvoice .admin-order-table__body-row {
78
+ grid-template-columns: $order-checkbox-grid-width repeat(2, 1fr);
79
+ grid-template-areas:
80
+ "checkbox order total"
81
+ "checkbox date payment"
82
+ "checkbox customer shipping"
83
+ "checkbox status invoice"
84
+ "checkbox status actions";
85
+ }
86
+
87
+ .admin-order-table__invoice,
88
+ .admin-order-table__payment-method,
89
+ .admin-order-table__shipping-method {
90
+ justify-content: flex-end !important;
91
+ text-align: right;
92
+ }
93
+
94
+ .admin-order-table .v-data-table-header > tr > th {
95
+ border-top: 0;
96
+ }
97
+
98
+ .admin-order-table .v-data-table-header > tr > th:nth-child(2) {
99
+ border-right: 0;
100
+ }
101
+
102
+ .admin-order-table .v-data-table-header > tr > th:nth-child(n+3) {
103
+ display: none;
104
+ }
105
+
106
+ .admin-order-table__order-id,
107
+ .admin-order-table__order-total {
108
+ padding-bottom: 0;
109
+ }
110
+
111
+ .admin-order-table__order-total {
112
+ font-weight: 800;
113
+ font-size: 14px !important;
114
+ }
115
+
116
+ .admin-order-table__body-row > td {
117
+ border-top: 0 !important;
118
+ }
119
+
120
+ .admin-bulk-actions-table-head th.admin-order-table__head-bulk-checkbox {
121
+ border-right: 0 !important;
122
+ }
123
+
124
+ .admin-order-table__customer,
125
+ .admin-order-table__status,
126
+ .admin-order-table__order-id,
127
+ .admin-order-table__checkbox,
128
+ .admin-order-table__date-added {
129
+ border-right: 0 !important;
130
+ }
131
+
132
+ .admin-order-table__date-added,
133
+ .admin-order-table__customer,
134
+ .admin-order-table__shipping-method,
135
+ .admin-order-table__payment-method {
136
+ padding-top: 0;
137
+ padding-bottom: 0;
138
+ }
139
+ .admin-order-table__status,
140
+ .admin-order-table__invoice {
141
+ padding-top: 0;
142
+ padding-bottom: 8px;
143
+ }
144
+
145
+ .admin-order-table__head-formattedTotal,
146
+ .admin-data-table__actions,
147
+ .admin-order-table__head-shippingMethod,
148
+ .admin-order-table__head-paymentMethod,
149
+ .admin-order-table__head-action,
150
+ .orderlist-customer__email {
151
+ display: none !important;
152
+ }
153
+
154
+ td.admin-order-table__status {
155
+ .select-save__select {
156
+ border: 1px solid #cccccc;
157
+ padding-top: 4px;
158
+ padding-bottom: 4px;
159
+ }
160
+ }
161
+
162
+ .admin-order-table__customer span,
163
+ .admin-order-table__customer a,
164
+ .admin-order-table__shipping-method span,
165
+ .admin-order-table__payment-method span {
166
+ display: block;
167
+ max-height: 34px;
168
+ overflow: hidden;
169
+ }
170
+
171
+ .admin-order-table__customer span.admin-order-table__customer-link {
172
+ display: flex;
173
+ span.v-icon {
174
+ overflow: unset;
175
+ }
176
+
177
+ .sr-admin-line-clamp {
178
+ display: block;
179
+ display: -webkit-box;
180
+ overflow: hidden;
181
+ text-overflow: ellipsis;
182
+ max-height: 100%;
183
+ word-break: break-word;
184
+ -webkit-box-orient: vertical;
185
+ }
186
+ }
187
+
188
+ .admin-order-table__invoice,
189
+ .admin-order-table__shipping-method,
190
+ .admin-order-table__order-total,
191
+ .admin-order-table__payment-method,
192
+ .admin-order-table__customer {
193
+ border-bottom: 0;
194
+ }
195
+ }
196
+
197
+ @include media-breakpoint-only(sm) {
198
+
199
+ .order-list-reset-filter-button {
200
+ grid-column-end: span 2;
201
+ max-width: 50% !important;
202
+ justify-self: center;
203
+ }
204
+
205
+ .admin-order-table__status {
206
+ border-top: 0;
207
+ }
208
+
209
+ .admin-order-table__customer {
210
+ padding-bottom: 0;
211
+ }
212
+
213
+ .admin-order-table .admin-bulk-actions-table-head tr,
214
+ .admin-order-table__body-row {
215
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(2, minmax(10%, 1fr)) 100px 62px;
216
+ grid-template-areas:
217
+ "checkbox order shipping payment total actions"
218
+ "checkbox date shipping payment total actions"
219
+ "checkbox customer shipping payment total actions"
220
+ "checkbox status shipping payment total actions";
221
+ }
222
+
223
+ .withInvoice.admin-order-table .admin-bulk-actions-table-head tr {
224
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(2, minmax(10%, 1fr)) 80px 62px;
225
+ grid-template-areas:
226
+ "checkbox order shipping payment invoice total actions"
227
+ "checkbox date shipping payment invoice total actions"
228
+ "checkbox customer shipping payment invoice total actions"
229
+ "checkbox status shipping payment invoice total actions";
230
+ }
231
+
232
+ .withInvoice .admin-order-table__body-row {
233
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(2, minmax(10%, 1fr)) 80px 62px;
234
+ grid-template-areas:
235
+ "checkbox order shipping payment total actions"
236
+ "checkbox date shipping payment total actions"
237
+ "checkbox customer shipping payment total actions"
238
+ "checkbox status shipping invoice total actions";
239
+ }
240
+
241
+ .admin-order-table .v-data-table-header > tr > th:nth-child(3),
242
+ .admin-order-table .v-data-table-header > tr > th:nth-child(6),
243
+ .admin-order-table .v-data-table-header > tr > th:nth-child(7) {
244
+ display: none;
245
+ }
246
+
247
+ .admin-order-table__body-row td.admin-order-table__payment-method {
248
+ border-bottom: 0;
249
+ }
250
+
251
+ td.admin-order-table__shipping-method span {
252
+ display: block;
253
+ word-break: break-word;
254
+ }
255
+
256
+ .admin-order-table__body-row td.admin-order-table__invoice {
257
+ border-top: 0;
258
+ align-items: flex-start;
259
+ justify-content: flex-start;
260
+ }
261
+
262
+ .orderlist-customer__email {
263
+ display: none;
264
+ }
265
+ }
266
+
267
+ @include media-breakpoint-between(sm, md) {
268
+ .admin-order-table__date-added,
269
+ .admin-order-table__customer {
270
+ border-top: 0;
271
+ padding-top: 0;
272
+ }
273
+
274
+ .admin-order-table__date-added,
275
+ .admin-order-table__order-id {
276
+ padding-bottom: 0;
277
+ }
278
+ }
279
+
280
+ @include media-breakpoint-down(md) {
281
+ .admin-order-table__head-name,
282
+ .admin-order-table__head-dateAdded,
283
+ .admin-order-table__body-row .admin-order-table__customer .admin-order-table__customer-email {
284
+ display: none !important;
285
+ }
286
+
287
+ .admin-order-table__date-added,
288
+ .admin-order-table__order-id {
289
+ border-bottom: 0;
290
+ }
291
+
292
+ .admin-order-table__order-link {
293
+ font-weight: 800;
294
+ }
295
+ }
296
+
297
+ @include media-breakpoint-down(sm) {
298
+ .admin-order-table__head-status,
299
+ .admin-order-table__head-invoiceData {
300
+ display: none !important;
301
+ }
302
+
303
+ .order-filter-search .v-text-field__slot {
304
+ width: 100%;
305
+ }
306
+ }
307
+
308
+ @include media-breakpoint-only(md) {
309
+ .admin-order-table tr.admin-order-table__head-row:not(.bulk-action) {
310
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(3, minmax(10%, 1fr)) 100px 62px;
311
+ grid-template-areas:
312
+ "checkbox order status shipping payment total actions";
313
+ }
314
+
315
+ .admin-order-table__body-row {
316
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(3, minmax(10%, 1fr)) 100px 62px;
317
+ grid-template-areas:
318
+ "checkbox order status shipping payment total actions"
319
+ "checkbox date status shipping payment total actions"
320
+ "checkbox customer status shipping payment total actions";
321
+ }
322
+
323
+ .withInvoice.admin-order-table .admin-bulk-actions-table-head tr:not(.bulk-action) {
324
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(3, minmax(10%, 1fr)) 60px 100px 62px;
325
+ grid-template-areas:
326
+ "checkbox order status shipping payment invoice total actions";
327
+ }
328
+
329
+ .withInvoice .admin-order-table__body-row {
330
+ grid-template-columns: $order-checkbox-grid-width 150px repeat(3, minmax(10%, 1fr)) 60px 100px 62px;
331
+ grid-template-areas:
332
+ "checkbox order status shipping payment invoice total actions"
333
+ "checkbox date status shipping payment invoice total actions"
334
+ "checkbox customer status shipping payment invoice total actions";
335
+ }
336
+
337
+ .admin-order-table .v-data-table-header > tr > th:nth-child(3),
338
+ .admin-order-table .v-data-table-header > tr > th:nth-child(7) {
339
+ display: none;
340
+ }
341
+ }
342
+
343
+ @include media-breakpoint-up(lg) {
344
+ .admin-bulk-actions-table-head tr,
345
+ .admin-order-table__body-row {
346
+ grid-template-columns: $order-checkbox-grid-width 105px repeat(5, 1fr) 105px 62px;
347
+ grid-template-areas: "checkbox order customer status shipping payment date total actions";
348
+ }
349
+
350
+ .withInvoice.admin-order-table .admin-bulk-actions-table-head tr,
351
+ .withInvoice .admin-order-table__body-row {
352
+ grid-template-columns: $order-checkbox-grid-width 105px repeat(5, 1fr) 60px 105px 62px;
353
+ grid-template-areas: "checkbox order customer status shipping payment date invoice total actions";
354
+ }
355
+ }
356
+
357
+ .admin-order-table .admin-bulk-actions-table-head tr.bulk-action,
358
+ .withInvoice.admin-order-table .admin-bulk-actions-table-head tr.bulk-action {
359
+ display: grid;
360
+ grid-template-columns: $order-checkbox-grid-width 1fr;
361
+ grid-template-areas: "checkbox bulk";
362
+ }
363
+
364
+ .admin-order-table__order-link {
365
+ font-size: 14px;
366
+ font-weight: 700;
367
+ }
368
+
369
+ .admin-order-table__actions-btn {
370
+ .v-icon.v-icon {
371
+ width: 20px !important;
372
+ height: 20px !important;
373
+ }
374
+ }
375
+
376
+ .admin-order-table tr.admin-order-table__head-row {
377
+ display: grid;
378
+ }
379
+
380
+ .admin-order-table .v-data-table-header th {
381
+ width: auto !important;
382
+ min-width: auto !important;
383
+ }
384
+
385
+ .orderlist-customer__email,
386
+ .admin-order-table__body-row td {
387
+ overflow-wrap: break-word;
388
+ }
389
+
390
+ .admin-order-table__body-row td {
391
+ display: flex;
392
+ flex-wrap: wrap;
393
+ align-items: center;
394
+ }
395
+
396
+ .admin-order-table__bulk-checkbox {
397
+ grid-area: checkbox;
398
+ }
399
+
400
+ .admin-order-table__bulk-actions {
401
+ grid-area: bulk;
402
+ }
403
+
404
+ .admin-order-table .v-data-table-header > tr > th:nth-child(1),
405
+ .admin-order-table__checkbox {
406
+ grid-area: checkbox;
407
+ }
408
+
409
+ .admin-order-table .v-data-table-header > tr > th:nth-child(2),
410
+ .admin-order-table__order-id {
411
+ grid-area: order;
412
+ }
413
+
414
+ .admin-order-table .v-data-table-header > tr > th:nth-child(3),
415
+ .admin-order-table__customer {
416
+ grid-area: customer;
417
+ }
418
+
419
+ .admin-order-table .v-data-table-header > tr > th:nth-child(4),
420
+ .admin-order-table__status {
421
+ grid-area: status;
422
+ }
423
+
424
+ .admin-order-table .v-data-table-header > tr > th:nth-child(5),
425
+ .admin-order-table__shipping-method {
426
+ grid-area: shipping;
427
+ }
428
+
429
+ .admin-order-table .v-data-table-header > tr > th:nth-child(6),
430
+ .admin-order-table__payment-method {
431
+ grid-area: payment;
432
+ }
433
+
434
+ .admin-order-table .v-data-table-header > tr > th:nth-child(7),
435
+ .admin-order-table__date-added {
436
+ grid-area: date;
437
+ }
438
+
439
+ .admin-order-table .v-data-table-header > tr > th:nth-child(8),
440
+ .admin-order-table__invoice {
441
+ grid-area: invoice;
442
+ justify-content: center;
443
+ }
444
+
445
+ .admin-order-table .v-data-table-header > tr > th:nth-child(8),
446
+ .admin-order-table__order-total {
447
+ grid-area: total;
448
+ }
449
+
450
+ .admin-order-table .v-data-table-header > tr > th:nth-child(9),
451
+ .admin-order-table__order-actions {
452
+ grid-area: actions;
453
+ }
454
+
455
+ .admin-order-table__head-formattedTotal,
456
+ .admin-order-table__order-total {
457
+ justify-content: flex-end;
458
+ text-align: right;
459
+ }
460
+
461
+ .order-list-reset-filter-button {
462
+ height: 40px !important;
463
+ width: 100%;
464
+ max-width: 100%;
465
+
466
+ @include media-breakpoint-up(md) {
467
+ width: auto;
468
+ height: 30px !important;
469
+ }
470
+ }
471
+
472
+ .filter-second-part {
473
+ & > div {
474
+
475
+ @include media-breakpoint-up(lg) {
476
+ max-width: 195px;
477
+ }
478
+
479
+ @include media-breakpoint-up(sm) {
480
+ margin: 0 3px;
481
+ }
482
+ }
483
+ }
484
+
485
+ @include media-breakpoint-down(sm) {
486
+ .filter-second-part {
487
+ display: grid;
488
+ grid-template-columns: repeat(2, 1fr);
489
+ grid-row-gap: 12px;
490
+ grid-column-gap: 12px;
491
+ }
492
+ }
493
+
494
+ @include media-breakpoint-down(xs) {
495
+ .filter-second-part {
496
+ grid-template-columns: repeat(1, 1fr);
497
+ }
498
+ }
@@ -0,0 +1,83 @@
1
+ .order-preview__content {
2
+ padding: 20px 30px;
3
+ position: relative;
4
+ }
5
+
6
+ .order-preview-close {
7
+ position: absolute;
8
+ top: 15px;
9
+ right: 15px;
10
+ }
11
+
12
+ .order-preview__status-select {
13
+ max-width: 220px !important;
14
+ }
15
+
16
+ .order-preview__addresses,
17
+ .order-preview__customer {
18
+ line-height: 21px;
19
+ }
20
+
21
+ .order-preview__outer-id {
22
+ font-size: 18px;
23
+ font-weight: 300;
24
+ }
25
+
26
+ .order-preview__product-list {
27
+ display: flex;
28
+ width: 100%;
29
+
30
+ & > div {
31
+ padding-top: 8px;
32
+ padding-bottom: 8px;
33
+ }
34
+ }
35
+
36
+ .order-preview__product-list-quantity {
37
+ flex: 0 0 60px;
38
+ }
39
+
40
+ .order-preview__product-list-quantity .caption {
41
+ text-overflow: ellipsis;
42
+ overflow: hidden;
43
+ white-space: nowrap;
44
+ max-width: 60px;
45
+ }
46
+
47
+ .order-preview__product-list-product {
48
+ flex: 1 1 auto;
49
+ }
50
+
51
+ .order-preview__product-list-price {
52
+ flex: 1 1 100px;
53
+ text-align: right;
54
+ }
55
+
56
+ .order-preview__product-list + .order-preview__product-list {
57
+ .order-preview__product-list-product {
58
+ border-top: 1px solid #EEEEEE;
59
+ }
60
+
61
+ .order-preview__product-list-price {
62
+ border-top: 1px solid #EEEEEE;
63
+ }
64
+ }
65
+
66
+ .order-preview__summary {
67
+ background: var(--sr-light-grey);
68
+ margin-top: 20px;
69
+ margin-bottom: 20px;
70
+ padding: 15px 25px;
71
+ margin-left: -30px;
72
+ margin-right: -30px;
73
+ font-size: 14px;
74
+
75
+ .row + .row {
76
+ margin-top: 10px;
77
+ }
78
+
79
+ .row:last-child {
80
+ font-weight: bold;
81
+ font-size: 15px;
82
+ }
83
+ }