Fixed the columns

pull/231/head
Rory Aronson 2015-10-08 23:48:34 -07:00
parent 0e99e3eb55
commit 5bca846ad3
3 changed files with 16 additions and 15 deletions

View File

@ -776,7 +776,7 @@ input[type="submit"] {
padding-bottom: 50px;
}
.row {
max-width: 120rem;
max-width: 160rem;
&.date-flipper {
margin-bottom: 20px;
}
@ -997,4 +997,3 @@ table tr td {
table thead tr th {
padding: .5rem;
}

View File

@ -3,7 +3,7 @@
.col-sm-12
.row
.col-sm-12
%button.button-like.yellow{style: "margin: 9px;"}
%button.button-like.yellow{style: "margin: 4px;"}
{{ !!device._id ? "Update" : "Add" }} FarmBot
// TODO: Hide the save button ^ until a value in the table has been changed and needs saving. Once the user presses the button, change the text to 'UPDATING' (while the update is happening, just like the sync button). Once the update is complete, change it to 'UPDATED :checkmark:' and make it green.
.header-wrapper

View File

@ -55,15 +55,17 @@
%a{:href => page_path('help')} Help
/ /.navbar-collapse
/ /.container-fluid
.container.col-xs-12.col-sm-6.col-md-4.col-xs-centered
- if notice
.alert-box.notice.round{"onClick" => "hidden = true"}
= notice
%a.close{style: 'margin-right: 10px; color: white; opacity: 1.0;'} ×
- if alert
.alert-box.alert.round{"onClick" => "hidden = true"}
= alert
%a.close{style: 'margin-right: 10px; color: white; opacity: 1.0;'} ×
.content
= yield
.row
.container.col-xs-12.col-sm-6.col-md-4.col-xs-centered
- if notice
.alert-box.notice.round{"onClick" => "hidden = true"}
= notice
%a.close{style: 'margin-right: 10px; color: white; opacity: 1.0;'} ×
- if alert
.alert-box.alert.round{"onClick" => "hidden = true"}
= alert
%a.close{style: 'margin-right: 10px; color: white; opacity: 1.0;'} ×
.row
.col-lg-12
.content
= yield