@rolster/styles-foundations 2.5.29 → 2.5.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolster/styles-foundations",
3
- "version": "2.5.29",
3
+ "version": "2.5.31",
4
4
  "description": "Front-end style pack to develop responsive and mobile projects on the web with Rolster.",
5
5
  "sass": "scss/styles.scss",
6
6
  "style": "dist/styles.css",
@@ -8,13 +8,14 @@
8
8
  .rls-app {
9
9
  &__body {
10
10
  --pvt-navbar-width: var(--rlc-app-navbar-width, 160rem);
11
+ --pvt-navbar-width-condense: 36rem;
11
12
 
12
13
  display: flex;
13
14
  flex-direction: column;
14
15
  padding: 0rem;
15
16
  margin: 0rem;
16
- width: 100vw;
17
- height: 100vh;
17
+ width: var(--rls-html-max-width);
18
+ height: var(--rls-html-max-height);
18
19
  overflow: hidden;
19
20
  z-index: var(--rls-z-index-8);
20
21
 
@@ -23,7 +24,7 @@
23
24
  }
24
25
 
25
26
  &--navbar-condense {
26
- --pvt-navbar-width: 36rem;
27
+ --pvt-navbar-width: var(--pvt-navbar-width-condense);
27
28
  }
28
29
  }
29
30
 
@@ -40,14 +41,14 @@
40
41
 
41
42
  & + .rls-app__page,
42
43
  & + .rls-app__content {
43
- height: calc(100vh - var(--pvt-header-height));
44
+ height: calc(var(--rls-html-max-height) - var(--pvt-header-height));
44
45
  }
45
46
  }
46
47
 
47
48
  &__content {
48
49
  position: relative;
49
50
  width: 100%;
50
- height: 100vh;
51
+ height: var(--rls-html-max-height);
51
52
  margin: 0rem;
52
53
  padding: 0rem;
53
54
  overflow: auto;
@@ -59,7 +60,7 @@
59
60
  position: relative;
60
61
  display: flex;
61
62
  width: 100%;
62
- height: 100vh;
63
+ height: var(--rls-html-max-height);
63
64
  margin: 0rem;
64
65
  padding: 0rem;
65
66
  overflow: hidden;
@@ -71,12 +72,7 @@
71
72
  height: 100%;
72
73
  margin: 0rem;
73
74
  padding: 0rem;
74
- box-sizing: border-box;
75
- overflow-x: hidden;
76
- overflow-y: auto;
77
- border-radius: 0rem 0rem var(--rls-sizing-x16) 0rem;
78
- background: var(--rlc-app-navbar-background, var(--rls-app-color-100));
79
- transition: width 240ms var(--rls-acceleration-curve);
75
+ transition: width 280ms var(--rls-acceleration-curve);
80
76
 
81
77
  & + .rls-app__page__content {
82
78
  --rlc-snackbar-left: calc(50% + calc(var(--pvt-navbar-width) / 2));
@@ -98,3 +94,23 @@
98
94
  }
99
95
  }
100
96
  }
97
+
98
+ @media screen and (max-width: 640px) {
99
+ .rls-app {
100
+ &__body {
101
+ --pvt-navbar-width: 140rem;
102
+ --pvt-navbar-width-condense: 140rem;
103
+ --pvt-section-navbar: 0rem;
104
+
105
+ &--navbar-condense {
106
+ --pvt-section-navbar: 140rem;
107
+ }
108
+ }
109
+
110
+ &__page {
111
+ width: calc(var(--rls-html-max-width) + var(--pvt-navbar-width));
112
+ left: calc(var(--pvt-section-navbar) * -1);
113
+ transition: left 280ms var(--rls-standard-curve);
114
+ }
115
+ }
116
+ }
package/scss/styles.scss CHANGED
@@ -1,14 +1,19 @@
1
1
  // Rolster Technology Styles
2
- // v2.1.0
2
+ // v2.1.1
3
3
  // @license MIT
4
4
  // Author: Rolster Developers
5
5
  // Created: 11/Ago/2022
6
- // Updated: 05/Jul/2024
6
+ // Updated: 15/Sep/2025
7
7
 
8
8
  @use 'foundations';
9
9
  @use 'utilities';
10
10
  @use 'components';
11
11
 
12
+ :root {
13
+ --rls-html-max-width: 100%;
14
+ --rls-html-max-height: 100%;
15
+ }
16
+
12
17
  .rls-aspect-ratio {
13
18
  --rls-app-font-size-1360: 2.5px;
14
19
  --rls-app-font-size-1820: 2.925px;