forked from redhat-developer/vscode-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.css
More file actions
34 lines (31 loc) · 709 Bytes
/
button.css
File metadata and controls
34 lines (31 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* https://css-tricks.com/overriding-default-button-styles/ */
button {
display: inline-block;
border: none;
padding: 12px 16px;
margin: 0;
text-decoration: none;
background: var(--vscode-button-background);
color: #ffffff;
font-family: sans-serif;
font-size: 14px;
cursor: pointer;
text-align: center;
}
button:hover,
button:focus {
background: var(--vscode-button-hoverBackground);
}
button:focus {
outline: 1px solid var(--vscode-button-hoverBackground);
/* outline-offset: -4px; */
}
.center {
text-align: center;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}