모바일 - 공지사항 디자인 반영
This commit is contained in:
@@ -648,3 +648,216 @@
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Mobile Notice List Styles (Figma: 1161-8656)
|
||||
// 공지사항 모바일 디자인 - 검색창, 목록, 페이지네이션
|
||||
// -----------------------------------------------------------------------------
|
||||
@media (max-width: $breakpoint-sm) {
|
||||
// 검색 필드 - Figma: 335px × 40px, border-radius 8px
|
||||
.search-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background: $white;
|
||||
border: 1px solid #dadada;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
padding: 0 40px 0 16px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-size: 12px;
|
||||
color: #212529;
|
||||
|
||||
&::placeholder {
|
||||
color: #8c959f;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.search-field-btn {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: #515961;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Table Controls 모바일 레이아웃
|
||||
.table-controls {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 24px;
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
|
||||
.total-count {
|
||||
order: 2;
|
||||
text-align: left;
|
||||
font-size: 16px;
|
||||
color: $black;
|
||||
padding-bottom: 6px;
|
||||
border-bottom: 1.5px solid #212529;
|
||||
margin-bottom: 0;
|
||||
|
||||
strong {
|
||||
color: #0049b4;
|
||||
font-weight: $font-weight-bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.search-field {
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// 공지사항 목록 테이블 - Figma 모바일 디자인
|
||||
.list-table {
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
|
||||
// 헤더 숨김
|
||||
.list-table-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// 목록 본문
|
||||
.list-table-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
// 목록 행 - Figma: 56px 높이
|
||||
.list-table-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 56px;
|
||||
padding: 0 8px;
|
||||
background: transparent !important;
|
||||
border-bottom: 1px solid #dadada;
|
||||
|
||||
&:hover {
|
||||
background: rgba($primary-blue, 0.02) !important;
|
||||
}
|
||||
|
||||
// NO 컬럼 숨김
|
||||
.row-cell--number {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// 제목 컬럼 - Figma: 15px Regular #212529
|
||||
.row-cell--title {
|
||||
flex: 1;
|
||||
justify-content: flex-start;
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
font-weight: $font-weight-regular;
|
||||
color: #212529;
|
||||
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.notice-title-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
|
||||
.notice-number {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
margin-left: 4px;
|
||||
|
||||
svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 날짜 컬럼 - Figma: 14px Regular #212529
|
||||
.row-cell:last-child {
|
||||
flex-shrink: 0;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
font-size: 14px;
|
||||
font-weight: $font-weight-regular;
|
||||
color: #212529;
|
||||
justify-content: flex-end;
|
||||
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 페이지네이션 - Figma: 15px, gap 13px
|
||||
.pagination {
|
||||
gap: 13px;
|
||||
padding: $spacing-lg 0;
|
||||
|
||||
.pagination-btn {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
|
||||
i, svg {
|
||||
font-size: 14px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination-numbers {
|
||||
gap: 13px;
|
||||
}
|
||||
|
||||
.pagination-number {
|
||||
min-width: 10px;
|
||||
height: 21px;
|
||||
font-size: 15px;
|
||||
color: #5f666c;
|
||||
font-weight: $font-weight-regular;
|
||||
|
||||
&.active {
|
||||
font-weight: $font-weight-bold;
|
||||
color: #212529;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user