Skip to content

Commit

Permalink
Revert "146 bug05 modo dark mode na tela de admin"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jauzimm authored Jan 25, 2025
1 parent 8d45a6b commit d077cb8
Show file tree
Hide file tree
Showing 11 changed files with 111 additions and 53 deletions.
22 changes: 22 additions & 0 deletions src/app/pages/category-table/category-table.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,28 @@
max-height: 200vh;
}

aside {
width: 13.2em;
background-color: white;
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0,0,0,0.1);
text-align: left;
position: fixed;
height: 100%;
}

.informacoesUsuario p {
margin: 0;
font-size: 1.2em;
}

.linksBarraLateral {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0.75em 0 0.75em 0;
}

.linkLogout, .linkVoltar {
color: #0087c8;
text-decoration: none;
Expand Down
3 changes: 1 addition & 2 deletions src/app/pages/category-table/category-table.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="containerPrincipal">
<!--Aside do Dados - Categorias-->
<aside class="aside">
<aside>
<div class="informacoesUsuario">
<p>Olá, Admin!</p>
<div class="linksBarraLateral">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,29 @@
display: flex;
}


aside {
width: 13.2em;
background-color: white;
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0, 0, 0, 0.1);
text-align: left;
position: fixed;
height: 100%;
margin: 0;
}

.user-info p {
margin: 0;
font-size: 1.2em;
}

.linksBarraLateral {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0.75em 0;
}

.linkLogout,
.linkVoltar {
color: #0087c8;
Expand Down Expand Up @@ -38,7 +54,7 @@ nav ul li {

nav ul li a {
text-decoration: none;
color: var(--text);
color: #1d1d1d;
font-size: 1.1em;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="home-container">
<!--Aside do Dados - Administração de Usuários-->
<aside class="aside">
<aside>
<div class="user-info">
<p>Olá, Admin!</p>
<div class="linksBarraLateral">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,29 @@
flex-direction: column;
}

aside {
width: 13.2em;
background-color: white;
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0,0,0,0.1);
text-align: left;
position: fixed;
height: 100%;
margin: 0;
}

.informacoesUsuario p {
margin: 0;
font-size: 1.2em;
}

.linksBarraLateral {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0.75em 0;
}

.linkLogout, .linkVoltar {
color: #0087c8;
text-decoration: none;
Expand All @@ -45,7 +68,7 @@ nav ul li {

nav ul li a {
text-decoration: none;
color: var(--text);
color: #1d1d1d;
font-size: 1.1em;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="containerPrincipal">
<!--Aside do Dashboard - Categorias-->
<aside class="aside">
<aside>
<div class="informacoesUsuario">
<p>Olá, Admin!</p>
<div class="linksBarraLateral">
Expand Down
19 changes: 18 additions & 1 deletion src/app/pages/home-admin/home-admin.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
max-height: 200vh;
}

.linksBarraLateral {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0.75em 0;
}

@font-face {
font-family: 'Helvetic';
src: url('../../../assets/fonts/Helvetica.ttf') format('truetype');
Expand All @@ -15,6 +22,16 @@
font-family: Helvetic, sans-serif;
}

aside {
width: 13.2em;
background-color: white;
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0,0,0,0.1);
text-align: left;
position: fixed;
height: 100%;
}

header h1 {
font-size: 2.4em;
color: #00a550;
Expand Down Expand Up @@ -47,7 +64,7 @@ nav ul li {

nav ul li a {
text-decoration: none;
color: var(--text);
color: #1d1d1d;
font-size: 1.1em;
}

Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/home-admin/home-admin.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="home-container">
<aside class="aside">
<aside>
<div class="user-info">
<p>Olá, Admin!</p>
<div class="linksBarraLateral">
Expand Down
25 changes: 24 additions & 1 deletion src/app/pages/video-views/video-views.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ html, body {
flex-direction: column;
}

aside {
width: 13.2em;
background-color: white;
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0,0,0,0.1);
text-align: left;
position: fixed;
height: 100%;
margin: 0;
}

.informacoesUsuario p {
margin: 0;
font-size: 1.2em;
}

.linksBarraLateral {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0.75em 0;
}

.linkLogout, .linkVoltar {
color: #0087c8;
text-decoration: none;
Expand All @@ -48,7 +71,7 @@ nav ul li {

nav ul li a {
text-decoration: none;
color: var(--text);
color: #1d1d1d;
font-size: 1.1em;
}

Expand Down
3 changes: 1 addition & 2 deletions src/app/pages/video-views/video-views.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div class="containerPrincipal">
<!-- aside do "Dados -Videos"-->
<aside class="aside">
<aside>
<div class="informacoesUsuario">
<p>Olá, Admin!</p>
<div class="linksBarraLateral">
Expand Down
39 changes: 0 additions & 39 deletions src/assets/theme/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,45 +28,6 @@
--footer-text: #cccccc;
}

/*Estilo da barra aside na tela admin*/
aside {
width: 13.2em;
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0,0,0,0.1);
text-align: left;
position: fixed;
height: 100%;
margin: 0;
background-color: var(--body)
}

.informacoesUsuario p {
margin: 0;
font-size: 1.2em;
}

.linksBarraLateral {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0.75em 0;
}

.aside {
width: 13.2em;
background-color: var(--body);
color: var(--text);
padding: 1em 0.75em;
box-shadow: 0.125em 0 0.3125em rgba(0, 0, 0, 0.1);
text-align: left;
position: fixed;
height: 100%;
margin: 0;
}
.dark-theme .aside {
color: var(--text-color);
}

/* Estilos comuns */
body {
background-color: var(--body);
Expand Down

0 comments on commit d077cb8

Please sign in to comment.