refactor api
This commit is contained in:
@@ -3,18 +3,16 @@
|
||||
.custom-scroll-bar *::-webkit-scrollbar {
|
||||
width: 10px !important;
|
||||
height: 10px !important;
|
||||
cursor: var(--tui-cur-default);
|
||||
background: #CFD2E0;
|
||||
}
|
||||
|
||||
.custom-scroll-bar *::-webkit-scrollbar-corner {
|
||||
background: #CFD2E0;
|
||||
cursor: var(--tui-cur-default);
|
||||
}
|
||||
|
||||
.custom-scroll-bar *::-webkit-scrollbar-thumb {
|
||||
cursor: var(--tui-cur-default);
|
||||
background: #525870;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
*::selection {
|
||||
@@ -23,12 +21,11 @@
|
||||
}
|
||||
|
||||
html {
|
||||
cursor: var(--tui-cur-default);
|
||||
font-family: pingfang sc, microsoft yahei, arial regular, serif;
|
||||
text-underline-offset: .16rem;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 100% !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
@@ -38,17 +35,10 @@ body {
|
||||
&::-webkit-scrollbar {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#root {
|
||||
display: flex;
|
||||
position: relative;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: @tuiColors[blue];
|
||||
cursor: var(--tui-cur-pointer);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
@@ -71,20 +61,11 @@ input, select, textarea {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
label,
|
||||
select,
|
||||
input[type="radio"],
|
||||
input[type="file"],
|
||||
input[type="checkbox"] {
|
||||
cursor: var(--tui-cur-default);
|
||||
}
|
||||
|
||||
textarea,
|
||||
input[type="text"],
|
||||
input[type="date"],
|
||||
input[type="email"],
|
||||
input[type="password"] {
|
||||
cursor: var(--tui-cur-text);
|
||||
-webkit-appearance: none;
|
||||
|
||||
&:-webkit-autofill,
|
||||
|
||||
Reference in New Issue
Block a user