Commit 5348ee30ab7e7d25c6edb391307cdb33ba3ae64f
1 parent
6cdc409c
Exists in
master
and in
29 other branches
ActionItem413: The layout is working better on IE
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1887 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
5 changed files
with
69 additions
and
2 deletions
Show diff stats
app/views/search/_display_results.rhtml
| @@ -24,6 +24,7 @@ | @@ -24,6 +24,7 @@ | ||
| 24 | <%= render :partial => partial, :object => hit %> | 24 | <%= render :partial => partial, :object => hit %> |
| 25 | <% end %> | 25 | <% end %> |
| 26 | </ul> | 26 | </ul> |
| 27 | + <hr /> | ||
| 27 | </div><!-- end class="search-results-innerbox" --> | 28 | </div><!-- end class="search-results-innerbox" --> |
| 28 | 29 | ||
| 29 | </div><!-- end class="search-results-<%= name %>" --> | 30 | </div><!-- end class="search-results-<%= name %>" --> |
public/designs/themes/zen3/stylesheets/controller_profile_editor.css
public/designs/themes/zen3/stylesheets/controller_search.css
| @@ -39,6 +39,10 @@ | @@ -39,6 +39,10 @@ | ||
| 39 | } | 39 | } |
| 40 | */ | 40 | */ |
| 41 | 41 | ||
| 42 | +.msie .search-results-box { | ||
| 43 | + width: 96%; | ||
| 44 | +} | ||
| 45 | + | ||
| 42 | .category-innerbox, | 46 | .category-innerbox, |
| 43 | .search-results-innerbox { | 47 | .search-results-innerbox { |
| 44 | padding: 10px 0px 10px 10px; | 48 | padding: 10px 0px 10px 10px; |
| @@ -48,6 +52,18 @@ | @@ -48,6 +52,18 @@ | ||
| 48 | -moz-border-radius: 15px; | 52 | -moz-border-radius: 15px; |
| 49 | } | 53 | } |
| 50 | 54 | ||
| 55 | +.search-results-innerbox hr { | ||
| 56 | + display: none; | ||
| 57 | +} | ||
| 58 | + | ||
| 59 | +.msie .search-results-innerbox hr { | ||
| 60 | + display: inline; | ||
| 61 | + clear: both; | ||
| 62 | + margin: -10px 0px 0px 0px; | ||
| 63 | + height: 0px; | ||
| 64 | + visibility: hidden; | ||
| 65 | +} | ||
| 66 | + | ||
| 51 | .search-results-type-product li li a { | 67 | .search-results-type-product li li a { |
| 52 | color: #000; | 68 | color: #000; |
| 53 | } | 69 | } |
public/designs/themes/zen3/stylesheets/menu.css
| @@ -35,16 +35,19 @@ | @@ -35,16 +35,19 @@ | ||
| 35 | height: 22px; | 35 | height: 22px; |
| 36 | line-height: 22px; | 36 | line-height: 22px; |
| 37 | border: 1px solid #A40000; | 37 | border: 1px solid #A40000; |
| 38 | - background: #F57900 url(../images/search.gif) 1px 50% no-repeat; | 38 | + background: #F57900 url(../images/search.gif) 1px 90% no-repeat; |
| 39 | color: #000; | 39 | color: #000; |
| 40 | text-align: center; | 40 | text-align: center; |
| 41 | color: #400; | 41 | color: #400; |
| 42 | } | 42 | } |
| 43 | +.msie #simple-search input { | ||
| 44 | + line-height: 18px; | ||
| 45 | +} | ||
| 43 | 46 | ||
| 44 | #simple-search.focus-in input { | 47 | #simple-search.focus-in input { |
| 45 | opacity: 1; | 48 | opacity: 1; |
| 46 | filter: alpha(opacity=100); | 49 | filter: alpha(opacity=100); |
| 47 | - background: #FFF url(../images/search-light.gif) 1px 50% no-repeat; | 50 | + background: #FFF url(../images/search-light.gif) 1px 90% no-repeat; |
| 48 | } | 51 | } |
| 49 | 52 | ||
| 50 | #simple-search.focus-out input { | 53 | #simple-search.focus-out input { |
| @@ -63,6 +66,11 @@ | @@ -63,6 +66,11 @@ | ||
| 63 | padding: 2px 0px; | 66 | padding: 2px 0px; |
| 64 | border: 1px solid transparent; | 67 | border: 1px solid transparent; |
| 65 | } | 68 | } |
| 69 | +.msie6 #user_menu { | ||
| 70 | + border: none; /* 1px solid #CE4000; */ | ||
| 71 | + border-top: 1px solid #EA6800; | ||
| 72 | + border-bottom: 1px solid #B11400; | ||
| 73 | +} | ||
| 66 | #user_menu.opened { | 74 | #user_menu.opened { |
| 67 | border: 1px solid #A40000; | 75 | border: 1px solid #A40000; |
| 68 | background: #F57900; | 76 | background: #F57900; |
| @@ -70,6 +78,7 @@ | @@ -70,6 +78,7 @@ | ||
| 70 | 78 | ||
| 71 | #user_menu_head { | 79 | #user_menu_head { |
| 72 | overflow: hidden; | 80 | overflow: hidden; |
| 81 | + height: 20px; | ||
| 73 | line-height: 20px; | 82 | line-height: 20px; |
| 74 | padding-left: 4px; | 83 | padding-left: 4px; |
| 75 | } | 84 | } |
| @@ -77,12 +86,18 @@ | @@ -77,12 +86,18 @@ | ||
| 77 | #user_menu_head img { | 86 | #user_menu_head img { |
| 78 | margin-left: -20px; | 87 | margin-left: -20px; |
| 79 | } | 88 | } |
| 89 | +.msie #user_menu_head img { | ||
| 90 | + margin-left: 5px; | ||
| 91 | +} | ||
| 80 | 92 | ||
| 81 | #user_menu_head span { | 93 | #user_menu_head span { |
| 82 | color: #FFF; | 94 | color: #FFF; |
| 83 | opacity: 0.6; | 95 | opacity: 0.6; |
| 84 | filter: alpha(opacity=60); | 96 | filter: alpha(opacity=60); |
| 85 | } | 97 | } |
| 98 | +.msie #user_menu_head span { | ||
| 99 | + margin-left: 24px; | ||
| 100 | +} | ||
| 86 | 101 | ||
| 87 | #user_menu a { | 102 | #user_menu a { |
| 88 | color: #FFF; | 103 | color: #FFF; |
| @@ -130,6 +145,9 @@ | @@ -130,6 +145,9 @@ | ||
| 130 | right: 160px; | 145 | right: 160px; |
| 131 | padding: 0px; | 146 | padding: 0px; |
| 132 | } | 147 | } |
| 148 | +.msie #assets_menu { | ||
| 149 | + margin-right: 90px; | ||
| 150 | +} | ||
| 133 | 151 | ||
| 134 | #assets_menu_layout_iten { | 152 | #assets_menu_layout_iten { |
| 135 | display: none; | 153 | display: none; |
| @@ -160,11 +178,19 @@ | @@ -160,11 +178,19 @@ | ||
| 160 | opacity: 0.6; | 178 | opacity: 0.6; |
| 161 | filter: alpha(opacity=60); | 179 | filter: alpha(opacity=60); |
| 162 | } | 180 | } |
| 181 | +.msie #assets_menu a { | ||
| 182 | + width: 100px; | ||
| 183 | + height: 20px; | ||
| 184 | + margin-left: -80px; | ||
| 185 | +} | ||
| 163 | #assets_menu a:hover { | 186 | #assets_menu a:hover { |
| 164 | background: transparent; | 187 | background: transparent; |
| 165 | opacity: 1; | 188 | opacity: 1; |
| 166 | filter: alpha(opacity=100); | 189 | filter: alpha(opacity=100); |
| 167 | } | 190 | } |
| 191 | +.msie #assets_menu a:hover { | ||
| 192 | + height: 40px; | ||
| 193 | +} | ||
| 168 | 194 | ||
| 169 | #assets_menu a strong { | 195 | #assets_menu a strong { |
| 170 | position: absolute; | 196 | position: absolute; |
| @@ -175,6 +201,13 @@ | @@ -175,6 +201,13 @@ | ||
| 175 | padding: 1px 4px; | 201 | padding: 1px 4px; |
| 176 | display: none; | 202 | display: none; |
| 177 | } | 203 | } |
| 204 | +.msie #assets_menu a strong { | ||
| 205 | + left: 0px; | ||
| 206 | +} | ||
| 207 | + | ||
| 208 | +.msie #assets_menu a span { | ||
| 209 | + left: 10px; | ||
| 210 | +} | ||
| 178 | 211 | ||
| 179 | #assets_menu a:hover strong { | 212 | #assets_menu a:hover strong { |
| 180 | display: block; | 213 | display: block; |
public/stylesheets/controller_search.css
| 1 | +.search-index { | ||
| 2 | + text-align: center; | ||
| 3 | + position: relative; | ||
| 4 | + color: #EA5; | ||
| 5 | + font-weight: bold; | ||
| 6 | +} | ||
| 7 | + | ||
| 8 | +.search-index a { | ||
| 9 | + text-decoration: none; | ||
| 10 | + font-weight: normal; | ||
| 11 | +} | ||
| 12 | + | ||
| 1 | #search-results { | 13 | #search-results { |
| 14 | + margin-top: 10px; | ||
| 2 | /* none by default, but... Who knows the future? :-) */ | 15 | /* none by default, but... Who knows the future? :-) */ |
| 3 | } | 16 | } |
| 4 | 17 |