mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
title generation
This commit is contained in:
@@ -133,12 +133,13 @@ body:not(.loading) #loading {
|
||||
gap: 5px;
|
||||
background: #1e2030;
|
||||
margin: auto;
|
||||
margin-top: 30px;
|
||||
margin-top: 40px;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
height: calc(100% - 30px);
|
||||
height: calc(100% - 40px);
|
||||
border-top-left-radius: 6px;
|
||||
border-top-right-radius: 6px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
@@ -150,6 +151,40 @@ body:not(.loading) #loading {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
position: absolute;
|
||||
top: -22px;
|
||||
left: -4px;
|
||||
font-style: italic;
|
||||
padding-left: 22px;
|
||||
transition: 150ms opacity;
|
||||
}
|
||||
|
||||
#title-text {
|
||||
transition: 150ms;
|
||||
}
|
||||
|
||||
#title #title-refresh {
|
||||
background-image: url(icons/refresh.svg);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
#title.refreshing #title-refresh {
|
||||
animation: rotating-y 1.2s linear infinite;
|
||||
}
|
||||
|
||||
#title.refreshing #title-text {
|
||||
filter: blur(3px);
|
||||
}
|
||||
|
||||
#messages {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -717,6 +752,7 @@ select {
|
||||
}
|
||||
|
||||
body.loading #version,
|
||||
#title-refresh,
|
||||
#loading .inner::after,
|
||||
.modal.loading .content::after,
|
||||
.reasoning .toggle::before,
|
||||
|
||||
7
static/css/icons/refresh.svg
Normal file
7
static/css/icons/refresh.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
|
||||
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
||||
|
||||
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
|
After Width: | Height: | Size: 879 B |
Reference in New Issue
Block a user