0.0.49 upd styles.css
This commit is contained in:
@@ -879,7 +879,7 @@ select {
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center;
|
background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -902,7 +902,7 @@ select#id_type_transport{
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
/*background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
@@ -914,9 +914,8 @@ hr {
|
|||||||
form.new_route>div{
|
form.new_route>div{
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
display: block ruby;
|
/*display: block ruby;*/
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
}
|
||||||
form.new_route>div.range-slider{
|
form.new_route>div.range-slider{
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
@@ -929,14 +928,25 @@ form.new_route{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.departure_arrival>div,
|
.departure_arrival>div:first-child,
|
||||||
.from_to_place>div,
|
.from_to_place>div:first-child,
|
||||||
.from_to_country>div
|
.from_to_country>div:first-child,
|
||||||
|
.phone>div:first-child
|
||||||
{
|
{
|
||||||
display: flex;
|
width: 50%;
|
||||||
flex-direction: column;
|
float: left;
|
||||||
flex: 1;
|
margin-bottom: 20px;
|
||||||
margin-right: 20px;
|
|
||||||
|
|
||||||
|
}
|
||||||
|
.departure_arrival>div:last-child,
|
||||||
|
.from_to_place>div:last-child,
|
||||||
|
.from_to_country>div:last-child,
|
||||||
|
.phone>div:last-child
|
||||||
|
{
|
||||||
|
width: 50%;
|
||||||
|
float: right;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -952,10 +962,16 @@ div.from_to_country>div>input:nth-child(3){
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: url("/static/img/png/icon-arrow.png") no-repeat calc(100% - 15px) center;
|
background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center;
|
||||||
width: 392px;
|
width: 392px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="datetime-local"] {
|
||||||
|
width: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
div.departure_arrival>div>input{
|
div.departure_arrival>div>input{
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
@@ -1069,6 +1085,23 @@ div.from_to_place>div>select{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input#id_phone,
|
||||||
|
input#id_extra_phone
|
||||||
|
{
|
||||||
|
display: block;
|
||||||
|
height: 60px;
|
||||||
|
width: 394px;
|
||||||
|
border-radius: 15px;
|
||||||
|
border: 2px solid #E6E6E6;
|
||||||
|
color: #272424;
|
||||||
|
font-family: Inter;
|
||||||
|
font-size: 16px;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 22px;
|
||||||
|
appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*my routes*/
|
/*my routes*/
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 247 B |
@@ -27,15 +27,17 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class="departure_arrival">
|
<div class="departure_arrival">
|
||||||
<div>
|
<div class="input_wrapper">
|
||||||
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
|
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
|
||||||
<input
|
|
||||||
|
<input
|
||||||
type="datetime-local"
|
type="datetime-local"
|
||||||
name="departure_DT"
|
name="departure_DT"
|
||||||
{% if form.fields.departure_DT.required %} required{% endif %}
|
{% if form.fields.departure_DT.required %} required{% endif %}
|
||||||
id="id_departure_DT"
|
id="id_departure_DT"
|
||||||
{% if form.data.departure_DT %}value="{{ form.data.departure_DT }}"{% endif %}
|
{% if form.data.departure_DT %}value="{{ form.data.departure_DT }}"{% endif %}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{% if form.errors and form.errors.departure_DT %}
|
{% if form.errors and form.errors.departure_DT %}
|
||||||
<span>{{ form.errors.departure_DT }}</span>
|
<span>{{ form.errors.departure_DT }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -202,12 +204,13 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div class="phone">
|
||||||
<div>
|
<div>
|
||||||
<label for="id_phone">{{ form.fields.phone.label }}</label>
|
<label for="id_phone">{{ form.fields.phone.label }}</label>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
name="phone"
|
name="phone"
|
||||||
|
placeholder="{{ form.fields.phone.label }}"
|
||||||
{% if form.fields.phone.required %} required{% endif %}
|
{% if form.fields.phone.required %} required{% endif %}
|
||||||
id="id_phone"
|
id="id_phone"
|
||||||
{% if form.cleaned_data.phone %}value="{{ form.cleaned_data.phone}}"{% endif %}
|
{% if form.cleaned_data.phone %}value="{{ form.cleaned_data.phone}}"{% endif %}
|
||||||
@@ -225,6 +228,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
name="extra_phone"
|
name="extra_phone"
|
||||||
id="id_extra_phone"
|
id="id_extra_phone"
|
||||||
|
placeholder="{{ form.fields.extra_phone.label }}"
|
||||||
{% if form.cleaned_data.extra_phone %}value="{{ form.cleaned_data.extra_phone}}"{% endif %}
|
{% if form.cleaned_data.extra_phone %}value="{{ form.cleaned_data.extra_phone}}"{% endif %}
|
||||||
/>
|
/>
|
||||||
{% if form.errors and form.errors.extra_phone %}
|
{% if form.errors and form.errors.extra_phone %}
|
||||||
|
|||||||
Reference in New Issue
Block a user