diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 6b57861..2defdbb 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1216,6 +1216,7 @@ margin-left: 2%; margin-bottom: 5%; height: 100%; + overflow-wrap: break-word; } .container_subscribe.light{ @@ -1228,6 +1229,7 @@ .container_subscribe.light .first-decr-subscribe{ color: #000000; + } .first-decr-subscribe{ @@ -1330,13 +1332,26 @@ vertical-align: top; } -.container_subscribe.light .items_subscribe.unselected:before{ +/*.container_subscribe.light .items_subscribe.unselected:before{*/ +/* content: url(/static/img/svg/cross.svg);*/ +/*}*/ + +/*.container_subscribe.dark .items_subscribe.unselected::before{*/ +/* content: url(/static/img/svg/cross.svg);*/ +/* filter: brightness(0) saturate(100%) invert(29%) sepia(0%) saturate(6232%) hue-rotate(340deg) brightness(110%) contrast(60%);*/ +/*}*/ + +.items_subscribe.unselect:before{ content: url(/static/img/svg/cross.svg); + /*filter: brightness(0) saturate(100%) invert(89%) sepia(0%) saturate(0%) hue-rotate(273deg) brightness(95%) contrast(92%);*/ + /*filter: brightness(0) saturate(100%) invert(40%) sepia(12%) saturate(3%) hue-rotate(35deg) brightness(91%) contrast(91%);*/ + filter: brightness(0) saturate(100%) invert(81%) sepia(1%) saturate(460%) hue-rotate(31deg) brightness(84%) contrast(81%); } -.container_subscribe.dark .items_subscribe.unselected:before{ - content: url(/static/img/svg/cross.svg); - filter: brightness(0) saturate(100%) invert(29%) sepia(0%) saturate(6232%) hue-rotate(340deg) brightness(110%) contrast(60%); +.items_subscribe.unselect{ + /*color: #d1d1d1;*/ + /*color: #626262;*/ + color: #a5a5a5; } .items_subscribe > text{ diff --git a/templates/blocks/profile/b_subscribe_variants.html b/templates/blocks/profile/b_subscribe_variants.html index 7aedb33..9112bbb 100644 --- a/templates/blocks/profile/b_subscribe_variants.html +++ b/templates/blocks/profile/b_subscribe_variants.html @@ -18,29 +18,33 @@
{% for subscribe in subscribes %} -
+
-
+
{{ subscribe.name }}
- {{ subscribe.price }} + {% if subscribe.price %} + {{ subscribe.price|floatformat }}$ + {% else %} + Бесплатно + {% endif %}
-
+
Период: {{ subscribe.period_name }}
-
+
Опции:
    {% for opt in subscribe.options.all %} -
  • {{ opt.name }}
  • +
  • {{ opt.name }}
  • {% endfor %} - {% for opt_dis in subscribe.options.disabled_options %} -
  • {{ opt.name }}
  • + {% for opt_dis in subscribe.disabled_options %} +
  • {{ opt_dis.name }}
  • {% endfor %}