app_sleuth 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +25 -0
- data/Gemfile +7 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/app_sleuth.gemspec +20 -0
- data/bin/app_sleuth +20 -0
- data/config.ru +10 -0
- data/lib/app_sleuth.rb +10 -0
- data/lib/app_sleuth/colors.rb +36 -0
- data/lib/app_sleuth/fonts.rb +108 -0
- data/lib/app_sleuth/server.rb +22 -0
- data/lib/app_sleuth/server/assets/css/style.css +910 -0
- data/lib/app_sleuth/server/assets/js/libs/jquery-1.7.1.js +9266 -0
- data/lib/app_sleuth/server/assets/js/libs/jquery-1.7.1.min.js +4 -0
- data/lib/app_sleuth/server/assets/js/libs/modernizr-2.5.3.min.js +4 -0
- data/lib/app_sleuth/server/assets/js/plugins.js +11 -0
- data/lib/app_sleuth/server/assets/js/script.js +26 -0
- data/lib/app_sleuth/server/assets/sass/_boilerplate.scss +88 -0
- data/lib/app_sleuth/server/assets/sass/_marcotte-grid.scss +206 -0
- data/lib/app_sleuth/server/assets/sass/_normalize.scss +504 -0
- data/lib/app_sleuth/server/assets/sass/_print.scss +19 -0
- data/lib/app_sleuth/server/assets/sass/mixins/_mixins.scss +136 -0
- data/lib/app_sleuth/server/assets/sass/mixins/addons/_button.scss +170 -0
- data/lib/app_sleuth/server/assets/sass/mixins/addons/_font-family.scss +30 -0
- data/lib/app_sleuth/server/assets/sass/mixins/addons/_html5-input-types.scss +36 -0
- data/lib/app_sleuth/server/assets/sass/mixins/addons/_non-semantic-helpers.scss +58 -0
- data/lib/app_sleuth/server/assets/sass/mixins/addons/_position.scss +30 -0
- data/lib/app_sleuth/server/assets/sass/mixins/addons/_timing-functions.scss +32 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_animation.scss +171 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_appearance.scss +7 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_background-clip.scss +10 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_background-image.scss +147 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_background-origin.scss +10 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_background-size.scss +15 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_border-image.scss +7 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_border-radius.scss +59 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_box-shadow.scss +16 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_box-sizing.scss +8 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_columns.scss +67 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_flex-box.scss +67 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_font-smoothing.scss +9 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_inline-block.scss +10 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_linear-gradient.scss +41 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_radial-gradient.scss +31 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_transform.scss +57 -0
- data/lib/app_sleuth/server/assets/sass/mixins/css3/_transition.scss +104 -0
- data/lib/app_sleuth/server/assets/sass/mixins/functions/_deprecated-webkit-gradient.scss +36 -0
- data/lib/app_sleuth/server/assets/sass/mixins/functions/_linear-gradient.scss +23 -0
- data/lib/app_sleuth/server/assets/sass/mixins/functions/_modular-scale.scss +40 -0
- data/lib/app_sleuth/server/assets/sass/mixins/functions/_radial-gradient.scss +15 -0
- data/lib/app_sleuth/server/assets/sass/mixins/functions/_render-gradients.scss +14 -0
- data/lib/app_sleuth/server/assets/sass/mixins/functions/_tint-shade.scss +9 -0
- data/lib/app_sleuth/server/assets/sass/mixins/hacks/_ie.scss +37 -0
- data/lib/app_sleuth/server/assets/sass/style.scss +219 -0
- data/lib/app_sleuth/server/views/colors.html.erb +44 -0
- data/lib/app_sleuth/version.rb +3 -0
- metadata +124 -0
data/.gitignore
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
|
19
|
+
# OS generated files #
|
20
|
+
######################
|
21
|
+
.DS_Store*
|
22
|
+
ehthumbs.db
|
23
|
+
Icon?
|
24
|
+
Thumbs.db
|
25
|
+
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Dan Ahern, Lynn Wallenstein
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# AppSleuth
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'app_sleuth'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install app_sleuth
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
data/app_sleuth.gemspec
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/app_sleuth/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Dan Ahern", "Lynn Wallenstein"]
|
6
|
+
gem.email = ["danahern@gmail.com", "lwallenstein@gmail.com"]
|
7
|
+
gem.description = %q{Generates color, font, image information about your project}
|
8
|
+
gem.summary = %q{Generate Design Info about Project}
|
9
|
+
gem.homepage = "https://github.com/danahern/app_sleuth"
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "app_sleuth"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = AppSleuth::VERSION
|
17
|
+
|
18
|
+
gem.add_dependency "sinatra"
|
19
|
+
|
20
|
+
end
|
data/bin/app_sleuth
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
puts "Loading Environment"
|
3
|
+
require 'app_sleuth'
|
4
|
+
|
5
|
+
dir = Dir.getwd
|
6
|
+
colors_file = File.new("/tmp/colors.html", "w+")
|
7
|
+
|
8
|
+
puts "Generating Color Report..."
|
9
|
+
|
10
|
+
color_report = AppSleuth::Colors.generate_report(dir)
|
11
|
+
colors_file.puts color_report
|
12
|
+
colors_file.close
|
13
|
+
|
14
|
+
puts "Done with color report"
|
15
|
+
|
16
|
+
puts "Starting Server on port 4567"
|
17
|
+
|
18
|
+
AppSleuth::Server.run!
|
19
|
+
|
20
|
+
puts "Go to http://localhost:4567"
|
data/config.ru
ADDED
data/lib/app_sleuth.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
module AppSleuth
|
2
|
+
class Colors
|
3
|
+
class << self
|
4
|
+
def hex_shortcode(color)
|
5
|
+
return color unless color.length == 4
|
6
|
+
hex = color.gsub('#', '').split('')
|
7
|
+
hex = "##{hex[0]}#{hex[0]}#{hex[1]}#{hex[1]}#{hex[2]}#{hex[2]}"
|
8
|
+
end
|
9
|
+
|
10
|
+
def gather(location)
|
11
|
+
colors = `egrep --include='*.*css' --no-filename -ior '(#[a-fA-F0-9]{6}|#[a-fA-F0-9]{3})( |;)' #{location}`.split.map{|c| c.gsub(';', '').gsub(' ', '').downcase }.uniq.sort
|
12
|
+
colors.map{|c| hex_shortcode(c) }.uniq.sort
|
13
|
+
end
|
14
|
+
|
15
|
+
def color_location(color_code, location)
|
16
|
+
c = `egrep --include='*.*css' -ir '(#{color_code})( |;)' #{location}`.split("\n")
|
17
|
+
end
|
18
|
+
|
19
|
+
def color_swatch(color, location)
|
20
|
+
# colors.each{|color|
|
21
|
+
"<li data-hex='#{color}' data-color-lookup='#{color_location(color, location)}' class='swatch' style='background-color:#{color};'><a class='close delete'>x</a><span class='help'>Double Click To Bring to Front</span></li>"
|
22
|
+
# }
|
23
|
+
end
|
24
|
+
|
25
|
+
def generate_report(location)
|
26
|
+
colors = gather(location)
|
27
|
+
colors = colors.map{|c| color_swatch(c, location) }.join("\n\n")
|
28
|
+
gem_dir = File.dirname(File.expand_path(__FILE__))
|
29
|
+
rendered_file = ERB.new(File.read(File.join(gem_dir, "server/views/colors.html.erb")))
|
30
|
+
rendered_file.result(binding)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
# color_file = File.new(File.join(Rails.root, 'tmp', 'colors.html'), "w+")
|
36
|
+
# in_project(File.join(Rails.root, 'app', 'assets', 'stylesheets'))
|
@@ -0,0 +1,108 @@
|
|
1
|
+
# ActionDispatch::Routing::UrlFor
|
2
|
+
# include Rails.application.routes.url_helpers
|
3
|
+
# default_url_options[:host] = 'www.mysite.com'
|
4
|
+
|
5
|
+
# font_file = File.new(File.join(Rails.root, 'tmp', 'fonts.html'), "w+")
|
6
|
+
# template_header = <<TEMPLATE
|
7
|
+
# <!doctype html>
|
8
|
+
# <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
9
|
+
# <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
10
|
+
# <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
|
11
|
+
# <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
12
|
+
# <!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
|
13
|
+
# <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
14
|
+
# <head>
|
15
|
+
# <meta charset="utf-8">
|
16
|
+
|
17
|
+
# <!-- Use the .htaccess and remove these lines to avoid edge case issues.
|
18
|
+
# More info: h5bp.com/i/378 -->
|
19
|
+
# <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
20
|
+
|
21
|
+
# <title></title>
|
22
|
+
# <meta name="description" content="">
|
23
|
+
|
24
|
+
# <!-- Mobile viewport optimized: h5bp.com/viewport -->
|
25
|
+
# <meta name="viewport" content="width=device-width">
|
26
|
+
|
27
|
+
# <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
|
28
|
+
|
29
|
+
# <link rel="stylesheet" href="css/style.css">
|
30
|
+
|
31
|
+
# <!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
|
32
|
+
|
33
|
+
# <!-- All JavaScript at the bottom, except this Modernizr build.
|
34
|
+
# Modernizr enables HTML5 elements & feature detects for optimal performance.
|
35
|
+
# Create your own custom Modernizr build: www.modernizr.com/download/ -->
|
36
|
+
# <script src="js/libs/modernizr-2.5.3.min.js"></script>
|
37
|
+
# </head>
|
38
|
+
# <body>
|
39
|
+
# <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
|
40
|
+
# chromium.org/developers/how-tos/chrome-frame-getting-started -->
|
41
|
+
# <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
|
42
|
+
# <header>
|
43
|
+
|
44
|
+
# </header>
|
45
|
+
# <div role="main">
|
46
|
+
# TEMPLATE
|
47
|
+
|
48
|
+
# template_footer = <<TEMPLATE
|
49
|
+
# </div>
|
50
|
+
# <footer>
|
51
|
+
|
52
|
+
# </footer>
|
53
|
+
|
54
|
+
|
55
|
+
# <!-- JavaScript at the bottom for fast page loading -->
|
56
|
+
|
57
|
+
# <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
|
58
|
+
# <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
59
|
+
# <script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\/script>')</script>
|
60
|
+
|
61
|
+
# <!-- scripts concatenated and minified via build script -->
|
62
|
+
# <script src="js/plugins.js"></script>
|
63
|
+
# <script src="js/script.js"></script>
|
64
|
+
# <!-- end scripts -->
|
65
|
+
|
66
|
+
# <!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
|
67
|
+
# mathiasbynens.be/notes/async-analytics-snippet -->
|
68
|
+
# <script>
|
69
|
+
# var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
|
70
|
+
# (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
71
|
+
# g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
72
|
+
# s.parentNode.insertBefore(g,s)}(document,'script'));
|
73
|
+
# </script>
|
74
|
+
# </body>
|
75
|
+
# </html>
|
76
|
+
# TEMPLATE
|
77
|
+
|
78
|
+
# def dir_glob(font_html, directory)
|
79
|
+
# Dir.glob(File.join(directory, "*")).each do |element|
|
80
|
+
# if File.directory?(element)
|
81
|
+
# font_html << "<li class='directory'>"
|
82
|
+
# font_html << File.basename(element)
|
83
|
+
# font_html << "<ol>"
|
84
|
+
# dir_glob(font_html, element)
|
85
|
+
# font_html << "</ol>"
|
86
|
+
# else
|
87
|
+
# font_html << "<li class='item #{File.extname(element)}'>"
|
88
|
+
# font_html << link_to("#{File.basename(element)}", asset_path(File.dirname(element).gsub(directory, '')))
|
89
|
+
# end
|
90
|
+
# font_html << "</li>"
|
91
|
+
# end
|
92
|
+
# end
|
93
|
+
|
94
|
+
# def list_contents(dir)
|
95
|
+
# font_html = ["<ol>"]
|
96
|
+
# dir_glob(font_html, dir)
|
97
|
+
# font_html << "</ol>"
|
98
|
+
# font_html.join("\n")
|
99
|
+
# end
|
100
|
+
|
101
|
+
|
102
|
+
# font_file.puts template_header
|
103
|
+
|
104
|
+
# font_file.puts list_contents(File.join(Rails.root, "app", "assets", "images"))
|
105
|
+
|
106
|
+
# font_file.puts template_footer
|
107
|
+
|
108
|
+
# font_file.close
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module AppSleuth
|
2
|
+
class Server < Sinatra::Base
|
3
|
+
dir = File.dirname(File.expand_path(__FILE__))
|
4
|
+
set :views, "#{dir}/server/views"
|
5
|
+
|
6
|
+
if respond_to? :public_folder
|
7
|
+
set :public_folder, "#{dir}/server/assets"
|
8
|
+
else
|
9
|
+
set :public, "#{dir}/server/assets"
|
10
|
+
end
|
11
|
+
|
12
|
+
set :static, true
|
13
|
+
|
14
|
+
get '/' do
|
15
|
+
"<a href='/colors'>Colors</a>"
|
16
|
+
end
|
17
|
+
|
18
|
+
get '/colors' do
|
19
|
+
File.read("/tmp/colors.html")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,910 @@
|
|
1
|
+
/* normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
2
|
+
/* =============================================================================
|
3
|
+
HTML5 display definitions
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* Corrects block display not defined in IE6/7/8/9 & FF3
|
7
|
+
*/
|
8
|
+
/* line 21, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
9
|
+
article,
|
10
|
+
aside,
|
11
|
+
details,
|
12
|
+
figcaption,
|
13
|
+
figure,
|
14
|
+
footer,
|
15
|
+
header,
|
16
|
+
hgroup,
|
17
|
+
nav,
|
18
|
+
section,
|
19
|
+
summary {
|
20
|
+
display: block;
|
21
|
+
}
|
22
|
+
|
23
|
+
/*
|
24
|
+
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
25
|
+
*/
|
26
|
+
/* line 31, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
27
|
+
audio,
|
28
|
+
canvas,
|
29
|
+
video {
|
30
|
+
display: inline-block;
|
31
|
+
*display: inline;
|
32
|
+
*zoom: 1;
|
33
|
+
}
|
34
|
+
|
35
|
+
/*
|
36
|
+
* Prevents modern browsers from displaying 'audio' without controls
|
37
|
+
* Remove excess height in iOS5 devices
|
38
|
+
*/
|
39
|
+
/* line 42, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
40
|
+
audio:not([controls]) {
|
41
|
+
display: none;
|
42
|
+
height: 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/*
|
46
|
+
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
47
|
+
* Known issue: no IE6 support
|
48
|
+
*/
|
49
|
+
/* line 52, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
50
|
+
[hidden] {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* =============================================================================
|
55
|
+
Base
|
56
|
+
========================================================================== */
|
57
|
+
/*
|
58
|
+
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
59
|
+
* http://clagnut.com/blog/348/#c790
|
60
|
+
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
61
|
+
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
62
|
+
*/
|
63
|
+
/* line 68, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
64
|
+
html {
|
65
|
+
font-size: 100%;
|
66
|
+
/* 1 */
|
67
|
+
-webkit-text-size-adjust: 100%;
|
68
|
+
/* 2 */
|
69
|
+
-ms-text-size-adjust: 100%;
|
70
|
+
/* 2 */
|
71
|
+
}
|
72
|
+
|
73
|
+
/*
|
74
|
+
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
75
|
+
*/
|
76
|
+
/* line 82, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
77
|
+
html,
|
78
|
+
button,
|
79
|
+
input,
|
80
|
+
select,
|
81
|
+
textarea {
|
82
|
+
font-family: sans-serif;
|
83
|
+
}
|
84
|
+
|
85
|
+
/*
|
86
|
+
* Addresses margins handled incorrectly in IE6/7
|
87
|
+
*/
|
88
|
+
/* line 90, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
89
|
+
body {
|
90
|
+
margin: 0;
|
91
|
+
}
|
92
|
+
|
93
|
+
/* =============================================================================
|
94
|
+
Links
|
95
|
+
========================================================================== */
|
96
|
+
/*
|
97
|
+
* Addresses outline displayed oddly in Chrome
|
98
|
+
*/
|
99
|
+
/* line 103, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
100
|
+
a:focus {
|
101
|
+
outline: thin dotted;
|
102
|
+
}
|
103
|
+
|
104
|
+
/*
|
105
|
+
* Improves readability when focused and also mouse hovered in all browsers
|
106
|
+
* people.opera.com/patrickl/experiments/keyboard/test
|
107
|
+
*/
|
108
|
+
/* line 113, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
109
|
+
a:hover,
|
110
|
+
a:active {
|
111
|
+
outline: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
/* =============================================================================
|
115
|
+
Typography
|
116
|
+
========================================================================== */
|
117
|
+
/*
|
118
|
+
* Addresses font sizes and margins set differently in IE6/7
|
119
|
+
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
|
120
|
+
*/
|
121
|
+
/* line 127, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
122
|
+
h1 {
|
123
|
+
font-size: 2em;
|
124
|
+
margin: 0.67em 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
/* line 132, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
128
|
+
h2 {
|
129
|
+
font-size: 1.5em;
|
130
|
+
margin: 0.83em 0;
|
131
|
+
}
|
132
|
+
|
133
|
+
/* line 137, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
134
|
+
h3 {
|
135
|
+
font-size: 1.17em;
|
136
|
+
margin: 1em 0;
|
137
|
+
}
|
138
|
+
|
139
|
+
/* line 142, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
140
|
+
h4 {
|
141
|
+
font-size: 1em;
|
142
|
+
margin: 1.33em 0;
|
143
|
+
}
|
144
|
+
|
145
|
+
/* line 147, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
146
|
+
h5 {
|
147
|
+
font-size: 0.83em;
|
148
|
+
margin: 1.67em 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
/* line 152, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
152
|
+
h6 {
|
153
|
+
font-size: 0.75em;
|
154
|
+
margin: 2.33em 0;
|
155
|
+
}
|
156
|
+
|
157
|
+
/*
|
158
|
+
* Addresses styling not present in IE7/8/9, S5, Chrome
|
159
|
+
*/
|
160
|
+
/* line 161, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
161
|
+
abbr[title] {
|
162
|
+
border-bottom: 1px dotted;
|
163
|
+
}
|
164
|
+
|
165
|
+
/*
|
166
|
+
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
167
|
+
*/
|
168
|
+
/* line 170, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
169
|
+
b,
|
170
|
+
strong {
|
171
|
+
font-weight: bold;
|
172
|
+
}
|
173
|
+
|
174
|
+
/* line 174, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
175
|
+
blockquote {
|
176
|
+
margin: 1em 40px;
|
177
|
+
}
|
178
|
+
|
179
|
+
/*
|
180
|
+
* Addresses styling not present in S5, Chrome
|
181
|
+
*/
|
182
|
+
/* line 182, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
183
|
+
dfn {
|
184
|
+
font-style: italic;
|
185
|
+
}
|
186
|
+
|
187
|
+
/*
|
188
|
+
* Addresses styling not present in IE6/7/8/9
|
189
|
+
*/
|
190
|
+
/* line 190, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
191
|
+
mark {
|
192
|
+
background: #ff0;
|
193
|
+
color: #000;
|
194
|
+
}
|
195
|
+
|
196
|
+
/*
|
197
|
+
* Addresses margins set differently in IE6/7
|
198
|
+
*/
|
199
|
+
/* line 200, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
200
|
+
p,
|
201
|
+
pre {
|
202
|
+
margin: 1em 0;
|
203
|
+
}
|
204
|
+
|
205
|
+
/*
|
206
|
+
* Corrects font family set oddly in IE6, S4/5, Chrome
|
207
|
+
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
208
|
+
*/
|
209
|
+
/* line 212, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
210
|
+
pre,
|
211
|
+
code,
|
212
|
+
kbd,
|
213
|
+
samp {
|
214
|
+
font-family: monospace, serif;
|
215
|
+
_font-family: 'courier new', monospace;
|
216
|
+
font-size: 1em;
|
217
|
+
}
|
218
|
+
|
219
|
+
/*
|
220
|
+
* Improves readability of pre-formatted text in all browsers
|
221
|
+
*/
|
222
|
+
/* line 222, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
223
|
+
pre {
|
224
|
+
white-space: pre;
|
225
|
+
white-space: pre-wrap;
|
226
|
+
word-wrap: break-word;
|
227
|
+
}
|
228
|
+
|
229
|
+
/*
|
230
|
+
* 1. Addresses CSS quotes not supported in IE6/7
|
231
|
+
* 2. Addresses quote property not supported in S4
|
232
|
+
*/
|
233
|
+
/* 1 */
|
234
|
+
/* line 235, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
235
|
+
q {
|
236
|
+
quotes: none;
|
237
|
+
}
|
238
|
+
|
239
|
+
/* 2 */
|
240
|
+
/* line 242, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
241
|
+
q:before,
|
242
|
+
q:after {
|
243
|
+
content: '';
|
244
|
+
content: none;
|
245
|
+
}
|
246
|
+
|
247
|
+
/* line 247, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
248
|
+
small {
|
249
|
+
font-size: 75%;
|
250
|
+
}
|
251
|
+
|
252
|
+
/*
|
253
|
+
* Prevents sub and sup affecting line-height in all browsers
|
254
|
+
* gist.github.com/413930
|
255
|
+
*/
|
256
|
+
/* line 257, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
257
|
+
sub,
|
258
|
+
sup {
|
259
|
+
font-size: 75%;
|
260
|
+
line-height: 0;
|
261
|
+
position: relative;
|
262
|
+
vertical-align: baseline;
|
263
|
+
}
|
264
|
+
|
265
|
+
/* line 264, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
266
|
+
sup {
|
267
|
+
top: -0.5em;
|
268
|
+
}
|
269
|
+
|
270
|
+
/* line 268, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
271
|
+
sub {
|
272
|
+
bottom: -0.25em;
|
273
|
+
}
|
274
|
+
|
275
|
+
/* =============================================================================
|
276
|
+
Lists
|
277
|
+
========================================================================== */
|
278
|
+
/*
|
279
|
+
* Addresses margins set differently in IE6/7
|
280
|
+
*/
|
281
|
+
/* line 284, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
282
|
+
dl,
|
283
|
+
menu,
|
284
|
+
ol,
|
285
|
+
ul {
|
286
|
+
margin: 1em 0;
|
287
|
+
}
|
288
|
+
|
289
|
+
/* line 288, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
290
|
+
dd {
|
291
|
+
margin: 0 0 0 40px;
|
292
|
+
}
|
293
|
+
|
294
|
+
/*
|
295
|
+
* Addresses paddings set differently in IE6/7
|
296
|
+
*/
|
297
|
+
/* line 298, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
298
|
+
menu,
|
299
|
+
ol,
|
300
|
+
ul {
|
301
|
+
padding: 0 0 0 40px;
|
302
|
+
}
|
303
|
+
|
304
|
+
/*
|
305
|
+
* Corrects list images handled incorrectly in IE7
|
306
|
+
*/
|
307
|
+
/* line 307, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
308
|
+
nav ul,
|
309
|
+
nav ol {
|
310
|
+
list-style: none;
|
311
|
+
list-style-image: none;
|
312
|
+
}
|
313
|
+
|
314
|
+
/* =============================================================================
|
315
|
+
Embedded content
|
316
|
+
========================================================================== */
|
317
|
+
/*
|
318
|
+
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
319
|
+
* 2. Improves image quality when scaled in IE7
|
320
|
+
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
321
|
+
*/
|
322
|
+
/* line 323, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
323
|
+
img {
|
324
|
+
border: 0;
|
325
|
+
/* 1 */
|
326
|
+
-ms-interpolation-mode: bicubic;
|
327
|
+
/* 2 */
|
328
|
+
}
|
329
|
+
|
330
|
+
/*
|
331
|
+
* Corrects overflow displayed oddly in IE9
|
332
|
+
*/
|
333
|
+
/* line 332, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
334
|
+
svg:not(:root) {
|
335
|
+
overflow: hidden;
|
336
|
+
}
|
337
|
+
|
338
|
+
/* =============================================================================
|
339
|
+
Figures
|
340
|
+
========================================================================== */
|
341
|
+
/*
|
342
|
+
* Addresses margin not present in IE6/7/8/9, S5, O11
|
343
|
+
*/
|
344
|
+
/* line 345, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
345
|
+
figure {
|
346
|
+
margin: 0;
|
347
|
+
}
|
348
|
+
|
349
|
+
/* =============================================================================
|
350
|
+
Forms
|
351
|
+
========================================================================== */
|
352
|
+
/*
|
353
|
+
* Corrects margin displayed oddly in IE6/7
|
354
|
+
*/
|
355
|
+
/* line 358, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
356
|
+
form {
|
357
|
+
margin: 0;
|
358
|
+
}
|
359
|
+
|
360
|
+
/*
|
361
|
+
* Define consistent border, margin, and padding
|
362
|
+
*/
|
363
|
+
/* line 366, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
364
|
+
fieldset {
|
365
|
+
border: 1px solid #c0c0c0;
|
366
|
+
margin: 0 2px;
|
367
|
+
padding: 0.35em 0.625em 0.75em;
|
368
|
+
}
|
369
|
+
|
370
|
+
/*
|
371
|
+
* 1. Corrects color not being inherited in IE6/7/8/9
|
372
|
+
* 2. Corrects text not wrapping in FF3
|
373
|
+
* 3. Corrects alignment displayed oddly in IE6/7
|
374
|
+
*/
|
375
|
+
/* line 378, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
376
|
+
legend {
|
377
|
+
border: 0;
|
378
|
+
/* 1 */
|
379
|
+
padding: 0;
|
380
|
+
white-space: normal;
|
381
|
+
/* 2 */
|
382
|
+
*margin-left: -7px;
|
383
|
+
/* 3 */
|
384
|
+
}
|
385
|
+
|
386
|
+
/*
|
387
|
+
* 1. Corrects font size not being inherited in all browsers
|
388
|
+
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
389
|
+
* 3. Improves appearance and consistency in all browsers
|
390
|
+
*/
|
391
|
+
/* line 394, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
392
|
+
button,
|
393
|
+
input,
|
394
|
+
select,
|
395
|
+
textarea {
|
396
|
+
font-size: 100%;
|
397
|
+
/* 1 */
|
398
|
+
margin: 0;
|
399
|
+
/* 2 */
|
400
|
+
vertical-align: baseline;
|
401
|
+
/* 3 */
|
402
|
+
*vertical-align: middle;
|
403
|
+
/* 3 */
|
404
|
+
}
|
405
|
+
|
406
|
+
/*
|
407
|
+
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
408
|
+
*/
|
409
|
+
/* line 406, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
410
|
+
button,
|
411
|
+
input {
|
412
|
+
line-height: normal;
|
413
|
+
/* 1 */
|
414
|
+
}
|
415
|
+
|
416
|
+
/*
|
417
|
+
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
418
|
+
* 2. Corrects inability to style clickable 'input' types in iOS
|
419
|
+
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
420
|
+
* Known issue: inner spacing remains in IE6
|
421
|
+
*/
|
422
|
+
/* line 420, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
423
|
+
button,
|
424
|
+
input[type="button"],
|
425
|
+
input[type="reset"],
|
426
|
+
input[type="submit"] {
|
427
|
+
cursor: pointer;
|
428
|
+
/* 1 */
|
429
|
+
-webkit-appearance: button;
|
430
|
+
/* 2 */
|
431
|
+
*overflow: visible;
|
432
|
+
/* 3 */
|
433
|
+
}
|
434
|
+
|
435
|
+
/*
|
436
|
+
* Re-set default cursor for disabled elements
|
437
|
+
*/
|
438
|
+
/* line 431, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
439
|
+
button[disabled],
|
440
|
+
input[disabled] {
|
441
|
+
cursor: default;
|
442
|
+
}
|
443
|
+
|
444
|
+
/*
|
445
|
+
* 1. Addresses box sizing set to content-box in IE8/9
|
446
|
+
* 2. Removes excess padding in IE8/9
|
447
|
+
* 3. Removes excess padding in IE7
|
448
|
+
Known issue: excess padding remains in IE6
|
449
|
+
*/
|
450
|
+
/* line 443, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
451
|
+
input[type="checkbox"],
|
452
|
+
input[type="radio"] {
|
453
|
+
box-sizing: border-box;
|
454
|
+
/* 1 */
|
455
|
+
padding: 0;
|
456
|
+
/* 2 */
|
457
|
+
*height: 13px;
|
458
|
+
/* 3 */
|
459
|
+
*width: 13px;
|
460
|
+
/* 3 */
|
461
|
+
}
|
462
|
+
|
463
|
+
/*
|
464
|
+
* 1. Addresses appearance set to searchfield in S5, Chrome
|
465
|
+
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
466
|
+
*/
|
467
|
+
/* line 455, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
468
|
+
input[type="search"] {
|
469
|
+
-webkit-appearance: textfield;
|
470
|
+
/* 1 */
|
471
|
+
-moz-box-sizing: content-box;
|
472
|
+
-webkit-box-sizing: content-box;
|
473
|
+
/* 2 */
|
474
|
+
box-sizing: content-box;
|
475
|
+
}
|
476
|
+
|
477
|
+
/*
|
478
|
+
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
479
|
+
*/
|
480
|
+
/* line 467, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
481
|
+
input[type="search"]::-webkit-search-decoration,
|
482
|
+
input[type="search"]::-webkit-search-cancel-button {
|
483
|
+
-webkit-appearance: none;
|
484
|
+
}
|
485
|
+
|
486
|
+
/*
|
487
|
+
* Removes inner padding and border in FF3+
|
488
|
+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
489
|
+
*/
|
490
|
+
/* line 477, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
491
|
+
button::-moz-focus-inner,
|
492
|
+
input::-moz-focus-inner {
|
493
|
+
border: 0;
|
494
|
+
padding: 0;
|
495
|
+
}
|
496
|
+
|
497
|
+
/*
|
498
|
+
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
499
|
+
* 2. Improves readability and alignment in all browsers
|
500
|
+
*/
|
501
|
+
/* line 487, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
502
|
+
textarea {
|
503
|
+
overflow: auto;
|
504
|
+
/* 1 */
|
505
|
+
vertical-align: top;
|
506
|
+
/* 2 */
|
507
|
+
}
|
508
|
+
|
509
|
+
/* =============================================================================
|
510
|
+
Tables
|
511
|
+
========================================================================== */
|
512
|
+
/*
|
513
|
+
* Remove most spacing between table cells
|
514
|
+
*/
|
515
|
+
/* line 501, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_normalize.scss */
|
516
|
+
table {
|
517
|
+
border-collapse: collapse;
|
518
|
+
border-spacing: 0;
|
519
|
+
}
|
520
|
+
|
521
|
+
/* line 9, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
522
|
+
* {
|
523
|
+
-webkit-box-sizing: border-box;
|
524
|
+
-moz-box-sizing: border-box;
|
525
|
+
-ms-box-sizing: border-box;
|
526
|
+
-o-box-sizing: border-box;
|
527
|
+
box-sizing: border-box;
|
528
|
+
background-repeat: no-repeat;
|
529
|
+
}
|
530
|
+
|
531
|
+
/* line 20, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
532
|
+
body {
|
533
|
+
font-size: 1em;
|
534
|
+
line-height: 1.4;
|
535
|
+
}
|
536
|
+
|
537
|
+
/* line 25, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
538
|
+
body, button, input, select, textarea {
|
539
|
+
color: #222;
|
540
|
+
}
|
541
|
+
|
542
|
+
/* line 36, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
543
|
+
::-moz-selection {
|
544
|
+
background: #fe57a1;
|
545
|
+
color: #fff;
|
546
|
+
text-shadow: none;
|
547
|
+
}
|
548
|
+
|
549
|
+
/* line 37, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
550
|
+
::selection {
|
551
|
+
background: #fe57a1;
|
552
|
+
color: #fff;
|
553
|
+
text-shadow: none;
|
554
|
+
}
|
555
|
+
|
556
|
+
/* line 43, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
557
|
+
a {
|
558
|
+
color: #00e;
|
559
|
+
}
|
560
|
+
|
561
|
+
/* line 44, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
562
|
+
a:visited {
|
563
|
+
color: #551a8b;
|
564
|
+
}
|
565
|
+
|
566
|
+
/* line 45, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
567
|
+
a:hover {
|
568
|
+
color: #06e;
|
569
|
+
}
|
570
|
+
|
571
|
+
/* line 52, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
572
|
+
hr {
|
573
|
+
display: block;
|
574
|
+
height: 1px;
|
575
|
+
border: 0;
|
576
|
+
border-top: 1px solid #ccc;
|
577
|
+
margin: 1em 0;
|
578
|
+
padding: 0;
|
579
|
+
}
|
580
|
+
|
581
|
+
/* line 54, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
582
|
+
ins {
|
583
|
+
background: #ff9;
|
584
|
+
color: #000;
|
585
|
+
text-decoration: none;
|
586
|
+
}
|
587
|
+
|
588
|
+
/* line 56, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
589
|
+
mark {
|
590
|
+
font-style: italic;
|
591
|
+
font-weight: bold;
|
592
|
+
}
|
593
|
+
|
594
|
+
/* line 58, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
595
|
+
small {
|
596
|
+
font-size: 85%;
|
597
|
+
}
|
598
|
+
|
599
|
+
/* line 60, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
600
|
+
ul, ol {
|
601
|
+
padding: 0 0 0 40px;
|
602
|
+
}
|
603
|
+
|
604
|
+
/* line 62, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
605
|
+
nav ul, nav ol {
|
606
|
+
margin: 0;
|
607
|
+
padding: 0;
|
608
|
+
}
|
609
|
+
|
610
|
+
/* line 64, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
611
|
+
img {
|
612
|
+
vertical-align: middle;
|
613
|
+
}
|
614
|
+
|
615
|
+
/* line 66, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
616
|
+
fieldset {
|
617
|
+
border: 0;
|
618
|
+
margin: 0;
|
619
|
+
padding: 0;
|
620
|
+
}
|
621
|
+
|
622
|
+
/* line 68, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
623
|
+
legend {
|
624
|
+
padding: 0;
|
625
|
+
}
|
626
|
+
|
627
|
+
/* line 70, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
628
|
+
label {
|
629
|
+
cursor: pointer;
|
630
|
+
}
|
631
|
+
|
632
|
+
/* line 72, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
633
|
+
textarea {
|
634
|
+
resize: vertical;
|
635
|
+
}
|
636
|
+
|
637
|
+
/* line 76, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
638
|
+
input:invalid, textarea:invalid {
|
639
|
+
background-color: #f0dddd;
|
640
|
+
}
|
641
|
+
|
642
|
+
/* line 79, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
643
|
+
table td {
|
644
|
+
vertical-align: top;
|
645
|
+
}
|
646
|
+
|
647
|
+
/* line 88, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/_boilerplate.scss */
|
648
|
+
.chromeframe {
|
649
|
+
margin: 0.2em 0;
|
650
|
+
background: #ccc;
|
651
|
+
color: black;
|
652
|
+
padding: 0.2em 0;
|
653
|
+
}
|
654
|
+
|
655
|
+
/* line 34, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
656
|
+
html body {
|
657
|
+
background: #666;
|
658
|
+
}
|
659
|
+
/* line 39, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
660
|
+
html body div#main a#light-switch {
|
661
|
+
float: right;
|
662
|
+
margin: 20px;
|
663
|
+
}
|
664
|
+
/* line 43, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
665
|
+
html body div#main ul#swatches {
|
666
|
+
padding: 100px 0 0 0;
|
667
|
+
}
|
668
|
+
/* line 45, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
669
|
+
html body div#main ul#swatches li.swatch {
|
670
|
+
-webkit-border-radius: 15px;
|
671
|
+
-moz-border-radius: 15px;
|
672
|
+
-ms-border-radius: 15px;
|
673
|
+
-o-border-radius: 15px;
|
674
|
+
border-radius: 15px;
|
675
|
+
-webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
|
676
|
+
-moz-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
|
677
|
+
-ms-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
|
678
|
+
-o-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
|
679
|
+
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
|
680
|
+
-webkit-transition-property: transform, 0.15s, linear;
|
681
|
+
-moz-transition-property: transform, 0.15s, linear;
|
682
|
+
-ms-transition-property: transform, 0.15s, linear;
|
683
|
+
-o-transition-property: transform, 0.15s, linear;
|
684
|
+
transition-property: transform, 0.15s, linear;
|
685
|
+
-webkit-transition-duration: 0.15s;
|
686
|
+
-moz-transition-duration: 0.15s;
|
687
|
+
-ms-transition-duration: 0.15s;
|
688
|
+
-o-transition-duration: 0.15s;
|
689
|
+
transition-duration: 0.15s;
|
690
|
+
-webkit-transition-timing-function: ease-out;
|
691
|
+
-moz-transition-timing-function: ease-out;
|
692
|
+
-ms-transition-timing-function: ease-out;
|
693
|
+
-o-transition-timing-function: ease-out;
|
694
|
+
transition-timing-function: ease-out;
|
695
|
+
-webkit-transition-delay: 0;
|
696
|
+
-moz-transition-delay: 0;
|
697
|
+
-ms-transition-delay: 0;
|
698
|
+
-o-transition-delay: 0;
|
699
|
+
transition-delay: 0;
|
700
|
+
border-left: 20px solid #fff;
|
701
|
+
border-right: 20px solid #000;
|
702
|
+
float: left;
|
703
|
+
list-style: none;
|
704
|
+
height: 100px;
|
705
|
+
padding-top: 40px;
|
706
|
+
position: relative;
|
707
|
+
margin: 20px;
|
708
|
+
text-align: center;
|
709
|
+
width: 130px;
|
710
|
+
z-index: 100;
|
711
|
+
}
|
712
|
+
/* line 60, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
713
|
+
html body div#main ul#swatches li.swatch:hover {
|
714
|
+
-webkit-transform: scale(2);
|
715
|
+
-moz-transform: scale(2);
|
716
|
+
-ms-transform: scale(2);
|
717
|
+
-o-transform: scale(2);
|
718
|
+
transform: scale(2);
|
719
|
+
z-index: 9999 !important;
|
720
|
+
}
|
721
|
+
/* line 63, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
722
|
+
html body div#main ul#swatches li.swatch:hover span.help {
|
723
|
+
display: block;
|
724
|
+
font-size: 6px;
|
725
|
+
opacity: .5;
|
726
|
+
padding-top: 5px;
|
727
|
+
}
|
728
|
+
/* line 70, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
729
|
+
html body div#main ul#swatches li.swatch:before {
|
730
|
+
content: attr(data-hex);
|
731
|
+
}
|
732
|
+
/* line 73, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
733
|
+
html body div#main ul#swatches li.swatch.light-switch {
|
734
|
+
color: #fff;
|
735
|
+
}
|
736
|
+
/* line 75, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
737
|
+
html body div#main ul#swatches li.swatch.light-switch .close {
|
738
|
+
color: #fff !important;
|
739
|
+
}
|
740
|
+
/* line 79, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
741
|
+
html body div#main ul#swatches li.swatch .close {
|
742
|
+
opacity: 0.2;
|
743
|
+
filter: alpha(opacity=20);
|
744
|
+
color: #666 !important;
|
745
|
+
float: right;
|
746
|
+
font-size: 20px;
|
747
|
+
font-weight: bold;
|
748
|
+
line-height: 18px;
|
749
|
+
position: absolute;
|
750
|
+
right: 5px;
|
751
|
+
text-decoration: none;
|
752
|
+
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.9);
|
753
|
+
top: 5px;
|
754
|
+
}
|
755
|
+
/* line 91, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
756
|
+
html body div#main ul#swatches li.swatch .close:hover {
|
757
|
+
opacity: 0.4;
|
758
|
+
filter: alpha(opacity=40);
|
759
|
+
color: #000;
|
760
|
+
cursor: pointer;
|
761
|
+
text-decoration: none;
|
762
|
+
}
|
763
|
+
/* line 98, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
764
|
+
html body div#main ul#swatches li.swatch span.help {
|
765
|
+
display: none;
|
766
|
+
}
|
767
|
+
|
768
|
+
/* line 144, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
769
|
+
button, input[type="button"], input[type="submit"], input[type="reset"], .btn {
|
770
|
+
display: inline-block;
|
771
|
+
padding: 4px 10px 4px;
|
772
|
+
font-size: 13px;
|
773
|
+
line-height: 18px;
|
774
|
+
color: #514f4c !important;
|
775
|
+
text-align: center;
|
776
|
+
text-decoration: none !important;
|
777
|
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
778
|
+
background-color: #e6e6e6;
|
779
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), color-stop(25%, white), to(#e6e6e6));
|
780
|
+
background-image: -webkit-linear-gradient(white, white 25%, #e6e6e6);
|
781
|
+
background-image: -moz-linear-gradient(top, white, white 25%, #e6e6e6);
|
782
|
+
background-image: -ms-linear-gradient(white, white 25%, #e6e6e6);
|
783
|
+
background-image: -o-linear-gradient(white, white 25%, #e6e6e6);
|
784
|
+
background-image: linear, top, white, white 25%, #e6e6e6;
|
785
|
+
background-repeat: no-repeat;
|
786
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='white', endColorstr='#e6e6e6', GradientType=0);
|
787
|
+
border: 1px solid #d0cfcc;
|
788
|
+
border-bottom-color: #b4b2ad;
|
789
|
+
-webkit-border-radius: 4px;
|
790
|
+
-moz-border-radius: 4px;
|
791
|
+
-ms-border-radius: 4px;
|
792
|
+
-o-border-radius: 4px;
|
793
|
+
border-radius: 4px;
|
794
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
795
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
796
|
+
-ms-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
797
|
+
-o-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
798
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
799
|
+
cursor: pointer;
|
800
|
+
*margin-left: .3em;
|
801
|
+
}
|
802
|
+
/* line 19, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/mixins/hacks/_ie.scss */
|
803
|
+
button:first-child, input[type="button"]:first-child, input[type="submit"]:first-child, input[type="reset"]:first-child, .btn:first-child {
|
804
|
+
*margin-left: 0;
|
805
|
+
}
|
806
|
+
/* line 165, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
807
|
+
button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, .btn:hover {
|
808
|
+
-webkit-transition-property: background-position, 0.1s, linear;
|
809
|
+
-moz-transition-property: background-position, 0.1s, linear;
|
810
|
+
-ms-transition-property: background-position, 0.1s, linear;
|
811
|
+
-o-transition-property: background-position, 0.1s, linear;
|
812
|
+
transition-property: background-position, 0.1s, linear;
|
813
|
+
-webkit-transition-duration: 0.15s;
|
814
|
+
-moz-transition-duration: 0.15s;
|
815
|
+
-ms-transition-duration: 0.15s;
|
816
|
+
-o-transition-duration: 0.15s;
|
817
|
+
transition-duration: 0.15s;
|
818
|
+
-webkit-transition-timing-function: ease-out;
|
819
|
+
-moz-transition-timing-function: ease-out;
|
820
|
+
-ms-transition-timing-function: ease-out;
|
821
|
+
-o-transition-timing-function: ease-out;
|
822
|
+
transition-timing-function: ease-out;
|
823
|
+
-webkit-transition-delay: 0;
|
824
|
+
-moz-transition-delay: 0;
|
825
|
+
-ms-transition-delay: 0;
|
826
|
+
-o-transition-delay: 0;
|
827
|
+
transition-delay: 0;
|
828
|
+
color: #514f4c;
|
829
|
+
text-decoration: none;
|
830
|
+
background-color: #e6e6e6;
|
831
|
+
background-position: 0 -15px;
|
832
|
+
}
|
833
|
+
/* line 176, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
834
|
+
button:focus, input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus, .btn:focus {
|
835
|
+
outline: thin dotted;
|
836
|
+
outline: 5px auto -webkit-focus-ring-color;
|
837
|
+
outline-offset: -2px;
|
838
|
+
}
|
839
|
+
/* line 182, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
840
|
+
button.active, button:active, input[type="button"].active, input[type="button"]:active, input[type="submit"].active, input[type="submit"]:active, input[type="reset"].active, input[type="reset"]:active, .btn.active, .btn:active {
|
841
|
+
-webkit-transition-property: background-position, 0.1s, linear;
|
842
|
+
-moz-transition-property: background-position, 0.1s, linear;
|
843
|
+
-ms-transition-property: background-position, 0.1s, linear;
|
844
|
+
-o-transition-property: background-position, 0.1s, linear;
|
845
|
+
transition-property: background-position, 0.1s, linear;
|
846
|
+
-webkit-transition-duration: 0.15s;
|
847
|
+
-moz-transition-duration: 0.15s;
|
848
|
+
-ms-transition-duration: 0.15s;
|
849
|
+
-o-transition-duration: 0.15s;
|
850
|
+
transition-duration: 0.15s;
|
851
|
+
-webkit-transition-timing-function: ease-out;
|
852
|
+
-moz-transition-timing-function: ease-out;
|
853
|
+
-ms-transition-timing-function: ease-out;
|
854
|
+
-o-transition-timing-function: ease-out;
|
855
|
+
transition-timing-function: ease-out;
|
856
|
+
-webkit-transition-delay: 0;
|
857
|
+
-moz-transition-delay: 0;
|
858
|
+
-ms-transition-delay: 0;
|
859
|
+
-o-transition-delay: 0;
|
860
|
+
transition-delay: 0;
|
861
|
+
background-image: none;
|
862
|
+
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.05);
|
863
|
+
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.05);
|
864
|
+
-ms-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.05);
|
865
|
+
-o-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.05);
|
866
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.05);
|
867
|
+
background-color: #e6e6e6;
|
868
|
+
color: rgba(0, 0, 0, 0.5);
|
869
|
+
outline: 0;
|
870
|
+
}
|
871
|
+
/* line 194, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
872
|
+
button.disabled, button[disabled], input[type="button"].disabled, input[type="button"][disabled], input[type="submit"].disabled, input[type="submit"][disabled], input[type="reset"].disabled, input[type="reset"][disabled], .btn.disabled, .btn[disabled] {
|
873
|
+
cursor: default;
|
874
|
+
background-image: none;
|
875
|
+
background-color: #e6e6e6;
|
876
|
+
opacity: 0.65;
|
877
|
+
filter: alpha(opacity=65);
|
878
|
+
-webkit-box-shadow: none;
|
879
|
+
-moz-box-shadow: none;
|
880
|
+
-ms-box-shadow: none;
|
881
|
+
-o-box-shadow: none;
|
882
|
+
box-shadow: none;
|
883
|
+
}
|
884
|
+
/* line 200, ../../../../../../../Users/lynnwallenstein/workspace/personal/color_sleuth/sass/style.scss */
|
885
|
+
button.disabled:hover, button[disabled]:hover, input[type="button"].disabled:hover, input[type="button"][disabled]:hover, input[type="submit"].disabled:hover, input[type="submit"][disabled]:hover, input[type="reset"].disabled:hover, input[type="reset"][disabled]:hover, .btn.disabled:hover, .btn[disabled]:hover {
|
886
|
+
-webkit-transition-property: background-position, 0.1s, linear;
|
887
|
+
-moz-transition-property: background-position, 0.1s, linear;
|
888
|
+
-ms-transition-property: background-position, 0.1s, linear;
|
889
|
+
-o-transition-property: background-position, 0.1s, linear;
|
890
|
+
transition-property: background-position, 0.1s, linear;
|
891
|
+
-webkit-transition-duration: 0.15s;
|
892
|
+
-moz-transition-duration: 0.15s;
|
893
|
+
-ms-transition-duration: 0.15s;
|
894
|
+
-o-transition-duration: 0.15s;
|
895
|
+
transition-duration: 0.15s;
|
896
|
+
-webkit-transition-timing-function: ease-out;
|
897
|
+
-moz-transition-timing-function: ease-out;
|
898
|
+
-ms-transition-timing-function: ease-out;
|
899
|
+
-o-transition-timing-function: ease-out;
|
900
|
+
transition-timing-function: ease-out;
|
901
|
+
-webkit-transition-delay: 0;
|
902
|
+
-moz-transition-delay: 0;
|
903
|
+
-ms-transition-delay: 0;
|
904
|
+
-o-transition-delay: 0;
|
905
|
+
transition-delay: 0;
|
906
|
+
color: #514f4c;
|
907
|
+
text-decoration: none;
|
908
|
+
background-color: none;
|
909
|
+
background-position: none;
|
910
|
+
}
|