This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/assets/css/components/page/notebook/notebook.scss

154 lines
3.6 KiB
SCSS
Raw Normal View History

.notebook{
.nz-detail-view-left{
.author-avatar{
width: 20px;
height: 20px;
display: inline-block;
text-align: center;
line-height: 20px;
background: rgba(60,146,241,0.1);
font-size: 12px;
color: #3C92F1;
letter-spacing: 0;
font-weight: 500;
text-transform: capitalize;
border-radius: 100%;
}
.alert-label-header-circle{
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
background: #ECF5FE !important;
font-size: 12px;
color: #3C92F1;
}
.alert-label-box{
.alert-label-title{
min-width: 140px;
}
}
}
.notebook-detail{
.sub-container>.nz-table-list{
height: 100%;
padding: 0 !important;
}
.top-tool-right{
.nz-btn-size-normal{
height: 32px;
line-height: 32px;
margin-right: 10px;
}
}
.notebook-scrollWrap{
width: 100%;
height: 100%;
overflow: hidden scroll;
position: relative;
}
.notebook-content{
width: 100%;
max-width: 1200px;
margin: auto;
&>:not(.notebook-list){
width: calc(100% - 40px);
margin-left: 20px;
margin-right: 20px;
}
}
.notebook-title{
box-sizing: border-box;
margin-top: 30px;
padding-bottom: 20px;
font-family: Roboto-Medium;
font-size: 24px;
color: $--color-text-primary;
letter-spacing: 0;
font-weight: 500;
line-height: 28px;
border-bottom: 1px solid $--border-color-light;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.notebook-title-input{
box-sizing: border-box;
margin-top: 30px;
.el-input__inner{
height: 46px;
font-family: Roboto-Medium;
font-size: 24px;
color: $--color-text-primary;
letter-spacing: 0;
font-weight: 500;
line-height: 46px;
}
}
.notebook-list{
height: auto;
.panel-chart.my-loading-parent--relative{
height: 100% !important;
}
.no-data{
text-align: center;
position: absolute;
left: 0;
right: 0;
top: 50%;
margin-top: -54px;
.no-data-div {
color: $--color-text-regular;
}
}
}
.notebook-add{
padding-bottom: 60px;
.notebook-add-title{
margin-bottom: 10px;
font-family: Roboto-Regular;
font-size: 14px;
color: $--color-text-primary;
font-weight: 400;
}
.notebook-add-list{
display: grid;
grid-gap:10px;
grid-template-columns:repeat(auto-fill, minmax(172px, 1fr));
}
.notebook-add-item{
min-width: 172px;
height: 62px;
border: 1px solid $--border-color-light;
border-radius: 4px;
padding: 0 20px;
box-sizing: border-box;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
&:hover{
background: #FFFBF5;
border: 1px solid rgba(250,144,28,0.49);
box-shadow: 0px 1px 4px 0px rgba(250,144,28,0.13);
}
.notebook-chart-icon{
width: 24px;
margin-right: 12px;
}
span{
font-size: 14px;
color: $--color-text-primary;
}
}
.notebook-add-show{
font-family: Roboto-Regular;
font-size: 14px;
color: #FA901C;
font-weight: 400;
margin-top: 16px;
cursor: pointer;
}
}
}
}