mailing settings checkboxes hover

remotes/origin/stage6
ya_dim4ik 9 years ago
parent afb543784b
commit 746ee9e780
  1. 56
      static/client/css/main.css
  2. 2
      static/client/css_min/main.min.css
  3. 13
      static/mailing_settings/css/main.css
  4. 6
      templates/client/accounts/mailing_settings.html
  5. 28
      templates/client/includes/conference/conference_partner.html

@ -13925,3 +13925,59 @@ blockquote{
border: 2px solid #d80000;
padding: 4px;
}
.conf_comments .сomment_form{
border-top: 1px dotted #cccccc;
border-bottom: 1px dotted #cccccc;
padding: 20px 0;
}
.conf_comments form h3,
.conf_comments form p{
display: inline-block;
vertical-align: top;
}
.conf_comments form h3{
width: 195px;
font-size: 16px;
}
.conf_comments form p{
width: -webkit-calc(100% - 195px);
width: calc(100% - 195px);
}
.conf_comments form label{
display: none;
}
.conf_comments form button{
margin-top: 15px;
}
.conf_comments form textarea{
border-color: #e8e8e7;
border-radius: 0;
box-shadow: none;
height: 119px;
}
.сomment_form .delete_parent{
display: inline-block;
vertical-align: middle;
margin-left: 25px;
text-decoration: none;
font-size: 16px;
padding-top: 12px;
}
.сomment_form .delete_parent i{
color: #666;
}
.сomment_form .delete_parent:hover i{
color: #FF6600;
}

File diff suppressed because one or more lines are too long

@ -289,6 +289,13 @@ h3{
font-size: 16px;
}
.subjects_block p{
color: #999999;
font-weight: 100;
padding: 0 40px;
font-size: 16px;
}
.subjects_block input,
.periodic input,
.mailing_day input{
@ -382,6 +389,12 @@ h3{
cursor: pointer;
}
.mailing_day label:hover .radio:before,
.periodic label:hover .radio:before,
.subjects_block label:hover:before {
border-color: #FF6600;
}
.mailing_day label + label{
margin-left: 40px;
}

@ -102,19 +102,19 @@
<div class="column">
{{ form.content_news }}
{{ form.content_news.label_tag }}
<br>{% trans "Получайте новости выставок и конференций по выбранным тематикам" %}
<p>{% trans "Получайте новости выставок и конференций по выбранным тематикам" %}</p>
</div>
<div class="column">
{{ form.content_overview }}
{{ form.content_overview.label_tag }}
<br>{% trans "Практические материалы, интервью, кейсы, которые помогут эффективно участвовать в выставках" %}
<p>{% trans "Практические материалы, интервью, кейсы, которые помогут эффективно участвовать в выставках" %}</p>
</div>
<div class="column">
{{ form.content_articles }}
{{ form.content_articles.label_tag }}
<br>{% trans "Блог о том, как создавать и продвигать крутые event`ы" %}
<p>{% trans "Блог о том, как создавать и продвигать крутые event`ы" %}</p>
</div>
</div>
</div>

@ -398,7 +398,7 @@
{{ comment.user.get_full_name }} <time><i class="fa fa-calendar"></i> {{ comment.created }}</time>
</div>
<div class="comment_text">{{ comment.text }}</div>
<a href="#" data-parent="{{ comment.pk }}" class="reply_comment"><i class="fa fa-comment"></i> <span>{% trans "Ответить на комментарий" %}</span></a>
<a href="#" data-parent="{{ comment.pk }}" data-user="{{ comment.user.get_full_name }}" class="reply_comment"><i class="fa fa-comment"></i> <span>{% trans "Ответить на комментарий" %}</span></a>
{% for answer in comment.childs %}
<div class="comment">
@ -416,11 +416,13 @@
<form action="." method="post" id="comment_form">
{% csrf_token %}
{# {{ commentform.as_p }}#}
<h3>{% trans 'Оставьте свой отзыв:' %}</h3>
<p>
<label for="id_text">Сообщение:</label>
<textarea cols="40" id="id_text" name="text" rows="10"></textarea>
<textarea id="id_text" name="text" placeholder="{% trans 'Введите текст' %}"></textarea>
<button type="submit" class="button">{% trans 'Оставить отзыв' %}</button>
</p>
<button type="submit">Отправить</button>
</form>
</div>
{% else %}
@ -430,7 +432,6 @@
</div>
{% include 'client/includes/booking_block.html' with city=event.city place=event.place event=event %}
<hr />
{% if event.get_nearest_events %}
<div class="e-cat">
@ -582,10 +583,23 @@
$('.reply_comment').on('click', function (e) {
e.preventDefault();
console.log($(this).data('parent'));
var $parent = $('<input type="hidden" name="parent" value="' + $(this).data('parent') + '">');
$comment_form.append($parent);
var $parent = $('<input type="hidden" name="parent" id="parent_comment_id" value="' + $(this).data('parent') + '">'),
$delete_parent = $('<a href="#" class="delete_parent"> &times; <i>' + $(this).data('user') + '</i></a>');
$comment_form.prepend($parent);
$comment_form.find('button').after($delete_parent);
$('html, body').animate({
scrollTop: $comment_form.offset().top - 20
});
$comment_form.find('textarea').trigger('focus');
});
$comment_form.on('click', '.delete_parent', function (e) {
e.preventDefault();
$('#parent_comment_id').remove();
$(this).remove();
});
$comment_form.on('submit', function (e) {

Loading…
Cancel
Save