Commit db1a503ca9ddfcb86e5275bf97c914095a5956da

Authored by Gustavo Cruz
1 parent e97b8dc7

updating theme

Showing 2 changed files with 74 additions and 25 deletions   Show diff stats
style.css
... ... @@ -635,6 +635,7 @@ div#article-parent {
635 635 padding: 5px;
636 636 }
637 637  
  638 +
638 639 #content .box-1 .block-footer-content a {
639 640 position: relative;
640 641 }
... ... @@ -858,7 +859,7 @@ div#article-parent {
858 859 .action-home-index .statistics-block-data{
859 860 left: -480px;
860 861 margin-left: 50%;
861   - padding: 35px 0 40px;
  862 + padding: 25px 0 30px;
862 863 position: relative;
863 864 text-align: center;
864 865 width: 960px;
... ... @@ -882,7 +883,7 @@ div#article-parent {
882 883 }
883 884  
884 885 .action-home-index .statistics-block-data ul li .amount{
885   - font-size: 800%/*40px !important*/;
  886 + font-size: 600%/*40px !important*/;
886 887 font-weight:bold;
887 888 /*width:136px;*/
888 889 line-height: 1em;
... ... @@ -913,30 +914,30 @@ div#article-parent {
913 914 padding: 4em 2em;
914 915 position: relative;
915 916 width: 960px;
  917 + text-align: center;
916 918 }
917 919  
918 920 .track_list .item_card {
919 921 background-color: #fffafa;
920 922 border: 0 solid #DDDDDD;
921 923 float: none;
922   - margin-bottom: 8px;
923   - margin-left: 3px;
924   - margin-right: 3px;
  924 + margin: 10px 50px;
925 925 padding: 0;
926 926 width: 190px;
927 927 height: 100%;
  928 + display: inline-block;
928 929 }
929 930  
930 931 .track_list .item_card:hover {
931 932 background-color: white;
932 933 }
933 934  
934   -.track_list .item_card .track_content{
  935 +#content .track_list .item_card .track_content{
935 936 height: 245px;
936 937 overflow: hidden;
937 938 }
938 939  
939   -.track_list .item_card .track_content .title{
  940 +#content .track_list .item_card .track_content .title{
940 941 color: white;
941 942 font-size: small;
942 943 font-weight: normal;
... ... @@ -944,11 +945,8 @@ div#article-parent {
944 945 text-align: center;
945 946 }
946 947  
947   -.track_list .category_politicas-publicas.item_card .track_content .title {
948   - background-color: #3364a3;
949   -}
950 948  
951   -.track_list .item_card .track_content .image{
  949 +#content .track_list .item_card .track_content .image{
952 950 border: 1px solid #ddd;
953 951 width: 175px;
954 952 height: 122px;
... ... @@ -956,7 +954,7 @@ div#article-parent {
956 954 margin: 0.5em;
957 955 }
958 956  
959   -.track_list .item_card .track_content .name {
  957 +#content .track_list .item_card .track_content .name {
960 958 font-size: small;
961 959 font-weight: normal;
962 960 padding: 5px 0;
... ... @@ -964,10 +962,8 @@ div#article-parent {
964 962 margin: 0 0.5em;
965 963 }
966 964  
967   -.track_list .category_politicas-publicas.item_card .track_content .name {
968   - color: #3364a3;
969   -}
970   -.track_list .item_card .track_content .lead {
  965 +
  966 +#content .track_list .item_card .track_content .lead {
971 967 font-weight: normal;
972 968 padding: 5px 0;
973 969 margin: 0 0.5em;
... ... @@ -975,6 +971,34 @@ div#article-parent {
975 971 color: black;
976 972 }
977 973  
  974 +/*category_not_defined*/
  975 +#content .track_list .category_not_defined .track_content .title {
  976 + background-color: #666;
  977 +}
  978 +#content .track_list .category_not_defined .track_content .name {
  979 + color: #666;
  980 +}
  981 +
  982 +/*category_politicas-publicas*/
  983 +#content .track_list .category_politicas-publicas.item_card .track_content .title {
  984 + background-color: #3364a3;
  985 +}
  986 +#content .track_list .category_politicas-publicas.item_card .track_content .name {
  987 + color: #3364a3;
  988 +}
  989 +
  990 +/*category_saude*/
  991 +#content .track_list .category_saude.item_card .track_content .title {
  992 + background-color: red;
  993 +}
  994 +#content .track_list .category_saude.item_card .track_content .name {
  995 + color: red;
  996 +}
  997 +
  998 +
  999 +
  1000 +
  1001 +
978 1002 .track_list .item_card .track_stats {
979 1003 padding: 5px;
980 1004 /*overflow: hidden;*/
... ... @@ -996,9 +1020,6 @@ div#article-parent {
996 1020 }
997 1021  
998 1022  
999   -
1000   -
1001   -
1002 1023 /*Artigos em Destaque*/
1003 1024  
1004 1025 /*Posicionamento dos artigos e pessoas ao centro*/
... ... @@ -1099,6 +1120,10 @@ div#article-parent {
1099 1120  
1100 1121 /*Container - Mapa e Comunidades*/
1101 1122  
  1123 +.mapa_comunidades.container-block {
  1124 + background-image: url("images/bg-linhas-cinza.png");
  1125 +}
  1126 +
1102 1127 /**Mapa**/
1103 1128  
1104 1129 /*.action-home-index #content .box-1 .container-block */
... ... @@ -1109,6 +1134,7 @@ div#article-parent {
1109 1134 .action-home-index #content .box-1 .container-block .raw-html-block {
1110 1135 width: 525px !important;
1111 1136 margin: 0 25px;
  1137 + padding-top: 4em;
1112 1138 }
1113 1139  
1114 1140 .container-block .raw-html-block .block-title {
... ... @@ -1118,6 +1144,14 @@ div#article-parent {
1118 1144  
1119 1145 /*Comunidades*/
1120 1146  
  1147 +
  1148 +/*ver todas as comunidades*/
  1149 +.action-home-index #wrap-2 .block-outer .container-block .communities-block .block-footer-content {
  1150 + position: absolute;
  1151 + top: 0px;
  1152 + left: 290px;
  1153 +}
  1154 +
1121 1155 .container-block .communities-block {
1122 1156 display: inline-block;
1123 1157 }
... ... @@ -1132,18 +1166,21 @@ div#article-parent {
1132 1166 .container-block .communities-block .block-inner-1 {
1133 1167 width: 380px !important;
1134 1168 float: left;
  1169 + padding-top: 4em;
1135 1170 }
1136 1171  
  1172 +
1137 1173 .action-home-index #wrap-2 .block-outer .container-block .communities-block .common-profile-list-block .vcard:hover {
1138   - border: 0px;
  1174 + /*border: 0px;*/
  1175 + border: 1px solid #DDDDDD;
1139 1176 }
1140   -
1141 1177 .action-home-index #wrap-2 .block-outer .container-block .communities-block .common-profile-list-block .vcard a { }
1142 1178  
1143 1179 .action-home-index #wrap-2 .block-outer .container-block .communities-block .common-profile-list-block .vcard a:hover{
1144 1180 border: 1px solid #DDDDDD;
1145 1181 }
1146 1182  
  1183 +
1147 1184 .action-home-index #wrap-2 .block-outer .container-block .communities-block .common-profile-list-block .vcard:hover .menu-submenu-trigger,
1148 1185 .action-environment_design-index #wrap-2 .block-outer .container-block .communities-block .common-profile-list-block .vcard:hover .menu-submenu-trigger {
1149 1186 display: none;
... ... @@ -1157,11 +1194,11 @@ div#article-parent {
1157 1194  
1158 1195 #content .box-1 .communities-block .common-profile-list-block .vcard .profile_link .profile-image {
1159 1196 height: 95px;
1160   - width: 95px;
  1197 + /*width: 95px;*/
1161 1198 min-height: 95px;
1162   - min-width: 95px;
1163   - background-color: #ddd;
1164   - border: 2px solid #999999;
  1199 + /*min-width: 95px;*/
  1200 + background-color: #fff;
  1201 + border: 2px solid #dfdfdf;
1165 1202 padding-bottom: 0px;
1166 1203 }
1167 1204  
... ... @@ -1170,6 +1207,7 @@ div#article-parent {
1170 1207 min-width: 95px;
1171 1208 height: 95px;
1172 1209 width: 95px;
  1210 +
1173 1211 }
1174 1212  
1175 1213 #content .box-1 .communities-block .common-profile-list-block .vcard .profile_link .org {
... ... @@ -1177,8 +1215,11 @@ div#article-parent {
1177 1215 font-size: 85%;
1178 1216 text-align: left;
1179 1217 text-transform: uppercase;
  1218 + line-height: 1.1em;
  1219 + margin-top: 5px;
1180 1220 }
1181 1221  
  1222 +
1182 1223 /* HOME */
1183 1224  
1184 1225 .action-home-index #wrap-2 {
... ...
theme.js
... ... @@ -47,3 +47,11 @@
47 47 footer.prepend(tags_block);
48 48 })(jQuery);
49 49 */
  50 +
  51 +(function($) {
  52 + // Run code
  53 + $( ".block-inner-1 .block-inner-2 .box .block-outer .communities-block" ).parent().addClass( "mapa_comunidades" );
  54 +})(jQuery);
  55 +
  56 +
  57 +
... ...