@shoprenter/sr-styleguide 1.0.0 → 1.2.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 (77) hide show
  1. package/README.md +138 -18
  2. package/dist/demo/src/demo_bootstrap_js.css +26 -26
  3. package/dist/demo/src/demo_bootstrap_js.js +1 -1
  4. package/dist/demo/src/index.html +1 -1
  5. package/dist/stylesheet/sr-styleguide.css +6 -6
  6. package/package.json +4 -5
  7. package/src/components/app-containers/SrModule/SrModule.scss +1 -1
  8. package/src/components/app-containers/SrModule/SrModule.vue +19 -8
  9. package/src/components/app-containers/SrPage/SrPage.vue +19 -16
  10. package/src/components/app-containers/scope.js +12 -0
  11. package/src/components/breadcrumbs/SrBreadcrumbs/SrBreadcrumbs.scss +47 -0
  12. package/src/components/breadcrumbs/SrBreadcrumbs/SrBreadcrumbs.vue +46 -0
  13. package/src/components/breadcrumbs/tests/SrBreadcrumbs.spec.js +109 -0
  14. package/src/components/form/SrFormDivider/SrFormDivider.scss +4 -0
  15. package/src/components/form/SrFormDivider/SrFormDivider.vue +9 -0
  16. package/src/components/form/SrFormRow/SrFormRow.scss +21 -21
  17. package/src/components/form/SrFormRow/SrFormRow.vue +3 -2
  18. package/src/components/inputs/SrCheckbox/SrCheckbox.vue +13 -1
  19. package/src/components/inputs/SrCheckbox/tests/SrCheckbox.spec.js +39 -0
  20. package/src/components/inputs/SrDatePicker/SrDatePicker.vue +4 -1
  21. package/src/components/inputs/SrMultiCheckbox/BaseMultiCheckbox.vue +43 -0
  22. package/src/components/inputs/SrMultiCheckbox/SrMultiCheckbox.vue +10 -55
  23. package/src/components/inputs/SrMultiCheckbox/SrSimpleMultiCheckbox.vue +52 -0
  24. package/src/components/inputs/SrMultiCheckbox/mixin/SrMultiCheckboxMixin.js +26 -0
  25. package/src/components/inputs/SrMultiCheckbox/tests/SrMultiCheckbox.spec.js +49 -43
  26. package/src/components/inputs/SrMultiCheckbox/tests/SrSimpleMultiCheckbox.spec.js +104 -0
  27. package/src/components/inputs/SrRadio/SrRadioGroup.vue +7 -1
  28. package/src/components/inputs/SrRadio/tests/SrRadioGroup.spec.js +38 -0
  29. package/src/components/inputs/SrSelect/SrSelect.vue +8 -1
  30. package/src/components/inputs/SrSwitch/SrSwitch.vue +0 -1
  31. package/src/components/inputs/SrTextarea/SrTextarea.vue +20 -0
  32. package/src/components/layouts/slim/SrSlimHeading/SrSlimHeading.scss +9 -0
  33. package/src/components/layouts/slim/SrSlimHeading/SrSlimHeading.vue +2 -2
  34. package/src/components/layouts/slim/SrSlimLayout/SrSlimLayout.scss +12 -0
  35. package/src/components/layouts/slim/SrSlimLayout/SrSlimLayout.vue +8 -0
  36. package/src/components/layouts/standard/SrStandardLayout/SrStandardLayout.scss +4 -0
  37. package/src/components/layouts/standard/SrStandardLayout/SrStandardLayout.vue +21 -0
  38. package/src/components/pagination/SrPagination/SrPagination.scss +36 -0
  39. package/src/components/tables/SrSimpleTableFilterTd/SrSimpleTableFilterTd.vue +27 -0
  40. package/src/components/tabs/SrTabsItems/SrTabsItems.vue +1 -1
  41. package/src/plugins/component-library/index.js +4 -2
  42. package/src/plugins/component-library/library/SrBreadcrumbs.js +7 -0
  43. package/src/plugins/component-library/library/{SrFormRow.js → SrForm.js} +2 -0
  44. package/src/plugins/component-library/library/SrInputs.js +4 -0
  45. package/src/plugins/component-library/library/SrLayouts.js +4 -0
  46. package/src/plugins/component-library/library/SrPagination.js +1 -1
  47. package/src/plugins/component-library/library/SrTables.js +2 -1
  48. package/src/plugins/vuetify/preset/icons/index.js +4 -0
  49. package/src/plugins/vuetify/preset/locale/sr-en.js +2 -1
  50. package/src/plugins/vuetify/preset/locale/sr-hu.js +2 -1
  51. package/src/plugins/vuetify/preset/style/scss/_admin-menu.scss +0 -14
  52. package/src/plugins/vuetify/preset/style/scss/_components.scss +0 -12
  53. package/src/plugins/vuetify/preset/style/scss/_new-style.scss +0 -7
  54. package/src/plugins/vuetify/preset/style/scss/components/_input.scss +1 -32
  55. package/src/plugins/vuetify/preset/style/scss/components/_select.scss +0 -61
  56. package/src/plugins/vuetify/preset/style/scss/components/_table.scss +5 -39
  57. package/src/plugins/vuetify/preset/variables.scss +2 -2
  58. package/src/plugins/vuetify/preset/style/scss/_layout.scss +0 -140
  59. package/src/plugins/vuetify/preset/style/scss/_pages.scss +0 -5
  60. package/src/plugins/vuetify/preset/style/scss/_utility.scss +0 -14
  61. package/src/plugins/vuetify/preset/style/scss/components/_actionbar.scss +0 -31
  62. package/src/plugins/vuetify/preset/style/scss/components/_block.scss +0 -12
  63. package/src/plugins/vuetify/preset/style/scss/components/_breadcrumb.scss +0 -37
  64. package/src/plugins/vuetify/preset/style/scss/components/_copy-to-clipboard.scss +0 -16
  65. package/src/plugins/vuetify/preset/style/scss/components/_dialog.scss +0 -61
  66. package/src/plugins/vuetify/preset/style/scss/components/_icons.scss +0 -21
  67. package/src/plugins/vuetify/preset/style/scss/components/_pagination.scss +0 -36
  68. package/src/plugins/vuetify/preset/style/scss/components/_quantity-range-input.scss +0 -93
  69. package/src/plugins/vuetify/preset/style/scss/components/_select-all-plus.scss +0 -5
  70. package/src/plugins/vuetify/preset/style/scss/components/_simple-card.scss +0 -97
  71. package/src/plugins/vuetify/preset/style/scss/components/_sticky-header.scss +0 -41
  72. package/src/plugins/vuetify/preset/style/scss/pages/_apps.scss +0 -99
  73. package/src/plugins/vuetify/preset/style/scss/pages/_campaign.scss +0 -30
  74. package/src/plugins/vuetify/preset/style/scss/pages/_order-list.scss +0 -498
  75. package/src/plugins/vuetify/preset/style/scss/pages/_order-preview.scss +0 -83
  76. package/src/plugins/vuetify/preset/style/scss/pages/_product-list.scss +0 -286
  77. /package/src/components/pagination/{SrPagination.vue → SrPagination/SrPagination.vue} +0 -0
package/README.md CHANGED
@@ -1,37 +1,157 @@
1
- # SR Styleguide
1
+ # @shoprenter/sr-styleguide
2
2
 
3
- ## Környezet
3
+ This package is a UI component library for the Shoprenter admin interface.
4
4
 
5
- - **Node**: 22
6
- - **Npm**: 10
5
+ It provides a pre-configured Vuetify 2 instance and reusable Vuetify-based components designed to ensure a consistent look and feel across the Shoprenter admin interface.
7
6
 
7
+ ## Features
8
8
 
9
- ## Használat
9
+ - Pre-configured Vuetify 2.6.14 setup
10
+ - Vue 2 compatible
11
+ - Ready-to-use design components
12
+ - Custom SCSS/CSS design
13
+ - Easy integration with remote applications
14
+ - Supports full-page apps and embeddable modules
10
15
 
11
- A Styleguide stílus szabályai csak a `#sr-styleguide` css selectoron belül lesznek érvényesek. A Styleguide-ot használó Vue alkalmazás szülő DOM elemének rendelkeznie kell ezzel az attribútummal.
16
+ ## Getting Started
12
17
 
13
- Ahhoz, hogy a Styleguide komponenseit a saját Vue alkalmazásunkban használhassuk:
18
+ ### Requirements
14
19
 
15
- - hozzá kell adnunk az alkalmazáshoz a komponenseket
16
- ```javascript
20
+ - **Node.js:** 14.x (22.x for developing the styleguide itself)
21
+ - **npm:** 10.x
22
+ - **Vue:** 2.x
23
+ - **Vuetify:** 2.6.14 (comes bundled with the package)
24
+
25
+ ### Installation
26
+
27
+ Install the styleguide package via npm:
28
+
29
+ ```bash
30
+ npm install @shoprenter/sr-styleguide
31
+ ```
32
+
33
+ ### Usage
34
+
35
+ To use the styleguide components and styles in your Vue application:
36
+
37
+ 1. **Import the component library and register it:**
38
+
39
+ ```js
17
40
  import Vue from 'vue'
18
- import { SrStyleguideComponents } from 'sr-styleguide'
41
+ import { SrStyleguideComponents } from '@shoprenter/sr-styleguide'
19
42
 
20
43
  Vue.use(SrStyleguideComponents)
21
44
  ```
22
45
 
23
- - az alkalmazást a Styleguide felkonfigurált Vuetify példányával kell inicializálnunk
24
- ```javascript
46
+ 2. **Initialize your Vue app with the pre-configured Vuetify instance:**
47
+
48
+ ```js
25
49
  import Vue from 'vue'
26
- import {SrStyleguide} from 'sr-styleguide'
50
+ import { SrStyleguide } from '@shoprenter/sr-styleguide'
51
+ import App from './App.vue'
52
+
53
+ new Vue({
54
+ vuetify: SrStyleguide,
55
+ render: h => h(App)
56
+ }).$mount('#app')
57
+ ```
58
+
59
+ 3. **Load the styleguide stylesheet:**
60
+
61
+ ```js
62
+ import '@shoprenter/sr-styleguide/dist/stylesheet/sr-styleguide.css'
63
+ ```
64
+
65
+ ### Example: App Integration
66
+
67
+ Here is a simple example of how to use the styleguide in your Vue application:
68
+
69
+ ```js
70
+ import Vue from 'vue'
71
+ import { SrStyleguide, SrStyleguideComponents } from '@shoprenter/sr-styleguide'
72
+ import App from './App.vue'
73
+
74
+ import '@shoprenter/sr-styleguide/dist/stylesheet/sr-styleguide.css'
75
+
76
+ Vue.use(SrStyleguideComponents)
27
77
 
28
- const app = new Vue({
78
+ export default function createApp() {
79
+ return new Vue({
29
80
  vuetify: SrStyleguide,
30
81
  render: h => h(App)
31
- })
82
+ })
83
+ }
32
84
  ```
33
- - be kell töltenünk az oldalra a Styleguide stílusfájlt
34
85
 
35
- ```javascript
36
- import 'sr-styleguide/dist/stylesheet/sr-styleguide.css'
86
+ ## Demo
87
+
88
+ The latest version's component & style demos and documentation can be viewed here:
89
+
90
+ https://styleguide.shoprenter.hu/
91
+
92
+ OR
93
+
94
+ You can find the detailed documentation and component demos for the given version inside the package itself:
95
+
37
96
  ```
97
+ /dist/demo/index.html
98
+ ```
99
+
100
+ Open this file in a browser to explore the available components and their usage.
101
+
102
+ ## Changelog
103
+
104
+ ### [1.2.0] - 2025-04-17
105
+ #### Added
106
+ - SrStandardLayout component
107
+ - Breadcrumbs from route parameters to layout containers
108
+ - Demo list page
109
+ - Language-aware default placeholder for SrSelect component
110
+ - SrSimpleTableFilterTd component to simplify the creation of filterable table columns
111
+ - Demo form page
112
+ - SrTextarea component
113
+ - SrFormDivider component
114
+ - Getting Started page
115
+
116
+ #### Fixed
117
+ - Resolved an issue where global `html` tag styles were not being applied correctly.
118
+ - Demo page menu is now scrollable and condensable
119
+ - Help button & breadcrumb container no longer takes up space when empty
120
+ - Style rule scope now includes package version
121
+ - SrEditIcon component now contains the correct icon
122
+ - SrFormRow now has properly applied bottom margin
123
+ - SrDatePicker is now clearable just like the other input components
124
+ - SrSwitch is able to display hint and validation errors and consequentially has the same layout as the other input components
125
+ - SrDatePicker now displays in localized language and format
126
+ - If an app-container component gets an id attribute, it applies properly and no longer breaks styling
127
+
128
+ #### Changed
129
+ - Updated margins for the SrHeading component
130
+ - Style adjustments to the SrSimpleTable component
131
+ - SrHeading now adds space between the header buttons
132
+
133
+
134
+ ### [1.1.0] - 2025-04-09
135
+ #### Added
136
+ - Added new SrSimpleMultiCheckbox component for cases when only a straightforward listing of selectable options is required.
137
+
138
+ #### Fixed
139
+ - Changed the suboptimal ordering of some style rules in the stylesheet
140
+ - Removed unused style rules to make the stylesheet's size smaller
141
+ - Fixed SrCheckbox component to handle v-model correctly
142
+ - Fixed SrRadioGroup component to handle v-model correctly
143
+
144
+ #### Changed
145
+ - Updated the SrMultiCheckbox demo example to clearly demonstrate that individual checkbox options can implement custom behaviors, such as forced selection, disabled state, or triggering custom events.
146
+ - Vuetify dependency got constrained to version 2.6.14 specifically. Previously it defaulted to the latest package of version 2.
147
+
148
+ ### [1.0.0] - 2025-04-04
149
+ #### Initial release
150
+ - Basic components and package functionality
151
+
152
+
153
+ ## Contribution
154
+
155
+ This package is maintained by the Shoprenter team.
156
+
157
+ ---
@@ -1,13 +1,12 @@
1
- #sr-styleguide .vb>.vb-dragger{z-index:5;width:12px;right:0}#sr-styleguide .vb>.vb-dragger>.vb-dragger-styler{-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:rotate3d(0, 0, 0, 0);transform:rotate3d(0, 0, 0, 0);-webkit-transition:background-color 100ms ease-out,margin 100ms ease-out,height 100ms ease-out;transition:background-color 100ms ease-out,margin 100ms ease-out,height 100ms ease-out;background-color:var(--sr-primary);opacity:.1;margin:5px 5px 5px 0;border-radius:20px;height:calc(100% - 10px);display:block}#sr-styleguide .vb.vb-scrolling-phantom>.vb-dragger>.vb-dragger-styler{background-color:var(--sr-primary);opacity:.3}#sr-styleguide .vb>.vb-dragger:hover>.vb-dragger-styler{background-color:var(--sr-primary);opacity:.5;margin:0px;height:100%}#sr-styleguide .vb.vb-dragging>.vb-dragger>.vb-dragger-styler{background-color:var(--sr-primary);opacity:.5;margin:0;height:100%}#sr-styleguide .vb.vb-dragging-phantom>.vb-dragger>.vb-dragger-styler{background-color:var(--sr-primary);opacity:.5}
2
- #sr-styleguide .admin-style-guide-layout{display:grid;grid-gap:40px;grid-template-columns:1fr}@media only screen and (min-width: 600px){#sr-styleguide .admin-style-guide-layout{grid-template-columns:1fr}}@media only screen and (min-width: 960px){#sr-styleguide .admin-style-guide-layout{grid-template-columns:250px 1fr}}@media only screen and (min-width: 1264px){#sr-styleguide .admin-style-guide-layout{grid-template-columns:300px 1fr}}#sr-styleguide .admin-style-guide__menu{position:sticky;top:60px;height:100vh}#sr-styleguide .sg-page-header{padding:30px 0 60px 0}#sr-styleguide .sg-section{margin-top:60px;margin-bottom:40px}#sr-styleguide .sg-section-header{border-left:5px solid var(--sr-black);padding:0 0 0 15px;line-height:1.2;text-transform:uppercase}#sr-styleguide .sg-subsection{width:100%;margin-top:50px;margin-bottom:50px}#sr-styleguide .sg-subsection h2{margin-bottom:20px;font-weight:500;position:relative;padding-left:40px;text-transform:uppercase}#sr-styleguide .sg-subsection h2:before{content:"";display:block;width:30px;height:4px;background:var(--sr-black);position:absolute;left:0;top:calc(50% - 2px)}#sr-styleguide .sg-subsection h4{font-weight:400;border-left:3px solid var(--v-secondary-base);padding:0 0 0 15px;line-height:1.2;text-transform:uppercase;margin-bottom:20px}#sr-styleguide .sg-block{margin-top:50px}#sr-styleguide .sg-button-list{display:flex;justify-content:space-between}#sr-styleguide .sg-button-type{flex:0 0 20%}
3
- #sr-styleguide .sg-iconset{--icon-size: 50px;display:grid;grid-template-columns:1fr;grid-gap:20px}#sr-styleguide .sg-icon-container{height:var(--icon-size);width:var(--icon-size);background-color:var(--sr-light-grey);display:flex;justify-content:center;align-items:center;flex-shrink:0}#sr-styleguide .sg-iconset>div{display:flex;align-items:center;gap:20px}#sr-styleguide sr-code-block{flex-grow:1;min-width:300px}
1
+ #sr-styleguide-1-2-0 .admin-style-guide-layout{display:grid;grid-gap:40px;grid-template-columns:1fr}@media only screen and (min-width: 600px){#sr-styleguide-1-2-0 .admin-style-guide-layout{grid-template-columns:1fr}}@media only screen and (min-width: 960px){#sr-styleguide-1-2-0 .admin-style-guide-layout{grid-template-columns:250px 1fr}}@media only screen and (min-width: 1264px){#sr-styleguide-1-2-0 .admin-style-guide-layout{grid-template-columns:300px 1fr}}#sr-styleguide-1-2-0 .sg-page-header{padding:30px 0 60px 0}#sr-styleguide-1-2-0 .sg-section{margin-top:60px;margin-bottom:40px}#sr-styleguide-1-2-0 .sg-section-header{border-left:5px solid var(--sr-black);padding:0 0 0 15px;line-height:1.2;text-transform:uppercase}#sr-styleguide-1-2-0 .sg-subsection{width:100%;margin-top:50px;margin-bottom:50px}#sr-styleguide-1-2-0 .sg-subsection h2{margin-bottom:20px;font-weight:500;position:relative;padding-left:40px;text-transform:uppercase}#sr-styleguide-1-2-0 .sg-subsection h2:before{content:"";display:block;width:30px;height:4px;background:var(--sr-black);position:absolute;left:0;top:calc(50% - 2px)}#sr-styleguide-1-2-0 .sg-subsection h4{font-weight:400;border-left:3px solid var(--v-secondary-base);padding:0 0 0 15px;line-height:1.2;text-transform:uppercase;margin-bottom:20px}#sr-styleguide-1-2-0 .sg-block{margin-top:50px}#sr-styleguide-1-2-0 .sg-button-list{display:flex;justify-content:space-between}#sr-styleguide-1-2-0 .sg-button-type{flex:0 0 20%}
2
+ #sr-styleguide-1-2-0 .sg-iconset{--icon-size: 50px;display:grid;grid-template-columns:1fr;grid-gap:20px}#sr-styleguide-1-2-0 .sg-icon-container{height:var(--icon-size);width:var(--icon-size);background-color:var(--sr-light-grey);display:flex;justify-content:center;align-items:center;flex-shrink:0}#sr-styleguide-1-2-0 .sg-iconset>div{display:flex;align-items:center;gap:20px}#sr-styleguide-1-2-0 sr-code-block{flex-grow:1;min-width:300px}
4
3
  /**
5
4
  * prism.js default theme for JavaScript, CSS and HTML
6
5
  * Based on dabblet (http://dabblet.com)
7
6
  * @author Lea Verou
8
7
  */
9
8
 
10
- #sr-styleguide code[class*="language-"], #sr-styleguide pre[class*="language-"] {
9
+ #sr-styleguide-1-2-0 code[class*="language-"], #sr-styleguide-1-2-0 pre[class*="language-"] {
11
10
  color: black;
12
11
  background: none;
13
12
  text-shadow: 0 1px white;
@@ -30,90 +29,91 @@
30
29
  hyphens: none;
31
30
  }
32
31
 
33
- #sr-styleguide pre[class*="language-"]::-moz-selection, #sr-styleguide pre[class*="language-"] ::-moz-selection, #sr-styleguide code[class*="language-"]::-moz-selection, #sr-styleguide code[class*="language-"] ::-moz-selection {
32
+ #sr-styleguide-1-2-0 pre[class*="language-"]::-moz-selection, #sr-styleguide-1-2-0 pre[class*="language-"] ::-moz-selection, #sr-styleguide-1-2-0 code[class*="language-"]::-moz-selection, #sr-styleguide-1-2-0 code[class*="language-"] ::-moz-selection {
34
33
  text-shadow: none;
35
34
  background: #b3d4fc;
36
35
  }
37
36
 
38
- #sr-styleguide pre[class*="language-"]::selection, #sr-styleguide pre[class*="language-"] ::selection, #sr-styleguide code[class*="language-"]::selection, #sr-styleguide code[class*="language-"] ::selection {
37
+ #sr-styleguide-1-2-0 pre[class*="language-"]::selection, #sr-styleguide-1-2-0 pre[class*="language-"] ::selection, #sr-styleguide-1-2-0 code[class*="language-"]::selection, #sr-styleguide-1-2-0 code[class*="language-"] ::selection {
39
38
  text-shadow: none;
40
39
  background: #b3d4fc;
41
40
  }
42
41
 
43
42
  @media print {
44
- #sr-styleguide code[class*="language-"], #sr-styleguide pre[class*="language-"] {
43
+ #sr-styleguide-1-2-0 code[class*="language-"], #sr-styleguide-1-2-0 pre[class*="language-"] {
45
44
  text-shadow: none;
46
45
  }
47
46
  }
48
47
 
49
48
  /* Code blocks */
50
- #sr-styleguide pre[class*="language-"] {
49
+ #sr-styleguide-1-2-0 pre[class*="language-"] {
51
50
  padding: 1em;
52
51
  margin: .5em 0;
53
52
  overflow: auto;
54
53
  }
55
54
 
56
- #sr-styleguide :not(pre) > code[class*="language-"], #sr-styleguide pre[class*="language-"] {
55
+ #sr-styleguide-1-2-0 :not(pre) > code[class*="language-"], #sr-styleguide-1-2-0 pre[class*="language-"] {
57
56
  background: #f5f2f0;
58
57
  }
59
58
 
60
59
  /* Inline code */
61
- #sr-styleguide :not(pre) > code[class*="language-"] {
60
+ #sr-styleguide-1-2-0 :not(pre) > code[class*="language-"] {
62
61
  padding: .1em;
63
62
  border-radius: .3em;
64
63
  white-space: normal;
65
64
  }
66
65
 
67
- #sr-styleguide .token.comment, #sr-styleguide .token.prolog, #sr-styleguide .token.doctype, #sr-styleguide .token.cdata {
66
+ #sr-styleguide-1-2-0 .token.comment, #sr-styleguide-1-2-0 .token.prolog, #sr-styleguide-1-2-0 .token.doctype, #sr-styleguide-1-2-0 .token.cdata {
68
67
  color: slategray;
69
68
  }
70
69
 
71
- #sr-styleguide .token.punctuation {
70
+ #sr-styleguide-1-2-0 .token.punctuation {
72
71
  color: #999;
73
72
  }
74
73
 
75
- #sr-styleguide .token.namespace {
74
+ #sr-styleguide-1-2-0 .token.namespace {
76
75
  opacity: .7;
77
76
  }
78
77
 
79
- #sr-styleguide .token.property, #sr-styleguide .token.tag, #sr-styleguide .token.boolean, #sr-styleguide .token.number, #sr-styleguide .token.constant, #sr-styleguide .token.symbol, #sr-styleguide .token.deleted {
78
+ #sr-styleguide-1-2-0 .token.property, #sr-styleguide-1-2-0 .token.tag, #sr-styleguide-1-2-0 .token.boolean, #sr-styleguide-1-2-0 .token.number, #sr-styleguide-1-2-0 .token.constant, #sr-styleguide-1-2-0 .token.symbol, #sr-styleguide-1-2-0 .token.deleted {
80
79
  color: #905;
81
80
  }
82
81
 
83
- #sr-styleguide .token.selector, #sr-styleguide .token.attr-name, #sr-styleguide .token.string, #sr-styleguide .token.char, #sr-styleguide .token.builtin, #sr-styleguide .token.inserted {
82
+ #sr-styleguide-1-2-0 .token.selector, #sr-styleguide-1-2-0 .token.attr-name, #sr-styleguide-1-2-0 .token.string, #sr-styleguide-1-2-0 .token.char, #sr-styleguide-1-2-0 .token.builtin, #sr-styleguide-1-2-0 .token.inserted {
84
83
  color: #690;
85
84
  }
86
85
 
87
- #sr-styleguide .token.operator, #sr-styleguide .token.entity, #sr-styleguide .token.url, #sr-styleguide .language-css .token.string, #sr-styleguide .style .token.string {
86
+ #sr-styleguide-1-2-0 .token.operator, #sr-styleguide-1-2-0 .token.entity, #sr-styleguide-1-2-0 .token.url, #sr-styleguide-1-2-0 .language-css .token.string, #sr-styleguide-1-2-0 .style .token.string {
88
87
  color: #9a6e3a;
89
88
  /* This background color was intended by the author of this theme. */
90
89
  background: hsla(0, 0%, 100%, .5);
91
90
  }
92
91
 
93
- #sr-styleguide .token.atrule, #sr-styleguide .token.attr-value, #sr-styleguide .token.keyword {
92
+ #sr-styleguide-1-2-0 .token.atrule, #sr-styleguide-1-2-0 .token.attr-value, #sr-styleguide-1-2-0 .token.keyword {
94
93
  color: #07a;
95
94
  }
96
95
 
97
- #sr-styleguide .token.function, #sr-styleguide .token.class-name {
96
+ #sr-styleguide-1-2-0 .token.function, #sr-styleguide-1-2-0 .token.class-name {
98
97
  color: #DD4A68;
99
98
  }
100
99
 
101
- #sr-styleguide .token.regex, #sr-styleguide .token.important, #sr-styleguide .token.variable {
100
+ #sr-styleguide-1-2-0 .token.regex, #sr-styleguide-1-2-0 .token.important, #sr-styleguide-1-2-0 .token.variable {
102
101
  color: #e90;
103
102
  }
104
103
 
105
- #sr-styleguide .token.important, #sr-styleguide .token.bold {
104
+ #sr-styleguide-1-2-0 .token.important, #sr-styleguide-1-2-0 .token.bold {
106
105
  font-weight: bold;
107
106
  }
108
- #sr-styleguide .token.italic {
107
+ #sr-styleguide-1-2-0 .token.italic {
109
108
  font-style: italic;
110
109
  }
111
110
 
112
- #sr-styleguide .token.entity {
111
+ #sr-styleguide-1-2-0 .token.entity {
113
112
  cursor: help;
114
113
  }
115
114
 
116
- #sr-styleguide .sr-code-block .code-block{position:relative;background:rgba(0,0,0,0);padding:0;border-radius:0;color:#333;font-family:monospace;overflow-x:auto;overflow-y:auto;width:500px;font-size:14px;line-height:1.4}#sr-styleguide .sr-code-block .code-block pre{background:var(--sr-light-grey) !important;border:none !important;border-radius:5px;padding:12px 40px 12px 12px;font-size:14px;line-height:1.5;font-weight:bold}#sr-styleguide .sr-code-block .code-block code{background:none !important;border:none !important;font-weight:bold}#sr-styleguide .sr-code-block.code-container{flex-grow:1;min-width:300px;display:flex;align-items:center}#sr-styleguide .sr-code-block .copied-text{background:var(--sr-primary);color:var(--sr-white);padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;opacity:1;z-index:10;transition:opacity .3s,transform .3s;transform:translateY(0);font-family:"Roboto",sans-serif}#sr-styleguide .fade-enter-active, #sr-styleguide .fade-leave-active{transition:opacity .3s,transform .3s}#sr-styleguide .fade-enter, #sr-styleguide .fade-leave-to{opacity:0;transform:translateY(-5px)}
117
- #sr-styleguide .style-guide-row{display:flex;flex-wrap:nowrap;gap:10px;align-items:center}#sr-styleguide .style-guide-row .element-container{width:200px;min-width:200px;display:flex;justify-content:flex-start}@media(max-width: 768px){#sr-styleguide .style-guide-row .style-guide-row{flex-direction:column}#sr-styleguide .style-guide-row .element-container{width:100%}}
118
- #sr-styleguide #sr-style-guide-layouts .page-layout--slim, #sr-styleguide #sr-style-guide-layouts .sr-code-block{margin:0 auto 48px auto;padding:0 30px}@media(min-width: 600px){#sr-styleguide #sr-style-guide-layouts .page-layout--slim, #sr-styleguide #sr-style-guide-layouts .sr-code-block{max-width:560px}}@media(min-width: 960px){#sr-styleguide #sr-style-guide-layouts .page-layout--slim, #sr-styleguide #sr-style-guide-layouts .sr-code-block{max-width:760px}}
119
- #sr-styleguide #app-containers .sr-page, #sr-styleguide .sr-module{border:1px solid var(--sr-dark-grey)}
115
+ #sr-styleguide-1-2-0 .sr-code-block .code-block{position:relative;background:rgba(0,0,0,0);padding:0;border-radius:0;color:#333;font-family:monospace;overflow-x:auto;overflow-y:auto;width:500px;font-size:14px;line-height:1.4}#sr-styleguide-1-2-0 .sr-code-block .code-block pre{background:var(--sr-light-grey) !important;border:none !important;border-radius:5px;padding:12px 40px 12px 12px;font-size:14px;line-height:1.5;font-weight:bold}#sr-styleguide-1-2-0 .sr-code-block .code-block code{background:none !important;border:none !important;font-weight:bold}#sr-styleguide-1-2-0 .sr-code-block.code-container{flex-grow:1;min-width:300px;display:flex;align-items:center}#sr-styleguide-1-2-0 .sr-code-block .copied-text{background:var(--sr-primary);color:var(--sr-white);padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;opacity:1;z-index:10;transition:opacity .3s,transform .3s;transform:translateY(0);font-family:"Roboto",sans-serif}#sr-styleguide-1-2-0 .fade-enter-active, #sr-styleguide-1-2-0 .fade-leave-active{transition:opacity .3s,transform .3s}#sr-styleguide-1-2-0 .fade-enter, #sr-styleguide-1-2-0 .fade-leave-to{opacity:0;transform:translateY(-5px)}
116
+ #sr-styleguide-1-2-0 .admin-style-guide__menu{position:sticky;top:60px;height:100vh;max-height:500px;overflow-y:auto}#sr-styleguide-1-2-0 .clickable-menu-item{cursor:pointer;transition:background-color .3s ease}#sr-styleguide-1-2-0 .clickable-menu-item:hover{background-color:rgba(0,0,0,.04)}
117
+ #sr-styleguide-1-2-0 .style-guide-row{display:flex;flex-wrap:nowrap;gap:10px;align-items:center}#sr-styleguide-1-2-0 .style-guide-row .element-container{width:200px;min-width:200px;display:flex;justify-content:flex-start}@media(max-width: 768px){#sr-styleguide-1-2-0 .style-guide-row .style-guide-row{flex-direction:column}#sr-styleguide-1-2-0 .style-guide-row .element-container{width:100%}}
118
+ #sr-styleguide-1-2-0 #sr-style-guide-layouts .page-layout--slim, #sr-styleguide-1-2-0 #sr-style-guide-layouts #slim-layout .sr-code-block{margin:0 auto 48px auto;padding:0 30px}@media(min-width: 600px){#sr-styleguide-1-2-0 #sr-style-guide-layouts .page-layout--slim, #sr-styleguide-1-2-0 #sr-style-guide-layouts #slim-layout .sr-code-block{max-width:560px}}@media(min-width: 960px){#sr-styleguide-1-2-0 #sr-style-guide-layouts .page-layout--slim, #sr-styleguide-1-2-0 #sr-style-guide-layouts #slim-layout .sr-code-block{max-width:760px}}#sr-styleguide-1-2-0 #sr-style-guide-layouts #standard-layout .sr-code-block{margin:0 auto 70px auto;padding:0 30px}
119
+ #sr-styleguide-1-2-0 #app-containers .sr-page, #sr-styleguide-1-2-0 .sr-module{border:1px solid var(--sr-dark-grey)}