mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-8630] - Removing mat-selectors - part II
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@use '@angular/material' as mat;
|
||||
@use '../../styles/mat-selectors' as ms;
|
||||
|
||||
.adf-form-container {
|
||||
@@ -22,9 +23,12 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
& #{ms.$mat-tab-ink-bar} {
|
||||
height: 4px;
|
||||
}
|
||||
// Tab active-indicator thickness via the public token API.
|
||||
@include mat.tabs-overrides(
|
||||
(
|
||||
active-indicator-height: 4px
|
||||
)
|
||||
);
|
||||
|
||||
& #{ms.$mat-form-field-wrapper} {
|
||||
margin: 0 12px 0 0;
|
||||
@@ -84,10 +88,13 @@
|
||||
padding-bottom: 25px;
|
||||
padding-right: 25px;
|
||||
|
||||
& #{ms.$mat-button} {
|
||||
height: 36px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
// Text buttons (incl. projected custom buttons) sized via public token API.
|
||||
@include mat.button-overrides(
|
||||
(
|
||||
text-container-height: 36px,
|
||||
text-container-shape: 5px
|
||||
)
|
||||
);
|
||||
|
||||
& #{ms.$mat-button-label} {
|
||||
width: 58px;
|
||||
|
||||
@@ -4,19 +4,14 @@ $mat-card: '.mat-mdc-card';
|
||||
$mat-card-header-text: '.mat-mdc-card-header-text';
|
||||
$mat-card-content: '.mat-mdc-card-content';
|
||||
$mat-card-header: '.mat-mdc-card-header';
|
||||
$mat-card-title: '.mat-mdc-card-title';
|
||||
$mat-tab-body-content: '.mat-mdc-tab-body-content';
|
||||
$mat-tab-label-text: '.mdc-tab__text-label';
|
||||
$mat-tab-ink-bar: '.mdc-tab-indicator';
|
||||
$mat-form-field-wrapper: '.mat-mdc-text-field-wrapper';
|
||||
$mat-button: '.mat-mdc-button';
|
||||
$mat-button-label: '.mdc-button__label';
|
||||
$mat-input-element: '.mat-mdc-input-element';
|
||||
$mat-line: '.mat-line';
|
||||
$mat-select-value-text: '.mat-mdc-select-value-text';
|
||||
$mat-form-field-label: '.mat-mdc-floating-label';
|
||||
$mat-form-field: '.mat-mdc-form-field';
|
||||
$mat-form-field-prefix: '.mat-mdc-form-field-text-prefix';
|
||||
$mat-slide-toggle: '.mat-mdc-slide-toggle';
|
||||
$mat-select-arrow-wrapper: '.mat-mdc-select-arrow-wrapper';
|
||||
$mat-dialog-surface: '.mat-mdc-dialog-surface';
|
||||
|
||||
+9
-4
@@ -1,3 +1,4 @@
|
||||
@use '@angular/material' as mat;
|
||||
@use '../../../styles/mat-selectors' as ms;
|
||||
|
||||
.adf-task-form {
|
||||
@@ -10,10 +11,14 @@
|
||||
padding-right: 25px;
|
||||
padding-bottom: 25px;
|
||||
|
||||
& #{ms.$mat-button} {
|
||||
height: 36px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
// Buttons here (incl. any projected/templated ones) are text buttons;
|
||||
// size them via Material's public token API instead of the internal class.
|
||||
@include mat.button-overrides(
|
||||
(
|
||||
text-container-height: 36px,
|
||||
text-container-shape: 5px
|
||||
)
|
||||
);
|
||||
|
||||
& #{ms.$mat-button-label} {
|
||||
width: 58px;
|
||||
|
||||
Reference in New Issue
Block a user