Spaces:
Running
Running
File size: 2,955 Bytes
e9e1632 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
/* ============================================
Homepage Specific Styles
============================================ */
.home-body {
padding: 32px 18px;
}
.home-app {
max-width: 1200px;
gap: 28px;
}
.home-header {
display: flex;
gap: 24px;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}
.home-header h1 {
font-size: 28px;
}
.lead {
margin: 8px 0 0;
color: var(--text-muted);
max-width: 600px;
line-height: 1.4;
}
.header-actions {
display: flex;
gap: 10px;
}
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 999px;
padding: 10px 18px;
font-size: 13px;
text-decoration: none;
border: 1px solid var(--accent);
color: var(--bg);
background: var(--accent);
font-weight: 600;
}
.btn.ghost {
background: transparent;
color: var(--accent);
}
.toolbar {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
justify-content: space-between;
}
.search {
flex: 1;
min-width: 240px;
border-radius: 999px;
border: 1px solid var(--border);
background: rgba(15, 23, 42, 0.9);
display: flex;
align-items: center;
padding: 6px 14px;
color: var(--text-muted);
}
.search input {
flex: 1;
border: none;
background: transparent;
color: var(--text);
font-size: 14px;
outline: none;
padding: 6px;
}
.failure-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 18px;
}
.failure-card {
border-radius: var(--radius-lg);
border: 1px solid var(--border);
background: radial-gradient(circle at top left, #0b1120 0, #020617 60%);
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
position: relative;
cursor: pointer;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.failure-card:hover {
transform: translateY(-3px);
border-color: var(--accent);
}
.failure-card h3 {
margin: 0;
font-size: 16px;
}
.failure-card p {
margin: 0;
color: var(--text-muted);
font-size: 13px;
line-height: 1.4;
}
.meta-row {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 12px;
color: var(--text-muted);
}
.tooltip {
position: absolute;
inset: 0;
padding: 16px;
border-radius: var(--radius-lg);
background: rgba(2, 6, 23, 0.95);
border: 1px solid var(--accent);
opacity: 0;
pointer-events: none;
transition: opacity 0.15s ease;
font-size: 13px;
line-height: 1.5;
}
.failure-card:hover .tooltip {
opacity: 1;
}
.empty-state {
border-radius: 16px;
padding: 24px;
text-align: center;
border: 1px dashed #334155;
color: var(--text-muted);
}
@media (max-width: 640px) {
.header-actions {
width: 100%;
justify-content: flex-start;
}
} |