Merge pull request #1711 from consul/annotation-legislation
Annotation on legislation
This commit is contained in:
@@ -102,27 +102,47 @@
|
||||
|
||||
.annotator-hl {
|
||||
cursor: pointer;
|
||||
background: rgba(255, 255, 10, 0.2);
|
||||
}
|
||||
background: rgba(255, 249, 218, 0.75);
|
||||
|
||||
.annotator-hl.weight-1 {
|
||||
background: #fff9da;
|
||||
}
|
||||
&.weight-1 {
|
||||
background: hsla(50, 100, 93, 0.5);
|
||||
|
||||
.annotator-hl.weight-2 {
|
||||
background: #fff5bc;
|
||||
}
|
||||
.weight-1 {
|
||||
background: hsla(50, 100, 93, 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
.annotator-hl.weight-3 {
|
||||
background: #fff1a2;
|
||||
}
|
||||
&.weight-2 {
|
||||
background: hsla(63, 78, 86, 0.5);
|
||||
|
||||
.annotator-hl.weight-4 {
|
||||
background: #ffef8c;
|
||||
}
|
||||
.weight-2 {
|
||||
background: hsla(63, 78, 86, 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
.annotator-hl.weight-5 {
|
||||
background: #ffe95f;
|
||||
&.weight-3 {
|
||||
background: hsla(52, 100, 85, 0.5);
|
||||
|
||||
.weight-3 {
|
||||
background: hsla(52, 100, 85, 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
&.weight-4 {
|
||||
background: hsla(51, 91, 75, 0.5);
|
||||
|
||||
.weight-4 {
|
||||
background: hsla(51, 91, 75, 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
&.weight-5 {
|
||||
background: hsla(46, 83, 60, 0.5);
|
||||
|
||||
.weight-5 {
|
||||
background: hsla(46, 83, 60, 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.current-annotation {
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
|
||||
<div class="comment-actions">
|
||||
<a class="cancel-comment" href="#" data-cancel-annotation><%= t('legislation.annotations.comments.cancel') %></a>
|
||||
<%= f.submit class: 'button publish-comment' do %>
|
||||
<strong><%= t('legislation.annotations.comments.publish_comment') %></strong>
|
||||
<% end %>
|
||||
<%= f.submit value: t('legislation.annotations.comments.publish_comment'), class: 'button publish-comment' %>
|
||||
</div>
|
||||
|
||||
<%= f.hidden_field :quote %>
|
||||
|
||||
Reference in New Issue
Block a user