diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-10 22:45:28 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-10-10 22:45:28 +0530 |
commit | 0b4343bed2cace86552929f25202680c0d99c541 (patch) | |
tree | f5eb25902a401ff98827aed68377c7f221097f75 /src/components/pickers/scss/item-picker.scss | |
parent | 6dd449f6f38e8afdee7638b56f24e61953854eda (diff) |
added ItemTable for the invoice page
Diffstat (limited to 'src/components/pickers/scss/item-picker.scss')
-rw-r--r-- | src/components/pickers/scss/item-picker.scss | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/src/components/pickers/scss/item-picker.scss b/src/components/pickers/scss/item-picker.scss index b04fb54..093b0e9 100644 --- a/src/components/pickers/scss/item-picker.scss +++ b/src/components/pickers/scss/item-picker.scss @@ -23,8 +23,13 @@ } .item-picker { - display: flex; - justify-content: space-evenly; + //display: flex; + //flex-wrap: wrap; + //justify-content: space-between; + //align-items: center; + display: grid; + grid-template-columns: auto auto auto auto; + .options { width: 27rem; flex-grow: 1; @@ -46,14 +51,36 @@ white-space: pre-line; } - input[type=number], input.narrow { + label.narrow { + max-width: 16rem; + input { width: 7rem; } + } + + input[type=number] { -moz-appearance: textfield; width: 7rem; } - input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } + + input[type=button], input[type=submit] { + padding: 0.2rem 0; + width: 4rem; + height: 1.7rem; + margin-top: 0.3rem; + margin-left: auto; + background-color: $inputBackgroundColor; + border: 1px solid $primaryAccentColor; + color: $fgColor; + border-radius: 4px; + transition: background-color 0.4s, color 0.4s; + } + + input[type=button]:hover, input[type=submit]:hover { + background-color: $primaryAccentColor; + color: $fgColorAlt; + } } |