mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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
This commit is contained in:
@@ -1,13 +1,64 @@
|
||||
.search-field {
|
||||
width: 267px;
|
||||
}
|
||||
@media only screen and (max-width: 400px) {
|
||||
.search-field {
|
||||
width: 200px;
|
||||
@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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 320px) {
|
||||
.search-field {
|
||||
width: 160px;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user