join/src/app/components/contacts/contacts.component.scss
2024-04-02 15:59:54 +02:00

227 lines
3.4 KiB
SCSS

.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;
}
}
.btn-inside-mobile {
display: none;
}
.left-frame {
position: fixed;
top: 96px;
left: 232px;
bottom: 0;
width: 400px;
background-color: var(--white);
padding-top: 32px;
box-shadow: 2px 0px 2px 0px rgba(0, 0, 0, 0.1);
overflow: auto;
}
.right-frame {
position: fixed;
top: 96px;
left: 632px;
right: 0;
bottom: 0;
padding: 32px;
overflow: auto;
}
.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);
}
}
.contact-active {
color: var(--white);
background-color: var(--dark-blue);
cursor: unset;
&:hover {
background-color: var(--dark-blue);
}
}
.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;
width: 100%;
overflow: hidden;
white-space: nowrap;
display: inline-block;
}
.name {
display: flex;
align-items: center;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
font-size: 20px;
font-weight: 400;
margin-bottom: 6px;
}
.last-name {
overflow: hidden;
text-overflow: ellipsis;
}
.email {
font-size: 16px;
font-weight: 400;
text-decoration: none;
color: var(--light-blue);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/*------------- RESPONSIVE -------------*/
@media screen and (max-width: 1150px) {
.left-frame {
right: 0;
width: auto;
background-color: var(--bgContent);
z-index: 1;
}
.right-frame {
top: 96px;
left: 232px;
bottom: 0;
right: 0;
}
.contact {
&:hover {
background-color: var(--light-gray);
}
}
}
@media screen and (max-width: 910px) {
.left-frame {
left: 0;
bottom: 80px;
padding: 0;
}
.right-frame {
top: 96px;
left: 0;
bottom: 80px;
}
.btn-inside {
display: none;
}
.btn-inside-mobile {
display: block;
}
.btn {
position: fixed;
bottom: 100px;
right: 20px;
justify-content: space-between;
height: 56px;
width: 56px;
border-radius: 100%;
z-index: 1;
cursor: pointer;
img {
padding: 0;
width: 32px;
height: 32px;
}
}
}
@media screen and (max-width: 450px) {
.right-frame {
padding: 16px;
}
.first-letter {
&:first-child {
margin-top: 0;
}
}
.contact {
padding: 16px 0;
}
.first-letter {
padding-left: 16px;
}
}