@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,140 @@
1
+ #content {
2
+ padding: 0; // remove padding outside vue application
3
+ }
4
+
5
+ .admin-container {
6
+ --container-padding: 0;
7
+ padding: 0 var(--container-padding);
8
+
9
+ @include media-breakpoint-up(sm) {
10
+ --container-padding: 20px;
11
+ }
12
+
13
+ @include media-breakpoint-up(md) {
14
+ --container-padding: 30px;
15
+ }
16
+
17
+ @include media-breakpoint-up(lg) {
18
+ --container-padding: 40px;
19
+ }
20
+
21
+ @media screen and (min-width: $container-main-breakpoint) {
22
+ max-width: $container-main-width;
23
+ --container-padding: 0;
24
+ }
25
+ }
26
+
27
+ .admin-page-cards {
28
+ @include media-breakpoint-down(xs) {
29
+ margin-left: 20px;
30
+ margin-right: 20px;
31
+ }
32
+ }
33
+
34
+ .admin-page-header {
35
+ @include media-breakpoint-down(xs) {
36
+ margin-left: 20px;
37
+ margin-right: 20px;
38
+ }
39
+
40
+ .admin-page-header-title {
41
+ display: flex;
42
+ background: transparent;
43
+ flex-direction: column;
44
+ margin-bottom: 20px;
45
+
46
+ @include media-breakpoint-up(sm) {
47
+ flex-direction: row;
48
+ justify-content: space-between;
49
+ margin-top: 50px;
50
+ }
51
+
52
+ h1 {
53
+ margin: 0;
54
+ color: var(--sr-black);
55
+
56
+ svg {
57
+ display: none;
58
+ }
59
+ }
60
+ }
61
+
62
+ @media screen and (min-width: 520px) {
63
+ &.sticky-head-active {
64
+ position: fixed;
65
+ width: calc(100% - var(--header-height));
66
+ margin: 0;
67
+ top: 0;
68
+ display: flex;
69
+ left: var(--header-height);
70
+ z-index: 201 !important;
71
+ height: var(--header-height);
72
+ background-color: var(--sr-black);
73
+ padding: 0 var(--container-padding);
74
+ align-items: center;
75
+ color: #fff;
76
+
77
+ .admin-page-header-title {
78
+ margin: 0;
79
+ width: 100%;
80
+
81
+ h1 {
82
+ color: #fff;
83
+ font-size: 18px;
84
+ }
85
+ }
86
+
87
+ .admin-breadcrumb-container,
88
+ .admin-page-header-head,
89
+ .admin-page-header-foot {
90
+ display: none;
91
+ }
92
+ }
93
+ }
94
+
95
+ @include media-breakpoint-up(md) {
96
+ &.sticky-head-active {
97
+ width: calc(100% - var(--sidebar-width));
98
+ left: var(--sidebar-width);
99
+ }
100
+ }
101
+
102
+ @media screen and (min-width: $container-main-breakpoint) {
103
+ &.sticky-head-active {
104
+ padding: 0 20px;
105
+ }
106
+ }
107
+ }
108
+
109
+ .admin-page-header-content {
110
+ display: flex;
111
+ align-items: center;
112
+
113
+ @include media-breakpoint-down(sm) {
114
+ flex-wrap: wrap;
115
+
116
+ .v-toolbar__items {
117
+ width: 100%;
118
+ margin-top: 10px;
119
+ }
120
+
121
+ .v-toolbar__content {
122
+ height: auto !important;
123
+ }
124
+ }
125
+ }
126
+
127
+ .admin-home-block {
128
+ margin: 65px 0;
129
+ &:first-child {
130
+ margin-top: 15px;
131
+ }
132
+
133
+ &__header {
134
+ background-color: var(--sr-bg-grey) !important;
135
+ margin-bottom: 15px;
136
+ .v-toolbar__content {
137
+ padding: 0;
138
+ }
139
+ }
140
+ }
@@ -0,0 +1,80 @@
1
+ .new-style {
2
+ @import "./scaffolding";
3
+ @import "./components";
4
+ @import "./layout";
5
+ @import "./pages";
6
+ @import "./utility";
7
+
8
+ .admin-filter-box {
9
+ margin-bottom: 18px;
10
+ }
11
+
12
+ .v-btn--is-elevated.primary:not([disabled]) {
13
+ box-shadow: 0 3px 10px rgba(110, 180, 0, 0.3) !important;
14
+
15
+ &:hover {
16
+ background-color: var(--sr-hover-green) !important;
17
+ box-shadow: 0 3px 10px rgba(110, 180, 0, 0.8) !important;
18
+ }
19
+ }
20
+
21
+ .v-btn--is-elevated.info:not([disabled]) {
22
+ box-shadow: 0 3px 10px rgba(51, 148, 243, 0.3) !important;
23
+
24
+ &:hover {
25
+ box-shadow: 0 3px 10px rgba(51, 148, 243, 0.8) !important;
26
+ }
27
+ }
28
+
29
+ .v-btn--outlined {
30
+ background: #ffffff;
31
+ box-shadow: 0 3px 10px rgba(110, 180, 0, 0.15) !important;
32
+
33
+ &:hover {
34
+ box-shadow: 0 3px 10px rgba(110, 180, 0, 0.45) !important;
35
+ }
36
+ }
37
+
38
+ .v-text-field--outlined > .v-input__control > .v-input__slot {
39
+ background: white;
40
+ }
41
+
42
+ .v-tooltip__content.menuable__content__active {
43
+ opacity: 1 !important;
44
+ }
45
+
46
+ .theme--light.v-label {
47
+ font-size: $input-font-size;
48
+ color: var(--sr-black);
49
+ font-weight: normal;
50
+ }
51
+
52
+ .v-radio--is-disabled .theme--light.v-label {
53
+ color: var(--sr-secondary-text);
54
+ }
55
+
56
+ .v-input--switch--inset .v-input--switch__track {
57
+ opacity: 1;
58
+ &:not(.primary--text) {
59
+ background: var(--sr-light-grey);
60
+ }
61
+ }
62
+
63
+ .v-input--switch--inset .v-input--switch__thumb {
64
+ color: #fff !important;
65
+ caret-color: #fff !important;
66
+ }
67
+
68
+ .v-alert__dismissible .v-icon.v-icon {
69
+ font-size: 18px;
70
+ }
71
+
72
+ .v-input--dense .v-input__icon .v-icon.v-icon {
73
+ font-size: 16px;
74
+ }
75
+
76
+ .v-input--dense .v-input__icon .v-icon__component {
77
+ width: 12px;
78
+ height: 12px;
79
+ }
80
+ }
@@ -0,0 +1,5 @@
1
+ @import "./pages/order-list";
2
+ @import "./pages/product-list";
3
+ @import "./pages/order-preview";
4
+ @import "./pages/campaign";
5
+ @import "./pages/apps";
@@ -0,0 +1,29 @@
1
+ a,
2
+ a:hover {
3
+ text-decoration: none;
4
+ }
5
+
6
+ a:hover {
7
+ color: var(--sr-hover-green);
8
+ }
9
+
10
+ .link-secondary {
11
+ color: var(--sr-link-grey);
12
+ font-weight: normal;
13
+ text-shadow: none;
14
+ text-decoration: none;
15
+
16
+ &:visited {
17
+ color: var(--sr-link-grey);
18
+ }
19
+ &:hover,
20
+ &:active,
21
+ &:focus, {
22
+ text-decoration: none;
23
+ color: var(--sr-dark-grey);
24
+ }
25
+ }
26
+
27
+ .theme--light.v-icon {
28
+ outline: none;
29
+ }
@@ -0,0 +1,14 @@
1
+ .cursor-pointer {
2
+ cursor: pointer;
3
+ }
4
+ .product-status {
5
+ &--enabled {
6
+ color: var(--sr-success);
7
+ }
8
+ &--disabled {
9
+ color: var(--v-error-base);
10
+ }
11
+ &--discontinued {
12
+ color: var(--sr-link-grey);
13
+ }
14
+ }
@@ -0,0 +1,4 @@
1
+ .row {
2
+ margin-top: 0;
3
+ margin-bottom: 0;
4
+ }
@@ -0,0 +1,31 @@
1
+ .action-bar-wrapper {
2
+ display: flex;
3
+ flex-direction: row;
4
+ width: 100%;
5
+
6
+ .items-selected-text {
7
+ display: flex;
8
+ align-items: center;
9
+ width: auto;
10
+ font-size: 13px;
11
+ line-height: 1.2em;
12
+ margin-right: 30px;
13
+ text-transform: none;
14
+ }
15
+ }
16
+
17
+ .admin-order-table__head-row.bulk-action {
18
+
19
+ @include media-breakpoint-down(xs) {
20
+ .actions .primary {
21
+ word-break: break-all;
22
+ min-width: 0;
23
+ white-space: normal;
24
+
25
+ .v-btn__content {
26
+ flex: 1 1 auto;
27
+ }
28
+ }
29
+ }
30
+
31
+ }
@@ -0,0 +1,12 @@
1
+ .admin-block {
2
+ background: #fff;
3
+ border-radius: 3px;
4
+ padding: 20px;
5
+ margin-bottom: 40px;
6
+
7
+ &--dense {
8
+ margin-bottom: 10px;
9
+ padding-top: 13px;
10
+ padding-bottom: 13px;
11
+ }
12
+ }
@@ -0,0 +1,37 @@
1
+ .admin-breadcrumb-container {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ align-items: center;
5
+
6
+ @include media-breakpoint-down(xs) {
7
+ display: none;
8
+ }
9
+ }
10
+
11
+ .admin-breadcrumbs {
12
+ padding: 0;
13
+
14
+ .v-breadcrumbs {
15
+ &__item {
16
+ transition: none;
17
+ color: var(--sr-link-grey) !important;
18
+
19
+ &:hover {
20
+ color: var(--sr-dark-grey) !important;
21
+ }
22
+
23
+ .v-icon {
24
+ margin-right: 5px;
25
+ color: inherit;
26
+ }
27
+ }
28
+
29
+ &__divider {
30
+ padding: 0 5px;
31
+ }
32
+ }
33
+
34
+ li:last-child {
35
+ font-weight: 500;
36
+ }
37
+ }
@@ -0,0 +1,71 @@
1
+ .v-btn__content {
2
+ outline: none;
3
+ }
4
+
5
+ .v-btn--fab {
6
+ height: 36px;
7
+ width: 36px;
8
+ padding: 0;
9
+ border-radius: 3px;
10
+
11
+ .v-icon {
12
+ font-size: 20px;
13
+ }
14
+ }
15
+
16
+ .v-btn:not(.v-btn--round).v-size--small {
17
+ padding: 0 15px;
18
+ }
19
+
20
+ .v-btn:not(.v-btn--round).v-size--default {
21
+ padding: 0 20px;
22
+ }
23
+
24
+ .v-btn:not(.v-btn--round).v-size--large {
25
+ padding: 0 30px;
26
+ }
27
+ button.admin-button-link {
28
+ color: var(--sr-link-grey);
29
+ height: auto !important;
30
+ min-width: 0 !important;
31
+ padding: 1px 0 !important;
32
+ font-weight: normal;
33
+ text-shadow: none;
34
+ text-decoration: none;
35
+
36
+ span {
37
+ font-weight: normal;
38
+ }
39
+
40
+ svg + span {
41
+ margin-left: 6px;
42
+ }
43
+
44
+ span + svg {
45
+ margin-left: 6px;
46
+ }
47
+
48
+ &:hover,
49
+ &:active,
50
+ &:focus, {
51
+ text-decoration: none;
52
+ color: var(--sr-dark-grey);
53
+ }
54
+
55
+ &:visited {
56
+ color: var(--sr-dark-grey);
57
+ }
58
+
59
+ &:before {
60
+ background: transparent;
61
+ }
62
+
63
+ .v-ripple__container {
64
+ display: none;
65
+ }
66
+
67
+ &.v-btn--disabled .v-btn__content {
68
+ color: var(--sr-dark-grey) !important;
69
+ opacity: 0.7;
70
+ }
71
+ }
@@ -0,0 +1,61 @@
1
+ .v-card {
2
+ box-shadow: 0 4px 10px rgba(212, 218, 223, 0.1);
3
+
4
+ .v-list-item {
5
+ padding: 0;
6
+ }
7
+
8
+ .v-list-item--two-line {
9
+ .v-card__title {
10
+ padding-left: 20px;
11
+ padding-right: 20px;
12
+ padding-bottom: 0;
13
+ }
14
+ }
15
+ }
16
+
17
+ .v-card__title {
18
+ padding: 30px 30px 10px 30px;
19
+ word-break: break-word;
20
+ }
21
+
22
+ .v-card__text {
23
+ padding-left: 30px;
24
+ padding-right: 30px;
25
+ color: var(--sr-link-grey) !important;
26
+ }
27
+
28
+ .v-card__icon {
29
+ padding-left: 30px;
30
+ padding-top: 30px;
31
+ color: var(--sr-primary);
32
+
33
+ .v-avatar {
34
+ background-color: var(--sr-light-grey);
35
+
36
+ svg {
37
+ width: initial;
38
+ height: initial;
39
+ }
40
+ }
41
+ }
42
+
43
+ ul.v-card__text-list {
44
+ list-style: none;
45
+ padding: 0;
46
+ margin-left: -20px;
47
+ margin-right: -20px;
48
+
49
+ li {
50
+ a {
51
+ display: block;
52
+ padding: 5px 20px;
53
+ color: var(--sr-link-grey) !important;
54
+
55
+ &:hover {
56
+ background-color: var(--sr-light-grey);
57
+ color: var(--sr-link-grey);
58
+ }
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,16 @@
1
+ @include media-breakpoint-up(md) {
2
+ .admin-copy-box svg.v-icon {
3
+ display: none;
4
+ }
5
+ .admin-copy-box:hover svg.v-icon {
6
+ display: inline-block;
7
+ }
8
+ }
9
+
10
+ .v-application .admin-copy-box svg.v-icon {
11
+ color: var(--sr-link-grey) !important;
12
+ }
13
+
14
+ .copy-clipboard-icon {
15
+ position: absolute;
16
+ }
@@ -0,0 +1,61 @@
1
+ .sr-dialog {
2
+ &.v-dialog {
3
+ & > .v-card {
4
+ & > .v-card__title {
5
+ padding: 28px 30px 20px 30px !important;
6
+
7
+ .sr-dialog-title {
8
+ font-weight: normal;
9
+ color: $dialog-title-color;
10
+ word-break: normal;
11
+ }
12
+ }
13
+
14
+ .v-card__actions {
15
+ padding: 0 30px 30px 30px;
16
+ }
17
+
18
+ & > .v-card__text {
19
+ padding-left: 30px;
20
+ padding-right: 30px;
21
+ }
22
+
23
+ &.product-picker {
24
+ & > .v-card__text {
25
+ padding: 0;
26
+ background: var(--sr-bg-grey);
27
+ font-size: 13px;
28
+
29
+ .v-list {
30
+ background: transparent !important;
31
+ padding: 0;
32
+ }
33
+
34
+ .v-list-item {
35
+ &.active {
36
+ background-color: #ECEEEF;
37
+ }
38
+ }
39
+ }
40
+
41
+ & > .v-card__actions {
42
+ padding-top: 15px;
43
+ }
44
+
45
+ & > .v-card__title {
46
+ padding-bottom: 30px !important;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ .admin-dialog-close-button {
53
+ position: absolute;
54
+ top: 8px;
55
+ right: 6px;
56
+
57
+ .v-icon.v-icon {
58
+ font-size: 18px;
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,21 @@
1
+ .sr-admin-icon-link,
2
+ .sr-admin-icon-btn {
3
+ display: inline-flex;
4
+ justify-content: center;
5
+ align-items: center;
6
+ padding: 6px;
7
+ margin: 0;
8
+ border: 0;
9
+ color: var(--sr-primary);
10
+ outline: none;
11
+
12
+ &:focus,
13
+ &:active,
14
+ &:hover {
15
+ color: var(--sr-hover-green);
16
+
17
+ svg {
18
+ outline: none;
19
+ }
20
+ }
21
+ }