306 lines
5.7 KiB
SCSS
306 lines
5.7 KiB
SCSS
$desktop-l-width: 1440px;
|
|
$tablet-l-width: 1024px;
|
|
$tablet-s-width: 768px;
|
|
$mob-l-width: 640px;
|
|
$login-max-height: 800px;
|
|
// 태블릿
|
|
|
|
@mixin tab {
|
|
@media screen and (max-width: #{$tablet-l-width}) {
|
|
@content;
|
|
}
|
|
}
|
|
|
|
@mixin ellipsis($row) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
@if $row == 1 {
|
|
display: block;
|
|
white-space: nowrap;
|
|
word-wrap: normal;
|
|
} @else if $row >= 2 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: $row;
|
|
-webkit-box-orient: vertical;
|
|
word-wrap: break-word;
|
|
}
|
|
}
|
|
.mat-card-header-text {
|
|
.mat-card-subtitle {
|
|
color: rgb(256, 256, 256, 0.7) !important;
|
|
}
|
|
}
|
|
|
|
.mat-card.profile {
|
|
display: flex;
|
|
min-width: 600px;
|
|
flex-flow: row;
|
|
flex: 0 0 auto;
|
|
width: 100%;
|
|
height: 450px;
|
|
position: relative;
|
|
padding: 0;
|
|
.mat-card-header {
|
|
position: relative;
|
|
justify-content: flex-start;
|
|
flex-flow: column;
|
|
width: 40%;
|
|
height: 100%;
|
|
background: #64cddf;
|
|
color: #ffffff;
|
|
padding: 20px;
|
|
|
|
.profile-img {
|
|
position: absolute;
|
|
display: flex;
|
|
flex-flow: row;
|
|
align-items: flex-end;
|
|
top: 20px;
|
|
margin-bottom: 12px;
|
|
|
|
&-mask {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 2px solid #ffffff;
|
|
margin-right: 10px;
|
|
img {
|
|
width: 80px;
|
|
height: auto;
|
|
background-color: #efefef;
|
|
}
|
|
}
|
|
|
|
.work-status {
|
|
display: inline-flex;
|
|
margin-left: 20px;
|
|
height: 24px;
|
|
border: 1px solid #ffffff;
|
|
padding: 4px 14px;
|
|
border-radius: 100px;
|
|
font-size: 13px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #ffffff;
|
|
&.morning-off {
|
|
background-color: #11845d;
|
|
}
|
|
&.afternoon-off {
|
|
background-color: #875acb;
|
|
}
|
|
&.day-off {
|
|
background-color: #2b98eb;
|
|
}
|
|
&.long-time {
|
|
background-color: #c72f20;
|
|
}
|
|
&.leave-of-absence {
|
|
background-color: #e7853e;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mat-card-title {
|
|
display: flex;
|
|
flex-flow: column;
|
|
margin-top: 120px;
|
|
align-items: flex-start;
|
|
height: 80px;
|
|
span {
|
|
@include ellipsis(1);
|
|
&.name {
|
|
font-size: 1.2em;
|
|
line-height: 1.4em;
|
|
}
|
|
&.number {
|
|
font-size: 0.8em;
|
|
}
|
|
}
|
|
}
|
|
.mat-card-subtitle {
|
|
font-size: 1.1em;
|
|
flex-flow: column;
|
|
span {
|
|
@include ellipsis(1);
|
|
font-size: 1em;
|
|
margin-bottom: 8px;
|
|
&.company {
|
|
font-weight: 600;
|
|
font-size: 1.1em;
|
|
}
|
|
}
|
|
}
|
|
.intro {
|
|
@include ellipsis(3);
|
|
}
|
|
.profile-option {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
display: flex;
|
|
flex-flow: row;
|
|
.btn-favorite {
|
|
cursor: pointer;
|
|
.on {
|
|
fill: yellow;
|
|
}
|
|
}
|
|
.btn-groupadd {
|
|
margin-left: 20px;
|
|
cursor: pointer;
|
|
svg {
|
|
display: none;
|
|
&.on {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.profile-edit {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
width: 20px;
|
|
height: 20px;
|
|
svg {
|
|
fill: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
.mat-card-content {
|
|
position: relative;
|
|
width: 60%;
|
|
height: 100%;
|
|
padding-bottom: 10px;
|
|
margin-left: 30px;
|
|
ul {
|
|
display: flex;
|
|
flex-flow: column;
|
|
height: calc(100% - 80px);
|
|
overflow-y: auto;
|
|
li {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 26px;
|
|
align-items: center;
|
|
flex-flow: row;
|
|
margin-bottom: 10px;
|
|
dt {
|
|
width: 100px;
|
|
font-weight: 800;
|
|
@include ellipsis(1);
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
}
|
|
dd {
|
|
margin-right: 20px;
|
|
width: 100%;
|
|
@include ellipsis(1);
|
|
&.phone-number {
|
|
width: calc(100% - 100px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.mat-card-actions {
|
|
position: absolute;
|
|
width: 100%;
|
|
bottom: 0;
|
|
border-top: 1px solid #dddddd;
|
|
padding-top: 14px;
|
|
margin-top: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn-upload-profile-image {
|
|
display: flex;
|
|
margin-left: -26px;
|
|
margin-right: 10px;
|
|
width: 36px;
|
|
height: 36px;
|
|
line-height: 36px;
|
|
font-size: 20px;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
i {
|
|
display: inline-block;
|
|
margin-top: -8px;
|
|
}
|
|
}
|
|
|
|
.btn-elephant {
|
|
position: absolute;
|
|
background-color: #ffffff !important;
|
|
justify-content: center;
|
|
align-items: center;
|
|
left: 60px;
|
|
top: 46px;
|
|
svg {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
&:hover {
|
|
background-color: #98d7e2 !important;
|
|
opacity: 1;
|
|
svg {
|
|
fill: #ffffff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.userInfo-call {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 0 0 26px;
|
|
width: 26x;
|
|
height: 26px;
|
|
line-height: 26px;
|
|
justify-content: center;
|
|
justify-items: center;
|
|
|
|
svg {
|
|
padding: 0;
|
|
margin-top: -4px;
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: #ffffff;
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.button-text-item {
|
|
display: flex;
|
|
button {
|
|
justify-content: center;
|
|
justify-items: center;
|
|
flex-flow: row;
|
|
&.mat-mini-fab {
|
|
position: relative;
|
|
display: flex;
|
|
width: 36px;
|
|
height: 36px;
|
|
flex: 0 0 36px;
|
|
svg {
|
|
padding: 0;
|
|
fill: #ffffff;
|
|
width: 20px;
|
|
height: 20px;
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
.button-text {
|
|
justify-content: center;
|
|
align-self: center;
|
|
margin-left: 4px;
|
|
display: inline-flex;
|
|
@media screen and (max-width: #{$tablet-s-width}) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn-dialog-close {
|
|
margin-left: auto;
|
|
}
|