From 78148def179853859defb459794dc9cd585ecfd9 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Sun, 24 Sep 2023 16:40:23 +0300 Subject: [PATCH] 0.0.153 rewrite css for selct --- static/css/styles.css | 13 +++++++------ .../static_pages_blocks/b_advertisement.html | 17 ++++++++--------- templates/forms/f_find_route_filters_form.html | 6 +++--- .../f_find_route_form_main_find_routes.html | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 1bea5fb..1a0a743 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -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*/ diff --git a/templates/blocks/static_pages_blocks/b_advertisement.html b/templates/blocks/static_pages_blocks/b_advertisement.html index a4d2888..b17ba40 100644 --- a/templates/blocks/static_pages_blocks/b_advertisement.html +++ b/templates/blocks/static_pages_blocks/b_advertisement.html @@ -1,14 +1,13 @@ {% load i18n %} -
-

{{ page.title }}

- {{ page.description }} -
- + +
+
+

{{ page.title }}

+ {{ page.description }} +
+ +
- - - -
diff --git a/templates/forms/f_find_route_filters_form.html b/templates/forms/f_find_route_filters_form.html index 56e9b00..107fdcf 100644 --- a/templates/forms/f_find_route_filters_form.html +++ b/templates/forms/f_find_route_filters_form.html @@ -48,7 +48,7 @@
Откуда забрать посылку
- {% for item in route_form.fields.from_place.choices %} @@ -60,7 +60,7 @@
Куда доставить посылку
- {% for item in route_form.fields.to_place.choices %} @@ -81,7 +81,7 @@
Сортировать по:
-
diff --git a/templates/forms/f_find_route_form_main_find_routes.html b/templates/forms/f_find_route_form_main_find_routes.html index ac43f5f..d0acde1 100644 --- a/templates/forms/f_find_route_form_main_find_routes.html +++ b/templates/forms/f_find_route_form_main_find_routes.html @@ -89,7 +89,7 @@
- {% for item in route_form.fields.cargo_type.choices %}