-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core/filters): Update filter section layout (#8177)
* feat(core/filters): Update layout of filter header * feat(core/filters): CSS and hover states * feat(core/filters): Extract hide/show button from filter view * feat(core/filters): Update margin * feat(core/nav): Move css to component file
- Loading branch information
1 parent
9e91340
commit 46a3d14
Showing
14 changed files
with
115 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
app/scripts/modules/core/src/cluster/filter/collapsibleFilterSection.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
app/scripts/modules/core/src/filterModel/FilterCollapse.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.filters-toggle { | ||
position: absolute; | ||
|
||
.filters-placeholder { | ||
margin-top: 11px; | ||
} | ||
|
||
.show-filter-text { | ||
border-left: 1px solid var(--color-accessory-light); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
app/scripts/modules/core/src/filterModel/filterCollapse.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { module } from 'angular'; | ||
import { react2angular } from 'react2angular'; | ||
import { FilterCollapse } from './FilterCollapse'; | ||
|
||
export const FILTER_COLLAPSE_COMPONENT = 'spinnaker.core.filterModel.filterCollapse.component'; | ||
module(FILTER_COLLAPSE_COMPONENT, []).component('filterCollapse', react2angular(FilterCollapse)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
app/scripts/modules/core/src/insight/insightFilter.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1 @@ | ||
<h3 class="filters-placeholder"> | ||
<a | ||
href | ||
class="btn btn-xs btn-default pin" | ||
ng-click="$ctrl.insightFilterStateModel.pinFilters(true)" | ||
uib-tooltip="Show filters" | ||
> | ||
<i class="fa fa-forward"></i> | ||
</a> | ||
</h3> | ||
|
||
<a | ||
href | ||
class="btn btn-xs btn-default pull-right unpin" | ||
ng-click="$ctrl.insightFilterStateModel.pinFilters(false)" | ||
ng-show="$ctrl.insightFilterStateModel.filtersExpanded" | ||
> | ||
<i class="fa fa-backward" uib-tooltip="Hide filters"></i> | ||
</a> | ||
|
||
<div ng-transclude class="insight-filter-content"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters