0.0.153 rewrite css for selct
This commit is contained in:
@@ -292,7 +292,7 @@ footer>div {
|
||||
}
|
||||
.first-column{
|
||||
float: left;
|
||||
width: 50%;
|
||||
width: 55%;
|
||||
}
|
||||
.second-column {
|
||||
float: right;
|
||||
@@ -1137,7 +1137,7 @@ h2.title_new_route{
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
select {
|
||||
.custom_select {
|
||||
display: block;
|
||||
height: 60px;
|
||||
border-radius: 15px;
|
||||
@@ -2320,6 +2320,7 @@ summary:before {
|
||||
}
|
||||
details[open] > summary:before {
|
||||
transform: scale(1,-1);
|
||||
background: url(/static/img/svg/icon_cross_2.svg) no-repeat 50% 50% / 1em 1em;
|
||||
}
|
||||
summary ~ * {
|
||||
padding: 0 1em 10px 1.4em;
|
||||
@@ -2331,10 +2332,10 @@ details[open] summary ~ *{
|
||||
0% {opacity: 0;}
|
||||
100% {opacity: 1;}
|
||||
}
|
||||
summary:focus {
|
||||
outline:0;
|
||||
box-shadow: inset 0 0 1px rgba(0,0,0,0.3), inset 0 0 2px rgba(0,0,0,0.3);
|
||||
}
|
||||
/*summary:focus {*/
|
||||
/* outline:0;*/
|
||||
/* box-shadow: inset 0 0 1px rgba(0,0,0,0.3), inset 0 0 2px rgba(0,0,0,0.3);*/
|
||||
/*}*/
|
||||
|
||||
/*END faq_main_page*/
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
{% load i18n %}
|
||||
<div class="top_block_static">
|
||||
<h2 id=title_static>{{ page.title }}</h2>
|
||||
<span id="sub_title_static">{{ page.description }}</span>
|
||||
<div class="button_container">
|
||||
<button id="more_button">{% translate "Узнать подробнее" %}</button>
|
||||
|
||||
<div class="top_block_static_wrapper">
|
||||
<div class="top_block_static">
|
||||
<h2 id=title_static>{{ page.title }}</h2>
|
||||
<span id="sub_title_static">{{ page.description }}</span>
|
||||
<div class="button_container">
|
||||
<button id="more_button">{% translate "Узнать подробнее" %}</button>
|
||||
</div>
|
||||
</div>
|
||||
<img src="/static/img/png/Box1.png" alt="">
|
||||
<img src="/static/img/png/Box2.png" alt="">
|
||||
<img src="/static/img/png/Box3.png" alt="">
|
||||
<img src="/static/img/png/Box4.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="mid_block_static">
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Откуда забрать посылку</div>
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="select_form_filters_find_route el_form_find_route" name="from_place">
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="custom_select select_form_filters_find_route el_form_find_route" name="from_place">
|
||||
<option value="" selected="selected">не имеет значения</option>
|
||||
{% for item in route_form.fields.from_place.choices %}
|
||||
<option value="{{ item.0 }}" {% if route_form.initial.from_place == item.0 %} selected{% endif %}>{{ item.1 }}</option>
|
||||
@@ -60,7 +60,7 @@
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Куда доставить посылку</div>
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="select_form_filters_find_route el_form_find_route" name="to_place">
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="custom_select select_form_filters_find_route el_form_find_route" name="to_place">
|
||||
<option value="" selected="selected">не имеет значения</option>
|
||||
{% for item in route_form.fields.to_place.choices %}
|
||||
<option value="{{ item.0 }}" {% if route_form.initial.to_place == item.0 %} selected{% endif %}>{{ item.1 }}</option>
|
||||
@@ -81,7 +81,7 @@
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Сортировать по:</div>
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" name="sort" class="select_form_filters_find_route el_form_find_route">
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" name="sort" class="custom_select select_form_filters_find_route el_form_find_route">
|
||||
<option value="last" {% if route_form.initial.sort == item.0 %} selected{% endif %}>По последним</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier last">
|
||||
<label>test</label>
|
||||
<select class="el_form_find_route" name="cargo_type" id="id_cargo_type" {% if route_form.fields.cargo_type.required %} {% endif %}>
|
||||
<select class="custom_select el_form_find_route" name="cargo_type" id="id_cargo_type" {% if route_form.fields.cargo_type.required %} {% endif %}>
|
||||
<option value="" selected="selected">не имеет значения</option>
|
||||
{% for item in route_form.fields.cargo_type.choices %}
|
||||
<option value="{{ item.0 }}" {% if route_form.initial.cargo_type == item.0 %} selected{% endif %}>{{ item.1 }}</option>
|
||||
|
||||
Reference in New Issue
Block a user