Updated file structure

This commit is contained in:
Damien Broqua 2018-11-18 19:03:01 +01:00
parent 6f351f0231
commit e324446051
13 changed files with 197 additions and 197 deletions

21
src/css/Header.css Normal file
View file

@ -0,0 +1,21 @@
.navbar-collapse {
flex-grow: unset !important;
}
.nav-item {
padding: 0 16px;
border-left: 1px solid #ccc;
}
.navbar.navbar-expand-md.navbar-light.bg-light {
box-shadow: 0 2px 2px #a7a7a7;
margin-bottom: 16px;
}
.nav-link .text {
padding-right: 32px;
}
.nav-link .badge {
position: absolute;
right: 24px;
}

3
src/css/Home.css Normal file
View file

@ -0,0 +1,3 @@
.logo {
margin: 0 16px 16px 0;
}

49
src/css/Map.css Normal file
View file

@ -0,0 +1,49 @@
.map {
width: 734px;
height: 530px;
background: url('/plan.jpg');
background-size: cover;
position: relative;
}
.mapMarker {
position: absolute;
left: 25%;
top: 33%;
}
.mapMarker svg {
color: #dc3545;
font-size: 2rem;
cursor: pointer;
}
.mapMarker.selected svg {
color: #007bff;
animation: bounce 0.7s ease 5;
}
@keyframes bounce{
from {margin-top: 0;}
50% {margin-top: 8px;}
to {margin-top: 0;}
}
.vegetables--types--group li {
cursor: pointer;
text-align: left;
}
.vegetables--types--group li:hover {
background: #fafafa;
opacity: 0.6;
}
.vegetables--types--group li.selected {
background: #f1f1f1;
font-weight: bold;
}
.vegetables--types--group .badge {
margin-left: 8px;
}

38
src/css/index.css Normal file
View file

@ -0,0 +1,38 @@
body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: url('/background/1.jpg') no-repeat fixed;
background-size: cover;
background-position: center center;
}
.with-border {
box-shadow: 4px 4px 6px #a7a7a7;
border-radius: 8px;
border: 1px solid #ccc;
/* margin: 16px; */
padding: 8px;
}
.with-margin {
margin: 8px;
}
@media (max-width: 575.98px) {
.with-margin {
margin: 8px 0;
}
}
.with-background {
background-color: rgba(248,249,250, 0.7) !important;
}
.container {
margin-top: 116px;
}