Skip to content

Commit

Permalink
Merge pull request #268 from simonv3/mo22de-patch-1
Browse files Browse the repository at this point in the history
Viewport Handling and Cleaning up Style Sheets
  • Loading branch information
RickCarlino committed Oct 23, 2014
2 parents e07dd9b + cc69b2b commit ce0ee31
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ GEM
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
slop (3.6.0)
sprockets (2.11.0)
sprockets (2.10.1)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
Expand Down Expand Up @@ -403,7 +403,7 @@ GEM
vcr (2.9.3)
warden (1.2.3)
rack (>= 1.0)
webmock (1.19.0)
webmock (1.20.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
websocket-driver (0.3.5)
Expand Down
3 changes: 1 addition & 2 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
// @import "foundation_and_overrides";
/* Add imports of custom sass/scss files here */

// Presets already included in foundation_and_overrides?
// @import "presets";
@import "presets";

.display{
background: #eee;
Expand Down
1 change: 0 additions & 1 deletion app/assets/stylesheets/foundation_and_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

// Allows the use of rem-calc() or lower-bound() in your settings
@import "foundation/functions";
@import "presets";

// $experimental: true;

Expand Down
4 changes: 1 addition & 3 deletions app/assets/stylesheets/guides.css.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* presets */

@import 'presets';

.guides-list{
margin-top: 2rem;
table{
Expand Down Expand Up @@ -171,4 +169,4 @@ form.new-guide{
}
}

@import "guides/_edit_guides.css.scss";
@import "guides/_edit_guides.css.scss"
2 changes: 1 addition & 1 deletion app/assets/stylesheets/presets.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ small.error{
h4, h5, h6{
font-size: .8rem;
}
}
}
2 changes: 0 additions & 2 deletions app/assets/stylesheets/sign_up.css.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "presets.css.scss";

.bar-header{
background: $of-green;
margin-bottom: 2rem;
Expand Down
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<!-- Uncomment to make IE8 render like IE7 -->
<!-- <meta http-equiv="X-UA-Compatible" content="IE=7" /> -->

<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=0.82, minimum-scale=0.10, maximum-scale=10.0, user-scalable=yes" />
<title>
<%= content_for?(:title) ? yield(:title) : "OpenFarm" %>
</title>
<link href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
Expand Down

0 comments on commit ce0ee31

Please sign in to comment.