qcast-front/src/styles/_grid-detail.scss
2024-10-29 15:49:43 +09:00

131 lines
3.2 KiB
SCSS

.q-grid{
position: relative;
.ag-theme-quartz {
outline: none;
border: none;
--ag-border-radius: 0px;
--ag-wrapper-border-radius: 0px;
--ag-header-height: 40px;
--ag-header-foreground-color: white;
--ag-header-background-color: #5D6A76;
--ag-row-hover-color: #ECF0F4;
// --ag-header-cell-hover-background-color: rgb(80, 40, 140);
--ag-header-cell-moving-background-color: #5D6A76;
.ag-root-wrapper{
outline: none;
border: none;
}
.ag-header{
border-bottom: none;
border-radius: 4px;
}
.ag-header-cell{
font-size: 13px;
color: #fff;
}
.ag-header-cell-label{
justify-content: center;
}
.ag-header-cell-resize{
&:after{
display: none;
}
}
.ag-row{
border-bottom: 1px solid #ECF0F4;
&:nth-child(2n){
background-color: #F7F9FA;
}
&.important_row{
background-color: #e7e7e7;
}
}
.ag-cell{
display: flex;
align-items: center;
font-size: 13px;
color: #45576F;
line-height: 1.4 !important;
padding-top: 10px;
padding-bottom: 10px;
.block{
display: block;
}
}
.ag-icon-desc::before,
.ag-icon-asc::before,
.ag-icon-filter::before{
color: #fff;
}
}
.copy-ico-wrap{
display: flex;
align-items: center;
.copy_ico{
width: 18px;
height: 18px;
background: url(../../public/static/images/sub/copy_grid_ico.svg)no-repeat center;
background-size: cover;
margin-left: 12px;
}
}
&.no-cols{
.ag-row{
&:nth-child(2n){
background-color: #fff;
}
}
}
.form-flex-wrap{
display: flex;
align-items: center;
width: 100%;
.grid-tip{
margin-left: auto;
}
}
}
// grid-button
.grid-cell-btn{
display: flex;
flex-direction: column;
gap: 5px;
width: 117px;
margin: 0 auto;
.grid-btn{
display: block;
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
border: 1px solid #94A0AD;
border-radius: 2px;
font-size: 13px;
color: #94A0AD;
font-weight: 400;
text-align: center;
span{
display: block;
margin-right: 5px;
&.file{
width: 13px;
height: 14px;
background: url(../../public/static/images/sub/grid-btn-file.svg)no-repeat center;
background-size: cover;
}
&.excel{
width: 14px;
height: 13px;
background: url(../../public/static/images/sub/grid-btn-excel.svg)no-repeat center;
background-size: cover;
}
}
}
}