smurfville 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +66 -0
- data/Rakefile +46 -0
- data/app/assets/images/smurfville/smurf.png +0 -0
- data/app/assets/javascripts/smurfville/application.js +1 -0
- data/app/assets/stylesheets/smurfville/application.css.sass +38 -0
- data/app/assets/stylesheets/smurfville/typography.css.sass.erb +0 -0
- data/app/controllers/smurf/application_controller.rb +4 -0
- data/app/controllers/smurf/styleguide_controller.rb +19 -0
- data/app/helpers/smurfville/application_helper.rb +4 -0
- data/app/helpers/smurfville/styleguide_helper.rb +14 -0
- data/app/views/layouts/smurf/application.html.erb +14 -0
- data/app/views/smurfville/styleguide/_color_var.html.haml +11 -0
- data/app/views/smurfville/styleguide/colors.html.haml +10 -0
- data/app/views/smurfville/styleguide/typography.html.haml +6 -0
- data/config/routes.rb +6 -0
- data/lib/smurfville/color_variable_parser.rb +71 -0
- data/lib/smurfville/engine.rb +5 -0
- data/lib/smurfville/typography_parser.rb +28 -0
- data/lib/smurfville/version.rb +3 -0
- data/lib/smurfville.rb +7 -0
- data/lib/tasks/smurfville_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/_typography.sass +37 -0
- data/test/dummy/app/assets/stylesheets/application.css.sass +11 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +61 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/smurfville.rb +2 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +8932 -0
- data/test/dummy/log/test.log +110 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/cache/assets/CBE/460/sprockets%2F82cd2698ea187319b82eee783227407b +0 -0
- data/test/dummy/tmp/cache/assets/CC3/D80/sprockets%2F664f76338152c770cfef980d5588be21 +0 -0
- data/test/dummy/tmp/cache/assets/CCA/0C0/sprockets%2F6c3e053393afe303432ca73f1b41490b +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CE3/2B0/sprockets%2Fac9929105133c62d94cedd5e46b52493 +0 -0
- data/test/dummy/tmp/cache/assets/D03/150/sprockets%2F82855a1c8339d7bef8a98868ab858f18 +0 -0
- data/test/dummy/tmp/cache/assets/D16/910/sprockets%2Ff4ea1f2c07dd541e81f481f835a64838 +0 -0
- data/test/dummy/tmp/cache/assets/D18/840/sprockets%2F50c1885539f61359c48af74fcae1df31 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D35/5E0/sprockets%2F50cfa004a8a405f2e48625bec5c583e6 +0 -0
- data/test/dummy/tmp/cache/assets/D44/0E0/sprockets%2Fe82cfc1252647fb8586c7abf2c2056c7 +0 -0
- data/test/dummy/tmp/cache/assets/D58/580/sprockets%2F82e92c71c797dac98897e20a7df20df7 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D5E/470/sprockets%2Fb90e61060b73e4c4c2466c5ad8acc06b +0 -0
- data/test/dummy/tmp/cache/assets/D8F/EC0/sprockets%2Fc501d0e26be5fc8f613a8faa5c003c49 +0 -0
- data/test/dummy/tmp/cache/assets/D97/AA0/sprockets%2F30c4ef2c6254a2c8ecedf8f7259c01b0 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/120/sprockets%2Fc5880aca76ccbb51f9388362e8afc1e6 +0 -0
- data/test/dummy/tmp/cache/assets/DF1/3C0/sprockets%2Fa6c7bdfdcdc7a50417324089c9a1abcc +0 -0
- data/test/dummy/tmp/cache/assets/DF2/040/sprockets%2Fabe2c880aeb0bf05a2651c9a3d68ce5f +0 -0
- data/test/dummy/tmp/sass-cache/8533189236bf1aa999c1f771fbe4dd9915738473/typography.sassc +0 -0
- data/test/functional/smurf/styleguide_controller_test.rb +9 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/smurf_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/color_variable_parser_test.rb +52 -0
- data/test/unit/helpers/smurf/styleguide_helper_test.rb +6 -0
- data/test/unit/sass/colors_01.sass +15 -0
- data/test/unit/sass/colors_02.css.sass +209 -0
- metadata +266 -0
@@ -0,0 +1,110 @@
|
|
1
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
4
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
5
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
16
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
17
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
23
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
33
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
35
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
36
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
47
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
48
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
49
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
52
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
53
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
54
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
55
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
56
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
57
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
59
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
61
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
63
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
64
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
65
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
70
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
72
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
73
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
74
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
75
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
76
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
77
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
78
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
79
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
80
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
82
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
83
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
85
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
89
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
90
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
91
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
92
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
93
|
+
|
94
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
95
|
+
|
96
|
+
|
97
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
98
|
+
|
99
|
+
|
100
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
101
|
+
|
102
|
+
|
103
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
104
|
+
|
105
|
+
|
106
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
107
|
+
|
108
|
+
|
109
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
110
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/smurf_test.rb
ADDED
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
class ColorVariablesTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
# ---- parse_variable_usage ----
|
6
|
+
|
7
|
+
test "parse_variable_usage" do
|
8
|
+
parser = Smurfville::ColorVariableParser.new
|
9
|
+
parser.parse_variable_usage "#{File.dirname(__FILE__)}/sass/colors_01.sass"
|
10
|
+
|
11
|
+
variable_counts = [
|
12
|
+
["$green", 2],
|
13
|
+
["$white", 2],
|
14
|
+
["$special", 3],
|
15
|
+
["$foo", nil]
|
16
|
+
]
|
17
|
+
|
18
|
+
variable_counts.each do |count_pair|
|
19
|
+
assert_equal count_pair[1], parser.variable_usage[count_pair[0]]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
test "print_variable_usage_count_for" do
|
24
|
+
parser = Smurfville::ColorVariableParser.new
|
25
|
+
parser.variable_usage = {"$green" => 1, "$special" => 2}
|
26
|
+
|
27
|
+
assert_equal 0, parser.print_variable_usage_count_for("$green")
|
28
|
+
assert_equal 1, parser.print_variable_usage_count_for("$special")
|
29
|
+
assert_equal 0, parser.print_variable_usage_count_for("$foo")
|
30
|
+
end
|
31
|
+
|
32
|
+
# ---- parse_color ----
|
33
|
+
|
34
|
+
test "parse_color with valid colors" do
|
35
|
+
equal_colors = [
|
36
|
+
["#000000", "#000"],
|
37
|
+
["#ff0000", "red"],
|
38
|
+
["#000000", "black"],
|
39
|
+
["#ffffff", "white"]
|
40
|
+
]
|
41
|
+
equal_colors.each do |color_pair|
|
42
|
+
assert_equal color_pair[0], Smurfville::ColorVariableParser.parse_color(color_pair[1]).html
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
test "parse_color with invalid colors" do
|
47
|
+
invalid_colors = [nil, "", true, "#0001", "gruen", "####", "#12", "#ffffff7", "(1, 2, 3)"] # didn't work: "#0xy000"
|
48
|
+
invalid_colors.each do |color|
|
49
|
+
assert_equal false, Smurfville::ColorVariableParser.parse_color(color)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,209 @@
|
|
1
|
+
|
2
|
+
// --- grid ---
|
3
|
+
|
4
|
+
$blueprint-grid-columns: 12
|
5
|
+
$blueprint-container-size: 940px
|
6
|
+
$blueprint-grid-margin: 20px
|
7
|
+
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
|
8
|
+
$blueprint-grid-padding: 12px
|
9
|
+
|
10
|
+
$bgp: $blueprint-grid-padding
|
11
|
+
|
12
|
+
// ---- colors ----
|
13
|
+
|
14
|
+
$header-color: #000
|
15
|
+
$font-color: #000
|
16
|
+
$quiet-color: #869599
|
17
|
+
|
18
|
+
$link-color: #17A2C1
|
19
|
+
$blue: #17A2C1
|
20
|
+
$link-hover-color: #17A2C1
|
21
|
+
|
22
|
+
$fancy-placeholder-color: #22AEC9
|
23
|
+
$blueprint-background-color: #E5F0F2
|
24
|
+
|
25
|
+
// unused: $blueprint-background-color-dark: #A3CED7
|
26
|
+
// unused: $blueprint-box-shadow: #85A7B0
|
27
|
+
|
28
|
+
// standard double filled boxes
|
29
|
+
$filled-outer-box-background: #ccecf2
|
30
|
+
$filled-outer-box-background-new: $link-color
|
31
|
+
$filled-inner-box-background: $blueprint-background-color
|
32
|
+
$filled-inner-box-border-color: #B9C6D6
|
33
|
+
|
34
|
+
// horizontal tab menus
|
35
|
+
$ul-background: desaturate(#66c7d8, 20%)
|
36
|
+
$ul-inner-shadow: #51a1ad
|
37
|
+
$li-background: #e8f7fa
|
38
|
+
$li-color-inactive: #fff
|
39
|
+
$li-color-active: #000
|
40
|
+
$li-color-hover: #247586
|
41
|
+
|
42
|
+
$tab-color-stops: color_stops($ul-inner-shadow 3%, $ul-background 10%, $ul-background 98%, $ul-inner-shadow 100%)
|
43
|
+
|
44
|
+
$border-color: #d3d2d2
|
45
|
+
$arrow-border-color: #a1c2ca
|
46
|
+
|
47
|
+
$light-blue: $blueprint-background-color
|
48
|
+
$gold: #E9DE85
|
49
|
+
$light-gold: #EEDF8E
|
50
|
+
$light-green: #C5DC98
|
51
|
+
$button-green: #78B518
|
52
|
+
|
53
|
+
$imported_color: #e1b9c7
|
54
|
+
|
55
|
+
$fresh-yellow-color: #ffb400
|
56
|
+
|
57
|
+
// --- colors for form elements ---
|
58
|
+
|
59
|
+
$input-field-values: #525252
|
60
|
+
$input-border-color: #777
|
61
|
+
|
62
|
+
// --- colors for buttons ---
|
63
|
+
|
64
|
+
$button-color: #3A99AF
|
65
|
+
|
66
|
+
// --- colors for flash messages ---
|
67
|
+
|
68
|
+
$fancy-success-color: #3EB448
|
69
|
+
$success-color: #78B518
|
70
|
+
$success-background-color: #E7EFDC
|
71
|
+
$success-border-color: #BBCAB3
|
72
|
+
|
73
|
+
|
74
|
+
$error-color: #9F2B2B
|
75
|
+
$error-background-color: #F2B9AF
|
76
|
+
$error-border-color: #842424
|
77
|
+
|
78
|
+
// image tabs
|
79
|
+
|
80
|
+
$tabs-gradient-uppper: #85D3E0
|
81
|
+
$tabs-gradient-mid: #4DBFD2
|
82
|
+
$tabs-gradient-lower: #33B5CB
|
83
|
+
|
84
|
+
$tabs-gradient-uppper-hover: #66BBC9
|
85
|
+
$tabs-gradient-mid-hover: #35A5B8
|
86
|
+
$tabs-gradient-lower-hover: #008DA5
|
87
|
+
|
88
|
+
$tabs-gradient-uppper-unselected: #CAECF1
|
89
|
+
$tabs-gradient-mid-unselected: #C1E9EF
|
90
|
+
$tabs-gradient-lower-unselected: #A6DFE8
|
91
|
+
|
92
|
+
$tabs-gradient-uppper-inactive: #E5E4E4
|
93
|
+
$tabs-gradient-mid-inactive: #DCDBDB
|
94
|
+
$tabs-gradient-lower-inactive: #D3D2D2
|
95
|
+
|
96
|
+
$drop-shadow: #000
|
97
|
+
|
98
|
+
// --- colors for tip box
|
99
|
+
|
100
|
+
$tip-box-border-color: $success-color
|
101
|
+
$tip-box-bg-color: $success-background-color
|
102
|
+
|
103
|
+
// ---- radius ----
|
104
|
+
|
105
|
+
// rebrush
|
106
|
+
$outer-border-radius: 6px
|
107
|
+
$inner-border-radius: 3px
|
108
|
+
|
109
|
+
// used anymore? [2011-11]
|
110
|
+
$large-border-radius: 15px
|
111
|
+
$default-border-radius: 5px
|
112
|
+
$small-border-radius: 3px
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
// ---- fonts ----
|
118
|
+
|
119
|
+
// font-families
|
120
|
+
|
121
|
+
$text-font: "Helvetica", "Arial", sans-serif
|
122
|
+
$header-font: "Helvetica", "Arial", sans-serif
|
123
|
+
|
124
|
+
// font-sizes
|
125
|
+
|
126
|
+
$small-font-base: 11px
|
127
|
+
$text-font-base: 12px
|
128
|
+
$button-font-base: 15px
|
129
|
+
$header-font-base: 17px
|
130
|
+
$gigantic-font-base: 36px
|
131
|
+
|
132
|
+
// --- dimensions ---
|
133
|
+
|
134
|
+
$button-height: 30px
|
135
|
+
$button-height-tiny: 22px
|
136
|
+
$button-height-small: 26px
|
137
|
+
$button-height-large: 35px
|
138
|
+
|
139
|
+
// place photo
|
140
|
+
|
141
|
+
$photo-place-small-width: 130px
|
142
|
+
$photo-place-small-height: 87px
|
143
|
+
|
144
|
+
$photo-place-collection-width: 192px
|
145
|
+
$photo-place-collection-height: 144px
|
146
|
+
|
147
|
+
$photo-place-medium-width: 220px
|
148
|
+
$photo-place-medium-height: 147px
|
149
|
+
|
150
|
+
$photo-place-large-width: 588px
|
151
|
+
$photo-place-large-height: 392px
|
152
|
+
|
153
|
+
$photo-place-showcase-width: $photo-place-large-width - 2px
|
154
|
+
$photo-place-showcase-height: $photo-place-large-height - 2px
|
155
|
+
|
156
|
+
|
157
|
+
// user
|
158
|
+
|
159
|
+
$photo-user-thumb-width: 46px
|
160
|
+
$photo-user-thumb-height: 46px
|
161
|
+
$photo-user-small-width: 60px
|
162
|
+
$photo-user-small-height: 60px
|
163
|
+
$photo-user-medium-width: 130px
|
164
|
+
$photo-user-medium-height: 130px
|
165
|
+
$photo-user-large-width: 270px
|
166
|
+
$photo-user-large-height: 270px
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
// ------ REBRUSH ----------
|
172
|
+
|
173
|
+
$black-grey: #231F20
|
174
|
+
$dark-grey: #5A5758
|
175
|
+
$medium-dark-grey: #918F8F
|
176
|
+
$medium-grey: #A7A5A6
|
177
|
+
$normal-grey: #B8B7B7
|
178
|
+
$soft-grey: #D3D2D2
|
179
|
+
$light-grey: #E4E4E4
|
180
|
+
$lightest-grey: #EEEDEE
|
181
|
+
|
182
|
+
$headline-grey: $medium-dark-grey
|
183
|
+
$main-blue: #00A2BE
|
184
|
+
$darker-blue: #33B5CB
|
185
|
+
$dark-blue: #66C7D8
|
186
|
+
$medium-dark-blue: #8CD5E2
|
187
|
+
$medium-blue: #A6DFE8
|
188
|
+
$normal-blue: #CCECF2
|
189
|
+
$soft-blue: #E0F4F7
|
190
|
+
$light-blue: #EBF8FA
|
191
|
+
$lightest-blue: #F2FAFC
|
192
|
+
$hover-blue: #008DA5
|
193
|
+
|
194
|
+
// --- color set as of September 2011 ---
|
195
|
+
|
196
|
+
$dark-border-blue: $main-blue
|
197
|
+
$dark-border-grey: $dark-grey
|
198
|
+
$hover-red: #efccc6
|
199
|
+
$swimming-pool-blue: #a5dee6
|
200
|
+
$green-button-color: #78b519
|
201
|
+
$silent-grey-border: $soft-grey
|
202
|
+
$silent-grey: $light-grey
|
203
|
+
$light-border-color: $dark-blue
|
204
|
+
|
205
|
+
$highlight-yellow: #fffdb0
|
206
|
+
|
207
|
+
// --- Re-Re-Re-Brush
|
208
|
+
|
209
|
+
$red: #B30000
|