salvagedb_web/static/styles.css

1352 lines
22 KiB
CSS

@media (max-width: 768px) {
.search_box {
width: 100%;
max-width: 300px;
}
.container {
padding: 0 15px;
}
.hero-unit {
padding: 20px;
}
.hero-unit h1 {
font-size: 24px;
}
img {
max-width: 100%;
height: auto;
}
.search-container {
width: 100%;
padding: 0 15px;
}
.search-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.search-wrapper input {
width: 100%;
max-width: 300px;
}
.search-wrapper button {
width: 100%;
max-width: 300px;
}
.vin-image {
max-width: 100%;
height: auto;
}
}
.search-title {
text-align: center;
width: 100%;
margin-bottom: 20px;
}
.search-title h2 {
display: inline-block;
margin: 0;
}
.table-responsive {
width: 100%;
margin-bottom: 20px;
}
#hor-minimalist-a {
width: 100%;
border-collapse: collapse;
margin: 0;
font-size: 14px;
background: #fff;
}
#hor-minimalist-a th {
background: #f5f5f5;
padding: 12px;
text-align: left;
font-weight: 600;
border-bottom: 2px solid #ddd;
}
#hor-minimalist-a td {
padding: 12px;
border-bottom: 1px solid #ddd;
color: #333;
background: #fff;
}
#hor-minimalist-a tr:hover {
background: #f9f9f9;
}
#hor-minimalist-a td a {
word-break: break-all;
}
@media (max-width: 768px) {
#hor-minimalist-a th,
#hor-minimalist-a td {
padding: 8px;
font-size: 13px;
white-space: nowrap;
background: #fff;
}
#hor-minimalist-a th {
position: sticky;
left: 0;
z-index: 1;
background: #f5f5f5;
}
#hor-minimalist-a td:nth-child(2) {
max-width: 200px;
word-break: break-word;
}
#hor-minimalist-a td:nth-child(4) {
max-width: 150px;
word-break: break-all;
}
}
.pagination-container {
display: flex;
justify-content: center;
margin: 20px 0;
}
.pagination {
display: flex;
flex-wrap: wrap;
gap: 5px;
justify-content: center;
}
.pagination .btn {
padding: 6px 12px;
margin: 0;
border: 1px solid #ddd;
background: #fff;
color: #333;
text-decoration: none;
border-radius: 3px;
}
.pagination .btn:hover {
background: #f5f5f5;
}
.pagination .btn.active {
background: #007bff;
color: #fff;
border-color: #007bff;
}
.pagination .btn.disabled {
color: #999;
cursor: not-allowed;
background: #f5f5f5;
}
@media (max-width: 768px) {
.pagination {
gap: 3px;
}
.pagination .btn {
padding: 4px 8px;
font-size: 12px;
}
}
.details-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.car-details {
margin-bottom: 30px;
}
#one-column-emphasis {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
font-size: 16px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
}
#one-column-emphasis td {
padding: 12px;
border-bottom: 1px solid #ddd;
word-break: break-word;
}
#one-column-emphasis td:first-child {
font-weight: bold;
width: 30%;
background-color: #f5f5f5;
color: #333;
}
.search-container {
text-align: center;
margin-top: 20px;
}
.search-container h2 {
margin-bottom: 20px;
}
.search-wrapper {
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}
.search-wrapper input {
width: 100%;
max-width: 400px;
}
@media (max-width: 768px) {
.details-container {
padding: 10px;
}
#one-column-emphasis {
font-size: 15px;
border: none;
box-shadow: none;
}
#one-column-emphasis td {
padding: 12px 15px;
display: block;
width: 100%;
border-bottom: none;
position: relative;
}
#one-column-emphasis td:first-child {
background-color: #007bff;
color: white;
font-weight: 600;
padding: 12px 15px;
border-radius: 6px 6px 0 0;
margin-top: 10px;
}
#one-column-emphasis td:last-child {
background-color: #f8f9fa;
border-radius: 0 0 6px 6px;
margin-bottom: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#one-column-emphasis tr {
border: none;
margin-bottom: 0;
display: block;
}
.car-details {
padding: 0 10px;
}
.search-wrapper input {
width: 100%;
}
}
.navbar {
background: #333;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
position: relative;
min-height: 50px;
margin-bottom: 20px;
}
.navbar-inner {
padding: 0 20px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
min-height: 50px;
}
.navbar .brand {
padding: 10px 0;
display: flex;
align-items: center;
text-decoration: none;
color: #fff;
font-weight: 600;
}
.navbar .brand img {
height: 28px;
margin-right: 10px;
}
.navbar .nav {
display: flex;
list-style: none;
margin: 0;
padding: 0;
}
.navbar .nav > li {
position: relative;
}
.navbar .nav > li > a {
display: block;
padding: 15px 20px;
color: #fff;
text-decoration: none;
font-weight: 500;
transition: all 0.3s;
}
.navbar .nav > li > a:hover {
background: rgba(255,255,255,0.1);
}
.navbar .nav > li.active > a {
background: rgba(255,255,255,0.15);
}
.navbar .btn-navbar {
display: none;
background: transparent;
border: none;
padding: 10px;
cursor: pointer;
margin-left: 15px;
}
.navbar .btn-navbar .icon-bar {
display: block;
width: 22px;
height: 2px;
background-color: #fff;
margin: 4px 0;
transition: all 0.3s;
}
@media (max-width: 768px) {
.navbar-inner {
padding: 0 15px;
}
.navbar .btn-navbar {
display: block;
}
.navbar .nav-collapse {
position: fixed;
top: 50px;
left: 0;
right: 0;
background: #333;
padding: 10px 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.3s;
z-index: 1000;
}
.navbar .nav-collapse.in {
transform: translateY(0);
opacity: 1;
visibility: visible;
}
.navbar .nav {
flex-direction: column;
}
.navbar .nav > li {
width: 100%;
}
.navbar .nav > li > a {
padding: 12px 20px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
}
.history-container {
margin-top: 30px;
overflow-x: auto;
background: transparent;
}
.not-found {
text-align: center;
padding: 20px;
margin: 20px 0;
background: #f8f9fa;
border-radius: 8px;
}
.not-found h2 {
color: #dc3545;
margin: 0;
}
@media (max-width: 768px) {
.history-container {
margin: 20px -15px;
padding: 0 15px;
background: transparent;
}
.not-found {
margin: 15px 0;
padding: 15px;
}
.not-found h2 {
font-size: 18px;
}
}
/* Base styles */
body {
padding-top: 60px;
padding-bottom: 40px;
}
wrapper {
width: auto;
overflow: hidden;
}
/* Share buttons */
.share_buttons {
width: 268px;
height: 38px;
float: right;
padding-top: 10px;
padding-left: 1px;
padding-right: 10px;
margin-top: 0;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
background: #E2E2E2;
}
.share_buttons .facebook {
display: block;
width: 79px;
height: 27px;
margin-left: 10px;
float: left;
background: transparent url('https://storage.googleapis.com/static.salvagedb.com/tray_share_buttons.png') no-repeat 0 0;
}
.share_buttons .twitter {
display: block;
width: 79px;
height: 27px;
margin-left: 10px;
float: left;
background: transparent url('https://storage.googleapis.com/static.salvagedb.com/tray_share_buttons.png') no-repeat 0 -54px;
}
.share_buttons .google {
width: 79px;
height: 27px;
margin-left: 10px;
float: left;
background: transparent url('https://storage.googleapis.com/static.salvagedb.com/tray_share_buttons.png') no-repeat 0 -108px;
}
/* Search styles */
input {
margin: 0;
}
#find_your_car {
text-align: left;
color: #06c;
margin-top: 0;
}
#s1earch_bar {
width: 700px;
}
#vininput {
width: 300px;
font-size: 1.5em;
height: 35px;
padding: 0 0 0 10px;
}
#s1earch_bar .search_box {
height: 35px;
font-size: 1.5em;
padding: 0 0 0 10px;
}
#s1earch_bar #make_model {
width: 350px;
}
#s1earch_bar #near {
margin: 5px 5px 0px 5px;
font-size: 18px;
}
#s1earch_bar #zipcode {
width: 100px;
}
#s1earch_bar #go1_button {
position: relative;
top: 1px;
height: 37px;
font-size: 20px;
margin-left: 8px;
}
#go_button {
top: 1px;
height: 37px;
font-size: 22px;
margin-left: 8px;
}
/* Table styles */
#hor-zebra {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
background-image: url("https://storage.googleapis.com/static.salvagedb.com/menu-bg.png?v=1");
background-repeat: no-repeat;
text-align: left;
border-collapse: collapse;
}
#hor-zebra a {
font-size: 14px;
font-weight: normal;
padding: 10px 8px;
color: #fff;
text-decoration: none;
}
#hor-zebra a:hover {
text-decoration: underline;
}
#hor-zebra th {
font-size: 14px;
font-weight: normal;
padding: 10px 8px;
color: #039;
}
#hor-zebra td {
padding: 8px;
color: #669;
}
#hor-zebra .odd {
background: #e8edff;
}
#hor-minimalist-a {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 0;
width: 100%;
border-collapse: collapse;
text-align: left;
background: #fff;
}
#hor-minimalist-a th {
font-size: 14px;
font-weight: normal;
color: #039;
padding: 10px 8px;
border-bottom: 2px solid #6678b1;
background: #f5f5f5;
}
#hor-minimalist-a td {
color: #669;
padding: 9px 8px 0px 8px;
background: #fff;
}
#hor-minimalist-a a {
color: #669;
padding: 9px 8px 0px 8px;
text-decoration: none;
}
#hor-minimalist-a tbody tr:hover a {
color: #009;
}
#hor-minimalist-a tbody tr:hover td {
color: #009;
}
#hor-minimalist2-a {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 0;
border-collapse: collapse;
text-align: left;
}
#hor-minimalist2-a th {
font-size: 14px;
font-weight: normal;
color: #039;
padding: 10px 8px;
border-bottom: 2px solid #6678b1;
}
#hor-minimalist2-a td {
color: #669;
padding: 9px 8px 0px 8px;
}
#hor-minimalist2-a a {
color: #669;
padding: 9px 8px 0px 8px;
text-decoration: none;
}
#hor-minimalist2-a tbody tr:hover a {
color: #009;
}
#hor-minimalist2-a tbody tr:hover td {
color: #009;
}
#one-column-emphasis {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
margin: 45px;
width: 480px;
text-align: left;
border-collapse: collapse;
}
#one-column-emphasis th {
font-size: 14px;
font-weight: normal;
padding: 12px 15px;
color: #039;
}
#one-column-emphasis td {
padding: 10px 15px;
color: #669;
border-top: 1px solid #e8edff;
}
/* Mega Menu */
.plus-mega a {
text-decoration: none;
padding-left: 20px;
display: block;
}
.plus-mega li {
padding-top: 3px;
padding-bottom: 3px;
}
.dropdown-menu.cols2 {
min-width: 280px;
}
.dropdown-menu.cols2 .span2 {
margin-left: 0px !important;
}
.dropdown-menu.cols3 {
min-width: 420px;
}
.dropdown-menu.cols3 .span2 {
margin-left: 0px !important;
}
.dropdown-menu.cols4 {
min-width: 560px;
}
.dropdown-menu.cols4 .span2 {
margin-left: 0px !important;
}
.dropdown-menu.cols5 {
min-width: 700px;
}
.dropdown-menu.cols5 .span2 {
margin-left: 0px !important;
}
.dropdown-menu.cols6 {
min-width: 840px;
}
.dropdown-menu.cols6 .span2 {
margin-left: 0px !important;
}
.plus-mega li > a > i {
margin-right: 5px;
}
/* Menu With Images */
.dropdown-menu > li > a > i {
margin-right: 5px;
}
/* Comments */
.plus-comment {
margin-top: 20px;
margin-bottom: 30px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.plus-comment .pointer {
border: solid 10px transparent;
border-right-color: #FFF;
position: absolute;
margin: 20px 0px 0 80px;
}
.plus-comment img {
float: left;
max-width: 100%;
margin-left: 20px;
}
.plus-comment p {
color: #000;
padding: 10px;
margin-left: 100px;
background-color: #FFF;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 2px;
-moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 2px;
box-shadow: rgba(0,0,0,0.5) 0px 2px 3px;
}
.plus-comment .plus-comment-details {
float: left;
width: 90px;
}
.plus-comment-details label {
font-weight: normal;
font-size: 12px;
line-height: 15px;
margin-left: 0px;
margin-top: 15px;
text-align: center;
}
.plus-comment-details .plus-comment-date {
margin-top: 0px;
padding: 0px;
font-size: 10px;
}
.plus-comment .plus-comment-tools {
margin-left: 100px;
}
.plus-comment .plus-comment-tools > a {
margin-left: 10px;
text-decoration: none;
}
/* Reply */
.plus-comment-reply {
margin-top: 20px;
margin-bottom: 30px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.plus-comment-reply .pointer {
border: solid 10px transparent;
border-right-color: #FFF;
position: absolute;
margin: 20px 0px 0 140px;
}
.plus-comment-reply img {
float: left;
max-width: 100%;
margin-left: 20px;
}
.plus-comment-reply p {
color: #000;
padding: 10px;
margin-left: 160px;
background-color: #FFF;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 2px;
-moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 2px;
box-shadow: rgba(0,0,0,0.5) 0px 2px 3px;
}
.plus-comment-reply .plus-comment-details {
float: left;
width: 90px;
margin-left: 60px;
}
.plus-comment-reply .plus-comment-tools {
margin-left: 150px;
}
.plus-comment-reply .plus-comment-tools > a {
margin-left: 10px;
text-decoration: none;
}
/* Draggable */
.plus-draggable {
padding: 0px;
}
.plus-draggable p {
padding: 10px;
}
/* Collapsable */
.plus-collapsible {
padding: 0px;
}
.plus-collapsible p {
padding: 10px;
}
.plus-collapsible > .navbar {
margin-bottom: 0px !important;
}
/* Box */
.plus-box {
padding: 0px;
}
.plus-box p {
padding: 10px;
}
/* Vertical Menu */
.plus-verticalMenu > ul {
display: none;
list-style: none;
}
.plus-verticalMenu > ul > li > a {
text-decoration: none;
color: inherit;
padding-left: 5px;
}
/* Hover menu */
ul.nav li.dropdown:hover ul.dropdown-menu.plus-hover {
display: block;
margin: 0;
}
a.menu:after, .dropdown-toggle:after {
content: none;
}
/* Pricing Table */
.plus-pricing > li {
list-style: none;
}
.plus-pricing-head {
text-align: center;
}
.plus-pricing-head h2 {
margin: 0;
}
.plus-pricing-price {
text-align: center;
}
.plus-pricing-price h3 {
margin: 0;
}
.plus-pricing-details {
text-align: center;
padding: 10px;
}
/* Pic */
.plus-pic {
position: relative;
}
.plus-pic > img {
max-width: 100%;
}
.plus-pic a {
text-decoration: none;
}
.plus-pic > .plus-badge {
position: absolute;
top: 10px;
right: 10px;
padding: 5px 10px;
background: #000;
color: #fff;
}
.plus-pic > .btn {
position: absolute;
bottom: 10px;
left: 10px;
right: 10px;
}
.plus-pic > .right-top {
position: absolute;
top: 10px;
right: 10px;
}
.plus-pic > .left-top {
position: absolute;
top: 10px;
left: 10px;
}
.plus-pic > .left-bottom {
position: absolute;
bottom: 10px;
left: 10px;
}
.plus-pic > .right-bottom {
position: absolute;
bottom: 10px;
right: 10px;
}
.plus-pic .plus-hover {
opacity: 0;
transition: all 0.3s;
}
.plus-pic:hover .plus-hover {
opacity: 1;
}
/* Empty spaces */
.plus-empty-5 {
margin-top: 5px;
}
.plus-empty-10 {
margin-top: 10px;
}
.plus-empty-20 {
margin-top: 20px;
}
.plus-empty-30 {
margin-top: 30px;
}
.plus-empty-40 {
margin-top: 40px;
}
.plus-empty-50 {
margin-top: 50px;
}
/* Post */
.plus-post {
position: relative;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.plus-post > .arrow-right {
position: absolute;
top: 50%;
right: -20px;
width: 0;
height: 0;
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 20px solid #fff;
}
/* Social tools */
.plus-social-tools > a {
margin-right: 10px;
}
.plus-social-tools {
margin-top: 20px;
text-align: center;
}
/* Metro */
.plus-metro {
position: relative;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.plus-metro.plus-metro-right {
float: right;
}
.plus-metro-nav a {
text-decoration: none;
}
.navbar .nav > li > .plus-metro:after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.1);
border-radius: 5px;
}
.navbar .nav > li > .plus-metro:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.1);
border-radius: 5px;
}
.plus-metro-nav {
position: relative;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.plus-metro-nav .box {
position: relative;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.plus-metro-nav .box.red {
background: #ff0000;
}
.plus-metro-nav .box.lightblue {
background: #00a0e9;
}
.plus-metro-nav .box.darkblue {
background: #0000ff;
}
.plus-metro-nav .box.green {
background: #00ff00;
}
.plus-metro-nav .box.purple {
background: #800080;
}
.plus-metro-nav .box.orange {
background: #ffa500;
}
.plus-metro-nav .box.facebook {
background: #3b5998;
}
.plus-metro-nav .box.pink {
background: #ffc0cb;
}
.plus-metro-nav .box.deviant {
background: #4e6252;
}
.plus-metro-nav .box.brown {
background: #8b4513;
}
.plus-metro-nav .box > h5 {
margin: 0;
padding: 10px;
color: #fff;
text-align: center;
}
.plus-metro-nav .box > h5 > i {
margin-right: 10px;
}
.plus-metro-nav .box.height2 {
height: 200px;
}
.plus-metro-nav .box.height3 {
height: 300px;
}
.plus-metro-nav .span6.box {
width: 50%;
}
.plus-metro > .arrow-up {
position: absolute;
top: -20px;
left: 50%;
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-bottom: 20px solid #fff;
}
/* Media queries */
@media (max-width: 980px) {
.plus-metro-nav {
width: 100%;
}
.plus-metro {
width: 100%;
}
.plus-metro-nav > a {
width: 100%;
}
.plus-metro > .arrow-up {
display: none;
}
}
@media (max-width: 767px) {
.plus-metro-nav .box {
width: 100%;
}
}
/* Responsive styles */
@media (max-width: 768px) {
.search_box {
width: 100%;
max-width: 300px;
}
.container {
padding: 0 15px;
}
.hero-unit {
padding: 20px;
}
.hero-unit h1 {
font-size: 24px;
}
img {
max-width: 100%;
height: auto;
}
.search-container {
width: 100%;
padding: 0 15px;
}
.search-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.search-wrapper input {
width: 100%;
max-width: 300px;
}
.search-wrapper button {
width: 100%;
max-width: 300px;
}
.vin-image {
max-width: 100%;
height: auto;
}
.details-container {
padding: 10px;
}
#one-column-emphasis {
font-size: 15px;
border: none;
box-shadow: none;
}
#one-column-emphasis td {
padding: 12px 15px;
display: block;
width: 100%;
border-bottom: none;
position: relative;
}
#one-column-emphasis td:first-child {
background-color: #007bff;
color: white;
font-weight: 600;
padding: 12px 15px;
border-radius: 6px 6px 0 0;
margin-top: 10px;
}
#one-column-emphasis td:last-child {
background-color: #f8f9fa;
border-radius: 0 0 6px 6px;
margin-bottom: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
#one-column-emphasis tr {
border: none;
margin-bottom: 0;
display: block;
}
.car-details {
padding: 0 10px;
}
.search-wrapper input {
width: 100%;
}
.navbar-inner {
padding: 0 15px;
}
.navbar .btn-navbar {
display: block;
}
.navbar .nav-collapse {
position: fixed;
top: 50px;
left: 0;
right: 0;
background: #333;
padding: 10px 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.3s;
z-index: 1000;
}
.navbar .nav-collapse.in {
transform: translateY(0);
opacity: 1;
visibility: visible;
}
.navbar .nav {
flex-direction: column;
}
.navbar .nav > li {
width: 100%;
}
.navbar .nav > li > a {
padding: 12px 20px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.history-container {
margin: 20px -15px;
padding: 0 15px;
background: transparent;
}
.not-found {
margin: 15px 0;
padding: 15px;
}
.not-found h2 {
font-size: 18px;
}
}