2022-11-30 16:42:44 +08:00
|
|
|
// 部分全局css特效
|
|
|
|
|
2022-11-14 17:11:23 +08:00
|
|
|
#root {
|
2023-10-29 22:13:37 +08:00
|
|
|
position: fixed;
|
|
|
|
display: block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2022-11-21 20:00:34 +08:00
|
|
|
z-index: 1000;
|
2023-10-29 22:13:37 +08:00
|
|
|
overflow: visible;
|
2023-08-05 12:12:02 +08:00
|
|
|
font-size: 16px;
|
2023-11-14 18:21:38 +08:00
|
|
|
user-select: none;
|
2022-11-14 17:11:23 +08:00
|
|
|
}
|
2022-11-21 20:00:34 +08:00
|
|
|
|
|
|
|
.antdv-message {
|
|
|
|
font-family: 'normal';
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
2022-11-30 16:42:44 +08:00
|
|
|
|
2022-12-27 23:31:14 +08:00
|
|
|
// 文字按钮
|
2022-11-30 16:42:44 +08:00
|
|
|
.button-text {
|
|
|
|
cursor: pointer;
|
|
|
|
transition: color 0.2s linear;
|
|
|
|
}
|
|
|
|
|
2023-01-16 22:32:04 +08:00
|
|
|
.button-text[active='true'],
|
2022-11-30 16:42:44 +08:00
|
|
|
.button-text:hover {
|
|
|
|
color: aqua;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-text:active {
|
|
|
|
color: aquamarine;
|
|
|
|
}
|
|
|
|
|
2023-01-16 22:32:04 +08:00
|
|
|
.button-text[danger='true'][danger-display='true'] {
|
|
|
|
color: rgb(255, 47, 47);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-text[danger='true']:hover,
|
|
|
|
.button-text[danger='true'][active='true'] {
|
|
|
|
color: rgb(255, 120, 120);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-text[danger='true']:active {
|
|
|
|
color: rgb(255, 182, 182);
|
|
|
|
}
|
|
|
|
|
2022-12-27 23:31:14 +08:00
|
|
|
.selectable {
|
|
|
|
border: #0000 0.5px solid;
|
2023-01-01 22:02:58 +08:00
|
|
|
padding: 1% 3% 1% 3%;
|
|
|
|
width: 100%;
|
2022-12-27 23:31:14 +08:00
|
|
|
}
|
|
|
|
|
2022-11-30 16:42:44 +08:00
|
|
|
.selectable[selected='true'] {
|
|
|
|
animation: selected alternate 5s infinite ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes selected {
|
|
|
|
0% {
|
|
|
|
border: #0ff7 0.5px solid;
|
|
|
|
background-color: rgba(39, 251, 209, 0.143);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
border: #0ffa 0.5px solid;
|
|
|
|
background-color: rgba(39, 251, 209, 0.284);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
border: #0ff7 0.5px solid;
|
|
|
|
background-color: rgba(39, 251, 209, 0.143);
|
|
|
|
}
|
|
|
|
}
|
2022-12-27 23:31:14 +08:00
|
|
|
|
|
|
|
// 拖拽类
|
|
|
|
.draginable {
|
|
|
|
transition: background-color 0.2s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draginable[draged='true'][access='true']:hover {
|
|
|
|
background-color: rgba(0, 255, 187, 0.31);
|
|
|
|
}
|
|
|
|
|
|
|
|
.draginable[draged='true'][access='false']:hover {
|
|
|
|
background-color: rgba(255, 0, 0, 0.319);
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2022-12-28 12:13:52 +08:00
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Fira Code;
|
|
|
|
src: url(/src/fonts/FiraCode-Regular.ttf);
|
|
|
|
}
|
2022-12-28 20:34:23 +08:00
|
|
|
|
|
|
|
#non-ui {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 999;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2023-12-01 21:47:43 +08:00
|
|
|
|
|
|
|
.changable {
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 2px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.changable[change='true'] {
|
|
|
|
animation: changable-animate 1s linear alternate 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes changable-animate {
|
|
|
|
0% {
|
|
|
|
background-color: #7cc9;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-color: #0000;
|
|
|
|
}
|
|
|
|
}
|