Skip to content

Commit 8d0c213

Browse files
committed
Merge branch 'reactime7' of https://github.com/caitlinchan23/reactime into reactime7
2 parents 3fe7a59 + 46cd0fa commit 8d0c213

File tree

10 files changed

+59
-28
lines changed

10 files changed

+59
-28
lines changed

src/app/components/SwitchApp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const SwitchAppDropdown = () => {
1010

1111
const tabsArray:any[] = [];
1212
Object.keys(tabs).forEach(tab => {
13-
tabsArray.unshift({ value: tab, label: tabs[tab].title });
13+
tabsArray.unshift({ value: tab, label: tabs[tab].title});
1414
});
1515

1616
const currTab = {

src/app/containers/ActionContainer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import React from 'react';
1010
import { diff } from 'jsondiffpatch';
1111
import Action from '../components/Action';
12+
import SwitchAppDropdown from '../components/SwitchApp';
1213

1314
import { emptySnapshots, changeView, changeSlider } from '../actions/actions';
1415
import { useStoreContext } from '../store';
@@ -94,6 +95,7 @@ function ActionContainer() {
9495

9596
return (
9697
<div className="action-container">
98+
<SwitchAppDropdown />
9799
<div className="action-component exclude">
98100
<button
99101
className="empty-button"

src/app/containers/HeadContainer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
33
// @ts-nocheck
44
import React from 'react';
5-
import SwitchAppDropdown from '../components/SwitchApp';
65

76
function HeadContainer() {
87
return (
98
<div className="head-container">
109
<img src="../assets/logo-no-version.png" height="30px" />
11-
<SwitchAppDropdown />
1210
</div>
1311
);
1412
}

src/app/styles/base/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ body {
2424
}
2525
.buttons-container {
2626
grid-area: buttons;
27-
background: linear-gradient(90deg, rgba(41,41,41,1) 0%, rgba(51,51,51,1) 50%, rgba(41,41,41,1) 100%);
27+
2828
border-color: rgba(41,41,41,1);
2929
}
3030

src/app/styles/components/_buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
22
.empty-button {
3-
padding: 5px;
3+
padding: 3px;
44
outline: transparent;
55
color: black;
66
display: flex;

src/app/styles/components/_rc-slider.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,18 @@
4444
}
4545
.rc-slider-handle:focus {
4646
border-color: #57c5f7;
47-
box-shadow: 0 0 0 5px #96dbfa;
47+
// box-shadow: 0 0 0 5px #96dbfa;
4848
outline: none;
4949
}
5050
.rc-slider-handle-click-focused:focus {
5151
border-color: #96dbfa;
52-
box-shadow: unset;
5352
}
5453
.rc-slider-handle:hover {
5554
border-color: #57c5f7;
5655
}
5756
.rc-slider-handle:active {
57+
background: #e4494b;
5858
border-color: #57c5f7;
59-
box-shadow: 0 0 5px #57c5f7;
6059
cursor: -webkit-grabbing;
6160
cursor: grabbing;
6261
}
@@ -236,7 +235,7 @@
236235
text-decoration: none;
237236
background-color: #6c6c6c;
238237
border-radius: 6px;
239-
box-shadow: 0 0 4px #d9d9d9;
238+
// box-shadow: 0 0 4px #d9d9d9;
240239
}
241240
.rc-slider-tooltip-arrow {
242241
position: absolute;

src/app/styles/layout/_headContainer.scss

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,33 @@
55

66
.head-container {
77
height: 5%;
8-
background-color: $head-color;
8+
background: linear-gradient(90deg, rgba(41,41,41,1) 0%, rgba(51,51,51,1) 50%, rgba(41,41,41,1) 100%);
99
}
1010

1111
.head-container {
1212
display: flex;
1313
flex-direction: row-reverse;
1414
align-items: center;
15-
justify-content: space-between;
15+
justify-content: center;
1616
}
1717

18-
.tab-select-container {
19-
font-size: 12px;
20-
min-width: 90px;
21-
margin: 2px 7px;
18+
div .tab-select-container {
19+
background-color: rgba(51,51,51,1);
20+
font-size: 14px;
21+
height: 40px;
22+
width: 100%;
23+
margin-bottom: 0;
2224
}
2325

2426
.tab-select-container:focus {
27+
background-color: rgba(51,51,51,1);
28+
2529
outline: none;
2630
}
2731

2832
.tab-select-container:active {
33+
background-color: rgba(51,51,51,1);
34+
2935
outline: none;
3036
border-color: transparent;
3137
}
@@ -35,31 +41,41 @@ svg {
3541
}
3642

3743
.tab-select-container {
44+
background-color: rgba(51,51,51,1);
3845
height: 70%;
46+
3947
.tab-select__control:focus {
4048
outline: none;
4149
}
50+
div.tab-select-container.css-2b097c-container {
51+
background-color: rgba(51,51,51,1);
52+
margin: 0;
53+
}
4254

4355
.tab-select__control,
4456
.tab-select__menu {
57+
background-color: rgba(51,51,51,1);
4558
outline: none;
4659
font-size: 14px;
4760
border-style: none;
48-
width: 300px;
4961
background-color: $brand-color;
5062
z-index: 2;
63+
margin-bottom: 0;
5164
@extend %disable-highlight;
5265
}
5366
.tab-select__single-value {
5467
color: white;
5568
}
5669
.tab-select__value-container {
70+
background-color: rgba(51,51,51,1);
71+
margin: 0;
5772
padding: 0px;
5873
}
5974
.tab-select__value-container:focus {
6075
outline: none;
6176
}
6277
.tab-select__option:hover {
78+
margin-top: 0;
6379
background-color: $light-grey-three;
6480
color: black;
6581
}
@@ -76,6 +92,9 @@ svg {
7692
margin-bottom: 3px;
7793
}
7894

95+
.css-1uccc91-singleValue {
96+
margin-left: 8px;
97+
}
7998
// removes the cursor from blinking
8099
.css-w8afj7-Input {
81100
color: transparent;
@@ -86,5 +105,16 @@ svg {
86105
.css-1pahdxg-control {
87106
min-height: initial;
88107
height: 100%;
108+
background-color: rgba(51,51,51,1);
109+
border: none;
110+
outline: none;
111+
margin-bottom: 0;
112+
border-radius: 0;
89113
}
114+
.css-yk16xz-control:focus,
115+
.css-1pahdxg-control:focus {
116+
outline: none;
117+
border-radius: 0;
118+
}
90119
}
120+

src/app/styles/layout/_stateContainer.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.state-container {
22
font-size: 12px;
33
overflow: auto;
4-
54
background-color: $brand-color;
65
}
76
#componentMapContainer, #historyContainer, #atomsContainer {
@@ -10,7 +9,7 @@
109

1110
.state-container .navbar {
1211

13-
background-color: $navbar-color;
12+
background-color: rgba(51,51,51,1);
1413
display: flex;
1514
flex-direction: row;
1615
justify-content: flex-start;
@@ -20,12 +19,12 @@
2019

2120
.state-container .main-navbar{
2221

23-
background-color: red;
22+
background-color: rgba(51,51,51,1);
2423
display: flex;
2524
flex-direction: row;
2625
justify-content: flex-start;
2726
align-items: center;
28-
height: 40px;
27+
height: 35px;
2928
margin: 6px;
3029
}
3130

@@ -34,12 +33,12 @@
3433
top: 0px;
3534
left: 0px;
3635
z-index: 1;
37-
background-color: #565A61;
36+
background-color: rgba(51,51,51,1);
3837
display: flex;
3938
flex-direction: row;
4039
justify-content: space-between;
4140
align-items: center;
42-
height: 40px;
41+
height: 35px;
4342
}
4443

4544
.navbar {
@@ -60,6 +59,7 @@
6059
.state-container {
6160
.main-navbar-text {
6261
margin: 6px;
62+
font-size: 14px;
6363
}
6464

6565
.main-router-link {
@@ -112,20 +112,20 @@
112112

113113
.main-navbar{
114114

115-
background-color: #3d4249;
115+
background-color: rgba(51,51,51,1);
116116
display: flex;
117117
flex-direction: row;
118118
justify-content: flex-start;
119119
align-items: center;
120-
height: 40px;
120+
height: 35px;
121121
margin: 6px;
122122
}
123123

124124
.main-navbar-container{
125125
top: 0px;
126126
left: 0px;
127127
z-index: 1;
128-
background-color: #3d4249;
128+
background-color: rgba(51,51,51,1);
129129
display: flex;
130130
flex-direction: row;
131131
justify-content: space-between;

src/app/styles/layout/_travelContainer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.react-select-container {
1111
font-size: 12px;
1212
min-width: 90px;
13-
margin: 10px;
13+
margin: 8px;
1414
}
1515

1616

src/app/styles/main.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44
font-family: 'Roboto', sans-serif;
55
}
66

7+
78
/* width */
89
::-webkit-scrollbar {
9-
width: 10px;
10+
width: 5px;
11+
height: 8px;
1012
}
1113

12-
/* Track */
14+
/* Track */
1315
::-webkit-scrollbar-track {
1416
background: rgb(20, 20, 20);
1517
}

0 commit comments

Comments
 (0)