mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#3553 Ad post contact - Options Design
This commit is contained in:
parent
038e85bf45
commit
ccff35a77c
@ -1,11 +1,30 @@
|
||||
/* Main styles */
|
||||
html {
|
||||
font-size: 12px;
|
||||
@media only screen and (min-width: 576px) {
|
||||
font-size: 7.5789px;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
font-size: 10.1052px;
|
||||
}
|
||||
@media only screen and (min-width: 992px) {
|
||||
font-size: 13.4736px;
|
||||
}
|
||||
@media only screen and (min-width: 1200px) {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
/* End Main styles */
|
||||
|
||||
#pageTitle {
|
||||
margin: 4rem 0;
|
||||
margin: 2rem 0;
|
||||
@media only screen and (min-width: 576px) {
|
||||
margin: 4rem 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 700;
|
||||
@ -13,18 +32,21 @@ label {
|
||||
|
||||
h2 {
|
||||
color: #707070;
|
||||
font-size: 24px;
|
||||
font-size: calc(24rem / 16);
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
#contactInfo {
|
||||
background-color: #FBFBFD;
|
||||
padding: 2.4rem 4rem 5.5rem;
|
||||
padding: 1.4rem 1rem 1.5rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
padding: 2.4rem 4rem 5.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #6E5DDB;
|
||||
font-size: 26px;
|
||||
font-size: calc(26rem / 16);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
@ -34,14 +56,14 @@ label {
|
||||
|
||||
p {
|
||||
color: #4A4A4A;
|
||||
font-size: 14px;
|
||||
font-size: calc(14rem / 16);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
div {
|
||||
label {
|
||||
color: #505050;
|
||||
font-size: 18px;
|
||||
font-size: calc(18rem / 16);
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@ -49,17 +71,25 @@ label {
|
||||
|
||||
#contactSummary {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
margin-bottom: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 14px;
|
||||
font-size: calc(14rem / 16);
|
||||
color: #4A4A4A;
|
||||
width: 32.4%;
|
||||
width: 100%;
|
||||
font-weight: 600;
|
||||
margin-bottom: 1rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
width: 32.4%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
input {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
|
||||
font-size: 17px;
|
||||
box-shadow: 0 calc(1rem / 16) calc(2rem / 16) rgba(0, 0, 0, .04);
|
||||
font-size: calc(17rem / 16);
|
||||
padding: 1.1rem 1.5rem;
|
||||
color: #707070;
|
||||
}
|
||||
@ -70,7 +100,7 @@ label {
|
||||
button {
|
||||
color: #0075FF;
|
||||
background: none;
|
||||
font-size: 18px;
|
||||
font-size: calc(18rem / 16);
|
||||
|
||||
svg {
|
||||
height: 1.08rem;
|
||||
@ -86,31 +116,42 @@ label {
|
||||
|
||||
#mainInfo {
|
||||
background-color: #FBFBFD;
|
||||
padding: 2.4rem 4rem 4.3rem;
|
||||
padding: 1.4rem 1rem 2.3rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
padding: 2.4rem 4rem 4.3rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #6E5DDB;
|
||||
font-size: 26px;
|
||||
font-size: calc(26rem / 16);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
label {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 14px;
|
||||
font-size: calc(14rem / 16);
|
||||
color: #4A4A4A;
|
||||
font-weight: 600;
|
||||
|
||||
input {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
|
||||
font-size: 17px;
|
||||
box-shadow: 0 calc(1rem / 16) calc(2rem / 16) rgba(0, 0, 0, .04);
|
||||
font-size: calc(17rem / 16);
|
||||
padding: 1.1rem 1.5rem;
|
||||
color: #707070;
|
||||
}
|
||||
}
|
||||
|
||||
#stockInput {
|
||||
flex-wrap: wrap;
|
||||
@media only screen and (min-width: 576px) {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
& > label {
|
||||
width: 47.5%;
|
||||
width: 100%;
|
||||
@media only screen and (min-width: 576px) {
|
||||
width: 47.5%;
|
||||
}
|
||||
|
||||
&:not(.d-none) + div {
|
||||
top: .6rem;
|
||||
@ -122,8 +163,12 @@ label {
|
||||
}
|
||||
|
||||
div {
|
||||
width: 47.5%;
|
||||
position: relative;
|
||||
margin: 1rem 0;
|
||||
@media only screen and (min-width: 576px) {
|
||||
margin: 0;
|
||||
width: 47.5%;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 2.2rem;
|
||||
@ -134,7 +179,7 @@ label {
|
||||
position: relative;
|
||||
top: .25rem;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
font-size: calc(16rem / 16);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -155,14 +200,16 @@ label {
|
||||
}
|
||||
|
||||
input, select {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
|
||||
font-size: 17px;
|
||||
box-shadow: 0 calc(1rem / 16) calc(2rem / 16) rgba(0, 0, 0, .04);
|
||||
font-size: calc(17rem / 16);
|
||||
padding: 1.1rem 1.5rem;
|
||||
color: #707070;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
width: 47.5%;
|
||||
@media only screen and (min-width: 576px) {
|
||||
width: 47.5%;
|
||||
}
|
||||
|
||||
input {
|
||||
&.decimal-price {
|
||||
@ -172,7 +219,9 @@ label {
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
width: 50.75%;
|
||||
@media only screen and (min-width: 576px) {
|
||||
width: 50.75%;
|
||||
}
|
||||
|
||||
select, .decimal-price {
|
||||
width: 17%;
|
||||
@ -187,8 +236,8 @@ label {
|
||||
|
||||
#simpleOptionsInput {
|
||||
.select2-selection {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
|
||||
font-size: 17px;
|
||||
box-shadow: 0 calc(1rem / 16) calc(2rem / 16) rgba(0, 0, 0, .04);
|
||||
font-size: calc(17rem / 16);
|
||||
padding: 1.1rem 1.5rem;
|
||||
color: #707070;
|
||||
border: 0;
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
|
||||
{% include 'visiosoft.module.advs::new-ad/partials/contact-info' %}
|
||||
|
||||
<div id="mainInfo" class="border">
|
||||
<div id="mainInfo">
|
||||
<h3>{{ trans('visiosoft.module.advs::field.ad_info') }}</h3>
|
||||
|
||||
<label class="w-100 mb-2">
|
||||
@ -81,8 +81,8 @@
|
||||
{{ addBlock('new-ad/fields', {'adv': adv})|raw }}
|
||||
{% endif %}
|
||||
|
||||
<div id="priceInput" class="d-flex justify-content-between mb-4">
|
||||
<div class="select-price{{ hidePrice ? ' hidden' }}">
|
||||
<div id="priceInput" class="d-flex justify-content-between mb-4 flex-wrap">
|
||||
<div class="mb-3 mb-sm-0 select-price{{ hidePrice ? ' hidden' }}">
|
||||
<label>
|
||||
{{ form.fields.price.label|raw }}
|
||||
<span class="required">*</span>
|
||||
|
||||
@ -1,19 +1,20 @@
|
||||
<div id="contactInfo" class="mb-3">
|
||||
<h3>{{ trans('visiosoft.module.advs::field.contact_info') }}</h3>
|
||||
<div id="reachInfo">
|
||||
<p>Size nasıl ulaşılsın?</p>
|
||||
<div>
|
||||
<label class="mr-3">
|
||||
<input type="radio" class="mr-1" checked>
|
||||
Telefon numaralarım ile
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" class="mr-1">
|
||||
Telefonla ulaşılmak istemiyorum
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contactSummary" class="d-flex justify-content-between">
|
||||
{# TODO Add an option to show or hide phone number #}
|
||||
{# <div id="reachInfo">#}
|
||||
{# <p>Size nasıl ulaşılsın?</p>#}
|
||||
{# <div>#}
|
||||
{# <label class="mr-3">#}
|
||||
{# <input type="radio" class="mr-1" checked>#}
|
||||
{# Telefon numaralarım ile#}
|
||||
{# </label>#}
|
||||
{# <label>#}
|
||||
{# <input type="radio" class="mr-1">#}
|
||||
{# Telefonla ulaşılmak istemiyorum#}
|
||||
{# </label>#}
|
||||
{# </div>#}
|
||||
{# </div>#}
|
||||
<div id="contactSummary" class="d-flex justify-content-between flex-wrap">
|
||||
<label>
|
||||
{{ trans('visiosoft.module.profile::field.name.name') }}
|
||||
<input type="text" class="d-block mt-3 w-100 border-0 bg-white infoName" value="{{ auth_user().name }}"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/* Main styles */
|
||||
.multiple-field_type .selected {
|
||||
margin-top: 15px;
|
||||
margin-top: calc(15rem / 16);
|
||||
}
|
||||
|
||||
.multiple-field_type .selected table tr td {
|
||||
@ -11,11 +11,11 @@
|
||||
|
||||
.multiple-field_type .selected table tr td:first-of-type {
|
||||
width: 0;
|
||||
padding-right: 15px;
|
||||
padding-right: calc(15rem / 16);
|
||||
}
|
||||
|
||||
.multiple-field_type .selected table tr td:last-of-type {
|
||||
padding-left: 15px;
|
||||
padding-left: calc(15rem / 16);
|
||||
}
|
||||
/* End main styles */
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
background-color: #6E5DDB;
|
||||
padding: 1rem 2rem;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 18px;
|
||||
font-size: calc(18rem / 16);
|
||||
border-radius: .25rem;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
@ -35,14 +35,19 @@
|
||||
&:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 1.5rem;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
/* End Button */
|
||||
|
||||
/* Modal */
|
||||
.modal {
|
||||
.multiple-select-btn ~ .modal {
|
||||
.modal-dialog {
|
||||
@media only screen and (min-width: 576px) {
|
||||
max-width: 840px;
|
||||
max-width: calc(840rem / 16);
|
||||
margin: 1.75rem auto;
|
||||
}
|
||||
|
||||
@ -70,13 +75,19 @@
|
||||
|
||||
h4 {
|
||||
color: #6E5DDB;
|
||||
padding: 0 5rem;
|
||||
padding: 0 1rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
padding: 0 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.table-filters {
|
||||
padding: 0 5rem;
|
||||
padding: 0 1rem;
|
||||
margin: 2rem 0;
|
||||
@media only screen and (min-width: 576px) {
|
||||
padding: 0 5rem;
|
||||
}
|
||||
|
||||
form {
|
||||
justify-content: space-between;
|
||||
@ -84,7 +95,7 @@
|
||||
select {
|
||||
border: 0;
|
||||
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
|
||||
font-size: 14px;
|
||||
font-size: calc(14rem / 16);
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 500;
|
||||
padding: .5rem 1.5rem;
|
||||
@ -106,16 +117,19 @@
|
||||
}
|
||||
|
||||
.table-responsive {
|
||||
padding: 0 5rem;
|
||||
padding: 0 1rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
padding: 0 5rem;
|
||||
}
|
||||
|
||||
table {
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
border-bottom: calc(1rem / 16) solid #E5E5E5;
|
||||
border-top: 0;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 19px;
|
||||
font-size: calc(19rem / 16);
|
||||
font-weight: 600;
|
||||
color: #505050;
|
||||
|
||||
@ -132,8 +146,8 @@
|
||||
|
||||
tbody {
|
||||
td {
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
font-size: 19px;
|
||||
border-bottom: calc(1rem / 16) solid #E5E5E5;
|
||||
font-size: calc(19rem / 16);
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 500;
|
||||
color: #505050;
|
||||
@ -153,7 +167,7 @@
|
||||
background-color: #6E5DDB;
|
||||
padding: 1rem 2rem;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 18px;
|
||||
font-size: calc(18rem / 16);
|
||||
border-radius: .25rem;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
@ -176,7 +190,7 @@
|
||||
color: #999;
|
||||
|
||||
small {
|
||||
font-size: 15px;
|
||||
font-size: calc(15rem / 16);
|
||||
color: #999 !important;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
@ -192,16 +206,18 @@
|
||||
/* Value table */
|
||||
.multiple-field_type-value-table {
|
||||
.table-responsive {
|
||||
padding: 0 4rem;
|
||||
@media only screen and (min-width: 576px) {
|
||||
padding: 0 4rem;
|
||||
}
|
||||
|
||||
table {
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
border-bottom: calc(1rem / 16) solid #E5E5E5;
|
||||
border-top: 0;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 19px;
|
||||
font-size: calc(19rem / 16);
|
||||
font-weight: 600;
|
||||
color: #505050;
|
||||
|
||||
@ -214,8 +230,8 @@
|
||||
|
||||
tbody {
|
||||
td {
|
||||
border-bottom: 1px solid #E5E5E5;
|
||||
font-size: 19px;
|
||||
border-bottom: calc(1rem / 16) solid #E5E5E5;
|
||||
font-size: calc(19rem / 16);
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 500;
|
||||
color: #505050;
|
||||
@ -230,7 +246,7 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
line-height: 1;
|
||||
font-size: 17px;
|
||||
font-size: calc(17rem / 16);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -250,7 +266,7 @@
|
||||
background-color: #6E5DDB;
|
||||
padding: 1rem 2rem;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 18px;
|
||||
font-size: calc(18rem / 16);
|
||||
border-radius: .25rem;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
@ -273,7 +289,7 @@
|
||||
color: #999;
|
||||
|
||||
small {
|
||||
font-size: 15px;
|
||||
font-size: calc(15rem / 16);
|
||||
color: #999 !important;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<input type="hidden" name="{{ table.options.prefix }}page" value="">
|
||||
|
||||
{% for filter in table.filters %}
|
||||
<div class="form-group">
|
||||
<div class="form-group mb-0">
|
||||
{{ filter.input|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user