Commit 3a545e5a2cada245b48dc9e8380107aa9ca383fd

Authored by Melissa Wen
1 parent d91beb1a
Exists in master and in 79 other branches add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev_env_minimal, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, prezento, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Remove repeated or unused rules and add cover id for footer rules

Showing 1 changed file with 89 additions and 234 deletions   Show diff stats
footer.css
... ... @@ -3,45 +3,47 @@
3 3 width: 100%;
4 4 min-width: 960px;
5 5 }
  6 +
6 7 #theme-footer a{
7   - color:#2c66ce;
  8 + color: #2c66ce;
8 9 }
  10 +
9 11 #theme-footer a:hover{
10   - color:#2c66ce;
  12 + color: #2c66ce;
11 13 }
12 14  
13   -#footer-content {
  15 +#theme-footer #footer-content {
14 16 background: #fff;
15 17 }
16 18  
17   -#footer-logos {
18   - background: #0042b2; /*rgb(96,96,96);*/
  19 +#theme-footer #footer-logos {
  20 + background: #0042b2;
19 21 max-width: 100%;
20 22 padding: 2em 0;
21 23 height: 49px;
22 24 }
23 25  
24   -#footer-logos div {
  26 +#theme-footer #footer-logos > div {
25 27 max-width: 960px;
26 28 margin: 0 auto;
27 29 }
28 30  
29   -#footer-logos a {
  31 +#theme-footer #footer-logos a {
30 32 display: block;
31 33 height: 49px;
32 34 float: left;
33 35 }
34 36  
35   -#footer-logos span {
  37 +#theme-footer #footer-logos span {
36 38 display: none;
37 39 }
38 40  
39   -#footer-logos .logo-acesso {
  41 +#theme-footer #footer-logos .logo-acesso {
40 42 background: transparent url(images/acesso-a-informacao.png) center center no-repeat;
41 43 width: 107px;
42 44 }
43 45  
44   -#footer-logos .logo-brasil {
  46 +#theme-footer #footer-logos .logo-brasil {
45 47 background: transparent url(images/brasil.png) center center no-repeat;
46 48 width: 153px;
47 49 }
... ... @@ -52,302 +54,155 @@
52 54 margin-right: 30px;
53 55 }
54 56  
55   -#footer-logos .institucionais {
  57 +#theme-footer #footer-logos .institucionais {
56 58 float: right;
57 59 }
58 60  
59   -#footer-license {
  61 +#theme-footer #footer-license {
60 62 max-width: 960px;
61 63 margin: 0 auto;
62 64 text-align: left;
63 65 padding: 5px;
64 66 }
65 67  
66   -#footer-license p {
  68 +#theme-footer #footer-license p {
67 69 color: #0d4094;
68 70 text-align: left;
69 71 }
  72 +
70 73 /***********Rodape Colab *********************/
71 74  
72   -footer{
  75 +#theme-footer footer{
73 76 display:block
74 77 }
75 78  
76   -header .accessibility-language-actions-container {
77   - height:25px;
78   - overflow:hidden
  79 +#theme-footer footer {
  80 + background:#d5d5d5;
79 81 }
80 82  
81   -main div.row-flutuante {
82   -margin-top:-28px
83   -}
84   -main .row-fluid {
85   -margin-left:0!important
  83 +#theme-footer footer .footer-atalhos {
  84 + background:#fff;
  85 + border-bottom: 2px;
86 86 }
87 87  
88   -footer {
89   -background:#d5d5d5;
90   -}
91   -footer .footer-atalhos {
92   -background:#fff;
93   -border-bottom: 2px
  88 +#theme-footer footer .container2{
  89 + width: 100%;
  90 + margin-right:auto;
  91 + margin-left:auto;
  92 + *zoom:1;
  93 + max-width: 960px;
94 94 }
95 95  
96   -footer .footer-atalhos .container {
97   -padding:10px 0 25px 0
98   -}
99   -footer .footer-atalhos .voltar-ao-topo a {
100   -color:#717782
  96 +#theme-footer .container2:before,
  97 +#theme-footer .container2:after {
  98 + display:table;
  99 + content:"";
  100 + line-height:0;
101 101 }
102   -footer .footer-atalhos .voltar-ao-topo a:hover {
103   -text-decoration:underline
  102 +
  103 +#theme-footer .container2:after {
  104 + clear:both;
104 105 }
105 106  
106   -.voltar-ao-topo {
  107 +#theme-footer .voltar-ao-topo {
107 108 margin-top: 1.915em;
108 109 text-align: right;
109 110 }
110 111  
  112 +#theme-footer footer .footer-atalhos a {
  113 + margin-right:12px
  114 +}
111 115  
112   -.voltar-ao-topo a {
  116 +#theme-footer footer .footer-atalhos .voltar-ao-topo a {
  117 + color:#717782;
113 118 padding-left: 20px;
114   - background: url(images/voltar-topo.png) no-repeat left center !important;
115   - color: #777 !important;
  119 + background: url(images/voltar-topo.png) no-repeat left center;
  120 + color: #777;
116 121 font-size: 15px;
117 122 }
118 123  
119   -footer .container-menus {
120   -/*padding:46px 0 0 0*/
  124 +#theme-footer footer .footer-atalhos .voltar-ao-topo a:hover {
  125 + text-decoration:underline;
121 126 }
122 127  
123   -footer .row {
  128 +#theme-footer footer .row {
124 129 margin-bottom: 20px;
  130 + margin-left: auto;
  131 + *zoom: 1;
  132 + margin-right: auto;
125 133 }
126 134  
127   -footer nav {
128   -border-left:1px dotted #2c66ce; /*#555;*/ /*#dbdbc8;*/
129   -padding:0 5px 0 10px
130   -}
131   -footer nav h2 {
132   -font-size:18px; /*1.3em;*/
133   -font-weight:bold;
134   -color: #2c66ce; /*#3b3f44;*/
135   -line-height:1.3em;
136   -padding: 0px; /*30px 0 0px 0;*/
137   -margin: 0 0 8px 0;
  135 +#theme-footer .row:before,
  136 +#theme-footer .row:after {
  137 + display: table;
  138 + content: "";
  139 + line-height: 0;
138 140 }
139 141  
140   -footer nav ul {
141   - margin-left: 0px;
  142 +#theme-footer .row:after {
  143 + clear:both;
142 144 }
143 145  
144   -footer nav li {
145   -display:block;
146   -padding-bottom:3px
147   -}
148   -footer nav a {
149   -font-size: 13px; /*.9em;*/
150   -color:#838489;
151   -line-height:1.7em;
152   -font-family:"open_sansregular", Arial, Helvetica, sans-serif;
153   -}
154   -footer nav a:hover {
155   -color:#838489;
156   -text-decoration:underline
  146 +#theme-footer footer nav {
  147 + border-left: 1px dotted #2c66ce;
  148 + padding: 0 5px 0 10px
157 149 }
158   -footer .footer-menus {
159   -padding-bottom:10px
160   -}
161   -footer .footer-logos {
162   -padding:25px 0;
163   -}
164   -footer .footer-ferramenta {
165   -background:#fff;
166   -padding:17px 0 11px 0
167   -}
168   -footer .footer-ferramenta p {
169   -font-size:.91em;
170   -line-height:1em
171   -}
172   -@media(min-width:980px) {
173 150  
174   -footer .container2{
175   - width: 100%;
  151 +#theme-footer footer nav h2 {
  152 + font-size: 18px;
  153 + font-weight: bold;
  154 + color: #2c66ce;
  155 + line-height: 1.3em;
  156 + padding: 0px;
  157 + margin: 0 0 8px 0;
176 158 }
177 159  
178   -footer .footer-atalhos a {
179   - margin-right:12px
180   -}
181   -footer .footer-logos {
182   - padding-left:10px;
183   - padding-right:10px
184   -}
185   -footer .footer-ferramenta {
186   - text-align:center
  160 +#theme-footer footer nav ul {
  161 + margin-left: 0px;
187 162 }
188 163  
189   -#content.internas div.pull-none {
190   -width:100%;
191   -margin:10px 0;
192   -text-align:center
  164 +#theme-footer footer nav li {
  165 + display: block;
  166 + padding-bottom: 3px;
193 167 }
194 168  
195   -.container2,.navbar-static-top .container2,.navbar-fixed-top .container2,.navbar-fixed-bottom .container2 {
196   - width:724px;
  169 +#theme-footer footer nav a {
  170 + font-size: 13px;
  171 + color: #2c66ce;
  172 + line-height: 1.7em;
  173 + font-family: "open_sansregular", Arial, Helvetica, sans-serif;
197 174 }
198 175  
199   -
200   -.span2 {
201   -width:104px;
  176 +#theme-footer footer nav a:hover {
  177 + color: #2c66ce;
  178 + text-decoration: underline;
202 179 }
203 180  
204   -article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {
205   - display:block;
  181 +#theme-footer footer .footer-menus {
  182 + padding-bottom: 10px;
206 183 }
207 184  
208   -.row {
209   - margin-left:auto !important;
210   - *zoom:1;
211   - margin-right:auto !important;
  185 +#theme-footer .span2 {
  186 + width: 104px;
212 187 }
213 188  
214   -.row:before,.row:after {
215   - display:table;
216   - content:"";
217   - line-height:0;
218   -}
219   -.row:after {
220   - clear:both;
221   -}
222   -[class*="span"] {
  189 +#theme-footer [class*="span"] {
223 190 float:left;
224 191 min-height: 1px;
225 192 margin-left: 30px;
226 193 margin-top: 30px;
227 194 }
228   -.container {
229   - max-width: 100%;
230   - padding-left: 0px;
231   - padding-right: 0px;
232   - width:100%;
233   -
234   -}
235 195  
236   -.span12 {
237   - width:930px;
238   -}
239   -.span11 {
240   - width:850px;
241   -}
242   -.span10 {
243   - width:770px;
244   -}
245   -.span9 {
246   - width:690px;
247   -}
248   -.span8 {
249   - width:510px;
250   -}
251   -.span7 {
252   - width:530px;
253   -}
254   -.span6 {
255   - width:450px;
256   -}
257   -.span5 {
258   - width:370px;
259   -}
260   -.span4 {
261   - width:290px;
262   -}
263   -.span3 {
  196 +#theme-footer .span3 {
264 197 width:210px;
265 198 }
266   -.span2 {
267   - width:130px;
268   -}
269   -.span1 {
270   - width:50px;
271   -}
272 199  
273   -.container2 {
274   - margin-right:auto;
275   - margin-left:auto;
276   - *zoom:1;
277   - max-width: 960px;
278   - /*max-width: 1040px; */
279   -}
280   -.container2:before,.container2:after {
281   - display:table;
282   - content:"";
283   - line-height:0;
284   -}
285   -.container2:after {
286   - clear:both;
287   -}
288   -
289   -/*
290   -
291   -.modal-footer {
292   - padding:14px 15px 15px;
293   - margin-bottom:0;
294   - text-align:right;
295   - background-color:#f5f5f5;
296   - border-top:1px solid #ddd;
297   - -webkit-border-radius:0 0 6px 6px;
298   - -moz-border-radius:0 0 6px 6px;
299   - border-radius:0 0 6px 6px;
300   - -webkit-box-shadow:inset 0 1px 0 #ffffff;
301   - -moz-box-shadow:inset 0 1px 0 #ffffff;
302   - box-shadow:inset 0 1px 0 #ffffff;
303   - *zoom:1;
304   -}
305   -.modal-footer:before,.modal-footer:after {
306   - display:table;
307   - content:"";
308   - line-height:0;
309   -}
310   -.modal-footer:after {
311   - clear:both;
312   -}
313   -.modal-footer .btn+.btn {
314   - margin-left:5px;
315   - margin-bottom:0;
316   -}
317   -.modal-footer .btn-group .btn+.btn {
318   - margin-left:-1px;
319   -}
320   -.modal-footer .btn-block+.btn-block {
321   - margin-left:0;
322   -} * TESTE DO FOOTER*/
323   -
324   -
325   -
326   -/*.dropdown-menu.pull-right {
327   - right:0;
328   - left:auto;
329   -}
330   -*/
331   -
332   -.hide {
333   - display:none;
334   -}
335   -
336   -.hidden {
  200 +#theme-footer .hide {
337 201 display:none;
338   - visibility:hidden;
339 202 }
340 203  
341   -.visible-phone {
  204 +#theme-footer .visible-phone {
342 205 display:none !important;
343 206 }
344   -.visible-tablet {
345   - display:none !important;
346   -}
347   -.hidden-desktop {
348   - display:none !important;
349   -}
350   -.visible-desktop {
351   - display:inherit !important;
352   -}
  207 +
353 208 /*****fim footer Colab*****/
... ...