aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/components/login/login.component.css8
-rw-r--r--src/app/components/register/register.component.css8
-rw-r--r--src/styles.css2
3 files changed, 9 insertions, 9 deletions
diff --git a/src/app/components/login/login.component.css b/src/app/components/login/login.component.css
index 766522e..103f5c0 100644
--- a/src/app/components/login/login.component.css
+++ b/src/app/components/login/login.component.css
@@ -1,7 +1,3 @@
-* {
- transition: .2s;
-}
-
form {
width: 100%;
}
@@ -12,6 +8,10 @@ form {
box-sizing: border-box;
}
+.submit-btn {
+ transition: 0.2s;
+}
+
.input-selection:nth-of-type(1) {
margin-top: 1.2em;
}
diff --git a/src/app/components/register/register.component.css b/src/app/components/register/register.component.css
index 93d8006..973c6f0 100644
--- a/src/app/components/register/register.component.css
+++ b/src/app/components/register/register.component.css
@@ -1,9 +1,5 @@
/* A lot of stuff are moved to the global styles! */
-* {
- transition: 0.2s;
-}
-
form {
width: 100%;
}
@@ -20,6 +16,10 @@ form {
box-sizing: border-box;
}
+.submit-btn {
+ transition: 0.2s;
+}
+
.input-selection:nth-of-type(1) {
margin-top: 1.2em;
}
diff --git a/src/styles.css b/src/styles.css
index 725eee4..ae70525 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -222,7 +222,7 @@ button:focus {
}
.submit-btn:active {
- transition: 0s;
+ transition: 0s !important;
transform: scale(0.9);
}