-
Notifications
You must be signed in to change notification settings - Fork 5
/
filter.component.scss
47 lines (39 loc) · 972 Bytes
/
filter.component.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@use '@angular/material' as mat;
@use '../../../theme.scss';
:host {
span {
padding-top: 7px;
}
position: relative;
display: flex;
flex-wrap: wrap;
align-items: stretch;
width: 100%;
.filter {
flex: 1 1 auto;
width: 1%;
min-width: 0;
margin-bottom: 0;
border-radius: 2px 2px 2px 2px;
}
.filter-append {
margin-left: -1px;
display: flex;
align-items: center;
.icon-filter {
display: inherit;
padding: .375rem .75rem;
background-color: mat.get-color-from-palette(theme.$ngapimock-secondary, 100);
border: 1px solid mat.get-color-from-palette(theme.$ngapimock-secondary, 300);
border-radius: 0 .25rem .25rem 0;
}
}
input {
border: 1px solid mat.get-color-from-palette(theme.$ngapimock-secondary, 300);
}
input:focus {
z-index: 10;
outline: none !important;
box-shadow: 0 0 0 0.2rem mat.get-color-from-palette(theme.$ngapimock-secondary, 300);
}
}