Cleanup for mobile build without errors
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
.container
|
||||
margin-left: auto
|
||||
margin-right: auto
|
||||
@@ -1,14 +0,0 @@
|
||||
/*
|
||||
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
||||
* listed below.
|
||||
*
|
||||
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
||||
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
||||
*
|
||||
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
||||
* compiled file, but it's generally better to create a new file per style scope.
|
||||
*
|
||||
*= require_self
|
||||
*= require_directory .
|
||||
* ------------- require 'bootstrap-devise-rails'
|
||||
*/
|
||||
@@ -0,0 +1,4 @@
|
||||
//= require_self
|
||||
//= require_directory .
|
||||
@import ./foundation_and_overrides
|
||||
@import ./structure
|
||||
@@ -1,7 +0,0 @@
|
||||
@import bootstrap
|
||||
body
|
||||
.nav
|
||||
> li
|
||||
> a
|
||||
&:hover
|
||||
background-color: transparent
|
||||
@@ -1,5 +1,42 @@
|
||||
@import bourbon
|
||||
$cth-height: 48px
|
||||
$green-original: #99CB23
|
||||
$green: #7BB459 //Heineken
|
||||
$font-family-content: Georgia, serif
|
||||
$font-family-navigation: Verdana,serif
|
||||
$font-family-headers: Verdana,serif //'Pacifico', serif
|
||||
$content-max-width: 962px
|
||||
=linear-gradient($pos, $G1, $G2: null, $G3: null, $G4: null, $G5: null, $G6: null, $G7: null, $G8: null, $G9: null, $G10: null, $fallback: null)
|
||||
// Detect what type of value exists in $pos
|
||||
$pos-type: type-of(nth($pos, 1))
|
||||
$pos-spec: null
|
||||
$pos-degree: null
|
||||
// If $pos is missing from mixin, reassign vars and add default position
|
||||
@if $pos-type == color or nth($pos, 1) == "transparent"
|
||||
$G10: $G9
|
||||
$G9: $G8
|
||||
$G8: $G7
|
||||
$G7: $G6
|
||||
$G6: $G5
|
||||
$G5: $G4
|
||||
$G4: $G3
|
||||
$G3: $G2
|
||||
$G2: $G1
|
||||
$G1: $pos
|
||||
$pos: null
|
||||
@if $pos
|
||||
$positions: _linear-positions-parser($pos)
|
||||
$pos-degree: nth($positions, 1)
|
||||
$pos-spec: nth($positions, 2)
|
||||
$full: $G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10
|
||||
// Set $G1 as the default fallback color
|
||||
$fallback-color: nth($G1, 1)
|
||||
// If $fallback is a color use that color as the fallback color
|
||||
@if type-of($fallback) == color or $fallback == "transparent"
|
||||
$fallback-color: $fallback
|
||||
background-color: $fallback-color
|
||||
background-image: -webkit-linear-gradient($pos-degree $full)
|
||||
// Safari 5.1+, Chrome
|
||||
background-image: unquote("linear-gradient(#{$pos-spec}#{$full})")
|
||||
=content-top-background
|
||||
.left
|
||||
position: absolute
|
||||
@@ -20,12 +57,6 @@ $cth-height: 48px
|
||||
.container
|
||||
position: relative
|
||||
max-width: $content-max-width
|
||||
$green-original: #99CB23
|
||||
$green: #7BB459 //Heineken
|
||||
$font-family-content: Georgia, serif
|
||||
$font-family-navigation: Verdana,serif
|
||||
$font-family-headers: Verdana,serif //'Pacifico', serif
|
||||
$content-max-width: 962px
|
||||
body
|
||||
background-color: #333
|
||||
margin: 0
|
||||
@@ -88,6 +119,7 @@ body
|
||||
#header
|
||||
margin-bottom: 10px
|
||||
#logo
|
||||
max-width: 80%
|
||||
a
|
||||
margin: 20px
|
||||
#header-right
|
||||
@@ -129,9 +161,10 @@ body
|
||||
margin: 0
|
||||
padding: 0
|
||||
list-style: none
|
||||
li
|
||||
li
|
||||
position: relative
|
||||
list-style: none
|
||||
float: left
|
||||
a
|
||||
border: 0
|
||||
color: white
|
||||
@@ -215,7 +248,7 @@ body
|
||||
height: $cth-height
|
||||
background-repeat: repeat-x
|
||||
background-position: bottom
|
||||
margin: 0 69px 0 42px
|
||||
margin: 0 68px 0 42px
|
||||
#main-wrap
|
||||
font-size: 14px
|
||||
font-family: $font-family-content
|
||||
@@ -263,7 +296,7 @@ body
|
||||
position: relative
|
||||
.footer-shadow
|
||||
height: 1px
|
||||
+box-shadow(0px 4px 10px #000)
|
||||
//+box-shadow(0px 4px 10px #000)
|
||||
.container
|
||||
max-width: 838px
|
||||
.footer-content
|
||||
|
||||
Reference in New Issue
Block a user