213 lines
4.3 KiB
SCSS

@use "../abstracts" as *;
// input form 공통
.data-input-form-bx{
margin-bottom: 18px;
&:last-child{
margin-bottom: 0;
}
.data-input-form-tit{
@include defaultFont($font-s-13, $font-w-500, $font-c);
margin-bottom: 10px;
}
}
.btn-flex-wrap{
@include flex(5px);
margin-top: 24px;
.btn-bx{
flex: 1;
}
}
// 매물 common
.top-btn{
position: fixed;
bottom: 96px;
right: 15px;
width: 38px;
height: 38px;
background-color: rgba(0, 0, 0, 0.50);
background-image: url(/assets/images/sub/top_btn_icon.svg);
background-position: center;
background-repeat: no-repeat;
background-size: 18px 18px;
border-radius: 50%;
z-index: 90000;
}
.sale-contents{
width: 100%;
background-color: #F5F5F5;
.sale-frame{
padding: 0 20px;
border-top: 1px solid #ECECEC;
border-bottom: 1px solid #ECECEC;
margin-bottom: 10px;
padding-bottom: 24px;
padding-top: 24px;
background-color: $white-fff;
&:first-child{
padding-top: 0;
border-top: none;
}
&:last-child{
padding-bottom: 0;
border-bottom: none;
margin-bottom: 0;
}
}
}
.sale-detail-tab-wrap{
height: 40px;
margin-bottom: 10px;
z-index: 100000;
.sale-detail-tab-inner{
position: fixed;
top: 66px;
left: 0;
width: 100%;
@include flex(0px);
align-items: center;
height: 40px;
.sale-detail-tab{
flex: 1;
height: 100%;
background-color: #fff;
border-top: 1px solid #DDDFE2;
border-bottom: 1px solid #DDDFE2;
@include defaultFont($font-s-13, $font-w-500, $font-c);
&.act{
color: $white-fff;
background-color: #5F738E;
border-color: #5F738E;
}
}
}
}
// 매물 목록
.sale-form-bx{
margin-bottom: 14px;
&:last-child{
margin-bottom: 0;
}
}
.sale-list-wrap{
.sale-list-item{
padding-top: 14px;
padding-bottom: 14px;
border-bottom: 1px solid #ECECEC;
cursor: pointer;
&:first-child{
padding-top: 0;
}
&:last-child{
border-bottom: none;
padding-bottom: 0;
}
}
}
.sale-item-bx{
.sale-item-date-bx{
@include flex(0px);
align-items: center;
margin-bottom: 9px;
.sale-item-num{
position: relative;
@include defaultFont($font-s-13, $font-w-400, $font-c);
padding-right: 6px;
&::after{
content: '';
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
width: 1px;
height: 10px;
background-color: #A2ABB8;
}
}
.sale-item-date{
@include defaultFont($font-s-13, $font-w-400, #A2ABB8);
padding-left: 6px;
}
}
.sale-item-tit{
@include defaultFont($font-s-15, $font-w-500, $font-c);
margin-bottom: 9px;
}
.sale-item-customer{
@include defaultFont($font-s-13, $font-w-400, $font-c);
margin-bottom: 9px;
}
.sale-item-update-bx{
@include flex(0px);
align-items: center;
.sale-item-name{
position: relative;
@include defaultFont($font-s-13, $font-w-400, #A2ABB8);
padding-right: 6px;
&::after{
content: '';
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
width: 1px;
height: 10px;
background-color: #A2ABB8;
}
}
.sale-item-update{
@include defaultFont($font-s-13, $font-w-400, #A2ABB8);
padding-left: 6px;
}
}
}
.sale-edit-btn{
margin-top: 24px;
}
// 매물 상세
.sale-data-table{
width: 100%;
table-layout: fixed;
tbody{
tr{
th{
@include defaultFont($font-s-13, $font-w-500, $font-c);
vertical-align: top;
padding: 5px 0;
}
td{
@include defaultFont($font-s-13, $font-w-400, $font-c);
padding: 5px 0 8px 14px;
.data-down{
@include flex(8px);
align-items: center;
color: #1259CB;
i{
display: block;
width: 8px;
height: 12px;
background: url(/assets/images/sub/down_icon.svg)no-repeat center;
background-size: cover;
}
}
}
&:first-child{
th,td{
padding-top: 0;
}
}
&:last-child{
th,td{
padding-bottom: 0;
}
}
}
}
}