-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
105 deletions.
There are no files selected for viewing
127 changes: 41 additions & 86 deletions
127
fe-piattaforma/src/components/DetailsRow/detailsRow.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,111 +1,66 @@ | ||
.details-row-table { | ||
display: table-row; | ||
box-shadow: 0 0 40px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.details-table-container { | ||
display: table; | ||
width: 100%; | ||
border-spacing: 0 15px; | ||
border-collapse: separate; | ||
border-spacing: 20px; | ||
} | ||
|
||
.button-hidden { | ||
opacity: 0; | ||
pointer-events: none; | ||
.details-row-table { | ||
box-shadow: 0 0 40px rgba(0, 0, 0, 0.1); | ||
|
||
} | ||
|
||
.details-row__info { | ||
padding: 50px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.button-icon { | ||
padding: 0 !important; | ||
} | ||
|
||
.details-row { | ||
display: grid; | ||
grid-template-columns: 1fr 2fr 1fr; | ||
grid-column-gap: rem(10px); | ||
box-shadow: 0 0 40px rgba(0, 0, 0, 0.1); | ||
margin-bottom: rem(13px); | ||
padding: rem(33px 25px); | ||
.content-info { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
@media screen and (max-width: 576px) { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 15px; | ||
} | ||
.hidden { | ||
visibility: hidden; | ||
} | ||
|
||
@media screen and (min-width: 577px) and (max-width: 992px) { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
flex-wrap: wrap; | ||
.icons { | ||
&__icon-visible-password { | ||
object-fit: contain; | ||
} | ||
} | ||
|
||
&__name { | ||
display: flex; | ||
align-items: flex-start; | ||
|
||
h2 { | ||
width: 130px; | ||
} | ||
@media (max-width: 768px) { | ||
.details-row__info { | ||
text-align: center; | ||
padding: 10px; | ||
width: 100%; | ||
} | ||
|
||
&__info { | ||
display: table-cell; | ||
padding: 50px; | ||
|
||
div { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
div > span { | ||
@media screen and (max-width: 992px) { | ||
min-width: 80px; | ||
} | ||
} | ||
.content-info { | ||
width: 100%; | ||
box-sizing: border-box; | ||
} | ||
|
||
&__left-section { | ||
grid-area: 1 / 1 / 2 / 4; | ||
display: flex; | ||
flex-wrap: nowrap; | ||
gap: rem(10px); | ||
.details-row-table, .details-row__info, .details-row__right, .details-row-icon { | ||
display: block; | ||
width: 100%; | ||
margin-bottom: 20px; | ||
box-sizing: border-box; | ||
} | ||
|
||
&__right-section { | ||
display: flex; | ||
align-items: center; | ||
|
||
.icon-button-relative { | ||
margin-left: auto; | ||
display: flex; | ||
|
||
.icon-container { | ||
position: relative; | ||
right: 80px; | ||
bottom: 2px; | ||
} | ||
} | ||
|
||
.light-grey-bg { | ||
background-color: color('grey-080'); | ||
justify-content: center; | ||
} | ||
|
||
span { | ||
letter-spacing: rem(1px); | ||
} | ||
|
||
& > div { | ||
display: flex; | ||
align-items: center; | ||
} | ||
.details-row-table:last-child, | ||
.details-row__info:last-child, | ||
.details-row__right:last-child, | ||
.details-row-icon:last-child { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
|
||
.icons { | ||
&__icon-visible-password { | ||
object-fit: contain; | ||
.hidden { | ||
display: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters