diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-08-03 16:27:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 16:27:59 +0200 |
commit | f09e1e318e0b1c72aa659c20b715be508009175f (patch) | |
tree | 68d84f2583d5aa799128e3ec418e20eda4ba2c5f /tpl/default/css/shaarli.css | |
parent | f5568f87b1a23b36f8d3623aacfbb810d1d60dc0 (diff) | |
parent | f210d94f716acd86fd22c9651f591a778490e8a9 (diff) | |
download | Shaarli-f09e1e318e0b1c72aa659c20b715be508009175f.tar.gz Shaarli-f09e1e318e0b1c72aa659c20b715be508009175f.tar.zst Shaarli-f09e1e318e0b1c72aa659c20b715be508009175f.zip |
Merge pull request #889 from Lucas-C/master
Using only one form in linklist.html - fix #885
Diffstat (limited to 'tpl/default/css/shaarli.css')
-rw-r--r-- | tpl/default/css/shaarli.css | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 39bbd0a3..e1868c59 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css | |||
@@ -226,6 +226,12 @@ body, .pure-g [class*="pure-u"] { | |||
226 | border-radius: 2px; | 226 | border-radius: 2px; |
227 | color: #252525; | 227 | color: #252525; |
228 | } | 228 | } |
229 | @media screen and (max-width: 64em) { | ||
230 | .searchform { | ||
231 | max-width: 260px; | ||
232 | margin: 0 auto; | ||
233 | } | ||
234 | } | ||
229 | 235 | ||
230 | /* because chrome */ | 236 | /* because chrome */ |
231 | #search input[type="text"]::-webkit-input-placeholder, | 237 | #search input[type="text"]::-webkit-input-placeholder, |
@@ -236,43 +242,37 @@ body, .pure-g [class*="pure-u"] { | |||
236 | #search button, | 242 | #search button, |
237 | #search-tagcloud button, | 243 | #search-tagcloud button, |
238 | #search-linklist button { | 244 | #search-linklist button { |
239 | background: transparent; | 245 | padding: 4px 8px 6px 8px; |
246 | background-color: #1B926C; | ||
247 | color: #f5f5f5; | ||
240 | border: none; | 248 | border: none; |
249 | border-radius: 2px; | ||
241 | } | 250 | } |
242 | 251 | ||
243 | #search button { | 252 | #search-tagcloud button { |
244 | color: #f5f5f5; | 253 | width: 90%; |
245 | } | 254 | } |
246 | 255 | ||
247 | #search-linklist button { | 256 | @media screen and (max-width: 64em) { |
248 | color: #252525; | 257 | #search-linklist button { |
258 | width: 100%; | ||
259 | } | ||
260 | #search-linklist .awesomplete { | ||
261 | margin: 5px 0; | ||
262 | } | ||
249 | } | 263 | } |
250 | 264 | ||
251 | #search button:hover, | 265 | #search button:hover, |
252 | #search-linklist button:hover { | 266 | #search-linklist button:hover, |
253 | color: #fff; | ||
254 | } | ||
255 | #search-tagcloud button:hover { | 267 | #search-tagcloud button:hover { |
256 | color: #d0d0d0; | 268 | color: #d0d0d0; |
257 | } | 269 | } |
258 | 270 | ||
271 | #search, | ||
259 | #search-linklist { | 272 | #search-linklist { |
260 | padding: 5px 0; | 273 | padding: 6px 0; |
261 | } | 274 | } |
262 | 275 | ||
263 | @media screen and (min-width: 64em) { | ||
264 | #search .searchform, | ||
265 | #search-linklist .searchform { | ||
266 | margin-right: 25px; | ||
267 | text-align: right; | ||
268 | } | ||
269 | |||
270 | #search .tagfilter, | ||
271 | #search-linklist .tagfilter { | ||
272 | margin-left: 25px; | ||
273 | text-align: left; | ||
274 | } | ||
275 | } | ||
276 | @media screen and (max-width: 64em) { | 276 | @media screen and (max-width: 64em) { |
277 | #search, #search * { | 277 | #search, #search * { |
278 | visibility: hidden; | 278 | visibility: hidden; |
@@ -321,7 +321,6 @@ body, .pure-g [class*="pure-u"] { | |||
321 | } | 321 | } |
322 | 322 | ||
323 | .subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me { | 323 | .subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me { |
324 | margin: 0 0 5px 0; | ||
325 | padding: 5px 5px 3px 15px; | 324 | padding: 5px 5px 3px 15px; |
326 | height: 20px; | 325 | height: 20px; |
327 | width: 20%; | 326 | width: 20%; |