Files
old-kivi/web/dist/main.css
Edin Dazdarevic 7072278061 Finished navbar (responsive) and started to work
on filters sidebar
2016-11-08 10:25:48 +01:00

301 lines
4.1 KiB
CSS

body {
margin: 0;
height: 100%;
font-family: "Roboto" , Helvetica, Arial, sans-serif;
color: #333333;
}
html {
height: 100%;
}
#root {
height: 100%;
}
*, :after, :before {
box-sizing: border-box;
}
#container {
position: relative;
width: 100%;
height: 100%;
}
#header {
background-color: hsla(0,0%,100%,.95);
box-shadow: 0 2px 4px 0 rgba(73,73,73,.1);
height: 60px;
position: fixed;
top: 0;
z-index: 10000;
width: 100%;
box-sizing: border-box;
padding: 9px 9px 9px 20px;
overflow: hidden;
display: flex;
align-items: center;
}
#header .title {
font-weight: bold;
font-size: 1.5em;
color: #b6d53b;
}
.filter-row {
padding: 15px 0;
border-bottom: 1px solid #e7e7e7;
display: flex;
align-items: baseline;
}
.listings-row {
margin-bottom: 15px;
border: 1px solid #e6e6e6;
background: #fff;
cursor: pointer;
border-radius: 3px;
border-radius: 3px;
}
#left {
height: 100%;
}
#map {
height: 100%;
}
.right-content {
padding: 10px 10px 0;
overflow-y: auto;
height: 100%;
}
#right {
box-sizing: border-box;
width: 572px;
padding-top: 60px;
float: right;
height: 100%;
border: 1px solid #e6e6e6;
background: rgba(252,252,253,.9);
}
.filters {
position: relative;
margin: 0;
padding: 10px 25px 0;
border: 1px solid #e6e6e6;
background: #fff;
border-radius: 3px;
font-size: 13px;
}
.filters-btn-toggle {
margin-top: 90px;
display: none;
}
.filters-close-button {
display: none;
}
.left-hidden-shown {
display: block;
}
.right-hidden-shown {
display: block;
}
.hamburger-menu {
display: none;
}
.view-types {
display: none;
margin-left: 10px;
}
@media (max-width : 768px) {
#right {
width: 100%;
}
.filters-btn-toggle {
margin-top: 90px;
display: block;
}
.filters-close-button {
display: block;
}
.left-hidden{
display: none;
}
.right-shown {
display: block;
}
.right-base {
display: none;
}
.left-base {
display: block;
}
#header .title {
display: none;
}
.hamburger-menu {
display: inline-block;
}
.where-to {
width: 70%;
}
.where-to:focus {
width: 85%;
}
.view-types {
display: flex;
}
.filter-row {
display: block;
}
.filter-title {
margin-bottom: 10px;
}
}
.where-to {
max-width: 352px;
height: 40px;
margin-left: 30px;
padding-left: 50px;
border: 1px solid #e6e6e6;
background: #fff;
/*background-image: url(/static/images/search.svg);*/
background-image: url(https://d214hhm15p4t1d.cloudfront.net/7_4_2/p/img/icons/search.svg);
background-repeat: no-repeat;
background-position: 10px;
background-size: 20px;
color: #2d3138;
font-size: 16px;
letter-spacing: .3px;
--webkit-flex: 4 4;
border-radius: 3px;
align-self: center;
width: 100%;
}
.pac-container {
z-index: 10000051 !important;
}
.view-types a {
border: 1px solid #b6d53b;
background: #fff;
color: #b6d53b;
font-size: 18px;
letter-spacing: .4px;
width: 48px;
height: 32px;
padding: 0;
padding-top: 5px;
text-align: center;
}
.view-type-left {
border-radius: 5px 0 0 5px;
}
.view-type-right {
border-radius: 0px 5px 5px 0;
margin-left: -1px;
}
.filter-bottom {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
}
.filter-title {
width: 40%;
letter-spacing: 1px;
}
.filter-content {
width: 100%;
}
.filter-content input {
padding: 5px 8px;
border: 1px solid #e2e2e6;
width: 100px;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
font-size: 14px;
color: #212126;
letter-spacing: .2px;
}
.property-type-btn {
width: 171px;
}
.filter-btn {
display: inline-block;
border: 1px solid #b6d53b;;
padding: 12px;
cursor: pointer;
margin: 0 6px 6px 0;
color: #2d3138;
font-size: 14px;
letter-spacing: .4px;
border-radius: 3px;
user-select: none;
touch-action: manipulation;
vertical-align: middle;
text-align: center;
}
.property-rooms-btn {
width: 58px;
}
.property-rooms-studio {
width: 93px;
}
.filter-row.no-border {
border: 0;
}
.filter-btn.more-filters {
float: right;
width: 145px;
}
.filter-btn:hover {
background-color: #FFFFEE;
}