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

73 lines
1.0 KiB
SCSS

@use "sass:color";
@use "../variables" as *;
@use "../button" 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;
}
}
}
div.transfer_menu input[type="button"] {
@include standard_button;
}
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: 6em;
}
&[name="name"] {
width: calc(100% - 6em); // Override above
}
&[type="number"] {
width: 2em;
-webkit-appearance: none;
-moz-appearance: textfield;
}
&.volume_input {
width: 4em;
}
}