Portal (luci-app-secubox-portal): - Fix service status showing 0/9 by checking if init scripts exist - Only count installed services in status display - Use pgrep fallback when init script status fails nDPId Dashboard (luci-app-ndpid): - Add default /etc/config/ndpid configuration - Add /etc/init.d/ndpid-compat init script - Enable compat service in postinst for app detection - Fix Makefile to install init script and config CrowdSec Dashboard: - Add CLAUDE.md with OpenWrt-specific guidelines (pgrep without -x) - CSS fixes for hiding LuCI left menu in all views - LAPI repair improvements with retry logic New Packages: - secubox-app-crowdsec: OpenWrt-native CrowdSec package - secubox-app-netifyd: Netifyd DPI integration - luci-app-secubox: Core SecuBox hub - luci-theme-secubox: Custom theme Removed: - luci-app-secubox-crowdsec (replaced by crowdsec-dashboard) - secubox-crowdsec-setup (functionality moved to dashboard) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
416 lines
8.0 KiB
CSS
416 lines
8.0 KiB
CSS
/* ===== FEATURED APPS SECTION ===== */
|
|
|
|
.cyber-featured-section {
|
|
position: relative;
|
|
background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
|
|
border: 1px solid rgba(102, 126, 234, 0.2);
|
|
border-radius: var(--cyber-radius-lg);
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cyber-featured-section::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -20%;
|
|
width: 400px;
|
|
height: 400px;
|
|
background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent 70%);
|
|
pointer-events: none;
|
|
animation: cyber-glow-pulse 4s ease-in-out infinite;
|
|
}
|
|
|
|
.cyber-featured-section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.cyber-featured-section-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--cyber-text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.cyber-featured-section-title::before {
|
|
content: '⭐';
|
|
font-size: 1.75rem;
|
|
animation: cyber-bounce-in 0.6s ease forwards;
|
|
}
|
|
|
|
.cyber-featured-section-subtitle {
|
|
color: var(--cyber-text-secondary);
|
|
font-size: 0.95rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* ===== FEATURED APPS GRID ===== */
|
|
|
|
.cyber-featured-apps-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1.25rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* ===== FEATURED APP CARD ===== */
|
|
|
|
.cyber-featured-app-card {
|
|
position: relative;
|
|
background: rgba(10, 14, 37, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
border: 2px solid rgba(102, 126, 234, 0.3);
|
|
border-radius: var(--cyber-radius-md);
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
transition: all var(--cyber-transition);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cyber-featured-app-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: var(--cyber-gradient-primary);
|
|
opacity: 0;
|
|
transition: opacity var(--cyber-transition);
|
|
}
|
|
|
|
.cyber-featured-app-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -2px;
|
|
background: linear-gradient(45deg,
|
|
rgba(102, 126, 234, 0.3),
|
|
rgba(118, 75, 162, 0.3),
|
|
rgba(6, 182, 212, 0.3)
|
|
);
|
|
border-radius: inherit;
|
|
opacity: 0;
|
|
z-index: -1;
|
|
transition: opacity var(--cyber-transition);
|
|
animation: cyber-shimmer 3s linear infinite;
|
|
background-size: 200% 200%;
|
|
}
|
|
|
|
.cyber-featured-app-card:hover {
|
|
transform: translateY(-4px) scale(1.02);
|
|
border-color: var(--cyber-accent-secondary);
|
|
box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3),
|
|
0 0 30px rgba(6, 182, 212, 0.2);
|
|
}
|
|
|
|
.cyber-featured-app-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.cyber-featured-app-card:hover::after {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* ===== FEATURED BADGE ===== */
|
|
|
|
.cyber-featured-badge {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
padding: 0.35rem 0.75rem;
|
|
background: var(--cyber-gradient-primary);
|
|
color: var(--cyber-text-inverse);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
border-radius: var(--cyber-radius-xs);
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
|
animation: cyber-fade-in 0.4s ease forwards, cyber-glow-pulse 2s ease-in-out infinite;
|
|
z-index: 10;
|
|
}
|
|
|
|
.cyber-featured-badge--new {
|
|
background: linear-gradient(135deg, #10b981, #059669);
|
|
}
|
|
|
|
.cyber-featured-badge--popular {
|
|
background: linear-gradient(135deg, #f59e0b, #d97706);
|
|
}
|
|
|
|
.cyber-featured-badge--recommended {
|
|
background: linear-gradient(135deg, #3b82f6, #2563eb);
|
|
}
|
|
|
|
/* ===== APP CARD HEADER ===== */
|
|
|
|
.cyber-featured-app-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.cyber-featured-app-icon {
|
|
font-size: 2.5rem;
|
|
width: 64px;
|
|
height: 64px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(102, 126, 234, 0.15);
|
|
border: 1px solid rgba(102, 126, 234, 0.3);
|
|
border-radius: var(--cyber-radius-md);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.cyber-featured-app-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.cyber-featured-app-name {
|
|
font-size: 1.15rem;
|
|
font-weight: 600;
|
|
color: var(--cyber-text-primary);
|
|
margin-bottom: 0.25rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cyber-featured-app-category {
|
|
font-size: 0.75rem;
|
|
color: var(--cyber-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
/* ===== APP CARD BODY ===== */
|
|
|
|
.cyber-featured-app-description {
|
|
font-size: 0.9rem;
|
|
color: var(--cyber-text-secondary);
|
|
line-height: 1.5;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-height: 2.7rem;
|
|
}
|
|
|
|
.cyber-featured-app-reason {
|
|
font-size: 0.85rem;
|
|
color: var(--cyber-accent-secondary);
|
|
font-style: italic;
|
|
padding: 0.75rem;
|
|
background: rgba(6, 182, 212, 0.08);
|
|
border-left: 3px solid var(--cyber-accent-secondary);
|
|
border-radius: var(--cyber-radius-xs);
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
/* ===== APP CARD FOOTER ===== */
|
|
|
|
.cyber-featured-app-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.cyber-featured-app-tags {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.cyber-featured-app-tag {
|
|
font-size: 0.7rem;
|
|
padding: 0.25rem 0.6rem;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--cyber-text-secondary);
|
|
border-radius: var(--cyber-radius-xs);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.cyber-featured-app-action {
|
|
font-size: 0.85rem;
|
|
color: var(--cyber-accent-secondary);
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
transition: all var(--cyber-transition);
|
|
}
|
|
|
|
.cyber-featured-app-action:hover {
|
|
color: var(--cyber-accent-primary);
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
/* ===== SHIMMER ANIMATION ===== */
|
|
|
|
@keyframes cyber-shimmer {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
/* ===== RESPONSIVE - TABLET ===== */
|
|
|
|
@media (max-width: 768px) {
|
|
.cyber-featured-section {
|
|
padding: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.cyber-featured-section-title {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.cyber-featured-section-title::before {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.cyber-featured-apps-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.cyber-featured-app-card {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.cyber-featured-app-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.cyber-featured-app-name {
|
|
font-size: 1.05rem;
|
|
}
|
|
}
|
|
|
|
/* ===== RESPONSIVE - MOBILE ===== */
|
|
|
|
@media (max-width: 480px) {
|
|
.cyber-featured-section {
|
|
padding: 1rem;
|
|
margin-bottom: 1rem;
|
|
border-radius: var(--cyber-radius-md);
|
|
}
|
|
|
|
.cyber-featured-section::before {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
|
|
.cyber-featured-section-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.cyber-featured-section-title {
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.cyber-featured-section-subtitle {
|
|
font-size: 0.85rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.cyber-featured-apps-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.cyber-featured-app-card {
|
|
padding: 1rem;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.cyber-featured-app-card:hover {
|
|
transform: none;
|
|
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
|
|
}
|
|
|
|
.cyber-featured-badge {
|
|
top: 0.75rem;
|
|
right: 0.75rem;
|
|
font-size: 0.65rem;
|
|
padding: 0.3rem 0.6rem;
|
|
}
|
|
|
|
.cyber-featured-app-header {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.cyber-featured-app-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.cyber-featured-app-name {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.cyber-featured-app-description {
|
|
font-size: 0.85rem;
|
|
-webkit-line-clamp: 3;
|
|
min-height: 3.8rem;
|
|
}
|
|
|
|
.cyber-featured-app-reason {
|
|
font-size: 0.8rem;
|
|
padding: 0.65rem;
|
|
}
|
|
|
|
.cyber-featured-app-footer {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding-top: 0.85rem;
|
|
}
|
|
|
|
.cyber-featured-app-tags {
|
|
width: 100%;
|
|
}
|
|
|
|
.cyber-featured-app-action {
|
|
width: 100%;
|
|
justify-content: center;
|
|
padding: 0.5rem;
|
|
background: rgba(6, 182, 212, 0.12);
|
|
border-radius: var(--cyber-radius-xs);
|
|
}
|
|
|
|
/* Tap feedback on mobile */
|
|
.cyber-featured-app-card:active {
|
|
transform: scale(0.98);
|
|
transition-duration: 100ms;
|
|
}
|
|
}
|