Skip to content
Snippets Groups Projects
text-input.scss 1.24 KiB
Newer Older
@use 'styles/settings.scss'as s;
@use 'styles/mixins.scss'as mx;
        padding-left: 15px;
        &.mandatory {
            label {
                &:after {
                    content: ' *';
                    color: s.$primary;
                }
            }
        }
        label {
            font-size: 16px;
            position: absolute;
            left: 20px;
            font-weight: s.$weight-bold;
            z-index: 20;
            transform: translateY(-50%);
        }

        textarea {
            resize: none;
            height: 300px;
        }

        input,
        textarea {
            width: 100%;
            font-size: 16px;
            border: none;
            padding: 20px;
            outline: none;
            border-radius: 15px;
            position: relative;
            display: block;
            border-radius: 15px;
            font-weight: s.$weight-regular;
            font-family: s.$body-font;
            background: rgba(0, 0, 0, 0.025);