/* OpenBills-web - Web based libre billing software * Copyright (C) 2022 Vidhu Kant Sharma * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @import "picker"; .picker-wrapper { @include picker-wrapper; @include label; } .item-picker { //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; } .billing-address, .shipping-address, .contact-info { p { margin: 0 } max-width: 24rem; margin: 0 1rem; flex-grow: 1; } .contact-info { .icon { font-size: 0.9rem; } } .multiline { white-space: pre-line; } 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; } input[type=submit]:disabled { color: $disabledColor; border-color: $warningColor; } input[type=submit]:disabled:hover { color: $fgColorAlt; background-color: $warningColor; } }