feature/move-styles-to-components #874

Merged
konrad merged 45 commits from dpschen/frontend:feature/move-styles-to-components into main 2021-10-21 19:11:18 +00:00
2 changed files with 31 additions and 16 deletions
Showing only changes of commit d258af625d - Show all commits

View File

@ -3,6 +3,21 @@
padding: 0;
text-align: left;
@media screen and (min-width: $tablet) {
&.short {
max-width: 53vw;
}
}
@media screen and (max-width: $tablet) {
max-width: 100%;
}
.progress {
// overwrite bulma
margin-bottom: 0;
}
&.noborder {
margin: 1rem -0.5rem;
}
@ -16,6 +31,7 @@
&:last-child {
margin-bottom: .5rem;
border-bottom: none;
}
}
@ -24,21 +40,6 @@
font-size: .9rem;
}
.progress {
width: 50px;
margin: 0 0.5rem 0 0;
flex: 3 1 auto;
@media screen and (max-width: $tablet) {
margin: 0.5rem 0 0 0;
order: 1;
width: 100%;
}
}
.task:last-child {
border-bottom: none;
}
}
.is-menu-enabled .tasks .task {

View File

@ -42,12 +42,26 @@ h6 {
}
}
// FIXME: create <ProgressBar> component. used in
// - attachments.vue
// - kanban-card.vue
// - singleTaskInList.vue
.progress {
border-radius: $radius-large;
width: 50px;
margin: 0 0.5rem 0 0;
flex: 3 1 auto;
&::-moz-progress-bar, &::-webkit-progress-value {
&::-moz-progress-bar,
&::-webkit-progress-value {
background: $grey-500;
}
@media screen and (max-width: $tablet) {
margin: 0.5rem 0 0 0;
order: 1;
width: 100%;
}
}
.has-no-border {