fixes some lint errors on legislation_process.scss

This commit is contained in:
decabeza
2017-09-22 19:10:39 +02:00
parent 3c2b5281e8
commit e404d149ce
2 changed files with 36 additions and 36 deletions

View File

@@ -459,11 +459,11 @@ $border-dark: darken($border, 10%);
span {
vertical-align: inherit;
font-style: normal;
a {
text-decoration: underline;
color: $text-medium;
}
.see-changes {
color: $text-medium;
text-decoration: underline;
}
}
@@ -477,6 +477,7 @@ $border-dark: darken($border, 10%);
}
.draft-allegation {
@include breakpoint(medium) {
display: flex;
padding-left: 0.9375rem;
@@ -493,7 +494,6 @@ $border-dark: darken($border, 10%);
}
}
// Panel calcs for desktop
@media screen and (min-width: 40em) {
.calc-index {
width: calc(35% - 25px);
@@ -509,6 +509,7 @@ $border-dark: darken($border, 10%);
width: rem-calc(50);
.draft-panel {
.panel-title {
display: none;
}
@@ -912,19 +913,15 @@ $border-dark: darken($border, 10%);
display: inline-block;
}
}
.show-for-medium {
.panel-title {
display: none;
}
}
}
}
}
// 08. Legislation changes
// -----------------
.legislation-changes {
ul {
list-style: none;
margin-left: 0;
@@ -936,6 +933,8 @@ $border-dark: darken($border, 10%);
margin-right: 0.25rem;
content: '';
}
}
}
.changes-link {
display: block;
@@ -947,6 +946,7 @@ $border-dark: darken($border, 10%);
}
a {
span {
text-decoration: underline;
}
@@ -966,12 +966,11 @@ $border-dark: darken($border, 10%);
}
}
}
}
}
}
// 09. Legislation comments
// -----------------
.legislation-comments {
.pull-right {
@@ -1020,6 +1019,7 @@ $border-dark: darken($border, 10%);
// 10. Legislation draft comment
// -----------------
.legislation-comment {
.annotation-share-comment {

View File

@@ -15,7 +15,7 @@
<%= submit_tag t('.select_version_submit'), class: "button" %>
<% end %>
<% if @draft_version.changelog.present? %>
<span><%= link_to t('.see_changes'), legislation_process_draft_version_changes_path(@process, @draft_version) %></span>
<span><%= link_to t('.see_changes'), legislation_process_draft_version_changes_path(@process, @draft_version), class: "see-changes" %></span>
<% end %>
</div>
<span><%= t('.updated_at', date: format_date(@draft_version.updated_at)) %></span>