join/src/app/components/contacts/contacts.component.scss
2024-03-30 13:24:03 +01:00

160 lines
2.5 KiB
SCSS

section {
position: relative;
}
.d-none {
display: none;
}
.btn-inside {
display: flex;
justify-content: center;
align-items: center;
}
.btn {
display: flex;
justify-content: space-around;
align-items: center;
height: 56px;
width: 300px;
padding: 8px 8px 8px 16px;
margin-left: 45px;
border-radius: 10px;
border: 0;
background-color: var(--dark-blue);
color: var(--white);
cursor: pointer;
font-size: 21px;
font-weight: 700;
&:hover {
background-color: var(--light-blue);
box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.3);
}
img {
padding-left: 12px;
}
}
.left-frame {
position: absolute;
top: -64px;
left: -64px;
width: 400px;
min-height: calc(100vh - 128px);
background-color: var(--white);
padding-top: 32px;
box-shadow: 2px 0px 2px 0px rgba(0, 0, 0, 0.1);
}
.content {
display: flex;
flex-direction: column;
padding: 24px;
}
.first-letter {
font-size: 20px;
font-weight: 400;
padding-left: 32px;
margin: 32px 0 12px 0;
}
.line {
width: 100%;
height: 1px;
margin-bottom: 6px;
background-color: var(--light-gray);
}
.contact {
display: flex;
align-items: center;
padding: 16px;
border-radius: 10px;
cursor: pointer;
&:hover {
background-color: var(--very-light-gray);
}
}
.circle {
display: flex;
justify-content: center;
align-items: center;
width: 42px;
min-width: 42px;
height: 42px;
border-radius: 100%;
border: 2px solid var(--white);
.initials {
font-size: 12px;
font-weight: 400;
color: var(--white);
text-shadow: 1px 1px 2px var(--black);
}
}
.details {
margin-left: 24px;
overflow-x: auto;
width: 100%;
}
.name {
display: flex;
align-items: center;
.first-name,
.last-name,
span {
font-size: 20px;
font-weight: 400;
margin-bottom: 6px;
}
}
.email {
font-size: 16px;
font-weight: 400;
text-decoration: none;
color: var(--light-blue);
}
/*------------- RESPONSIVE -------------*/
@media screen and (max-width: 1150px) {
.left-frame {
position: fixed;
top: 96px;
left: 232px;
width: calc(100vw - 232px);
min-height: calc(100vh - 207px);
background-color: var(--bgContent);
}
}
@media screen and (max-width: 910px) {
.left-frame {
position: fixed;
top: 96px;
left: 0px;
width: 100vw;
background-color: var(--bgContent);
}
}
@media screen and (max-width: 450px) {
.left-frame {
padding: 0;
}
.btn {
display: none;
}
.first-letter {
&:first-child {
margin-top: 0;
}
}
}