aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-12 11:42:47 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-12 11:42:47 +0530
commit554a99c96d223eacc4bb6e10e3f6ad1712397f3a (patch)
treed5d0d5c984b38382723e6a3bd72d84d9b7ce89ca /src/styles
parent379212ecb074eda65e9a07037bbbbcf3a3cc94e9 (diff)
fixed transition only happening on hover in
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/_theme.scss3
-rw-r--r--src/styles/global.scss2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/styles/_theme.scss b/src/styles/_theme.scss
index 09c90d5..74ed2f2 100644
--- a/src/styles/_theme.scss
+++ b/src/styles/_theme.scss
@@ -62,6 +62,7 @@ $link2: $foreground2;
$defFG: $foreground1;
$altFG: $foreground2;
+$border0: gray;
$border1: pink;
$border2: lightgreen;
@@ -72,3 +73,5 @@ $underline3: $warningColor;
$defBigShadow: 0px 2px 4px $shadowColor;
$floatingShadow: 6px 6px 6px $shadowColor;
+
+$defTransition: 0.3s;
diff --git a/src/styles/global.scss b/src/styles/global.scss
index ef3d11d..3d077f6 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -17,9 +17,9 @@
::-webkit-scrollbar {
width: 1vw;
}
+
* {
scrollbar-width: 1vw; /* Firefox */
- transition: 0.3s;
}
body {