Skip to content

Commit

Permalink
[ui] make loading dots unselectable
Browse files Browse the repository at this point in the history
  • Loading branch information
nroutasuo committed Mar 22, 2023
1 parent f27a971 commit a3cf7d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2414,6 +2414,7 @@ body.dark .loading-spinner {
position: relative;
top: 50%;
left: 0;
user-select: none;
}
body.dark .loading-spinner .loading-dot {
background: #ccc;
Expand All @@ -2424,6 +2425,7 @@ body.dark .loading-spinner .loading-dot {
display: inline-block;
-webkit-animation: sk-bouncedelay 1.3s infinite ease-in-out both;
animation: sk-bouncedelay 1.3s infinite ease-in-out both;
user-select: none;
}
body.dark .loading-spinner .loading-dot1 {
-webkit-animation-delay: -0.32s;
Expand Down Expand Up @@ -4604,6 +4606,7 @@ body.sunlit .loading-spinner {
position: relative;
top: 50%;
left: 0;
user-select: none;
}
body.sunlit .loading-spinner .loading-dot {
background: #ccc;
Expand All @@ -4614,6 +4617,7 @@ body.sunlit .loading-spinner .loading-dot {
display: inline-block;
-webkit-animation: sk-bouncedelay 1.3s infinite ease-in-out both;
animation: sk-bouncedelay 1.3s infinite ease-in-out both;
user-select: none;
}
body.sunlit .loading-spinner .loading-dot1 {
-webkit-animation-delay: -0.32s;
Expand Down
2 changes: 2 additions & 0 deletions css/modules/loader.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
position: relative;
top: 50%;
left: 0;
user-select: none;
}

.loading-spinner .loading-dot {
Expand All @@ -27,6 +28,7 @@
display: inline-block;
-webkit-animation: sk-bouncedelay 1.3s infinite ease-in-out both;
animation: sk-bouncedelay 1.3s infinite ease-in-out both;
user-select: none;
}

.loading-spinner .loading-dot1 {
Expand Down

0 comments on commit a3cf7d8

Please sign in to comment.