plate-tool/plate-tool-web/assets/scss/default_theme/components/_transfer_menu.scss

67 lines
960 B
SCSS
Raw Normal View History

2023-06-02 20:26:20 +00:00
@use "sass:color";
@use "../variables" as *;
div.transfer_menu {
position: relative;
width: 100%;
height: 100%;
grid-column: left / left;
grid-row: lower / lower;
border: 2px solid $color-dark;
form {
padding-top: 3%;
padding-bottom: 1%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
label {
display: inline;
* { display: inline; }
}
}
padding-left: 0.5rem;
input:invalid {
background-color: #faa;
}
div#controls {
align-self: flex-end;
input {
padding: 2px 3px 2px 3px;
margin-left: 0;
}
}
}
input {
text-align: center;
margin-left: 0.5em;
margin-right: 0.5em;
margin-top: 1%;
margin-bottom: 1%;
line-height: 1em;
padding: 0;
&[type="text"] {
width: 4em;
}
&[name="name"] {
width: 6em; // Override above
}
&[type="number"] {
width: 2em;
-webkit-appearance: none;
-moz-appearance: textfield;
2023-06-02 20:26:20 +00:00
}
2023-06-07 21:08:43 +00:00
&.volume_input {
width: 4em;
}
2023-06-02 20:26:20 +00:00
}