.page-setting { display: flex; flex-direction: column; .setting-head { display: flex; align-items: center; margin: 32px 32px 16px; border-bottom: 1px solid #F4F4F5; .setting-titbox { flex: 1; margin-bottom: 16px; .setting-title { display: flex; align-items: center; > h1 { flex: 1; width: 0; color: $primary-title-color; font-size: 28px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .setting-more { display: none; } } } } .setting-box { flex: 1; height: 0; display: flex; padding-bottom: 16px; .setting-menu { width: 200px; flex-shrink: 0; border-right: 1px solid #F4F4F5; overflow: auto; > ul { padding: 12px 0 0 32px; > li { cursor: pointer; color: #6b6e72; list-style: none; line-height: 42px; padding: 0 20px; margin: 5px 0; position: relative; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; &.flex { display: flex; align-items: center; } .ivu-badge { transform: scale(0.8); transform-origin: right center; } &.active, &:hover { background-color: #F4F5F7; } &.divided { position: relative; margin-top: 10px; padding-top: 10px; &:before { content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 1; height: 1px; background-color: #F4F4F5; } &:after { content: ""; position: absolute; top: 1px; left: 0; right: 0; z-index: 2; height: 9px; background-color: #ffffff; } } } } } .setting-content { flex: 1; overflow: hidden; position: relative; display: flex; flex-direction: column; .setting-content-title { font-size: 20px; font-weight: 500; padding: 12px 32px; } .setting-content-view { flex: 1; position: relative; .setting-router-view { padding: 24px 40px; } } } } .setting-item { .ivu-input, .ivu-select-default { max-width: 460px; } .ivu-form { overflow: auto; } .setting-color, .setting-template { min-width: 400px; 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; } .ivu-color-picker { width: 100%; } } .information { color: $primary-desc-color; } } .setting-color { &.color-label-box { .el-tooltip { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } } } .setting-template { > div { flex-shrink: 0; text-align: left; &:last-child { flex: 1; width: auto; max-width: none; } } } .setting-footer { display: flex; align-items: center; > button { display: flex; align-items: center; justify-content: center; height: 34px; line-height: 32px; min-width: 94px; > span { margin-left: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } } .setting-auto-day { display: block; width: 110px; margin-top: 12px; line-height: 32px; margin-bottom: -10px; } .setting-checkin-load { margin-bottom: 12px; .common-loading { width: 20px; height: 20px; } } .setting-checkin-lately { > li { padding-bottom: 8px; .time { font-weight: bold; } .content { font-size: 13px; opacity: 0.7; } } } .setting-checkin-row { overflow: auto; } .setting-checkin-button { padding-bottom: 4px; cursor: pointer; color: #2b85e4; &:hover { text-decoration: underline; } } &.submit { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 0 !important; .ivu-form { flex: 1; padding: 24px 40px; overflow: auto; } .ivu-tabs { flex: 1; padding: 16px 32px 0; display: flex; flex-direction: column; .ivu-tabs-content { flex: 1; height: 0; .ivu-tabs-tabpane { position: relative; .setting-component-item { position: absolute; top: 0; left: 0; right: 0; bottom: 0; flex: 1; display: flex; flex-direction: column; .ivu-form { padding: 8px 12px; } .setting-footer { margin: 0 -32px; } .block-setting-box { position: relative; padding: 44px 24px 4px; margin: 24px 0 12px; border-radius: 8px; border: 1px solid #eeeeee; transition: box-shadow 0.3s; &:hover { box-shadow: 0 0 10px #e6ecfa; } h3 { position: absolute; top: 0; left: 24px; padding: 4px 10px; border-radius: 4px; display: inline-block; background-color: #ffffff; border: 1px solid #eeeeee; font-size: 15px; font-weight: 500; transform: translateY(-50%); } .form-box { overflow: auto; } .ivu-form-item { .ivu-form { padding: 12px 0 0 0; .ivu-form-item { margin-bottom: 8px; .ivu-form-item-content { display: flex; align-items: center; } } } } } .block-setting-placeholder { height: 8px; } .export-data { margin-top: 6px; > p { cursor: pointer; color: #2b85e4; &:hover { text-decoration: underline; } } } } } } } .setting-footer { flex-shrink: 0; position: static; padding: 16px 24px 0; border-top: 1px solid #F4F4F5; } .setting-input { max-width: 460px; } .setting-send-input { max-width: 460px; .ivu-input-group-append { background-color: #EDEDED !important; border: 1px solid #EDEDED !important; color: #999 !important; &:before { background: #EDEDED; } } } .setting-button { margin-left: 8px; } .approve-row { padding: 24px 40px; overflow: auto; .ivu-col { margin-bottom: 8px; .approve-col-box { border-radius: 8px; border: 1px solid #eeeeee; transition: box-shadow 0.3s; cursor: pointer; &:hover { box-shadow: 0 0 10px #e6ecfa; } } .approve-col-add { height: 100%; font-size: 48px; display: flex; justify-content: center; align-items: center; color: #ededed; min-height: 95px; } .approve-col-for { padding: 16px; padding-bottom: 13px; display: flex; flex-direction: column; > p { display: flex; align-items: center; } .approve-button-box { display: flex; justify-content: space-between; align-items: center; > p { display: flex; align-items: center; > i { font-size: 16px; margin-left: 8px; color: rgb(96, 98, 102); } } } } } } } } } .page-setting-delete-box { .big-text { font-size: 16px; font-weight: 500; color: #f00; } .small-text { margin-top: 15px; > div { margin: 10px 0; } } .button-box { text-align: center; } } body.window-portrait { .page-setting { .setting-head { margin: 32px 32px 0; .setting-titbox { .setting-title { .setting-more { display: flex; font-size: 24px; width: 42px; height: 42px; align-items: center; justify-content: center; } } } } .setting-box { position: relative; &.show-mobile-box { .setting-menu { transform: translateX(0); } } .setting-menu { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9; background-color: #ffffff; transform: translateX(-120%); > ul { padding: 12px 32px; > li { padding: 0 8px; &:hover { background-color: transparent; } } } } .setting-content { .setting-content-title { display: none; } } } .setting-item { .setting-footer { > button { flex: 1; height: 40px; line-height: 38px; } } } } }