Commit 5348ee30ab7e7d25c6edb391307cdb33ba3ae64f

Authored by AurelioAHeckert
1 parent 6cdc409c

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
app/views/search/_display_results.rhtml
... ... @@ -24,6 +24,7 @@
24 24 <%= render :partial => partial, :object => hit %>
25 25 <% end %>
26 26 </ul>
  27 + <hr />
27 28 </div><!-- end class="search-results-innerbox" -->
28 29  
29 30 </div><!-- end class="search-results-<%= name %>" -->
... ...
public/designs/themes/zen3/stylesheets/controller_profile_editor.css
... ... @@ -26,3 +26,7 @@ ul.categories li.cat_checked {
26 26 border-bottom: 1px solid #CE5C00;
27 27 }
28 28  
  29 +div.file-manager-button a:hover {
  30 + background: #FCAF3E !important;
  31 + color: #000 !important;
  32 +}
... ...
public/designs/themes/zen3/stylesheets/controller_search.css
... ... @@ -39,6 +39,10 @@
39 39 }
40 40 */
41 41  
  42 +.msie .search-results-box {
  43 + width: 96%;
  44 +}
  45 +
42 46 .category-innerbox,
43 47 .search-results-innerbox {
44 48 padding: 10px 0px 10px 10px;
... ... @@ -48,6 +52,18 @@
48 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 67 .search-results-type-product li li a {
52 68 color: #000;
53 69 }
... ...
public/designs/themes/zen3/stylesheets/menu.css
... ... @@ -35,16 +35,19 @@
35 35 height: 22px;
36 36 line-height: 22px;
37 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 39 color: #000;
40 40 text-align: center;
41 41 color: #400;
42 42 }
  43 +.msie #simple-search input {
  44 + line-height: 18px;
  45 +}
43 46  
44 47 #simple-search.focus-in input {
45 48 opacity: 1;
46 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 53 #simple-search.focus-out input {
... ... @@ -63,6 +66,11 @@
63 66 padding: 2px 0px;
64 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 74 #user_menu.opened {
67 75 border: 1px solid #A40000;
68 76 background: #F57900;
... ... @@ -70,6 +78,7 @@
70 78  
71 79 #user_menu_head {
72 80 overflow: hidden;
  81 + height: 20px;
73 82 line-height: 20px;
74 83 padding-left: 4px;
75 84 }
... ... @@ -77,12 +86,18 @@
77 86 #user_menu_head img {
78 87 margin-left: -20px;
79 88 }
  89 +.msie #user_menu_head img {
  90 + margin-left: 5px;
  91 +}
80 92  
81 93 #user_menu_head span {
82 94 color: #FFF;
83 95 opacity: 0.6;
84 96 filter: alpha(opacity=60);
85 97 }
  98 +.msie #user_menu_head span {
  99 + margin-left: 24px;
  100 +}
86 101  
87 102 #user_menu a {
88 103 color: #FFF;
... ... @@ -130,6 +145,9 @@
130 145 right: 160px;
131 146 padding: 0px;
132 147 }
  148 +.msie #assets_menu {
  149 + margin-right: 90px;
  150 +}
133 151  
134 152 #assets_menu_layout_iten {
135 153 display: none;
... ... @@ -160,11 +178,19 @@
160 178 opacity: 0.6;
161 179 filter: alpha(opacity=60);
162 180 }
  181 +.msie #assets_menu a {
  182 + width: 100px;
  183 + height: 20px;
  184 + margin-left: -80px;
  185 +}
163 186 #assets_menu a:hover {
164 187 background: transparent;
165 188 opacity: 1;
166 189 filter: alpha(opacity=100);
167 190 }
  191 +.msie #assets_menu a:hover {
  192 + height: 40px;
  193 +}
168 194  
169 195 #assets_menu a strong {
170 196 position: absolute;
... ... @@ -175,6 +201,13 @@
175 201 padding: 1px 4px;
176 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 212 #assets_menu a:hover strong {
180 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 13 #search-results {
  14 + margin-top: 10px;
2 15 /* none by default, but... Who knows the future? :-) */
3 16 }
4 17  
... ...