diff --git a/js/main.js b/js/main.js index 6c3d8b8..ed1ee98 100644 --- a/js/main.js +++ b/js/main.js @@ -32,7 +32,7 @@ if(participa){ // Set isProduction to true when at production environment // Set isProduction to false when at development environment -var isProduction = true; // default is true +var isProduction = false; // default is true if( isProduction ){ var noosferoAPI = host + '/api/v1/articles/' + proposal_discussion + '?private_token=' + private_token + '&fields=id,children,categories,abstract,body,title,image,url'; } else { diff --git a/sass/_proposal_detail.scss b/sass/_proposal_detail.scss index 35773f8..39674f5 100644 --- a/sass/_proposal_detail.scss +++ b/sass/_proposal_detail.scss @@ -246,7 +246,9 @@ textarea#article_abstract { height: 15%; } - .container-button a, input[type=submit], .success-proposal-sent a { + .container-button a, + input[type=submit], + .success-proposal-sent a { font-weight: bolder; font-size: 14px; text-transform: uppercase; @@ -267,16 +269,22 @@ } } .make-proposal-container{ - .subtitle, .info, .success-proposal-sent { + + .subtitle, + .info, + .success-proposal-sent { margin: 20px; color: #18376C; } - .subtitle, .success-proposal-sent { + + .subtitle, + .success-proposal-sent { font-size: 24px; font-weight: bold; } .info { font-size: 14px; + overflow-y: auto; } .name { margin-bottom: 15px; @@ -324,6 +332,8 @@ text-align: center; .container-title { text-align: center; + width: 100%; + margin: 20px auto; } .support-proposal{ border: 1px solid $color; @@ -378,6 +388,7 @@ text-align: center; position: absolute; bottom: 10px; + left: 0; text-decoration: none; color: $color; } @@ -547,9 +558,45 @@ font-size: 12px; } } + + .support-proposal .abstract{ + overflow-y: auto; + max-height: 190px; + margin-bottom: 10px; + + @media only screen and (max-width: 1048px) { + max-height: 140px; + font-size: 20px; + } + } +} + +@media only screen and (max-width: 992px) { + + .proposal-detail { + + .container-title { + font-size: 30px !important; + margin-bottom: 15px !important; + } + + .make-proposal-container { + + .subtitle { + margin: 5px 20px !important; + font-size: 20px !important; + } + + .info { + margin: 0 20px !important; + max-height: 40px !important; + } + } + + } + } -// @media only screen and (max-device-width: 480px) { @media only screen and (max-width: 768px) { .proposal-header { .title { -- libgit2 0.21.2