[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

@@ -21,7 +21,6 @@ import { FormService } from './../services/form.service';
@Component({
selector: 'adf-form-list',
templateUrl: './form-list.component.html',
styleUrls: ['./form-list.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class FormListComponent implements OnChanges {

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-form-renderer-theme($theme) {
$config: mat-typography-config();

View File

@@ -21,7 +21,6 @@ import { FormModel } from './widgets/core/form.model';
@Component({
selector: 'adf-form-renderer',
templateUrl: './form-renderer.component.html',
styleUrls: ['./form-renderer.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class FormRendererComponent {

View File

@@ -1,5 +1,3 @@
@import '../form';
@mixin adf-amount-widget-theme($theme) {
$foreground: map-get($theme, foreground);

View File

@@ -30,7 +30,6 @@ export const ADF_AMOUNT_SETTINGS = new InjectionToken<AmountWidgetSettings>('adf
@Component({
selector: 'amount-widget',
templateUrl: './amount.widget.html',
styleUrls: ['./amount.widget.scss'],
host: {
'(click)': 'event($event)',
'(blur)': 'event($event)',

View File

@@ -1,9 +1,5 @@
@import '~@angular/material/theming';
@mixin adf-form-container-widget-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
$warn: map-get($theme, warn);
.adf-hidden {
display: none;
@@ -66,7 +62,7 @@
padding-right: 3px;
}
@media screen and ($mat-small) {
@media screen and (max-width: 959px) {
.adf-grid-list-item {
flex: 1 0 100%;
}

View File

@@ -26,7 +26,6 @@ import { ContainerWidgetComponentModel } from './container.widget.model';
@Component({
selector: 'container-widget',
templateUrl: './container.widget.html',
styleUrls: ['./container.widget.scss'],
host: {
'(click)': 'event($event)',
'(blur)': 'event($event)',

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-date-time-widget {
.mat-form-field-suffix {

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-date-widget {
.mat-form-field-suffix {

View File

@@ -21,7 +21,7 @@ import { WidgetComponent } from './../widget.component';
@Component({
selector: 'adf-form-document-widget',
templateUrl: 'document.widget.html',
templateUrl: './document.widget.html',
host: {
'(click)': 'event($event)',
'(blur)': 'event($event)',

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-dropdown-widget {
width: 100%;

View File

@@ -1,6 +1,3 @@
@import '~@angular/material/theming';
@import '../form';
@mixin adf-dynamic-table-theme($theme) {
$foreground: map-get($theme, foreground);
$dynamic-table-font-size: 14px !default;

View File

@@ -1,5 +1,3 @@
@import '../form';
file-viewer-widget {
height: 100%;
width: 100%;

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-form-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-group-widget {

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-hyperlink-widget-theme($theme) {
$primary: map-get($theme, primary);

View File

@@ -25,7 +25,6 @@ import { FormFieldModel } from '../core';
@Component({
selector: 'hyperlink-widget',
templateUrl: './hyperlink.widget.html',
styleUrls: ['./hyperlink.widget.scss'],
host: {
'(click)': 'event($event)',
'(blur)': 'event($event)',

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-number-widget {
width: 100%;

View File

@@ -1,5 +1,3 @@
@import '~@angular/material/theming';
@mixin adf-form-people-widget-theme($theme) {
$primary: map-get($theme, primary);
$background: map-get($theme, background);

View File

@@ -36,7 +36,6 @@ import {
@Component({
selector: 'people-widget',
templateUrl: './people.widget.html',
styleUrls: ['./people.widget.scss'],
host: {
'(click)': 'event($event)',
'(blur)': 'event($event)',

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-radio-button-container {

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-text-widget {
width: 100%;

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-typeahead-widget-container {

View File

@@ -1,6 +1,3 @@
@import '../form';
.adf {
&-upload-folder-widget {

View File

@@ -1,5 +1,3 @@
@import '../form';
.adf {
&-upload-widget-container {