Files
alfresco-ng2-components/ng2-components/ng2-alfresco-search/src/components/search-control.component.scss
Vito 2fc9b63f5c [ADF-1238] Removed mdl from alfresco search component (#2309)
* [ADF-1328] removed mdl from adf search

* [ADF-11328] removed mdl from search added theme style

* Fix failing tests

* Fix the last bit of stylings
2017-09-11 11:42:01 +01:00

64 lines
1.5 KiB
SCSS

@mixin mat-search-control-theme($theme) {
$background: map-get($theme, background);
.adf {
&-search-button.mat-button {
border-radius: 50%;
height: 32px;
min-width: 20px;
width: 32px;
padding: 0;
overflow: hidden;
color: inherit;
line-height: normal;
border: none;
}
&-search-container {
display: flex;
align-items: center;
.search-field {
width: 260px;
padding-top: 6px;
.mat-input-container {
width: 100%;
}
.mat-input-underline .mat-input-ripple {
background-color: mat-color($background, card);
}
.mat-input-element {
font-size: 16px;
}
}
.search-field .mat-input-infix {
padding: 0px;
}
@media only screen and (max-width: 400px) {
.search-field {
width: 200px;
}
}
@media only screen and (max-width: 320px) {
.search-field {
width: 160px;
}
}
}
&-search-form{
overflow: hidden;
}
&-active-search,
&-valid-search {
display: block;
}
}
}