Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / assets / dist / css / master.css
diff options
context:
space:
mode:
Commite962470e9fc7da812aed4188c897a96a1a480772 (patch)
Author
 Ivan Dimitrov <ivan.dimitrov293@gmail.com>
2020-07-14 23:27:39 +0300
Committer
 Ivan Dimitrov <ivan.dimitrov293@gmail.com>
2020-07-14 23:27:39 +0300
Files929f3d72a149311592e3d36e410203a6055b00a5 /wp-content/themes/carmag/assets/dist/css/master.css
tues-interns-2020-feature/simple-search.tar
tues-interns-2020-feature/simple-search.tar.gz
tues-interns-2020-feature/simple-search.zip
Parentcc63885688f80a597a69fcae6819e079079f0921 (diff)
[Update] Refactored the whole search. Fixed responsive design and category select feature/simple-search
1 files changed, 130 insertions, 152 deletions
-rwxr-xr-xwp-content/themes/carmag/assets/dist/css/master.css282
diff --git a/wp-content/themes/carmag/assets/dist/css/master.css b/wp-content/themes/carmag/assets/dist/css/master.css
index 3d71d49..d6e5733 100755
--- a/wp-content/themes/carmag/assets/dist/css/master.css
+++ b/wp-content/themes/carmag/assets/dist/css/master.css
@@ -5408,7 +5408,6 @@ readers do not read off random characters that represent icons */
align-items: center;
background-color: transparent;
border-top: 1px solid rgba(255, 255, 255, 0.75);
- padding: 0;
width: 100%;
text-align: left;
padding: 10px 0;
@@ -5558,150 +5557,127 @@ readers do not read off random characters that represent icons */
.seller-card {
height: 100%; } }
-.-latestoffers .latestoffers-text {
- justify-content: center;
- padding-bottom: 20px;
- margin-bottom: 40px;
- font-weight: bold;
- font-size: 30px;
- color: #2c2c2c;
- border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
+.section-latestoffers {
+ padding: 80px 0; }
+ .section-latestoffers .latestoffers-text {
+ justify-content: center;
+ padding-bottom: 20px;
+ margin-bottom: 40px;
+ font-weight: bold;
+ font-size: 30px;
+ color: #2c2c2c;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
.section-search {
- background-color: #2c2c2c;
- padding: 0px; }
-
-.simple-search {
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #2c2c2c;
- flex-direction: column;
- font-family: Roboto; }
- .simple-search .vehicle-type {
- display: flex; }
- .simple-search .vehicle-type .type {
- margin: 10px 5px;
- color: rgba(255, 255, 255, 0.15);
- font-size: 32px;
- display: flex;
- justify-content: center; }
- .simple-search .vehicle-type .type i {
- pointer-events: none; }
- .simple-search h2 {
- color: #FFFFFF;
- font-size: 32px; }
- .simple-search .specifications .elements {
- display: grid;
- justify-content: center;
- float: left;
- grid-template-columns: repeat(5, 1fr);
- -webkit-column-gap: 5px;
- -moz-column-gap: 5px;
- column-gap: 5px; }
- .simple-search .specifications h2 {
- text-align: left;
- margin-bottom: 10px;
- margin-top: 10px;
- color: #FFFFFF; }
- .simple-search .specifications select, .simple-search .specifications .input {
- color: #FFFFFF;
- background: #232323;
- border-bottom: none;
- border-top: none;
- border-left: none;
- border-right: none;
- text-indent: 10px; }
- .simple-search .specifications .price-first::first-letter {
- color: #ff5722; }
- .simple-search .specifications .price-second::first-letter {
- color: #ff5722; }
- .simple-search .specifications .wrapper {
+ background-color: #2c2c2c; }
+ .section-search .row .column .simple-search, .section-search .row .columns .simple-search {
display: flex;
- flex-direction: row;
- -webkit-column-gap: 2px;
- -moz-column-gap: 2px;
- column-gap: 2px; }
- .simple-search .specifications .separator {
- flex: 0 12px 4px;
- display: inline-block;
- text-align: center;
- font-size: 27px;
- background: #232323;
- color: #656565;
- padding: 10px 5px; }
- .simple-search .specifications .price-first {
- font-size: 20px;
- font-weight: bold;
- color: #FFFFFF;
- background: #232323;
- float: left;
- width: 130px;
- height: 65px;
- border-bottom: none;
- border-top: none;
- border-left: none;
- border-right: none;
- text-align: center; }
- .simple-search .specifications .price-second {
- font-size: 20px;
- font-weight: bold;
- color: #FFFFFF;
- background: #232323;
- float: right;
- width: 130px;
- height: 65px;
- border-bottom: none;
- border-top: none;
- border-left: none;
- border-right: none;
- text-align: center; }
- .simple-search .specifications ::-webkit-input-placeholder {
- /* Edge */
- color: #FFFFFF; }
- .simple-search .specifications :-ms-input-placeholder {
- /* Internet Explorer */
- color: #FFFFFF; }
- .simple-search .specifications ::-moz-placeholder {
- color: #FFFFFF; }
- .simple-search .specifications ::-ms-input-placeholder {
- color: #FFFFFF; }
- .simple-search .specifications ::placeholder {
- color: #FFFFFF; }
- .simple-search .searchButton {
- display: inline-block;
- font-family: Quantico;
- font-weight: bolder;
- text-align: center;
- font-size: 17px;
- float: right;
- width: 14%; }
- .simple-search .advanced-button {
- background-color: #afcf80;
- display: inline-block;
- font-family: Quantico;
- font-weight: bolder;
- text-align: center;
- font-size: 12px;
- margin-right: 21px;
- margin-top: 2px;
- float: right;
- width: 10%;
- padding: 1em 3px;
- text-decoration: none;
- color: #232323;
- transition: 0.3s; }
- .simple-search .advanced-button:hover {
- opacity: 0.8;
- transition: 0.3s; }
+ background-color: #2c2c2c;
+ flex-direction: column;
+ font-family: Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
+ .section-search .row .column .simple-search h2, .section-search .row .columns .simple-search h2 {
+ color: white;
+ margin-bottom: 5px; }
+ .section-search .row .column .simple-search .search-form, .section-search .row .columns .simple-search .search-form {
+ display: flex;
+ flex-direction: column; }
+ .section-search .row .column .simple-search .search-form .form-content, .section-search .row .columns .simple-search .search-form .form-content {
+ display: flex;
+ flex-direction: row; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ background-color: #1f1f1f;
+ border: 1px solid rgba(255, 255, 255, 0.1); }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price .price, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .price {
+ position: relative; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price .price:before, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .price:before {
+ content: "$";
+ position: absolute;
+ color: #ff5722;
+ margin-left: 20px;
+ top: 0;
+ bottom: 0;
+ display: flex;
+ align-items: center;
+ font-size: 18px;
+ font-weight: bold; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price .switcher, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .switcher {
+ font-size: 30px;
+ color: #5f5f5f;
+ cursor: pointer; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price .switcher i, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .switcher i {
+ pointer-events: none; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price .form-field, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .form-field {
+ text-align: center;
+ font-size: 18px;
+ padding-left: 35px;
+ border: none;
+ min-width: 100px; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price .form-field::-webkit-inner-spin-button, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .form-field::-webkit-inner-spin-button, .section-search .row .column .simple-search .search-form .form-content .wrapper-price .form-field::-webkit-outer-spin-button, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .form-field::-webkit-outer-spin-button, .section-search .row .column .simple-search .search-form .form-content .wrapper-price .form-field[type="number"], .section-search .row .columns .simple-search .search-form .form-content .wrapper-price .form-field[type="number"] {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ appearance: none; }
+ .section-search .row .column .simple-search .search-form .form-content .form-field, .section-search .row .columns .simple-search .search-form .form-content .form-field {
+ color: white;
+ outline: none;
+ background-color: #1f1f1f;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ padding: 20px;
+ font-weight: bold;
+ max-width: 200px;
+ width: 100%; }
+ .section-search .row .column .simple-search .search-form .form-actions, .section-search .row .columns .simple-search .search-form .form-actions {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ margin-top: 20px; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-vehicle-type, .section-search .row .columns .simple-search .search-form .form-actions .actions-vehicle-type {
+ font-size: 32px; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-vehicle-type span, .section-search .row .columns .simple-search .search-form .form-actions .actions-vehicle-type span {
+ margin: 0 5px;
+ cursor: pointer; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-vehicle-type span i, .section-search .row .columns .simple-search .search-form .form-actions .actions-vehicle-type span i {
+ pointer-events: none; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-vehicle-type span.selected, .section-search .row .columns .simple-search .search-form .form-actions .actions-vehicle-type span.selected {
+ color: white; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-buttons .search-button, .section-search .row .columns .simple-search .search-form .form-actions .actions-buttons .search-button {
+ font-family: -apple-system, BlinkMacSystemFont, "Quantico", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-buttons .advanced-button, .section-search .row .columns .simple-search .search-form .form-actions .actions-buttons .advanced-button {
+ font-family: -apple-system, BlinkMacSystemFont, "Quantico", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ background-color: #afcf80; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-buttons .advanced-button:hover, .section-search .row .columns .simple-search .search-form .form-actions .actions-buttons .advanced-button:hover {
+ background-color: #a3c86d; }
-@media (max-width: 1120px) {
- .simple-search .elements {
- display: inline-grid;
- justify-content: center; }
- .simple-search .price-first, .simple-search .price-second {
- display: inline-grid;
- justify-content: center; } }
+@media only screen and (max-width: 960px) {
+ .section-search .row .column .simple-search .search-form .form-content, .section-search .row .columns .simple-search .search-form .form-content {
+ flex-wrap: wrap; }
+ .section-search .row .column .simple-search .search-form .form-content .wrapper-price, .section-search .row .columns .simple-search .search-form .form-content .wrapper-price {
+ width: 100%; }
+ .section-search .row .column .simple-search .search-form .form-content .form-field, .section-search .row .columns .simple-search .search-form .form-content .form-field {
+ max-width: 50%; } }
+
+@media only screen and (max-width: 670px) {
+ .section-latestoffers {
+ padding: 50px 0; }
+ .section-search {
+ padding-top: 130px; }
+ .section-search .row .column .simple-search .search-form .form-actions, .section-search .row .columns .simple-search .search-form .form-actions {
+ flex-direction: column; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-buttons, .section-search .row .columns .simple-search .search-form .form-actions .actions-buttons {
+ display: flex;
+ flex-direction: column;
+ justify-content: center; }
+ .section-search .row .column .simple-search .search-form .form-actions .actions-buttons .button, .section-search .row .columns .simple-search .search-form .form-actions .actions-buttons .button {
+ margin: 5px 0; } }
+
+@media only screen and (max-width: 375px) {
+ .section-search .row .column .simple-search h2, .section-search .row .columns .simple-search h2 {
+ text-align: center; }
+ .section-search .row .column .simple-search .search-form .form-content .form-field, .section-search .row .columns .simple-search .search-form .form-content .form-field {
+ max-width: 100%; } }
.section-faq .row .column, .section-faq .row .columns {
margin: 0 auto;
@@ -5803,7 +5779,7 @@ readers do not read off random characters that represent icons */
.advanced-search .vehicle-type .type i {
pointer-events: none; }
.advanced-search h2 {
- color: #FFFFFF;
+ color: #ffffff;
font-size: 32px; }
.advanced-search .specifications .elements {
display: grid;
@@ -5818,8 +5794,9 @@ readers do not read off random characters that represent icons */
text-align: center;
margin-bottom: 100px;
color: black; }
- .advanced-search .specifications select, .advanced-search .specifications .input {
- color: #FFFFFF;
+ .advanced-search .specifications select,
+ .advanced-search .specifications .input {
+ color: #ffffff;
background: #232323;
border-bottom: none;
border-top: none;
@@ -5846,7 +5823,7 @@ readers do not read off random characters that represent icons */
padding: 10px 5px; }
.advanced-search .specifications .price-first {
font-size: 20px;
- color: #FFFFFF;
+ color: #ffffff;
background: #232323;
float: left;
width: 130px;
@@ -5858,7 +5835,7 @@ readers do not read off random characters that represent icons */
text-align: center; }
.advanced-search .specifications .price-second {
font-size: 20px;
- color: #FFFFFF;
+ color: #ffffff;
background: #232323;
float: right;
width: 130px;
@@ -5870,16 +5847,16 @@ readers do not read off random characters that represent icons */
text-align: center; }
.advanced-search .specifications ::-webkit-input-placeholder {
/* Edge */
- color: #FFFFFF; }
+ color: #ffffff; }
.advanced-search .specifications :-ms-input-placeholder {
/* Internet Explorer */
- color: #FFFFFF; }
+ color: #ffffff; }
.advanced-search .specifications ::-moz-placeholder {
- color: #FFFFFF; }
+ color: #ffffff; }
.advanced-search .specifications ::-ms-input-placeholder {
- color: #FFFFFF; }
+ color: #ffffff; }
.advanced-search .specifications ::placeholder {
- color: #FFFFFF; }
+ color: #ffffff; }
.advanced-search .searchButton {
display: inline-block;
font-family: Quantico;
@@ -5894,7 +5871,8 @@ readers do not read off random characters that represent icons */
.simple-search .elements {
display: inline-grid;
justify-content: center; }
- .simple-search .price-first, .simple-search .price-second {
+ .simple-search .price-first,
+ .simple-search .price-second {
display: inline-grid;
justify-content: center; } }