refactor: move navbar top
This commit is contained in:
1 parent
e71cc10f91
commit
ed3673bbbe
6 files changed
+20
-12
No files matched your search
@@ -12,6 +12,10 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.history > .history-section:first-child > span {
|
||||
margin-top: unset;
|
||||
}
|
||||
|
||||
.history-section > .header {
|
||||
border-bottom: 1px solid #eeec;
|
||||
text-align: left;
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
height: var(--side);
|
||||
width: var(--side);
|
||||
flex-shrink: 0;
|
||||
margin: auto;
|
||||
margin-bottom: 1em;
|
||||
margin: 1em auto;
|
||||
box-shadow: 0px 4px 16px 0px #000000b8;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
/* max-height: 100%; */
|
||||
margin: auto;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 8em;
|
||||
padding-top: 3em;
|
||||
padding-bottom: 7em;
|
||||
/* overflow-y: auto; */
|
||||
}
|
||||
@@ -2,13 +2,15 @@ nav {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
background-color: var(--white);
|
||||
border-radius: 0.5em 0.5em 0 0;
|
||||
padding: 0.5em;
|
||||
/* border-radius: 0.5em 0.5em 0 0; */
|
||||
padding: 0.3em 0.5em;
|
||||
box-sizing: border-box;
|
||||
user-select: none;
|
||||
z-index: 5;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
box-shadow: 0px 4px 6px 2px #00000026;
|
||||
border-bottom: 1px solid var(--main);
|
||||
}
|
||||
|
||||
.nav-button {
|
||||
@@ -29,12 +31,12 @@ nav {
|
||||
.nav-button.active {
|
||||
color: var(--main);
|
||||
font-weight: bold;
|
||||
padding-top: 0;
|
||||
/* padding-top: 0; */
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-button.active:before {
|
||||
content: '';
|
||||
/* content: ''; */
|
||||
width: 80%;
|
||||
left: 10%;
|
||||
bottom: 0;
|
||||
|
||||
@@ -45,13 +45,15 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--light);
|
||||
padding: 0.4em 0.2em;
|
||||
margin-bottom: 0.2em;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.settings-sub:not(:last-child) {
|
||||
border-bottom: 1px solid var(--light);
|
||||
}
|
||||
|
||||
.settings-sub i {
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
.status {
|
||||
position: fixed;
|
||||
bottom: 3.5rem;
|
||||
bottom: 2.5rem;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 95%;
|
||||
width: 80%;
|
||||
background: var(--dark);
|
||||
color: var(--white);
|
||||
padding: 0.5em;
|
||||
|
||||
Reference in new issue
Block a user