-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding LFGM campaign #1397
Adding LFGM campaign #1397
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,6 @@ | |
.menu { | ||
position: relative; | ||
margin-top: rem(32); | ||
margin-left: 24px; | ||
flex-grow: 1; | ||
|
||
.row--item { | ||
|
@@ -58,6 +57,7 @@ | |
height: 38px; | ||
padding: 8px; | ||
margin-bottom: 8px; | ||
margin-left: 24px; | ||
border-radius: 6px; | ||
color: #fff; | ||
position: relative; | ||
|
@@ -93,22 +93,24 @@ | |
border-radius: 6px; | ||
height: 38px; | ||
width: 176px; | ||
margin-left: 24px; | ||
} | ||
|
||
// adding -120px to the margin-top to adjust the position because of the lgfm logo | ||
.menu__assets { | ||
margin-top: -276px; | ||
margin-top: calc(-276px - 120px); | ||
} | ||
|
||
.menu__dashboard { | ||
margin-top: -230px; | ||
margin-top: calc(-230px - 120px); | ||
} | ||
|
||
.menu__staking { | ||
margin-top: -184px; | ||
margin-top: calc(-184px - 120px); | ||
} | ||
|
||
.menu__bridge { | ||
margin-top: -138px; | ||
margin-top: calc(-138px - 120px); | ||
Comment on lines
+105
to
+113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above, why the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. because there is a possibility to remove this banner in future, I thought that it's better to use calc to not calculate back again and prevent mis-calculation the values There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since it's for documentation purpose, I'd advise using a comment instead of calc. |
||
} | ||
|
||
.dummy-row { | ||
|
@@ -133,3 +135,17 @@ | |
background: transparent; | ||
} | ||
} | ||
|
||
.lfgm { | ||
display: flex; | ||
align-items: center; | ||
width: 224px; | ||
height: 112px; | ||
margin-bottom: 8px; | ||
color: #fff; | ||
position: relative; | ||
transition: all 0.3s ease 0s; | ||
} | ||
.lfgm:hover { | ||
background: $navy-3; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just put
156px
?