Added comprehensive SDK page at /sdk with: - Downloadable SilverSHELL starter template (6.3 KB) - Downloadable SilverSHELL module template (14 KB) - Quick start guide with step-by-step instructions - Creating applications guide (configuration, UI, manual install) - Creating modules guide with template options - Publishing modules guide (automated CI/CD + manual) - Available modules list from library.silverlabs.uk - Resources and support links Initial commit includes: - Complete static website with Docker deployment - SilverLabs branding and styling - Nginx configuration for production serving 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
315 lines
5.6 KiB
CSS
315 lines
5.6 KiB
CSS
:root {
|
|
--primary-blue: #2E3192;
|
|
--secondary-blue: #1E5A9E;
|
|
--cyan: #00B8D4;
|
|
--light-cyan: #4DD0E1;
|
|
--gradient: linear-gradient(135deg, #2E3192 0%, #1E5A9E 50%, #00B8D4 100%);
|
|
--text-primary: #FFFFFF;
|
|
--text-secondary: rgba(255, 255, 255, 0.8);
|
|
--card-bg: rgba(255, 255, 255, 0.1);
|
|
--card-border: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background: var(--gradient);
|
|
background-attachment: fixed;
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Loading Screen */
|
|
.loading-screen {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--gradient);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
transition: opacity 0.5s ease, visibility 0.5s ease;
|
|
}
|
|
|
|
.loading-screen.fade-out {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.loading-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.loading-logo {
|
|
width: 300px;
|
|
height: auto;
|
|
max-width: 80vw;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
|
|
}
|
|
|
|
.loading-spinner {
|
|
margin-top: 30px;
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid rgba(255, 255, 255, 0.3);
|
|
border-top-color: var(--text-primary);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main-content.visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.header {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 200px;
|
|
height: auto;
|
|
max-width: 80vw;
|
|
filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.2));
|
|
animation: fadeInDown 0.8s ease;
|
|
}
|
|
|
|
@keyframes fadeInDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.main {
|
|
flex: 1;
|
|
padding: 20px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
margin-bottom: 10px;
|
|
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
|
animation: fadeInUp 0.8s ease 0.2s both;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 60px;
|
|
animation: fadeInUp 0.8s ease 0.3s both;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.gateway-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 30px;
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.gateway-card {
|
|
background: var(--card-bg);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 20px;
|
|
padding: 40px 30px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
color: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
animation: fadeInScale 0.6s ease both;
|
|
}
|
|
|
|
.gateway-card:nth-child(1) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.gateway-card:nth-child(2) {
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
.gateway-card:nth-child(3) {
|
|
animation-delay: 0.6s;
|
|
}
|
|
|
|
@keyframes fadeInScale {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.gateway-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
|
|
transition: left 0.5s ease;
|
|
}
|
|
|
|
.gateway-card:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.gateway-card:hover {
|
|
transform: translateY(-10px);
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.card-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 20px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.card-icon svg {
|
|
width: 40px;
|
|
height: 40px;
|
|
stroke: var(--light-cyan);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.gateway-card:hover .card-icon {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: rotate(10deg) scale(1.1);
|
|
}
|
|
|
|
.gateway-card:hover .card-icon svg {
|
|
stroke: var(--text-primary);
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.8rem;
|
|
font-weight: 600;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card-description {
|
|
font-size: 1rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.footer {
|
|
padding: 30px 20px;
|
|
text-align: center;
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.gateway-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.logo {
|
|
width: 150px;
|
|
}
|
|
|
|
.loading-logo {
|
|
width: 200px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.gateway-card {
|
|
padding: 30px 20px;
|
|
}
|
|
}
|