aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/MobileMenu.scss
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-22 17:47:15 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-22 17:47:15 -0700
commitb989082c3502e8ad5ca3a89a8459e6ac72e38ccc (patch)
tree7d1c0b09d26d6cb33555569cd164da1c7043e89e /src/mobile/MobileMenu.scss
parent6df649ae1228f191a5654e45e898880b130afd28 (diff)
parent790d41009a678f560cd3b78e86069251e494cfd1 (diff)
pull
Diffstat (limited to 'src/mobile/MobileMenu.scss')
-rw-r--r--src/mobile/MobileMenu.scss39
1 files changed, 26 insertions, 13 deletions
diff --git a/src/mobile/MobileMenu.scss b/src/mobile/MobileMenu.scss
index 6304ff5e4..53bc48034 100644
--- a/src/mobile/MobileMenu.scss
+++ b/src/mobile/MobileMenu.scss
@@ -19,7 +19,6 @@ body {
width: 100vw;
height: $navbar-height;
background-color: whitesmoke;
- border-bottom: 5px solid black;
z-index: 150;
}
@@ -175,6 +174,11 @@ body {
z-index: 200;
}
+.open {
+ right: 20px;
+ position: absolute;
+}
+
.left {
width: 100%;
height: 100%;
@@ -216,14 +220,17 @@ body {
.back {
position: absolute;
- top: 44%;
left: 42px;
- background-color: black;
+ top: 0;
+ background: #1a1a1a;
width: 50px;
- height: 50px;
+ height: 100%;
+ display: flex;
+ justify-content: center;
text-align: center;
+ flex-direction: column;
+ align-items: center;
border-radius: 10px;
- transform: translate(0, -50%);
font-size: 25px;
user-select: none;
z-index: 100;
@@ -238,7 +245,7 @@ body {
border-radius: 0px;
width: 100%;
height: 80px;
- transition: all 400ms ease 50ms;
+ overflow: hidden;
}
.pathname {
@@ -262,15 +269,17 @@ body {
.docButton {
position: relative;
width: 100px;
+ display: flex;
height: 100px;
font-size: 70px;
- padding: 5px;
text-align: center;
- border-style: solid;
- border-radius: 50px;
- border-width: 5px;
+ border: 3px solid black;
margin: 20px;
z-index: 100;
+ border-radius: 100%;
+ justify-content: center;
+ flex-direction: column;
+ align-items: center;
}
.docButtonContainer {
@@ -284,14 +293,19 @@ body {
.scrollmenu {
overflow: auto;
+ width: 100%;
+ height: 100%;
white-space: nowrap;
+ display: inline-flex;
}
.pathbarItem {
position: relative;
- display: inline-flex;
+ display: flex;
+ align-items: center;
color: whitesmoke;
text-align: center;
+ justify-content: center;
user-select: none;
transform: translate(100px, 0px);
font-size: 30px;
@@ -304,7 +318,6 @@ body {
text-align: center;
height: 50px;
padding: 10px;
- background-color: rgb(48, 40, 40);
font-size: 30px;
border-radius: 10px;
text-transform: uppercase;
@@ -314,7 +327,7 @@ body {
.pathIcon {
- transform: translate(0px, 8px);
+ transform: translate(0px, 0px);
position: relative;
}