equation-admin-template
Version:
Booststrap 4 admin template made by equation
111 lines (99 loc) • 2.35 kB
CSS
/* Style the list items */
.modern-todo ul#todo-items-container li.todo-item {
cursor: pointer;
position: relative;
padding: 12px 8px 12px 40px;
list-style-type: none;
background: #fff;
color: #3b3f5c;
font-size: 18px;
transition: 0.2s;
/* make the list items unselectable */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.close {
font-size: 21px;
font-weight: 600;
line-height: 1.3;
color: #888ea8;
text-shadow: none;
opacity: 1;
}
/* Set all odd list items to a different color (zebra-stripes) */
.modern-todo ul#todo-items-container li.todo-item:nth-child(odd) {
background: #f7f7f7;
color: #3b3f5c;
}
/* Darker background-color on hover */
.modern-todo ul#todo-items-container li.todo-item:hover {
background: #f1f3f9;
}
/* When clicked on, add a background color and strike out text */
.modern-todo ul#todo-items-container li.checked {
background: #fff;
color: #ee3d50;
text-decoration: line-through;
}
/* Add a "checked" mark when clicked on */
.modern-todo ul#todo-items-container li.checked::before {
content: '';
position: absolute;
border-color: #1f212d;
border-style: solid;
border-width: 0 2px 2px 0;
top: 16px;
left: 16px;
transform: rotate(45deg);
height: 15px;
width: 7px;
}
/* Style the close button */
.modern-todo .close {
position: absolute;
right: 0;
top: 0;
padding: 12px 16px 12px 16px;
}
.modern-todo .close:hover {
/*background-color: #f44336;*/
color: #3b3f5c;
}
/* Style the header */
.modern-todo .header {
background-color: #6156ce;
padding: 30px 15px;
color: white;
text-align: center;
}
/* Clear floats after the header */
.modern-todo .header:after {
content: "";
display: table;
clear: both;
}
/* Style the input */
.modern-todo input {
border: none;
width: 75%;
padding: 10px;
float: left;
font-size: 16px;
}
/* Style the "Add" button */
.modern-todo .addBtn {
padding: 10px;
/*width: 25%;*/
/*background: #e9ecef;*/
/*color: #ee3d50;*/
float: left;
text-align: center;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
}
.modern-todo .addBtn:hover {
background-color: #f1f3f1;
}