This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/styles/tasks.scss

163 lines
2.3 KiB
SCSS
Raw Normal View History

2018-12-25 15:03:51 +00:00
.settings{
float: right;
color: rgb(74, 74, 74);
}
.tasks {
margin-top: 1rem;
padding: 0;
text-align: left;
max-width: 80vw;
@media screen and (min-width: $tablet) {
&.short {
max-width: 53vw;
}
}
@media screen and (max-width: $tablet) {
max-width: 100%;
}
&.noborder{
margin: 1rem -0.5rem;
}
.task {
display: block;
padding: 0.5rem 1rem;
border-bottom: 1px solid darken(#fff, 10%);
label{
width: 96%;
display: inline-block;
cursor: pointer;
.tasktext {
vertical-align: top;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
width: 94%;
@media screen and (max-width: $tablet) {
width: 89%;
}
&.done{
text-decoration: line-through;
color: $grey;
}
2018-12-26 09:13:23 +00:00
.overdue{
color: $red;
}
2018-12-25 15:03:51 +00:00
}
2019-03-03 15:03:08 +00:00
2019-04-29 21:41:39 +00:00
.tag {
margin: 0 0.5em;
}
2019-06-06 10:52:05 +00:00
.avatar {
border-radius: 50%;
vertical-align: bottom;
margin-left: 5px;
height: 27px;
width: 27px;
}
2019-04-29 21:41:39 +00:00
}
2019-03-03 15:03:08 +00:00
2019-04-29 21:41:39 +00:00
.high-priority{
color: $red;
2019-03-03 15:03:08 +00:00
2019-04-29 21:41:39 +00:00
.icon {
vertical-align: middle;
2019-03-03 15:03:08 +00:00
}
2019-03-07 19:48:40 +00:00
2019-04-29 21:41:39 +00:00
&.not-so-high {
color: $orange;
2019-03-07 19:48:40 +00:00
}
2018-12-25 15:03:51 +00:00
}
input[type="checkbox"] {
vertical-align: middle;
}
.settings{
float: right;
width: 4%;
cursor: pointer;
}
}
.task:last-child {
border-bottom: none;
}
}
.taskedit{
min-height: calc(100% - 1rem);
margin-top: 1rem;
.reminder-input{
margin: 0;
&.overdue input{
color: $red;
}
&:last-child {
margin-bottom: 0.75rem;
}
a {
color: $red;
vertical-align: sub;
}
input {
width: 90%;
border: none;
&:focus {
border: none;
box-shadow: none;
}
}
}
2019-03-03 15:03:08 +00:00
.priority-select{
.select, select{
width: 100%;
}
}
2019-03-03 20:07:39 +00:00
ul.assingees {
list-style: none;
margin: 0;
li{
padding: 0.5em 0.5em 0;
a{
float: right;
color: $red;
transition: all $transition;
&:hover{
color: darken($red, 15);
}
}
}
}
2019-03-07 19:48:40 +00:00
.tag{
margin-right: 0.5em;
margin-bottom: 0.5em;
&:last-child{
margin-right: 0;
}
}
2018-12-25 15:03:51 +00:00
}