Commit 1da35c721d11e544988b303c342a66362ebd7967

Authored by Simiao Carvalho
1 parent 5f531f87
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

Refactoring Pagination style

Showing 1 changed file with 75 additions and 49 deletions   Show diff stats
@@ -974,50 +974,6 @@ p { @@ -974,50 +974,6 @@ p {
974 974
975 /* fim de comentário*/ 975 /* fim de comentário*/
976 976
977 -/*paginação*/  
978 -  
979 -.pagination {  
980 - border-top: 0 none;  
981 -}  
982 -  
983 -#content .pagination a {  
984 - padding: 7px 11px 7px 11px;  
985 - border-radius: 4px;  
986 - margin-right: 4px;  
987 - letter-spacing: 0.6px;  
988 - color: #172738;  
989 - border: 1px solid #D3D6DE;  
990 -}  
991 -  
992 -.pagination .current {  
993 - background-color: #ECEDF1;  
994 - padding: 8px 11px 8px 11px;  
995 - border-radius: 4px;  
996 - margin-right: 4px;  
997 - font-family: Arial;  
998 - font-weight: 700;  
999 - font-size: 16px;  
1000 - border: 1px solid #D3D6DE;  
1001 -}  
1002 -  
1003 -#content .pagination a.previous_page,  
1004 -#content .pagination a.next_page{  
1005 - background-image: none;  
1006 - color: #888888;  
1007 - font-size: 14px;  
1008 - width: auto;  
1009 -}  
1010 -  
1011 -  
1012 -#content #article .pagination .next_page,  
1013 -#content #article .pagination .previous_page{  
1014 - background-image: none;  
1015 - color: #ccc;  
1016 - width: auto;  
1017 - font-size: 16px;  
1018 -}  
1019 -  
1020 -/*fim paginação*/  
1021 977
1022 /*borda dos wrappers*/ 978 /*borda dos wrappers*/
1023 /**/ 979 /**/
@@ -1234,15 +1190,85 @@ div#article-parent { @@ -1234,15 +1190,85 @@ div#article-parent {
1234 /*paginação*/ 1190 /*paginação*/
1235 1191
1236 .pagination { 1192 .pagination {
  1193 + margin-bottom: 30px;
  1194 + border-top: 0 none;
  1195 + margin-top: 48px;
  1196 + font-family: Arial;
  1197 +}
  1198 +
  1199 +#content .pagination a {
  1200 + padding: 7px 11px 7px 11px;
  1201 + border-radius: 4px;
  1202 + margin-right: 4px;
  1203 + letter-spacing: 0.6px;
  1204 + font-size: 15px;
  1205 + border: 1px solid #D3D6DE;
  1206 + color: #172738;
  1207 + font-weight: 700;
  1208 +}
1237 1209
  1210 +.pagination .current {
  1211 + background-color: #ECEDF1;
  1212 + padding: 7px 11px 7px 11px;
  1213 + border-radius: 4px;
  1214 + margin-right: 4px;
  1215 + font-weight: 700;
  1216 + font-size: 15px;
  1217 + border: 1px solid #D3D6DE;
  1218 + font-style: normal;
1238 } 1219 }
1239 -.pagination {  
1240 - font-size: 120%;  
1241 - margin-bottom: 30px; 1220 +
  1221 +#content .pagination .next_page.disabled,
  1222 +#content .pagination .previous_page.disabled,
  1223 +#content .pagination a.previous_page,
  1224 +#content .pagination a.next_page{
  1225 + border-radius: 4px;
  1226 + margin-top: -9px;
  1227 + letter-spacing: 0.6px;
  1228 + border: 1px solid #D3D6DE;
  1229 + color: #172738;
  1230 + background-image: none;
  1231 + font-size: 15px;
  1232 + width: auto;
  1233 + font-weight: 500;
  1234 + position: relative;
  1235 +}
  1236 +
  1237 +#content .pagination .previous_page{
  1238 + float: left;
  1239 + padding: 7px 11px 7px 30px;
  1240 +}
  1241 +
  1242 +#content .pagination .next_page.disabled,
  1243 +#content .pagination .previous_page.disabled{
  1244 + opacity: 0.5;
1242 } 1245 }
1243 1246
1244 -.pagination .previous_page{margin-right: 0.5em; font-weight: bold;}  
1245 -.pagination .next_page{margin-left: 0.5em; font-weight: bold;} 1247 +#content .pagination .next_page{
  1248 + float: right;
  1249 + padding: 7px 30px 7px 11px;
  1250 +}
  1251 +
  1252 +#content .pagination .previous_page.disabled::before,
  1253 +#content .pagination a.previous_page::before {
  1254 + display: none;
  1255 + position: absolute;
  1256 + content: url('images/left-arrow-black.png');
  1257 + left: 8px;
  1258 + top: 11px;
  1259 +}
  1260 +
  1261 +#content .pagination .next_page.disabled::before,
  1262 +#content .pagination a.next_page::before {
  1263 + display: none;
  1264 + position: absolute;
  1265 + content: url('images/right-arrow-black.png');
  1266 + left: 97px;
  1267 + top: 11px;
  1268 +}
  1269 +
  1270 +/*fim paginação*/
  1271 +
1246 1272
1247 #profile-header { 1273 #profile-header {
1248 position: absolute; /* Corrige link de login */ 1274 position: absolute; /* Corrige link de login */