fixes some lint errors on legislation_process.scss
This commit is contained in:
@@ -459,11 +459,11 @@ $border-dark: darken($border, 10%);
|
|||||||
span {
|
span {
|
||||||
vertical-align: inherit;
|
vertical-align: inherit;
|
||||||
font-style: normal;
|
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 {
|
.draft-allegation {
|
||||||
|
|
||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-left: 0.9375rem;
|
padding-left: 0.9375rem;
|
||||||
@@ -493,7 +494,6 @@ $border-dark: darken($border, 10%);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Panel calcs for desktop
|
|
||||||
@media screen and (min-width: 40em) {
|
@media screen and (min-width: 40em) {
|
||||||
.calc-index {
|
.calc-index {
|
||||||
width: calc(35% - 25px);
|
width: calc(35% - 25px);
|
||||||
@@ -509,6 +509,7 @@ $border-dark: darken($border, 10%);
|
|||||||
width: rem-calc(50);
|
width: rem-calc(50);
|
||||||
|
|
||||||
.draft-panel {
|
.draft-panel {
|
||||||
|
|
||||||
.panel-title {
|
.panel-title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -912,19 +913,15 @@ $border-dark: darken($border, 10%);
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-for-medium {
|
|
||||||
.panel-title {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 08. Legislation changes
|
// 08. Legislation changes
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
.legislation-changes {
|
.legislation-changes {
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
@@ -936,6 +933,8 @@ $border-dark: darken($border, 10%);
|
|||||||
margin-right: 0.25rem;
|
margin-right: 0.25rem;
|
||||||
content: '—';
|
content: '—';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.changes-link {
|
.changes-link {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -947,6 +946,7 @@ $border-dark: darken($border, 10%);
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
||||||
span {
|
span {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
@@ -967,11 +967,10 @@ $border-dark: darken($border, 10%);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 09. Legislation comments
|
// 09. Legislation comments
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
.legislation-comments {
|
.legislation-comments {
|
||||||
|
|
||||||
.pull-right {
|
.pull-right {
|
||||||
@@ -1020,6 +1019,7 @@ $border-dark: darken($border, 10%);
|
|||||||
|
|
||||||
// 10. Legislation draft comment
|
// 10. Legislation draft comment
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
.legislation-comment {
|
.legislation-comment {
|
||||||
|
|
||||||
.annotation-share-comment {
|
.annotation-share-comment {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<%= submit_tag t('.select_version_submit'), class: "button" %>
|
<%= submit_tag t('.select_version_submit'), class: "button" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @draft_version.changelog.present? %>
|
<% 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 %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<span><%= t('.updated_at', date: format_date(@draft_version.updated_at)) %></span>
|
<span><%= t('.updated_at', date: format_date(@draft_version.updated_at)) %></span>
|
||||||
|
|||||||
Reference in New Issue
Block a user