diff --git a/assets/css/mconta.css b/assets/css/mconta.css index 09050dd..5558363 100644 --- a/assets/css/mconta.css +++ b/assets/css/mconta.css @@ -2,6 +2,13 @@ padding: 10px; text-align: center; } + .formas-de-pagamento{ - border: 1px solid black; + padding: 15px; + border-radius: 10px; +} +.formas-de-pagamento:hover{ + background-color: #46aa2e; + color: white; + transition: all 1s; } \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js index 3291387..dd877fa 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -8,6 +8,7 @@ const linkMenuLateral = document.querySelectorAll(".link-menu-lateral") const Main = document.querySelector('.main') const planosLink = document.querySelectorAll(".link-planos-lista") const textoConteudo = document.querySelectorAll(".texto-conteudo") +const cursoBasicoNomeHtml = document.querySelectorAll('.curso-basico-nome-html') temaEscuro.onclick = function(){ @@ -16,7 +17,6 @@ temaEscuro.onclick = function(){ document.body.style.backgroundColor = "#282c27" temaEscuro.textContent = "Tema Claro" menuListaItem[0].style.backgroundColor = "#282c27" - menuListaItem[0].style.color = "#FFFFFF" menuListaItem[1].style.backgroundColor = "#282c27" menuListaItem[2].style.backgroundColor = "#282c27" input.style.backgroundColor = "#282c27" @@ -30,6 +30,9 @@ temaEscuro.onclick = function(){ Main.style.color = "#FFFFFF" + cursoBasicoNomeHtml[0].style.color = "FFFFFF" + + diff --git a/assets/js/mconta.js b/assets/js/mconta.js new file mode 100644 index 0000000..3269396 --- /dev/null +++ b/assets/js/mconta.js @@ -0,0 +1,38 @@ +const temaEscuro = document.querySelector(".tema-escuro") +const input = document.querySelector(".input-pesquisa") +const usuario = document.querySelector(".usuario") +const Main = document.querySelector('.main') + + + + + + + + + +temaEscuro.onclick = function(){ + + if (temaEscuro.textContent == "Tema Escuro"){ + document.body.style.backgroundColor = "#282c27" + temaEscuro.textContent = "Tema Claro" + input.style.backgroundColor = "#282c27" + input.style.color = "#FFFFFF" + usuario.style.backgroundColor = "#282c27" + usuario.style.color = "#FFFFFF" + Main.style.color = "#FFFFFF" + + } else { + document.body.style.backgroundColor = "#e8f8e6" + temaEscuro.textContent = "Tema Escuro" + input.style.backgroundColor = "#e8f8e6" + input.style.color = "#000000" + usuario.style.backgroundColor = "#e8f8e6" + usuario.style.color = "#000000" + Main.style.color = "#000000" + + + + } +} +console.log(temaEscuro) diff --git a/assets/js/mcursos.js b/assets/js/mcursos.js new file mode 100644 index 0000000..3269396 --- /dev/null +++ b/assets/js/mcursos.js @@ -0,0 +1,38 @@ +const temaEscuro = document.querySelector(".tema-escuro") +const input = document.querySelector(".input-pesquisa") +const usuario = document.querySelector(".usuario") +const Main = document.querySelector('.main') + + + + + + + + + +temaEscuro.onclick = function(){ + + if (temaEscuro.textContent == "Tema Escuro"){ + document.body.style.backgroundColor = "#282c27" + temaEscuro.textContent = "Tema Claro" + input.style.backgroundColor = "#282c27" + input.style.color = "#FFFFFF" + usuario.style.backgroundColor = "#282c27" + usuario.style.color = "#FFFFFF" + Main.style.color = "#FFFFFF" + + } else { + document.body.style.backgroundColor = "#e8f8e6" + temaEscuro.textContent = "Tema Escuro" + input.style.backgroundColor = "#e8f8e6" + input.style.color = "#000000" + usuario.style.backgroundColor = "#e8f8e6" + usuario.style.color = "#000000" + Main.style.color = "#000000" + + + + } +} +console.log(temaEscuro) diff --git a/assets/pages/mconta.html b/assets/pages/mconta.html index dd4ea90..81950ee 100644 --- a/assets/pages/mconta.html +++ b/assets/pages/mconta.html @@ -18,9 +18,6 @@ -
Informações de contato: meuEmail@gmail.com
Meus pagamentos