1164 lines
25 KiB
SCSS
1164 lines
25 KiB
SCSS
@use '../abstracts/variables' as *;
|
|
@use '../abstracts/color-functions' as *;
|
|
@use '../abstracts/mixins' as *;
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// User Management Pages - Modern Card-Based Layout
|
|
// Styles for user list and user detail pages
|
|
// -----------------------------------------------------------------------------
|
|
|
|
// User Management Container (List Page)
|
|
.user-management-container {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: $spacing-3xl 0;
|
|
margin-bottom: $spacing-2xl;
|
|
min-height: 750px; // Ensure the footer doesn't float when content is short
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
padding: $spacing-lg $spacing-md;
|
|
}
|
|
}
|
|
|
|
// Header Section
|
|
.user-management-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: $spacing-2xl;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: $spacing-lg;
|
|
}
|
|
}
|
|
|
|
.user-management-title {
|
|
h1 {
|
|
font-size: $font-size-sm;
|
|
color: $text-gray;
|
|
font-weight: $font-weight-regular;
|
|
margin-bottom: $spacing-xs;
|
|
}
|
|
|
|
h2 {
|
|
font-size: $font-size-2xl;
|
|
font-weight: $font-weight-bold;
|
|
color: $text-dark;
|
|
}
|
|
}
|
|
|
|
.user-management-actions {
|
|
display: flex;
|
|
gap: $spacing-md;
|
|
}
|
|
|
|
.btn-create-user-large {
|
|
padding: $spacing-md $spacing-2xl;
|
|
font-size: $font-size-md;
|
|
margin-top: $spacing-lg;
|
|
}
|
|
|
|
// Table Controls - Uses common styles from components/_tables.scss
|
|
// Page-specific overrides only
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// User List Table Customizations
|
|
// Extends .list-table from components/_tables.scss
|
|
// -----------------------------------------------------------------------------
|
|
.user-management-container {
|
|
.board-table {
|
|
margin-bottom: $spacing-2xl;
|
|
overflow-x: auto;
|
|
|
|
// Allow table rows to expand if buttons wrap
|
|
.board-table-row {
|
|
height: auto;
|
|
min-height: 50px;
|
|
|
|
.row-cell.row-actions {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
.actions-desktop {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
// Link styles in table cells
|
|
.row-cell a {
|
|
color: $text-dark;
|
|
text-decoration: none;
|
|
transition: $transition-base;
|
|
|
|
&:hover {
|
|
color: $primary-blue;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Grid layout for user list table to avoid inline styles
|
|
.board-table--user-list {
|
|
|
|
.board-table-header,
|
|
.board-table-row {
|
|
display: grid;
|
|
grid-template-columns: 24px 112px 1fr 100px 100px 287px;
|
|
padding: 0 29px; // Match standard board-table padding
|
|
gap: 10px;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
display: flex;
|
|
padding: 15px;
|
|
min-width: auto;
|
|
}
|
|
}
|
|
|
|
.header-cell,
|
|
.row-cell {
|
|
padding: 0;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
&:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.table-controls {
|
|
@extend .common-title-bar;
|
|
|
|
@include respond-to('sm') {
|
|
background-color: $white;
|
|
padding: 0;
|
|
}
|
|
|
|
.search-box {
|
|
.btn {
|
|
height: 48px;
|
|
background-color: #2a69de;
|
|
border: 1px solid #2a69de;
|
|
border-radius: 9px;
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Current user badge (used in actions column)
|
|
.user-current-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 16px;
|
|
height: 28px;
|
|
background-color: #ecf0fa;
|
|
color: #2a69de;
|
|
border: 1px solid #4685ef;
|
|
border-radius: 5px;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
font-family: 'Spoqa Han Sans Neo', sans-serif;
|
|
gap: 4px;
|
|
|
|
i {
|
|
display: none; // Hide the icon to match Figma exactly
|
|
}
|
|
|
|
// 모바일에서 숨김
|
|
@media (max-width: $breakpoint-sm) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// Empty State
|
|
.user-empty-state {
|
|
text-align: center;
|
|
padding: $spacing-5xl $spacing-lg;
|
|
color: $text-gray;
|
|
|
|
.empty-icon {
|
|
font-size: 80px;
|
|
margin-bottom: $spacing-lg;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
h3 {
|
|
font-size: $font-size-xl;
|
|
font-weight: $font-weight-semibold;
|
|
color: $text-dark;
|
|
margin-bottom: $spacing-md;
|
|
}
|
|
|
|
p {
|
|
font-size: $font-size-base;
|
|
color: $text-gray;
|
|
}
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// User Detail Page
|
|
// -----------------------------------------------------------------------------
|
|
|
|
.user-detail-container {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
padding: $spacing-2xl;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
padding: $spacing-lg $spacing-md;
|
|
}
|
|
}
|
|
|
|
// Profile Card
|
|
.user-profile-card {
|
|
color: $white;
|
|
margin-bottom: $spacing-xl;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -20%;
|
|
width: 400px;
|
|
height: 400px;
|
|
background: rgba($white, 0.05);
|
|
border-radius: $border-radius-circle;
|
|
}
|
|
|
|
.detail-grid {
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.user-profile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $spacing-xl;
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.user-profile-avatar {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.avatar-circle-large {
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: $border-radius-circle;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: $font-size-3xl;
|
|
font-weight: $font-weight-bold;
|
|
background: rgba($white, 0.2);
|
|
color: $white;
|
|
border: 4px solid rgba($white, 0.3);
|
|
box-shadow: $shadow-lg;
|
|
}
|
|
|
|
.user-profile-info {
|
|
flex: 1;
|
|
|
|
h2 {
|
|
font-size: $font-size-2xl;
|
|
font-weight: $font-weight-bold;
|
|
margin-bottom: $spacing-sm;
|
|
}
|
|
|
|
.user-profile-email {
|
|
font-size: $font-size-base;
|
|
opacity: 0.9;
|
|
margin-bottom: $spacing-md;
|
|
}
|
|
}
|
|
|
|
.user-profile-badges {
|
|
display: flex;
|
|
gap: $spacing-sm;
|
|
flex-wrap: wrap;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
justify-content: center;
|
|
}
|
|
|
|
.user-status-badge,
|
|
.user-role-badge {
|
|
background: rgba($white, 0.2);
|
|
color: $white;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba($white, 0.3);
|
|
}
|
|
}
|
|
|
|
// Detail Section (Reuse from API Key Detail)
|
|
.detail-section {
|
|
background: $white;
|
|
border-radius: $border-radius-lg;
|
|
padding: $spacing-xl;
|
|
box-shadow: $shadow-sm;
|
|
margin-bottom: $spacing-lg;
|
|
|
|
h2 {
|
|
font-size: $font-size-lg;
|
|
font-weight: $font-weight-semibold;
|
|
color: $text-dark;
|
|
margin-bottom: $spacing-lg;
|
|
padding-bottom: $spacing-sm;
|
|
border-bottom: 2px solid $light-bg;
|
|
}
|
|
}
|
|
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: $spacing-lg;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.detail-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-xs;
|
|
|
|
&.full-width {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
.detail-label {
|
|
font-size: $font-size-sm;
|
|
font-weight: $font-weight-semibold;
|
|
color: $text-gray;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $spacing-xs;
|
|
|
|
i {
|
|
color: $primary-blue;
|
|
font-size: $font-size-sm;
|
|
}
|
|
}
|
|
|
|
.detail-value {
|
|
font-size: $font-size-base;
|
|
color: $text-dark;
|
|
padding: $spacing-sm 0;
|
|
}
|
|
|
|
.status-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: $spacing-xs;
|
|
padding: 6px 12px;
|
|
border-radius: $border-radius-sm;
|
|
font-size: $font-size-sm;
|
|
font-weight: $font-weight-medium;
|
|
|
|
&.status-active {
|
|
background-color: rgba($accent-green, 0.1);
|
|
color: darken($accent-green, 10%);
|
|
|
|
.status-dot {
|
|
background-color: $accent-green;
|
|
}
|
|
}
|
|
|
|
&.status-inactive {
|
|
background-color: rgba($text-gray, 0.1);
|
|
color: $text-gray;
|
|
|
|
.status-dot {
|
|
background-color: $text-gray;
|
|
}
|
|
}
|
|
}
|
|
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: $border-radius-circle;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
// Detail Actions
|
|
.detail-actions {
|
|
display: flex;
|
|
gap: $spacing-md;
|
|
justify-content: center;
|
|
padding-top: $spacing-lg;
|
|
|
|
@media (max-width: $breakpoint-sm) {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Inquiry Status Badge - Figma Design (node 998-2056, 998-2006)
|
|
// -----------------------------------------------------------------------------
|
|
.inquiry-status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 30px;
|
|
padding: 0 14px;
|
|
border-radius: 50px;
|
|
font-size: 15px;
|
|
font-weight: $font-weight-bold;
|
|
color: $white;
|
|
white-space: nowrap;
|
|
|
|
// 답변완료 - 파란색 배경
|
|
&--completed {
|
|
background-color: #0049b4;
|
|
}
|
|
|
|
// 답변대기 - 회색 배경
|
|
&--pending {
|
|
background-color: #8c959f;
|
|
}
|
|
|
|
// 종료 - 짙은 회색 배경
|
|
&--closed {
|
|
background-color: #4a5560;
|
|
}
|
|
}
|
|
|
|
// Inquiry Actions
|
|
.inquiry-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: $spacing-2xl;
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Desktop/Mobile Action Button Visibility
|
|
// -----------------------------------------------------------------------------
|
|
.actions-desktop {
|
|
display: flex;
|
|
gap: $spacing-xs;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.actions-mobile {
|
|
display: none;
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// User Management Mobile Styles - Figma Design (node 1161-10519)
|
|
// 사용자 관리 모바일 디자인
|
|
// -----------------------------------------------------------------------------
|
|
@media (max-width: $breakpoint-sm) {
|
|
|
|
// Show mobile actions, hide desktop actions
|
|
.actions-desktop {
|
|
display: none !important;
|
|
}
|
|
|
|
.actions-mobile {
|
|
display: flex !important;
|
|
}
|
|
|
|
.user-management-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacing-lg;
|
|
padding: $spacing-lg $spacing-md;
|
|
margin-bottom: 0;
|
|
|
|
// Table Controls - 모바일 레이아웃 (display: contents로 자식들이 container flex에 참여)
|
|
.table-controls {
|
|
display: contents;
|
|
|
|
.total-count {
|
|
order: 1;
|
|
text-align: left;
|
|
font-size: 16px;
|
|
color: $black;
|
|
padding-bottom: 6px;
|
|
border-bottom: 1.5px solid #212529;
|
|
|
|
strong {
|
|
color: #0049b4;
|
|
font-weight: $font-weight-bold;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
// 이용자 추가 버튼 - 테이블 아래로 이동
|
|
.search-box {
|
|
order: 4;
|
|
width: 100%;
|
|
|
|
.btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 44px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// List Table - 모바일 디자인 (코너 라운드 적용)
|
|
.list-table {
|
|
order: 2;
|
|
background: $white;
|
|
border-radius: $border-radius-lg;
|
|
overflow: visible; // dropdown이 보이도록 변경
|
|
|
|
// Header - 모바일에서 표시 (Figma: 40px 높이, #3BA4ED 배경)
|
|
.list-table-header {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 40px;
|
|
padding: 0 8px;
|
|
background: #3BA4ED;
|
|
border-radius: $border-radius-md $border-radius-md 0 0;
|
|
|
|
.header-cell {
|
|
font-size: 14px;
|
|
font-weight: $font-weight-bold;
|
|
color: $white;
|
|
padding: 0 4px;
|
|
justify-content: center;
|
|
|
|
// NO 컬럼 - 모바일에서 숨김
|
|
&:nth-child(1) {
|
|
display: none;
|
|
}
|
|
|
|
// 성명 컬럼 - 60px
|
|
&:nth-child(2) {
|
|
width: 60px !important;
|
|
min-width: 60px;
|
|
flex: none;
|
|
}
|
|
|
|
// 이메일 아이디 컬럼 - flex 1
|
|
&:nth-child(3) {
|
|
flex: 1 !important;
|
|
min-width: 80px;
|
|
}
|
|
|
|
// 권한 컬럼 - 39px
|
|
&:nth-child(4) {
|
|
width: 39px !important;
|
|
min-width: 39px;
|
|
flex: none;
|
|
}
|
|
|
|
// 계정상태 컬럼 - 61px
|
|
&:nth-child(5) {
|
|
width: 61px !important;
|
|
min-width: 61px;
|
|
flex: none;
|
|
}
|
|
|
|
// 설정 컬럼 - 모바일에서 표시 (40px)
|
|
&:nth-child(6) {
|
|
display: flex !important;
|
|
width: 40px !important;
|
|
min-width: 40px;
|
|
flex: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Body
|
|
.list-table-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
// Row - 모바일 디자인 (Figma: 40px 높이)
|
|
.list-table-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: 40px;
|
|
padding: 0 8px;
|
|
gap: 0;
|
|
position: relative; // dropdown positioning
|
|
|
|
// 짝수/홀수 배경색
|
|
&:nth-child(even) {
|
|
background-color: #EDF5FD;
|
|
}
|
|
|
|
&:nth-child(odd) {
|
|
background-color: $white;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: rgba($primary-blue, 0.08);
|
|
}
|
|
|
|
.row-cell {
|
|
font-size: 13px;
|
|
font-weight: $font-weight-regular;
|
|
color: #212529;
|
|
padding: 0 4px;
|
|
justify-content: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
// data-label 숨김
|
|
&::before {
|
|
display: none;
|
|
}
|
|
|
|
// NO 컬럼 - 모바일에서 숨김
|
|
&:nth-child(1) {
|
|
display: none;
|
|
}
|
|
|
|
// 성명 컬럼 - 60px
|
|
&:nth-child(2) {
|
|
width: 60px !important;
|
|
min-width: 60px;
|
|
flex: none;
|
|
|
|
a {
|
|
color: #212529;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
// 이메일 아이디 컬럼 - flex 1
|
|
&:nth-child(3) {
|
|
flex: 1 !important;
|
|
min-width: 80px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
// 권한 컬럼 - 39px
|
|
&:nth-child(4) {
|
|
width: 39px !important;
|
|
min-width: 39px;
|
|
flex: none;
|
|
}
|
|
|
|
// 계정상태 컬럼 - 61px
|
|
&:nth-child(5) {
|
|
width: 61px !important;
|
|
min-width: 61px;
|
|
flex: none;
|
|
}
|
|
|
|
// 설정 컬럼 (row-actions) - 모바일에서 표시 (40px)
|
|
&:nth-child(6),
|
|
&.row-actions {
|
|
display: flex !important;
|
|
width: 40px !important;
|
|
min-width: 40px;
|
|
flex: none;
|
|
justify-content: center;
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
// row-actions 클래스 표시
|
|
.row-actions {
|
|
display: flex !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Empty State - 모바일 조정
|
|
.user-empty-state {
|
|
padding: $spacing-3xl $spacing-md;
|
|
|
|
.empty-icon {
|
|
font-size: 60px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: $font-size-lg;
|
|
}
|
|
|
|
p {
|
|
font-size: $font-size-sm;
|
|
}
|
|
}
|
|
|
|
// Pagination - 모바일 디자인 (테이블 다음, 버튼 이전)
|
|
.pagination {
|
|
order: 3;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Inquiry List Mobile Styles - Q&A 목록 모바일 디자인
|
|
// 5 columns: NO, 제목, 작성자, 처리상태, 등록일
|
|
// -----------------------------------------------------------------------------
|
|
.inquiry-list-container {
|
|
.list-table {
|
|
.list-table-header {
|
|
.header-cell {
|
|
|
|
// NO 컬럼 - 모바일에서 숨김
|
|
&:nth-child(1) {
|
|
display: none;
|
|
}
|
|
|
|
// 제목 컬럼 - flex 1 (인라인 min-width:200px 무력화로 모바일 축소 허용)
|
|
&:nth-child(2) {
|
|
flex: 1 1 0 !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
// 작성자 컬럼 - 60px, 가운데 정렬
|
|
&:nth-child(3) {
|
|
width: 60px !important;
|
|
min-width: 60px !important;
|
|
flex: none !important;
|
|
justify-content: center;
|
|
}
|
|
|
|
// 처리상태 컬럼 - 78px, 가운데 정렬
|
|
&:nth-child(4) {
|
|
width: 78px !important;
|
|
min-width: 78px !important;
|
|
flex: none !important;
|
|
justify-content: center;
|
|
}
|
|
|
|
// 등록일 컬럼 - 모바일에서 숨김
|
|
&:nth-child(5) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.list-table-row {
|
|
.row-cell {
|
|
|
|
// NO 컬럼 - 모바일에서 숨김
|
|
&:nth-child(1),
|
|
&.row-cell--number {
|
|
display: none;
|
|
}
|
|
|
|
// 제목 컬럼 - flex 1 (인라인 min-width:200px 무력화로 모바일 축소 허용)
|
|
&:nth-child(2),
|
|
&.row-cell--title {
|
|
flex: 1 1 0 !important;
|
|
min-width: 0 !important;
|
|
overflow: hidden;
|
|
justify-content: flex-start;
|
|
|
|
.notice-title-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
|
|
// 모바일에서 번호 프리픽스 숨김 (NO 컬럼 대신 표시되는 것 방지)
|
|
.notice-number {
|
|
display: none !important;
|
|
}
|
|
|
|
>span:not(.notice-number):not(.file-icon) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-icon {
|
|
flex-shrink: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
|
|
svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 작성자 컬럼 - 60px, 가운데 정렬 (마스킹 이름 넘침 방지)
|
|
&:nth-child(3) {
|
|
width: 60px !important;
|
|
min-width: 60px !important;
|
|
flex: none !important;
|
|
justify-content: center;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
// 처리상태 컬럼 - 78px, 가운데 정렬
|
|
&:nth-child(4) {
|
|
width: 78px !important;
|
|
min-width: 78px !important;
|
|
flex: none !important;
|
|
justify-content: center;
|
|
text-align: center;
|
|
|
|
.inquiry-status-badge {
|
|
height: 24px;
|
|
padding: 0 8px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
// 등록일 컬럼 - 모바일에서 숨김
|
|
&:nth-child(5) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 질문하기 버튼 영역
|
|
.inquiry-actions {
|
|
order: 4;
|
|
width: 100%;
|
|
margin-top: 0;
|
|
|
|
.btn {
|
|
width: 100%;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
// 검색 필드 스타일
|
|
.table-controls {
|
|
.search-field {
|
|
order: 2;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Notice List Mobile Styles - 공지사항 목록 모바일 디자인
|
|
// 3 columns: NO, 제목, 등록일
|
|
// -----------------------------------------------------------------------------
|
|
.notice-list-container {
|
|
.list-table {
|
|
.list-table-header {
|
|
.header-cell {
|
|
|
|
// NO 컬럼 - 모바일에서 숨김
|
|
&:nth-child(1) {
|
|
display: none;
|
|
}
|
|
|
|
// 제목 컬럼 - flex 1, 헤더는 가운데 정렬
|
|
&:nth-child(2) {
|
|
flex: 1 !important;
|
|
min-width: 100px;
|
|
}
|
|
|
|
// 등록일 컬럼 - 70px, 가운데 정렬
|
|
&:nth-child(3) {
|
|
width: 70px !important;
|
|
min-width: 70px;
|
|
flex: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.list-table-row {
|
|
.row-cell {
|
|
|
|
// NO 컬럼 - 모바일에서 숨김
|
|
&:nth-child(1),
|
|
&.row-cell--number {
|
|
display: none;
|
|
}
|
|
|
|
// 제목 컬럼 - flex 1, 데이터는 왼쪽 정렬
|
|
&:nth-child(2),
|
|
&.row-cell--title {
|
|
flex: 1 !important;
|
|
min-width: 100px;
|
|
justify-content: flex-start;
|
|
|
|
.notice-title-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
|
|
// 모바일에서 번호 프리픽스 숨김
|
|
.notice-number {
|
|
display: none !important;
|
|
}
|
|
|
|
>span:not(.notice-number):not(.file-icon) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.file-icon {
|
|
flex-shrink: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
|
|
svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 등록일 컬럼 - 70px, 가운데 정렬
|
|
&:nth-child(3) {
|
|
width: 70px !important;
|
|
min-width: 70px;
|
|
flex: none;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 검색 필드 스타일
|
|
.table-controls {
|
|
.search-field {
|
|
order: 2;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// User Detail Page Mobile Styles - Figma Design
|
|
// 이용자 상세 페이지 모바일 디자인
|
|
// -----------------------------------------------------------------------------
|
|
.org-register-container {
|
|
padding: $spacing-lg $spacing-md;
|
|
|
|
// Title bar - 모바일 조정
|
|
.common-title-bar {
|
|
margin-bottom: $spacing-lg;
|
|
|
|
h3 {
|
|
font-size: $font-size-lg;
|
|
}
|
|
}
|
|
|
|
// Form container - Flat 디자인 (그림자, 테두리 제거)
|
|
.register-form-container {
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
// Form actions - 버튼 가운데 정렬 및 크기 조정
|
|
.form-actions {
|
|
display: flex;
|
|
flex-direction: row !important;
|
|
justify-content: center !important;
|
|
align-items: center !important;
|
|
padding: $spacing-xl 0 0;
|
|
margin-top: 0;
|
|
|
|
.form-actions-buttons {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
.btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 44px;
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Dropdown Menu Styles - Mobile Actions
|
|
// -----------------------------------------------------------------------------
|
|
.dropdown-wrapper {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.dropdown-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: $border-radius-sm;
|
|
color: #5f666c;
|
|
cursor: pointer;
|
|
transition: $transition-base;
|
|
|
|
&:hover {
|
|
background: rgba($primary-blue, 0.1);
|
|
color: $primary-blue;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
background: rgba($primary-blue, 0.1);
|
|
}
|
|
|
|
svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
min-width: 140px;
|
|
background: $white;
|
|
border-radius: $border-radius-md;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
z-index: $z-index-dropdown;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(-8px);
|
|
transition: all 0.2s ease;
|
|
overflow: hidden;
|
|
|
|
.dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 10px 16px;
|
|
background: transparent;
|
|
border: none;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
font-weight: $font-weight-regular;
|
|
color: #212529;
|
|
cursor: pointer;
|
|
transition: $transition-fast;
|
|
white-space: nowrap;
|
|
|
|
&:hover {
|
|
background: #f0f7ff;
|
|
color: $primary-blue;
|
|
}
|
|
|
|
&:active {
|
|
background: #e0efff;
|
|
}
|
|
|
|
&+.dropdown-item {
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
&--danger {
|
|
color: #B02A37;
|
|
|
|
&:hover {
|
|
background: #fdeaec;
|
|
color: #B02A37;
|
|
}
|
|
|
|
&:active {
|
|
background: #f8d7da;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Open state
|
|
&.open {
|
|
.dropdown-toggle {
|
|
background: rgba($primary-blue, 0.1);
|
|
color: $primary-blue;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(4px);
|
|
}
|
|
}
|
|
}
|