mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
331 lines
7.0 KiB
SCSS
Vendored
331 lines
7.0 KiB
SCSS
Vendored
.report {
|
|
height: 100%;
|
|
padding: 20px;
|
|
|
|
.report-list-wrap {
|
|
position: absolute;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding-top: 53px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.table-page-box {
|
|
flex: 1;
|
|
height: 0;
|
|
}
|
|
}
|
|
|
|
.manage-box-report {
|
|
margin-left: 4px;
|
|
transform: scale(0.8);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.ivu-tabs {
|
|
height: 100%;
|
|
position: relative;
|
|
|
|
.ivu-tabs-bar {
|
|
position: relative;
|
|
z-index: 2;
|
|
background: #fff;
|
|
}
|
|
|
|
.ivu-tabs-content {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin-top: -53px;
|
|
padding-top: 53px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.report-table-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.common-avatar {
|
|
margin: 0 1px;
|
|
}
|
|
|
|
.more-avatar {
|
|
padding-left: 3px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.report-detail {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
|
|
.report-title {
|
|
flex-shrink: 0;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid #eeeeee;
|
|
@media (width <= 500px) {
|
|
padding-right: 50px;
|
|
}
|
|
}
|
|
|
|
.report-detail-context {
|
|
flex: 1;
|
|
height: 0;
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: auto;
|
|
> ul {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
row-gap: 12px;
|
|
column-gap: 48px;
|
|
@media (width < 768px) {
|
|
flex-direction: column;
|
|
column-gap: 0;
|
|
}
|
|
> li {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
.report-label {
|
|
flex-shrink: 0;
|
|
padding-right: 12px;
|
|
opacity: .8;
|
|
}
|
|
.report-value {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 6px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.report-content {
|
|
border-top: 1px solid #eeeeee;
|
|
padding-top: 24px;
|
|
margin-top: 24px;
|
|
width: 100%;
|
|
|
|
ul, ol, li {
|
|
margin: revert;
|
|
padding: revert;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
|
|
th, td {
|
|
line-height: 20px;
|
|
padding: 10px;
|
|
border: 1px solid #e8e8e8;
|
|
}
|
|
|
|
th {
|
|
background: #f8f8f8;
|
|
padding: 10px 16px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
}
|
|
|
|
td {
|
|
background: #fff;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
ol {
|
|
margin-bottom: 20px;
|
|
padding-left: 18px;
|
|
|
|
li {
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.report-edit {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 24px;
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.ivu-input[disabled] {
|
|
color: $primary-text-color;
|
|
}
|
|
|
|
.ivu-form-item-content {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.report-content {
|
|
flex: 1 1 auto;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.report-users {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
line-height: 34px;
|
|
|
|
.common-user-select {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.report-user-link {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
> i {
|
|
font-size: 16px;
|
|
margin-right: 2px;
|
|
transform: rotate(-90deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.report-radiogroup {
|
|
background: #F4F5F7 !important;
|
|
padding: 2px !important;
|
|
border-radius: 4px !important;
|
|
|
|
.ivu-radio-wrapper {
|
|
padding: 0 30px !important;
|
|
background: #F4F5F7 !important;
|
|
color: #515A6E !important;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
|
|
&.ivu-radio-wrapper-disabled {
|
|
color: #c6c6c6 !important;
|
|
}
|
|
|
|
&:before {
|
|
width: 0 !important;
|
|
}
|
|
|
|
&:after {
|
|
width: 0 !important;
|
|
}
|
|
}
|
|
|
|
.ivu-radio-focus {
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
|
|
&:after {
|
|
background: none !important;
|
|
}
|
|
}
|
|
|
|
.ivu-radio-wrapper-checked:not(.ivu-radio-wrapper-disabled) {
|
|
background: #fff !important;
|
|
color: $primary-color !important;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
}
|
|
|
|
.report-buttongroup {
|
|
margin-left: 20px;
|
|
background: #F4F5F7 !important;
|
|
border-radius: 4px;
|
|
|
|
.report-buttongroup-vertical {
|
|
position: absolute;
|
|
left: 50%;
|
|
width: 1px;
|
|
height: 15px;
|
|
background-color: #e9e9e9;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 9;
|
|
}
|
|
|
|
.ivu-btn-primary {
|
|
background: #F4F5F7 !important;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
color: $primary-color !important;
|
|
height: 36px;
|
|
line-height: 34px;
|
|
|
|
&[disabled] {
|
|
color: #c6c6c6 !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.report-content-editor {
|
|
flex: 1;
|
|
.ivu-form-item-content {
|
|
display: flex;
|
|
height: 100%;
|
|
.teditor-wrapper {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 380px;
|
|
min-width: 380px;
|
|
margin-right: -24px;
|
|
padding-right: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.report-foot {
|
|
margin-bottom: 0;
|
|
.report-bottom {
|
|
height: 38px;
|
|
line-height: 36px;
|
|
min-width: 120px;
|
|
}
|
|
}
|
|
|
|
&.ivu-form-label-top {
|
|
.report-content-editor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
.ivu-form-item-content {
|
|
flex: 1;
|
|
height: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|