Skip to content

Commit

Permalink
Fixes #144.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldesousa committed Sep 2, 2014
1 parent 12070ad commit 503cb76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/co2_scenario.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ a.delete:link a.delete:visited
}

/* Toggle button */
.toggle
.co2-button
{
text-align: center;
vertical-align: middle;
Expand All @@ -97,7 +97,7 @@ a.delete:link a.delete:visited
width: 150px !important;
}

.toggle:hover
.co2-button:hover
{
color: #000033 !important;
border-color: #333366 !important;
Expand Down
8 changes: 4 additions & 4 deletions app/views/co2_scenarios/_scenario_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ submitForm = function()

</td><td width=240>
<div align=right>
<div id="butt-submit" class="toggle" onclick="submitForm();">Save scenario</div>
<div id="butt-submit" class="co2-button" onclick="submitForm();">Save scenario</div>
<br>
<div id="butt-submit" class="toggle" onclick="CO2.addPeriod();">Add period</div>
<div id="butt-submit" class="co2-button" onclick="CO2.addPeriod();">Add period</div>
<br>
<div id="butt-submit" class="toggle" onclick="CO2.removePeriod();">Remove period</div>
<div id="butt-submit" class="co2-button" onclick="CO2.removePeriod();">Remove period</div>
</div>
</td></tr>
</table>
Expand Down Expand Up @@ -268,7 +268,7 @@ submitForm = function()
<table cellspacing=20><tr><td>
<h4 id="consump-title">Energy Consumption per Sector (%)</h4>
</td><td valign="middle">
<div id="butt-units" class="toggle" onclick="CO2.toggleUnits();">Toggle units to MWh</div>
<div id="butt-units" class="co2-button" onclick="CO2.toggleUnits();">Toggle units to MWh</div>
</td></tr></table>
<br>
<ul class="tabs" id="tabs-cons">
Expand Down

0 comments on commit 503cb76

Please sign in to comment.