Xiangyi Li commited on
Commit
e44be29
·
1 Parent(s): 9a41d47

/arena: an outlined button keeps the board's outlined hover (the filled buttons' hover turned a hovered Check navy with dark text)

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -82,7 +82,7 @@
82
  select, input, textarea, button { font: inherit; color: inherit; }
83
  button { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; min-height: 26px; border: 1px solid var(--accent); border-radius: 2px;
84
  background: var(--accent); color: #fff; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
85
- button:hover:not(:disabled) { background: var(--accent-deep); border-color: var(--accent-deep); }
86
  button:disabled { background: #fff; color: var(--muted-4); border-color: var(--border); cursor: not-allowed; }
87
  button.plain { text-transform: none; }
88
  button.plain:disabled { background: #fff; color: var(--muted-4); border-color: var(--border-soft); }
 
82
  select, input, textarea, button { font: inherit; color: inherit; }
83
  button { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; min-height: 26px; border: 1px solid var(--accent); border-radius: 2px;
84
  background: var(--accent); color: #fff; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
85
+ button:not(.plain):hover:not(:disabled) { background: var(--accent-deep); border-color: var(--accent-deep); } /* the outlined (.plain) buttons keep the board's outlined hover */
86
  button:disabled { background: #fff; color: var(--muted-4); border-color: var(--border); cursor: not-allowed; }
87
  button.plain { text-transform: none; }
88
  button.plain:disabled { background: #fff; color: var(--muted-4); border-color: var(--border-soft); }