Merge branch 'master' into budget_map
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
//= require polls
|
||||
//= require sortable
|
||||
//= require table_sortable
|
||||
//= require investment_report_alert
|
||||
|
||||
var initialize_modules = function() {
|
||||
App.Comments.initialize();
|
||||
@@ -115,6 +116,7 @@ var initialize_modules = function() {
|
||||
App.Polls.initialize();
|
||||
App.Sortable.initialize();
|
||||
App.TableSortable.initialize();
|
||||
App.InvestmentReportAlert.initialize();
|
||||
};
|
||||
|
||||
$(function(){
|
||||
|
||||
7
app/assets/javascripts/investment_report_alert.js.coffee
Normal file
7
app/assets/javascripts/investment_report_alert.js.coffee
Normal file
@@ -0,0 +1,7 @@
|
||||
App.InvestmentReportAlert =
|
||||
initialize: ->
|
||||
$('#js-investment-report-alert').on 'click', ->
|
||||
if this.checked && $('#budget_investment_feasibility_unfeasible').is(':checked')
|
||||
confirm(this.dataset.alert + "\n" + this.dataset.notFeasibleAlert);
|
||||
else if this.checked
|
||||
confirm(this.dataset.alert);
|
||||
@@ -368,7 +368,7 @@ a {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.aling-middle {
|
||||
.align-middle {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// 03. Show participation
|
||||
// 04. List participation
|
||||
// 05. Featured
|
||||
// 06. Budget
|
||||
// 06. Budgets
|
||||
// 07. Proposals successful
|
||||
// 08. Polls
|
||||
// 09. Polls results and stats
|
||||
@@ -1096,31 +1096,39 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 06. Budget
|
||||
// ----------
|
||||
// 06. Budgets
|
||||
// -----------
|
||||
|
||||
.expanded.budget {
|
||||
background: $budget;
|
||||
.expanded {
|
||||
|
||||
h1,
|
||||
h2,
|
||||
p,
|
||||
.back,
|
||||
.icon-angle-left {
|
||||
color: #fff;
|
||||
}
|
||||
&.budget {
|
||||
background: $budget;
|
||||
|
||||
.button {
|
||||
background: #fff;
|
||||
color: $budget;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
p,
|
||||
a,
|
||||
.back,
|
||||
.icon-angle-left {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.info {
|
||||
background: #6a2a72;
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
text-transform: uppercase;
|
||||
.button {
|
||||
background: #fff;
|
||||
color: $budget;
|
||||
}
|
||||
|
||||
.info {
|
||||
background: #6a2a72;
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1182,7 +1190,7 @@
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
background: #fff;
|
||||
@@ -1212,6 +1220,36 @@
|
||||
}
|
||||
}
|
||||
|
||||
.groups-and-headings {
|
||||
|
||||
.heading {
|
||||
border: 1px solid $border;
|
||||
border-radius: rem-calc(3);
|
||||
display: inline-block;
|
||||
margin-bottom: $line-height / 2;
|
||||
|
||||
&:hover {
|
||||
background: $highlight;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: $line-height / 2;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
color: $text;
|
||||
display: block;
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-votes {
|
||||
position: relative;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user