*[hidden="hidden"] { display: none !important; } .icon-loading { animation: icon-loading-load 0.6s infinite linear; } @keyframes icon-loading-load { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } body { .ivu-input, .ivu-select-selection { border-color: #e8e8e8; } } .ivu-modal-wrap { &.simple-modal { .ivu-modal { top: 100px; padding-bottom: 100px; @media (max-height: 900px) { top: 35px; padding-bottom: 35px; } &.ivu-modal-fullscreen { top: 0; } .ivu-modal-header, .ivu-modal-footer { border-color: transparent; } .ivu-modal-header { padding: 22px 24px 20px; .ivu-modal-header-inner { font-size: 18px; } } .ivu-modal-body { padding: 16px 32px 2px; } .ivu-modal-footer { padding: 20px 30px 22px; .ivu-btn { height: 34px; line-height: 32px; min-width: 94px; } } .ivu-modal-content { border-radius: 18px; .ivu-modal-close { .ivu-icon-ios-close { font-size: 38px; top: 3px; right: 2px; transition: all 0.2s; } &:hover { .ivu-icon-ios-close { transform: rotate(-90deg); } } } } } .form-network-add-tabs { .ivu-tabs-tabpane { padding: 10px 6px 0; } } .form-network-add-in-out { padding: 0 6px; .select-in-type { span.ivu-radio { display: none; } .select-in-type-item-checked { color: #2d8cf0; border: 1px solid #2d8cf0 !important; } .select-in-type-item { display: flex; align-items: center; min-width: 90px; border: 1px solid #E8EBEE; border-radius: 4px; padding: 0 12px; margin: 0 8px 0 0; > span { flex: 1; } &:hover { cursor: pointer; } .select-in-type-icon { margin-left: 12px; } } } .select-in-node { margin-top: 18px; } } } .ivu-modal-confirm { .ivu-modal-confirm-body { > div { word-break: break-all; } } } } .modal-info-show { display: flex; .column { color: #6D6D6D; margin: 5px 0; min-width: 70px; max-width: 100px; text-align: right; } .value { flex: 1; width: 0; color: #414141; margin: 5px 0 5px 5px; word-break: break-all; } } .ivu-select-dropdown { max-height: 360px; &.select-node { .ivu-select-item { display: flex; align-items: center; justify-content: space-between; .option-title { flex: 1; } .ivu-tag { margin-left: 18px; margin-right: 0; transform: scale(0.9); transform-origin: right center; } } } } .ivu-tooltip-popper { .ivu-tooltip-inner { white-space: normal; } } .ivu-table { table { width: 100% !important; .ivu-table-cell { padding-left: 12px; padding-right: 12px; } thead { .ivu-table-cell { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } tbody { .tree-icon-loading { .ivu-table-cell { display: flex; align-items: center; .ivu-table-cell-tree { margin-right: 6px; } } } } } .td-ellipsis { display: flex; align-items: center; max-width: 100%; .remark-text { overflow: hidden; text-overflow: ellipsis; align-items: center; white-space: nowrap; height: 20px; line-height: 20px; margin-right: 6px; } .remark-icon { display: none; font-size: 16px; cursor: pointer; } .remark-tag { display: inline-block; height: 22px; line-height: 22px; margin: 2px 4px 2px 0; border: 1px solid #e8eaec; border-radius: 3px; background: #f7f7f7; font-size: 12px; vertical-align: middle; opacity: 1; color: #515a6e; padding: 0 4px; white-space: nowrap; overflow: visible; &.pointer-tag { cursor: pointer; color: #1890ff; background: #e6f7ff; border-color: #91d5ff; } } .icon-tooltip { .ivu-tooltip-rel { display: flex; align-items: center; } } } .td-action { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; .td-action-container { display: inline-block; a { font-size: 12px; padding: 0 5px; } } } .ivu-table-row-hover { &:hover { .td-ellipsis { .remark-icon { display: inline-block; } } } } &:before { background-color: #efefef; } } .common-user { position: relative; .common-user-loading { position: absolute; top: 2px; bottom: 0; right: 10px; display: flex; align-items: center; .common-loading { width: 14px; height: 14px; } } &.hidden-input { .ivu-select-selection { padding: 0 4px; .ivu-select-input { display: none; } } } } .common-user-transfer { .user-input-option { display: flex; align-items: center; .user-input-avatar { .ivu-avatar { width: 26px; height: 26px; } } .user-input-nickname { margin-left: 10px; flex: 1; } .user-input-userid { margin-left: 10px; font-size: 12px; color: #cccccc; transition: margin 0.1s; } } .ivu-select-item { &.ivu-select-item-selected { &:after { top: 8px; } .user-input-option { .user-input-userid { margin-right: 16px; } } } } .user-drop-prepend { text-align: center; color: #c5c8ce; line-height: 20px; padding-bottom: 5px; font-size: 12px; border-bottom: 1px solid #f1f1f1; margin-bottom: 5px; } } // tinymce .teditor-box, .teditor-transfer { .tox { &.tox-silver-sink { z-index: 13000; } } } .teditor-box { textarea { opacity: 0; } .tox-tinymce { box-shadow: none; box-sizing: border-box; border-color: #dddee1; border-radius: 4px; overflow: hidden; .tox-statusbar { span.tox-statusbar__branding { a { display: none; } } } } } .teditor-transfer { background-color: #ffffff; .tox-toolbar { > div:last-child { > button:last-child { margin-right: 64px; } } } .ivu-modal-header { display: none; } .ivu-modal-close { top: 7px; z-index: 2; } .teditor-transfer-body { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; margin: 0; textarea { opacity: 0; } .tox-tinymce { border: 0; .tox-statusbar { span.tox-statusbar__branding { a { display: none; } } } } } } .setting-item { .ivu-input, .ivu-select-selection { max-width: 460px; } .form-tip { color: #999999; } .setting-color { max-width: 600px; margin-bottom: 12px; > div { text-align: center; padding-right: 12px; &:first-child { text-align: left; } &:last-child { padding-right: 0; width: 60px; flex: auto; flex-shrink: 0; max-width: 60px; } .ivu-color-picker { width: 100%; } } .information { color: #999999; } } .setting-footer { > button { height: 34px; line-height: 32px; min-width: 94px; } } &.submit { position: absolute; top: 0; left: 0; right: 0; bottom: 0; .setting-footer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 24px 0; border-top: 1px solid #F4F4F5; } } } .dialog-scroller { position: relative; overflow: auto; .dialog-list { > ul { > li { display: flex; flex-direction: row; align-items: flex-end; list-style: none; margin-bottom: 16px; .dialog-avatar { position: relative; margin-bottom: 20px; flex-shrink: 0; width: 30px; height: 30px; } .dialog-view { max-width: 70%; display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 0 8px; .dialog-content { color: #333333; background-color: #F4F5F7; padding: 8px; border-radius: 6px 6px 6px 0; &.loading { display: flex; .common-loading { width: 20px; height: 20px; margin: 4px; } } &.file { display: inline-block; .file-box { background-color: #ffffff; display: flex; align-items: center; padding: 10px 14px; border-radius: 3px; width: 220px; .file-thumb { width: 36px; } .file-info { margin-left: 12px; display: flex; flex-direction: column; justify-content: center; .file-name { color: #333333; font-size: 14px; line-height: 18px; word-break: break-all; text-overflow: ellipsis; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .file-size { padding-top: 4px; color: #666666; font-size: 14px; } } } } &.img { padding: 0; display: flex; max-width: 220px; max-height: 220px; border-radius: 6px; background-color: transparent; overflow: hidden; .file-img { display: flex; } } &.unknown { text-decoration: underline; } } .dialog-foot { display: flex; align-items: center; padding-top: 4px; height: 21px; line-height: 1; .common-loading { margin: 0 2px; width: 10px; height: 10px; } .time { color: #bbbbbb; font-size: 12px; } .done { display: none; margin-left: 4px; transform: scale(0.9); font-size: 12px; color: #87d068; } .percent { display: none; margin-left: 4px; cursor: pointer; } } } &.loading { padding: 12px 0; justify-content: center; .common-loading { margin: 0; width: 18px; height: 18px; } } &.nothing { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #999999; } &.bottom { height: 0; margin: 0; padding: 0; } &.self { flex-direction: row-reverse; .dialog-view { align-items: flex-end; margin: 0 8px 0 0; .dialog-content { color: #ffffff; background-color: #2d8cf0; border-radius: 6px 6px 0 6px; &.file { background-color: #F4F5F7; } &.img { border-radius: 6px; background-color: transparent; } } .dialog-foot { .done { display: inline-block; } .percent { display: inline-block; } } } } } } } } .dialog-readbox { display: flex; position: relative; .read, .unread { flex: 1; max-height: 300px; overflow: auto; > li { list-style: none; margin-bottom: 12px; .common-avatar { width: 100%; } &:last-child { margin-bottom: 6px; } &.read-title { > em { font-size: 18px; font-weight: 600; font-style: normal; padding-right: 6px; } } } } .unread { > li { padding-left: 16px; } } &:before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background-color: #F4F4F5; } }