html,body,#app{ margin: 0; padding: 0; height: 100%; font-family: 'Roboto', sans-serif; overflow: hidden; // --antd-wave-shadow-color: #341e57; } input{ outline:none } ul,li{ list-style: none; padding: 0; } .page_content{ // width: 1440px; max-width: 100%; height: 100%; margin: 0 auto; } .button_first{ width: 11.85rem; text-align: center; // background: #343579; height: 4rem; line-height: 4rem; font-size: 1.4rem; font-weight: 400; color: #000; cursor: pointer; border-radius: 1.5rem; border: 2px solid; } .button_second{ width: 11.85rem; text-align: center; // background: #343579; height: 4rem; line-height: 4rem; font-size: 1.4rem; font-weight: 400; color: #000; cursor: pointer; border-radius: 1.5rem; border: 2px solid; } .system_silder{ width: 100%; .ant-slider{ margin: 0; width: 12rem; .ant-slider-rail{ height: 0.6rem; border-radius: 0.3rem; background: #F2F0FD; } .ant-slider-track{ height: 0.6rem; border-radius: 0.3rem; background: #343579; } .ant-slider-handle{ margin-top: -0.4rem; border: solid 0.2rem #343579; } } } .ant-tooltip{ // top: 74px !important; z-index: 2; .ant-tooltip-inner{ background: #343579; border-radius: 5px; padding: 0.6rem 0.5rem; } } .select_block{ .ant-select:not(.ant-select-customize-input) .ant-select-selector{ background: transparent; height: 4rem; border: 0.1rem solid rgba(0,0,0,0) !important; // border: 0.1rem solid #000 !important; border-radius: 0; box-shadow: none !important; width: 15rem; background: #FFFFFF; border-radius: 1rem; margin: 0 1rem; } .ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-single .ant-select-selector .ant-select-selection-placeholder{ line-height: 3.8rem; color: #1A1A1A; font-size: 1.3rem; font-weight: bold; } .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{ padding: 0 1rem; } } //started公共按钮样式 .started_btn{ padding: .5rem 2rem; display: inline-block; border-radius: 2rem; font-size: 1.2rem; color: #fff; background-color: #39215b; cursor: pointer; zoom: .9; } .el-cascader{ font-size: 1.2rem; width: 100%; height: 3rem; --el-color-primary: #d9d9d9; --el-cascader-tag-background:#e1d9ec; .el-input{ height: 100%; .el-input__wrapper{ .el-input__inner{ height: 80% !important; font-size: 1.2rem; } } } } .el-popper{ padding: .5rem 1.1rem; } .el-cascader__tags,.el-cascader__collapse-tag{ --el-color-primary: #d9d9d9; --el-cascader-tag-background:#e1d9ec; --el-fill-color:#e1d9ec; height: 80%; width: 90% !important; flex-wrap: nowrap; overflow: hidden; .el-tag--light{ margin: 0 0 0 .6rem; padding-right: .5rem; height: 100%; --el-icon-size: 1.4rem; display: flex; .el-tag__content{ font-size: 1.4rem; color: #000; } } .el-cascader__search-input{ height: 100%; margin: 0 0 0 1.1rem; } } .el-cascader__collapse-tag{ margin-bottom: .5rem; .el-cascader__collapse-tag{ .el-tag--light{ display: flex !important; } } } .hideEvents{ *{ pointer-events:none !important; } .Guide_{ pointer-events:auto !important; } } //爱心 .delete_like_file_block{ display: none; width: 2.5rem; height: 2.5rem; background: rgba(0,0,0,0.6); border-radius: 0.4rem; position: absolute; top: 0rem; right: 0rem; text-align: center; line-height: 2.5rem; left: auto; cursor: pointer; i{ font-size: 1.6rem; color: #fff; &.fi-rr-heart{ } &.fi-sr-heart{ color: red; } } } .el-popper{ .el-cascader-panel{ --el-cascader-menu-selected-text-color: #000; .el-scrollbar{ min-width: 19rem; max-width: 19rem; .el-cascader-menu__wrap{ height: 24.4rem; .el-cascader-menu__list{ .el-cascader-node{ padding-right: 2rem; padding: 0 3rem 0 2rem; height: 3.4rem; line-height: 3.4rem; font-size: 1.4rem; } .el-checkbox{ --el-checkbox-input-height: 1.4rem; --el-checkbox-input-width: 1.4rem; --el-checkbox-font-size: 1.4rem; --el-checkbox-checked-bg-color:#767676; --el-checkbox-checked-input-border-color:#767676; --el-checkbox-input-border-color-hover: #dcdfe6; .el-checkbox__input{ .el-checkbox__inner::after{ height: .7rem; left: .4rem; top: .1rem; width: .3rem; } } } } } } } } //Library多级菜单 .ant-select-allow-clear{ font-size: 1.2rem; height: 3rem; .ant-select-selector{ height: 100%; .ant-select-selection-overflow{ height: 100%; .ant-select-selection-overflow-item{ height: 80%; .ant-select-selection-item{ align-items: center; height: 100%; margin: 0; margin-right: .4rem; background-color: #e1d9ec; .ant-select-selection-item-content{ height: 100%; line-height: 1.7; } .ant-select-selection-item-remove{ height: 100%; font-size: 1rem; display: flex; align-items: center; } } } } } .ant-select-selector::after{ line-height: 1; } &.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{ box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.0); border: 1px solid #d9d9d9; } } .ant-select:not(.ant-select-disabled):hover .ant-select-selector{ border: 1px solid #d9d9d9; } .ant-select-dropdown{ font-size: 1.4rem; .ant-cascader-menu-item{ padding: .5rem 1.2rem; line-height: 2.2rem; .ant-cascader-checkbox{ font-size: 1.4rem; :hover .ant-cascader-checkbox-inner{ border: 1px solid #d9d9d9; } .ant-cascader-checkbox-inner{ width: 1.6rem; height: 1.6rem; } .ant-cascader-checkbox-inner::after{ width: .8rem; height: .8rem; } } } } .ant-cascader-checkbox-checked .ant-cascader-checkbox-inner{ background-color: #767676; border-color: #d9d9d9 !important; } .ant-cascader-checkbox-checked::after{ border-color: #d9d9d9 ; } .ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner, .ant-cascader-checkbox:hover .ant-cascader-checkbox-inner, .ant-cascader-checkbox-input:focus + .ant-cascader-checkbox-inner{ border-color: #d9d9d9 ; } .ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner::after{ background-color: #767676; } //禁止选中状态 .ant-checkbox-wrapper-disabled{ .ant-checkbox-disabled{ .ant-checkbox-inner{ background-color: #d9d9d9; } .ant-checkbox-inner::after{ border-color: #eeeeee ; } } } .ant-modal-mask{ background: linear-gradient(45deg, #eee4f3, #f3f4e6); // min-width: 1440px; border-radius: 1rem; overflow: hidden; height: calc(100% - 7rem); bottom: 0; top: auto; margin: 0 9rem; // z-index: 10001; } //弹窗公共样式 .modal_component{ &.ant-modal{ top: 0; } .ant-modal-content{ overflow: hidden; .ant-modal-header{ padding: 2.4rem 2.6rem; background: #F7F7F7; .ant-modal-title{ font-size: 1.8rem; line-height: 1.8rem; color: #030303; } } .ant-modal-body{ padding: 0; } } } .ant-modal-body{ font-size: 1.4rem; } //衣服类型下拉菜单 .operate_file_block{ width: 100%; height: 3rem; font-size: 1.6rem; color: #FFFFFF; position: absolute; left: 0; bottom: 0; .select_img_type{ height: 100%; line-height: 3rem; text-align: center; background: rgba(0,0,0,0.6); position: relative; .select_category{ display: flex; align-items: center; justify-content: center; .icon-xiala{ margin-left: 0.8rem; } } .icon_rotate{ -moz-transform:rotate(180deg); -webkit-transform:rotate(180deg); transform: rotate(180deg); animation-direction: 0.5s; } .category_list{ position: absolute; width: 100%; cursor: pointer; position: absolute; // top: 3.1rem; margin-top: .2rem; left: 0; // background: rgba(0,0,0,0.4); background-color: rgb(177 177 177); border: 1px solid #343579; border-radius: 0.8rem; // overflow: hidden; z-index: 3; height: 9rem; overflow-x: hidden; &.category_list::-webkit-scrollbar{display: none;} .category_item{ text-align: left; font-size: 1.4rem; padding: 1rem 1.5rem; line-height: 1.6rem; font-weight: 600; color: #595959; &.select_category_item{ background: linear-gradient(-137deg, #eeefdb, #e7dbed); } &:hover{ background: linear-gradient(-137deg, #eeefdb, #e7dbed); } } } } } // .ant-modal-wrap{ // z-index: 10001 ; // } // .driver-overlay-animated{ // z-index: 10002 !important; // } // .ant-select-dropdown{ // z-index: 10001; // } //提示框样式 .ant-modal-root{ .ant-modal-wrap{ .ant-modal-confirm-confirm{ .ant-modal-content{ .ant-modal-body{ .ant-modal-confirm-body-wrapper{ } } } } } } .ant-message-info .anticon{ // color: #b2b2b2; } .habit :deep(.ant-btn:hover), :deep(.ant-btn:focus), :deep(.ant-btn:active), :deep(.ant-btn::after) { color: #000; border-color: #000 !important; box-shadow: none !important; } :deep(.ant-switch-checked) { background-color: #000; .ant-switch-handle{ left: calc(100% - 1.8rem - .2rem); } } :deep(.ant-switch){ min-width: 4.4rem; height: 2.2rem; line-height: 2.2rem; .ant-switch-handle{ width: 1.8rem; height: 1.8rem; } } .ant-message{ z-index: 1049 !important; top: 6rem; } .ant-modal-confirm-btns{ .ant-btn:hover{ color: #39215b !important; border-color: #39215b !important; } .ant-btn-primary{ background: #39215b !important; border-color: #39215b !important; } .ant-btn-primary:hover{ color: #fff !important; border-color: #543087 !important; background: #543087 !important; } } //loding样式 .ant-spin-dot-item{ background-color: #543087; } .ant-spin{ color: #000; } .pin_block{ text-align: center; margin-top:.5rem; .ant-checkbox-wrapper{ height: 2.2rem; align-items: center; span{ font-size: 1.4rem; line-height: 2.3rem; .ant-checkbox-input::after{ height: auto; } &.ant-checkbox-checked::after{ border: 1px solid rgba(0,0,0,0); } } } } .ant-checkbox-inner{ width: 1.6rem; height: 1.6rem; } .ant-checkbox-inner::after{ width: .571428571rem; height: .914285714rem; } .ant-checkbox-wrapper{ font-size: 1.4rem; span{ font-size: 1.4rem; } } .ant-checkbox-checked::after{ border: 1px solid rgba(0,0,0,.65); } .ant-select-multiple .ant-select-selection-search{ height: 100%; } .ant-select-multiple .ant-select-selection-search-input{ height: 100%; } .ant-checkbox-checked .ant-checkbox-inner{ background-color: #767676; border-color: #d9d9d9 !important; } .ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner{ border-color: #d9d9d9 !important; } .libraryPageCascader{ border-radius: 1rem; .cascader_btn_max{ height: 4rem; width: 100%; border-bottom: 1px solid rgb(225 225 225); display: flex; align-items: center; .cascader_btn1{ margin: 0 1rem; line-height: 1.5rem; } } .ant-cascader-menu{ margin-top: 4rem; } } //collection 弹窗 .collection_modal,.design_detail_modal_component,.designOpenrtion_modal,.library_page{ .ant-modal-body{ overflow-y: hidden; } .design_title_text{ font-size: 1.8rem; font-weight: 900; color: rgba(0,0,0,.65); align-items: center; margin-bottom: 2rem; .design_title_text_intro{ font-size: 1.2rem; font-weight: 400; color: rgba(0,0,0,.45); } } .ant-upload.ant-upload-select-picture-card{ background: #FFFFFF; width: 6rem; height: 6rem; border: 0.3rem solid #ededed; border-radius: 1rem; margin: 0; .upload_tip_block{ .icon-jiahao{ font-size: 3.2rem; color: #B7B7B7; } } .ant-upload-text{ font-size: 1.6rem; color: #B7B7B7; } } .ant-upload-list-picture-card-container{ display: none !important; } .ant-upload-picture-card-wrapper{ width: auto; vertical-align: top; } } //desing 关闭按钮 .designOpenrtion_modal,.design_detail_modal_component{ .design_closeIcon{ top: 2rem; right: 2rem; cursor: pointer; width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center; position: absolute; .fi-rr-cross-small::before{ padding: .2rem; border-radius: 5px; border: solid 2px rgba(0, 0, 0, 0.25); transition: 1s all; color: rgba(0, 0, 0, 0.55); } &.collection_closeIcon:hover .fi-rr-cross-small::before{ border: solid 2px rgba(0, 0, 0, 0.55); color: rgba(0, 0, 0, 1); } } } .design_detail_modal_component,.designOpenrtion_modal{ .ant-upload-list-picture-card-container{ display: none !important; } .ant-upload-picture-card-wrapper{ width: auto; vertical-align: top; } .subitOkPreviewBtn{ background-color: #38205b; color: #fff; cursor: pointer; left: 50%; position: absolute; transform: translateX(-50%); padding: .5rem 2rem; border-radius: 2rem; font-size: 1.2rem; display: inline-block; } } .ant-upload{ font-size: 1.4rem; } i{ font-size: 1.4rem; } //设计input和上传按钮样式 .collection_modal_body,.design_detail_modal_component,.library_page{ .input_box{ display: flex; align-items: center; position: sticky; top: 0; background: #fff; padding-top: 2.5rem; padding-bottom: 2rem; z-index: 2; input{ font-size: 1.2rem; border-radius: .5rem; width: 70%; border: 1px solid rgba(0,0,0,.15); padding-left: 1.5rem; border: 0.1rem solid #F1F1F1; font-size: 1.2rem; font-weight: 400; &input:-moz-placeholder{ color: rgba(0,0,0,.15); } &input:-ms-input-placeholder { color: rgba(0,0,0,.15); } &input::-webkit-input-placeholder { color: rgba(0,0,0,.15); } } span{ position: absolute; bottom: 0rem; font-size: 1.2rem; color: red; opacity: 0; transform: scale(.7); transform-origin: left bottom; } &.active{ input{ // color: rgb(255, 0, .7); border: 1px solid rgb(255, 0, .7); box-shadow: 0px 0px 3px 1px rgba(255, 0, 0, 0.2); } span{ opacity: 1; } } .generage_btn{ margin: 0 auto; } } .upload_item{ display: flex; flex-wrap: wrap; .upload_file_item { margin: 0 2rem 2rem 0; display: inline-block; // width: 16.5rem; // height: 16.5rem; width: 10rem; height: 10rem; border: 1px solid #f5f5f5; vertical-align: top; position: relative; cursor: pointer; &.active { opacity: 0.5; // border: 2px solid; border-radius: 1rem; transform: scale(0.9); .delete_file_block{ pointer-events:none; } .operate_file_block{ pointer-events:none; } img { } } &.upload_component { border: none; display: flex; align-items: center; justify-content: center; } :deep(.ant-upload-picture-card-wrapper) { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } :deep(.ant-upload-select-picture-card) { width: 6rem; height: 6rem; border: 0.3rem solid #ededed; border-radius: 1rem; margin: 0; } .upload_file_item_content { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; position: relative; &:hover .delete_file_block { display: block; } .upload_img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: cover; } .delete_file_block { display: none; width: 100%; cursor: pointer; height: 3rem; background: rgba(0, 0, 0, 0.2); font-size: 1.6rem; color: #ffffff; line-height: 3rem; text-align: center; position: absolute; left: 0; bottom: 0; &.rightTop { width: 3.2rem; height: 3.2rem; background: rgba(0, 0, 0, 0.6); border-radius: 0.4rem; position: absolute; top: 0.9rem; right: 0.9rem; text-align: center; line-height: 3.2rem; left: auto; .icon-shanchu { font-size: 1.6rem; color: #fff; } } } } .upload_img_icon { width: 4.6rem; } } } } //剪裁弹窗 .cut_pricture_modal{ .ant-modal-content{ border-radius: 1rem; } .ant-modal-body{ height: 65rem; padding: 8rem 5rem !important; overflow-y: hidden; } } .scroll_style{ &::-webkit-scrollbar-button:single-button { // background-color: #ffffff; display: block; border-style: solid; height: 1.3rem; width: 1.4rem; } &::-webkit-scrollbar-button:single-button:vertical:decrement { border-width: 0 0.8rem 0.8rem 0.8rem; border-color: transparent transparent #555555 transparent; } &::-webkit-scrollbar-button:single-button:vertical:decrement:hover { border-color: transparent transparent #777777 transparent; } &::-webkit-scrollbar-button:single-button:vertical:increment { border-width: 0.8rem 0.8rem 0 0.8rem; border-color: #555555 transparent transparent transparent; } &::-webkit-scrollbar-button:vertical:single-button:increment:hover { border-color: #777777 transparent transparent transparent; } &::-webkit-scrollbar { /*滚动条整体样式*/ width: 1.4rem; /*高宽分别对应横竖滚动条的尺寸*/ } &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ background: #c2c2c2; opacity: 0.8; border-radius: 0.7rem; } &::-webkit-scrollbar-track { // background: #ffffff; } } //蒙层样式 .mark_loading{ position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); left: 0; top: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }