27 changed files with 279 additions and 2340 deletions
@ -1,52 +0,0 @@
@@ -1,52 +0,0 @@
|
||||
.app { |
||||
min-height: 100vh; |
||||
display: flex; |
||||
flex-direction: column; |
||||
} |
||||
|
||||
.main-content { |
||||
flex: 1; |
||||
} |
||||
|
||||
/* Error container styling */ |
||||
.error-container { |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
min-height: 100vh; |
||||
padding: 24px; |
||||
text-align: center; |
||||
} |
||||
|
||||
.error-container h1 { |
||||
font-size: 24px; |
||||
margin-bottom: 16px; |
||||
color: var(--primary); |
||||
} |
||||
|
||||
.error-container p { |
||||
font-size: 14px; |
||||
color: var(--muted-foreground); |
||||
margin-bottom: 24px; |
||||
} |
||||
|
||||
.error-container button { |
||||
padding: 10px 20px; |
||||
background: var(--primary); |
||||
color: var(--primary-foreground); |
||||
border: none; |
||||
border-radius: 999px; |
||||
font-size: 14px; |
||||
cursor: pointer; |
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
} |
||||
|
||||
.error-container button:hover { |
||||
transform: translateY(-1px); |
||||
box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12); |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,178 +0,0 @@
@@ -1,178 +0,0 @@
|
||||
.channel-manager { |
||||
width: 100%; |
||||
padding: 24px; |
||||
background: var(--color-surface); |
||||
border-radius: 12px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
} |
||||
|
||||
.channel-manager h2 { |
||||
margin: 0 0 24px 0; |
||||
font-size: 24px; |
||||
font-weight: 500; |
||||
} |
||||
|
||||
.add-channel-form { |
||||
display: flex; |
||||
gap: 12px; |
||||
margin-bottom: 24px; |
||||
} |
||||
|
||||
.channel-input { |
||||
flex: 1; |
||||
padding: 12px 16px; |
||||
border: 1px solid #ccc; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.channel-input:focus { |
||||
outline: none; |
||||
border-color: #065fd4; |
||||
} |
||||
|
||||
.add-button { |
||||
padding: 12px 24px; |
||||
background-color: #065fd4; |
||||
color: white; |
||||
border: none; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
white-space: nowrap; |
||||
transition: background-color 0.2s; |
||||
} |
||||
|
||||
.add-button:hover:not(:disabled) { |
||||
background-color: #0556c4; |
||||
} |
||||
|
||||
.add-button:disabled { |
||||
opacity: 0.6; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
.alert { |
||||
padding: 12px 16px; |
||||
border-radius: 4px; |
||||
margin-bottom: 16px; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.alert-error { |
||||
background-color: #fef2f2; |
||||
color: #991b1b; |
||||
border: 1px solid #fecaca; |
||||
} |
||||
|
||||
.alert-success { |
||||
background-color: #f0fdf4; |
||||
color: #166534; |
||||
border: 1px solid #bbf7d0; |
||||
} |
||||
|
||||
.empty-message { |
||||
text-align: center; |
||||
padding: 48px 24px; |
||||
color: #606060; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.channels-list { |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 16px; |
||||
} |
||||
|
||||
.channel-item { |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 16px; |
||||
padding: 16px; |
||||
background-color: #f9f9f9; |
||||
border-radius: 8px; |
||||
border: 1px solid #e5e5e5; |
||||
} |
||||
|
||||
.channel-thumbnail { |
||||
width: 80px; |
||||
height: 80px; |
||||
border-radius: 50%; |
||||
object-fit: cover; |
||||
} |
||||
|
||||
.channel-info { |
||||
flex: 1; |
||||
min-width: 0; |
||||
} |
||||
|
||||
.channel-name { |
||||
margin: 0 0 4px 0; |
||||
font-size: 16px; |
||||
font-weight: 500; |
||||
color: #030303; |
||||
} |
||||
|
||||
.channel-stats { |
||||
margin: 0 0 4px 0; |
||||
font-size: 14px; |
||||
color: #606060; |
||||
} |
||||
|
||||
.channel-meta { |
||||
margin: 0; |
||||
font-size: 12px; |
||||
color: #909090; |
||||
} |
||||
|
||||
.channel-error { |
||||
margin: 0; |
||||
font-size: 12px; |
||||
color: #d00; |
||||
} |
||||
|
||||
.remove-button { |
||||
padding: 8px 16px; |
||||
background-color: #fff; |
||||
color: #d00; |
||||
border: 1px solid #d00; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
white-space: nowrap; |
||||
transition: all 0.2s; |
||||
} |
||||
|
||||
.remove-button:hover { |
||||
background-color: #d00; |
||||
color: white; |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.channel-manager { |
||||
padding: 16px; |
||||
} |
||||
|
||||
.add-channel-form { |
||||
flex-direction: column; |
||||
} |
||||
|
||||
.channel-item { |
||||
flex-direction: column; |
||||
align-items: flex-start; |
||||
} |
||||
|
||||
.channel-thumbnail { |
||||
width: 60px; |
||||
height: 60px; |
||||
} |
||||
|
||||
.remove-button { |
||||
align-self: flex-end; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,233 +0,0 @@
@@ -1,233 +0,0 @@
|
||||
.navbar { |
||||
background: var(--color-surface); |
||||
border-bottom: 1px solid var(--color-border); |
||||
position: sticky; |
||||
top: 0; |
||||
z-index: 100; |
||||
box-shadow: 0 10px 30px var(--color-shadow); |
||||
} |
||||
|
||||
.navbar-container { |
||||
max-width: 1600px; |
||||
margin: 0 auto; |
||||
padding: 12px 0px; |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
} |
||||
|
||||
.navbar-logo { |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 8px; |
||||
text-decoration: none; |
||||
color: var(--color-primary-dark); |
||||
font-size: 20px; |
||||
font-weight: 600; |
||||
} |
||||
|
||||
.logo-icon { |
||||
font-size: 24px; |
||||
} |
||||
|
||||
.logo-text { |
||||
font-family: 'YouTube Sans', 'Roboto', sans-serif; |
||||
} |
||||
|
||||
.navbar-menu { |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 24px; |
||||
} |
||||
|
||||
.navbar-link { |
||||
text-decoration: none; |
||||
color: var(--color-text); |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
padding: 8px 12px; |
||||
border-radius: 999px; |
||||
transition: background-color 0.2s, color 0.2s; |
||||
} |
||||
|
||||
.navbar-link:hover { |
||||
background-color: rgba(47, 128, 237, 0.12); |
||||
color: var(--color-primary-dark); |
||||
} |
||||
|
||||
.navbar-user { |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 12px; |
||||
} |
||||
|
||||
.navbar-username { |
||||
font-size: 14px; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.navbar-button { |
||||
background: var(--color-primary); |
||||
color: white; |
||||
border: none; |
||||
padding: 10px 20px; |
||||
border-radius: 999px; |
||||
font-size: 14px; |
||||
font-weight: 600; |
||||
cursor: pointer; |
||||
text-decoration: none; |
||||
display: inline-block; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
box-shadow: 0 10px 20px rgba(32, 76, 130, 0.25); |
||||
} |
||||
|
||||
.navbar-button:hover { |
||||
transform: translateY(-1px); |
||||
box-shadow: 0 12px 26px rgba(32, 76, 130, 0.32); |
||||
} |
||||
|
||||
/* Search and Filters Section */ |
||||
.navbar-filters { |
||||
background-color: var(--color-surface-muted); |
||||
border-top: 1px solid var(--color-border); |
||||
padding: 16px 24px; |
||||
} |
||||
|
||||
.navbar-filters-container { |
||||
max-width: 1600px; |
||||
margin: 0 auto; |
||||
display: flex; |
||||
gap: 16px; |
||||
align-items: center; |
||||
} |
||||
|
||||
.navbar-search-form { |
||||
flex: 1; |
||||
display: flex; |
||||
gap: 8px; |
||||
max-width: 500px; |
||||
} |
||||
|
||||
.navbar-search-input { |
||||
flex: 1; |
||||
padding: 10px 14px; |
||||
border: 1px solid var(--color-border); |
||||
font-size: 14px; |
||||
background-color: var(--color-surface); |
||||
border-radius: 999px; |
||||
} |
||||
|
||||
.navbar-search-input:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
box-shadow: 0 8px 22px rgba(47, 128, 237, 0.1); |
||||
} |
||||
|
||||
.navbar-search-button { |
||||
padding: 10px 18px; |
||||
background: var(--color-primary); |
||||
border: none; |
||||
border-radius: 999px; |
||||
cursor: pointer; |
||||
font-size: 16px; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
color: white; |
||||
box-shadow: 0 10px 22px rgba(32, 76, 130, 0.25); |
||||
} |
||||
|
||||
.navbar-search-button:hover { |
||||
transform: translateY(-1px); |
||||
box-shadow: 0 14px 26px rgba(32, 76, 130, 0.32); |
||||
} |
||||
|
||||
.navbar-filter-controls { |
||||
display: flex; |
||||
gap: 12px; |
||||
align-items: center; |
||||
} |
||||
|
||||
.navbar-filter-select { |
||||
padding: 8px 12px; |
||||
border: 1px solid var(--color-border); |
||||
border-radius: 999px; |
||||
font-size: 14px; |
||||
background-color: var(--color-surface); |
||||
cursor: pointer; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.navbar-filter-select:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.18); |
||||
} |
||||
|
||||
.navbar-clear-button { |
||||
padding: 8px 12px; |
||||
background-color: transparent; |
||||
border: 1px solid var(--color-border); |
||||
border-radius: 999px; |
||||
cursor: pointer; |
||||
font-size: 14px; |
||||
white-space: nowrap; |
||||
transition: background-color 0.2s, color 0.2s; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.navbar-clear-button:hover { |
||||
background-color: rgba(47, 128, 237, 0.08); |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
/* Mobile Responsive - Second Row Layout */ |
||||
@media (max-width: 1024px) { |
||||
.navbar-filters-container { |
||||
flex-direction: column; |
||||
align-items: stretch; |
||||
gap: 12px; |
||||
} |
||||
|
||||
.navbar-search-form { |
||||
max-width: 100%; |
||||
} |
||||
|
||||
.navbar-filter-controls { |
||||
justify-content: space-between; |
||||
flex-wrap: wrap; |
||||
} |
||||
|
||||
.navbar-filter-select { |
||||
flex: 1; |
||||
min-width: 120px; |
||||
} |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.navbar-container { |
||||
padding: 8px 16px; |
||||
} |
||||
|
||||
.navbar-filters { |
||||
padding: 12px 16px; |
||||
} |
||||
|
||||
.navbar-menu { |
||||
gap: 12px; |
||||
} |
||||
|
||||
.logo-text { |
||||
display: none; |
||||
} |
||||
|
||||
.navbar-username { |
||||
display: none; |
||||
} |
||||
|
||||
.navbar-filter-controls { |
||||
gap: 8px; |
||||
} |
||||
|
||||
.navbar-clear-button { |
||||
width: 100%; |
||||
} |
||||
} |
||||
@ -1,121 +0,0 @@
@@ -1,121 +0,0 @@
|
||||
.search-filter { |
||||
background-color: var(--color-surface-muted); |
||||
border-bottom: 1px solid var(--color-border); |
||||
padding: 16px 24px; |
||||
} |
||||
|
||||
.search-filter-container { |
||||
max-width: 1600px; |
||||
margin: 0 auto; |
||||
display: flex; |
||||
gap: 16px; |
||||
align-items: center; |
||||
} |
||||
|
||||
.search-form { |
||||
flex: 1; |
||||
display: flex; |
||||
gap: 8px; |
||||
max-width: 500px; |
||||
} |
||||
|
||||
.search-input { |
||||
flex: 1; |
||||
padding: 10px 14px; |
||||
border: 1px solid var(--color-border); |
||||
border-radius: 999px; |
||||
font-size: 14px; |
||||
background-color: var(--color-surface); |
||||
} |
||||
|
||||
.search-input:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
box-shadow: 0 8px 22px rgba(47, 128, 237, 0.1); |
||||
} |
||||
|
||||
.search-button { |
||||
padding: 10px 18px; |
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); |
||||
border: none; |
||||
border-radius: 999px; |
||||
cursor: pointer; |
||||
font-size: 16px; |
||||
color: white; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
box-shadow: 0 12px 24px rgba(32, 76, 130, 0.28); |
||||
} |
||||
|
||||
.search-button:hover { |
||||
transform: translateY(-1px); |
||||
box-shadow: 0 16px 28px rgba(32, 76, 130, 0.32); |
||||
} |
||||
|
||||
.filter-controls { |
||||
display: flex; |
||||
gap: 12px; |
||||
align-items: center; |
||||
} |
||||
|
||||
.filter-select { |
||||
padding: 8px 12px; |
||||
border: 1px solid var(--color-border); |
||||
border-radius: 999px; |
||||
font-size: 14px; |
||||
background-color: var(--color-surface); |
||||
cursor: pointer; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.filter-select:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.18); |
||||
} |
||||
|
||||
.clear-button { |
||||
padding: 8px 12px; |
||||
background-color: transparent; |
||||
border: 1px solid var(--color-border); |
||||
border-radius: 999px; |
||||
cursor: pointer; |
||||
font-size: 14px; |
||||
white-space: nowrap; |
||||
transition: background-color 0.2s, color 0.2s; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.clear-button:hover { |
||||
background-color: rgba(47, 128, 237, 0.08); |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.search-filter { |
||||
padding: 12px 16px; |
||||
} |
||||
|
||||
.search-filter-container { |
||||
flex-direction: column; |
||||
align-items: stretch; |
||||
} |
||||
|
||||
.search-form { |
||||
max-width: 100%; |
||||
} |
||||
|
||||
.filter-controls { |
||||
flex-wrap: wrap; |
||||
} |
||||
|
||||
.filter-select { |
||||
flex: 1; |
||||
} |
||||
|
||||
.clear-button { |
||||
flex: 1; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,268 +0,0 @@
@@ -1,268 +0,0 @@
|
||||
.time-limit-manager { |
||||
background: var(--color-surface); |
||||
border-radius: 12px; |
||||
padding: 24px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
height: fit-content; |
||||
} |
||||
|
||||
.time-limit-header { |
||||
margin-bottom: 24px; |
||||
} |
||||
|
||||
.time-limit-header h2 { |
||||
margin: 0 0 8px 0; |
||||
font-size: 20px; |
||||
font-weight: 600; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.time-limit-header p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.time-limit-section { |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 24px; |
||||
} |
||||
|
||||
.time-limit-setting { |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 12px; |
||||
} |
||||
|
||||
.time-limit-setting label { |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.time-limit-input-group { |
||||
display: flex; |
||||
gap: 12px; |
||||
align-items: center; |
||||
} |
||||
|
||||
.time-limit-input { |
||||
flex: 1; |
||||
max-width: 200px; |
||||
padding: 10px 12px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
background: var(--color-surface-muted); |
||||
color: var(--color-text); |
||||
transition: border-color 0.2s; |
||||
} |
||||
|
||||
.time-limit-input:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
} |
||||
|
||||
.time-limit-save-btn { |
||||
padding: 10px 20px; |
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); |
||||
color: white; |
||||
border: none; |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
} |
||||
|
||||
.time-limit-save-btn:hover:not(:disabled) { |
||||
transform: translateY(-2px); |
||||
box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3); |
||||
} |
||||
|
||||
.time-limit-save-btn:disabled { |
||||
opacity: 0.5; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
.time-limit-hint { |
||||
margin: 0; |
||||
font-size: 13px; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.time-limit-status { |
||||
padding: 20px; |
||||
background: var(--color-surface-muted); |
||||
border-radius: 8px; |
||||
border: 1px solid rgba(212, 222, 239, 0.5); |
||||
} |
||||
|
||||
.time-limit-status h3 { |
||||
margin: 0 0 16px 0; |
||||
font-size: 16px; |
||||
font-weight: 600; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.time-limit-progress { |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 12px; |
||||
} |
||||
|
||||
.time-limit-progress-bar { |
||||
width: 100%; |
||||
height: 24px; |
||||
background: rgba(212, 222, 239, 0.3); |
||||
border-radius: 12px; |
||||
overflow: hidden; |
||||
position: relative; |
||||
} |
||||
|
||||
.time-limit-progress-fill { |
||||
height: 100%; |
||||
background: linear-gradient(90deg, #4a90e2, #357abd); |
||||
transition: width 0.3s ease; |
||||
border-radius: 12px; |
||||
} |
||||
|
||||
.time-limit-stats { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
font-size: 14px; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.time-used strong { |
||||
color: var(--color-primary); |
||||
} |
||||
|
||||
.time-remaining strong { |
||||
color: #4a90e2; |
||||
} |
||||
|
||||
.time-limit-actions { |
||||
margin-top: 16px; |
||||
padding-top: 16px; |
||||
border-top: 1px solid rgba(212, 222, 239, 0.5); |
||||
} |
||||
|
||||
.time-limit-reset-btn { |
||||
padding: 8px 16px; |
||||
background: transparent; |
||||
color: var(--color-primary); |
||||
border: 1px solid var(--color-primary); |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: background-color 0.2s, color 0.2s; |
||||
} |
||||
|
||||
.time-limit-reset-btn:hover { |
||||
background: var(--color-primary); |
||||
color: white; |
||||
} |
||||
|
||||
.time-limit-confirm-overlay { |
||||
position: fixed; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
background: rgba(0, 0, 0, 0.5); |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
z-index: 1000; |
||||
backdrop-filter: blur(4px); |
||||
} |
||||
|
||||
.time-limit-confirm-modal { |
||||
background: var(--color-surface); |
||||
border-radius: 12px; |
||||
padding: 24px; |
||||
max-width: 400px; |
||||
width: 90%; |
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); |
||||
} |
||||
|
||||
.time-limit-confirm-modal h3 { |
||||
margin: 0 0 12px 0; |
||||
font-size: 18px; |
||||
font-weight: 600; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.time-limit-confirm-modal p { |
||||
margin: 0 0 20px 0; |
||||
font-size: 14px; |
||||
color: var(--color-muted); |
||||
line-height: 1.5; |
||||
} |
||||
|
||||
.time-limit-confirm-actions { |
||||
display: flex; |
||||
gap: 12px; |
||||
justify-content: flex-end; |
||||
} |
||||
|
||||
.time-limit-confirm-btn { |
||||
padding: 10px 20px; |
||||
border: none; |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
} |
||||
|
||||
.time-limit-confirm-btn.confirm { |
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); |
||||
color: white; |
||||
} |
||||
|
||||
.time-limit-confirm-btn.confirm:hover { |
||||
transform: translateY(-2px); |
||||
box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3); |
||||
} |
||||
|
||||
.time-limit-confirm-btn.cancel { |
||||
background: transparent; |
||||
color: var(--color-text); |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
} |
||||
|
||||
.time-limit-confirm-btn.cancel:hover { |
||||
background: var(--color-surface-muted); |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.time-limit-manager { |
||||
padding: 16px; |
||||
} |
||||
|
||||
.time-limit-input-group { |
||||
flex-direction: column; |
||||
align-items: stretch; |
||||
} |
||||
|
||||
.time-limit-input { |
||||
max-width: 100%; |
||||
} |
||||
|
||||
.time-limit-stats { |
||||
flex-direction: column; |
||||
gap: 8px; |
||||
} |
||||
|
||||
.time-limit-confirm-modal { |
||||
padding: 20px; |
||||
} |
||||
|
||||
.time-limit-confirm-actions { |
||||
flex-direction: column; |
||||
} |
||||
} |
||||
@ -1,118 +0,0 @@
@@ -1,118 +0,0 @@
|
||||
.video-card.disabled { |
||||
opacity: 0.5; |
||||
cursor: not-allowed; |
||||
pointer-events: none; |
||||
} |
||||
|
||||
.video-card { |
||||
cursor: pointer; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
background: var(--color-surface); |
||||
border-radius: 20px; |
||||
padding: 16px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
box-shadow: 0 14px 32px rgba(32, 76, 130, 0.08); |
||||
} |
||||
|
||||
.video-card:hover { |
||||
transform: translateY(-4px); |
||||
box-shadow: 0 18px 40px rgba(32, 76, 130, 0.12); |
||||
} |
||||
|
||||
.video-thumbnail-container { |
||||
position: relative; |
||||
width: 100%; |
||||
aspect-ratio: 16 / 9; |
||||
overflow: hidden; |
||||
background-color: var(--color-surface-muted); |
||||
border-radius: 12px; |
||||
} |
||||
|
||||
.video-thumbnail { |
||||
width: 100%; |
||||
height: 100%; |
||||
object-fit: cover; |
||||
transition: transform 0.2s; |
||||
} |
||||
|
||||
.video-card:hover .video-thumbnail { |
||||
transform: scale(1.05); |
||||
} |
||||
|
||||
.video-duration { |
||||
position: absolute; |
||||
bottom: 8px; |
||||
right: 8px; |
||||
background-color: rgba(31, 42, 55, 0.85); |
||||
color: white; |
||||
padding: 2px 6px; |
||||
border-radius: 4px; |
||||
font-size: 12px; |
||||
font-weight: 500; |
||||
} |
||||
|
||||
.video-info { |
||||
display: flex; |
||||
gap: 12px; |
||||
margin-top: 12px; |
||||
} |
||||
|
||||
.channel-avatar { |
||||
width: 36px; |
||||
height: 36px; |
||||
border-radius: 50%; |
||||
flex-shrink: 0; |
||||
} |
||||
|
||||
.video-details { |
||||
flex: 1; |
||||
min-width: 0; |
||||
} |
||||
|
||||
.video-title { |
||||
font-size: 14px; |
||||
font-weight: 600; |
||||
line-height: 1.4; |
||||
color: var(--color-text); |
||||
margin: 0 0 6px 0; |
||||
overflow: hidden; |
||||
display: -webkit-box; |
||||
line-clamp: 2; |
||||
-webkit-line-clamp: 2; |
||||
-webkit-box-orient: vertical; |
||||
} |
||||
|
||||
.video-metadata { |
||||
margin: 0; |
||||
font-size: 12px; |
||||
color: var(--color-muted); |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 2px; |
||||
} |
||||
|
||||
.channel-name { |
||||
font-weight: 400; |
||||
} |
||||
|
||||
.video-stats { |
||||
font-weight: 400; |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.channel-avatar { |
||||
width: 32px; |
||||
height: 32px; |
||||
} |
||||
|
||||
.video-title { |
||||
font-size: 13px; |
||||
} |
||||
|
||||
.video-metadata { |
||||
font-size: 11px; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,167 +0,0 @@
@@ -1,167 +0,0 @@
|
||||
.video-grid.disabled { |
||||
pointer-events: none; |
||||
} |
||||
|
||||
.video-grid { |
||||
display: grid; |
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); |
||||
gap: 24px; |
||||
padding: 32px 24px; |
||||
max-width: 1600px; |
||||
margin: 0 auto; |
||||
} |
||||
|
||||
.skeleton-card { |
||||
animation: pulse 1.5s ease-in-out infinite; |
||||
} |
||||
|
||||
.skeleton-thumbnail { |
||||
width: 100%; |
||||
aspect-ratio: 16 / 9; |
||||
background-color: var(--color-surface-muted); |
||||
border-radius: 16px; |
||||
} |
||||
|
||||
.skeleton-info { |
||||
display: flex; |
||||
gap: 12px; |
||||
margin-top: 12px; |
||||
} |
||||
|
||||
.skeleton-avatar { |
||||
width: 36px; |
||||
height: 36px; |
||||
border-radius: 50%; |
||||
background-color: var(--color-surface-muted); |
||||
} |
||||
|
||||
.skeleton-text { |
||||
flex: 1; |
||||
} |
||||
|
||||
.skeleton-title { |
||||
height: 16px; |
||||
background-color: var(--color-surface-muted); |
||||
border-radius: 4px; |
||||
margin-bottom: 8px; |
||||
} |
||||
|
||||
.skeleton-meta { |
||||
height: 12px; |
||||
width: 60%; |
||||
background-color: var(--color-surface-muted); |
||||
border-radius: 4px; |
||||
} |
||||
|
||||
@keyframes pulse { |
||||
0%, 100% { |
||||
opacity: 1; |
||||
} |
||||
50% { |
||||
opacity: 0.5; |
||||
} |
||||
} |
||||
|
||||
.error-message { |
||||
text-align: center; |
||||
padding: 48px 24px; |
||||
color: var(--color-primary-dark); |
||||
} |
||||
|
||||
.empty-state { |
||||
text-align: center; |
||||
padding: 48px 24px; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.empty-state h2 { |
||||
margin: 0 0 8px 0; |
||||
font-size: 20px; |
||||
font-weight: 500; |
||||
} |
||||
|
||||
.empty-state p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.pagination { |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
gap: 12px; |
||||
padding: 32px 24px 48px; |
||||
margin: 0 auto; |
||||
max-width: 1600px; |
||||
} |
||||
|
||||
.pagination-button { |
||||
padding: 8px 16px; |
||||
background-color: var(--color-secondary); |
||||
border: none; |
||||
border-radius: 999px; |
||||
cursor: pointer; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
color: white; |
||||
box-shadow: 0 12px 26px rgba(32, 76, 130, 0.2); |
||||
} |
||||
|
||||
.pagination-button:hover:not(:disabled) { |
||||
transform: translateY(-2px); |
||||
box-shadow: 0 16px 30px rgba(32, 76, 130, 0.28); |
||||
} |
||||
|
||||
.pagination-button:disabled { |
||||
opacity: 0.5; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
.pagination-numbers { |
||||
display: flex; |
||||
gap: 4px; |
||||
} |
||||
|
||||
.pagination-number { |
||||
width: 36px; |
||||
height: 36px; |
||||
background-color: var(--color-surface); |
||||
border: 1px solid transparent; |
||||
border-radius: 999px; |
||||
cursor: pointer; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
transition: background-color 0.2s, color 0.2s, border-color 0.2s; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.pagination-number:hover { |
||||
background-color: rgba(47, 128, 237, 0.12); |
||||
border-color: rgba(47, 128, 237, 0.5); |
||||
} |
||||
|
||||
.pagination-number.active { |
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); |
||||
color: white; |
||||
border-color: transparent; |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.video-grid { |
||||
grid-template-columns: 1fr; |
||||
gap: 16px; |
||||
padding: 16px; |
||||
} |
||||
|
||||
.pagination { |
||||
padding: 16px; |
||||
} |
||||
|
||||
.pagination-numbers { |
||||
display: none; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,154 +0,0 @@
@@ -1,154 +0,0 @@
|
||||
.modal-overlay { |
||||
position: fixed; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
background-color: rgba(0, 0, 0, 0.9); |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
z-index: 1000; |
||||
padding: 20px; |
||||
} |
||||
|
||||
.modal-content { |
||||
position: relative; |
||||
width: 100%; |
||||
max-width: 1200px; |
||||
background-color: #000; |
||||
border-radius: 8px; |
||||
overflow: hidden; |
||||
} |
||||
|
||||
.close-button { |
||||
position: absolute; |
||||
top: -40px; |
||||
right: 0; |
||||
background: none; |
||||
border: none; |
||||
color: white; |
||||
font-size: 40px; |
||||
cursor: pointer; |
||||
padding: 0; |
||||
width: 40px; |
||||
height: 40px; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
z-index: 1001; |
||||
} |
||||
|
||||
.close-button:hover { |
||||
opacity: 0.7; |
||||
} |
||||
|
||||
.video-container { |
||||
position: relative; |
||||
width: 100%; |
||||
padding-bottom: 56.25%; /* 16:9 aspect ratio */ |
||||
} |
||||
|
||||
.video-container iframe { |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
width: 100%; |
||||
height: 100%; |
||||
border: none; |
||||
} |
||||
|
||||
.time-remaining-indicator { |
||||
position: absolute; |
||||
top: 10px; |
||||
left: 10px; |
||||
background-color: rgba(0, 0, 0, 0.7); |
||||
color: white; |
||||
padding: 8px 12px; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
z-index: 1002; |
||||
font-weight: 500; |
||||
} |
||||
|
||||
.time-limit-message { |
||||
padding: 60px 40px; |
||||
text-align: center; |
||||
color: white; |
||||
min-height: 400px; |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
} |
||||
|
||||
.time-limit-message h2 { |
||||
font-size: 28px; |
||||
margin-bottom: 16px; |
||||
color: #ff6b6b; |
||||
} |
||||
|
||||
.time-limit-message p { |
||||
font-size: 18px; |
||||
margin-bottom: 24px; |
||||
opacity: 0.9; |
||||
} |
||||
|
||||
.time-limit-button { |
||||
background-color: #4a90e2; |
||||
color: white; |
||||
border: none; |
||||
padding: 12px 24px; |
||||
border-radius: 6px; |
||||
font-size: 16px; |
||||
cursor: pointer; |
||||
font-weight: 500; |
||||
transition: background-color 0.2s; |
||||
} |
||||
|
||||
.time-limit-button:hover { |
||||
background-color: #357abd; |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.modal-overlay { |
||||
padding: 0; |
||||
} |
||||
|
||||
.modal-content { |
||||
max-width: 100%; |
||||
border-radius: 0; |
||||
} |
||||
|
||||
.close-button { |
||||
top: 10px; |
||||
right: 10px; |
||||
background-color: rgba(0, 0, 0, 0.7); |
||||
border-radius: 50%; |
||||
width: 36px; |
||||
height: 36px; |
||||
font-size: 32px; |
||||
} |
||||
|
||||
.time-remaining-indicator { |
||||
top: 50px; |
||||
left: 10px; |
||||
font-size: 12px; |
||||
padding: 6px 10px; |
||||
} |
||||
|
||||
.time-limit-message { |
||||
padding: 40px 20px; |
||||
} |
||||
|
||||
.time-limit-message h2 { |
||||
font-size: 24px; |
||||
} |
||||
|
||||
.time-limit-message p { |
||||
font-size: 16px; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,371 +0,0 @@
@@ -1,371 +0,0 @@
|
||||
.word-group-manager { |
||||
width: 100%; |
||||
padding: 24px; |
||||
background: var(--color-surface); |
||||
border-radius: 12px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
} |
||||
|
||||
.word-group-header { |
||||
margin-bottom: 24px; |
||||
} |
||||
|
||||
.word-group-header h2 { |
||||
margin: 0 0 8px 0; |
||||
font-size: 20px; |
||||
font-weight: 600; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.word-group-header p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.create-group-form { |
||||
display: flex; |
||||
gap: 12px; |
||||
margin-bottom: 24px; |
||||
} |
||||
|
||||
.group-name-input { |
||||
flex: 1; |
||||
padding: 12px 16px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
background: var(--color-surface-muted); |
||||
color: var(--color-text); |
||||
transition: border-color 0.2s; |
||||
} |
||||
|
||||
.group-name-input:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
} |
||||
|
||||
.create-group-btn { |
||||
padding: 12px 24px; |
||||
background: linear-gradient( |
||||
135deg, |
||||
var(--color-primary), |
||||
var(--color-secondary) |
||||
); |
||||
color: white; |
||||
border: none; |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: |
||||
transform 0.2s, |
||||
box-shadow 0.2s; |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.create-group-btn:hover:not(:disabled) { |
||||
transform: translateY(-2px); |
||||
box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3); |
||||
} |
||||
|
||||
.create-group-btn:disabled { |
||||
opacity: 0.5; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
.empty-state { |
||||
text-align: center; |
||||
padding: 48px 24px; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.empty-state p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.groups-list { |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 16px; |
||||
} |
||||
|
||||
.word-group-card { |
||||
background: var(--color-surface-muted); |
||||
border: 1px solid rgba(212, 222, 239, 0.5); |
||||
border-radius: 8px; |
||||
overflow: hidden; |
||||
} |
||||
|
||||
.group-header { |
||||
padding: 16px; |
||||
background: var(--color-surface); |
||||
border-bottom: 1px solid rgba(212, 222, 239, 0.5); |
||||
} |
||||
|
||||
.group-info { |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
} |
||||
|
||||
.group-name { |
||||
margin: 0; |
||||
font-size: 18px; |
||||
font-weight: 600; |
||||
color: var(--color-text); |
||||
cursor: pointer; |
||||
display: flex; |
||||
align-items: center; |
||||
gap: 8px; |
||||
transition: color 0.2s; |
||||
} |
||||
|
||||
.group-name:hover { |
||||
color: var(--color-primary); |
||||
} |
||||
|
||||
.word-count { |
||||
font-size: 14px; |
||||
font-weight: 400; |
||||
color: var(--color-muted); |
||||
} |
||||
|
||||
.group-actions { |
||||
display: flex; |
||||
gap: 8px; |
||||
} |
||||
|
||||
.edit-btn, |
||||
.delete-btn { |
||||
background: transparent; |
||||
border: none; |
||||
font-size: 18px; |
||||
cursor: pointer; |
||||
padding: 4px 8px; |
||||
border-radius: 4px; |
||||
transition: background-color 0.2s; |
||||
} |
||||
|
||||
.edit-btn:hover, |
||||
.delete-btn:hover { |
||||
background: rgba(212, 222, 239, 0.3); |
||||
} |
||||
|
||||
.edit-group-form { |
||||
display: flex; |
||||
gap: 8px; |
||||
align-items: center; |
||||
} |
||||
|
||||
.edit-group-input { |
||||
flex: 1; |
||||
padding: 8px 12px; |
||||
border: 1px solid var(--color-primary); |
||||
border-radius: 4px; |
||||
font-size: 16px; |
||||
font-weight: 600; |
||||
background: var(--color-surface-muted); |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.edit-group-input:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
} |
||||
|
||||
.save-btn, |
||||
.cancel-btn { |
||||
padding: 8px 16px; |
||||
border: none; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: background-color 0.2s; |
||||
} |
||||
|
||||
.save-btn { |
||||
background: var(--color-primary); |
||||
color: white; |
||||
} |
||||
|
||||
.save-btn:hover { |
||||
background: var(--color-secondary); |
||||
} |
||||
|
||||
.cancel-btn { |
||||
background: transparent; |
||||
color: var(--color-text); |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
} |
||||
|
||||
.cancel-btn:hover { |
||||
background: var(--color-surface-muted); |
||||
} |
||||
|
||||
.group-content { |
||||
padding: 16px; |
||||
} |
||||
|
||||
.words-list { |
||||
margin-bottom: 16px; |
||||
} |
||||
|
||||
.no-words { |
||||
text-align: center; |
||||
color: var(--color-muted); |
||||
font-size: 14px; |
||||
margin: 16px 0; |
||||
} |
||||
|
||||
.words-grid { |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
gap: 8px; |
||||
margin-bottom: 16px; |
||||
} |
||||
|
||||
.word-item { |
||||
display: inline-flex; |
||||
align-items: center; |
||||
justify-content: space-between; |
||||
padding: 8px 16px; |
||||
background: var(--color-surface); |
||||
border: 1px solid rgba(212, 222, 239, 0.5); |
||||
border-radius: 999px; |
||||
transition: |
||||
border-color 0.2s, |
||||
background-color 0.2s; |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.word-item:hover { |
||||
border-color: var(--color-primary); |
||||
background: var(--color-surface-muted); |
||||
} |
||||
|
||||
.practice-area { |
||||
.word-text { |
||||
font-size: 48px; |
||||
text-transform: none; |
||||
} |
||||
} |
||||
.word-text { |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
color: var(--color-text); |
||||
margin-right: 8px; |
||||
line-height: 1.2; |
||||
display: inline-block; |
||||
vertical-align: middle; |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.delete-word-btn { |
||||
background: transparent; |
||||
border: none; |
||||
color: var(--color-muted); |
||||
font-size: 20px; |
||||
line-height: 1; |
||||
cursor: pointer; |
||||
padding: 0; |
||||
width: 20px; |
||||
height: 20px; |
||||
display: inline-flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
border-radius: 50%; |
||||
flex-shrink: 0; |
||||
margin-left: 4px; |
||||
vertical-align: middle; |
||||
transition: |
||||
background-color 0.2s, |
||||
color 0.2s; |
||||
} |
||||
|
||||
.delete-word-btn:hover { |
||||
background: rgba(220, 53, 69, 0.1); |
||||
color: #dc3545; |
||||
} |
||||
|
||||
.add-word-form { |
||||
display: flex; |
||||
gap: 8px; |
||||
} |
||||
|
||||
.word-input { |
||||
flex: 1; |
||||
padding: 10px 12px; |
||||
border: 1px solid rgba(212, 222, 239, 0.8); |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
background: var(--color-surface); |
||||
color: var(--color-text); |
||||
transition: border-color 0.2s; |
||||
} |
||||
|
||||
.word-input:focus { |
||||
outline: none; |
||||
border-color: var(--color-primary); |
||||
} |
||||
|
||||
.add-word-btn { |
||||
padding: 10px 20px; |
||||
background: var(--color-primary); |
||||
color: white; |
||||
border: none; |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: background-color 0.2s; |
||||
white-space: nowrap; |
||||
} |
||||
|
||||
.add-word-btn:hover:not(:disabled) { |
||||
background: var(--color-secondary); |
||||
} |
||||
|
||||
.add-word-btn:disabled { |
||||
opacity: 0.5; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
.alert { |
||||
padding: 12px 16px; |
||||
border-radius: 6px; |
||||
margin-bottom: 16px; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.alert-error { |
||||
background-color: #fef2f2; |
||||
color: #991b1b; |
||||
border: 1px solid #fecaca; |
||||
} |
||||
|
||||
@media (max-width: 768px) { |
||||
.word-group-manager { |
||||
padding: 16px; |
||||
} |
||||
|
||||
.create-group-form { |
||||
flex-direction: column; |
||||
} |
||||
|
||||
.group-info { |
||||
flex-direction: column; |
||||
align-items: flex-start; |
||||
gap: 12px; |
||||
} |
||||
|
||||
.group-actions { |
||||
align-self: flex-end; |
||||
} |
||||
|
||||
.add-word-form { |
||||
flex-direction: column; |
||||
} |
||||
} |
||||
@ -1,206 +0,0 @@
@@ -1,206 +0,0 @@
|
||||
.admin-page { |
||||
min-height: calc(100vh - 60px); |
||||
background-color: #f9f9f9; |
||||
} |
||||
|
||||
.admin-header { |
||||
background-color: #fff; |
||||
border-bottom: 1px solid #e5e5e5; |
||||
padding: 32px 24px; |
||||
text-align: center; |
||||
} |
||||
|
||||
.admin-header h1 { |
||||
margin: 0 0 8px 0; |
||||
font-size: 28px; |
||||
font-weight: 500; |
||||
color: #030303; |
||||
} |
||||
|
||||
.admin-header p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
color: #606060; |
||||
} |
||||
|
||||
.back-button { |
||||
margin-bottom: 16px; |
||||
padding: 8px 16px; |
||||
background: transparent; |
||||
border: 1px solid #e5e5e5; |
||||
border-radius: 6px; |
||||
color: #030303; |
||||
font-size: 14px; |
||||
cursor: pointer; |
||||
transition: background-color 0.2s; |
||||
} |
||||
|
||||
.back-button:hover { |
||||
background-color: #f5f5f5; |
||||
} |
||||
|
||||
.admin-section-link { |
||||
margin-top: 24px; |
||||
padding-top: 24px; |
||||
border-top: 1px solid #e5e5e5; |
||||
} |
||||
|
||||
.section-link-button { |
||||
display: block; |
||||
width: 100%; |
||||
padding: 12px 20px; |
||||
background: linear-gradient(135deg, #4a90e2, #357abd); |
||||
color: white; |
||||
border: none; |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
text-align: center; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.section-link-button:hover { |
||||
transform: translateY(-2px); |
||||
box-shadow: 0 4px 12px rgba(47, 128, 237, 0.3); |
||||
color: white; |
||||
} |
||||
|
||||
.back-button { |
||||
display: inline-block; |
||||
margin-bottom: 16px; |
||||
padding: 8px 16px; |
||||
background: transparent; |
||||
border: 1px solid #e5e5e5; |
||||
border-radius: 6px; |
||||
color: #030303; |
||||
font-size: 14px; |
||||
cursor: pointer; |
||||
transition: background-color 0.2s; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.back-button:hover { |
||||
background-color: #f5f5f5; |
||||
color: #030303; |
||||
} |
||||
|
||||
.admin-content { |
||||
display: grid; |
||||
grid-template-columns: 1fr 1fr; |
||||
gap: 24px; |
||||
padding: 24px; |
||||
max-width: 1600px; |
||||
margin: 0 auto; |
||||
} |
||||
|
||||
.admin-column { |
||||
display: flex; |
||||
flex-direction: column; |
||||
} |
||||
|
||||
.admin-links-grid { |
||||
display: grid; |
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
||||
gap: 24px; |
||||
padding: 24px; |
||||
max-width: 1200px; |
||||
margin: 0 auto; |
||||
} |
||||
|
||||
.admin-link-card { |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
text-align: center; |
||||
padding: 32px 24px; |
||||
background: white; |
||||
border: 1px solid #e5e5e5; |
||||
border-radius: 12px; |
||||
text-decoration: none; |
||||
color: #030303; |
||||
transition: transform 0.2s, box-shadow 0.2s; |
||||
} |
||||
|
||||
.admin-link-card:hover { |
||||
transform: translateY(-4px); |
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); |
||||
color: #030303; |
||||
} |
||||
|
||||
.admin-link-icon { |
||||
font-size: 48px; |
||||
margin-bottom: 16px; |
||||
} |
||||
|
||||
.admin-link-card h2 { |
||||
margin: 0 0 8px 0; |
||||
font-size: 24px; |
||||
font-weight: 500; |
||||
color: #030303; |
||||
} |
||||
|
||||
.admin-link-card p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
color: #606060; |
||||
line-height: 1.5; |
||||
} |
||||
|
||||
.refresh-videos-button { |
||||
padding: 10px 20px; |
||||
background: var(--color-primary); |
||||
color: white; |
||||
border: none; |
||||
border-radius: 8px; |
||||
font-size: 14px; |
||||
font-weight: 600; |
||||
cursor: pointer; |
||||
transition: all 0.2s; |
||||
box-shadow: 0 2px 8px var(--color-shadow); |
||||
} |
||||
|
||||
.refresh-videos-button:hover:not(:disabled) { |
||||
transform: translateY(-2px); |
||||
box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3); |
||||
} |
||||
|
||||
.refresh-videos-button:disabled { |
||||
opacity: 0.6; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
.refresh-message { |
||||
margin-top: 12px; |
||||
padding: 8px 12px; |
||||
border-radius: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
} |
||||
|
||||
.refresh-message.success { |
||||
background-color: #d4edda; |
||||
color: #155724; |
||||
border: 1px solid #c3e6cb; |
||||
} |
||||
|
||||
.refresh-message.error { |
||||
background-color: #f8d7da; |
||||
color: #721c24; |
||||
border: 1px solid #f5c6cb; |
||||
} |
||||
|
||||
@media (max-width: 1024px) { |
||||
.admin-content { |
||||
grid-template-columns: 1fr; |
||||
} |
||||
|
||||
.admin-links-grid { |
||||
grid-template-columns: 1fr; |
||||
padding: 16px; |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,143 +0,0 @@
@@ -1,143 +0,0 @@
|
||||
.landing-page { |
||||
max-width: 1100px; |
||||
margin: 0 auto; |
||||
padding: 48px 24px 72px; |
||||
color: var(--color-text); |
||||
} |
||||
|
||||
.landing-page.menu { |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 32px; |
||||
} |
||||
|
||||
.menu-header h1 { |
||||
font-size: 2.5rem; |
||||
margin: 12px 0; |
||||
font-family: var(--font-playful); |
||||
font-weight: 800; |
||||
background: var(--gradient-primary-text); |
||||
-webkit-background-clip: text; |
||||
-webkit-text-fill-color: transparent; |
||||
background-clip: text; |
||||
} |
||||
|
||||
.menu-header p { |
||||
color: var(--color-muted); |
||||
margin: 0; |
||||
font-weight: 600; |
||||
font-size: 1.1rem; |
||||
} |
||||
|
||||
.eyebrow { |
||||
text-transform: uppercase; |
||||
letter-spacing: 0.18em; |
||||
font-size: 0.8rem; |
||||
color: var(--color-secondary-dark); |
||||
} |
||||
|
||||
.app-grid { |
||||
display: grid; |
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); |
||||
gap: 24px; |
||||
} |
||||
|
||||
.app-card { |
||||
border-radius: 24px; |
||||
background: var(--color-surface); |
||||
border: 3px solid var(--color-primary); |
||||
padding: 28px; |
||||
box-shadow: 0 8px 24px var(--color-shadow); |
||||
display: flex; |
||||
flex-direction: column; |
||||
gap: 12px; |
||||
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); |
||||
} |
||||
|
||||
.app-card:hover:not(.disabled) { |
||||
transform: translateY(-6px) scale(1.02); |
||||
box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25); |
||||
border-color: var(--color-secondary); |
||||
} |
||||
|
||||
.app-card header { |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: space-between; |
||||
gap: 12px; |
||||
} |
||||
|
||||
.app-card h2 { |
||||
margin: 0; |
||||
font-size: 1.5rem; |
||||
font-family: var(--font-playful); |
||||
font-weight: 800; |
||||
background: var(--gradient-primary-text); |
||||
-webkit-background-clip: text; |
||||
-webkit-text-fill-color: transparent; |
||||
background-clip: text; |
||||
} |
||||
|
||||
.app-card p { |
||||
margin: 0; |
||||
color: var(--color-muted); |
||||
flex: 1; |
||||
} |
||||
|
||||
.app-card .tag { |
||||
font-size: 0.75rem; |
||||
background: rgba(31, 59, 115, 0.08); |
||||
color: var(--color-primary-dark); |
||||
padding: 4px 10px; |
||||
border-radius: 999px; |
||||
} |
||||
|
||||
.app-actions { |
||||
margin-top: auto; |
||||
} |
||||
|
||||
.app-actions a, |
||||
.app-actions button { |
||||
display: inline-flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
padding: 12px 24px; |
||||
border-radius: 25px; |
||||
font-weight: 700; |
||||
font-family: var(--font-playful); |
||||
text-decoration: none; |
||||
border: 3px solid var(--color-primary); |
||||
background: var(--color-primary); |
||||
color: white; |
||||
box-shadow: 0 4px 12px var(--color-shadow); |
||||
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); |
||||
} |
||||
|
||||
.app-actions a:hover, |
||||
.app-actions button:hover:not(:disabled) { |
||||
transform: translateY(-4px) scale(1.05); |
||||
box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4); |
||||
border-color: var(--color-secondary); |
||||
} |
||||
|
||||
.app-card.disabled { |
||||
opacity: 0.5; |
||||
} |
||||
|
||||
.app-card.disabled .app-actions button { |
||||
background: transparent; |
||||
color: var(--color-muted); |
||||
border: 1px dashed var(--color-border); |
||||
box-shadow: none; |
||||
} |
||||
|
||||
@media (max-width: 600px) { |
||||
.landing-page { |
||||
padding: 32px 16px 56px; |
||||
} |
||||
|
||||
.menu-header h1 { |
||||
font-size: 2rem; |
||||
} |
||||
} |
||||
|
||||
@ -1,101 +0,0 @@
@@ -1,101 +0,0 @@
|
||||
.login-page { |
||||
min-height: calc(100vh - 60px); |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
background-color: #f9f9f9; |
||||
padding: 24px; |
||||
} |
||||
|
||||
.login-container { |
||||
width: 100%; |
||||
max-width: 400px; |
||||
background-color: white; |
||||
border-radius: 8px; |
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
||||
overflow: hidden; |
||||
} |
||||
|
||||
.login-header { |
||||
padding: 32px 32px 24px; |
||||
text-align: center; |
||||
border-bottom: 1px solid #e5e5e5; |
||||
} |
||||
|
||||
.login-header h1 { |
||||
margin: 0 0 8px 0; |
||||
font-size: 24px; |
||||
font-weight: 500; |
||||
color: #030303; |
||||
} |
||||
|
||||
.login-header p { |
||||
margin: 0; |
||||
font-size: 14px; |
||||
color: #606060; |
||||
} |
||||
|
||||
.login-form { |
||||
padding: 32px; |
||||
} |
||||
|
||||
.login-error { |
||||
padding: 12px; |
||||
background-color: #fef2f2; |
||||
color: #991b1b; |
||||
border: 1px solid #fecaca; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
margin-bottom: 24px; |
||||
} |
||||
|
||||
.form-group { |
||||
margin-bottom: 20px; |
||||
} |
||||
|
||||
.form-group label { |
||||
display: block; |
||||
margin-bottom: 6px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
color: #030303; |
||||
} |
||||
|
||||
.form-group input { |
||||
width: 100%; |
||||
padding: 10px 12px; |
||||
border: 1px solid #ccc; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
box-sizing: border-box; |
||||
} |
||||
|
||||
.form-group input:focus { |
||||
outline: none; |
||||
border-color: #065fd4; |
||||
} |
||||
|
||||
.login-button { |
||||
width: 100%; |
||||
padding: 12px; |
||||
background-color: #065fd4; |
||||
color: white; |
||||
border: none; |
||||
border-radius: 4px; |
||||
font-size: 14px; |
||||
font-weight: 500; |
||||
cursor: pointer; |
||||
transition: background-color 0.2s; |
||||
} |
||||
|
||||
.login-button:hover:not(:disabled) { |
||||
background-color: #0556c4; |
||||
} |
||||
|
||||
.login-button:disabled { |
||||
opacity: 0.6; |
||||
cursor: not-allowed; |
||||
} |
||||
|
||||
|
||||
|
||||
@ -1,18 +1,22 @@
@@ -1,18 +1,22 @@
|
||||
import { WordGroupManager } from '../components/WordGroupManager/WordGroupManager'; |
||||
import { Link } from 'react-router-dom'; |
||||
import './AdminPage.css'; |
||||
|
||||
export function SpeechSoundsAdminPage() { |
||||
return ( |
||||
<div className="admin-page"> |
||||
<div className="admin-header"> |
||||
<Link to="/admin" className="back-button"> |
||||
<div className="min-h-[calc(100vh-60px)] bg-background"> |
||||
<div className="bg-card border-b border-border py-8 px-6 text-center"> |
||||
<Link
|
||||
to="/admin"
|
||||
className="inline-block mb-4 px-4 py-2 bg-transparent border border-border rounded-md text-foreground text-sm cursor-pointer transition-colors no-underline hover:bg-muted" |
||||
> |
||||
← Back to Admin |
||||
</Link> |
||||
<h1>Speech Sounds - Word Groups</h1> |
||||
<p>Manage word groups for speech sound practice</p> |
||||
<h1 className="m-0 mb-2 text-[28px] font-medium text-foreground">Speech Sounds - Word Groups</h1> |
||||
<p className="m-0 text-sm text-muted-foreground">Manage word groups for speech sound practice</p> |
||||
</div> |
||||
<div className="max-w-[1200px] mx-auto p-6"> |
||||
<WordGroupManager /> |
||||
</div> |
||||
</div> |
||||
); |
||||
} |
||||
|
||||
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
.time-limit-banner { |
||||
background-color: #ff6b6b; |
||||
color: white; |
||||
padding: 12px 20px; |
||||
text-align: center; |
||||
font-weight: 500; |
||||
margin-bottom: 20px; |
||||
border-radius: 4px; |
||||
} |
||||
|
||||
.time-limit-banner p { |
||||
margin: 0; |
||||
} |
||||
Loading…
Reference in new issue