better layout
This commit is contained in:
@@ -58,55 +58,17 @@ legend {
|
||||
@apply text-sm font-semibold text-cyan-400 px-1;
|
||||
}
|
||||
|
||||
/* Spinner */
|
||||
.loader {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
.loader::before {
|
||||
content: '';
|
||||
box-sizing: border-box;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: -24px;
|
||||
animation: animloader 4s ease infinite;
|
||||
}
|
||||
.loader::after {
|
||||
content: '';
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
||||
animation: animloader2 2s ease infinite;
|
||||
}
|
||||
@import "./spinner.css";
|
||||
@import "./markdown.css";
|
||||
|
||||
@keyframes animloader {
|
||||
0% { box-shadow: 0 24px rgba(255,255,255,0), 24px 24px rgba(255,255,255,0), 24px 48px rgba(255,255,255,0), 0px 48px rgba(255,255,255,0); }
|
||||
12% { box-shadow: 0 24px white, 24px 24px rgba(255,255,255,0), 24px 48px rgba(255,255,255,0), 0px 48px rgba(255,255,255,0); }
|
||||
25% { box-shadow: 0 24px white, 24px 24px white, 24px 48px rgba(255,255,255,0), 0px 48px rgba(255,255,255,0); }
|
||||
37% { box-shadow: 0 24px white, 24px 24px white, 24px 48px white, 0px 48px rgba(255,255,255,0); }
|
||||
50% { box-shadow: 0 24px white, 24px 24px white, 24px 48px white, 0px 48px white; }
|
||||
62% { box-shadow: 0 24px rgba(255,255,255,0), 24px 24px white, 24px 48px white, 0px 48px white; }
|
||||
75% { box-shadow: 0 24px rgba(255,255,255,0), 24px 24px rgba(255,255,255,0), 24px 48px white, 0px 48px white; }
|
||||
87% { box-shadow: 0 24px rgba(255,255,255,0), 24px 24px rgba(255,255,255,0), 24px 48px rgba(255,255,255,0), 0px 48px white; }
|
||||
100% { box-shadow: 0 24px rgba(255,255,255,0), 24px 24px rgba(255,255,255,0), 24px 48px rgba(255,255,255,0), 0px 48px rgba(255,255,255,0); }
|
||||
/* Reasoning content collapse animation */
|
||||
.reasoning-content {
|
||||
@apply overflow-hidden opacity-100 max-h-[1000px] [transition:max-height_0.35s_ease,opacity_0.25s_ease,padding_0.25s_ease,margin_0.25s_ease];
|
||||
}
|
||||
|
||||
@keyframes animloader2 {
|
||||
0% { transform: translate(0, 0) rotateX(0) rotateY(0); }
|
||||
25% { transform: translate(100%, 0) rotateX(0) rotateY(180deg); }
|
||||
50% { transform: translate(100%, 100%) rotateX(-180deg) rotateY(180deg); }
|
||||
75% { transform: translate(0, 100%) rotateX(-180deg) rotateY(360deg); }
|
||||
100% { transform: translate(0, 0) rotateX(0) rotateY(360deg); }
|
||||
.reasoning-content.collapsed {
|
||||
@apply opacity-0 max-h-0 pt-0 pb-0 mb-0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user