rootzz-layout 0.1.6 → 0.1.7

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 (2) hide show
  1. package/dist/styles.css +3 -46
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -61,22 +61,6 @@
61
61
  --rzl-z-drawer: 50;
62
62
  --rzl-z-dropdown: 60;
63
63
 
64
- /* Glow da marca — gradiente decorativo no canto superior esquerdo, atrás de
65
- todo o conteúdo. `--rzl-brand-glow-opacity` controla a intensidade (bem
66
- clara por padrão); zere para desligar. As cores vêm da nova brand Eduzz
67
- (laranja → âmbar → transparente). */
68
- --rzl-brand-glow-opacity: 0.5;
69
- --rzl-brand-glow: radial-gradient(
70
- 115% 115% at 12% 4%,
71
- rgba(255, 106, 0, 0.55) 0%,
72
- rgba(255, 145, 10, 0.45) 18%,
73
- rgba(255, 178, 40, 0.32) 34%,
74
- rgba(255, 205, 110, 0.18) 52%,
75
- rgba(255, 224, 170, 0.08) 68%,
76
- transparent 82%
77
- );
78
- --rzl-brand-glow-size: min(70vw, 900px);
79
-
80
64
  /* Movimento */
81
65
  --rzl-duration: 200ms;
82
66
  /* Troca de tema: o fundo lidera (mais lento) e o texto/borda trocam rápido,
@@ -153,8 +137,6 @@
153
137
 
154
138
  .rootzz-layout {
155
139
  /* Layout do shell: coluna com topbar no topo e (sidebar + conteúdo) abaixo. */
156
- position: relative; /* contexto de empilhamento p/ o glow da marca (::before) */
157
- z-index: 0;
158
140
  display: flex;
159
141
  flex-direction: column;
160
142
  height: 100vh;
@@ -167,25 +149,6 @@
167
149
  -webkit-font-smoothing: subpixel-antialiased;
168
150
  }
169
151
 
170
- /* Glow da marca: camada decorativa no canto superior esquerdo, ATRÁS de todo o
171
- conteúdo (z-index -1, dentro do contexto de empilhamento da .rootzz-layout —
172
- acima do fundo do shell, abaixo de topbar/sidebar/conteúdo). A topbar é opaca
173
- e mascara o ponto mais quente do gradiente; sidebar e conteúdo são
174
- transparentes, então o glow aparece por trás deles. `pointer-events: none`
175
- garante que ele nunca capture cliques. */
176
- .rootzz-layout::before {
177
- content: "";
178
- position: absolute;
179
- top: 0;
180
- left: 0;
181
- z-index: -1;
182
- width: var(--rzl-brand-glow-size);
183
- height: var(--rzl-brand-glow-size);
184
- background: var(--rzl-brand-glow);
185
- opacity: var(--rzl-brand-glow-opacity);
186
- pointer-events: none;
187
- }
188
-
189
152
  /* Resets escopados aos elementos da própria lib (classes `rootzz-*`).
190
153
  Nunca usam seletores de tag globais (`a`, `button`, `img`…), para não
191
154
  vazar no conteúdo do consumidor dentro de `.rootzz-content__inner`. */
@@ -250,9 +213,7 @@ select[class*='rootzz-'] {
250
213
  gap: 0.5rem;
251
214
  height: var(--rzl-topbar-height);
252
215
  padding: 0 0.75rem;
253
- /* Transparente para o glow da marca aparecer por trás da topbar; o fundo
254
- opaco do shell vem de `.rootzz-layout` (var(--rzl-bg)). */
255
- background: transparent;
216
+ background: var(--rzl-surface);
256
217
  border-bottom: 1px solid var(--rzl-border);
257
218
  }
258
219
 
@@ -729,9 +690,7 @@ select[class*='rootzz-'] {
729
690
  flex: 1 1 0%;
730
691
  min-height: 0;
731
692
  overflow-y: auto;
732
- /* Fundo transparente para o glow da marca aparecer por trás; o fundo opaco
733
- vem de `.rootzz-layout` (var(--rzl-bg)). */
734
- background: transparent;
693
+ background: var(--rzl-bg);
735
694
  color: var(--rzl-fg);
736
695
  }
737
696
 
@@ -850,9 +809,7 @@ select[class*='rootzz-'] {
850
809
  height: 100%;
851
810
  min-height: 0;
852
811
  width: 100%;
853
- /* Transparente para o glow da marca aparecer por trás da sidebar estática.
854
- No drawer mobile, o fundo opaco vem do próprio `.rootzz-drawer`. */
855
- background: transparent;
812
+ background: var(--rzl-surface);
856
813
  }
857
814
 
858
815
  .rootzz-nav__header {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rootzz-layout",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Shell de aplicação (Topbar + Sidebar + Content) da Eduzz para React. Leve, sem dependências de runtime e em CSS puro (sem Tailwind no consumidor).",
5
5
  "license": "MIT",
6
6
  "author": "Eduzz",