This repository was archived by the owner on Feb 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-31
lines changed
components/molecules/AlgoliaSearch Expand file tree Collapse file tree 1 file changed +14
-31
lines changed Original file line number Diff line number Diff line change 20
20
@apply relative h-full;
21
21
22
22
& input {
23
- @apply w-full p-2 pr-8 border rounded;
23
+ @apply w-full p-2 pr-12 border rounded text-sm ;
24
24
25
25
background : # fff ;
26
26
line-height : 1 ;
35
35
36
36
/* Buttons (Submit, Reset) */
37
37
& button {
38
- @apply absolute cursor-pointer flex justify-center items-center right-4 ;
38
+ @apply absolute cursor-pointer flex justify-center items-center right-2 ;
39
39
40
40
width : 28px ;
41
41
height : 28px ;
56
56
57
57
/* Reset Button */
58
58
& [type = 'reset' ] {
59
- @apply right-28 ;
59
+ @apply right-8 ;
60
60
61
61
& svg {
62
62
width : 12px ;
77
77
78
78
z-index : 999 ;
79
79
bottom : -10px ;
80
- width : 112 % ;
81
- margin-left : -6 % ;
80
+ width : 106 % ;
81
+ margin-left : -3 % ;
82
82
}
83
83
84
84
/* Show dropmenu on Focus */
102
102
background-color : # fff ;
103
103
104
104
& ul {
105
- @apply py-8;
106
-
107
- & li {
108
- & : not (.clear ) {
109
- & button {
110
- & : hover ,
111
- & : focus {
112
- color : # fff ;
113
-
114
- & span .time {
115
- color : # fff ;
116
- }
117
- }
118
- }
119
- }
120
- }
105
+ @apply p-2;
121
106
}
122
107
123
108
& button {
124
- @apply block w-full py-12 px-20 text-left transition font-semibold;
109
+ @apply block w-full p-2 text-left transition font-semibold text-sm ;
125
110
126
- line-height : 1.25 ;
111
+ & : hover ,
112
+ & : focus {
113
+ @apply underline;
114
+ }
127
115
128
116
& em {
129
117
font-style : normal;
137
125
@apply w-full flex justify-between items-center;
138
126
139
127
& span .time {
140
- @apply overflow-ellipsis text-right font-normal italic flex-shrink-0 self-start;
128
+ @apply overflow-ellipsis text-right font-normal italic flex-shrink-0 self-start text-xs opacity-50 ;
141
129
142
130
width : 30% ;
143
131
}
144
132
}
145
133
146
134
& .clear {
147
- @apply mt-4 border-none ;
135
+ @apply mt-2 border-t ;
148
136
149
137
& button {
150
- @apply py-8 font-normal;
151
-
152
- & : hover ,
153
- & : focus {
154
- @apply underline;
155
- }
138
+ @apply mt-2 font-normal text-xs;
156
139
}
157
140
}
158
141
}
You can’t perform that action at this time.
0 commit comments