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

@ -34,18 +34,18 @@
display: inline-block;
}
.dataset-classification-indicator {
/// A notification that a dataset contains a tag
.dataset-tagged {
&--tagged {
&::before {
color: set-color(green, green5);
}
}
/// A notification that a dataset does not contains a tag
.dataset-not-tagged {
&--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>