Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
barbaburns committed Apr 30, 2024
2 parents 7ff9715 + ba9c235 commit a4b0cef
Show file tree
Hide file tree
Showing 12 changed files with 255 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,19 @@ document.addEventListener('DOMContentLoaded', () => {


})

document.addEventListener('DOMContentLoaded', () => {
let newSearchButton = document.getElementById('newSearchButton')

if (newSearchButton) {
newSearchButton.addEventListener('click', (e) => {
e.preventDefault()
let searchField = document.getElementById('searchField')

if (searchField) {
searchField.value = ''
searchField.focus()
}
})
}
})
2 changes: 2 additions & 0 deletions themes/midia-ninja-theme/assets/scss/4-layout/_l-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ header {

.hamburger-lines {
background-image: url($p_theme_assets + "/images/hamburguer-menu.svg");
cursor: pointer;
display: block;
height: 20px;
margin-bottom: 5px;
Expand All @@ -155,6 +156,7 @@ header {
background-color: transparent;
border: none;
top: 24px;
cursor: pointer;
}

.menu-items::-webkit-scrollbar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
position: relative;
left: 0px;

@media (min-width: 600px) and (max-width: 1074px){
flex-basis: 300px !important;
}

@include mixins.small{
height: 230px;
position: relative;
Expand All @@ -80,6 +84,10 @@
margin-left: 143px;
text-transform: uppercase;

@media (min-width: 600px) and (max-width: 1074px){
margin-left: 20px;
}

@include mixins.small{
margin-left: 35px;
}
Expand All @@ -103,6 +111,10 @@
margin-top: 8px;
margin-bottom: 8px;

@media (min-width: 600px) and (max-width: 1074px){
font-size: 32px;
}

@include mixins.small{
font-size: 32px;
}
Expand Down Expand Up @@ -324,7 +336,7 @@
}

h2{
color: var(--Gray-1, #333);
color: var(--wp--preset--color--low-pure);
font-family: var(--wp--preset--font-family--manrope);
font-size: var(--wp--preset--font-size--medium);
font-style: normal;
Expand Down Expand Up @@ -358,6 +370,11 @@
position: absolute;
top: 54px;
right: 290px;

@media (min-width: 600px) and (max-width: 1074px){
top: 24px;
right: 76px;
}
}
}

Expand All @@ -370,7 +387,7 @@
gap: 20px;

@media (min-width: 600px) and (max-width: 1074px){
grid-template-columns: 1fr 1fr 1fr;
grid-template-columns: 1fr 1fr ;
gap: 0;
justify-items: center;
}
Expand Down Expand Up @@ -495,7 +512,7 @@
font-weight: 800;
line-height: 125%;
letter-spacing: -0.24px;
margin-top: 3px;
margin-top: 8px;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@
margin-top: 0;

li {
color: var(--cat-backgound-color) !important;
color: var(--cat-background-color) !important;
font-family: var(
--wp--preset--font-family--manrope
);
Expand Down
12 changes: 12 additions & 0 deletions themes/midia-ninja-theme/assets/scss/6-pages/_p-page-galeria.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@
}
}
}
.latest-vertical-posts-block__footer{
.latest-vertical-posts-block__dots{
.slick-dots{
.slick-active{
background-color: #000;
}
.presentation{
background-color: #848484;
}
}
}
}
}
}
}
153 changes: 102 additions & 51 deletions themes/midia-ninja-theme/assets/scss/6-pages/_p-page-opinioes.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
@import "./../1-settings/s-variables";
@import "./../2-atoms/a-mixins";

.page-template-page-opiniao{
.page-opinioes{
#app{
background-color: var(--wp--preset--color--secondary-light);

a{
text-decoration: none;
}

.wp-block-columns:nth-of-type(2){
margin-bottom: 0;
.wp-block-columns{
@media(max-width: 992px){
display: block;
}
}

.opiniao-header {
.opiniao-header{
margin-top: 36px;
color: #fff;
gap: 16px;
Expand All @@ -24,8 +26,8 @@
}

@media (min-width: 992px) {
padding: 40px 100px;
gap: 130px;
padding: 40px 60px 0 80px;
gap: 100px;
}

> div {
Expand All @@ -48,35 +50,6 @@
}
}

.wp-block-column:nth-child(2) {
.entry-title {
font-size: 14px;
line-height: 20px; /* 142.857% */
letter-spacing: -0.42px;
margin-bottom: 0;
}

.entry-meta {
> a {
display: none;
}

.byline {
margin: 0;
}
}

.latest-vertical-posts-block.colunas {
padding: 0;
margin: 0;

.post {
border-bottom: 1px solid #fff;
padding-bottom: 30px;
}
}
}

.article-section-title {
color: white;
font-family: "Archivo Expanded", sans-serif;
Expand Down Expand Up @@ -136,30 +109,108 @@
.author-prefix {
display: none;
}


}
}
.latest-grid-posts-block{
.post{
display: flex;
max-width: 370px;
width: 100%;
gap: 30px;
align-items: center;
.post-thumbnail{
width: 70px;
height: 70px;
background-color: #f5f5f5;
.latest-vertical-posts-block{
background-color: #000;
border: none;
padding-top: 0;
a, h2, p{
color:#fff;
}
.slide{
a{
border-bottom: 1px solid #fff;
padding-bottom: 2rem;
}

}
.post-content{
max-width: 270px;
.post{
.post-title{

font-size: 20px;
line-height: 130%;
}
.post-author{
color: #FFF;
font-family: 'Manrope', serif;
font-size: 12px;
font-weight: 400;
line-height: 21px;
letter-spacing: 1.2px;
text-transform: uppercase;
:first-child{
display: none;
}
}


}
.latest-vertical-posts-block__footer{
display: none;
}
}
}

.wp-block-columns:nth-of-type(2){
margin-bottom: 0;
.latest-grid-posts-block{
.post{
display: flex;
max-width: 370px;
width: 100%;
gap: 30px;
align-items: center;
.post-thumbnail{
width: 70px;
height: 70px;
background-color: #f5f5f5;
img{
width: 70px;
height: 70px;
position: relative;
border-radius: 50px;
}
}
.post-content{
max-width: 270px;
.post-title{
font-weight: 700;
font-size: 20px;
}
.post-meta--author{
text-transform: uppercase;
color: var(--wp--preset--color--primary-light);
}

}
}
}
.latest-vertical-posts-block{
.post{
font-family: 'Manrope', serif;
color: var(--wp--preset--color--low-pure);
.post-title{
font-size: 1rem;
font-weight: 500;
line-height: 140%;
margin-bottom: 0;
}
.post-author{
font-size: 10px;
font-weight: 400;
line-height: 21px;
letter-spacing: 1px;
text-transform: uppercase;
:first-child{
display: none;
}
}

}
}
}


.wp-block-group {
position: relative;
display: flex;
Expand Down
Loading

0 comments on commit a4b0cef

Please sign in to comment.