style(web): unify button sizing across pages (padding/font/spacing)
This commit is contained in:
@@ -133,7 +133,13 @@ button {
|
||||
background: transparent;
|
||||
border: 1px solid var(--matrix);
|
||||
color: var(--matrix);
|
||||
padding: 8px 16px;
|
||||
padding: 7px 14px;
|
||||
font-family: inherit;
|
||||
font-size: 0.78rem;
|
||||
letter-spacing: 1.5px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
@@ -143,6 +149,23 @@ button:hover {
|
||||
box-shadow: var(--matrix-glow);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
opacity: 0.3;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Shared .btn variants (unscoped) */
|
||||
.btn.violet { border-color: var(--violet); color: var(--violet); }
|
||||
.btn.violet:hover { background: var(--violet); color: #000; box-shadow: var(--violet-glow); }
|
||||
.btn.alert { border-color: var(--alert); color: var(--alert); }
|
||||
.btn.alert:hover { background: var(--alert); color: #000; box-shadow: 0 0 10px rgba(255, 65, 65, 0.5); }
|
||||
.btn.ghost { border-color: var(--border); color: var(--matrix); opacity: 0.7; }
|
||||
.btn.ghost:hover {
|
||||
background: transparent; color: var(--matrix); opacity: 1;
|
||||
border-color: var(--matrix); box-shadow: var(--matrix-glow);
|
||||
}
|
||||
.btn.small { padding: 4px 10px; font-size: 0.68rem; }
|
||||
|
||||
input {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--border);
|
||||
|
||||
Reference in New Issue
Block a user