mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-01 05:13:15 +00:00
updates class name for dataset classification icons
This commit is contained in:
parent
5af9087835
commit
7db7be2c8f
@ -21,7 +21,7 @@
|
|||||||
&__page-number {
|
&__page-number {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border:1px solid set-color(grey, light);
|
border: 1px solid set-color(grey, light);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
background-color: tint(set-color(green, green5), 65%);
|
background-color: tint(set-color(green, green5), 65%);
|
||||||
@ -34,18 +34,18 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A notification that a dataset contains a tag
|
.dataset-classification-indicator {
|
||||||
.dataset-tagged {
|
/// A notification that a dataset contains a tag
|
||||||
|
&--tagged {
|
||||||
|
&::before {
|
||||||
|
color: set-color(green, green5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
/// A notification that a dataset does not contains a tag
|
||||||
color: set-color(green, green5);
|
&--not-tagged {
|
||||||
}
|
&::before {
|
||||||
}
|
color: set-color(red, red5);
|
||||||
|
}
|
||||||
/// A notification that a dataset does not contains a tag
|
|
||||||
.dataset-not-tagged {
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
color: set-color(red, red5);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,11 +62,13 @@
|
|||||||
|
|
||||||
<span class="dataset-tag-container">
|
<span class="dataset-tag-container">
|
||||||
{{#if (eq props.value true)}}
|
{{#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}}
|
||||||
|
|
||||||
{{#if (eq props.value false)}}
|
{{#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}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user