364 lines
6.3 KiB
CSS
364 lines
6.3 KiB
CSS
|
|
/* SecuBox App Store Styles */
|
||
|
|
|
||
|
|
.secubox-apps-page {
|
||
|
|
min-height: 100vh;
|
||
|
|
padding: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.secubox-apps-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||
|
|
gap: 1.5rem;
|
||
|
|
margin-top: 1.5rem;
|
||
|
|
padding: 0 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-card {
|
||
|
|
background: var(--card-bg, #1a1a2e);
|
||
|
|
border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
|
||
|
|
border-radius: 12px;
|
||
|
|
padding: 1.5rem;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-card:hover {
|
||
|
|
transform: translateY(-4px);
|
||
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
|
||
|
|
border-color: var(--primary-color, #00d9ff);
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1rem;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-icon {
|
||
|
|
font-size: 2.5rem;
|
||
|
|
width: 3rem;
|
||
|
|
height: 3rem;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: var(--primary-color-transparent, rgba(0, 217, 255, 0.1));
|
||
|
|
border-radius: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-title {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-title h3 {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 1.25rem;
|
||
|
|
color: var(--text-primary, #ffffff);
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-version {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.6));
|
||
|
|
font-weight: 400;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-status {
|
||
|
|
position: absolute;
|
||
|
|
top: 0;
|
||
|
|
right: 0;
|
||
|
|
padding: 0.25rem 0.75rem;
|
||
|
|
border-radius: 12px;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
font-weight: 600;
|
||
|
|
text-transform: uppercase;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-status.status-stable {
|
||
|
|
background: rgba(34, 197, 94, 0.2);
|
||
|
|
color: #22c55e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-status.status-beta {
|
||
|
|
background: rgba(59, 130, 246, 0.2);
|
||
|
|
color: #3b82f6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-status.status-alpha {
|
||
|
|
background: rgba(251, 146, 60, 0.2);
|
||
|
|
color: #fb923c;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-status.status-dev {
|
||
|
|
background: rgba(168, 85, 247, 0.2);
|
||
|
|
color: #a855f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-description {
|
||
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.7));
|
||
|
|
line-height: 1.6;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-notes {
|
||
|
|
background: rgba(251, 191, 36, 0.1);
|
||
|
|
border-left: 3px solid #fbbf24;
|
||
|
|
padding: 0.75rem;
|
||
|
|
margin: 1rem 0;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.8));
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-notes strong {
|
||
|
|
color: #fbbf24;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-luci {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
margin: 0.75rem 0;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--primary-color, #00d9ff);
|
||
|
|
}
|
||
|
|
|
||
|
|
.luci-icon {
|
||
|
|
font-size: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions {
|
||
|
|
display: flex;
|
||
|
|
gap: 0.75rem;
|
||
|
|
margin-top: 1.5rem;
|
||
|
|
padding-top: 1rem;
|
||
|
|
border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn {
|
||
|
|
flex: 1;
|
||
|
|
padding: 0.625rem 1rem;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-weight: 500;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
border: none;
|
||
|
|
font-size: 0.9375rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn-primary {
|
||
|
|
background: var(--primary-color, #00d9ff);
|
||
|
|
color: #000;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn-primary:hover {
|
||
|
|
background: var(--primary-hover, #00bce6);
|
||
|
|
transform: translateY(-1px);
|
||
|
|
box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn-secondary {
|
||
|
|
background: rgba(239, 68, 68, 0.2);
|
||
|
|
color: #ef4444;
|
||
|
|
border: 1px solid #ef4444;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn-secondary:hover {
|
||
|
|
background: rgba(239, 68, 68, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn-link {
|
||
|
|
background: transparent;
|
||
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.7));
|
||
|
|
border: 1px solid var(--card-border, rgba(255, 255, 255, 0.2));
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn-link:hover {
|
||
|
|
background: rgba(255, 255, 255, 0.05);
|
||
|
|
color: var(--text-primary, #ffffff);
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-actions .btn:disabled {
|
||
|
|
opacity: 0.5;
|
||
|
|
cursor: not-allowed;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Empty State */
|
||
|
|
.empty-state {
|
||
|
|
grid-column: 1 / -1;
|
||
|
|
text-align: center;
|
||
|
|
padding: 4rem 2rem;
|
||
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.6));
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-icon {
|
||
|
|
font-size: 4rem;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.empty-state h3 {
|
||
|
|
color: var(--text-primary, #ffffff);
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* App Details Modal */
|
||
|
|
.app-details-modal {
|
||
|
|
max-width: 600px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1.5rem;
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
padding-bottom: 1rem;
|
||
|
|
border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-icon-large {
|
||
|
|
font-size: 4rem;
|
||
|
|
width: 5rem;
|
||
|
|
height: 5rem;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: var(--primary-color-transparent, rgba(0, 217, 255, 0.1));
|
||
|
|
border-radius: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-body {
|
||
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.8));
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-description-full {
|
||
|
|
line-height: 1.6;
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-notes-box {
|
||
|
|
background: rgba(251, 191, 36, 0.1);
|
||
|
|
border-left: 3px solid #fbbf24;
|
||
|
|
padding: 1rem;
|
||
|
|
margin: 1.5rem 0;
|
||
|
|
border-radius: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-notes-box strong {
|
||
|
|
color: #fbbf24;
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-meta {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
gap: 1rem;
|
||
|
|
margin: 1.5rem 0;
|
||
|
|
padding: 1rem;
|
||
|
|
background: rgba(255, 255, 255, 0.03);
|
||
|
|
border-radius: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.meta-item {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.meta-item strong {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
text-transform: uppercase;
|
||
|
|
color: var(--text-tertiary, rgba(255, 255, 255, 0.5));
|
||
|
|
}
|
||
|
|
|
||
|
|
.meta-item span {
|
||
|
|
color: var(--text-primary, #ffffff);
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-dependencies {
|
||
|
|
margin: 1.5rem 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-dependencies strong {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 0.75rem;
|
||
|
|
color: var(--text-primary, #ffffff);
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-dependencies ul {
|
||
|
|
list-style: none;
|
||
|
|
padding: 0;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-dependencies li {
|
||
|
|
padding: 0.5rem;
|
||
|
|
background: rgba(255, 255, 255, 0.03);
|
||
|
|
margin-bottom: 0.25rem;
|
||
|
|
border-radius: 4px;
|
||
|
|
font-family: monospace;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-tags {
|
||
|
|
margin: 1.5rem 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-tags strong {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 0.75rem;
|
||
|
|
color: var(--text-primary, #ffffff);
|
||
|
|
}
|
||
|
|
|
||
|
|
.tags-list {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tag {
|
||
|
|
padding: 0.375rem 0.75rem;
|
||
|
|
background: rgba(0, 217, 255, 0.1);
|
||
|
|
color: var(--primary-color, #00d9ff);
|
||
|
|
border-radius: 16px;
|
||
|
|
font-size: 0.8125rem;
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-links {
|
||
|
|
margin-top: 1.5rem;
|
||
|
|
padding-top: 1.5rem;
|
||
|
|
border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-links .btn-link {
|
||
|
|
display: inline-block;
|
||
|
|
padding: 0.625rem 1.25rem;
|
||
|
|
background: var(--primary-color, #00d9ff);
|
||
|
|
color: #000;
|
||
|
|
text-decoration: none;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-weight: 500;
|
||
|
|
transition: all 0.2s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-links .btn-link:hover {
|
||
|
|
background: var(--primary-hover, #00bce6);
|
||
|
|
transform: translateY(-1px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.secubox-apps-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
gap: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-meta {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
}
|