.page-apply { width: 100%; height: 100%; display: flex; flex-direction: column; .apply-wrapper { flex: 1; height: 0; display: flex; flex-direction: column; position: relative; background-color: #fafafa; .apply-head { display: flex; align-items: center; padding-bottom: 16px; margin: 32px 32px 0 32px; border-bottom: 1px solid #f6f6f6; .apply-nav { flex: 1; display: flex; align-items: center; > h1 { color: $primary-title-color; font-size: 28px; font-weight: 600; } } .apply-nav-actions { display: flex; align-items: center; .apply-action-btn { font-size: 26px; display: flex; align-items: center; justify-content: center; padding: 8px; color: #6f6f6f; cursor: pointer; transition: all .2s; &:hover { color: $primary-title-color; } } } } .apply-sort-bar { margin: 16px 32px 0; padding: 12px 16px; border: 1px dashed rgba($primary-color, 0.4); border-radius: 8px; background-color: mix(#ffffff, $primary-color, 92%); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; .apply-sort-tip { display: flex; align-items: center; gap: 8px; color: $primary-color; font-size: 13px; } .apply-sort-actions { display: flex; gap: 8px; } } .apply-content { flex: 1; padding: 16px 30px; overflow: auto; .apply-row-title { margin-bottom: 16px; } > div.apply-row-title:nth-last-child(2) { margin-top: 22px !important; } .apply-col { margin-bottom: 16px; .apply-item { font-size: 14px; font-weight: normal; background: #FFFFFF; color: #333333; border-radius: 8px; padding: 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; position: relative; border: 1px solid #f1f1f1; .logo { width: 40px; height: 40px; display: inline-block; } > p { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; } .apply-box-top-report { position: absolute; right: -16px; top: -16px; padding: 8px; } &.is-sorting { border-style: dashed; border-color: $primary-color; background: rgba($primary-color, 0.05); } } } } @media (width <= 510px) { .apply-sort-bar { margin: 12px; flex-direction: column; align-items: flex-start; } .apply-row-title { margin-bottom: 8px !important; } .apply-content { .ivu-row { margin-left: -12px !important; margin-right: -12px !important; } .apply-col { margin-bottom: 6px; .apply-item { display: block; text-align: center; padding: 12px 0; background: none; border-color: #ffffff; .logo { margin-bottom: 8px; position: relative; } > p { -webkit-line-clamp: 1; } .apply-box-top-report { right: -20px; top: -20px; } } } } } } } .apply-icon { width: 40px; height: 40px; background-repeat: no-repeat; background-size: contain; background-position: center center; &.approve { background-image: url("../images/application/approve.svg"); } &.create-group { background-image: url("../images/application/create-group.svg"); } &.add-project { background-image: url("../images/application/add-project.svg"); } &.add-task { background-image: url("../images/application/add-task.svg"); } &.all-user { background-image: url("../images/application/all-user.svg"); } &.complaint { background-image: url("../images/application/complaint.svg"); } &.app-push { background-image: url("../images/application/app-push.svg"); } &.approve { background-image: url("../images/application/approve.svg"); } &.calendar { background-image: url("../images/application/calendar.svg"); } &.file { background-image: url("../images/application/file.svg"); } &.ldap { background-image: url("../images/application/ldap.svg"); } &.mail { background-image: url("../images/application/mail.svg"); } &.meeting { background-image: url("../images/application/meeting.svg"); } &.meeting-create { background-image: url("../images/application/meeting-create.svg"); } &.meeting-join { background-image: url("../images/application/meeting-join.svg"); } &.report { background-image: url("../images/application/report.svg"); } &.mybot { background-image: url("../images/application/mybot.svg"); } &.favorite { background-image: url("../images/application/favorite.svg"); } &.recent { background-image: url("../images/application/recent.svg"); } &.export-manage { background-image: url("../images/application/export.svg"); } &.robot { background-image: url("../images/application/robot.svg"); } &.scan { background-image: url("../images/application/scan.svg"); } &.setting { background-image: url("../images/application/setting.svg"); } &.signin { background-image: url("../images/application/signin.svg"); } &.vote { background-image: url("../images/application/vote.svg"); } &.word-chain { background-image: url("../images/application/word-chain.svg"); } &.appstore { background-image: url("../images/application/appstore.svg"); } &.ai-assistant { background-image: url("../images/application/ai-assistant.svg"); } } .apply-export-popover { padding: 4px 0 !important; .apply-export-menu { list-style: none; padding: 0; margin: 0; min-width: 160px; > li { padding: 8px 16px; cursor: pointer; font-size: 14px; color: #333; white-space: nowrap; &:hover { background: #f5f5f5; } } } } .ivu-modal-wrap-apply { position: relative; overflow: auto; height: 100%; display: flex; flex-direction: column; max-width: 100vw; .ivu-modal-wrap-apply-body { flex: 1; position: relative; padding: 8px 30px; .setting-item, .setting-component-item { position: absolute; top: 0; left: 0; right: 0; bottom: 0; flex: 1; display: flex; flex-direction: column; .ivu-form { padding: 8px 30px; overflow: auto; flex: 1; } .setting-template { margin-bottom: 12px; > div { padding-right: 12px; &:last-child { padding-right: 0; } } } .export-data > p { cursor: pointer; color: #2b85e4; } .setting-footer { flex-shrink: 0; position: static; padding: 16px 26px; border-top: 1px solid #F4F4F5; display: flex; align-items: center; gap: 8px; .ivu-btn { min-width: 120px; height: 38px; line-height: 36px; @media (width <= 500px) { width: 50%; } } } } .ivu-modal-wrap-ul { list-style-type: none; overflow: hidden; border-radius: 3px; padding: 10px; margin: -10px; > li { border: 1px solid #eeeeee; padding: 16px; position: relative; margin-bottom: 12px; border-radius: 10px; display: flex; align-items: flex-start; &:hover { box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); } .modal-item-img { margin-right: 20px; flex-shrink: 0; > img, .apply-icon { width: 52px; height: 52px; border-radius: 26px; } } .modal-item-info { flex: 1; .modal-item-name { display: flex; flex-wrap: wrap; gap: 8px; list-style-type: none; margin-bottom: 10px; h4 { font-size: 18px; color: #333; line-height: 26px; font-weight: 500; word-break: break-all; } .modal-item-tag { cursor: pointer; display: flex; align-items: center; padding: 4px 12px; line-height: 18px; background: #f5f5f5; border-radius: 12px; font-size: 12px; color: #666; border: none; margin: 0; > em { padding-left: 4px; font-style: normal; } } } .modal-item-desc { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; } .modal-item-mybot { display: flex; row-gap: 4px; flex-direction: column; margin-bottom: 12px; > p { display: flex; flex-wrap: wrap; word-break: break-all; > span { opacity: 0.8; padding-right: 6px; } } } .modal-item-btns { display: flex; flex-wrap: wrap; gap: 12px; } } } } .ai-tabs { position: absolute; top: 0; left: 0; right: 0; bottom: 0; flex: 1; display: flex; flex-direction: column; .ivu-tabs-bar { padding: 0 10px; } .ivu-tabs-content { height: 0; flex: 1; .ivu-tabs-tabpane { height: 100%; } .aibot-setting { position: relative; height: 100%; } } } &.full-body { height: 0; overflow: auto; .empty-data { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; > span { opacity: 0.8; } } @media (width <= 500px) { padding: 0; .ivu-modal-wrap-ul { margin: 0; padding: 0; > li { border: 0; border-top: 1px solid #eeeeee; border-radius: 0; &:hover { box-shadow: none; } } } } } } } .mobile-scan-login-box { margin: 2px 0 12px; .mobile-scan-login-title { font-size: 20px; } .mobile-scan-login-subtitle { padding-top: 8px; } } body.window-portrait { .page-apply { .apply-wrapper { background-color: #FFFFFF; .apply-head { margin: 24px 24px 0; } .apply-sort-bar { margin: 16px 20px 0; } .apply-content { padding: 16px 20px; .apply-col { > div { font-size: 12px; font-weight: 500; } } } } } }