|
40 | 40 | } |
41 | 41 |
|
42 | 42 | // The tabs containers |
43 | | -::ng-deep .mat-mdc-tab-header { |
| 43 | +:host ::ng-deep .mat-mdc-tab-header { |
44 | 44 | left: 40px; |
45 | 45 | right: 40px; |
46 | 46 | bottom: 48px; |
|
51 | 51 |
|
52 | 52 | // The tab |
53 | 53 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
54 | | -::ng-deep.mat-tab-label { |
| 54 | +:host ::ng-deep .mat-tab-label { |
55 | 55 | @extend .pastis-font-label-historique !optional; |
56 | 56 | margin-right: 3px !important; |
57 | 57 | height: 37px !important; |
|
62 | 62 |
|
63 | 63 | //The tab hover |
64 | 64 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
65 | | -::ng-deep.mat-tab-label:hover { |
| 65 | +:host ::ng-deep .mat-tab-label:hover { |
66 | 66 | background: var(--vitamui-white) !important; |
67 | 67 | } |
68 | 68 |
|
69 | 69 | // Tab hover and tab text hover |
70 | 70 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
71 | | -::ng-deep.mat-tab-label:hover .mat-tab-label-content { |
| 71 | +:host ::ng-deep .mat-tab-label:hover .mat-tab-label-content { |
72 | 72 | color: var(--vitamui-grey-800) !important; |
73 | 73 | } |
74 | 74 |
|
75 | 75 | // The active tab (Black and bold) |
76 | 76 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
77 | | -::ng-deep .mat-tab-label-active { |
| 77 | +:host ::ng-deep .mat-tab-label-active { |
78 | 78 | background: var(--vitamui-white) !important; |
79 | 79 | border-bottom: solid var(--vitamui-primary) 3px; |
80 | 80 | } |
81 | 81 |
|
82 | 82 | // The tab content |
83 | 83 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
84 | | -::ng-deep .mat-tab-label-content { |
| 84 | +:host ::ng-deep .mat-tab-label-content { |
85 | 85 | margin: 8px; |
86 | 86 | display: flex; |
87 | 87 | align-items: center; |
|
90 | 90 |
|
91 | 91 | // The content of the active tab |
92 | 92 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
93 | | -::ng-deep .mat-tab-label-active .mat-tab-label-content { |
| 93 | +:host ::ng-deep .mat-tab-label-active .mat-tab-label-content { |
94 | 94 | color: var(--vitamui-primary) !important; |
95 | 95 | padding-top: 3px !important; |
96 | 96 | } |
97 | 97 |
|
98 | 98 | // The automatic tab pagination chevron |
99 | 99 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
100 | | -::ng-deep .mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination { |
| 100 | +:host ::ng-deep .mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination { |
101 | 101 | display: none !important; |
102 | 102 | } |
103 | 103 |
|
104 | | -::ng-deep .mat-mdc-tab-group.mat-primary .mat-ink-bar, |
105 | | -.mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar .pastis-ink-bar { |
| 104 | +:host ::ng-deep .mat-mdc-tab-group.mat-primary .mat-ink-bar, |
| 105 | +:host ::ng-deep .mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar .pastis-ink-bar { |
106 | 106 | height: 0; |
107 | 107 | } |
108 | 108 |
|
|
111 | 111 | } |
112 | 112 |
|
113 | 113 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
114 | | -.mat-mdc-tab-body .mat-tab-body-active { |
| 114 | +:host ::ng-deep .mat-mdc-tab-body .mat-tab-body-active { |
115 | 115 | overflow-x: auto !important; |
116 | 116 | overflow-y: auto !important; |
117 | 117 | } |
118 | 118 |
|
119 | 119 | /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version.*/ |
120 | | -.mat-tab-body-content { |
| 120 | +:host ::ng-deep .mat-tab-body-content { |
121 | 121 | overflow-x: auto !important; |
122 | 122 | overflow-y: auto !important; |
123 | 123 | } |
|
0 commit comments