|
|
@@ -1,12 +1,11 @@ |
|
|
|
$button-width : 42px; |
|
|
|
$button-border : 2px solid black; |
|
|
|
.menubar{ |
|
|
|
$button-width: 42px; |
|
|
|
$button-border: 2px solid black; |
|
|
|
.menubar { |
|
|
|
|
|
|
|
|
|
|
|
&.paragraph-menubar { |
|
|
|
|
|
|
|
position: fixed; |
|
|
|
display:flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
top: 100px; |
|
|
@@ -17,70 +16,81 @@ $button-border : 2px solid black; |
|
|
|
width: $button-width; |
|
|
|
height: $button-width; |
|
|
|
background-color: white; |
|
|
|
border-left: $button-border ; |
|
|
|
border-right: $button-border ; |
|
|
|
border-bottom: $button-border ; |
|
|
|
border-top :none; |
|
|
|
&:nth-child(1){ |
|
|
|
border-top : $button-border ; |
|
|
|
border-left: $button-border; |
|
|
|
border-right: $button-border; |
|
|
|
border-bottom: $button-border; |
|
|
|
border-top: none; |
|
|
|
|
|
|
|
&:nth-child(1) { |
|
|
|
border-top: $button-border; |
|
|
|
} |
|
|
|
|
|
|
|
&:hover{ |
|
|
|
&:hover { |
|
|
|
color: white; |
|
|
|
background-color: black; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&.char-menubar{ |
|
|
|
&.char-menubar { |
|
|
|
|
|
|
|
top: 10px; |
|
|
|
left: 0px; |
|
|
|
display: block; |
|
|
|
width : 75%; |
|
|
|
margin : 50px 0px 100px 0px; |
|
|
|
width: 100%; |
|
|
|
position: fixed; |
|
|
|
text-align: center; |
|
|
|
z-index: 10; |
|
|
|
ul, li { |
|
|
|
padding:0; |
|
|
|
margin: 0; |
|
|
|
padding: 0; |
|
|
|
margin: 0; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& > ul { |
|
|
|
display: flex; |
|
|
|
justify-content:flex-start; |
|
|
|
justify-content: center; |
|
|
|
position: relative; |
|
|
|
li, button{ |
|
|
|
|
|
|
|
li, button { |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
|
|
|
|
ul { |
|
|
|
display:none; |
|
|
|
display: none; |
|
|
|
position: absolute; |
|
|
|
} |
|
|
|
|
|
|
|
& > li { |
|
|
|
background-color: white; |
|
|
|
width: 150px; |
|
|
|
list-style-type: none; |
|
|
|
border-top: $button-border ; |
|
|
|
border-right: $button-border ; |
|
|
|
border-bottom: $button-border ; |
|
|
|
&:nth-child(1){ |
|
|
|
border-left: $button-border ; |
|
|
|
border-top: $button-border; |
|
|
|
border-right: $button-border; |
|
|
|
border-bottom: $button-border; |
|
|
|
|
|
|
|
&:nth-child(1) { |
|
|
|
border-left: $button-border; |
|
|
|
} |
|
|
|
} |
|
|
|
li:hover{ |
|
|
|
|
|
|
|
li:hover { |
|
|
|
ul { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
position: absolute; |
|
|
|
width: 152px; |
|
|
|
li{ |
|
|
|
border-left: $button-border ; |
|
|
|
border-right: $button-border ; |
|
|
|
border-bottom: $button-border ; |
|
|
|
|
|
|
|
li { |
|
|
|
border-left: $button-border; |
|
|
|
border-right: $button-border; |
|
|
|
border-bottom: $button-border; |
|
|
|
list-style-type: none; |
|
|
|
margin-left: -2px; |
|
|
|
background-color: white; |
|
|
|
|
|
|
|
button { |
|
|
|
border :none; |
|
|
|
border: none; |
|
|
|
background-color: white; |
|
|
|
width: 100%; |
|
|
|
} |
|
|
@@ -88,8 +98,15 @@ $button-border : 2px solid black; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.menubar__button.is-active{ |
|
|
|
color: white; |
|
|
|
background-color: black; |
|
|
|
} |
|
|
|
|
|
|
|
} |