-
Notifications
You must be signed in to change notification settings - Fork 4k
/
style.scss
71 lines (60 loc) · 1.13 KB
/
style.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.wp-block-search__button {
background: #f7f7f7;
border: 1px solid #ccc;
padding: 0.375em 0.625em;
color: #32373c;
margin-left: 0.625em;
word-break: normal;
font-size: inherit;
font-family: inherit;
line-height: inherit;
&.has-icon {
line-height: 0;
}
svg {
min-width: 1.5em;
min-height: 1.5em;
fill: currentColor;
}
}
.wp-block-search__inside-wrapper {
display: flex;
flex: auto;
flex-wrap: nowrap;
max-width: 100%;
}
.wp-block-search__label {
width: 100%;
}
.wp-block-search__input {
padding: 8px;
flex-grow: 1;
min-width: 3em;
border: 1px solid #949494;
font-size: inherit;
font-family: inherit;
line-height: inherit;
}
.wp-block-search.wp-block-search__button-only {
.wp-block-search__button {
margin-left: 0;
}
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
padding: 4px;
border: 1px solid #949494;
.wp-block-search__input {
border-radius: 0;
border: none;
padding: 0 0 0 0.25em;
&:focus {
outline: none;
}
}
.wp-block-search__button {
padding: 0.125em 0.5em;
}
}
.wp-block-search.aligncenter .wp-block-search__inside-wrapper {
margin: auto;
}