File tree Expand file tree Collapse file tree 3 files changed +53
-55
lines changed
components/StateRoute/PerformanceVisx Expand file tree Collapse file tree 3 files changed +53
-55
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
125
125
< div className = 'bargraph-position' >
126
126
< div className = 'saveSeriesContainer' >
127
127
< form className = 'routesForm' id = 'routes-formcontrol' >
128
- < label id = 'routes-dropdown' > Select Route: </ label >
128
+ < label id = 'routes-dropdown' > Route: </ label >
129
129
< select
130
130
className = 'performance-dropdown'
131
131
labelId = 'demo-simple-select-label'
@@ -144,7 +144,7 @@ const BarGraph = (props: BarGraphProps): JSX.Element => {
144
144
</ select >
145
145
</ form >
146
146
< form className = 'routesForm' id = 'routes-formcontrol' >
147
- < label id = 'routes-dropdown' > Select Snapshot: </ label >
147
+ < label id = 'routes-dropdown' > Snapshot: </ label >
148
148
< select
149
149
labelid = 'demo-simple-select-label'
150
150
id = 'snapshot-select'
Original file line number Diff line number Diff line change 31
31
border-color : $state-cont-border ;
32
32
border-width : 0px ;
33
33
}
34
-
35
- .saveSeriesContainer {
36
- padding-bottom : 15px ;
37
- padding-top : 10px ;
38
- }
Original file line number Diff line number Diff line change 1
1
@import url (' https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap' );
2
2
3
- #RenderContainer {
3
+ .saveSeriesContainer {
4
4
display : flex ;
5
- justify-content : center ;
5
+ align-items : center ;
6
+ padding : 12px 16px ;
7
+ background-color : white ;
8
+ border-bottom : 1px solid #e5e7eb ;
9
+ max-width : 1200px ;
10
+ justify-content : space-around ;
6
11
}
7
12
8
- #routes-formcontrol {
9
- padding : 3px ;
10
- margin-left : 50px ;
11
- font :
12
- 400 16px ' Outfit' ,
13
- sans-serif ;
14
- text-align : left ;
13
+ .routesForm {
14
+ display : flex ;
15
+ align-items : center ;
16
+ gap : 10px ;
15
17
}
16
18
17
19
#routes-dropdown {
18
- color : $performance-options-label !important ;
19
- font :
20
- 400 16px ' Outfit' ,
21
- sans-serif ;
22
- text-align : left ;
23
- }
24
-
25
- .saveSeriesContainer {
26
- #routes-select ,
27
- #snapshot-select {
28
- background-color : $performance-options-dropdown !important ;
29
- }
30
- }
31
-
32
- .saveSeriesContainer {
33
- #routes-select ,
34
- #snapshot-select {
35
- & :hover {
36
- cursor : pointer ;
37
- }
38
- }
20
+ font-size : 14px ;
21
+ font-weight : 500 ;
22
+ color : #4b5563 ;
23
+ user-select : none ;
24
+ white-space : nowrap ;
39
25
}
40
26
27
+ .performance-dropdown ,
41
28
#routes-select ,
42
- #snapshot-select {
43
- color : white !important ;
44
- font :
45
- 400 16px ' Outfit' ,
46
- sans-serif ;
47
- text-align : left ;
48
- width : 120px ;
49
- height : 30px ;
50
- border-radius : 5px ;
51
- text-align : center ;
29
+ #snapshot-select ,
30
+ .control-select {
31
+ background-color : #f9fafb ;
32
+ border : 1px solid #e5e7eb ;
33
+ color : #374151 ;
34
+ font-size : 14px ;
35
+ padding : 6px 12px ;
36
+ border-radius : 6px ;
37
+ min-width : 140px ;
38
+ cursor : pointer ;
39
+ transition : all 200ms ease ;
40
+ appearance : none ;
41
+ background-image : url (" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E" );
42
+ background-repeat : no-repeat ;
43
+ background-position : right 8px center ;
44
+ background-size : 16px ;
52
45
}
53
46
54
- #seriesname {
55
- float : right ;
56
- width : 220px ;
57
- margin-right : 165px ;
58
- height : 24px ;
47
+ .performance-dropdown :hover ,
48
+ #routes-select :hover ,
49
+ #snapshot-select :hover ,
50
+ .control-select :hover {
51
+ border-color : #d1d5db ;
52
+ background-color : #f3f4f6 ;
59
53
}
60
54
61
- input :focus ,
62
- textarea :focus ,
63
- select :focus {
55
+ .performance-dropdown :focus ,
56
+ #routes-select :focus ,
57
+ #snapshot-select :focus ,
58
+ .control-select :focus {
64
59
outline : none ;
60
+ border-color : #14b8a6 ;
61
+ box-shadow : 0 0 0 2px rgba (20 , 184 , 166 , 0.1 );
62
+ }
63
+
64
+ .routes ,
65
+ .control-select option {
66
+ padding : 0.5rem ;
67
+ color : #1e293b ;
65
68
}
You can’t perform that action at this time.
0 commit comments