diff options
| author | Jesse Morgan <jesse@jesterpm.net> | 2015-02-25 18:47:09 -0800 | 
|---|---|---|
| committer | Jesse Morgan <jesse@jesterpm.net> | 2015-02-25 18:47:09 -0800 | 
| commit | 4e94e31aa0acda54ae962840b57ae42ca6e71185 (patch) | |
| tree | 19fa5fdc8c3bea56fb93463508a81514acd0f604 /app/assets | |
| parent | f031bdc3e5214c699123830d8cc9f9309b792a68 (diff) | |
rails generate scaffold Download
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/javascripts/downloads.coffee | 3 | ||||
| -rw-r--r-- | app/assets/stylesheets/downloads.scss | 3 | ||||
| -rw-r--r-- | app/assets/stylesheets/scaffolds.scss | 69 | 
3 files changed, 75 insertions, 0 deletions
| diff --git a/app/assets/javascripts/downloads.coffee b/app/assets/javascripts/downloads.coffee new file mode 100644 index 0000000..24f83d1 --- /dev/null +++ b/app/assets/javascripts/downloads.coffee @@ -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/ diff --git a/app/assets/stylesheets/downloads.scss b/app/assets/stylesheets/downloads.scss new file mode 100644 index 0000000..e2d0260 --- /dev/null +++ b/app/assets/stylesheets/downloads.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Downloads controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ diff --git a/app/assets/stylesheets/scaffolds.scss b/app/assets/stylesheets/scaffolds.scss new file mode 100644 index 0000000..6ec6a8f --- /dev/null +++ b/app/assets/stylesheets/scaffolds.scss @@ -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; +  } +} | 
