File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 13
13
.infobox button {
14
14
min-width : unset;
15
15
padding-block : 0.5em 0.4em ;
16
- font-size : 10pt ;
17
16
18
17
& : not (: hover , : focus ) {
19
18
background-color : white;
Original file line number Diff line number Diff line change
1
+ button .datastreamControlButton {
2
+ font-size : 16pt ;
3
+ transition : none;
4
+
5
+ & : hover ,
6
+ & : focus {
7
+ color : white;
8
+ background-color : black;
9
+ }
10
+ }
Original file line number Diff line number Diff line change 1
1
import React , { useState } from "react" ;
2
+ import styles from "./DatastreamControlButton.module.css" ;
2
3
import LoadingButton from "@mui/lab/LoadingButton" ;
3
4
import Tooltip from "@mui/material/Tooltip" ;
4
5
import DataObject from "@mui/icons-material/DataObject" ;
@@ -55,7 +56,7 @@ const DatastreamControlButton = ({
55
56
< Tooltip title = { modalState } >
56
57
< span >
57
58
< LoadingButton
58
- className = " datastreamControlButton"
59
+ className = { styles . datastreamControlButton }
59
60
loading = { isLoading }
60
61
aria-label = { modalState }
61
62
disabled = { modalState !== "Upload" && disabled }
Original file line number Diff line number Diff line change 11
11
}
12
12
13
13
@layer global {
14
+ a {
15
+ & : hover ,
16
+ & : focus {
17
+ color : black;
18
+ }
19
+ }
20
+
14
21
h1 {
15
22
margin-block-start : 0 ;
16
23
}
93
100
display : inline-block;
94
101
padding-inline : 1rem ;
95
102
padding-block : 0.5rem ;
103
+ font-size : 1em ;
96
104
color : var (--button-text );
97
105
line-height : normal;
98
106
text-decoration : none;
120
128
}
121
129
122
130
/* MUI: better default icon size */
123
- svg . css-i4bv87- MuiSvgIcon-root {
131
+ svg [ class *= " MuiSvgIcon-root" ] {
124
132
font-size : 1em ;
125
133
vertical-align : top;
126
134
}
127
135
128
136
/* MUI: modal */
129
- . css-tlc64q- MuiPaper-root- MuiDialog-paper {
137
+ [ class *= " MuiPaper-root" ][ class *= " MuiDialog-paper" ] {
130
138
background-color : Canvas;
131
139
}
You can’t perform that action at this time.
0 commit comments