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 { span {
vertical-align: inherit; vertical-align: inherit;
font-style: normal; font-style: normal;
}
a { .see-changes {
text-decoration: underline; color: $text-medium;
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,35 +933,36 @@ $border-dark: darken($border, 10%);
margin-right: 0.25rem; margin-right: 0.25rem;
content: ''; content: '';
} }
}
}
.changes-link { .changes-link {
display: block; display: block;
margin-left: 1rem; margin-left: 1rem;
font-size: $small-font-size; font-size: $small-font-size;
@include breakpoint(medium) { @include breakpoint(medium) {
display: inline-block; display: inline-block;
} }
a { a {
span {
text-decoration: underline;
}
.icon-external { span {
text-decoration: none; text-decoration: underline;
color: #999; }
line-height: 0;
vertical-align: sub;
margin-left: 0.5rem;
}
&:active, .icon-external {
&:focus, text-decoration: none;
&:hover { color: #999;
text-decoration: none; line-height: 0;
} vertical-align: sub;
} margin-left: 0.5rem;
}
&:active,
&:focus,
&:hover {
text-decoration: none;
} }
} }
} }
@@ -972,6 +970,7 @@ $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 {

View File

@@ -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>