Skip to content

Commit f182b8f

Browse files
committed
mg updated loading check and exclamation
1 parent 2854a20 commit f182b8f

File tree

2 files changed

+22
-27
lines changed

2 files changed

+22
-27
lines changed

src/app/components/Loader.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import React from 'react';
44
import { ClipLoader } from 'react-spinners';
5-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
6-
import { faCheck, faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
5+
import CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline';
6+
import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';
77

88
/*
99
This file is what decides what icon (loading, checkmark, exclamation point) is displayed next to the checks in the ErrorContainer loading screen:
@@ -15,9 +15,11 @@ This file is what decides what icon (loading, checkmark, exclamation point) is d
1515

1616
const handleResult = (result: boolean): JSX.Element =>
1717
result ? (
18-
<FontAwesomeIcon icon={faCheck} className='check' size='lg' /> // if result boolean is true, we display a checkmark icon
18+
<CheckCircleOutlineIcon className='check'/>
19+
// if result boolean is true, we display a checkmark icon
1920
) : (
20-
<FontAwesomeIcon icon={faExclamationCircle} className='fail' size='lg' /> // if the result boolean is false, we display a fail icon
21+
<ErrorOutlineIcon className='fail'/>
22+
// if the result boolean is false, we display a fail icon
2123
);
2224

2325
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types

src/app/styles/components/_buttons.scss

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -166,32 +166,25 @@
166166
}
167167

168168
.backward-button {
169-
width: 30px;
170-
height: 25px;
171-
// margin: 7px;
172-
padding: 0px;
173169
color: $brand-color;
174170
border-color: transparent;
175171
background: $blue-color-gradient;
176172
border-radius: 5px;
177173
}
178174

179175
.forward-button {
180-
width: 30px;
181-
height: 25px;
182-
margin: 7px;
183176
color: $brand-color;
184177
border-color: transparent;
185178
background: $blue-color-gradient;
186179
border-radius: 5px;
187180
}
188181

189-
.play-button:focus,
190-
.backward-button:focus,
191-
.forward-button:focus {
192-
outline: none;
193-
box-shadow: $box-shadow-blue;
194-
}
182+
// .play-button:focus,
183+
// .backward-button:focus,
184+
// .forward-button:focus {
185+
// outline: none;
186+
// box-shadow: $box-shadow-blue;
187+
// }
195188

196189
.forward-button:hover,
197190
.backward-button:hover {
@@ -200,16 +193,16 @@
200193
cursor: pointer;
201194
}
202195

203-
.import-button,
204-
.howToUse-button,
205-
.export-button,
206-
.pause-button {
207-
@extend %button-shared;
208-
font-size: 16px;
209-
color: white;
210-
border-color: transparent;
211-
background: $blue-color-gradient;
212-
}
196+
// .import-button,
197+
// .howToUse-button,
198+
// .export-button,
199+
// .pause-button {
200+
// @extend %button-shared;
201+
// font-size: 16px;
202+
// color: white;
203+
// border-color: transparent;
204+
// background: $blue-color-gradient;
205+
// }
213206

214207
.import-button:hover,
215208
.howToUse-button:hover,

0 commit comments

Comments
 (0)