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