-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
desktop friendly map and search page
- Loading branch information
Showing
10 changed files
with
249 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@media only screen and (min-width: 65em) { | ||
|
||
|
||
} | ||
|
||
@media only screen and (min-width: 45em) { | ||
div.well-card { | ||
border: 2px solid #4d4d4d; | ||
margin: 1.5rem; | ||
} | ||
main.search{ | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
main.search a{ | ||
color: inherit; | ||
width: 50%; | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@media only screen and (min-width: 65em) { | ||
/* Style adjustments for viewports that meet the condition */ | ||
nav.top-nav{ | ||
width: 5rem; | ||
} | ||
nav.top-nav div.main-bttns{ | ||
flex-direction: column; | ||
} | ||
nav.top-nav h1{ | ||
display: none; | ||
} | ||
nav .slide-menu{ | ||
} | ||
|
||
nav.bottom-nav{ | ||
width: 5rem; | ||
flex-direction: column; | ||
height: calc(100vh - 8rem); | ||
margin-top: 5rem; | ||
justify-content: flex-start; | ||
padding-top: 4rem; | ||
} | ||
nav.bottom-nav button{ | ||
margin-bottom: 3rem; | ||
} | ||
|
||
div.well-card{ | ||
margin-left: 0; | ||
margin-right: 0; | ||
top: auto; | ||
bottom: 1rem; | ||
left: auto; | ||
right: auto; | ||
display: none; | ||
} | ||
|
||
div.desk-details{ | ||
display: block; | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
width: 23rem; | ||
height: 100vh; | ||
overflow-y: scroll; | ||
border-left: solid black 2px; | ||
} | ||
div.desk-details ul{ | ||
margin: 1rem | ||
} | ||
div.desk-details li, div.desk-details p{ | ||
margin: 0rem | ||
} | ||
nav.fabs{ | ||
left: 6rem; | ||
bottom: 1rem; | ||
} | ||
main.details{ | ||
margin-top: 0rem; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!doctype html> | ||
<html class="no-js" lang=""> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<title></title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="apple-touch-icon" href="apple-touch-icon.png"> | ||
<!-- Place favicon.ico in the root directory --> | ||
<link rel="stylesheet" href="css/normalize.css"> | ||
<link rel="stylesheet" href="css/main.css"> | ||
<script src="js/vendor/modernizr-2.8.3.min.js"></script> | ||
</head> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<body> | ||
<!--[if lt IE 8]> | ||
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> | ||
<![endif]--> | ||
<!-- Add your site or application content here --> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<nav class="top-nav"> | ||
<button><a href="map.html"><img alt="back" src="img/back.svg" ></a></button> <h1>Details</h1> | ||
<button><a href="form.html"><img alt="edit" src="img/edit.svg" ></a></button> | ||
</nav> | ||
<main class="details"> | ||
|
||
<?php | ||
include 'details-content.php'; | ||
?> | ||
<main class="details"> | ||
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script> | ||
<script> | ||
window.jQuery || document.write('<script src="js/vendor/jquery-1.12.0.min.js"><\/script>') | ||
</script> | ||
<script src="js/plugins.js"></script> | ||
<script src="js/main.js"></script> | ||
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> | ||
<script> | ||
(function (b, o, i, l, e, r) { | ||
b.GoogleAnalyticsObject = l; | ||
b[l] || (b[l] = function () { | ||
(b[l].q = b[l].q || []).push(arguments) | ||
}); | ||
b[l].l = +new Date; | ||
e = o.createElement(i); | ||
r = o.getElementsByTagName(i)[0]; | ||
e.src = 'https://www.google-analytics.com/analytics.js'; | ||
r.parentNode.insertBefore(e, r) | ||
}(window, document, 'script', 'ga')); | ||
ga('create', 'UA-XXXXX-X', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> | ||
</body> | ||
|
||
</html> |
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
Oops, something went wrong.