css layout change only in content block
This commit is contained in:
parent
009a4dbb67
commit
b9c2829e75
1 changed files with 153 additions and 154 deletions
|
@ -1,8 +1,8 @@
|
||||||
@import "parameters";
|
@import "parameters";
|
||||||
|
|
||||||
/* Styles specific to a small screen, such as iPhone, Android, etc... */
|
/* Styles specific to a small screen, such as iPhone, Android, etc... */
|
||||||
@media (max-width: 640px) {
|
|
||||||
body {
|
body.small {
|
||||||
|
|
||||||
input[type="submit"],
|
input[type="submit"],
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
|
@ -60,11 +60,9 @@
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -94,33 +92,6 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.map-layout {
|
|
||||||
#sidebar, #map {
|
|
||||||
position: relative;
|
|
||||||
overflow-x: hidden;
|
|
||||||
width: 100%;
|
|
||||||
height: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay-sidebar {
|
|
||||||
#sidebar {
|
|
||||||
position: absolute;
|
|
||||||
width: 300px;
|
|
||||||
height: auto;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#map {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#map-ui {
|
|
||||||
z-index: 9999;
|
|
||||||
width: 100%;
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay-sidebar #sidebar .welcome.visible {
|
.overlay-sidebar #sidebar .welcome.visible {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -173,8 +144,7 @@
|
||||||
|
|
||||||
#userinformation .deemphasize {
|
#userinformation .deemphasize {
|
||||||
position: relative;
|
position: relative;
|
||||||
right: auto;
|
right: auto; left: auto;
|
||||||
left: auto;
|
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
top: auto;
|
top: auto;
|
||||||
}
|
}
|
||||||
|
@ -184,4 +154,33 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
body.map-layout {
|
||||||
|
#sidebar, #map {
|
||||||
|
position: relative;
|
||||||
|
overflow-x: hidden;
|
||||||
|
width: 100%;
|
||||||
|
height: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overlay-sidebar {
|
||||||
|
#sidebar {
|
||||||
|
position: absolute;
|
||||||
|
width: 300px;
|
||||||
|
height: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#map {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#map-ui {
|
||||||
|
z-index: 9999;
|
||||||
|
width: 100%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue