updates class name for dataset classification icons

This commit is contained in:
Seyi Adebajo 2017-05-02 10:30:05 -07:00 committed by Mars Lan
parent 5af9087835
commit 7db7be2c8f
2 changed files with 17 additions and 15 deletions

View File

@ -21,7 +21,7 @@
&__page-number {
display: inline-block;
font-size: 16px;
border:1px solid set-color(grey, light);
border: 1px solid set-color(grey, light);
border-radius: 2px;
padding: 5px;
background-color: tint(set-color(green, green5), 65%);
@ -34,18 +34,18 @@
display: inline-block;
}
/// A notification that a dataset contains a tag
.dataset-tagged {
.dataset-classification-indicator {
/// A notification that a dataset contains a tag
&--tagged {
&::before {
color: set-color(green, green5);
}
}
&::before {
color: set-color(green, green5);
}
}
/// A notification that a dataset does not contains a tag
.dataset-not-tagged {
&::before {
color: set-color(red, red5);
/// A notification that a dataset does not contains a tag
&--not-tagged {
&::before {
color: set-color(red, red5);
}
}
}

View File

@ -62,11 +62,13 @@
<span class="dataset-tag-container">
{{#if (eq props.value true)}}
<i class="glyphicon glyphicon-ok dataset-tagged" title="{{props.label}} is in dataset"></i>
<i class="glyphicon glyphicon-ok dataset-classification-indicator--tagged"
title="{{props.label}} is in dataset"></i>
{{/if}}
{{#if (eq props.value false)}}
<i class="glyphicon glyphicon-remove dataset-not-tagged" title="{{props.label}} is not in dataset"></i>
<i class="glyphicon glyphicon-remove dataset-classification-indicator--not-tagged"
title="{{props.label}} is not in dataset"></i>
{{/if}}
</span>
</td>