@use "./mixin/blur-glass.scss" as blur-glass; .narrow-view { max-width: 960px; margin: 0 auto; } .form { .form-row { display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 1rem; &:last-child { margin-bottom: 0; } &.column { flex-direction: column; } &.center { justify-content: center; } &.no-margin { margin-bottom: 0; } .form-row-left { margin-right: 0.5rem; } .form-row-right { display: flex; align-items: center; justify-content: center; } .form-label { font-size: 0.875rem; color: var(--q-c-dark-1); margin-bottom: 0.3rem; word-break: break-word; font-weight: 500; } .form-desc { font-size: 0.725rem; color: var(--q-c-dark-3); word-break: break-word; a { text-decoration: underline; } } .form-error { font-size: 0.8rem; color: var(--q-c-red); background-color: var(--q-c-red-dimm-1); border-radius: 6px; padding-top: .375rem; padding-bottom: .375rem; padding-right: .75rem; padding-left: .75rem; } .left, .right { display: flex; flex-direction: column; justify-content: center; } .left { flex-grow: 1; } .form-row-icon { width: 32px; height: 32px; } .form-row-subtitle { opacity: 0.6; } .form-hint { color: var(--q-c-dark-3); font-size: 0.8rem; margin-top: 0.3rem; a { text-decoration: underline; } } } } input.text-field, textarea.textarea { border: 0.5px solid var(--q-c-dark-4); border-radius: 6px; padding-top: .375rem; padding-bottom: .375rem; padding-right: .75rem; padding-left: .75rem; width: 100%; font-size: 1rem; outline: none; box-shadow: inset 0px 1px 8px 0px rgba(0,0,0,0.01), 0px 1px 1px 0px #4343431A; transition: all 0.2s ease-in-out; &:focus { border: 0.5px solid rgba(0, 0, 0, 0.2); } &[disabled] { background-color: rgba(0, 0, 0, 0.05); color: #888; cursor: default; } } input.text-field { height: 44px; } textarea.textarea { line-height: 1.3; padding-top: .75rem; padding-bottom: .75rem; } input.q-checkbox { appearance: none; height: 24px; width: 24px; min-width: 24px; min-height: 24px; border: 1px solid var(--q-c-dark-4); border-radius: 6px; background-color: transparent; position: relative; &:after, &:before { content: " "; position: absolute; display: block; background-color: #D2D2D7; border-radius: 2px; } &:before { width: 4px; height: 15px; transform: rotate(45deg); top: 4px; left: 12px; } &:after { width: 4px; height: 10px; transform: rotate(-45deg); top: 9px; left: 5px; } &:checked { border: 1px solid var(--q-c-blue); &:after, &:before { background-color: var(--q-c-blue); } } &:disabled { cursor: default; opacity: 0.5; } } input[type="date"], input[type="time"] { height: 44px; border: 0.5px solid rgba(0, 0, 0, 0.1); outline: none; padding: 0 0.5rem; &:focus { border: 0.5px solid rgba(0, 0, 0, 0.2); } &[disabled] { background-color: rgba(0, 0, 0, 0.05); color: #888; cursor: default; outline: none; } } button.button { height: 44px; background-color: #ddd; font-weight: 500; color: #000; border-radius: 6px; border: none; padding: 0.8rem 1rem; text-align: center; text-decoration: none; display: flex; font-size: 1rem; cursor: default; font-size: 1rem; transition: all 0.2s ease-in-out; white-space: nowrap; line-height: 1; align-items: center; justify-content: center; &.sm { padding: 0.6rem 0.8rem; height: 38px; font-size: 0.8rem; } &.xs { padding: 0.6rem 0.8rem; height: 32px; font-size: 0.8rem; } &.xxs { padding: 0.6rem 0.8rem; height: 24px; font-size: 0.7rem; } .button-label { align-self: center; } .fa, .icon { margin-right: 0.5rem; height: 16px; width: 16px; align-self: center; } &.block { width: 100%; } &.icon { .fa, .icon { display: flex; justify-content: center; align-items: center; margin-right: 0; height: 16px; width: 16px; } } } button.toggle { &.on { // box-shadow: inset 0 0 10px rgba(0,0,0,0.1); // background: var(--vt-c-white-mute); color: var(--vt-c-red); } } .spacer { width: 100%; display: block; flex: 1; } .frame { border-radius: 8px; border: 0.5px solid var(--q-c-dark-4, rgba(49, 37, 36, 0.20)); &.focus { border: 0.5px solid var(--q-c-dark-3, rgba(49, 37, 36, 0.20)); } &.shadow { box-shadow: 0px 1px 2px 0px #4343431A; } &.flat { @include blur-glass.blur-glass; border: none; background-color: var(--q-bg-light-2); box-shadow: 0 0 0 0.5px var(--q-c-dark-5); } } .divider { border-top: 0.5px solid var(--q-c-dark-4); &.focus { border-top: 4px solid var(--q-c-dark); border-radius: 0.5rem; } &.double { height: 4px; border-bottom: 0.5px solid var(--q-c-dark-4); } } .dark { .frame { border: 0.5px solid var(--q-c-light-4, rgba(49, 37, 36, 0.20)); &.focus { border: 0.5px solid var(--q-c-light-3, rgba(49, 37, 36, 0.20)); } &.shadow { box-shadow: 0px 1px 2px 0px #4343431A; } &.flat { border: none; background-color: var(--q-bg-dark-2); box-shadow: 0 0 0 0.5px var(--q-c-light-5); } } .divider { border-color: var(--q-c-light-4); &.focus { border-color: var(--q-c-light-3); } } .form { .form-row { .form-label { color: var(--q-c-light-2); } .form-desc { color: var(--q-c-light-3); } .form-hint { color: var(--q-c-light-3); } .form-error { background-color: var(--q-c-red-dimm-2); color: var(--q-c-red-light); } } } input.text-field, textarea.textarea { border: 0.5px solid var(--q-c-light-5); box-shadow: inset 0px 1px 8px 0px rgba(0,0,0,0.01), 0px 1px 1px 0px #4343431A; transition: all 0.2s ease-in-out; color: var(--q-c-light); background-color: rgba(255, 255, 255, 0.03); &:focus { border: 0.5px solid var(--q-c-light-4); } &[disabled] { opacity: 0.5; background-color: var(--q-c-light-4); cursor: default; } } input.q-checkbox { appearance: none; height: 24px; width: 24px; border: 1px solid var(--q-c-light-3); border-radius: 6px; background-color: transparent; position: relative; &:after, &:before { background-color: rgb(80, 80, 80); } &:checked { border: 1px solid var(--q-c-blue); &:after, &:before { background-color: var(--q-c-blue); } } } button.button { color: white; background-color: rgba(180, 233, 65, 0.1529411765); } button.outlined { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); background-color: transparent; &:hover{ background-color: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); } } } .tabs { border-bottom: 1px solid rgba(0,0,0,0.1); display: flex; .tab { padding: 0 1rem; cursor: pointer; transition: all 0.2s ease-in-out; text-align: center; display: flex; align-items: center; min-height: 48px; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; /* For some Androids */ .tab-label { height: 100%; padding: 0.8rem 0; display: flex; justify-content: center; align-items: center; transform: translateY(1px); white-space: nowrap; position: relative; } .tab-label::after { transition: width 0.3s ease-in-out; content: " "; display: block; position: absolute; width: 0%; height: 2px; left: 0; bottom: 0; background: black; } .tab-icon { margin-right: 0.3rem; } &.selected { .tab-label::after { width: 100%; } } &.disabled { cursor: default; opacity: 0.3; } } } .block-drop-shadow { position: relative; background-color: #fff; &::after { display: block; content: " "; position: absolute; background: rgba(0,0,0,0.2); width: 80%; height: 80%; bottom: 0; filter: blur(10px); transform: translateY(2%); left: 10%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } &.lighter { &::after { background: rgba(0,0,0,0.05); } } } .premium-text { background-image: var(--vt-c-golden-dark-linear-gradient-webkit); background-image: var(--vt-c-golden-dark-linear-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; }