Skip to content

Commit

Permalink
Merge branch 'main' into feat/responsive-agenda
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe authored Sep 25, 2024
2 parents f729063 + bc80aba commit 65a055d
Show file tree
Hide file tree
Showing 33 changed files with 2,008 additions and 715 deletions.
16 changes: 8 additions & 8 deletions assets/css/aboutus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
}

.lighter-banner{
.lighter-banner {
display: flex;
flex-direction: column;
text-align: center;
Expand All @@ -18,10 +18,10 @@
background-blend-mode: multiply;

.banner-img {
z-index: -1;
position: absolute;
width: 100vw;
height: 260px;
z-index: -1;
position: absolute;
width: 100vw;
height: 260px;
}

}
Expand Down Expand Up @@ -64,7 +64,7 @@
}

.know-content {
width: 100vw;
width: 100vw;
padding: 0px 20px;
margin-top: 40px;
}
Expand Down Expand Up @@ -221,7 +221,7 @@
}

img {
order: 2;
order: 2;
width: 100%;
}

Expand Down Expand Up @@ -251,4 +251,4 @@
height: 100%;
z-index: -1;
}
}
}
5 changes: 5 additions & 0 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ body {
font-size: 62.5%;
font-weight: 400;
position: relative;
overflow-x: hidden;
}

.grid {
Expand Down Expand Up @@ -173,11 +174,15 @@ footer {
// Sem autenticação
@import "./pages/login.scss";
@import "./aboutus.scss";
@import "./noticias.scss";
@import "./cooperativas.scss";

@import "./agenda.scss";
@import "./contact.scss";
@import "./article.scss";
@import "./boletins.scss";
@import "./noticias.scss";
@import "./cards.scss";

// Com autenticação
@import "./pages/app/researcher/profile.scss";
Expand Down
38 changes: 24 additions & 14 deletions assets/css/boletins.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
.boletim-wrapper {
.links-item {
width: 15.5rem;
.card-links{
border-radius: none;

.card-item {
width: 16.5rem;
}
}
}

@media (min-width: 530px) and (max-width: 770px){

.boletim-wrapper {
.links-item {
@apply flex flex-col justify-start items-start m-8;
width: 60%;
height: 16rem;
.card-links{
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
.card-item {
@apply flex flex-col justify-start items-start m-8;
width: 50%;
height: 16rem;
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
}
}
}
}
@media (min-width: 350px) and (max-width: 529px){

.boletim-wrapper {
.links-item {
@apply flex flex-col justify-start items-start m-8;
width: 70%;
height: 13rem;
.card-links{
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
.card-item {
@apply flex flex-col justify-start items-start m-8;
width: 70%;
height: 15rem;
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);
}
}
}
}
77 changes: 77 additions & 0 deletions assets/css/cards.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.card-links {
@apply flex flex-wrap justify-center;


.card-item {
@apply flex flex-col justify-start items-start m-8;
width: 20.125rem;
height: 20.875rem;
border-radius: 8px;
box-sizing: border-box;
background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, #101010 100%);

a {
@apply flex flex-col mt-auto;
}

img {
@apply absolute;
z-index: -10;
height: inherit;
width: inherit;
}

h3 {
padding-left: 1rem;
}

p {
text-wrap: wrap;
margin-top: 0.5rem;
padding: 0 1rem 1.5rem 1rem;
}

button {
width: 100%;
padding: 0 1rem 1.5rem 0;
background-color: transparent;

p {
display: inline-flex;
width: inherit;

&:hover {
text-decoration: underline;
}
}
}
}
}

@media (max-width: 768px) and (min-width: 577px){
.card-links{
.card-item{
width: 70%;
height: 16rem;

img{
border-radius: 8px;
}
}
}

}

@media (min-width: 350px) and (max-width: 576px){
.card-links{
.card-item{
width: 80%;
height: 14rem;

img{
border-radius: 8px;
}
}
}

}
49 changes: 49 additions & 0 deletions assets/css/contact.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,38 @@
display: flex;
align-items: center;
justify-content: center;
max-width: 100vw;
margin-bottom: 40px;
padding: 80px 120px;

.contact-message {
display: flex;
flex-direction: column;
justify-content: center;
width: 50%;

h2 {
margin-bottom: 20px;
}

.text-black-80 {
margin-bottom: 20px;
}

.return-button {
display: flex;
align-items: center;
justify-content: center;
background: #0064C8;
border-radius: 4px;
gap: 8px;
padding: 16px 24px;
width: 267px;
cursor: pointer;
}

}

.contact-form {
width: 50%;
.form-inputs {
Expand Down Expand Up @@ -51,4 +80,24 @@
}
}
}
}

@media (min-width: 769px) and (max-width: 1024px) {
.contact-area {
margin: 20px 40px;
}
}

@media (min-width: 360px) and (max-width: 768px) {
.contact-area {
display: flex;
padding: 10px 5px;
flex-direction: column;
text-align: center;
gap: 40px;

.contact-message {
align-items: center;
}
}
}
87 changes: 87 additions & 0 deletions assets/css/cooperativas.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
.cooperativas-wrapper {
@apply flex flex-col;

.cooperativas-container {
@apply flex flex-col;
gap: 5rem;
margin-bottom: 5rem;

.header {
@apply relative;

.header-content {
img {
width: 100%;
height: auto;
}

h2 {
@apply absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
}
}

.block {
@apply flex flex-row;
gap: 3.5rem;
margin: 0 2.5rem 0 2.5rem;

.block-content {
@apply flex flex-col;
gap: 2.5rem;
width: 50%;
}

img {
width: 50%;
}
}
}
}

@media (max-width: 768px) {
.cooperativas-wrapper {
.cooperativas-container {
@apply flex flex-wrap;
gap: 4rem;

.header {
height: 16.25rem;

.header-content {
img {
height: 16.25rem;
object-fit: none;
}
}
}

.block {
@apply flex-wrap;
gap: 4rem;
margin: 0 1rem 0 1rem;

.block-content {
width: 100%;

h1 {
font-size: 2rem;
}
}

img {
width: 100%;
border-radius: 0.5rem;
}

&:nth-child(3) {
@apply flex flex-col-reverse;
}
}
}
}
}
Loading

0 comments on commit 65a055d

Please sign in to comment.