mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* type fixes * import fixes * fix typos * fix warning for private props that init in ctor only * typing fixes * typing fixes * style cleanup * fix test template
49 lines
1.1 KiB
SCSS
49 lines
1.1 KiB
SCSS
@import '~@angular/material/theming';
|
|
|
|
@mixin adf-search-text-input-theme($theme) {
|
|
$background: map-get($theme, background);
|
|
$foreground: map-get($theme, foreground);
|
|
$primary: map-get($theme, primary);
|
|
$accent: map-get($theme, accent);
|
|
$mat-menu-border-radius: 2px !default;
|
|
$mat-menu-overlay-min-width: 112px !default; // 56 * 2
|
|
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
|
|
|
.adf-search-container {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.adf-search-button {
|
|
left: -13px;
|
|
}
|
|
|
|
[dir='rtl'] .adf-search-button {
|
|
right: -13px;
|
|
}
|
|
|
|
[dir='ltr'] .adf-search-button {
|
|
left: -13px;
|
|
}
|
|
|
|
.adf {
|
|
|
|
&-search-fixed-text {
|
|
line-height: normal;
|
|
}
|
|
|
|
&-input-form-field-divider {
|
|
.mat-form-field-underline {
|
|
background-color: mat-color($primary, 50);
|
|
.mat-form-field-ripple {
|
|
background-color: mat-color($primary, 50);
|
|
}
|
|
}
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
.adf-highlight {
|
|
color: mat-color($primary, 900);
|
|
}
|
|
}
|