427 lines
7.2 KiB
CSS
427 lines
7.2 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;
|
|
}
|
|
} |