commit 9d9b40063073b5674ce62b36b642b8cb816c754b
parent e737ef6a0a83037efc02c273dd72bccf1742d8b9
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Wed, 24 May 2023 03:38:51 -0700
update styling, reduce dot diameter
Diffstat:
2 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/pkg/web/handlers/api/v1/messages.qtpl b/pkg/web/handlers/api/v1/messages.qtpl
@@ -190,12 +190,12 @@
#msg-err { background-color: #8f2d2d; color: #ffffff; padding: 1px 5px 2px 5px; display: block; text-decoration: none; }
#http-alive-indicator {
background-color: #006400;
- width: 20px;
- height: 20px;
+ width: 18px;
+ height: 18px;
position: fixed;
- top: 0;
+ top: 1px;
right: 20px;
- border-radius: 10px;
+ border-radius: 9px;
animation: indicator1 10s forwards;
}
@keyframes indicator1 { 0% { background-color: #006400; } 99% { background-color: #006400; } 100% { background-color: #8b0000; } }
diff --git a/pkg/web/handlers/api/v1/messages.qtpl.go b/pkg/web/handlers/api/v1/messages.qtpl.go
@@ -119,13 +119,21 @@ func StreamGenerateStyle(qw422016 *qt422016.Writer, AuthUser *database.User, Dat
line-height: 1;
}
.hide-after {
- animation: 120s 1s forwards hide_btn;
+ animation: `)
+//line messages.qtpl:96
+ qw422016.N().DL(Data.DelayHideDeleteButton)
+//line messages.qtpl:96
+ qw422016.N().S(`s 1s forwards hide_btn;
}
@keyframes hide_btn {
100% { visibility: hidden; }
}
.orange-after {
- animation: 120s 1s forwards orange_btn;
+ animation: `)
+//line messages.qtpl:102
+ qw422016.N().DL(Data.DelayHideDeleteButton)
+//line messages.qtpl:102
+ qw422016.N().S(`s 1s forwards orange_btn;
}
@keyframes orange_btn {
100% { color: orange; }
@@ -248,12 +256,12 @@ func StreamGenerateStyle(qw422016 *qt422016.Writer, AuthUser *database.User, Dat
#msg-err { background-color: #8f2d2d; color: #ffffff; padding: 1px 5px 2px 5px; display: block; text-decoration: none; }
#http-alive-indicator {
background-color: #006400;
- width: 20px;
- height: 20px;
+ width: 18px;
+ height: 18px;
position: fixed;
- top: 0;
+ top: 1px;
right: 20px;
- border-radius: 10px;
+ border-radius: 9px;
animation: indicator1 10s forwards;
}
@keyframes indicator1 { 0% { background-color: #006400; } 99% { background-color: #006400; } 100% { background-color: #8b0000; } }