/* Styles specific to a small screen, such as iPhone, Android, etc... */
-input[type="submit"],
-input[type="text"] {
- -webkit-appearance: none;
-}
-
-.column-1 {
- width: 100%;
-}
-
-#menu-icon {
- display: inline-block !important;
-}
+body.small {
-nav.primary,
-nav.secondary {
- float: none !important;
- position: relative;
- display: block;
- clear: both;
-}
-
-header {
- height: auto;
- min-height: $headerHeight;
- background: #fff;
-
- h1 {
- padding-bottom: 15px;
+ input[type="submit"],
+ input[type="text"] {
+ -webkit-appearance: none;
}
- &.closed nav {
- display: none;
+ #menu-icon {
+ display: inline-block !important;
}
- .search_form {
+ nav.primary,
+ nav.secondary {
+ float: none !important;
+ position: relative;
display: block;
+ clear: both;
}
-}
-#sidebar .search_form,
-#edit_tab,
-#export_tab {
- display: none;
-}
+ header {
+ height: auto;
+ min-height: $headerHeight;
+ background: #fff;
-nav.primary {
- padding: 0;
+ h1 {
+ padding-bottom: 15px;
+ }
- ul, li {
- border: none;
- border-radius: 0;
- width: 100%;
- }
+ &.closed nav {
+ display: none;
+ }
- ul {
- border-top: 1px solid #eee;
- li {
- border-bottom: 1px solid #eee;
- border-right: none;
- > a {
- border-radius: 0;
- width: 100%;
- text-align: center;
- font-size: 15px;
- }
+ .search_forms {
+ display: block;
}
}
-}
-nav.secondary {
- border-bottom: 1px solid #eee;
-
- .user-menu {
- display: block;
- width: 100%;
- margin-left: 0;
- > li {
- width: 49%;
- > a {
- width: 100%;
- text-align: center;
- }
- }
+ #sidebar .search_forms,
+ #edit_tab,
+ #export_tab {
+ display: none;
}
-}
-#compact-secondary-nav {
- display: none;
-}
+ nav.primary {
+ padding: 0;
-.compact-hide {
- display: inline-block;
-}
+ ul, li {
+ border: none;
+ border-radius: 0;
+ width: 100%;
+ }
-.map-layout {
- #sidebar, #map {
- position: relative;
- overflow-x: hidden;
- width: 100%;
- height: 50%;
- }
+ ul {
+ border-top: 1px solid #eee;
+ li {
+ border-bottom: 1px solid #eee;
+ border-right: none;
+ > a {
+ border-radius: 0;
+ width: 100%;
+ text-align: center;
+ font-size: 15px;
+ }
+ }
+ }
- .overlay-sidebar {
- #sidebar {
- width: 300px;
+ .btn-group {
+ width: 100%;
+ padding: 10px;
}
+ }
- #map {
- height: 100%;
+ nav.secondary {
+ .user-menu {
+ width: 100%;
}
}
- #map-ui {
- z-index: 9999;
- width: 100%;
- overflow-y: scroll;
+ #compact-secondary-nav {
+ display: none;
}
-}
-#sidebar .welcome {
- display: none !important;
-}
+ .compact-hide {
+ display: inline-block;
+ }
-.leaflet-top.leaflet-right {
- top: 10px !important;
- z-index: 0;
-}
+ .overlay-sidebar #sidebar .welcome.visible {
+ display: none;
+ }
-.content_map {
- width: 100%;
- border: none;
- float: none;
- height: 200px;
- max-height: none;
- min-height: auto;
-}
+ .overlay-sidebar #sidebar #banner {
+ display: none;
+ }
-/* Rules for the login form */
+ .leaflet-top.leaflet-right {
+ top: 10px !important;
+ }
-#login_login input#user_email {
- width: 100%;
- max-width: 18em;
-}
+ /* Rules for the login form */
-#login_login input#user_password {
- width: 100%;
- max-width: 18em;
-}
+ #login_login input#user_email {
+ width: 100%;
+ max-width: 18em;
+ }
-#login_login input#openid_url {
- width: 100%;
- max-width: 18em;
-}
+ #login_login input#user_password {
+ width: 100%;
+ max-width: 18em;
+ }
-#login_openid_buttons td {
- padding: 2px;
-}
+ #login_login input#openid_url {
+ width: 100%;
+ max-width: 18em;
+ }
-/* Rules for the user view */
+ #login_openid_buttons td {
+ padding: 2px;
+ }
-.user_map {
- width: 100% !important;
- height: 300px !important;
-}
+ &.site-about #content .attr h1 {
+ font-size: 28px;
+ }
-#userinformation .deemphasize {
- position: relative;
- right: auto; left: auto;
- margin-top: 10px;
- top: auto;
}
-/* Rules for the sign-up page */
+@media (max-width: 767.98px) {
+ body.map-layout {
+ #sidebar, #map {
+ position: relative;
+ overflow-x: hidden;
+ width: 100%;
+ height: 50%;
+ }
-.user-new,
-.user-create {
- .col6 {
- width: 100%;
- }
+ .overlay-sidebar {
+ #sidebar {
+ position: absolute;
+ width: 300px;
+ height: auto;
+ overflow: hidden;
+ }
- .aside {
- display: none;
- }
-}
+ #map {
+ height: 100%;
+ }
+ }
-.site-about #content .attr h1 {
- font-size: 28px;
+ #map-ui {
+ z-index: 9999;
+ width: 100%;
+ overflow-y: scroll;
+ }
+ }
}