[ADF-5406] SCSS and HTML template path fixes (#7063)

* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
This commit is contained in:
Denys Vuika
2021-06-01 09:21:00 +01:00
committed by GitHub
parent 9e0000a307
commit e94b2f99bd
229 changed files with 557 additions and 934 deletions

View File

@@ -1,32 +1,29 @@
@mixin adf-buttons-menu-theme($theme) {
.adf-buttons-menu {
margin-right: 10px;
.adf-buttons-menu {
& div {
display: flex;
}
&-mobile {
margin-right: 10px;
}
& div {
display: flex;
&-desktop {
display: flex;
button {
color: black;
padding: 0;
}
&-mobile {
margin-right: 10px;
button > span {
display: none;
}
&-desktop {
display: flex;
button {
color: black;
padding: 0;
}
button > span {
display: none;
}
button > mat-icon.mat-icon.material-icons {
color: black;
margin: 0 10px;
}
button > mat-icon.mat-icon.material-icons {
color: black;
margin: 0 10px;
}
}
}

View File

@@ -15,13 +15,14 @@
* limitations under the License.
*/
import { Component, ContentChildren, QueryList, AfterContentInit } from '@angular/core';
import { Component, ContentChildren, QueryList, AfterContentInit, ViewEncapsulation } from '@angular/core';
import { MatMenuItem } from '@angular/material/menu';
@Component({
selector: 'adf-buttons-action-menu',
templateUrl: './buttons-menu.component.html',
styleUrls: ['./buttons-menu.component.scss']
styleUrls: ['./buttons-menu.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class ButtonsMenuComponent implements AfterContentInit {