모바일 - 공지사항 디자인 반영

This commit is contained in:
현성필
2025-12-09 17:55:10 +09:00
parent 28b950c81d
commit 7656224f86
7 changed files with 407 additions and 3 deletions
+181
View File
@@ -5573,6 +5573,175 @@ select.form-control {
color: #94A3B8;
}
@media (max-width: 768px) {
.search-field {
display: flex;
align-items: center;
width: 100%;
height: 40px;
background: #FFFFFF;
border: 1px solid #dadada;
border-radius: 8px;
position: relative;
}
.search-field input {
flex: 1;
height: 100%;
padding: 0 40px 0 16px;
border: none;
background: transparent;
font-size: 12px;
color: #212529;
}
.search-field input::placeholder {
color: #8c959f;
font-size: 12px;
}
.search-field input:focus {
outline: none;
}
.search-field .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;
}
.search-field .search-field-btn svg {
width: 18px;
height: 18px;
color: #515961;
}
.table-controls {
flex-direction: column;
align-items: stretch;
gap: 24px;
padding: 0;
margin-bottom: 0;
}
.table-controls .total-count {
order: 2;
text-align: left;
font-size: 16px;
color: #000000;
padding-bottom: 6px;
border-bottom: 1.5px solid #212529;
margin-bottom: 0;
}
.table-controls .total-count strong {
color: #0049b4;
font-weight: 700;
font-size: 16px;
}
.table-controls .search-field {
order: 1;
}
.list-table {
background: transparent;
border-radius: 0;
}
.list-table .list-table-header {
display: none;
}
.list-table .list-table-body {
display: flex;
flex-direction: column;
}
.list-table .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;
}
.list-table .list-table-row:hover {
background: rgba(0, 73, 180, 0.02) !important;
}
.list-table .list-table-row .row-cell--number {
display: none;
}
.list-table .list-table-row .row-cell--title {
flex: 1;
justify-content: flex-start;
padding: 0;
font-size: 15px;
font-weight: 400;
color: #212529;
}
.list-table .list-table-row .row-cell--title::before {
display: none;
}
.list-table .list-table-row .row-cell--title .notice-title-link {
display: flex;
align-items: center;
gap: 8px;
color: inherit;
text-decoration: none;
}
.list-table .list-table-row .row-cell--title .notice-title-link .notice-number {
display: none;
}
.list-table .list-table-row .row-cell--title .notice-title-link .file-icon {
display: inline-flex;
align-items: center;
flex-shrink: 0;
margin-left: 4px;
}
.list-table .list-table-row .row-cell--title .notice-title-link .file-icon svg {
width: 18px;
height: 18px;
}
.list-table .list-table-row .row-cell:last-child {
flex-shrink: 0;
width: auto;
padding: 0;
font-size: 14px;
font-weight: 400;
color: #212529;
justify-content: flex-end;
}
.list-table .list-table-row .row-cell:last-child::before {
display: none;
}
.pagination {
gap: 13px;
padding: 24px 0;
}
.pagination .pagination-btn {
width: 20px;
height: 20px;
}
.pagination .pagination-btn i, .pagination .pagination-btn svg {
font-size: 14px;
width: 14px;
height: 14px;
}
.pagination .pagination-numbers {
gap: 13px;
}
.pagination .pagination-number {
min-width: 10px;
height: 21px;
font-size: 15px;
color: #5f666c;
font-weight: 400;
}
.pagination .pagination-number.active {
font-weight: 700;
color: #212529;
}
}
.faq-accordion {
background: #F6F9FB;
border-radius: 12px;
@@ -12597,6 +12766,12 @@ input[type=checkbox]:checked + .custom-checkbox {
.notice-content-body li {
margin-bottom: 8px;
}
@media (max-width: 768px) {
.notice-content-body {
background: #FFFFFF;
padding: 0;
}
}
.notice-detail-actions {
display: flex;
@@ -15035,6 +15210,12 @@ input[type=checkbox]:checked + .custom-checkbox {
.user-management-container .list-table .row-cell a:hover {
color: #0049b4;
}
@media (max-width: 768px) {
.user-management-container .table-controls {
background-color: #FFFFFF;
padding: 0;
}
}
.user-management-container .table-controls .search-box .btn {
height: 44px;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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;
}
}
}
}
@@ -215,6 +215,11 @@
li {
margin-bottom: $spacing-sm;
}
@include respond-to('sm') {
background: $white;
padding: 0;
}
}
// Notice Detail Actions
@@ -81,6 +81,11 @@
.table-controls {
@extend .common-title-bar;
@include respond-to('sm') {
background-color: $white;
padding: 0;
}
.search-box {
.btn {
height: 44px;