206 lines
5.9 KiB
CSS
206 lines
5.9 KiB
CSS
/* Shared Mobile Custom CSS for Anime Downloader */
|
|
|
|
/* Custom Notify Styling - Mobile Default */
|
|
.bootstrap-notify-container,
|
|
[data-notify="container"] {
|
|
max-width: 90vw !important;
|
|
width: auto !important;
|
|
right: 5vw !important;
|
|
left: 5vw !important;
|
|
padding: 12px 16px !important;
|
|
border-radius: 10px !important;
|
|
background: var(--notify-bg) !important;
|
|
backdrop-filter: blur(10px) !important;
|
|
border: 1px solid var(--notify-border) !important;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
|
|
color: #e0e7ff !important;
|
|
font-size: 13px !important;
|
|
z-index: 10000 !important;
|
|
}
|
|
|
|
/* Desktop Notify: 오른쪽 정렬, 적절한 사이즈 */
|
|
@media (min-width: 769px) {
|
|
.bootstrap-notify-container,
|
|
[data-notify="container"] {
|
|
max-width: 450px !important;
|
|
min-width: 300px !important;
|
|
width: auto !important;
|
|
right: 20px !important;
|
|
left: auto !important;
|
|
}
|
|
}
|
|
|
|
[data-notify="container"].alert-success {
|
|
border-color: rgba(16, 185, 129, 0.4) !important;
|
|
background: var(--notify-success-bg, rgba(6, 78, 59, 0.95)) !important;
|
|
}
|
|
|
|
[data-notify="container"].alert-warning {
|
|
border-color: rgba(245, 158, 11, 0.4) !important;
|
|
background: var(--notify-warning-bg, rgba(120, 53, 15, 0.95)) !important;
|
|
}
|
|
|
|
[data-notify="container"].alert-danger {
|
|
border-color: rgba(239, 68, 68, 0.4) !important;
|
|
background: var(--notify-danger-bg, rgba(127, 29, 29, 0.95)) !important;
|
|
}
|
|
|
|
[data-notify="message"] {
|
|
color: #e0e7ff !important;
|
|
}
|
|
|
|
[data-notify="title"] {
|
|
color: #fff !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
/* Common Mobile Responsive Fixes - Comprehensive Normalization */
|
|
@media (max-width: 768px) {
|
|
*, ::before, ::after {
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
html, body {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
overflow-x: hidden !important;
|
|
position: relative !important;
|
|
-webkit-text-size-adjust: 100%;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
/* Layout Expansion on Mobile - Critical Fix for Horizontal Shift */
|
|
.container, .container-fluid, #main_container {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
min-width: 0 !important;
|
|
padding-left: 5px !important;
|
|
padding-right: 5px !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
box-sizing: border-box !important;
|
|
overflow-x: hidden !important;
|
|
}
|
|
|
|
.row {
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
width: 100% !important;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
[class*="col-"] {
|
|
padding-left: 4px !important;
|
|
padding-right: 4px !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
/* Compact Navbar Fix */
|
|
.navbar {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
padding-top: 0.25rem !important;
|
|
padding-bottom: 0.25rem !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Scroll Hint Container Fix */
|
|
#menu_module_div, #menu_page_div {
|
|
position: relative;
|
|
width: 100% !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Gradient Hint to indicate more items (Scroll Hint) */
|
|
#menu_module_div::after, #menu_page_div::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 4px; bottom: 4px; right: 0;
|
|
width: 40px;
|
|
background: linear-gradient(to right, transparent, rgba(30, 41, 59, 0.9));
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
border-top-right-radius: 8px;
|
|
border-bottom-right-radius: 8px;
|
|
}
|
|
|
|
/* Navigation Pills Styling */
|
|
ul.nav.nav-pills.bg-light {
|
|
background-color: rgba(30, 41, 59, 0.6) !important;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px !important;
|
|
padding: 4px !important;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
|
|
display: flex !important;
|
|
flex-wrap: nowrap !important;
|
|
overflow-x: auto !important;
|
|
-webkit-overflow-scrolling: touch;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
box-sizing: border-box !important;
|
|
margin-top: 2px !important;
|
|
justify-content: flex-start !important;
|
|
scrollbar-width: thin; /* Firefox */
|
|
}
|
|
|
|
/* Subtle scrollbar hint for mobile */
|
|
ul.nav.nav-pills.bg-light::-webkit-scrollbar {
|
|
height: 3px;
|
|
}
|
|
ul.nav.nav-pills.bg-light::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
ul.nav.nav-pills .nav-item {
|
|
flex: 0 0 auto !important;
|
|
}
|
|
|
|
ul.nav.nav-pills .nav-link {
|
|
border-radius: 6px !important;
|
|
padding: 6px 14px !important;
|
|
color: #94a3b8 !important;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
white-space: nowrap !important;
|
|
font-size: 11px !important;
|
|
}
|
|
|
|
ul.nav.nav-pills .nav-link.active {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
/* Card/Table Container Fix */
|
|
.card, .table-responsive {
|
|
width: 100% !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
}
|
|
|
|
/* Global Navigation Spacing Adjustments (Plugin Specific) */
|
|
#menu_module_div {
|
|
padding-top: 52px !important; /* Adjusted for compact navbar (~52px) */
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
#menu_module_div .nav-pills,
|
|
#menu_page_div .nav-pills {
|
|
margin-top: 0 !important;
|
|
margin-bottom: 2px !important;
|
|
}
|
|
|
|
/* Tighten main container for desktop */
|
|
@media (min-width: 769px) {
|
|
#main_container {
|
|
margin-top: 0 !important;
|
|
padding-top: 0 !important;
|
|
}
|
|
}
|