feat: добавление новых стилей для улучшения дизайна и адаптивности - расширены стили для кнопок, форм и таблиц, добавлены новые классы для элементов интерфейса, улучшена читаемость и взаимодействие на мобильных устройствах

This commit is contained in:
Vlad 2025-04-20 02:24:18 +03:00
parent 75dce58f98
commit 42ff67e666

View File

@ -421,6 +421,931 @@
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;
}