smurf-rails 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +67 -0
  3. data/Rakefile +46 -0
  4. data/app/assets/images/smurf/smurf.png +0 -0
  5. data/app/assets/javascripts/smurf/application.js +1 -0
  6. data/app/assets/stylesheets/smurf/application.css.sass +38 -0
  7. data/app/assets/stylesheets/smurf/typography.css.sass.erb +0 -0
  8. data/app/controllers/smurf/application_controller.rb +4 -0
  9. data/app/controllers/smurf/styleguide_controller.rb +19 -0
  10. data/app/helpers/smurf/application_helper.rb +4 -0
  11. data/app/helpers/smurf/styleguide_helper.rb +14 -0
  12. data/app/views/layouts/smurf/application.html.erb +14 -0
  13. data/app/views/smurf/styleguide/_color_var.html.haml +11 -0
  14. data/app/views/smurf/styleguide/colors.html.haml +10 -0
  15. data/app/views/smurf/styleguide/typography.html.haml +6 -0
  16. data/config/routes.rb +6 -0
  17. data/lib/smurf.rb +7 -0
  18. data/lib/smurf/color_variable_parser.rb +71 -0
  19. data/lib/smurf/engine.rb +5 -0
  20. data/lib/smurf/typography_parser.rb +28 -0
  21. data/lib/smurf/version.rb +3 -0
  22. data/lib/tasks/smurf_tasks.rake +4 -0
  23. data/test/dummy/README.rdoc +261 -0
  24. data/test/dummy/Rakefile +7 -0
  25. data/test/dummy/app/assets/javascripts/application.js +15 -0
  26. data/test/dummy/app/assets/stylesheets/_typography.sass +37 -0
  27. data/test/dummy/app/assets/stylesheets/application.css.sass +11 -0
  28. data/test/dummy/app/controllers/application_controller.rb +3 -0
  29. data/test/dummy/app/helpers/application_helper.rb +2 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/test/dummy/config.ru +4 -0
  32. data/test/dummy/config/application.rb +61 -0
  33. data/test/dummy/config/boot.rb +10 -0
  34. data/test/dummy/config/database.yml +25 -0
  35. data/test/dummy/config/environment.rb +5 -0
  36. data/test/dummy/config/environments/development.rb +37 -0
  37. data/test/dummy/config/environments/production.rb +67 -0
  38. data/test/dummy/config/environments/test.rb +37 -0
  39. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/test/dummy/config/initializers/inflections.rb +15 -0
  41. data/test/dummy/config/initializers/mime_types.rb +5 -0
  42. data/test/dummy/config/initializers/secret_token.rb +7 -0
  43. data/test/dummy/config/initializers/session_store.rb +8 -0
  44. data/test/dummy/config/initializers/smurf.rb +2 -0
  45. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/test/dummy/config/locales/en.yml +5 -0
  47. data/test/dummy/config/routes.rb +4 -0
  48. data/test/dummy/db/development.sqlite3 +0 -0
  49. data/test/dummy/db/test.sqlite3 +0 -0
  50. data/test/dummy/log/development.log +8932 -0
  51. data/test/dummy/log/test.log +110 -0
  52. data/test/dummy/public/404.html +26 -0
  53. data/test/dummy/public/422.html +26 -0
  54. data/test/dummy/public/500.html +25 -0
  55. data/test/dummy/public/favicon.ico +0 -0
  56. data/test/dummy/script/rails +6 -0
  57. data/test/dummy/tmp/cache/assets/CBE/460/sprockets%2F82cd2698ea187319b82eee783227407b +0 -0
  58. data/test/dummy/tmp/cache/assets/CC3/D80/sprockets%2F664f76338152c770cfef980d5588be21 +0 -0
  59. data/test/dummy/tmp/cache/assets/CCA/0C0/sprockets%2F6c3e053393afe303432ca73f1b41490b +0 -0
  60. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  61. data/test/dummy/tmp/cache/assets/CE3/2B0/sprockets%2Fac9929105133c62d94cedd5e46b52493 +0 -0
  62. data/test/dummy/tmp/cache/assets/D03/150/sprockets%2F82855a1c8339d7bef8a98868ab858f18 +0 -0
  63. data/test/dummy/tmp/cache/assets/D16/910/sprockets%2Ff4ea1f2c07dd541e81f481f835a64838 +0 -0
  64. data/test/dummy/tmp/cache/assets/D18/840/sprockets%2F50c1885539f61359c48af74fcae1df31 +0 -0
  65. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  66. data/test/dummy/tmp/cache/assets/D35/5E0/sprockets%2F50cfa004a8a405f2e48625bec5c583e6 +0 -0
  67. data/test/dummy/tmp/cache/assets/D44/0E0/sprockets%2Fe82cfc1252647fb8586c7abf2c2056c7 +0 -0
  68. data/test/dummy/tmp/cache/assets/D58/580/sprockets%2F82e92c71c797dac98897e20a7df20df7 +0 -0
  69. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  70. data/test/dummy/tmp/cache/assets/D5E/470/sprockets%2Fb90e61060b73e4c4c2466c5ad8acc06b +0 -0
  71. data/test/dummy/tmp/cache/assets/D8F/EC0/sprockets%2Fc501d0e26be5fc8f613a8faa5c003c49 +0 -0
  72. data/test/dummy/tmp/cache/assets/D97/AA0/sprockets%2F30c4ef2c6254a2c8ecedf8f7259c01b0 +0 -0
  73. data/test/dummy/tmp/cache/assets/DA6/120/sprockets%2Fc5880aca76ccbb51f9388362e8afc1e6 +0 -0
  74. data/test/dummy/tmp/cache/assets/DF1/3C0/sprockets%2Fa6c7bdfdcdc7a50417324089c9a1abcc +0 -0
  75. data/test/dummy/tmp/cache/assets/DF2/040/sprockets%2Fabe2c880aeb0bf05a2651c9a3d68ce5f +0 -0
  76. data/test/dummy/tmp/sass-cache/8533189236bf1aa999c1f771fbe4dd9915738473/typography.sassc +0 -0
  77. data/test/functional/smurf/styleguide_controller_test.rb +9 -0
  78. data/test/integration/navigation_test.rb +10 -0
  79. data/test/smurf_test.rb +7 -0
  80. data/test/test_helper.rb +15 -0
  81. data/test/unit/color_variable_parser_test.rb +52 -0
  82. data/test/unit/helpers/smurf/styleguide_helper_test.rb +6 -0
  83. data/test/unit/sass/colors_01.sass +15 -0
  84. data/test/unit/sass/colors_02.css.sass +209 -0
  85. metadata +266 -0
@@ -0,0 +1,110 @@
1
+  (0.3ms) begin transaction
2
+  (0.0ms) rollback transaction
3
+  (0.3ms) begin transaction
4
+  (0.0ms) rollback transaction
5
+  (0.3ms) begin transaction
6
+  (0.0ms) rollback transaction
7
+  (0.3ms) begin transaction
8
+  (0.1ms) rollback transaction
9
+  (0.1ms) begin transaction
10
+  (0.0ms) rollback transaction
11
+  (0.2ms) begin transaction
12
+  (0.0ms) rollback transaction
13
+  (0.0ms) begin transaction
14
+  (0.0ms) rollback transaction
15
+  (0.2ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+  (0.0ms) begin transaction
18
+  (0.0ms) rollback transaction
19
+  (0.3ms) begin transaction
20
+  (0.0ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+  (0.2ms) begin transaction
24
+  (0.0ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.2ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.0ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.2ms) begin transaction
32
+  (0.0ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.0ms) rollback transaction
35
+  (0.3ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.0ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.0ms) rollback transaction
41
+  (0.2ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+  (0.0ms) begin transaction
44
+  (0.0ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+  (0.3ms) begin transaction
48
+  (0.0ms) rollback transaction
49
+  (0.0ms) begin transaction
50
+  (0.0ms) rollback transaction
51
+  (0.0ms) begin transaction
52
+  (0.0ms) rollback transaction
53
+  (0.2ms) begin transaction
54
+  (0.0ms) rollback transaction
55
+  (0.0ms) begin transaction
56
+  (0.0ms) rollback transaction
57
+  (0.0ms) begin transaction
58
+  (0.0ms) rollback transaction
59
+  (0.0ms) begin transaction
60
+  (0.0ms) rollback transaction
61
+  (0.2ms) begin transaction
62
+  (0.0ms) rollback transaction
63
+  (0.0ms) begin transaction
64
+  (0.0ms) rollback transaction
65
+  (0.0ms) begin transaction
66
+  (0.0ms) rollback transaction
67
+  (0.0ms) begin transaction
68
+  (0.0ms) rollback transaction
69
+  (0.2ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+  (0.0ms) rollback transaction
75
+  (0.0ms) begin transaction
76
+  (0.0ms) rollback transaction
77
+  (0.2ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+  (0.0ms) begin transaction
80
+  (0.0ms) rollback transaction
81
+  (0.0ms) begin transaction
82
+  (0.0ms) rollback transaction
83
+  (0.0ms) begin transaction
84
+  (0.0ms) rollback transaction
85
+  (0.2ms) begin transaction
86
+  (0.0ms) rollback transaction
87
+  (0.0ms) begin transaction
88
+  (0.0ms) rollback transaction
89
+  (0.0ms) begin transaction
90
+  (0.0ms) rollback transaction
91
+  (0.0ms) begin transaction
92
+  (0.0ms) 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'
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module Smurf
4
+ class StyleguideControllerTest < ActionController::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ #fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class SmurfTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Smurf
6
+ end
7
+ end
@@ -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 = Smurf::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 = Smurf::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], Smurf::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, Smurf::ColorVariableParser.parse_color(color)
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module Smurf
4
+ class StyleguideHelperTest < ActionView::TestCase
5
+ end
6
+ end
@@ -0,0 +1,15 @@
1
+ $green: green
2
+ $white: #fff
3
+ $black: #000000
4
+
5
+ $another-white: #ffffff
6
+
7
+ $light-color: $white
8
+ $dark-color: $black
9
+
10
+ $special: $green
11
+
12
+ $more_special: $special
13
+
14
+ .someclasswithvariableusage
15
+ color: $special
@@ -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