Alberto Iannaccone de32bddc20
Fix dialogs UI scalability (#1311)
* make dialogs scroll when scaling up the UI

* add unit of measure to settings step input

* wrap settings dialog items when scaling up the UI

* fix dialogs width when scaling up the UI

* rework board config UI to make it scale up better

* refactor ide updater dialog: move buttons outside the dialog content

* refactor ide updater dialog: clean-up code and rename events

* fix board config dialog title case and and remove double ellipsis
2022-08-18 16:42:16 +02:00

47 lines
994 B
CSS

.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: 14px;
top: 50%;
transform: translate(0px, -50%);
height: calc(100% - 4px);
width: 14px;
padding: 2px;
background: var(--theia-input-background);
}
.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);
}