chore(admin-ui): tokenise sidebar hover and focus ring with primary tokens
This commit is contained in:
@@ -25,7 +25,7 @@ a:hover{text-decoration:underline;}
|
||||
.sidebar:not(.topnav) a:hover,
|
||||
.sidebar:not(.topnav) .sidebar-link:hover{
|
||||
text-decoration:none;
|
||||
background:rgba(22, 119, 255, .08);
|
||||
background:var(--adm-primary-tint-08, rgba(22, 119, 255, .08));
|
||||
color:var(--adm-text, #0f172a);
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ input:hover,select:hover,textarea:hover{
|
||||
input:focus,select:focus,textarea:focus{
|
||||
outline:none;
|
||||
border-color:var(--adm-color-primary, #1677ff);
|
||||
box-shadow:0 0 0 3px rgba(22, 119, 255, .12);
|
||||
box-shadow:0 0 0 3px var(--adm-primary-focus-ring, rgba(22, 119, 255, .12));
|
||||
}
|
||||
|
||||
button{cursor:pointer;}
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
--adm-primary-tint-08: rgba(22, 119, 255, .08);
|
||||
--adm-primary-border-35: rgba(22, 119, 255, .35);
|
||||
--adm-primary-border-45: rgba(22, 119, 255, .45);
|
||||
--adm-primary-focus-ring: rgba(22, 119, 255, .12);
|
||||
|
||||
/* 状态色(接近 Ant Design) */
|
||||
--adm-success: #16a34a;
|
||||
|
||||
Reference in New Issue
Block a user