117 lines
2.3 KiB
SCSS
Raw Normal View History

2019-11-13 17:46:25 +09:00
@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;
}
}
2019-11-29 18:24:51 +09:00
::ng-deep .mat-card-header-text {
width: 100%;
.mat-card-subtitle {
2019-11-13 17:46:25 +09:00
color: rgb(256, 256, 256, 0.7) !important;
2019-11-29 18:24:51 +09:00
text-align: center;
margin-top: 10px !important;
2019-11-13 17:46:25 +09:00
}
}
2019-11-08 13:35:39 +09:00
.example-card {
width: 400px;
2019-11-13 17:46:25 +09:00
padding: 0 0 20px;
position: relative;
2019-11-29 18:24:51 +09:00
.mat-card-header {
2019-11-13 17:46:25 +09:00
justify-content: center;
padding-bottom: 40px;
2019-11-22 17:35:00 +09:00
background: #76d9c5;
/*background: linear-gradient(to right, #345385, #ef4c73);*/
2019-11-13 17:46:25 +09:00
color: #ffffff;
padding-top: 20px;
2019-11-29 18:24:51 +09:00
width: 100%;
.mat-card-title {
2019-11-13 17:46:25 +09:00
margin-bottom: 12px;
max-width: 100%;
justify-content: center;
display: flex;
2019-11-29 18:24:51 +09:00
margin: 0 20px;
span {
2019-11-13 17:46:25 +09:00
@include ellipsis(1);
}
}
}
2019-11-29 18:24:51 +09:00
.mat-card-content {
margin-top: -40px;
.profile-img {
display: flex;
height: 80px;
2019-11-13 17:46:25 +09:00
justify-content: center;
2019-11-29 18:24:51 +09:00
margin-bottom: 20px;
img {
2019-11-13 17:46:25 +09:00
widows: 80px;
height: 80px;
border-radius: 50%;
2019-11-29 18:24:51 +09:00
background-color: #efefef;
border: 2px solid #ffffff;
}
.upload-profile-image-spinner {
position: absolute;
top: 90px;
left: 160px;
}
.upload-profile-image-btn {
position: absolute;
top: 140px;
left: 210px;
2019-11-13 17:46:25 +09:00
}
}
2019-11-29 18:24:51 +09:00
.profile-option {
display: flex;
padding: 0 20px;
color: #ffffff;
2019-11-13 17:46:25 +09:00
margin-top: -100px;
height: 120px;
2019-11-29 18:24:51 +09:00
.btn-favorite {
2019-11-13 17:46:25 +09:00
cursor: pointer;
2019-11-29 18:24:51 +09:00
.on {
fill: yellow;
2019-11-13 17:46:25 +09:00
}
}
2019-11-29 18:24:51 +09:00
.btn-groupadd {
margin-left: auto;
2019-11-13 17:46:25 +09:00
cursor: pointer;
2019-11-29 18:24:51 +09:00
svg {
display: none;
&.on {
display: block;
2019-11-13 17:46:25 +09:00
}
}
}
}
2019-11-29 18:24:51 +09:00
ul {
padding: 0 20px;
display: flex;
2019-11-13 17:46:25 +09:00
flex-flow: column;
2019-11-29 18:24:51 +09:00
margin-top: -20px;
li {
display: inline-flex;
height: 30px;
2019-11-13 17:46:25 +09:00
align-items: center;
2019-11-29 18:24:51 +09:00
flex-flow: row;
margin-bottom: 20px;
2019-11-13 17:46:25 +09:00
2019-11-29 18:24:51 +09:00
svg {
margin-right: 10px;
color: #777777;
2019-11-13 17:46:25 +09:00
}
}
}
}
2019-11-08 13:35:39 +09:00
}