Commit 7097bbded79615049d818e013735c5d91e5cbd2a

Authored by Tomáz Martins
1 parent 2163ba8a
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

Adjusting css to work with template-default and template-lefttopright

Signed-off-by: TomazMartins <tomaz.r.martins@gmail.com>
Signed-off-by: Álvaro Fernando <AlvaroFernandoMS@gmail.com>
Showing 2 changed files with 25 additions and 25 deletions   Show diff stats
css/left-bar.css
... ... @@ -2,11 +2,11 @@
2 2  
3 3 /*** WARNING - WITHOUT BOX-4 ***/
4 4  
5   -.template-leftbar .box-2 {
  5 +.template-default .box-2 {
6 6 width:150px;
7 7 }
8 8  
9   -.template-leftbar #content .box-2 .block-outer .block-title {
  9 +.template-default #content .box-2 .block-outer .block-title {
10 10 background: #eee;
11 11 color: #4562b1;
12 12 border-top: 4px solid #4562b1;
... ... @@ -15,14 +15,14 @@
15 15  
16 16 /*** Menus - Link list block ***/
17 17  
18   -.template-leftbar #content .box-2 .link-list-block li {
  18 +.template-default #content .box-2 .link-list-block li {
19 19 margin: 0;
20 20 padding: 0;
21 21 border-bottom: 1px solid #ddd;
22 22 border-top: none;
23 23 }
24 24  
25   -.template-leftbar #content .box-2 .link-list-block li a {
  25 +.template-default #content .box-2 .link-list-block li a {
26 26 width: auto;
27 27 padding: 6px 5px 8px 18px;
28 28 background-color: #fff;
... ... @@ -36,26 +36,26 @@
36 36 line-height: 17px;
37 37 }
38 38  
39   -.template-leftbar #content .box-2 .link-list-block h3.empty + ul {
  39 +.template-default #content .box-2 .link-list-block h3.empty + ul {
40 40 border-top: 1px solid #ddd;
41 41 }
42 42  
43   -.template-leftbar #content .box-2 .link-list-block h3.empty + ul li a {
  43 +.template-default #content .box-2 .link-list-block h3.empty + ul li a {
44 44 padding-left: 0px;
45 45 padding-right: 0px;
46 46 background-image: none;
47 47 }
48 48  
49   -.template-leftbar #content .box-2 .link-list-block li a.link-this-page,
50   -.template-leftbar #content .box-2 .link-list-block li a.link-this-page:hover {
  49 +.template-default #content .box-2 .link-list-block li a.link-this-page,
  50 +.template-default #content .box-2 .link-list-block li a.link-this-page:hover {
51 51 border-right: none;
52 52 }
53 53  
54   -.template-leftbar #content .box-2 .link-list-block li a:hover {
  54 +.template-default #content .box-2 .link-list-block li a:hover {
55 55 background-color: #FFFFFF;
56 56 color: #000;
57 57 }
58   -.template-leftbar #content .box-2 .link-list-block li a.link-this-page {
  58 +.template-default #content .box-2 .link-list-block li a.link-this-page {
59 59 width: auto;
60 60 margin-left: 0px;
61 61 background-color: #ffffff;
... ... @@ -69,7 +69,7 @@
69 69 /************ DUPLICATE ************
70 70  
71 71 This part of the code is duplicated because, if there is
72   - a change of layout from template-leftbar to lefttopright
  72 + a change of layout from template-default to lefttopright
73 73 the CSS fit without many complication.
74 74  
75 75 */
... ...
css/software-pages.css
... ... @@ -224,21 +224,21 @@
224 224 /*** WARNING - WHITOUT BOX-4 ***/
225 225  
226 226 /* Link-list block */
227   -.template-leftbar #content .box-3 .block-title {
  227 +.template-default #content .box-3 .block-title {
228 228 border-top: 4px solid #4562b1;
229 229 line-height: 15px;
230 230 background: #eee;
231 231 color: #4562b1;
232 232 }
233 233  
234   -.template-leftbar #content .box-3 .link-list-block li {
  234 +.template-default #content .box-3 .link-list-block li {
235 235 margin: 0px;
236 236 padding: 0px;
237 237 border-bottom: 1px solid #ddd;
238 238 border-top: none;
239 239 }
240 240  
241   -.template-leftbar #content .box-3 .link-list-block li a {
  241 +.template-default #content .box-3 .link-list-block li a {
242 242 border-right: none;
243 243 border-top: 0px solid #64946E;
244 244 border-radius: 0px 0px 0px 0px;
... ... @@ -252,21 +252,21 @@
252 252 font-size: 14px;
253 253 }
254 254  
255   -.template-leftbar #content .box-3 .link-list-block h3.empty + ul {
  255 +.template-default #content .box-3 .link-list-block h3.empty + ul {
256 256 border-top: 1px solid #ddd;
257 257 }
258 258  
259   -.template-leftbar #content .box-3 .link-list-block li a.link-this-page,
260   -.template-leftbar #content .box-3 .link-list-block li a.link-this-page:hover {
  259 +.template-default #content .box-3 .link-list-block li a.link-this-page,
  260 +.template-default #content .box-3 .link-list-block li a.link-this-page:hover {
261 261 border-right: none;
262 262 }
263 263  
264   -.template-leftbar #content .box-3 .link-list-block li a:hover {
  264 +.template-default #content .box-3 .link-list-block li a:hover {
265 265 background-color: #FFFFFF;
266 266 color: #000;
267 267 }
268 268  
269   -.template-leftbar #content .box-3 .link-list-block li a.link-this-page {
  269 +.template-default #content .box-3 .link-list-block li a.link-this-page {
270 270 margin-left: 0px;
271 271 width: auto;
272 272 background-color: #ffffff;
... ... @@ -274,9 +274,9 @@
274 274 }
275 275  
276 276 /* Repository block */
277   -.template-leftbar .box-3 #bt_repositorio,
278   -.template-leftbar .box-3 #bt_repositorio:active,
279   -.template-leftbar .box-3 #bt_repositorio:visited {
  277 +.template-default .box-3 #bt_repositorio,
  278 +.template-default .box-3 #bt_repositorio:active,
  279 +.template-default .box-3 #bt_repositorio:visited {
280 280 border-radius: 4px;
281 281 padding: 12px 10px;
282 282 background: #EAEBEE;
... ... @@ -286,7 +286,7 @@
286 286 position: relative;
287 287 }
288 288  
289   -.template-leftbar .box-3 #bt_repositorio::after {
  289 +.template-default .box-3 #bt_repositorio::after {
290 290 margin-top: -2px;
291 291 padding: 4px 0px 4px 2px;
292 292 border-radius: 4px;
... ... @@ -301,7 +301,7 @@
301 301 content: url('../images/right-arrow.png');
302 302 }
303 303  
304   -.template-leftbar .box-3 #content #bt_repositorio:hover {
  304 +.template-default .box-3 #content #bt_repositorio:hover {
305 305 color: #FFF;
306 306 background: #2C66CE;
307 307 text-decoration: none;
... ... @@ -314,7 +314,7 @@
314 314  
315 315 /*
316 316 This part of the code is duplicated because, if there is
317   - a change of layout from template-leftbar to lefttopright
  317 + a change of layout from template-default to lefttopright
318 318 the CSS fit without many complication.
319 319 */
320 320  
... ...