2021-10-18 12:33:59 +00:00
|
|
|
// FIXME: should be a component <FilterContainer>
|
|
|
|
// used in
|
|
|
|
// - gantt-component.vue
|
|
|
|
// - Kanban.vue
|
|
|
|
// - List.vue
|
|
|
|
// - Table.vue
|
|
|
|
|
2021-01-30 16:17:04 +00:00
|
|
|
$filter-container-top-default: -59px;
|
2022-05-08 09:13:19 +00:00
|
|
|
$filter-container-top-link-share-gantt: -133px;
|
2021-01-30 16:17:04 +00:00
|
|
|
$filter-container-top-link-share-list: -47px;
|
|
|
|
|
2020-06-11 15:34:13 +00:00
|
|
|
.filter-container {
|
|
|
|
text-align: right;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 400px;
|
|
|
|
max-width: 180px;
|
|
|
|
position: absolute;
|
2021-01-23 17:18:09 +00:00
|
|
|
right: 1.5rem;
|
2021-01-30 16:17:04 +00:00
|
|
|
margin-top: $filter-container-top-default;
|
2020-06-12 16:59:54 +00:00
|
|
|
z-index: 4;
|
2020-06-11 15:34:13 +00:00
|
|
|
|
|
|
|
.items {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
2022-02-27 15:36:20 +00:00
|
|
|
.button:not(:last-of-type) {
|
2021-01-23 17:18:09 +00:00
|
|
|
margin-right: .5rem;
|
2020-06-11 15:34:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
height: $switch-view-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fancycheckbox {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2021-01-23 17:18:09 +00:00
|
|
|
margin-right: .5rem;
|
2020-06-11 15:34:13 +00:00
|
|
|
|
|
|
|
.field {
|
|
|
|
transition: width $transition;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filters input {
|
2021-01-23 17:18:09 +00:00
|
|
|
font-size: .9rem;
|
2020-06-11 15:34:13 +00:00
|
|
|
}
|
2020-06-17 19:44:44 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: $tablet) {
|
|
|
|
position: static;
|
2022-05-08 09:15:36 +00:00
|
|
|
margin: 0 0 1rem 0 !important;
|
2020-06-17 19:44:44 +00:00
|
|
|
max-width: 100%;
|
|
|
|
min-width: auto;
|
|
|
|
|
2021-01-18 21:14:10 +00:00
|
|
|
.items {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-06-17 19:44:44 +00:00
|
|
|
.search {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.control:first-child {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-11 15:34:13 +00:00
|
|
|
}
|
2020-06-27 21:12:33 +00:00
|
|
|
|
2021-01-30 16:17:04 +00:00
|
|
|
|
2021-01-16 16:22:42 +00:00
|
|
|
.link-share-container .gantt-chart-container .filter-container,
|
|
|
|
.gantt-chart-container .filter-container {
|
2021-01-30 16:17:04 +00:00
|
|
|
right: 0;
|
2022-05-08 09:13:19 +00:00
|
|
|
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);
|
2021-01-16 15:50:13 +00:00
|
|
|
}
|
|
|
|
|
2021-01-16 16:22:42 +00:00
|
|
|
.link-share-container .list-view .filter-container {
|
2021-04-07 14:14:22 +00:00
|
|
|
margin-top: $filter-container-top-link-share-list - 10px;
|
2021-01-16 16:22:42 +00:00
|
|
|
}
|
2021-01-16 15:50:13 +00:00
|
|
|
|
2022-05-08 09:13:19 +00:00
|
|
|
.link-share-container.list\.table-view,
|
|
|
|
.link-share-container.list\.list-view {
|
|
|
|
.filter-container {
|
|
|
|
right: 9rem;
|
|
|
|
margin-top: $filter-container-top-default;
|
|
|
|
}
|
2021-10-18 12:21:02 +00:00
|
|
|
}
|