196 lines
5.4 KiB
SCSS
Vendored
196 lines
5.4 KiB
SCSS
Vendored
.task-add {
|
|
.head {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
.ivu-cascader {
|
|
.ivu-cascader-label {
|
|
width: auto;
|
|
padding: 0;
|
|
font-size: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
&:after {
|
|
transition: all 0.2s;
|
|
padding: 6px;
|
|
font-family: Ionicons, serif;
|
|
content: "\f116";
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.ivu-cascader-arrow {
|
|
display: none;
|
|
}
|
|
.ivu-input {
|
|
padding: 4px 0;
|
|
border: 0;
|
|
box-shadow: none;
|
|
font-size: 15px;
|
|
}
|
|
.ivu-cascader-not-found-tip {
|
|
padding: 6px 12px;
|
|
}
|
|
}
|
|
&.empty {
|
|
.ivu-cascader {
|
|
.ivu-cascader-label {
|
|
&:after {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.visible {
|
|
.ivu-cascader {
|
|
.ivu-cascader-label {
|
|
&:after {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.task-add-form,
|
|
.task-add-advanced {
|
|
.title {
|
|
.ivu-input {
|
|
font-weight: 500;
|
|
font-size: 24px;
|
|
padding: 4px 0;
|
|
line-height: 1.4;
|
|
resize: none;
|
|
border-color: transparent;
|
|
&:focus {
|
|
box-shadow: none
|
|
}
|
|
}
|
|
}
|
|
.desc {
|
|
margin-top: 24px;
|
|
overflow: auto;
|
|
div[contenteditable="true"] {
|
|
outline: none
|
|
}
|
|
.mce-content-body {
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
&[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
|
color: #bbbbbb;
|
|
}
|
|
}
|
|
}
|
|
.advanced-option {
|
|
margin-top: 42px;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
> button {
|
|
transition: margin 0.2s;
|
|
&.advanced {
|
|
margin-left: 24px;
|
|
}
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
.advanced-priority {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 24px;
|
|
height: 34px;
|
|
> li {
|
|
list-style: none;
|
|
margin-left: 3px;
|
|
.taskfont {
|
|
font-size: 34px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
.advanced-time {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 20px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
.ivu-icon {
|
|
font-size: 32px;
|
|
}
|
|
> em {
|
|
position: absolute;
|
|
top: -5px;
|
|
left: 16px;
|
|
font-family: "Monospaced Number", "serif";
|
|
transform: scale(0.8);
|
|
height: 20px;
|
|
min-width: 20px;
|
|
line-height: 20px;
|
|
border-radius: 10px;
|
|
background: #8bcf70;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 0 6px;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
white-space: nowrap;
|
|
box-shadow: 0 0 0 1px #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.task-add-advanced {
|
|
margin: -16px 0 0;
|
|
padding: 46px 32px 6px;
|
|
border-radius: 8px;
|
|
border: 1px solid #e8e8e8;
|
|
.subtasks {
|
|
margin-bottom: 24px;
|
|
padding: 12px 16px;
|
|
border-radius: 6px;
|
|
background-color: #f8f8f8;
|
|
.enter-input {
|
|
&.empty {
|
|
.ivu-input {
|
|
background: transparent;
|
|
border-color: transparent;
|
|
&:hover,
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.sublist {
|
|
.ivu-row {
|
|
margin-bottom: 12px;
|
|
> div {
|
|
padding-right: 7px;
|
|
&:last-child {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.ivu-date-picker {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.task-add-assist {
|
|
margin-top: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
.ivu-icon {
|
|
font-size: 16px;
|
|
color: #999999;
|
|
}
|
|
}
|
|
.ivu-modal-footer {
|
|
padding: 26px 0 22px !important;
|
|
}
|
|
}
|