File tree 5 files changed +235
-223
lines changed
5 files changed +235
-223
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
6
+ import Controller from '@ember/controller' ;
7
+ import { action } from '@ember/object' ;
8
+ import { tracked } from '@glimmer/tracking' ;
9
+ import { inject as service } from '@ember/service' ;
10
+
11
+ export default class PageHeaderController extends Controller {
12
+ @service router ;
13
+
14
+ @tracked showHighlight = false ;
15
+
16
+ // =============================
17
+ // GENERIC HANDLERS
18
+ // =============================
19
+
20
+ @action
21
+ toggleHighlight ( ) {
22
+ this . showHighlight = ! this . showHighlight ;
23
+ }
24
+ }
Original file line number Diff line number Diff line change 60
60
@import " ./showcase-pages/link-inline" ;
61
61
@import " ./showcase-pages/menu-primitive" ;
62
62
@import " ./showcase-pages/modal" ;
63
+ @import " ./showcase-pages/page-header" ;
63
64
@import " ./showcase-pages/pagination" ;
64
65
@import " ./showcase-pages/popover-primitive" ;
65
66
@import " ./showcase-pages/power-select" ;
Original file line number Diff line number Diff line change
1
+ /* *
2
+ * Copyright (c) HashiCorp, Inc.
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+
6
+ // Page Header
7
+
8
+ body .components-page-header {
9
+ .shw-component-page-header-layout-highlight {
10
+ .hds-page-header {
11
+ outline : 1px dashed #78909c ;
12
+ outline-offset : -1px ;
13
+ }
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments