summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSVISHNEV <shlomo-stanisla.vishnevetskiy@amdocs.com>2017-08-29 10:52:01 +0300
committerSVISHNEV <shlomo-stanisla.vishnevetskiy@amdocs.com>2017-08-29 10:53:14 +0300
commit7cd1156c3cab009146ca02989df394412d209483 (patch)
tree91ce9e32f161709caea9679173d9755239b871cc
parentf5355ef234a409ab4fcfe299f7ee9f33e904355b (diff)
Validation page icons fix
Issue-ID: SDC-254 Change-Id: Ic724ba5d66cb1938ac166383a672d49e25b5d6e4 Signed-off-by: SVISHNEV <shlomo-stanisla.vishnevetskiy@amdocs.com>
-rw-r--r--openecomp-ui/resources/scss/common/_typography.scss2
-rw-r--r--openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss6
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationView.jsx4
3 files changed, 3 insertions, 9 deletions
diff --git a/openecomp-ui/resources/scss/common/_typography.scss b/openecomp-ui/resources/scss/common/_typography.scss
index 94e1ba4d61..95d6d88595 100644
--- a/openecomp-ui/resources/scss/common/_typography.scss
+++ b/openecomp-ui/resources/scss/common/_typography.scss
@@ -139,7 +139,7 @@ $radio-font-family: Arial;
}
.warning-text {
- color: $orange;
+ color: $yellow;
}
.error-text {
color: $red;
diff --git a/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss b/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss
index 0e092dd8bb..bd47fbb334 100644
--- a/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss
+++ b/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss
@@ -91,11 +91,6 @@
z-index: 1;
padding-right: 20px;
.counter {
- .svg-icon {
- &.__exclamationTriangleLine {
- fill :$orange;
- }
- }
display: flex;
&:first-child {
margin-right: 20px;
@@ -220,7 +215,6 @@
.svg-icon {
width: 20px;
height: 20px;
- fill: $orange;
}
}
.error-item-file-type {
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationView.jsx b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationView.jsx
index 62dcb82db1..2a2f4ac291 100644
--- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationView.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationView.jsx
@@ -205,7 +205,7 @@ class HeatMessageBoard extends Component {
key={error.name + error.errorMessage + error.parentName + rand}
className='error-item' data-test-id='validation-error'>
{error.level === errorLevels.WARNING ?
- <SVGIcon name='exclamationTriangleLine' iconClassName='large' color='warning' /> : <SVGIcon iconClassName='large' color='negative' /> }
+ <SVGIcon name='exclamationTriangleLine' iconClassName='large' color='warning' /> : <SVGIcon name='error' iconClassName='large' color='negative' /> }
<span className='error-item-file-type'>
{
(this.props.selectedNode === nodeFilters.ALL) ?
@@ -238,7 +238,7 @@ class ErrorsAndWarningsCount extends Component {
return (<div className='counters'>
{(errors.errorCount > 0) && <div className='counter'>
<SVGIcon name='error' color='negative' iconClassName={size}/>
- <div className={'error-text ' + (size ? size : '')} data-test-id='validation-error-count'>={errors.errorCount}</div>
+ <div className={'error-text ' + (size ? size : '')} data-test-id='validation-error-count'>{errors.errorCount}</div>
</div>}
{(errors.warningCount > 0) && <div className='counter'>
<SVGIcon name='exclamationTriangleLine' iconClassName={size} color='warning'/>