Aligned mobile side menu, changed menu background color
This commit is contained in:
parent
8d321b2493
commit
14110cdd5f
@ -90,7 +90,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
||||||
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
|
background-color: white;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
|
|
||||||
@ -413,18 +413,26 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slideButton {
|
.slideButton {
|
||||||
|
padding: 0px !important;
|
||||||
|
line-height: 50px !important;
|
||||||
|
|
||||||
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
width: 100%;
|
||||||
margin-right: auto;
|
|
||||||
width: 90%;
|
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: #788897;
|
||||||
border-bottom: 2px solid extract(@lightGrey, 4);
|
border-bottom: 1px solid extract(@lightGrey, 5);
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: extract(@lightGrey, 1);
|
background-color: extract(@lightGrey, 1);
|
||||||
|
span{
|
||||||
|
color: #3B97D3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
i{
|
||||||
|
margin-left: 5%;
|
||||||
|
color: #3B97D3;
|
||||||
}
|
}
|
||||||
i, span {
|
i, span {
|
||||||
float: left;
|
float: left;
|
||||||
@ -464,9 +472,9 @@ body {
|
|||||||
|
|
||||||
.titleArea {
|
.titleArea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background-color: white;
|
||||||
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
|
|
||||||
}
|
}
|
||||||
@media @desktop-portrait {
|
@media @desktop-portrait {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
@ -609,10 +617,9 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#menu {
|
#menu {
|
||||||
width: 85%;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
|
||||||
.linear-gradient(rgb(65,68,77), rgb(58,60,69));
|
background-color: white;
|
||||||
}
|
}
|
||||||
@media @landscape {
|
@media @landscape {
|
||||||
display: none;
|
display: none;
|
||||||
@ -735,8 +742,8 @@ body {
|
|||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
||||||
padding-left: 10px;
|
padding: 0px;
|
||||||
padding-right: 10px;
|
line-height: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -939,26 +946,32 @@ body {
|
|||||||
|
|
||||||
.settingsMenu {
|
.settingsMenu {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.linear-gradient(rgb(65,68,77), rgb(58,60,69));
|
z-index: 1000;
|
||||||
|
position: fixed;
|
||||||
|
transform: translateX(100vw);
|
||||||
|
width: 70vw;
|
||||||
|
|
||||||
|
transition: transform 0.3s linear;
|
||||||
|
-moz-transition: transform 0.3s linear;
|
||||||
|
-webkit-transition: transform 0.3s linear;
|
||||||
|
-ms-transition: transform 0.3s linear;
|
||||||
|
-o-transition: transform 0.3s linear;
|
||||||
|
|
||||||
|
&.menuOut {
|
||||||
|
transform: translate(0vw, 0);
|
||||||
|
-moz-transform: translate(0vw, 0);
|
||||||
|
-webkit-transform: translate(0vw, 0);
|
||||||
|
-ms-transform: translate(0vw, 0);
|
||||||
|
-o-transform: translate(0vw, 0);
|
||||||
|
}
|
||||||
|
|
||||||
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
||||||
z-index: 1000;
|
|
||||||
position: fixed;
|
|
||||||
transform: translateX(100vw);
|
|
||||||
width: 60vw;
|
|
||||||
|
|
||||||
transition: transform 0.3s linear;
|
|
||||||
-moz-transition: transform 0.3s linear;
|
|
||||||
-webkit-transition: transform 0.3s linear;
|
|
||||||
-ms-transition: transform 0.3s linear;
|
|
||||||
-o-transition: transform 0.3s linear;
|
|
||||||
|
|
||||||
&.menuOut {
|
&.menuOut {
|
||||||
transform: translate(40vw, 0);
|
transform: translate(30vw, 0);
|
||||||
-moz-transform: translate(40vw, 0);
|
-moz-transform: translate(30vw, 0);
|
||||||
-webkit-transform: translate(40vw, 0);
|
-webkit-transform: translate(30vw, 0);
|
||||||
-ms-transform: translate(40vw, 0);
|
-ms-transform: translate(30vw, 0);
|
||||||
-o-transform: translate(40vw, 0);
|
-o-transform: translate(30vw, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1119,6 +1132,10 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rightHamburgerButton {
|
.rightHamburgerButton {
|
||||||
|
@media @mobile-portrait{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
@media @mobile-portrait-with-keyboard, @mobile-portrait {
|
||||||
span {
|
span {
|
||||||
&::before {
|
&::before {
|
||||||
@ -1360,4 +1377,4 @@ body {
|
|||||||
}
|
}
|
||||||
/*********************************/
|
/*********************************/
|
||||||
/*End of Spinning Bar's Styling */
|
/*End of Spinning Bar's Styling */
|
||||||
/*********************************/
|
/*********************************/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* colors sorted by brightness */
|
/* colors sorted by brightness */
|
||||||
@white: #fff, #f5f5f5, #eee;
|
@white: #fff, #f5f5f5, #eee;
|
||||||
@lightGrey: #d7d7d7, #cccdd1, #ccc, #999;
|
@lightGrey: #d7d7d7, #cccdd1, #ccc, #999, #E4E5E7;
|
||||||
@darkGrey: #666, #60636a, #40434c, #32353e;
|
@darkGrey: #666, #60636a, #40434c, #32353e;
|
||||||
@azure: #54a7db, #0099FF;
|
@azure: #54a7db, #0099FF;
|
||||||
@black: #000;
|
@black: #000;
|
||||||
|
Loading…
Reference in New Issue
Block a user