cryptpad/www/todo/todo.less

122 lines
2.1 KiB
Text
Raw Normal View History

2017-07-23 12:27:47 +00:00
@import "/customize/src/less/variables.less";
@import "/customize/src/less/mixins.less";
@button-border: 2px;
html, body {
margin: 0px;
height: 100%;
}
#toolbar {
display: flex; // We need this to remove a 3px border at the bottom of the toolbar
}
body {
display: flex;
flex-flow: column;
}
#app {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.cryptpad-toolbar {
padding: 0px;
display: inline-block;
2017-07-24 13:29:39 +00:00
}
#container {
display: flex;
flex: 1;
flex-flow: column;
padding: 20px;
align-items: center;
2017-07-24 14:14:49 +00:00
background-color: lighten(@toolbar-todo-bg, 15%);
2017-07-24 14:27:35 +00:00
min-height: 0;
2017-07-24 14:14:49 +00:00
}
@spacing: 15px;
2017-07-24 14:27:35 +00:00
#tasksList {
flex: 1;
min-height: 0;
overflow-y: auto;
min-width: 40%;
2017-07-26 09:06:17 +00:00
max-width: 90%;
2017-07-24 14:27:35 +00:00
}
2017-07-24 14:14:49 +00:00
.cp-create-form {
margin: @spacing;
2017-07-26 08:06:24 +00:00
min-width: 40%;
display: flex;
#newTodoName {
flex: 1;
margin-right: 15px;
2017-07-26 11:07:35 +00:00
border-radius: 0;
border: 0;
background-color: darken(@toolbar-todo-bg, 10%);
color: #fff;
padding: 5px 10px;
2017-07-26 11:25:58 +00:00
font-weight: bold;
2017-07-26 11:07:35 +00:00
}
button {
2017-07-26 11:30:39 +00:00
cursor: pointer;
2017-07-26 11:07:35 +00:00
border-radius: 0;
background-color: darken(@toolbar-todo-bg, 20%);
border:0;
&:hover {
background-color: darken(@toolbar-todo-bg, 25%);
}
2017-07-26 08:06:24 +00:00
}
2017-07-24 14:14:49 +00:00
}
.cp-task {
border: 1px solid black;
padding: @spacing;
display: flex;
align-items: center;
background-color: white;
2017-07-26 08:43:37 +00:00
&.cp-task-complete {
background-color: #f0f0f0;
color: #777;
}
2017-07-24 14:14:49 +00:00
.cp-task-text {
margin: @spacing;
flex: 1;
2017-07-26 09:06:17 +00:00
word-wrap: break-word;
min-width: 0;
2017-08-03 09:53:48 +00:00
font-weight: bold;
2017-07-24 14:14:49 +00:00
}
.cp-task-date {
margin: @spacing;
}
.cp-task-remove {
margin: @spacing;
2017-07-26 11:03:25 +00:00
cursor: pointer;
2017-07-24 14:14:49 +00:00
}
2017-07-26 08:06:24 +00:00
.cp-task-checkbox {
font-size: 45px;
width: 45px;
2017-07-26 11:03:25 +00:00
cursor: pointer;
&:hover {
color: #999;
}
2017-07-26 08:06:24 +00:00
}
.cp-task-checkbox-checked {
}
.cp-task-checkbox-unchecked {
}
2017-07-26 11:30:39 +00:00
button {
border-radius: 0;
border:0;
}
2017-07-24 14:14:49 +00:00
}