WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-04-25 d6c1df67067d1e42829eb3f618475e0133400d96
forms/form/cForm.scss
@@ -8,26 +8,69 @@
.c-form {
    width: 100%;
    .c-form-item {
        .at-input__title {
            margin-right: 20px;
        }
        .at-input__title--required {
            position: relative;
            &::before {
                @include position(absolute, 50% -0.5rem n n);
                @include position(absolute, 50% -23px n n);
                transform: translateY(-50%);
            }
        }
    }
    .c-form-agreement {
        padding: 24px 32px;
        .title {
            display: inline;
            .icon {
                @include flexbox(inline, center center);
                margin-top: 4px;
                margin-right: 14px;
                width: 40px;
                min-width: 40px;
                height: 40px;
                color: transparent;
                font-size: 24px;
                line-height: 1;
                border: 2px solid rgba(97, 144, 232, .2);
                border-radius: 50%;
                background-color: #fff;
                box-sizing: border-box;
                transition: all .2s;
                &.checked {
                    color: #fff;
                    border: none;
                    background-color: #6190e8;
                }
            }
            .tips {
                color: rgb(117, 117, 117);
                ;
            }
        }
        .protocol {
            display: inline;
            color: #2b69de;
            font-size: 30px;
        }
    }
    .c-form-submit {
        margin-top: 0.8rem;
        padding: 0 0.42667rem;
        margin-top: 37px;
        padding: 0 20px 30px;
        [type=primary] {
            font-size: 0.7rem;
            line-height: 2.2;
            border: 1PX solid #1e8ad2;
            background: #1e8ad2;
            height: 80px;
            font-size: 33px;
            line-height: 78px;
            border: 1PX solid #2093df;
            background: #2093df;
            &:not([disabled]):active {
                opacity: .6;
                border: 1PX solid #1e8ad2;
                background: #1e8ad2;
                border: 1PX solid #2093df;
                background: #2093df;
            }
            &::after {
                display: none;
            }
        }
    }