kolaente
befa6f27bb
fix: project table view fix: e2e tests fix: typo in readme fix: list view route fix: don't wait until background is loaded for list to show fix: rename component imports fix: lint fix: parse task text fix: use list card grid fix: use correct class names fix: i18n keys fix: load project fix: task overview fix: list view spacing fix: find project fix: setLoading when updating a project fix: loading saved filter fix: project store loading fix: color picker import fix: cypress tests feat: migrate old list settings chore: add const for project settings fix: wrong projecten rename from lists chore: rename unused variable fix: editor list fix: shortcut list class name fix: pagination list class name fix: notifications list class name fix: list view variable name chore: clarify comment fix: i18n keys fix: router imports fix: comment chore: remove debugging leftover fix: remove duplicate variables fix: change comment fix: list view variable name fix: list view css class name fix: list item property name fix: name update tasks function correctly fix: update comment fix: project create route fix: list view class names fix: list view component name fix: result list class name fix: animation class list name fix: change debug log fix: revert a few navigation changes fix: use @ for imports of all views fix: rename link share list class fix: remove unused css class fix: dynamically import project components again
110 lines
2.0 KiB
SCSS
110 lines
2.0 KiB
SCSS
// FIXME: should be a component <FilterContainer>
|
|
// used in
|
|
// - Kanban.vue
|
|
// - Project.vue
|
|
// - Table.vue
|
|
|
|
$filter-container-top-default: -59px;
|
|
$filter-container-top-link-share-gantt: -133px;
|
|
$filter-container-top-link-share-list: -47px;
|
|
|
|
.filter-container {
|
|
text-align: right;
|
|
width: 100%;
|
|
min-width: 400px;
|
|
max-width: 180px;
|
|
position: absolute;
|
|
right: 1.5rem;
|
|
margin-top: $filter-container-top-default;
|
|
z-index: 4;
|
|
|
|
.items {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
|
|
.button:not(:last-of-type) {
|
|
margin-right: .5rem;
|
|
}
|
|
}
|
|
|
|
.button {
|
|
height: $switch-view-height;
|
|
}
|
|
|
|
.card {
|
|
text-align: left;
|
|
}
|
|
|
|
.fancycheckbox {
|
|
display: block;
|
|
}
|
|
|
|
.search {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-right: .5rem;
|
|
|
|
.field {
|
|
transition: width $transition;
|
|
width: 100%;
|
|
|
|
&.hidden {
|
|
width: 0;
|
|
height: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.button {
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.filters input {
|
|
font-size: .9rem;
|
|
}
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
position: static;
|
|
margin: 0 0 1rem 0 !important;
|
|
max-width: 100%;
|
|
min-width: auto;
|
|
|
|
.items {
|
|
justify-content: center;
|
|
}
|
|
|
|
.search {
|
|
width: 100%;
|
|
|
|
.control:first-child {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.link-share-container .gantt-chart-container .filter-container,
|
|
.gantt-chart-container .filter-container {
|
|
right: 0;
|
|
margin-top: calc(#{$filter-container-top-link-share-gantt - 2} - 7rem);
|
|
}
|
|
|
|
.link-share-container .gantt-chart-container .filter-container {
|
|
margin-top: calc(#{$filter-container-top-link-share-gantt} - 5rem);
|
|
}
|
|
|
|
.link-share-container .list-view .filter-container {
|
|
margin-top: $filter-container-top-link-share-list - 10px;
|
|
}
|
|
|
|
.link-share-container.project\.table-view,
|
|
.link-share-container.project\.list-view {
|
|
.filter-container {
|
|
right: 9rem;
|
|
margin-top: $filter-container-top-default;
|
|
}
|
|
} |