-
-
Notifications
You must be signed in to change notification settings - Fork 435
/
Copy pathsettings-step-input.css
50 lines (43 loc) · 1.03 KB
/
settings-step-input.css
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.settings-step-input-container {
position: relative
}
.settings-step-input-element::-webkit-inner-spin-button,
.settings-step-input-element::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.settings-step-input-buttons-container {
display: none;
flex-direction: column;
position: absolute;
right: 0px;
top: 50%;
transform: translate(0px, -50%);
height: calc(100% - 4px);
width: 14px;
padding: 2px;
background: var(--theia-input-background);
}
.settings-step-input-buttons-container-perc {
right: 14px;
}
.settings-step-input-container:hover>.settings-step-input-buttons-container {
display: flex;
}
.settings-step-input-up-button {
transform: rotate(-180deg);
}
.settings-step-input-button {
border: none;
border-radius: 0;
height: 50%;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
cursor: pointer;
line-height: 12px;
}
.settings-step-input-button:hover {
background: rgba(128, 128, 128, 0.8);
}