Merge pull request #948 from theseyi/inactive-owners

refactors markup for owner record indicators
This commit is contained in:
Seyi Adebajo 2018-01-24 16:05:05 -08:00 committed by GitHub
commit 898d562419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -23,14 +23,13 @@
text-decoration: line-through;
}
&#{&} &__action {
&#{&} &__indicator {
&--disabled {
background-color: set-color(grey, mid);
}
&--inactive {
background-color: set-color(red, maroonflush);
outline: none;
pointer-events: none;
}
}

View File

@ -7,9 +7,9 @@
{{#if isOwnerInActive}}
<button class="nacho-button nacho-button--small dataset-author-record__action--inactive">
<span class="nacho-button nacho-button--small dataset-author-record__indicator--inactive">
Inactive
</button>
</span>
{{/if}}
</td>
@ -36,10 +36,10 @@
{{moment-calendar owner.modifiedTime sameElse="MMM Do YYYY, h:mm a"}}
{{else}}
<button
class="nacho-button nacho-button--small dataset-author-record__action--disabled">
<span
class="nacho-button nacho-button--small dataset-author-record__indicator--disabled">
Not Saved
</button>
</span>
{{/if}}
</td>
@ -69,10 +69,10 @@
{{#if isConfirmedSuggestedOwner}}
<button
class="nacho-button nacho-button--small dataset-author-record__action--disabled">
<span
class="nacho-button nacho-button--small dataset-author-record__indicator--disabled">
Added
</button>
</span>
{{else}}