移除指定ID样式,增加task-widget样式通用性

This commit is contained in:
Argo-Lenovo 2016-11-11 13:06:51 +08:00
parent 15e25db411
commit e1280f71e1
1 changed files with 10 additions and 18 deletions

View File

@ -25,12 +25,13 @@
.tasks-widget .task-list { .tasks-widget .task-list {
padding: 0; padding: 0;
margin: 0; margin: 0 0 20px 0;
} }
.tasks-widget .task-list > li { .tasks-widget .task-list > li {
position: relative; position: relative;
border-bottom: 1px dashed #eaeaea; border-bottom: 1px dashed #eaeaea;
font-size: 12px;
} }
.tasks-widget .task-list li.last-line { .tasks-widget .task-list li.last-line {
@ -63,6 +64,7 @@
.tasks-widget .task-list li > .task-title .task-wrapper.notifi { .tasks-widget .task-list li > .task-title .task-wrapper.notifi {
right: 70px; right: 70px;
left: 90px;
} }
.tasks-widget .task-list li > .task-title .task-wrapper span { .tasks-widget .task-list li > .task-title .task-wrapper span {
@ -135,29 +137,19 @@
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
.tasks-widget .task-list li i {
position: absolute;
left: 6px;
padding: 19px 10px;
cursor: pointer;
}
#sortable { #sortable {
list-style-type: none; list-style-type: none;
margin: 0 0 20px 0;
padding: 0; padding: 0;
width: 100%; width: 100%;
} }
#sortable li {
padding-left: 3em;
font-size: 12px;
}
#sortable li i {
position: absolute;
left: 6px;
padding: 19px 10px;
cursor: pointer;
}
#sortable li input[type=checkbox] {
margin-top: 0;
}
.ui-sortable > li { .ui-sortable > li {
padding-left: 35px !important; padding-left: 35px !important;
position: relative; position: relative;