mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-10 18:02:55 +00:00
417 lines
15 KiB
SCSS
Vendored
417 lines
15 KiB
SCSS
Vendored
.page-manage {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
.manage-box-menu {
|
|
position: relative;
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
width: 255px;
|
|
height: 100%;
|
|
background: #F4F5F7;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
transition: all 0.2s;
|
|
.manage-box-dropdown {
|
|
flex-shrink: 0;
|
|
width: 86%;
|
|
.ivu-select-dropdown {
|
|
padding: 7px 0;
|
|
.ivu-dropdown-item {
|
|
padding: 9px 16px;
|
|
}
|
|
.ivu-dropdown-item-divided {
|
|
margin-top: 7px;
|
|
&:before {
|
|
top: -9px;
|
|
}
|
|
}
|
|
}
|
|
.manage-box-title {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
padding: 6px 10px;
|
|
margin-top: 27px;
|
|
border-radius: 8px;
|
|
background-color: #ffffff;
|
|
cursor: pointer;
|
|
transition: box-shadow 0.3s;
|
|
&.menu-visible {
|
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.manage-box-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
> span {
|
|
flex: 1;
|
|
padding-left: 12px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.manage-box-arrow {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-left: 16px;
|
|
padding-right: 2px;
|
|
> i {
|
|
font-size: 12px;
|
|
margin: -1px;
|
|
}
|
|
}
|
|
.manage-box-top-report {
|
|
overflow: unset;
|
|
margin-right: -6px;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
> i {
|
|
font-size: 12px;
|
|
margin: -1px;
|
|
}
|
|
}
|
|
}
|
|
.manage-menu-report-badge {
|
|
margin-left: 6px;
|
|
transform: scale(0.9);
|
|
vertical-align: top;
|
|
}
|
|
.manage-menu-flex {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.ivu-icon {
|
|
color: #666666;
|
|
}
|
|
}
|
|
|
|
.task-title {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
> ul {
|
|
flex: 1;
|
|
width: 100%;
|
|
margin-top: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden !important;
|
|
> li {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 36px;
|
|
color: #6b6e72;
|
|
cursor: pointer;
|
|
position: relative;
|
|
width: 80%;
|
|
max-width: 100%;
|
|
margin: 5px auto;
|
|
padding: 0 4%;
|
|
border-radius: 4px;
|
|
> i {
|
|
opacity: 0.3;
|
|
font-size: 20px;
|
|
margin-right: 10px;
|
|
}
|
|
.menu-title {
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.menu-badge {
|
|
margin-left: 12px;
|
|
transform: scale(0.9);
|
|
}
|
|
&:first-child {
|
|
margin-top: 12px;
|
|
}
|
|
&.active {
|
|
background-color: #ffffff;
|
|
}
|
|
&.menu-project {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 12px 0 0;
|
|
cursor: default;
|
|
width: 100%;
|
|
> ul {
|
|
width: 100%;
|
|
overflow: auto;
|
|
> li {
|
|
display: flex;
|
|
flex-direction: column;
|
|
list-style: none;
|
|
cursor: pointer;
|
|
width: 80%;
|
|
margin: 2px auto;
|
|
border: 2px solid transparent;
|
|
.project-h1 {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 8px 0 28px;
|
|
border-radius: 4px;
|
|
> em {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 2px;
|
|
width: 24px;
|
|
height: 24px;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
&:before {
|
|
content: "";
|
|
width: 12px;
|
|
height: 12px;
|
|
background: url("data:image/svg+xml;base64,PHN2ZyB0PSIxNjIyMzkwODExNTQxIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjI0OTk3IiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiPjxwYXRoIGQ9Ik0zNjYuMTgyNCAxMDguMjM2OEw4MTIuMDMyIDQyOC4wMzJhMTAyLjQgMTAyLjQgMCAwIDEgMCAxNjYuNTAyNEwzNjYuMTgyNCA5MTQuMzI5NmExMDIuNCAxMDIuNCAwIDAgMS0xNjIuMDk5Mi04My4yNTEyVjE5MS40ODhhMTAyLjQgMTAyLjQgMCAwIDEgMTYyLjA5OTItODMuMjUxMnoiIHAtaWQ9IjI0OTk4IiBmaWxsPSIjOTk5OTk5Ij48L3BhdGg+PC9zdmc+") no-repeat center center;
|
|
background-size: contain;
|
|
transition: transform 0.2s;
|
|
}
|
|
}
|
|
.title {
|
|
flex: 1;
|
|
color: #333333;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
height: 38px;
|
|
line-height: 38px;
|
|
}
|
|
.num {
|
|
font-size: 12px;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.icon-top {
|
|
width: 14px;
|
|
height: 14px;
|
|
background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6I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44YzAuNS0wLjEsMS4xLTAuMywxLjQtMC44CglDMjEuNywxMC4yLDIxLjUsOC45LDIwLjcsOC4xeiIvPgo8L3N2Zz4K") no-repeat center center;
|
|
background-size: contain;
|
|
}
|
|
}
|
|
.project-h2 {
|
|
display: none;
|
|
margin: 16px 4px;
|
|
padding: 0 8px 0 24px;
|
|
cursor: default;
|
|
> p {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 4px 0;
|
|
height: 36px;
|
|
em,
|
|
span {
|
|
font-style: normal;
|
|
font-size: 12px;
|
|
flex-shrink: 0;
|
|
padding-right: 6px;
|
|
}
|
|
.ivu-progress {
|
|
margin-right: -18px;
|
|
.ivu-progress-inner {
|
|
background-color: #e4e4e4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.top {
|
|
.project-h1 {
|
|
background-color: #EEEFF1;
|
|
}
|
|
}
|
|
&.active {
|
|
.project-h1 {
|
|
background-color: #ffffff;
|
|
}
|
|
}
|
|
&.open-menu {
|
|
.project-h1 {
|
|
> em {
|
|
&:before {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
}
|
|
.project-h2 {
|
|
display: block;
|
|
}
|
|
}
|
|
&.operate {
|
|
border-color: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
.common-loading {
|
|
margin: 6px;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.top-operate {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
opacity: 0;
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.manage-project-search {
|
|
width: 80%;
|
|
padding: 0 3px;
|
|
margin: 8px 0 -2px;
|
|
border-radius: 12px;
|
|
background-color: #ffffff;
|
|
overflow: hidden;
|
|
.ivu-input {
|
|
padding-left: 30px;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
&:hover,
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
&.loading {
|
|
.ivu-icon-ios-search {
|
|
animation: icon-loading-load 0.6s infinite linear;
|
|
&:before {
|
|
content: "\F45B";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.manage-box-new-group {
|
|
width: 80%;
|
|
margin-top: 16px;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
.manage-box-new {
|
|
flex: 1;
|
|
}
|
|
.ivu-btn {
|
|
height: 38px;
|
|
}
|
|
.ivu-dropdown {
|
|
.ivu-btn {
|
|
min-width: auto !important;
|
|
padding: 0 4px;
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.manage-box-main {
|
|
flex: 1;
|
|
position: relative;
|
|
.manage-box-view {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
.manage-mini-menu {
|
|
display: none;
|
|
position: relative;
|
|
.ivu-badge {
|
|
position: absolute;
|
|
top: -6px;
|
|
left: 30px;
|
|
transform: scale(0.9);
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-manage-task-modal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.page-manage-add-task-button-group {
|
|
margin-left: 8px !important;
|
|
.ivu-dropdown {
|
|
.ivu-btn {
|
|
min-width: auto !important;
|
|
padding: 0 4px;
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-height: 640px) {
|
|
.page-manage {
|
|
.manage-box-menu {
|
|
> ul {
|
|
overflow: auto !important;
|
|
&.overlay-y {
|
|
overflow-y: overlay !important;
|
|
}
|
|
> li {
|
|
&.menu-project {
|
|
> ul {
|
|
overflow: visible !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.manage-project-search {
|
|
margin-top: 12px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.page-manage {
|
|
.manage-box-menu {
|
|
position: fixed;
|
|
z-index: 49;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
transform: translateX(-120%);
|
|
&.show768-menu {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
.manage-mini-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 46px;
|
|
height: 42px;
|
|
font-size: 22px;
|
|
background-color: #ffffff;
|
|
white-space: nowrap;
|
|
border-radius: 4px;
|
|
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|