Merge Request #1
← To merge requests
From
alvarofernandoms:fix_search_pages
into
noosfero-themes:master
Fix search pages
Itens fixed:
- search button;
- the tamplate dropdown when there is one or more;
- the margin between the first options and the search form;
- the
hoverover the search options - and in the search results, I reduced the margin so it can have one more column
Commits (1)
Showing
1 changed file
Show diff stats
old-theme/search.css
| @@ -6,6 +6,20 @@ | @@ -6,6 +6,20 @@ | ||
| 6 | 6 | ||
| 7 | /*busca and buttons*/ | 7 | /*busca and buttons*/ |
| 8 | 8 | ||
| 9 | +.action-search-people #assets-menu a:hover, | ||
| 10 | +.action-search-articles #assets-menu a:hover, | ||
| 11 | +.action-search-enterprises #assets-menu a:hover, | ||
| 12 | +.action-search-communities #assets-menu a:hover { | ||
| 13 | + border: none; | ||
| 14 | +} | ||
| 15 | + | ||
| 16 | +.action-search-people #assets-menu .selected a:hover, | ||
| 17 | +.action-search-articles #assets-menu .selected a:hover, | ||
| 18 | +.action-search-enterprises #assets-menu .selected a:hover, | ||
| 19 | +.action-search-communities #assets-menu .selected a:hover { | ||
| 20 | + border-bottom: 2px solid #EF2929; | ||
| 21 | + border-radius: 0px; | ||
| 22 | +} | ||
| 9 | 23 | ||
| 10 | #public-profile-search, #profile-search-results form, .profile-search-block form { | 24 | #public-profile-search, #profile-search-results form, .profile-search-block form { |
| 11 | background-color: transparent; | 25 | background-color: transparent; |
| @@ -27,7 +41,7 @@ | @@ -27,7 +41,7 @@ | ||
| 27 | } | 41 | } |
| 28 | 42 | ||
| 29 | .formfield.type-file input { | 43 | .formfield.type-file input { |
| 30 | - height: 28px; | 44 | + height: 28px; |
| 31 | max-height: 30px; | 45 | max-height: 30px; |
| 32 | } | 46 | } |
| 33 | 47 | ||
| @@ -36,6 +50,20 @@ | @@ -36,6 +50,20 @@ | ||
| 36 | max-height: 19px; | 50 | max-height: 19px; |
| 37 | } | 51 | } |
| 38 | 52 | ||
| 53 | +.action-search-people .search-field, | ||
| 54 | +.action-search-articles .search-field, | ||
| 55 | +.action-search-enterprises .search-field, | ||
| 56 | +.action-search-communities .search-field { | ||
| 57 | + margin-top: 12px; | ||
| 58 | +} | ||
| 59 | + | ||
| 60 | +.action-search-people .search-field .formfield input , | ||
| 61 | +.action-search-articles .search-field .formfield input, | ||
| 62 | +.action-search-enterprises .search-field .formfield input, | ||
| 63 | +.action-search-communities .search-field .formfield input { | ||
| 64 | + width: 865px; | ||
| 65 | +} | ||
| 66 | + | ||
| 39 | .search-field .formfield, .search-field .formfield input { | 67 | .search-field .formfield, .search-field .formfield input { |
| 40 | margin-right: 0.5em; | 68 | margin-right: 0.5em; |
| 41 | } | 69 | } |
| @@ -90,6 +118,15 @@ input.button.with-text { | @@ -90,6 +118,15 @@ input.button.with-text { | ||
| 90 | height: 30px; | 118 | height: 30px; |
| 91 | max-height: 30px; | 119 | max-height: 30px; |
| 92 | } | 120 | } |
| 121 | + | ||
| 122 | +.action-search-people #content form input.button.submit, | ||
| 123 | +.action-search-articles #content form input.button.submit, | ||
| 124 | +.action-search-enterprises #content form input.button.submit, | ||
| 125 | +.action-search-communities #content form input.button.submit { | ||
| 126 | + float: right; | ||
| 127 | + margin-right: 0px; | ||
| 128 | +} | ||
| 129 | + | ||
| 93 | #content form input.button.submit { | 130 | #content form input.button.submit { |
| 94 | height: 32px; | 131 | height: 32px; |
| 95 | max-height: 32px; | 132 | max-height: 32px; |
| @@ -108,6 +145,14 @@ input.button.with-text { | @@ -108,6 +145,14 @@ input.button.with-text { | ||
| 108 | border: 1px solid #CCCCCC; | 145 | border: 1px solid #CCCCCC; |
| 109 | } | 146 | } |
| 110 | 147 | ||
| 148 | +/*Opções de tamplate se tiver*/ | ||
| 149 | +.action-search-people #content #submenu, | ||
| 150 | +.action-search-articles #content #submenu, | ||
| 151 | +.action-search-enterprises #content #submenu, | ||
| 152 | +.action-search-communities #content #submenu { | ||
| 153 | + margin-top: 12px; | ||
| 154 | +} | ||
| 155 | + | ||
| 111 | /*label dos radio buttons da busca*/ | 156 | /*label dos radio buttons da busca*/ |
| 112 | #content .search-field label { | 157 | #content .search-field label { |
| 113 | display: inline-block; | 158 | display: inline-block; |
| @@ -127,6 +172,14 @@ input.button.with-text { | @@ -127,6 +172,14 @@ input.button.with-text { | ||
| 127 | 172 | ||
| 128 | /****RESULTADO DA BUSCA *****/ | 173 | /****RESULTADO DA BUSCA *****/ |
| 129 | 174 | ||
| 175 | +.action-search-people #content .common-profile-list-block .vcard, | ||
| 176 | +.action-search-articles #content .common-profile-list-block .vcard, | ||
| 177 | +.action-search-enterprises #content .common-profile-list-block .vcard, | ||
| 178 | +.action-search-communities #content .common-profile-list-block .vcard { | ||
| 179 | + margin: 4px; | ||
| 180 | +} | ||
| 181 | + | ||
| 182 | + | ||
| 130 | #search-results { | 183 | #search-results { |
| 131 | width: 100% !important; | 184 | width: 100% !important; |
| 132 | } | 185 | } |
-
mentioned in commit 39b05e3528616223ed99a26405ad06aef83f59db