First commit on road to Rails 4.2 compatibility
13
.gitignore
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
||||
#
|
||||
# If you find yourself ignoring temporary files generated by your text editor
|
||||
# or operating system, you probably want to add a global ignore instead:
|
||||
# git config --global core.excludesfile '~/.gitignore_global'
|
||||
|
||||
# Ignore bundler config.
|
||||
/.bundle
|
||||
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*
|
||||
!/log/.keep
|
||||
/tmp
|
||||
60
Gemfile
Normal file
@@ -0,0 +1,60 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
|
||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||
gem 'rails', '4.2.0'
|
||||
# Use postgresql as the database for Active Record
|
||||
gem 'pg'
|
||||
# Use SCSS for stylesheets
|
||||
gem 'sass-rails', '~> 5.0'
|
||||
# Use Uglifier as compressor for JavaScript assets
|
||||
gem 'uglifier', '>= 1.3.0'
|
||||
# Use CoffeeScript for .coffee assets and views
|
||||
gem 'coffee-rails', '~> 4.1.0'
|
||||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
||||
# gem 'therubyracer', platforms: :ruby
|
||||
|
||||
# Use jquery as the JavaScript library
|
||||
gem 'jquery-rails'
|
||||
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
||||
gem 'turbolinks'
|
||||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
||||
gem 'jbuilder', '~> 2.0'
|
||||
# bundle exec rake doc:rails generates the API under doc/api.
|
||||
gem 'sdoc', '~> 0.4.0', group: :doc
|
||||
|
||||
gem 'devise'
|
||||
|
||||
gem 'permalink_fu'
|
||||
|
||||
gem 'simple_column_search'
|
||||
|
||||
gem 'acts-as-taggable-on', '~>3.5'
|
||||
|
||||
gem 'will_paginate'
|
||||
|
||||
gem 'gravtastic'
|
||||
|
||||
gem 'twitter-bootstrap-rails'
|
||||
|
||||
#gem 'rails-widgets'
|
||||
|
||||
# Use ActiveModel has_secure_password
|
||||
# gem 'bcrypt', '~> 3.1.7'
|
||||
|
||||
# Use Unicorn as the app server
|
||||
# gem 'unicorn'
|
||||
|
||||
# Use Capistrano for deployment
|
||||
# gem 'capistrano-rails', group: :development
|
||||
|
||||
group :development, :test do
|
||||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
||||
gem 'byebug'
|
||||
|
||||
# Access an IRB console on exception pages or by using <%= console %> in views
|
||||
gem 'web-console', '~> 2.0'
|
||||
|
||||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
||||
gem 'spring'
|
||||
end
|
||||
192
Gemfile.lock
Normal file
@@ -0,0 +1,192 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
actionmailer (4.2.0)
|
||||
actionpack (= 4.2.0)
|
||||
actionview (= 4.2.0)
|
||||
activejob (= 4.2.0)
|
||||
mail (~> 2.5, >= 2.5.4)
|
||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||
actionpack (4.2.0)
|
||||
actionview (= 4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
rack (~> 1.6.0)
|
||||
rack-test (~> 0.6.2)
|
||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
||||
actionview (4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
builder (~> 3.1)
|
||||
erubis (~> 2.7.0)
|
||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
||||
activejob (4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
globalid (>= 0.3.0)
|
||||
activemodel (4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
builder (~> 3.1)
|
||||
activerecord (4.2.0)
|
||||
activemodel (= 4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
arel (~> 6.0)
|
||||
activesupport (4.2.0)
|
||||
i18n (~> 0.7)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
minitest (~> 5.1)
|
||||
thread_safe (~> 0.3, >= 0.3.4)
|
||||
tzinfo (~> 1.1)
|
||||
acts-as-taggable-on (3.5.0)
|
||||
activerecord (>= 3.2, < 5)
|
||||
arel (6.0.0)
|
||||
bcrypt (3.1.10)
|
||||
binding_of_caller (0.7.2)
|
||||
debug_inspector (>= 0.0.1)
|
||||
builder (3.2.2)
|
||||
byebug (4.0.1)
|
||||
columnize (= 0.9.0)
|
||||
rb-readline (= 0.5.2)
|
||||
coffee-rails (4.1.0)
|
||||
coffee-script (>= 2.2.0)
|
||||
railties (>= 4.0.0, < 5.0)
|
||||
coffee-script (2.3.0)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.9.1)
|
||||
columnize (0.9.0)
|
||||
debug_inspector (0.0.2)
|
||||
devise (3.4.1)
|
||||
bcrypt (~> 3.0)
|
||||
orm_adapter (~> 0.1)
|
||||
railties (>= 3.2.6, < 5)
|
||||
responders
|
||||
thread_safe (~> 0.1)
|
||||
warden (~> 1.2.3)
|
||||
erubis (2.7.0)
|
||||
execjs (2.4.0)
|
||||
globalid (0.3.3)
|
||||
activesupport (>= 4.1.0)
|
||||
gravtastic (3.2.6)
|
||||
hike (1.2.3)
|
||||
i18n (0.7.0)
|
||||
jbuilder (2.2.11)
|
||||
activesupport (>= 3.0.0, < 5)
|
||||
multi_json (~> 1.2)
|
||||
jquery-rails (4.0.3)
|
||||
rails-dom-testing (~> 1.0)
|
||||
railties (>= 4.2.0)
|
||||
thor (>= 0.14, < 2.0)
|
||||
json (1.8.2)
|
||||
loofah (2.0.1)
|
||||
nokogiri (>= 1.5.9)
|
||||
mail (2.6.3)
|
||||
mime-types (>= 1.16, < 3)
|
||||
mime-types (2.4.3)
|
||||
mini_portile (0.6.2)
|
||||
minitest (5.5.1)
|
||||
multi_json (1.11.0)
|
||||
nokogiri (1.6.6.2)
|
||||
mini_portile (~> 0.6.0)
|
||||
orm_adapter (0.5.0)
|
||||
permalink_fu (1.0.0)
|
||||
pg (0.18.1)
|
||||
rack (1.6.0)
|
||||
rack-test (0.6.3)
|
||||
rack (>= 1.0)
|
||||
rails (4.2.0)
|
||||
actionmailer (= 4.2.0)
|
||||
actionpack (= 4.2.0)
|
||||
actionview (= 4.2.0)
|
||||
activejob (= 4.2.0)
|
||||
activemodel (= 4.2.0)
|
||||
activerecord (= 4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
bundler (>= 1.3.0, < 2.0)
|
||||
railties (= 4.2.0)
|
||||
sprockets-rails
|
||||
rails-deprecated_sanitizer (1.0.3)
|
||||
activesupport (>= 4.2.0.alpha)
|
||||
rails-dom-testing (1.0.5)
|
||||
activesupport (>= 4.2.0.beta, < 5.0)
|
||||
nokogiri (~> 1.6.0)
|
||||
rails-deprecated_sanitizer (>= 1.0.1)
|
||||
rails-html-sanitizer (1.0.2)
|
||||
loofah (~> 2.0)
|
||||
railties (4.2.0)
|
||||
actionpack (= 4.2.0)
|
||||
activesupport (= 4.2.0)
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rake (10.4.2)
|
||||
rb-readline (0.5.2)
|
||||
rdoc (4.2.0)
|
||||
responders (2.1.0)
|
||||
railties (>= 4.2.0, < 5)
|
||||
sass (3.4.13)
|
||||
sass-rails (5.0.1)
|
||||
railties (>= 4.0.0, < 5.0)
|
||||
sass (~> 3.1)
|
||||
sprockets (>= 2.8, < 4.0)
|
||||
sprockets-rails (>= 2.0, < 4.0)
|
||||
tilt (~> 1.1)
|
||||
sdoc (0.4.1)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
rdoc (~> 4.0)
|
||||
simple_column_search (1.1.0)
|
||||
spring (1.3.3)
|
||||
sprockets (2.12.3)
|
||||
hike (~> 1.2)
|
||||
multi_json (~> 1.0)
|
||||
rack (~> 1.0)
|
||||
tilt (~> 1.1, != 1.3.0)
|
||||
sprockets-rails (2.2.4)
|
||||
actionpack (>= 3.0)
|
||||
activesupport (>= 3.0)
|
||||
sprockets (>= 2.8, < 4.0)
|
||||
thor (0.19.1)
|
||||
thread_safe (0.3.5)
|
||||
tilt (1.4.1)
|
||||
turbolinks (2.5.3)
|
||||
coffee-rails
|
||||
twitter-bootstrap-rails (3.2.0)
|
||||
actionpack (~> 4.1)
|
||||
execjs (~> 2.2)
|
||||
rails (~> 4.1)
|
||||
railties (~> 4.1)
|
||||
tzinfo (1.2.2)
|
||||
thread_safe (~> 0.1)
|
||||
uglifier (2.7.1)
|
||||
execjs (>= 0.3.0)
|
||||
json (>= 1.8.0)
|
||||
warden (1.2.3)
|
||||
rack (>= 1.0)
|
||||
web-console (2.1.2)
|
||||
activemodel (>= 4.0)
|
||||
binding_of_caller (>= 0.7.2)
|
||||
railties (>= 4.0)
|
||||
sprockets-rails (>= 2.0, < 4.0)
|
||||
will_paginate (3.0.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
acts-as-taggable-on (~> 3.5)
|
||||
byebug
|
||||
coffee-rails (~> 4.1.0)
|
||||
devise
|
||||
gravtastic
|
||||
jbuilder (~> 2.0)
|
||||
jquery-rails
|
||||
permalink_fu
|
||||
pg
|
||||
rails (= 4.2.0)
|
||||
sass-rails (~> 5.0)
|
||||
sdoc (~> 0.4.0)
|
||||
simple_column_search
|
||||
spring
|
||||
turbolinks
|
||||
twitter-bootstrap-rails
|
||||
uglifier (>= 1.3.0)
|
||||
web-console (~> 2.0)
|
||||
will_paginate
|
||||
28
README.rdoc
Normal file
@@ -0,0 +1,28 @@
|
||||
== README
|
||||
|
||||
This README would normally document whatever steps are necessary to get the
|
||||
application up and running.
|
||||
|
||||
Things you may want to cover:
|
||||
|
||||
* Ruby version
|
||||
|
||||
* System dependencies
|
||||
|
||||
* Configuration
|
||||
|
||||
* Database creation
|
||||
|
||||
* Database initialization
|
||||
|
||||
* How to run the test suite
|
||||
|
||||
* Services (job queues, cache servers, search engines, etc.)
|
||||
|
||||
* Deployment instructions
|
||||
|
||||
* ...
|
||||
|
||||
|
||||
Please feel free to use a different markup language if you do not plan to run
|
||||
<tt>rake doc:app</tt>.
|
||||
6
Rakefile
Normal file
@@ -0,0 +1,6 @@
|
||||
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
||||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
||||
|
||||
require File.expand_path('../config/application', __FILE__)
|
||||
|
||||
Rails.application.load_tasks
|
||||
BIN
app/.DS_Store
vendored
Normal file
0
app/assets/images/.keep
Normal file
BIN
app/assets/images/cheatsheet-bg.png
Normal file
|
After Width: | Height: | Size: 260 B |
BIN
app/assets/images/icons/001_01.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/icons/001_02.png
Normal file
|
After Width: | Height: | Size: 1003 B |
BIN
app/assets/images/icons/001_03.png
Normal file
|
After Width: | Height: | Size: 862 B |
BIN
app/assets/images/icons/001_04.png
Normal file
|
After Width: | Height: | Size: 815 B |
BIN
app/assets/images/icons/001_05.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/icons/001_06.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/icons/001_07.png
Normal file
|
After Width: | Height: | Size: 779 B |
BIN
app/assets/images/icons/001_08.png
Normal file
|
After Width: | Height: | Size: 868 B |
BIN
app/assets/images/icons/001_09.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/assets/images/icons/001_10.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
app/assets/images/icons/001_11.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_12.png
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
app/assets/images/icons/001_13.png
Normal file
|
After Width: | Height: | Size: 589 B |
BIN
app/assets/images/icons/001_14.png
Normal file
|
After Width: | Height: | Size: 932 B |
BIN
app/assets/images/icons/001_15.png
Normal file
|
After Width: | Height: | Size: 1023 B |
BIN
app/assets/images/icons/001_16.png
Normal file
|
After Width: | Height: | Size: 953 B |
BIN
app/assets/images/icons/001_17.png
Normal file
|
After Width: | Height: | Size: 930 B |
BIN
app/assets/images/icons/001_18.png
Normal file
|
After Width: | Height: | Size: 906 B |
BIN
app/assets/images/icons/001_19.png
Normal file
|
After Width: | Height: | Size: 905 B |
BIN
app/assets/images/icons/001_20.png
Normal file
|
After Width: | Height: | Size: 839 B |
BIN
app/assets/images/icons/001_21.png
Normal file
|
After Width: | Height: | Size: 1011 B |
BIN
app/assets/images/icons/001_22.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_23.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_24.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_25.png
Normal file
|
After Width: | Height: | Size: 513 B |
BIN
app/assets/images/icons/001_26.png
Normal file
|
After Width: | Height: | Size: 444 B |
BIN
app/assets/images/icons/001_27.png
Normal file
|
After Width: | Height: | Size: 502 B |
BIN
app/assets/images/icons/001_28.png
Normal file
|
After Width: | Height: | Size: 462 B |
BIN
app/assets/images/icons/001_29.png
Normal file
|
After Width: | Height: | Size: 944 B |
BIN
app/assets/images/icons/001_30.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_31.png
Normal file
|
After Width: | Height: | Size: 1020 B |
BIN
app/assets/images/icons/001_32.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/assets/images/icons/001_33.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_34.png
Normal file
|
After Width: | Height: | Size: 973 B |
BIN
app/assets/images/icons/001_35.png
Normal file
|
After Width: | Height: | Size: 961 B |
BIN
app/assets/images/icons/001_36.png
Normal file
|
After Width: | Height: | Size: 984 B |
BIN
app/assets/images/icons/001_37.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_38.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_39.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/assets/images/icons/001_40.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/assets/images/icons/001_41.png
Normal file
|
After Width: | Height: | Size: 718 B |
BIN
app/assets/images/icons/001_42.png
Normal file
|
After Width: | Height: | Size: 737 B |
BIN
app/assets/images/icons/001_43.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
app/assets/images/icons/001_44.png
Normal file
|
After Width: | Height: | Size: 673 B |
BIN
app/assets/images/icons/001_45.png
Normal file
|
After Width: | Height: | Size: 531 B |
BIN
app/assets/images/icons/001_46.png
Normal file
|
After Width: | Height: | Size: 801 B |
BIN
app/assets/images/icons/001_47.png
Normal file
|
After Width: | Height: | Size: 796 B |
BIN
app/assets/images/icons/001_48.png
Normal file
|
After Width: | Height: | Size: 760 B |
BIN
app/assets/images/icons/001_49.png
Normal file
|
After Width: | Height: | Size: 735 B |
BIN
app/assets/images/icons/001_50.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
app/assets/images/icons/001_51.png
Normal file
|
After Width: | Height: | Size: 831 B |
BIN
app/assets/images/icons/001_52.png
Normal file
|
After Width: | Height: | Size: 929 B |
BIN
app/assets/images/icons/001_53.png
Normal file
|
After Width: | Height: | Size: 870 B |
BIN
app/assets/images/icons/001_54.png
Normal file
|
After Width: | Height: | Size: 848 B |
BIN
app/assets/images/icons/001_55.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_56.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
app/assets/images/icons/001_57.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/assets/images/icons/001_58.png
Normal file
|
After Width: | Height: | Size: 815 B |
BIN
app/assets/images/icons/001_59.png
Normal file
|
After Width: | Height: | Size: 907 B |
BIN
app/assets/images/icons/001_60.png
Normal file
|
After Width: | Height: | Size: 853 B |
BIN
app/assets/images/widgets/tooltip_arrow.gif
Normal file
|
After Width: | Height: | Size: 180 B |
BIN
app/assets/images/widgets/tooltip_image.gif
Normal file
|
After Width: | Height: | Size: 206 B |
16
app/assets/javascripts/application.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
||||
// listed below.
|
||||
//
|
||||
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
||||
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
||||
//
|
||||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
||||
// compiled file.
|
||||
//
|
||||
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
||||
// about supported directives.
|
||||
//
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require turbolinks
|
||||
//= require_tree .
|
||||
3
app/assets/javascripts/categories.coffee
Normal 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/
|
||||
3
app/assets/javascripts/docs.coffee
Normal 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/
|
||||
3
app/assets/javascripts/forums.coffee
Normal 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/
|
||||
3
app/assets/javascripts/home.coffee
Normal 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/
|
||||
3
app/assets/javascripts/posts.coffee
Normal 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/
|
||||
3
app/assets/javascripts/topics.coffee
Normal 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/
|
||||
15
app/assets/stylesheets/application.css
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* 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 any plugin's vendor/assets/stylesheets directory 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 bottom of the
|
||||
* compiled file so the styles you add here take precedence over styles defined in any styles
|
||||
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
||||
* file per style scope.
|
||||
*
|
||||
*= require_tree .
|
||||
*= require_self
|
||||
*/
|
||||
488
app/assets/stylesheets/base.css
Normal file
@@ -0,0 +1,488 @@
|
||||
/* @override
|
||||
http://localhost:3004/stylesheets/base.css?1238554754
|
||||
http://localhost:3004/stylesheets/base.css?1238594177
|
||||
http://localhost:3004/stylesheets/base.css?1238601594
|
||||
http://localhost:3004/stylesheets/base.css?1238602276
|
||||
http://localhost:3004/stylesheets/base.css?1238602715
|
||||
http://localhost:3004/stylesheets/base.css?1238603018
|
||||
http://localhost:3004/stylesheets/base.css?1238606727
|
||||
http://localhost:3004/stylesheets/base.css?1238626538
|
||||
http://localhost:3004/stylesheets/base.css?1238626934
|
||||
http://localhost:3004/stylesheets/base.css?1238628384
|
||||
http://localhost:3004/stylesheets/base.css?1238629520
|
||||
http://localhost:3004/stylesheets/base.css?1238630077
|
||||
http://localhost:3004/stylesheets/base.css?1238630412
|
||||
http://localhost:3004/stylesheets/base.css?1238685661
|
||||
http://localhost:3004/stylesheets/base.css?1238959890
|
||||
http://localhost:3004/stylesheets/base.css?1238959973
|
||||
http://localhost:3004/stylesheets/base.css?1239040573
|
||||
*/
|
||||
|
||||
/* === FLASH MESSAGES === */
|
||||
|
||||
li.feed-item {
|
||||
list-style-image: url(../images/16/1.png);
|
||||
margin-top: 5px;
|
||||
text-shadow: #000000 0 0 0;
|
||||
list-style-position: outside;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
thead th {
|
||||
background-color: #eee;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
div#flash-notice {
|
||||
|
||||
}
|
||||
|
||||
div#flash-warning {
|
||||
|
||||
}
|
||||
|
||||
div#flash-error {
|
||||
|
||||
}
|
||||
|
||||
/* === ERROR MESSAGES === */
|
||||
div#errorExplanation {
|
||||
|
||||
}
|
||||
|
||||
div#errorExplanation h2 {
|
||||
|
||||
}
|
||||
|
||||
div#errorExplanation p {
|
||||
|
||||
}
|
||||
|
||||
div#errorExplanation ul {
|
||||
|
||||
}
|
||||
|
||||
div#errorExplanation ul li {
|
||||
|
||||
}
|
||||
|
||||
/* === FORMS === */
|
||||
div.fieldWithErrors {
|
||||
|
||||
}
|
||||
|
||||
div.fieldWithErrors label {
|
||||
|
||||
}
|
||||
|
||||
tr.table-header {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
div.fieldWithErrors input, div.fieldWithErrors select,
|
||||
div.fieldWithErrors textarea
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* === GLOBAL STYLES === */
|
||||
|
||||
h2 {
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
|
||||
body {
|
||||
font: 70% "Lucida Grande", Lucida, Verdana, sans-serif;
|
||||
background: url(/images/cheatsheet-bg.png) repeat-x;
|
||||
}
|
||||
|
||||
/*
|
||||
body.home {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
body.sub {
|
||||
background-color: white;
|
||||
}
|
||||
*/
|
||||
|
||||
.container {
|
||||
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
color: #fff;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.add-form {
|
||||
background-color: rgba(192,255,193,0.25);
|
||||
padding: 10px
|
||||
}
|
||||
|
||||
tbody {
|
||||
border: 1px solid #333;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #004084;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 190%;
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
padding-bottom: 40px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
padding-top: 5px;
|
||||
background-color: #feffe9;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #ab2a30;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width:98%;
|
||||
height:175px;
|
||||
padding:5px;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size:12px;
|
||||
color:#333;
|
||||
line-height:1.5;
|
||||
border:1px solid #c4c4c4;
|
||||
border-right:1px solid #e9e9e9;
|
||||
border-bottom:1px solid #e9e9e9;
|
||||
}
|
||||
|
||||
input {
|
||||
width:98%;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: normal;
|
||||
font-size: 100%;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
thead {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
div#tagged-with {
|
||||
margin-top: 20px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
div.admin-tools {
|
||||
background-color: #eee;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
|
||||
/* === GLOBAL CLASSES === */
|
||||
|
||||
.active {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
tr.even td {
|
||||
border-top: 1px #ddd solid;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
tr.odd td {
|
||||
border-top: 1px #ddd solid;
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 100%;
|
||||
background-color: #eee;
|
||||
border-bottom: #ddd;
|
||||
}
|
||||
|
||||
.author {
|
||||
font-weight: normal;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
/* === LAYOUT === */
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#top-bar {
|
||||
height: 5px;
|
||||
background-color: #3cceff;
|
||||
}
|
||||
|
||||
#main-left {
|
||||
height: 500px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#left-nav ul {
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
#left-nav ul li a {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
margin-right: 5px;
|
||||
padding: 8px;
|
||||
list-style-image: none;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#left-nav ul li a:hover {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
background-color: #eee;
|
||||
padding: 8px;
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
#left-nav ul li a.current {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
margin-right: 5px;
|
||||
padding: 8px;
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
#left-nav ul li {
|
||||
font-size: 120%;
|
||||
background-color: #fff;
|
||||
list-style-image: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* === HEADER STYLES === */
|
||||
|
||||
#above-header {
|
||||
font-size: 100%;
|
||||
padding-top: 0px;
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#above-header ul {
|
||||
list-style-type: none;
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#above-header ul li {
|
||||
display: inline;
|
||||
padding-right: 4px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
#above-header ul li a{
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
#main-body {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#buttons ul.buttons li img {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
div.status {
|
||||
float: right;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
#header-nav {
|
||||
margin-top: 17px;
|
||||
}
|
||||
|
||||
#header-nav {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#header-nav ul li a {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
margin-right: 5px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#header-nav ul li a:hover {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
background-color: #eee;
|
||||
padding: 8px;
|
||||
|
||||
}
|
||||
|
||||
#header-nav ul li a.current {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
margin-right: 5px;
|
||||
padding: 8px;
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
#header-nav ul li {
|
||||
display: inline-block;
|
||||
font-size: 120%;
|
||||
background-color: #fff;
|
||||
|
||||
}
|
||||
|
||||
/* === HOME PAGE === */
|
||||
|
||||
div.topic {
|
||||
font-size: 150%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
div.topic-points {
|
||||
color: #00843B;
|
||||
margin-right: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
background-color: #EAFFCA;
|
||||
float: left;
|
||||
text-align: center;
|
||||
min-width: 30px;
|
||||
}
|
||||
|
||||
div#topic-vote {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
div.topic-message {
|
||||
text-align: left;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
ul.buttons {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.buttons li {
|
||||
margin: 15px;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
font-size: 120%;
|
||||
display: block;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
/* === FORUM === */
|
||||
|
||||
table#forums {
|
||||
}
|
||||
|
||||
#forums tbody tr td {
|
||||
border-bottom: 1px solid #eee;
|
||||
|
||||
}
|
||||
|
||||
#forums tbody tr {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
/* === DISCUSSION === */
|
||||
|
||||
.bottom-border {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
div.topic-status {
|
||||
padding-bottom: 2px;
|
||||
padding-top: 2px;
|
||||
margin-bottom: 20px;
|
||||
font-variant: small-caps;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#topic-stats {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#topic-stats div.topic-points {
|
||||
font-size: 400%;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#topic-stats div.topic-related table tbody tr td div.topic-points {
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
#topic-stats h3 {
|
||||
margin-top: 20px;
|
||||
color: #666;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
|
||||
}
|
||||
|
||||
/* === MAIN PANEL === */
|
||||
|
||||
#main-content {
|
||||
font-size: 110%;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#flash-message {
|
||||
height: 20px;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
#main-panel {
|
||||
background: url(/images/main-panel.gif) no-repeat;
|
||||
height: 278px;
|
||||
}
|
||||
|
||||
/* === FOOTER === */
|
||||
|
||||
#footer-left h3, #footer-right h3 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#footer h5 {
|
||||
color: #fff;;
|
||||
}
|
||||
|
||||
#footer-wrapper {
|
||||
width: 100%;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
background-color: #333;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
26
app/assets/stylesheets/blueprint/ie.css
Normal file
@@ -0,0 +1,26 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
|
||||
|
||||
Blueprint CSS Framework 0.8
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See LICENSE for more info.
|
||||
* See README for instructions on how to use Blueprint.
|
||||
* For credits and origins, see AUTHORS.
|
||||
* This is a compressed file. See the sources in the 'src' directory.
|
||||
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* ie.css */
|
||||
body {text-align:center;}
|
||||
.container {text-align:left;}
|
||||
* html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
|
||||
* html legend {margin:0px -8px 16px 0;padding:0;}
|
||||
ol {margin-left:2em;}
|
||||
sup {vertical-align:text-top;}
|
||||
sub {vertical-align:text-bottom;}
|
||||
html>body p code {*white-space:normal;}
|
||||
hr {margin:-8px auto 11px;}
|
||||
.clearfix, .container {display:inline-block;}
|
||||
* html .clearfix, * html .container {height:1%;}
|
||||
fieldset {padding-top:0;}
|
||||
BIN
app/assets/stylesheets/blueprint/plugins/buttons/icons/cross.png
Normal file
|
After Width: | Height: | Size: 655 B |
BIN
app/assets/stylesheets/blueprint/plugins/buttons/icons/key.png
Normal file
|
After Width: | Height: | Size: 455 B |
BIN
app/assets/stylesheets/blueprint/plugins/buttons/icons/tick.png
Normal file
|
After Width: | Height: | Size: 537 B |
32
app/assets/stylesheets/blueprint/plugins/buttons/readme.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Buttons
|
||||
|
||||
* Gives you great looking CSS buttons, for both <a> and <button>.
|
||||
* Demo: particletree.com/features/rediscovering-the-button-element
|
||||
|
||||
|
||||
Credits
|
||||
----------------------------------------------------------------
|
||||
|
||||
* Created by Kevin Hale [particletree.com]
|
||||
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
|
||||
|
||||
|
||||
Usage
|
||||
----------------------------------------------------------------
|
||||
|
||||
1) Add this plugin to lib/settings.yml.
|
||||
See compress.rb for instructions.
|
||||
|
||||
2) Use the following HTML code to place the buttons on your site:
|
||||
|
||||
<button type="submit" class="button positive">
|
||||
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
||||
</button>
|
||||
|
||||
<a class="button" href="/password/reset/">
|
||||
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
||||
</a>
|
||||
|
||||
<a href="#" class="button negative">
|
||||
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
||||
</a>
|
||||
97
app/assets/stylesheets/blueprint/plugins/buttons/screen.css
Normal file
@@ -0,0 +1,97 @@
|
||||
/* --------------------------------------------------------------
|
||||
|
||||
buttons.css
|
||||
* Gives you some great CSS-only buttons.
|
||||
|
||||
Created by Kevin Hale [particletree.com]
|
||||
* particletree.com/features/rediscovering-the-button-element
|
||||
|
||||
See Readme.txt in this folder for instructions.
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
a.button, button {
|
||||
display:block;
|
||||
float:left;
|
||||
margin: 0.7em 0.5em 0.7em 0;
|
||||
padding:5px 10px 5px 7px; /* Links */
|
||||
|
||||
border:1px solid #dedede;
|
||||
border-top:1px solid #eee;
|
||||
border-left:1px solid #eee;
|
||||
|
||||
background-color:#f5f5f5;
|
||||
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
||||
font-size:100%;
|
||||
line-height:130%;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
color:#565656;
|
||||
cursor:pointer;
|
||||
}
|
||||
button {
|
||||
width:auto;
|
||||
overflow:visible;
|
||||
padding:4px 10px 3px 7px; /* IE6 */
|
||||
}
|
||||
button[type] {
|
||||
padding:4px 10px 4px 7px; /* Firefox */
|
||||
line-height:17px; /* Safari */
|
||||
}
|
||||
*:first-child+html button[type] {
|
||||
padding:4px 10px 3px 7px; /* IE7 */
|
||||
}
|
||||
button img, a.button img{
|
||||
margin:0 3px -3px 0 !important;
|
||||
padding:0;
|
||||
border:none;
|
||||
width:16px;
|
||||
height:16px;
|
||||
float:none;
|
||||
}
|
||||
|
||||
|
||||
/* Button colors
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Standard */
|
||||
button:hover, a.button:hover{
|
||||
background-color:#dff4ff;
|
||||
border:1px solid #c2e1ef;
|
||||
color:#336699;
|
||||
}
|
||||
a.button:active{
|
||||
background-color:#6299c5;
|
||||
border:1px solid #6299c5;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
/* Positive */
|
||||
body .positive {
|
||||
color:#529214;
|
||||
}
|
||||
a.positive:hover, button.positive:hover {
|
||||
background-color:#E6EFC2;
|
||||
border:1px solid #C6D880;
|
||||
color:#529214;
|
||||
}
|
||||
a.positive:active {
|
||||
background-color:#529214;
|
||||
border:1px solid #529214;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
/* Negative */
|
||||
body .negative {
|
||||
color:#d12f19;
|
||||
}
|
||||
a.negative:hover, button.negative:hover {
|
||||
background:#fbe3e4;
|
||||
border:1px solid #fbc2c4;
|
||||
color:#d12f19;
|
||||
}
|
||||
a.negative:active {
|
||||
background-color:#d12f19;
|
||||
border:1px solid #d12f19;
|
||||
color:#fff;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
Fancy Type
|
||||
|
||||
* Gives you classes to use if you'd like some
|
||||
extra fancy typography.
|
||||
|
||||
Credits and instructions are specified above each class
|
||||
in the fancy-type.css file in this directory.
|
||||
|
||||
|
||||
Usage
|
||||
----------------------------------------------------------------
|
||||
|
||||
1) Add this plugin to lib/settings.yml.
|
||||
See compress.rb for instructions.
|
||||
@@ -0,0 +1,71 @@
|
||||
/* --------------------------------------------------------------
|
||||
|
||||
fancy-type.css
|
||||
* Lots of pretty advanced classes for manipulating text.
|
||||
|
||||
See the Readme file in this folder for additional instructions.
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Indentation instead of line shifts for sibling paragraphs. */
|
||||
p + p { text-indent:2em; margin-top:-1.5em; }
|
||||
form p + p { text-indent: 0; } /* Don't want this in forms. */
|
||||
|
||||
|
||||
/* For great looking type, use this code instead of asdf:
|
||||
<span class="alt">asdf</span>
|
||||
Best used on prepositions and ampersands. */
|
||||
|
||||
.alt {
|
||||
color: #666;
|
||||
font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
/* For great looking quote marks in titles, replace "asdf" with:
|
||||
<span class="dquo">“</span>asdf”
|
||||
(That is, when the title starts with a quote mark).
|
||||
(You may have to change this value depending on your font size). */
|
||||
|
||||
.dquo { margin-left: -.5em; }
|
||||
|
||||
|
||||
/* Reduced size type with incremental leading
|
||||
(http://www.markboulton.co.uk/journal/comments/incremental_leading/)
|
||||
|
||||
This could be used for side notes. For smaller type, you don't necessarily want to
|
||||
follow the 1.5x vertical rhythm -- the line-height is too much.
|
||||
|
||||
Using this class, it reduces your font size and line-height so that for
|
||||
every four lines of normal sized type, there is five lines of the sidenote. eg:
|
||||
|
||||
New type size in em's:
|
||||
10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)
|
||||
|
||||
New line-height value:
|
||||
12px x 1.5 = 18px (old line-height)
|
||||
18px x 4 = 72px
|
||||
72px / 5 = 14.4px (new line height)
|
||||
14.4px / 10px = 1.44 (new line height in em's) */
|
||||
|
||||
p.incr, .incr p {
|
||||
font-size: 10px;
|
||||
line-height: 1.44em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
|
||||
/* Surround uppercase words and abbreviations with this class.
|
||||
Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */
|
||||
|
||||
.caps {
|
||||
font-variant: small-caps;
|
||||
letter-spacing: 1px;
|
||||
text-transform: lowercase;
|
||||
font-size:1.2em;
|
||||
line-height:1%;
|
||||
font-weight:bold;
|
||||
padding:0 2px;
|
||||
}
|
||||
|
After Width: | Height: | Size: 777 B |
|
After Width: | Height: | Size: 641 B |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 691 B |
BIN
app/assets/stylesheets/blueprint/plugins/link-icons/icons/im.png
Normal file
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 591 B |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 663 B |
@@ -0,0 +1,18 @@
|
||||
Link Icons
|
||||
* Icons for links based on protocol or file type.
|
||||
|
||||
This is not supported in IE versions < 7.
|
||||
|
||||
|
||||
Credits
|
||||
----------------------------------------------------------------
|
||||
|
||||
* Marc Morgan
|
||||
* Olav Bjorkoy [bjorkoy.com]
|
||||
|
||||
|
||||
Usage
|
||||
----------------------------------------------------------------
|
||||
|
||||
1) Add this line to your HTML:
|
||||
<link rel="stylesheet" href="css/blueprint/plugins/link-icons/screen.css" type="text/css" media="screen, projection">
|
||||
@@ -0,0 +1,40 @@
|
||||
/* --------------------------------------------------------------
|
||||
|
||||
link-icons.css
|
||||
* Icons for links based on protocol or file type.
|
||||
|
||||
See the Readme file in this folder for additional instructions.
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Use this class if a link gets an icon when it shouldn't. */
|
||||
body a.noicon {
|
||||
background:transparent none !important;
|
||||
padding:0 !important;
|
||||
margin:0 !important;
|
||||
}
|
||||
|
||||
/* Make sure the icons are not cut */
|
||||
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
|
||||
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
|
||||
a[href$=".rdf"], a[href^="aim:"] {
|
||||
padding:2px 22px 2px 0;
|
||||
margin:-2px 0;
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
/* External links */
|
||||
a[href^="http:"] { background-image: url(icons/external.png); }
|
||||
a[href^="mailto:"] { background-image: url(icons/email.png); }
|
||||
a[href^="http:"]:visited { background-image: url(icons/visited.png); }
|
||||
|
||||
/* Files */
|
||||
a[href$=".pdf"] { background-image: url(icons/pdf.png); }
|
||||
a[href$=".doc"] { background-image: url(icons/doc.png); }
|
||||
a[href$=".xls"] { background-image: url(icons/xls.png); }
|
||||
|
||||
/* Misc */
|
||||
a[href$=".rss"],
|
||||
a[href$=".rdf"] { background-image: url(icons/feed.png); }
|
||||
a[href^="aim:"] { background-image: url(icons/im.png); }
|
||||
10
app/assets/stylesheets/blueprint/plugins/rtl/readme.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
RTL
|
||||
* Mirrors Blueprint, so it can be used with Right-to-Left languages.
|
||||
|
||||
By Ran Yaniv Hartstein, ranh.co.il
|
||||
|
||||
Usage
|
||||
----------------------------------------------------------------
|
||||
|
||||
1) Add this line to your HTML:
|
||||
<link rel="stylesheet" href="css/blueprint/plugins/rtl/screen.css" type="text/css" media="screen, projection">
|
||||
109
app/assets/stylesheets/blueprint/plugins/rtl/screen.css
Normal file
@@ -0,0 +1,109 @@
|
||||
/* --------------------------------------------------------------
|
||||
|
||||
rtl.css
|
||||
* Mirrors Blueprint for left-to-right languages
|
||||
|
||||
By Ran Yaniv Hartstein [ranh.co.il]
|
||||
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
body .container { direction: rtl; }
|
||||
body .column {
|
||||
float: right;
|
||||
margin-right: 0;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
body .last { margin-left: 0; }
|
||||
body table .last { padding-left: 0; }
|
||||
|
||||
body .append-1 { padding-right: 0; padding-left: 40px; }
|
||||
body .append-2 { padding-right: 0; padding-left: 80px; }
|
||||
body .append-3 { padding-right: 0; padding-left: 120px; }
|
||||
body .append-4 { padding-right: 0; padding-left: 160px; }
|
||||
body .append-5 { padding-right: 0; padding-left: 200px; }
|
||||
body .append-6 { padding-right: 0; padding-left: 240px; }
|
||||
body .append-7 { padding-right: 0; padding-left: 280px; }
|
||||
body .append-8 { padding-right: 0; padding-left: 320px; }
|
||||
body .append-9 { padding-right: 0; padding-left: 360px; }
|
||||
body .append-10 { padding-right: 0; padding-left: 400px; }
|
||||
body .append-11 { padding-right: 0; padding-left: 440px; }
|
||||
body .append-12 { padding-right: 0; padding-left: 480px; }
|
||||
body .append-13 { padding-right: 0; padding-left: 520px; }
|
||||
body .append-14 { padding-right: 0; padding-left: 560px; }
|
||||
body .append-15 { padding-right: 0; padding-left: 600px; }
|
||||
body .append-16 { padding-right: 0; padding-left: 640px; }
|
||||
body .append-17 { padding-right: 0; padding-left: 680px; }
|
||||
body .append-18 { padding-right: 0; padding-left: 720px; }
|
||||
body .append-19 { padding-right: 0; padding-left: 760px; }
|
||||
body .append-20 { padding-right: 0; padding-left: 800px; }
|
||||
body .append-21 { padding-right: 0; padding-left: 840px; }
|
||||
body .append-22 { padding-right: 0; padding-left: 880px; }
|
||||
body .append-23 { padding-right: 0; padding-left: 920px; }
|
||||
|
||||
body .prepend-1 { padding-left: 0; padding-right: 40px; }
|
||||
body .prepend-2 { padding-left: 0; padding-right: 80px; }
|
||||
body .prepend-3 { padding-left: 0; padding-right: 120px; }
|
||||
body .prepend-4 { padding-left: 0; padding-right: 160px; }
|
||||
body .prepend-5 { padding-left: 0; padding-right: 200px; }
|
||||
body .prepend-6 { padding-left: 0; padding-right: 240px; }
|
||||
body .prepend-7 { padding-left: 0; padding-right: 280px; }
|
||||
body .prepend-8 { padding-left: 0; padding-right: 320px; }
|
||||
body .prepend-9 { padding-left: 0; padding-right: 360px; }
|
||||
body .prepend-10 { padding-left: 0; padding-right: 400px; }
|
||||
body .prepend-11 { padding-left: 0; padding-right: 440px; }
|
||||
body .prepend-12 { padding-left: 0; padding-right: 480px; }
|
||||
body .prepend-13 { padding-left: 0; padding-right: 520px; }
|
||||
body .prepend-14 { padding-left: 0; padding-right: 560px; }
|
||||
body .prepend-15 { padding-left: 0; padding-right: 600px; }
|
||||
body .prepend-16 { padding-left: 0; padding-right: 640px; }
|
||||
body .prepend-17 { padding-left: 0; padding-right: 680px; }
|
||||
body .prepend-18 { padding-left: 0; padding-right: 720px; }
|
||||
body .prepend-19 { padding-left: 0; padding-right: 760px; }
|
||||
body .prepend-20 { padding-left: 0; padding-right: 800px; }
|
||||
body .prepend-21 { padding-left: 0; padding-right: 840px; }
|
||||
body .prepend-22 { padding-left: 0; padding-right: 880px; }
|
||||
body .prepend-23 { padding-left: 0; padding-right: 920px; }
|
||||
|
||||
body .border {
|
||||
padding-right: 0;
|
||||
padding-left: 4px;
|
||||
margin-right: 0;
|
||||
margin-left: 5px;
|
||||
border-right: none;
|
||||
border-left: 1px solid #eee;
|
||||
}
|
||||
|
||||
body .colborder {
|
||||
padding-right: 0;
|
||||
padding-left: 24px;
|
||||
margin-right: 0;
|
||||
margin-left: 25px;
|
||||
border-right: none;
|
||||
border-left: 1px solid #eee;
|
||||
}
|
||||
|
||||
body .pull-1 { margin-left: 0; margin-right: -40px; }
|
||||
body .pull-2 { margin-left: 0; margin-right: -80px; }
|
||||
body .pull-3 { margin-left: 0; margin-right: -120px; }
|
||||
body .pull-4 { margin-left: 0; margin-right: -160px; }
|
||||
|
||||
body .push-0 { margin: 0 18px 0 0; }
|
||||
body .push-1 { margin: 0 18px 0 -40px; }
|
||||
body .push-2 { margin: 0 18px 0 -80px; }
|
||||
body .push-3 { margin: 0 18px 0 -120px; }
|
||||
body .push-4 { margin: 0 18px 0 -160px; }
|
||||
body .push-0, body .push-1, body .push-2,
|
||||
body .push-3, body .push-4 { float: left; }
|
||||
|
||||
|
||||
/* Typography with RTL support */
|
||||
body h1,body h2,body h3,
|
||||
body h4,body h5,body h6 { font-family: Arial, sans-serif; }
|
||||
html body { font-family: Arial, sans-serif; }
|
||||
body pre,body code,body tt { font-family: monospace; }
|
||||
|
||||
/* Mirror floats and margins on typographic elements */
|
||||
body p img { float: right; margin: 1.5em 0 1.5em 1.5em; }
|
||||
body dd, body ul, body ol { margin-left: 0; margin-right: 1.5em;}
|
||||
body td, body th { text-align:right; }
|
||||