-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(menu): change style of menu components (#132)
- Loading branch information
1 parent
1b2a8c0
commit 197fcb9
Showing
4 changed files
with
40 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
.menuContainer | ||
height: 30px | ||
width: 30px | ||
position: relative | ||
align-self: left | ||
margin: 20px | ||
|
||
.menuButton | ||
border-radius: 50% | ||
background-color: #ccc | ||
font-size: 1em | ||
outline: 0 | ||
border-radius: 50% | ||
background-color: #ccc | ||
font-size: 1em | ||
outline: 0 | ||
|
||
.menuList | ||
min-width: 250px | ||
background-color: #fff; | ||
padding: 0 | ||
position: absolute | ||
bottom: 20px | ||
left: 0 | ||
min-width: 250px | ||
background-color: #fff; | ||
padding: 0 | ||
list-style: none | ||
|
||
.menuListItem | ||
padding: 10px 15px | ||
margin: 7px | ||
padding: 10px 15px | ||
margin: 7px | ||
|
||
.menuListItem:hover, | ||
.menuListItem:focus | ||
background-color: #e0f1ff | ||
background-color: #e0f1ff |
28 changes: 15 additions & 13 deletions
28
src/scripts/components/projection-menu/projection-menu.styl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
.projectionContainer | ||
position: relative | ||
position: relative | ||
margin: 20px | ||
|
||
.projectionButton | ||
background-color: #ccc | ||
font-size: 1em | ||
outline: 0 | ||
background-color: #ccc | ||
font-size: 1em | ||
outline: 0 | ||
|
||
.projectionList | ||
position: absolute | ||
bottom: 20px | ||
left: 0 | ||
min-width: 250px | ||
background-color: #fff; | ||
padding: 0 | ||
position: absolute | ||
bottom: 20px | ||
right: 0 | ||
min-width: 200px | ||
background-color: #fff; | ||
padding: 0 | ||
list-style: none | ||
|
||
.projectionListItem | ||
padding: 10px 15px | ||
margin: 7px | ||
padding: 10px 15px | ||
margin: 7px | ||
|
||
.projectionListItem:hover, | ||
.projectionListItem:focus | ||
background-color: #e0f1ff | ||
background-color: #e0f1ff |