The working basics

This commit is contained in:
Godwin
2014-03-09 14:43:33 -06:00
parent b490a97852
commit db60933506
628 changed files with 81918 additions and 1060 deletions
+10
View File
@@ -0,0 +1,10 @@
Bike!Bike! Icon Font
===========
To add to the icon font:
* Go to icomoon.io/app/
* Import the .svg in this folder
* Add you own svg icons
* Genreate and download the font
* Unzip and overwrite the contents into this directory
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100px" height="58.526px" viewBox="0 0 100 58.526" enable-background="new 0 0 100 58.526" xml:space="preserve">
<path d="M98.878,38.354L100,38.296c-0.674-10.46-9.368-18.738-19.999-18.738c-3.3,0-6.409,0.802-9.154,2.214l-4.568-8.047
l1.211-2.686c0.25,0.049,0.469,0.075,0.645,0.075c1.176,0,5.174-3.63,4.408-5.579c-0.33-0.84-2.259-0.038-4.673,0.469
c-0.538,0.113-2.193,0.104-3.152,0c-2.233-0.242-4.194-0.762-4.565,0.259c-0.446,1.233,2.614,3.072,5.181,4.095l-0.654,1.451H32.187
l0.972-2.71l-0.265-0.095l1.489-4.151L34.34,4.838l0-0.001c-0.598-0.206-1.923-0.877-2.208-1.643
c-0.063-0.171-0.119-0.449,0.133-0.878c0.472-0.806,4.493-0.834,8.604-0.06L41.182,0.6c-2.083-0.392-8.988-1.491-10.369,0.863
c-0.448,0.765-0.538,1.566-0.26,2.317c0.314,0.847,1.046,1.482,1.737,1.919l-0.982,2.738l-0.265-0.095L26.489,21.04
c-2.335-0.953-4.889-1.482-7.566-1.482c-1.016,0-2.013,0.077-2.988,0.223l0.184,1.109C6.998,22.245,0,30.106,0,39.604
c0,10.451,8.472,18.923,18.923,18.923c7.83,0,14.548-4.755,17.426-11.535l1.027,0.453c1.025-2.408,1.593-5.058,1.593-7.841
c0-7.59-4.22-14.193-10.44-17.597l0.99-2.76l18.15,20.153c-0.65,0.892-1.043,1.983-1.043,3.172c0,2.989,2.423,5.413,5.413,5.413
c0.22,0,0.437-0.018,0.649-0.043l0.851,3.226h-1.23v2.247h4.795v-2.247h-1.822L54.31,47.48c1.773-0.823,3.017-2.576,3.121-4.635
l3.868-0.41c1.367,9.105,9.215,16.091,18.702,16.091c10.45,0,18.923-8.472,18.923-18.923c0-0.424-0.02-0.843-0.047-1.261
C98.878,38.347,98.878,38.35,98.878,38.354z M34.476,39.604c0,8.59-6.963,15.554-15.553,15.554S3.37,48.193,3.37,39.604
c0-8.589,6.963-15.553,15.553-15.553c2.274,0,4.433,0.493,6.38,1.37l-2.558,7.132l-3.009,4.622c-0.25-0.081-0.512-0.136-0.789-0.136
c-1.417,0-2.565,1.148-2.565,2.564c0,1.417,1.148,2.565,2.565,2.565c1.417,0,2.565-1.148,2.565-2.565
c0-0.522-0.158-1.008-0.427-1.414l3.125-4.8l2.6-7.189C31.396,28.905,34.476,33.894,34.476,39.604z M53.19,37.285
c-0.372-0.081-0.756-0.126-1.151-0.126c-0.186,0-0.368,0.01-0.548,0.027l-0.953-3.613h1.371v-2.246h-4.795v2.246h1.682l1.066,4.045
c-0.182,0.08-0.353,0.178-0.524,0.276L30.38,16.846l1-2.789h32.283L53.19,37.285z M60.004,40.879l-2.742,0.291
c-0.324-1.202-1.048-2.239-2.025-2.957l10.185-22.586l3.961,6.977c-5.66,3.543-9.427,9.831-9.427,17
C59.955,40.033,59.976,40.457,60.004,40.879z M64.448,39.604c0-5.495,2.853-10.321,7.154-13.087l6.264,11.033
c-0.396,0.411-0.672,0.934-0.78,1.517l-12.618,1.34C64.455,40.14,64.448,39.873,64.448,39.604z M80.001,55.157
c-7.747,0-14.168-5.665-15.354-13.077l12.614-1.339c0.446,1.074,1.505,1.83,2.74,1.83c1.64,0,2.969-1.328,2.969-2.968
c0-1.639-1.329-2.968-2.969-2.968c-0.23,0-0.453,0.032-0.669,0.082l-6.265-11.035c2.087-1.042,4.441-1.632,6.934-1.632
c8.59,0,15.553,6.964,15.553,15.553C95.554,48.193,88.591,55.157,80.001,55.157z"/>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 KiB

@@ -0,0 +1,175 @@
#= require jquery
#= require jquery_ujs
#= require jquery.ui.sortable
#= require jquery.turbolinks
#= require turbolinks
#= require foundation
# FRONT END
# JS HANDLEBARS TEMPLATES
# require handlebars.runtime
# require jquery_nested_form
# I18n
#= require i18n
#= require i18n/translations
# ALL THE REST
#= require_tree .
'use strict'
I18n.defaultLocale = '<%= I18n.default_locale %>'
I18n.locale = $('html').attr 'lang'
try Typekit.load() catch
startSpinner = ->
$('#loading-spinner').show()
stopSpinner = ->
$('#loading-spinner').fadeOut()
# Turbolinks Spinner
document.addEventListener 'page:fetch', startSpinner
document.addEventListener 'page:receive', stopSpinner
readURL = (input) ->
reader = null
if input.files && input.files[0]
reader = new FileReader()
reader.readAsDataURL input.files[0]
reader.onload = (e) ->
$(input).prev().attr('src', e.target.result)
createOverlay = () ->
if $('#overlay').length > 0
$('#overlay').remove()
$('body').append('<div id="overlay" class="loading"><div id="overlay-inner"></div></div>')
$('#overlay-dlg')
setOverlayHTML = (html) ->
$('#overlay-inner').append('<div id="overlay-dlg">' + html + '</div>');
$('#overlay').removeAttr('class').click(destroyOverlay)
destroyOverlay = () ->
$('#overlay').remove()
selectA = (type, event, $emptyObj) ->
event.preventDefault()
# = $(this)
$overlay = createOverlay()
objs = []
$('.' + type + '-select-field.added input.' + type + '-id').each () -> obj.push($(this).val())
$.post $emptyObj.data().url + (if type == 'organization' then '/nonhosts' else '/nonmembers'), {added: objs},
(html) ->
setOverlayHTML(html).addClass('' + type + '-select')
$('#select-' + type + '-list a').click (event) ->
event.preventDefault()
$this = $(this)
$old_field = $emptyObj.closest('.field')
$field = $old_field.clone()
oldID = parseInt($old_field.find('input[type="hidden"]').attr('name').match(/\[(\d+)\]\[id\]/)[1])
newID = oldID + 1
$field.find('input.' + type + '-id').val($this.data().id)
$field.find('.' + type + 'name').html($this.find('.' + type + 'name').html()).before('<img src="' + $this.find('img').attr('src') + '" />')
$field.find('.select-' + type + '').remove()
$field.removeClass('new').addClass('added')
$old_field.html (i, html) ->
pregex = new RegExp('\\[' + oldID + '\\]', 'g');
aregex = new RegExp('_' + oldID + '_', 'g');
html.replace(pregex, '[' + newID + ']').replace(aregex, '_' + newID + '_')
$field.insertBefore($old_field)
$('a.select-' + type + '').click (event) -> selectA(type, event, $(this))
destroyOverlay()
return
, 'html'
updateFormField = () ->
$form = $('form#new_registration_form_field')
$field_type = $form.find('#registration_form_field_field_type')
field_type = $field_type.val()
$form.find('.registration-form-field-field').hide()
$form.find('.registration-form-field-field.field-type-' + field_type).show()
updateFormFieldForm = () ->
$('form #registration_form_field_field_type').change updateFormField
updateFormField()
$('form#new_registration_form_field').submit (event) ->
event.preventDefault()
$form = $(this)
serialized = $form.serialize()
$.post $form.attr('action'), serialized,
(json) ->
$form.replaceWith(json.form)
$('#registration-form-field-list').html(json.list)
updateFormFieldForm()
, 'json'
updateFormFieldList = () ->
$('#registration-form-field-list .add-form-field').click () ->
$.post 'form/add-field', {field: $(this).data().id},
(json) ->
$('#conference-form').html(json.form)
$('#registration-form-field-list').html(json.list)
#console.log json
updateFormFieldList()
return
$('#conference-form .remove-form-field').click () ->
$.post 'form/remove-field', {field: $(this).data().id},
(json) ->
$('#conference-form').html(json.form)
$('#registration-form-field-list').html(json.list)
updateFormFieldList()
return
$ ->
$(document).foundation();
$('.field.country-select select').change () ->
$country = $(this)
country = $country.val()
$territory = $('.field.subregion-select select')
if $territory.data().country == country
$territory.removeClass('can cant').addClass('can')
return
$.post '/location/territories', {country: country},
(json) ->
$territory.html('')
if json && Object.keys(json).length
$.each json, (code, name) ->
$territory.append($('<option>').text(name).attr('value', code))
return
$territory.removeClass('can cant').addClass('can')
$territory.data().country = country
else
$territory.removeClass('can cant').addClass('cant')
return
, 'json'
return
$('img + input[type="file"]').change () ->
readURL(this);
$('a.select-user, a.select-organization').click (event) -> selectA($(this).attr('class').match(/(^|\s)select\-([^\s]+)/)[2], event, $(this))
updateFormFieldForm()
updateFormFieldList()
$('ul.sortable').sortable
handle: '.drag-sort',
items: 'li',
update: (event, props) ->
$(this).children().each (index, child) ->
$(child).find('.sortable-position').val(index + 1)
url = $(this).data().url
if url
data = $(this).find('input, select, textarea').serialize()
$.post url, data#,
# (json) ->
# console.log json
#, 'json'
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
+121
View File
@@ -0,0 +1,121 @@
# I18n
#= require i18n
#= require i18n/translations
'use strict'
$(document).ready ->
$('#translation-control form').unbind('submit').bind('submit', (event)->
event.preventDefault()
event.stopPropagation()
$form = $(this)
serialized = $form.serialize()
$form.find('select, button, textarea').prop 'disabled', true
$.post $form.attr('action'), serialized,
(json) ->
if json.success
$span = $('.translate-me[data-translate-key="' + json.key + '"]')
$span.html(json.translation)
$span.attr('data-translate-untranslated', json.translation)
$span.removeClass 'untranslated'
else if json.test
console.log json.test
$form.find('select, button, textarea').prop 'disabled', false
return
, 'json'
return
)
$('.translate-me').click (event)->
if event.altKey
event.preventDefault()
key = $(this).attr('data-translate-key')
$('#translationkey').val key
resetTranslation key
$('#translationvalue').focus()
return
#$('#translationvalue, #translationkey').focus ->
$('#translation-control *').focus ->
key = $('#translationkey').val()
selectTranslation key
updateTranslation key
return
$('#translationkey').change (event)->
#$('#translationvalue').val('')
key = $('#translationkey').val()
selectTranslation key
resetTranslation key
#$('#translation').focus()
#console.log event
return
# $('#translationvalue, #translationkey').blur ->
$('#translation-control *').blur ->
selectTranslation()
return
$('#translationvalue').bind 'input propertychange', ()->
updateTranslation $('#translationkey').val()
return
return
selectTranslation = (key)->
$span = $('.translate-me.selected');
$span.removeClass 'selected'
$span.removeClass 'preview'
$('#translatevars').hide()
$('#translatepluralizations').hide()
$('#translatevars ul').html ''
$('#translationhascount').val('0')
if key
$target = $('.translate-me[data-translate-key="' + key + '"]')
if !$target || !$target.length
return
vars = $target.addClass('selected').data().vars
if vars
keys = Object.keys(vars)
if keys.length
for i in [0...keys.length]
$('#translatevars ul').append ('<li class="var-' + keys[i] + '" title="Value: ' + vars[keys[i]] + '">' + keys[i] + '</li>')
if keys[i] == 'count'
$('#translatepluralizations').show()
$('#translationhascount').val('1')
$('#translatevars').show()
else
$span.html ()->
$(this).attr('data-translate-untranslated')
return
updateTranslation = (key)->
$span = $('.translate-me[data-translate-key="' + key + '"]')
val = $('#translationvalue').val()
is_preview = ($span.hasClass 'preview')
$('#translatevars li').removeClass('used')
if val
if !is_preview
$span.addClass 'preview'
if !$span || !$span.length
return
vars = $span.data().vars
keys = Object.keys(vars)
for i in [0...keys.length]
_var = new RegExp('%{' + keys[i] + '}')
if val.match _var
# console.log 'Match!'
$('#translatevars li.var-' + keys[i]).addClass('used')
val = val.replace _var, vars[keys[i]]
else
if is_preview
$span.removeClass 'preview'
$span.html (val || $span.attr('data-translate-untranslated'))
return
resetTranslation = (key)->
$target = $('.translate-me[data-translate-key="' + key + '"]')
if $target && $target.length
translated = $target.data().translateTranslated
counts = ['zero', 'one', 'two', 'few', 'many']
for i in counts
val = translated[key + '.' + i]
$('#translationvalue_' + i).val(val || '')
$('#translationpluralization_' + i).prop('checked', !!val)
val = (translated[key] || translated[key + '.other'])
$('#translationvalue').val(val || '')
return
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
+3
View File
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
@@ -0,0 +1,37 @@
#= require jquery
#= require jquery_ujs
#= require jquery.turbolinks
#= require turbolinks
#= require foundation
# FRONT END
# JS HANDLEBARS TEMPLATES
# require handlebars.runtime
# I18n
#= require i18n
#= require i18n/translations
# ALL THE REST
#= require_tree .
'use strict'
I18n.defaultLocale = '<%= I18n.default_locale %>'
I18n.locale = $('html').attr 'lang'
startSpinner = ->
$('#loading-spinner').show()
stopSpinner = ->
$('#loading-spinner').fadeOut()
# Turbolinks Spinner
document.addEventListener 'page:fetch', startSpinner
document.addEventListener 'page:receive', stopSpinner
alert('123');
$ ->
$(document).foundation();
@@ -0,0 +1,3 @@
// Place all the styles related to the conference_admins controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the conference_host_organizations controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the conference_registration_responses controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the conference_registrations controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the conference_registraton_form_fields controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the conference_types controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the conferences controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,3 @@
// Place all the styles related to the Locations controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the organization_statuses controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the organizations controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the registration_form_fields controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+354 -22
View File
@@ -4,38 +4,370 @@
*/
#main-container, #footer, #nav-inner {
max-width: $large-screen;
margin: 0 auto;
html, #footer .container {
background-color: $primary-color
}
$body-background-color: #EEE;
$main-container-background-color: #F4F4F4;
$content-background-color: #FFF;
$layout-border-color: #DDD;
body {
background-color: $body-background-color;
height: auto;
}
#main-container {
background-color: $main-container-background-color;
border: 1px solid $layout-border-color;
border-top: 0;
#footer {
//margin-top: 5em;
}
#main {
border-right: 1px solid $layout-border-color;
padding: 0;
main {
padding-bottom: 5em;
background-color: $white;
body.page-style-form & {
//background-color: $color-5;
}
.no-banner & {
//border-top: 0.25em solid $primary-color;
}
/*.no-banner &:before {
content: '///////////////';
color: #CCC;
font-weight: 100;
font-family: $header-font-family;
letter-spacing: 0.33333em;
font-size: 1em;
text-align: center;
display: block;
font-style: italic;
}*/
}
article.content {
background-color: $content-background-color;
border-left: 1px solid $layout-border-color;
$body-background-color: $white;
//$main-container-background-color: #F4F4F4;
//$content-background-color: #FFF;
//$layout-border-color: #DDD;
$translation-control-background-color: $black !default;
$translation-control-text-color: $black !default;
#translation-control {
position: fixed;
padding: 0.75em;
background-color: $translation-control-background-color;
height: 3.75em;
overflow: visible;
z-index: 2;
width: 100%;
top: 0;
.row {
max-width: none;
}
select, button {
height: 2.66667em;
margin: 0;
}
select {
}
textarea {
margin: 0 0 0.5em;
min-height: 2.66667em;
}
button {
line-height: 0em;
font-size: 0.875em;
}
input, label {
margin: 0.75em 0 0 0.5em;
}
+ .top-bar {
margin-top: 3.75em;
}
}
#translatepluralizations {
display: none;
background-color: $translation-control-background-color;
color: $translation-control-text-color;
padding: 0.5em;
#article-header {
border-bottom: 1px solid $layout-border-color;
padding: 0;
label {
color: inherit;
}
}
#translatevars {
display: none;
//position: absolute;
background-color: $translation-control-background-color;
color: $translation-control-text-color;
z-index: 1;
padding: 0.5em;
//margin-top: 0.5em;
ul {
list-style: none;
margin: 0;
display: inline-block;
}
li {
font-family: monospace;
font-size: 0.9em;
display: inline-block;
margin-right: 0.5em;
&:before {
content: '%{';
}
&:after {
content: '}';
}
&.used {
text-decoration: line-through;
}
}
}
#banner {
//min-height: 5em;
//background-color: rgba($black, 0.125);
position: relative;
color: $black;
//border-top: 0.25em solid $primary-color;
padding: 1em 0;
margin-bottom: 2.5em;
text-align: center;
&.has-image {
padding: 0;
margin-bottom: 5em;
color: #FFF;
background-size: cover;
background-position: center 75%;
min-height: 25em;
box-shadow: inset 0 10em 50em -5em #000;
text-shadow: 0 0.1em 0.75em #000;
text-align: left;
&:before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-color: $primary-color;
opacity: 0.5;
}
&:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1.1em;
background-image: linear-gradient(45deg, $white 25%, transparent 25%), linear-gradient(-45deg, transparent 75%, $white 75%);
background-image: -ms-linear-gradient(45deg, $white 25%, transparent 25%), -ms-linear-gradient(-45deg, transparent 75%, $white 75%);
background-image: -moz-linear-gradient(56deg, $white 25%, transparent 25%), -moz-linear-gradient(-56deg, transparent 75%, $white 75%);
background-image: -ms-linear-gradient(56deg, $white 25%, transparent 25%), -ms-linear-gradient(-56deg, transparent 75%, $white 75%);
background-image: -webkit-linear-gradient(56deg, $white 20%, transparent 25%), -webkit-linear-gradient(-56deg, transparent 75%, $white 80%);
background-repeat: repeat-x;
background-size: 1.25em 1.1em;
background-position: 0 bottom;
//padding-top: 0.6em;
//margin-top: 5em;
}
body.organizations & {
border-color: $organization-color;
&:before {
background-color: $organization-color;
}
&.has-image {
h1 {
color: #FFF;
}
h2 {
color: #CCC;
}
}
}
.page-style-emphasize-banner & {
padding-top: $topbar-height;
}
h1 {
color: $color-3;
}
h2, em {
color: $color-2;
}
}
figure img {
margin-bottom: -2.5em;
box-shadow: 0 0.1em 0.75em #000;
position: relative;
z-index: 1;
}
h1, h2 {
line-height: 1em;
}
.info {
padding-top: 5%;
}
p {
line-height: 1.3333em;
margin-top: 1.5em;
//box-shadow: 0 0 5em 1em #000;
//background-color: rgba(#000, 0.7);
//border-radius: 1em;
}
.button {
color: inherit;
background-color: $primary-color;// rgba(0, 0, 0, 0.75);
}
}
.top-bar {
.name h1 a {
text-shadow:
0 -3px $black, 0 1px $black,
0 3px $color-1, 0 4px $black,
0 6px $color-2, 0 7px $black,
0 9px $color-3, 0 10px $black,
0 12px $color-4, 0 13px $black,
0 15px $color-5, 0 16px $black;
-webkit-transition: text-shadow 333ms ease-in-out;
-moz-transition: text-shadow 333ms ease-in-out;
-ms-transition: text-shadow 333ms ease-in-out;
transition: text-shadow 333ms ease-in-out;
line-height: 2em;
padding-left: 0;
&:hover {
text-shadow:
0 0 $black, 0 0 $black,
0 0 $color-1, 0 0 $black,
0 0 $color-2, 0 0 $black,
0 0 $color-3, 0 0 $black,
0 0 $color-4, 0 0 $black,
0 0 $color-5, 0 0 $black;
}
}
.top-bar-section ul li > a {
text-transform: uppercase;
font-weight: 800;
font-size: 1em;
&.button {
background-color: transparent;
margin: 1em 0;
color: $white;
border: 1px solid;
}
}
.user-profile {
padding: 0;
a {
padding: 0em 0.75em;
}
img {
width: 2.25em;
border-radius: 33%;
}
}
.has-form {
padding: 0;
&.sign-out a.button {
font-size: 0.6em;
margin-top: 2.25em;
}
}
.page-style-emphasize-banner & {
position: absolute;
left: 0;
right: 0;
z-index: 1;
text-shadow: 0 0.1em 0.75em #000;
}
}
.centered {
text-align: center;
}
select.cant {
display: none;
}
body.organizations-show {
main > nav .tabs {
position: relative;
top: -2em;
}
}
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.75);
text-align: center;
#overlay-inner {
text-align: center;
display: inline-block;
background-color: $black;
padding: 2em;
margin: 5% 0 0 0;
padding-top: 0;
box-shadow: 0 0 1em #000;
}
&.user-select {
#overlay-inner {
min-width: 50%;
}
}
}
.user-preview {
display: inline-block;
margin: 0.5em;
position: relative;
label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
color: #FFF;
background-color: rgba(#000, 0.5);
}
}
@@ -4,3 +4,532 @@
*/
$translate-me-bgcolor: rgba(255, 0, 0, 0.25) !default;
$translate-me-outline-color: rgba(255, 0, 0, 0.5) !default;
.translate-me {
cursor: url(translate_cursor-32.png) 8 31, auto;
&.untranslated {
background-color: $translate-me-bgcolor;
@include opacity(0.5);
}
&:hover,
&.selected {
@include opacity(1);
outline: 2px solid $translate-me-outline-color;
outline-offset: 0;
outline-style: dashed;
}
&.preview {
background-color: inherit;
outline-style: solid;
-webkit-animation: preview-translation 2s infinite;
}
}
@-webkit-keyframes preview-translation {
0% {
outline-color: rgba(0, 255, 0, 1);
}
50% {
outline-color: rgba(0, 255, 0, 0);
}
100% {
outline-color: rgba(0, 255, 0, 1);
}
}
.button, button, input[type="file"] {
background-color: rgba($white, 0.5);
border-radius: 1.5em;
color: $primary-color;
border: 1px solid;
padding: 0.75em 1.5em;
text-transform: uppercase;
text-shadow: none;
&:hover {
color: #FFF;
}
}
input[type="file"] {
display: none;/*inline-block;
width: auto;
text-align: center;
-webkit-appearance: none;
background-color: #FFF;
border-radius: 1.5em;
padding: 0.6em 0;
cursor: pointer;
font-family: $button-font-family;
outline: none;
&:hover {
background-color: $primary-color;
}
&::-webkit-file-upload-button {
visibility: none;
opacity: 0;
width: 0;
}*/
}
input[type="date"] {
&:invalid {
color: #CCC;
}
}
h2 {
line-height: 1em;
margin-bottom: 0.5em;
}
select {
border: 1px solid #CCC;
border-radius: 0.2em;
font-size: 1.25em;
font-family: $body-font-family;
color: rgba($black, 0.75);
padding: 0 0.5em;
height: 2em;
box-shadow: 0 2px #CCC;
outline: 0;
background-color: #FFF;
&.small {
font-size: 0.8em;
margin: 0 0 0.25em;
box-shadow: none;
}
}
fieldset {
background-color: #FFF;
legend {
margin-left: -2em;
font-family: $header-font-family;
}
}
.field {
margin-bottom: 1em;
position: relative;
//border: 1px solid #CCC;
//border-radius: 1.25em 0 0 1.25em;
//overflow: hidden;
label {
//float: left;
font-family: $header-font-family;
line-height: 2.5em;
//margin-right: 1em;
//background-color: rgba(#FFF, 0.2);
//color: $white;
display: inline-block;
position: absolute;
top: 100%;
margin: -1.333em 1.75em 0;
span {
padding: 0 1em;
font-size: 0.9em;
}
}
div {
//border: 1px solid #EEE;
//border-width: 1px 0 0 1px;
}
input, select, button {
//margin: 0;
height: auto;
line-height: 1em;
padding: 0.333em 0.5em;
}
input:not([type="file"]) {
border-bottom: 1px dashed #CCC;
line-height: 1.25em;
}
textarea {
border: 1px dashed #CCC;
height: 10em;
font-size: 1.25em;
}
&.text-area {
label {
top: 1px;
right: 1px;
bottom: 1px;
left: 1px;
display: block;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: rgba(255, 255, 255, 0.5);
text-align: center;
width: calc(100% - 2px);
height: calc(100% - 2px);
span {
position: relative;
top: 50%;
text-align: center;
font-size: 1.25em;
font-weight: 600;
margin: -1em 0 0;
padding: 0 0.5em;
display: inline-block;
border-radius: 0.5em;
box-shadow: 0 0 1em;
}
}
textarea:focus + label {
display: none;
}
.medium-8 > & {
font-size: 0.75em;
}
}
input, select, button, label span {
background-color: $white;
color: #333;
}
&.field-slug {
position: absolute;
top: 100%;
right: 0;
left: 50%;
margin-top: -0.875em;
margin-right: 0.9em;
margin-left: 10em;
z-index: 1;
input {
font-size: 1em;
padding-bottom: 0;
background-color: $gray;
}
label {
margin-top: -3em;
right: 100%;
margin-right: 0;
}
}
&.image-field {
label {
position: relative;
margin: 0;
border-bottom: 1px dotted #CCC;
padding-bottom: 1.3em;
text-align: center;
> span {
position: absolute;
background-color: transparent;
left: 0;
right: 0;
}
&:hover {
img {
@include opacity(0.75);
}
}
}
}
&.check-box {
div {
float: left;
font-size: 1.75em;
//display: none;
/*input {
-webkit-appearance: none;
}
&:before {
content: '';
width: 1em;
height: 1em;
display: inline-block;
border: 1px solid #CCC;
line-height: 0.75em;
text-align: center;
font-size: 1.6667em;
border-radius: 0.2em;
box-shadow: 0 1.9px #CCC;
content: '✓';
}*/
}
label {
position: relative;
margin: 0;
display: inline-block;
}
}
&.select {
overflow: auto;
label {
position: static;
margin: 0;
float: left;
& + div {
float: left;
}
}
}
&.user-select-field,
&.organization-select-field {
display: inline-block;
position: relative;
border: 1px solid #CCC;
padding: 0.25em;
margin: 1em 1em 0;
border-radius: 0.25em;
float: left;
box-shadow: 0 2px #CCC;
overflow: hidden;
label {
display: block;
position: relative;
margin: 0 auto;
}
input[type="checkbox"] {
position: absolute;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
width: 100%;
width: calc(100% - 0.6em);
height: 9em;
border: 0;
background-color: transparent;
cursor: pointer;
outline: none;
+ label {
display: none;
width: 100%;
width: calc(100% - 0.06em);
height: 0.94em;
font-size: 8em;
position: absolute;
top: 0.03em;
left: 0.03em;
color: $white;
line-height: 0.75em;
text-align: center;
text-shadow: 0 2px 0px $black;
}
&:checked {
+ label {
background-color: rgba($warning-color, 0.5);
display: block;
text-shadow: 0 2px 0px $warning-color;
}
}
&:hover {
+ label {
display: block;
color: $warning-color;
}
}
}
&.new {
input[type="checkbox"],
input[type="checkbox"] + label {
display: none;
}
}
img {
display: block;
}
.select-user,
.select-organization {
margin-bottom: 0.5em;
display: block;
}
.remove-item {
position: absolute;
top: 0;
right: 0;
&:before {
content: '';
height: 0;
width: 0;
border-width: 0 2.5em 2.5em 0;
border-color: transparent $black;
border-style: solid;
position: absolute;
right: 0;
top: 0;
}
&:after {
content: '×';
color: $white;
position: absolute;
right: 0;
top: 0;
width: 1.5em;
height: 1.25em;
text-align: center;
line-height: 1.25em;
}
}
}
}
form > div:first-child + .columns:not([class*="medium-"]) {
margin-top: 1em;
margin-bottom: 3em;
> .field:first-child {
text-align: center;
label {
//margin-left: 0;
//margin-right: 0;
left: 0;
right: 0;
}
input {
font-size: 3em;
text-align: center;
}
}
//+ .columns[class*="medium-"] {//+ .columns[class*="medium-"] {
//padding-top: 1em;
//}
}
.actions {
text-align: center;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
font-style: italic;
color: rgba(0, 0, 0, 0.25);
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
font-style: italic;
color: rgba(0, 0, 0, 0.25);
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
font-style: italic;
color: rgba(0, 0, 0, 0.25);
}
::-webkit-input-placeholder {
font-style: italic;
color: rgba(0, 0, 0, 0.25);
}
input:-webkit-autofill {
-webkit-box-shadow:0 0 0 5em $input-bg-color inset; /* Change the color to your own background color */
-webkit-text-fill-color: $input-font-color;
&:focus {
-webkit-box-shadow: 0 0 0 2em $input-focus-bg-color inset; /* Change the color to your own background color */
}
}
.tabs {
display: inline-block;
border: 1px solid #CCC;
margin: 1em 0;
box-shadow: 0 0.1em 0 #CCC;
border-radius: 0.25em;
overflow: hidden;
font-family: $header-font-family;
.tab {
border-right: 1px solid #CCC;
display: inline-block;
//padding: 0.25em 1em 0.3333em 0.75em;
padding: 0.5em 1.5em 0.5em 1.25em;
background-color: #FFF;
color: $black;
float: left;
&.current {
background-color: #EEE;
background-color: #EEE;
}
&:hover {
background-color: #DDD;
color: $black;
}
&:last-child {
border: 0;
}
}
}
.sub-tabs {
background-color: #E1E1E1;
padding: 1em;
margin-bottom: 2em;
a {
display: block;
position: relative;
padding: 1em;
margin: 1px 0;
height: 3.1em;
font-size: 1.1em;
font-family: $header-font-family;
color: $white;
background-color: $black;
text-transform: uppercase;
&.current {
background-color: $primary-color;
&:after {
content: '';
position: absolute;
top: 0;
left: 100%;
width: 0;
height: 0;
border: 1.55em solid $primary-color;
border-color: transparent transparent transparent $primary-color;
border-width: 1.55em 0 1.55em 1.55em;
}
}
}
}
+69
View File
@@ -0,0 +1,69 @@
body {
background-color: #fff;
color: #333;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a {
color: #000;
&:visited {
color: #666;
}
&:hover {
color: #fff;
background-color: #000;
}
}
div {
&.field, &.actions {
margin-bottom: 10px;
}
}
#notice {
color: green;
}
.field_with_errors {
padding: 2px;
background-color: red;
display: table;
}
#error_explanation {
width: 450px;
border: 2px solid red;
padding: 7px;
padding-bottom: 0;
margin-bottom: 20px;
background-color: #f0f0f0;
h2 {
text-align: left;
font-weight: bold;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: -7px;
margin-bottom: 0px;
background-color: #c00;
color: #fff;
}
ul li {
font-size: 12px;
list-style: square;
}
}
@@ -0,0 +1,3 @@
// Place all the styles related to the user_organization_relationships controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the UserSessions controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+3
View File
@@ -0,0 +1,3 @@
// Place all the styles related to the users controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+3
View File
@@ -0,0 +1,3 @@
// Place all the styles related to the versions controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the workshop_presentation_styles controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the workshop_resources controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
// Place all the styles related to the workshop_streams controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+65
View File
@@ -0,0 +1,65 @@
/*
Syntax error: File to import not found or unreadable: foundation.
Load paths:
C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/blueprint/stylesheets
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets
Compass::SpriteImporter
on line 1327 of C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/foundation_and_overrides.scss
from line 20 of C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/application.css.scss
Backtrace:
C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/foundation_and_overrides.scss:1327
C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/application.css.scss:20
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:67:in `rescue in import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:45:in `import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:28:in `imported_file'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:37:in `css_import?'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:217:in `visit_import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in `block in visit_import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in `map'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:227:in `visit_import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `map'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `block in visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:128:in `visit_root'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:7:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/root_node.rb:20:in `render'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/engine.rb:315:in `_render'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/engine.rb:262:in `render'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:140:in `block (2 levels) in compile'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:139:in `block in compile'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/logger.rb:45:in `red'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:138:in `compile'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:103:in `block (2 levels) in run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `each'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `block in run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/commands/update_project.rb:45:in `perform'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/commands/base.rb:18:in `execute'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/commands/project_base.rb:19:in `execute'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in `run!'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:30:in `block in <top (required)>'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:44:in `call'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:44:in `<top (required)>'
C:/RailsInstaller/Ruby2.0.0/bin/compass:23:in `load'
C:/RailsInstaller/Ruby2.0.0/bin/compass:23:in `<main>'
*/
body:before {
white-space: pre;
font-family: monospace;
content: "Syntax error: File to import not found or unreadable: foundation.\A Load paths:\A C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets\A C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/blueprint/stylesheets\A C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets\A Compass::SpriteImporter\A on line 1327 of C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/foundation_and_overrides.scss\A from line 20 of C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/application.css.scss"; }
@@ -0,0 +1,58 @@
/*
Syntax error: File to import not found or unreadable: foundation.
Load paths:
C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/blueprint/stylesheets
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets
Compass::SpriteImporter
on line 1327 of C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/foundation_and_overrides.scss
Backtrace:
C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/foundation_and_overrides.scss:1327
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:67:in `rescue in import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:45:in `import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:28:in `imported_file'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb:37:in `css_import?'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:217:in `visit_import'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `map'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:53:in `visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:121:in `with_environment'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:108:in `visit_children'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `block in visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:128:in `visit_root'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb:37:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:100:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb:7:in `visit'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/tree/root_node.rb:20:in `render'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/engine.rb:315:in `_render'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/sass-3.2.12/lib/sass/engine.rb:262:in `render'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:140:in `block (2 levels) in compile'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:139:in `block in compile'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/logger.rb:45:in `red'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:138:in `compile'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:118:in `compile_if_required'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:103:in `block (2 levels) in run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `each'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:101:in `block in run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:126:in `timed'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/compiler.rb:100:in `run'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/commands/update_project.rb:45:in `perform'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/commands/base.rb:18:in `execute'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/commands/project_base.rb:19:in `execute'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/lib/compass/exec/sub_command_ui.rb:15:in `run!'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:30:in `block in <top (required)>'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:44:in `call'
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/bin/compass:44:in `<top (required)>'
C:/RailsInstaller/Ruby2.0.0/bin/compass:23:in `load'
C:/RailsInstaller/Ruby2.0.0/bin/compass:23:in `<main>'
*/
body:before {
white-space: pre;
font-family: monospace;
content: "Syntax error: File to import not found or unreadable: foundation.\A Load paths:\A C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets\A C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/blueprint/stylesheets\A C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/compass-0.12.2/frameworks/compass/stylesheets\A Compass::SpriteImporter\A on line 1327 of C:/Users/Godwin/My Sites/bikebike/app/assets/stylesheets/foundation_and_overrides.scss"; }
File diff suppressed because it is too large Load Diff
+37
View File
@@ -0,0 +1,37 @@
#= require jquery
#= require jquery_ujs
#= require jquery.turbolinks
#= require turbolinks
#= require foundation
# FRONT END
# JS HANDLEBARS TEMPLATES
# require handlebars.runtime
# I18n
#= require i18n
#= require i18n/translations
# ALL THE REST
#= require_tree .
'use strict'
I18n.defaultLocale = '<%= I18n.default_locale %>'
I18n.locale = $('html').attr 'lang'
startSpinner = ->
$('#loading-spinner').show()
stopSpinner = ->
$('#loading-spinner').fadeOut()
# Turbolinks Spinner
document.addEventListener 'page:fetch', startSpinner
document.addEventListener 'page:receive', stopSpinner
alert('321');
$ ->
$(document).foundation();