@rolster/styles-foundations 2.5.30 → 2.5.32

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.
@@ -1,5 +1,5 @@
1
1
  // Rolster Technology App Component
2
- // v2.3.2
2
+ // v2.3.3
3
3
  // @license MIT
4
4
  // Author: Rolster Developers
5
5
  // Created: 20/Mar/2018
@@ -8,14 +8,14 @@
8
8
  .rls-app {
9
9
  &__body {
10
10
  --pvt-navbar-width: var(--rlc-app-navbar-width, 160rem);
11
- --pvt-navbar-left: 0%;
11
+ --pvt-navbar-width-condense: 36rem;
12
12
 
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  padding: 0rem;
16
16
  margin: 0rem;
17
- width: 100vw;
18
- height: 100vh;
17
+ width: var(--rls-html-max-width);
18
+ height: var(--rls-html-max-height);
19
19
  overflow: hidden;
20
20
  z-index: var(--rls-z-index-8);
21
21
 
@@ -24,7 +24,7 @@
24
24
  }
25
25
 
26
26
  &--navbar-condense {
27
- --pvt-navbar-width: 36rem;
27
+ --pvt-navbar-width: var(--pvt-navbar-width-condense);
28
28
  }
29
29
  }
30
30
 
@@ -41,14 +41,14 @@
41
41
 
42
42
  & + .rls-app__page,
43
43
  & + .rls-app__content {
44
- height: calc(100vh - var(--pvt-header-height));
44
+ height: calc(var(--rls-html-max-height) - var(--pvt-header-height));
45
45
  }
46
46
  }
47
47
 
48
48
  &__content {
49
49
  position: relative;
50
50
  width: 100%;
51
- height: 100vh;
51
+ height: var(--rls-html-max-height);
52
52
  margin: 0rem;
53
53
  padding: 0rem;
54
54
  overflow: auto;
@@ -60,7 +60,7 @@
60
60
  position: relative;
61
61
  display: flex;
62
62
  width: 100%;
63
- height: 100vh;
63
+ height: var(--rls-html-max-height);
64
64
  margin: 0rem;
65
65
  padding: 0rem;
66
66
  overflow: hidden;
@@ -72,7 +72,7 @@
72
72
  height: 100%;
73
73
  margin: 0rem;
74
74
  padding: 0rem;
75
- transition: width 240ms var(--rls-acceleration-curve);
75
+ transition: width 280ms var(--rls-acceleration-curve);
76
76
 
77
77
  & + .rls-app__page__content {
78
78
  --rlc-snackbar-left: calc(50% + calc(var(--pvt-navbar-width) / 2));
@@ -106,27 +106,34 @@
106
106
  }
107
107
  }
108
108
 
109
- @media screen and (max-width: 560px) {
109
+ @media screen and (max-width: 640px) {
110
110
  .rls-app {
111
111
  &__body {
112
- --pvt-navbar-width: 0rem;
113
- --pvt-navbar-left: -100%;
114
-
115
- &--snackbar {
116
- --rlc-snackbar-left: 50%;
117
- }
112
+ --pvt-navbar-width: 140rem;
113
+ --pvt-navbar-width-condense: 140rem;
114
+ --pvt-section-navbar: 0rem;
118
115
 
119
116
  &--navbar-condense {
120
- --pvt-navbar-width: 0rem;
121
- --pvt-navbar-left: 0%;
117
+ --pvt-section-navbar: 140rem;
122
118
  }
123
119
  }
124
120
 
125
121
  &__page {
126
- &__navbar {
127
- position: absolute;
128
- left: var(--pvt-navbar-left);
129
- transition: left 240ms var(--rls-acceleration-curve);
122
+ width: calc(var(--rls-html-max-width) + var(--pvt-navbar-width));
123
+ left: calc(var(--pvt-section-navbar) * -1);
124
+ transition: left 280ms var(--rls-standard-curve);
125
+ }
126
+ }
127
+ }
128
+
129
+ @media screen and (max-width: 320px) {
130
+ .rls-app {
131
+ &__body {
132
+ --pvt-navbar-width: 120rem;
133
+ --pvt-navbar-width-condense: 120rem;
134
+
135
+ &--navbar-condense {
136
+ --pvt-section-navbar: 120rem;
130
137
  }
131
138
  }
132
139
  }
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;