UNPKG

joywok-material-components

Version:

<h1 align="center"> Joywok Material Components </h1>

251 lines (245 loc) 6.41 kB
.ant-message { z-index: 1001; } .overflowhidden { overflow: hidden; } .jw-img-editor { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; } .jw-img-editor .jw-img-editor-bg { position: absolute; opacity: 0.1; background: #000000; left: 0; right: 0; bottom: 0; top: 0; } .jw-img-editor .jw-img-editor-content { margin: auto; width: 800px; height: 555px; position: absolute; margin: auto; top: 50px; left: 0; right: 0; bottom: 0; background: #fff; -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15); box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15); } .jw-img-editor .jw-img-editor-content .jw-img-content-title { line-height: 72px; font-size: 18px; color: #666666; padding-left: 30px; border-bottom: 1px solid #e7e7e7; position: relative; } .jw-img-editor .jw-img-editor-content .jw-img-content-title .close { position: absolute; top: 0px; right: 30px; cursor: pointer; } .jw-img-editor .jw-img-editor-content .jw-img-content-left { float: left; position: relative; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .ant-progress-line { position: absolute; width: 70%; font-size: 14px; top: 48%; z-index: 200; left: 75px; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .ant-progress-line .ant-progress-status-success .ant-progress-bg { background-color: #F2BB16; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .ant-progress-line .ant-progress-success-bg, .jw-img-editor .jw-img-editor-content .jw-img-content-left .ant-progress-line .ant-progress-bg { background-color: #F2BB16; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-upload-drop .drop-1 { font-size: 18px; color: #b0b0b0; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-upload-drop .drop-2 { font-size: 13px; color: #b0b0b0; margin-top: 10px; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-upload-drop .jw-upload-button.jw-upload-button-gray .jw-button button { background: #404A53; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-upload-drop .jw-upload-button .jw-button button { padding: 6px 40px; margin-top: 16px; -webkit-box-shadow: none; box-shadow: none; background: #00C78B; color: #fff; font-size: 13px; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-img-desc { font-size: 13px; color: #999999; padding-left: 30px; margin-top: 13px; font-weight: 300; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-img-content { width: 440px; height: 330px; margin-left: 30px; margin-right: 30px; margin-top: 35px; position: relative; overflow: hidden; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-img-content .jw-img-content-left-bg { opacity: 0.3; background: #000000; height: 100%; } .jw-img-editor .jw-img-editor-content .jw-img-content-left .jw-img-content canvas { position: absolute; top: 45px; } .jw-img-editor .jw-img-editor-content .jw-img-content-right { float: left; width: 260px; overflow: hidden; margin-top: 35px; font-size: 13px; color: #999999; letter-spacing: 0; } .jw-img-editor .jw-img-editor-content .jw-img-content-right .preview-img { width: 160px; height: 64px; margin-top: 10px; overflow: hidden; background-repeat: no-repeat; } .jw-img-editor .jw-img-editor-content .jw-img-content-right .jw-upload-button { position: relative; } .jw-img-editor .jw-img-editor-content .jw-img-content-right .jw-upload-button.jw-upload-button-gray .jw-button button { background: #404A53; border-color: #404A53; } .jw-img-editor .jw-img-editor-content .jw-img-content-right .jw-upload-button .jw-img-upload-reset { background: #00C78B; border: 1px solid #00C78B; border-radius: 2px; width: 70px; height: 30px; padding: 0 !important; text-align: center; font-size: 13px; color: #ffffff; letter-spacing: -0.31px; margin-top: 20px; font-weight: 500; } .jw-img-editor .jw-img-editor-content .jw-img-content-right .jw-upload-button .ant-upload-list { display: none; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options { position: absolute; bottom: 32px; width: 100%; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options.jw-button-gray .editor-save { background: #404A53; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options.jw-button-gray .editor-cancel { color: #404A53; border: 1px solid #404A53; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options.jw-button-gray .editor-cancel:hover { background: #404A53; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-save { float: right; margin-right: 30px; background: #00C78B; border-radius: 2px; width: 72px; height: 30px; font-size: 13px; color: #ffffff; letter-spacing: -0.31px; border: none !important; cursor: pointer; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-save span { line-height: 1; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-save:hover { border: none !important; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-save.disabled { opacity: 0.6; cursor: not-allowed; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-cancel { float: right; margin-right: 12px; border: 1px solid #00C78B; border-radius: 2px; width: 70px; height: 30px; font-size: 13px; color: #00C78B; letter-spacing: -0.31px; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-cancel span { line-height: 1; } .jw-img-editor .jw-img-editor-content .jw-img-editor-options .editor-cancel:hover { background: #00C78B; color: white; } .jw-img-preview img { max-width: 100%; max-height: 347px; } .jw-img-preview canvas { margin-left: -2px; } .jw-img-content .jw-img-content-nocut-c { position: absolute; top: 0; right: 0; left: 0; bottom: 0; z-index: 2; } .jw-img-content .jw-img-content-nocut { display: table-cell; width: 440px; height: 330px; vertical-align: middle; text-align: center; } .jw-img-content img { max-width: 440px; max-height: 330px; } @media (min-width: 960px) { .dialog.alone-tips .jw-tips-main .custom-snackbar { min-width: 150px; } .dialog.alone-tips .jw-tips-main .custom-snackbar span { line-height: 18px; } }