Skip to content

Commit f9e83c0

Browse files
Merge pull request #167 from HDI-Project/chartFocus
Chart focus
2 parents 223209f + 2614f20 commit f9e83c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+14811
-73
lines changed

.vscode/settings.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@
3030
"eslint.validate": [
3131
"javascript",
3232
"javascriptreact",
33-
"typescript",
34-
"typescriptreact"
33+
{ "language": "typescriptreact", "autoFix": true }
3534
],
3635
"editor.codeActionsOnSave": {
37-
"source.fixAll.eslint": true,
38-
"source.fixAll.stylelint": true
36+
"source.fixAll.eslint": true
3937
}
4038
}

mtv-client/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"node-sass": "^4.13.0",
1616
"prop-types": "^15.7.2",
1717
"react": "^16.12.0",
18+
"react-bootstrap": "^1.0.0-beta.16",
1819
"react-dom": "^16.12.0",
1920
"react-redux": "^7.1.3",
2021
"react-router-dom": "5.1.2",
@@ -62,6 +63,8 @@
6263
"enzyme-to-json": "^3.4.3",
6364
"eslint": "^6.6.0",
6465
"eslint-config-airbnb": "^18.0.1",
66+
"eslint-formatter-pretty": "^3.0.0",
67+
"eslint-loader": "^3.0.2",
6568
"eslint-config-prettier": "^6.9.0",
6669
"eslint-config-react": "^1.1.7",
6770
"eslint-plugin-import": "^2.18.2",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Animated Icons
2+
// --------------------------
3+
4+
.#{$fa-css-prefix}-spin {
5+
animation: fa-spin 2s infinite linear;
6+
}
7+
8+
.#{$fa-css-prefix}-pulse {
9+
animation: fa-spin 1s infinite steps(8);
10+
}
11+
12+
@keyframes fa-spin {
13+
0% {
14+
transform: rotate(0deg);
15+
}
16+
17+
100% {
18+
transform: rotate(360deg);
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Bordered & Pulled
2+
// -------------------------
3+
4+
.#{$fa-css-prefix}-border {
5+
border: solid .08em $fa-border-color;
6+
border-radius: .1em;
7+
padding: .2em .25em .15em;
8+
}
9+
10+
.#{$fa-css-prefix}-pull-left { float: left; }
11+
.#{$fa-css-prefix}-pull-right { float: right; }
12+
13+
.#{$fa-css-prefix},
14+
.fas,
15+
.far,
16+
.fal,
17+
.fab {
18+
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
19+
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
20+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Base Class Definition
2+
// -------------------------
3+
4+
.#{$fa-css-prefix},
5+
.fas,
6+
.far,
7+
.fal,
8+
.fad,
9+
.fab {
10+
-moz-osx-font-smoothing: grayscale;
11+
-webkit-font-smoothing: antialiased;
12+
display: inline-block;
13+
font-style: normal;
14+
font-variant: normal;
15+
text-rendering: auto;
16+
line-height: 1;
17+
}
18+
19+
%fa-icon {
20+
@include fa-icon;
21+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Fixed Width Icons
2+
// -------------------------
3+
.#{$fa-css-prefix}-fw {
4+
text-align: center;
5+
width: $fa-fw-width;
6+
}

mtv-client/src/assets/fontawesome/_icons.scss

Lines changed: 1406 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Icon Sizes
2+
// -------------------------
3+
4+
// makes the font 33% larger relative to the icon container
5+
.#{$fa-css-prefix}-lg {
6+
font-size: (4em / 3);
7+
line-height: (3em / 4);
8+
vertical-align: -.0667em;
9+
}
10+
11+
.#{$fa-css-prefix}-xs {
12+
font-size: .75em;
13+
}
14+
15+
.#{$fa-css-prefix}-sm {
16+
font-size: .875em;
17+
}
18+
19+
@for $i from 1 through 10 {
20+
.#{$fa-css-prefix}-#{$i}x {
21+
font-size: $i * 1em;
22+
}
23+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// List Icons
2+
// -------------------------
3+
4+
.#{$fa-css-prefix}-ul {
5+
list-style-type: none;
6+
margin-left: $fa-li-width * 5/4;
7+
padding-left: 0;
8+
9+
> li { position: relative; }
10+
}
11+
12+
.#{$fa-css-prefix}-li {
13+
left: -$fa-li-width;
14+
position: absolute;
15+
text-align: center;
16+
width: $fa-li-width;
17+
line-height: inherit;
18+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// Mixins
2+
// --------------------------
3+
4+
@mixin fa-icon {
5+
-webkit-font-smoothing: antialiased;
6+
-moz-osx-font-smoothing: grayscale;
7+
display: inline-block;
8+
font-style: normal;
9+
font-variant: normal;
10+
font-weight: normal;
11+
line-height: 1;
12+
}
13+
14+
@mixin fa-icon-rotate($degrees, $rotation) {
15+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})";
16+
transform: rotate($degrees);
17+
}
18+
19+
@mixin fa-icon-flip($horiz, $vert, $rotation) {
20+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)";
21+
transform: scale($horiz, $vert);
22+
}
23+
24+
25+
// Only display content to screen readers. A la Bootstrap 4.
26+
//
27+
// See: http://a11yproject.com/posts/how-to-hide-content/
28+
29+
@mixin sr-only {
30+
border: 0;
31+
clip: rect(0, 0, 0, 0);
32+
height: 1px;
33+
margin: -1px;
34+
overflow: hidden;
35+
padding: 0;
36+
position: absolute;
37+
width: 1px;
38+
}
39+
40+
// Use in conjunction with .sr-only to only display content when it's focused.
41+
//
42+
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
43+
//
44+
// Credit: HTML5 Boilerplate
45+
46+
@mixin sr-only-focusable {
47+
&:active,
48+
&:focus {
49+
clip: auto;
50+
height: auto;
51+
margin: 0;
52+
overflow: visible;
53+
position: static;
54+
width: auto;
55+
}
56+
}

0 commit comments

Comments
 (0)