mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 03:54:59 +08:00
248 lines
6.8 KiB
SCSS
248 lines
6.8 KiB
SCSS
.component_modal.todo-modal{
|
|
background: var(--super-light);
|
|
background: linear-gradient(var(--super-light), var(--bg-color));
|
|
|
|
> div{
|
|
width: 90%;
|
|
max-width: 500px;
|
|
padding: 5px;
|
|
border-bottom-right-radius: 20px;
|
|
box-shadow: 1px 2px 1px rgba(0,00,0,0.05);
|
|
}
|
|
.modal-top{
|
|
margin: -5px -5px 0 -5px;
|
|
padding: 30px 0px 0 30px;
|
|
background: var(--primary);
|
|
border-bottom: 1px solid var(--emphasis-primary);
|
|
color: rgba(0,0,0,0.5);
|
|
min-height: 65px;
|
|
h1{margin: 0;}
|
|
span{
|
|
float: right;
|
|
margin-top: -10px;
|
|
.component_icon{
|
|
margin-top: -10px;
|
|
padding: 10px 15px;
|
|
height: 22px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.search{
|
|
text-align: right;
|
|
label{
|
|
background: white;
|
|
margin-bottom: -1px;
|
|
border-top-left-radius: 7px;
|
|
&.active input, &:hover input{width: 150px; padding: 2px 7px; transition: width 0.2s ease-out;}
|
|
display: inline-block;
|
|
input{
|
|
transition: width 0.1s ease-out;
|
|
width: 0px;
|
|
background: inherit;
|
|
border: none;
|
|
border-top-left-radius: 7px;
|
|
margin: 0;
|
|
font-size: 1em;
|
|
color: var(--emphasis-secondary);
|
|
line-height: 25px;
|
|
&::-webkit-input-placeholder{ color: var(--emphasis-secondary); }
|
|
&:-ms-input-placeholder{ color: var(--emphasis-secondary); }
|
|
&::-moz-input-placeholder{ color: var(--emphasis-secondary); }
|
|
}
|
|
.component_icon{ height: 20px; padding: 5px; }
|
|
}
|
|
}
|
|
}
|
|
|
|
.nothing{
|
|
color: var(--light);
|
|
text-align: center;
|
|
padding: 40px 0;
|
|
font-size: 1.3em;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.container{
|
|
margin: 10px 10px 10px 0px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
-webkit-overflow-scrolling: touch;
|
|
padding: 0 10px 70px 10px;
|
|
|
|
.sticky_header{
|
|
z-index: 2;
|
|
border-bottom: 2px solid var(--primary);
|
|
h2{
|
|
text-transform: uppercase;
|
|
font-size: 1.1em;
|
|
color: var(--primary);
|
|
margin: 10px 0 15px 0;
|
|
font-weight: normal;
|
|
span{
|
|
background: var(--bg-color);
|
|
font-size: 0.6em;
|
|
color: var(--emphasis-secondary);
|
|
float: right;
|
|
line-height: 1em;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
}
|
|
.list{
|
|
margin: 0px 0 40px 0;
|
|
z-index: 0;
|
|
}
|
|
}
|
|
|
|
.all-done p{
|
|
font-size: 1.3em;
|
|
padding: 10px 10px 10px 20px;
|
|
color: var(--light);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.component_headline{
|
|
.headline-main{
|
|
display: flex;
|
|
cursor: pointer;
|
|
border-top: 2px solid var(--super-light);
|
|
border-bottom: 2px solid var(--super-light);
|
|
margin-bottom: -2px;
|
|
padding: 5px 0;
|
|
|
|
&.overdue{color: var(--error);}
|
|
&.done{
|
|
color: var(--light);
|
|
&:hover{background: inherit;}
|
|
transition: color 0.35s ease-out;
|
|
.title{ > div{border-color: rgba(0,0,0,0)!important;}}
|
|
}
|
|
|
|
.title{
|
|
flex: 1;
|
|
min-width: 0;
|
|
line-height: 32px;
|
|
.label{margin-right: 10px;}
|
|
> div{
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
transition: border-color 0.2s ease-out;
|
|
|
|
border-left: 5px solid rgba(0,0,0,0);
|
|
padding-left: 5px;
|
|
&.A, &.overdue{border-color: var(--error);}
|
|
&.B:not(.overdue){border-color: #FF8355;}
|
|
&.C:not(.overdue){border-color: var(--bg-color);}
|
|
}
|
|
.component_icon{
|
|
height: 17px;
|
|
vertical-align: text-top;
|
|
}
|
|
.tags{
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
font-size: 0.9em;
|
|
.tag{
|
|
padding: 0 5px;
|
|
margin: 0 3px;
|
|
color: red;
|
|
background: var(--bg-color);
|
|
color: var(--light);
|
|
border-radius: 4px;
|
|
&:before{
|
|
content: '#';
|
|
color: rgba(0,0,0,0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
.component_icon{
|
|
height: 18px;
|
|
}
|
|
|
|
|
|
transition: color 0.1s ease-out, border-color 0.2s ease-out;
|
|
.title{
|
|
position: relative;
|
|
&:after{
|
|
content: ' ';
|
|
display: block;
|
|
width: 100%;
|
|
border-top: 2px solid var(--super-light);
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -7px;
|
|
transition: bottom 0.15s ease-out;
|
|
}
|
|
}
|
|
&.done{
|
|
transition: border-color 0.15s ease-out;
|
|
border-color: rgba(0,0,0,0);
|
|
.title:after{
|
|
bottom: 15px;
|
|
transition: bottom 0.25s ease-out;
|
|
}
|
|
}
|
|
}
|
|
|
|
.headline-properties{
|
|
> div{
|
|
display: inline-block;
|
|
width: 50%;
|
|
@media screen and (max-width: 440px) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
input[type="date"] {
|
|
width: calc(100% - 26px);
|
|
background: inherit;
|
|
border: none;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
color: inherit;
|
|
}
|
|
.component_icon{
|
|
width: 20px;
|
|
height: 20px;
|
|
float: left;
|
|
margin-right: 4px;
|
|
}
|
|
background: var(--super-light);
|
|
color: var(--light);
|
|
font-size: 0.95em;
|
|
padding: 5px 8px;
|
|
}
|
|
}
|
|
|
|
|
|
.subtask_container{
|
|
background: #fafafa;
|
|
color: var(--light);
|
|
font-size: 0.95em;
|
|
line-height: 0.95em;
|
|
padding: 5px 0;
|
|
|
|
.component_subtask{
|
|
margin: 5px;
|
|
label{
|
|
width: 100%;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
input[type="checkbox"]{ margin: 0 5px; }
|
|
}
|
|
}
|
|
}
|