163 lines
3.8 KiB
SCSS
163 lines
3.8 KiB
SCSS
.cn-entities {
|
|
display: grid;
|
|
grid-template-rows: 40px auto;
|
|
grid-template-columns: 250px auto;
|
|
grid-gap: 10px 20px;
|
|
padding: 10px;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
.entity-list {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
|
|
.entity-list__content {
|
|
/* display: grid;
|
|
grid-template-columns: repeat(auto-fill, var(--entity-width));
|
|
grid-auto-flow: row;
|
|
grid-auto-rows: var(--entity-height);*/
|
|
/* grid-gap: 10px;*/
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
display: -webkit-flex;
|
|
justify-content: space-between;
|
|
border-radius: 2px;
|
|
height: calc(100% - 67px);
|
|
margin: 10px 0 0 10px;
|
|
width: calc(100% - 10px);
|
|
overflow: hidden auto;
|
|
|
|
.cn-entity:hover{
|
|
box-shadow: 0 0 10px #ccc;
|
|
.content__title{
|
|
color: #ffffff !important;
|
|
}
|
|
.cn-entity__header{
|
|
background: #8FA1BE;
|
|
}
|
|
.header__icon{
|
|
background: #8FA1BE;
|
|
border: 2px solid #FFFFFF;
|
|
}
|
|
}
|
|
.cn-entity {
|
|
box-sizing: border-box;
|
|
margin: 0 10px 30px;
|
|
width: 240px;
|
|
height: 315px;
|
|
background: #FFFFFF;
|
|
border-radius: 2px;
|
|
transition: all .2s;
|
|
|
|
&:hover .cn-entity__header .header__content {
|
|
color: white;
|
|
}
|
|
.cn-entity__header {
|
|
position: relative;
|
|
background-color: #E1E6ED;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
width: 240px;
|
|
height: 96.61px;
|
|
box-sizing: border-box;
|
|
transition: all .2s;
|
|
|
|
.header__icon {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
bottom: -26px;
|
|
right: 102px;
|
|
display: flex;
|
|
justify-content: center;
|
|
justify-items: center;
|
|
align-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
background: #B8C1D1;
|
|
border: 2px solid #FFFFFF;
|
|
|
|
i {
|
|
font-size: 20px;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
.header__content {
|
|
font-size: 20px;
|
|
color: #828790;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
.cn-entity__body {
|
|
overflow: hidden;
|
|
padding-top:65px;
|
|
font-size: 14px;
|
|
.body__row {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 20px;
|
|
border-bottom: 1px solid #EFF2F5;
|
|
color: #666666;
|
|
padding: 7px 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.body__row-label {
|
|
padding-right: 10px;
|
|
color: #999999;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
white-space: nowrap;
|
|
|
|
}
|
|
.body__row-value {
|
|
width: calc(100% - 69px);
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
font-weight: 400;
|
|
}
|
|
.body__detail {
|
|
padding: 9px 0 0 156px;
|
|
cursor: pointer;
|
|
font-family: Roboto-Regular;
|
|
font-size: 14px;
|
|
color: #8FA1BE;
|
|
font-weight: 400;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.entity-list__pagination {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-end;
|
|
margin-top: 23px;
|
|
|
|
.el-pager {
|
|
.btn-quicknext + li {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.ip-green {
|
|
color: #23BF9A;
|
|
}
|
|
.domain-blue {
|
|
color: #0290FF;
|
|
}
|
|
.app-orange {
|
|
color: #FFA200;
|
|
}
|