style(ui): update reset auth token button to solid red button with translated hover tooltip
This commit is contained in:
parent
6b55830c60
commit
354f868089
@ -76,12 +76,11 @@ export function Sidebar({
|
||||
|
||||
<div className="sidebar-tools">
|
||||
<button
|
||||
className="sidebar-tool-button"
|
||||
className="sidebar-tool-button danger-button"
|
||||
type="button"
|
||||
aria-label="Reset Auth Token"
|
||||
title="Reset Auth Token"
|
||||
aria-label="Token Reset / Token 轮换"
|
||||
title="Token Reset / Token 轮换"
|
||||
onClick={onResetAuthClick}
|
||||
style={{ color: '#d32f2f' }}
|
||||
>
|
||||
<Icon name="power" />
|
||||
<strong>{!collapsed ? 'Reset Token' : ''}</strong>
|
||||
|
||||
@ -2170,6 +2170,17 @@ button.node-card {
|
||||
box-shadow: 0 8px 22px rgba(50, 65, 100, 0.07);
|
||||
}
|
||||
|
||||
.sidebar .sidebar-tool-button.danger-button {
|
||||
background: #d32f2f;
|
||||
color: #ffffff;
|
||||
border-color: #d32f2f;
|
||||
box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
|
||||
}
|
||||
|
||||
.sidebar .sidebar-tool-button.danger-button:hover {
|
||||
background: #b71c1c;
|
||||
border-color: #b71c1c;
|
||||
}
|
||||
.sidebar .sidebar-tool-button:hover {
|
||||
border-color: rgba(37, 99, 235, 0.24);
|
||||
background: #fff;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user