Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zhu <picturepan2@hotmail.com>2020-07-02 05:17:49 +0300
committerGitHub <noreply@github.com>2020-07-02 05:17:49 +0300
commit747bcbab7d4b3a6377e278069a9814697f23eb99 (patch)
treee5cdeadc8a704a58381aff07d99272bf6ba52732
parenta8bc767d626d57616e12135a2d9a393cca24c1fc (diff)
parent9a680f93e8a7dcda2f435a98d15f66ae09a26595 (diff)
Merge pull request #578 from renegat59/issue/561
Fixed issue #561
-rw-r--r--dist/spectre.css3
-rw-r--r--src/utilities/_loading.scss3
2 files changed, 6 insertions, 0 deletions
diff --git a/dist/spectre.css b/dist/spectre.css
index a649480..ac33b9f 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -3400,6 +3400,7 @@ a.text-error:visited {
.loading::after {
animation: loading 500ms infinite linear;
+ background: transparent;
border: .1rem solid #5755d9;
border-radius: 50%;
border-right-color: transparent;
@@ -3410,6 +3411,8 @@ a.text-error:visited {
left: 50%;
margin-left: -.4rem;
margin-top: -.4rem;
+ opacity: 1;
+ padding: 0;
position: absolute;
top: 50%;
width: .8rem;
diff --git a/src/utilities/_loading.scss b/src/utilities/_loading.scss
index 1b4ea60..2cfdefa 100644
--- a/src/utilities/_loading.scss
+++ b/src/utilities/_loading.scss
@@ -6,6 +6,7 @@
position: relative;
&::after {
animation: loading 500ms infinite linear;
+ background: transparent;
border: $border-width-lg solid $primary-color;
border-radius: 50%;
border-right-color: transparent;
@@ -16,6 +17,8 @@
left: 50%;
margin-left: -$unit-2;
margin-top: -$unit-2;
+ opacity: 1;
+ padding: 0;
position: absolute;
top: 50%;
width: $unit-4;