compass 0.10.2 → 0.10.3.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -1
- data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_form.scss +3 -1
- data/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +3 -3
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +63 -3
- data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +19 -7
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +11 -12
- data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +3 -1
- data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +1 -9
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +1 -4
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +10 -9
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss +10 -10
- data/frameworks/rails/stylesheets/_rails.scss +1 -0
- data/frameworks/rails/stylesheets/rails/_pagination.scss +1 -0
- data/frameworks/rails/stylesheets/rails/_scaffolding.scss +56 -0
- data/lib/compass/app_integration/rails.rb +7 -0
- data/lib/compass/app_integration/rails/installer.rb +13 -16
- data/lib/compass/commands/create_project.rb +5 -0
- data/lib/compass/commands/project_stats.rb +3 -2
- data/lib/compass/commands/stamp_pattern.rb +1 -1
- data/lib/compass/exec/project_options_parser.rb +4 -4
- data/lib/compass/installers/base.rb +16 -3
- data/lib/compass/installers/manifest.rb +1 -0
- data/lib/compass/installers/manifest_installer.rb +5 -3
- data/lib/compass/sass_extensions/functions.rb +7 -1
- data/lib/compass/sass_extensions/functions/constants.rb +17 -0
- data/lib/compass/sass_extensions/functions/gradient_support.rb +0 -16
- data/lib/compass/sass_extensions/functions/inline_image.rb +3 -5
- data/lib/compass/sass_extensions/functions/lists.rb +9 -0
- data/lib/compass/sass_extensions/functions/urls.rb +6 -2
- data/test/fixtures/stylesheets/blueprint/config.rb +5 -0
- data/test/fixtures/stylesheets/blueprint/css/screen.css +5 -5
- data/test/fixtures/stylesheets/blueprint/css/single-imports/buttons.css +56 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/colors.css +80 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +2 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/fancy-type.css +30 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/form.css +40 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/grid.css +437 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css +60 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/interaction.css +43 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/link-icons.css +40 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/liquid.css +653 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/print.css +60 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset-utilities.css +116 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset.css +66 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/rtl.css +439 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/scaffolding.css +45 -0
- data/test/fixtures/stylesheets/blueprint/css/{typography.css → single-imports/typography.css} +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/doc.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/email.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/external.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/feed.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/im.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/pdf.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/visited.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/xls.png +0 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/buttons.scss +4 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/colors.scss +34 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/debug.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/fancy-type.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/form.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/grid.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/ie.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/interaction.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/link-icons.scss +13 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/liquid.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/print.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset-utilities.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset.scss +1 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/rtl.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/scaffolding.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/typography.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.scss +3 -0
- data/test/fixtures/stylesheets/compass/config.rb +5 -0
- data/test/fixtures/stylesheets/compass/css/border_radius.css +23 -0
- data/test/fixtures/stylesheets/compass/css/gradients.css +38 -19
- data/test/fixtures/stylesheets/compass/css/images.css +8 -0
- data/test/fixtures/stylesheets/compass/css/lists.css +100 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +1 -1
- data/test/fixtures/stylesheets/compass/images/4x6.png +0 -0
- data/test/fixtures/stylesheets/compass/sass/border_radius.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/images.scss +9 -0
- data/test/fixtures/stylesheets/compass/sass/lists.scss +9 -0
- metadata +112 -13
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.sass +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +0 -3
@@ -19,19 +19,16 @@ module Compass
|
|
19
19
|
|
20
20
|
def write_configuration_files(config_file = nil)
|
21
21
|
config_file ||= targetize('config/compass.rb')
|
22
|
-
|
23
|
-
|
22
|
+
unless File.exists?(config_file)
|
23
|
+
directory File.dirname(config_file)
|
24
|
+
write_file config_file, config_contents
|
25
|
+
end
|
24
26
|
directory File.dirname(targetize('config/initializers/compass.rb'))
|
25
27
|
write_file targetize('config/initializers/compass.rb'), initializer_contents
|
26
28
|
end
|
27
29
|
|
28
|
-
def config_files_exist?
|
29
|
-
File.exists?(targetize('config/compass.rb')) &&
|
30
|
-
File.exists?(targetize('config/initializers/compass.rb'))
|
31
|
-
end
|
32
|
-
|
33
30
|
def prepare
|
34
|
-
write_configuration_files
|
31
|
+
write_configuration_files
|
35
32
|
end
|
36
33
|
|
37
34
|
def finalize(options = {})
|
@@ -55,10 +52,12 @@ Sass will automatically compile your stylesheets during the next
|
|
55
52
|
page request and keep them up to date when they change.
|
56
53
|
NEXTSTEPS
|
57
54
|
end
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
55
|
+
unless options[:prepare]
|
56
|
+
if manifest.has_stylesheet?
|
57
|
+
puts "\nNext add these lines to the head of your layouts:\n\n"
|
58
|
+
puts stylesheet_links
|
59
|
+
puts "\n(You are using haml, aren't you?)"
|
60
|
+
end
|
62
61
|
end
|
63
62
|
end
|
64
63
|
|
@@ -105,10 +104,8 @@ NEXTSTEPS
|
|
105
104
|
|
106
105
|
def initializer_contents
|
107
106
|
%Q{require 'compass'
|
108
|
-
|
|
109
|
-
|Compass.
|
110
|
-
|Compass.configure_sass_plugin!
|
111
|
-
|Compass.handle_configuration_change!
|
107
|
+
|require 'compass/app_integration/rails'
|
108
|
+
|Compass::AppIntegration::Rails.initialize!
|
112
109
|
|}.gsub(/^\s+\|/,'')
|
113
110
|
end
|
114
111
|
|
@@ -33,13 +33,14 @@ module Compass
|
|
33
33
|
require 'compass/stats'
|
34
34
|
compiler = new_compiler_instance
|
35
35
|
sass_files = sorted_sass_files(compiler)
|
36
|
+
total_label = "Total (#{sass_files.size} files):"
|
36
37
|
rows = [[ :-, :-, :-, :-, :-, :-, :- ],
|
37
38
|
[ 'Filename', 'Rules', 'Properties', 'Mixins Defs', 'Mixins Used', 'CSS Rules', 'CSS Properties' ],
|
38
39
|
[ :-, :-, :-, :-, :-, :-, :- ]]
|
39
|
-
maximums = [
|
40
|
+
maximums = [ total_label.length, 5, 10, 14, 11, 9, 14 ]
|
40
41
|
alignments = [ :left, :right, :right, :right, :right, :right, :right ]
|
41
42
|
delimiters = [ ['| ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'] ]
|
42
|
-
totals = [
|
43
|
+
totals = [ total_label, 0, 0, 0, 0, 0, 0 ]
|
43
44
|
|
44
45
|
sass_files.each do |sass_file|
|
45
46
|
css_file = compiler.corresponding_css_file(sass_file) unless sass_file[0..0] == '_'
|
@@ -74,7 +74,7 @@ Options:
|
|
74
74
|
installer.init
|
75
75
|
installer.run(:skip_finalization => true)
|
76
76
|
UpdateProject.new(working_path, options).perform if installer.compilation_required?
|
77
|
-
installer.finalize(:create => is_project_creation?)
|
77
|
+
installer.finalize(options.merge(:create => is_project_creation?))
|
78
78
|
end
|
79
79
|
|
80
80
|
def is_project_creation?
|
@@ -13,19 +13,19 @@ module Compass::Exec::ProjectOptionsParser
|
|
13
13
|
end
|
14
14
|
|
15
15
|
opts.on('--sass-dir SRC_DIR', "The source directory where you keep your sass stylesheets.") do |sass_dir|
|
16
|
-
self.options[:sass_dir] = sass_dir
|
16
|
+
self.options[:sass_dir] = sass_dir.tr('\\','/')
|
17
17
|
end
|
18
18
|
|
19
19
|
opts.on('--css-dir CSS_DIR', "The target directory where you keep your css stylesheets.") do |css_dir|
|
20
|
-
self.options[:css_dir] = css_dir
|
20
|
+
self.options[:css_dir] = css_dir.tr('\\','/')
|
21
21
|
end
|
22
22
|
|
23
23
|
opts.on('--images-dir IMAGES_DIR', "The directory where you keep your images.") do |images_dir|
|
24
|
-
self.options[:images_dir] = images_dir
|
24
|
+
self.options[:images_dir] = images_dir.tr('\\','/')
|
25
25
|
end
|
26
26
|
|
27
27
|
opts.on('--javascripts-dir JS_DIR', "The directory where you keep your javascripts.") do |javascripts_dir|
|
28
|
-
self.options[:javascripts_dir] = javascripts_dir
|
28
|
+
self.options[:javascripts_dir] = javascripts_dir.tr('\\','/')
|
29
29
|
end
|
30
30
|
|
31
31
|
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment.',
|
@@ -28,10 +28,10 @@ module Compass
|
|
28
28
|
# Runs the installer.
|
29
29
|
# Every installer must conform to the installation strategy of prepare, install, and then finalize.
|
30
30
|
# A default implementation is provided for each step.
|
31
|
-
def run(
|
31
|
+
def run(run_options = {})
|
32
32
|
prepare
|
33
|
-
install
|
34
|
-
finalize(options) unless options[:skip_finalization]
|
33
|
+
install unless options[:prepare]
|
34
|
+
finalize(options.merge(run_options)) unless options[:prepare] || run_options[:skip_finalization]
|
35
35
|
end
|
36
36
|
|
37
37
|
# The default prepare method -- it is a no-op.
|
@@ -116,6 +116,19 @@ module Compass
|
|
116
116
|
"#{pattern_name_as_dir}#{to}"
|
117
117
|
end
|
118
118
|
|
119
|
+
def install_directory(from, to, options)
|
120
|
+
d = if within = options[:within]
|
121
|
+
if respond_to?(within)
|
122
|
+
targetize("#{send(within)}/#{to}")
|
123
|
+
else
|
124
|
+
raise Compass::Error, "Unrecognized location: #{within}"
|
125
|
+
end
|
126
|
+
else
|
127
|
+
targetize(to)
|
128
|
+
end
|
129
|
+
directory d
|
130
|
+
end
|
131
|
+
|
119
132
|
alias install_html_without_haml install_html
|
120
133
|
def install_html(from, to, options)
|
121
134
|
if to =~ /\.haml$/
|
@@ -17,9 +17,11 @@ module Compass
|
|
17
17
|
# Initializes the project to work with compass
|
18
18
|
def init
|
19
19
|
dirs = manifest.map do |entry|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
unless entry.type == :directory
|
21
|
+
loc = send("install_location_for_#{entry.type}", entry.to, entry.options)
|
22
|
+
File.dirname(loc)
|
23
|
+
end
|
24
|
+
end.compact
|
23
25
|
|
24
26
|
if manifest.has_stylesheet?
|
25
27
|
dirs << sass_dir
|
@@ -1,7 +1,11 @@
|
|
1
1
|
module Compass::SassExtensions::Functions
|
2
2
|
end
|
3
3
|
|
4
|
-
%w(
|
4
|
+
%w(
|
5
|
+
selectors enumerate urls display
|
6
|
+
inline_image image_size gradient_support
|
7
|
+
font_files constants lists
|
8
|
+
).each do |func|
|
5
9
|
require "compass/sass_extensions/functions/#{func}"
|
6
10
|
end
|
7
11
|
|
@@ -14,6 +18,8 @@ module Sass::Script::Functions
|
|
14
18
|
include Compass::SassExtensions::Functions::ImageSize
|
15
19
|
include Compass::SassExtensions::Functions::GradientSupport::Functions
|
16
20
|
include Compass::SassExtensions::Functions::FontFiles
|
21
|
+
include Compass::SassExtensions::Functions::Constants
|
22
|
+
include Compass::SassExtensions::Functions::Lists
|
17
23
|
end
|
18
24
|
|
19
25
|
# Wierd that this has to be re-included to pick up sub-modules. Ruby bug?
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Compass::SassExtensions::Functions::Constants
|
2
|
+
# returns the opposite position of a side or corner.
|
3
|
+
def opposite_position(position)
|
4
|
+
opposite = position.value.split(/ +/).map do |pos|
|
5
|
+
case pos
|
6
|
+
when "top" then "bottom"
|
7
|
+
when "bottom" then "top"
|
8
|
+
when "left" then "right"
|
9
|
+
when "right" then "left"
|
10
|
+
when "center" then "center"
|
11
|
+
else
|
12
|
+
raise Sass::SyntaxError, "Cannot determine the opposite of #{pos}"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
Sass::Script::String.new(opposite.join(" "), position.type)
|
16
|
+
end
|
17
|
+
end
|
@@ -36,22 +36,6 @@ module Compass::SassExtensions::Functions::GradientSupport
|
|
36
36
|
end
|
37
37
|
|
38
38
|
module Functions
|
39
|
-
# returns the opposite position of a side or corner.
|
40
|
-
def grad_opposite_position(position)
|
41
|
-
opposite = position.value.split(/ +/).map do |pos|
|
42
|
-
case pos
|
43
|
-
when "top" then "bottom"
|
44
|
-
when "bottom" then "top"
|
45
|
-
when "left" then "right"
|
46
|
-
when "right" then "left"
|
47
|
-
when "center" then "center"
|
48
|
-
else
|
49
|
-
raise Sass::SyntaxError, "Cannot determine the opposite of #{pos}"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
Sass::Script::String.new(opposite.join(" "))
|
53
|
-
end
|
54
|
-
|
55
39
|
# returns color-stop() calls for use in webkit.
|
56
40
|
def grad_color_stops(color_list)
|
57
41
|
assert_list(color_list)
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'base64'
|
2
1
|
module Compass::SassExtensions::Functions::InlineImage
|
3
2
|
|
4
3
|
def inline_image(path, mime_type = nil)
|
@@ -10,19 +9,18 @@ module Compass::SassExtensions::Functions::InlineImage
|
|
10
9
|
|
11
10
|
def inline_font_files(*args)
|
12
11
|
raise Sass::SyntaxError, "An even number of arguments must be passed to font_files()" unless args.size % 2 == 0
|
13
|
-
path = path.value
|
14
12
|
files = []
|
15
13
|
while args.size > 0
|
16
14
|
path = args.shift.value
|
17
15
|
real_path = File.join(Compass.configuration.fonts_path, path)
|
18
|
-
url = "url('data:#{compute_mime_type(path
|
16
|
+
url = "url('data:#{compute_mime_type(path)};base64,#{data(real_path)}')"
|
19
17
|
files << "#{url} format('#{args.shift}')"
|
20
18
|
end
|
21
19
|
Sass::Script::String.new(files.join(", "))
|
22
20
|
end
|
23
21
|
|
24
22
|
private
|
25
|
-
def compute_mime_type(path, mime_type)
|
23
|
+
def compute_mime_type(path, mime_type = nil)
|
26
24
|
return mime_type if mime_type
|
27
25
|
case path
|
28
26
|
when /\.png$/i
|
@@ -48,7 +46,7 @@ private
|
|
48
46
|
|
49
47
|
def data(real_path)
|
50
48
|
if File.readable?(real_path)
|
51
|
-
|
49
|
+
[File.read(real_path)].pack('m').gsub("\n","")
|
52
50
|
else
|
53
51
|
raise Compass::Error, "File not found or cannot be read: #{real_path}"
|
54
52
|
end
|
@@ -36,8 +36,12 @@ module Compass::SassExtensions::Functions::Urls
|
|
36
36
|
def image_url(path)
|
37
37
|
path = path.value # get to the string value of the literal.
|
38
38
|
|
39
|
-
|
40
|
-
|
39
|
+
if path =~ %r{^#{Regexp.escape(Compass.configuration.http_images_path)}/(.*)}
|
40
|
+
# Treat root relative urls (without a protocol) like normal if they start with
|
41
|
+
# the images path.
|
42
|
+
path = $1
|
43
|
+
elsif absolute_path?(path)
|
44
|
+
# Short curcuit if they have provided an absolute url.
|
41
45
|
return Sass::Script::String.new("url(#{path})")
|
42
46
|
end
|
43
47
|
|
@@ -4,6 +4,11 @@ css_dir = "tmp"
|
|
4
4
|
sass_dir = "sass"
|
5
5
|
images_dir = "images"
|
6
6
|
output_style = :nested
|
7
|
+
line_comments = false
|
7
8
|
# To enable relative image paths using the images_url() function:
|
8
9
|
# http_images_path = :relative
|
9
10
|
http_images_path = "/images"
|
11
|
+
|
12
|
+
asset_cache_buster do |path, file|
|
13
|
+
"busted=true"
|
14
|
+
end
|
@@ -669,7 +669,7 @@ input.span-24, textarea.span-24, select.span-24 {
|
|
669
669
|
margin-bottom: 1.5em; }
|
670
670
|
|
671
671
|
.showgrid {
|
672
|
-
background: url('/images/grid.png?
|
672
|
+
background: url('/images/grid.png?busted=true'); }
|
673
673
|
|
674
674
|
.error {
|
675
675
|
padding: 0.8em;
|
@@ -726,7 +726,7 @@ legend {
|
|
726
726
|
font-weight: bold;
|
727
727
|
font-size: 1.2em; }
|
728
728
|
|
729
|
-
input.text, input.title, input[type=text], input[type=password] {
|
729
|
+
input.text, input.title, input[type=email], input[type=text], input[type=password] {
|
730
730
|
margin: 0.5em 0;
|
731
731
|
background-color: white;
|
732
732
|
padding: 5px; }
|
@@ -746,14 +746,14 @@ select {
|
|
746
746
|
fieldset {
|
747
747
|
border: 1px solid #cccccc; }
|
748
748
|
|
749
|
-
input.text, input.title, input[type=text], input[type=password],
|
749
|
+
input.text, input.title, input[type=email], input[type=text], input[type=password],
|
750
750
|
textarea, select {
|
751
751
|
border: 1px solid #bbbbbb; }
|
752
|
-
input.text:focus, input.title:focus, input[type=text]:focus, input[type=password]:focus,
|
752
|
+
input.text:focus, input.title:focus, input[type=email]:focus, input[type=text]:focus, input[type=password]:focus,
|
753
753
|
textarea:focus, select:focus {
|
754
754
|
border: 1px solid #666666; }
|
755
755
|
|
756
|
-
input.text, input.title, input[type=text], input[type=password] {
|
756
|
+
input.text, input.title, input[type=email], input[type=text], input[type=password] {
|
757
757
|
width: 300px; }
|
758
758
|
|
759
759
|
textarea {
|
@@ -0,0 +1,56 @@
|
|
1
|
+
a {
|
2
|
+
display: -moz-inline-box;
|
3
|
+
-moz-box-orient: vertical;
|
4
|
+
display: inline-block;
|
5
|
+
vertical-align: middle;
|
6
|
+
*display: inline;
|
7
|
+
*vertical-align: auto;
|
8
|
+
margin: 0.7em 0.5em 0.7em 0;
|
9
|
+
border-width: 1px;
|
10
|
+
border-style: solid;
|
11
|
+
font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
12
|
+
font-size: 100%;
|
13
|
+
line-height: 130%;
|
14
|
+
font-weight: bold;
|
15
|
+
text-decoration: none;
|
16
|
+
cursor: pointer;
|
17
|
+
padding: 5px 10px 5px 7px; }
|
18
|
+
a img {
|
19
|
+
margin: 0 3px -3px 0 !important;
|
20
|
+
padding: 0;
|
21
|
+
border: none;
|
22
|
+
width: 16px;
|
23
|
+
height: 16px;
|
24
|
+
float: none; }
|
25
|
+
|
26
|
+
button {
|
27
|
+
display: -moz-inline-box;
|
28
|
+
-moz-box-orient: vertical;
|
29
|
+
display: inline-block;
|
30
|
+
vertical-align: middle;
|
31
|
+
*display: inline;
|
32
|
+
*vertical-align: auto;
|
33
|
+
margin: 0.7em 0.5em 0.7em 0;
|
34
|
+
border-width: 1px;
|
35
|
+
border-style: solid;
|
36
|
+
font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
37
|
+
font-size: 100%;
|
38
|
+
line-height: 130%;
|
39
|
+
font-weight: bold;
|
40
|
+
text-decoration: none;
|
41
|
+
cursor: pointer;
|
42
|
+
width: auto;
|
43
|
+
overflow: visible;
|
44
|
+
padding: 4px 10px 3px 7px; }
|
45
|
+
button img {
|
46
|
+
margin: 0 3px -3px 0 !important;
|
47
|
+
padding: 0;
|
48
|
+
border: none;
|
49
|
+
width: 16px;
|
50
|
+
height: 16px;
|
51
|
+
float: none; }
|
52
|
+
button[type] {
|
53
|
+
padding: 4px 10px 4px 7px;
|
54
|
+
line-height: 17px; }
|
55
|
+
*:first-child + html button[type] {
|
56
|
+
padding: 4px 10px 3px 7px; }
|
@@ -0,0 +1,80 @@
|
|
1
|
+
.font-color {
|
2
|
+
color: #333333; }
|
3
|
+
|
4
|
+
.quiet-color {
|
5
|
+
color: #666666; }
|
6
|
+
|
7
|
+
.loud-color {
|
8
|
+
color: #111111; }
|
9
|
+
|
10
|
+
.header-color {
|
11
|
+
color: #222222; }
|
12
|
+
|
13
|
+
.alt-text-color {
|
14
|
+
color: #666666; }
|
15
|
+
|
16
|
+
.link-color {
|
17
|
+
color: #000099; }
|
18
|
+
|
19
|
+
.link-hover-color {
|
20
|
+
color: black; }
|
21
|
+
|
22
|
+
.link-focus-color {
|
23
|
+
color: black; }
|
24
|
+
|
25
|
+
.link-active-color {
|
26
|
+
color: #cc0099; }
|
27
|
+
|
28
|
+
.link-visited-color {
|
29
|
+
color: #000066; }
|
30
|
+
|
31
|
+
.feedback-border-color {
|
32
|
+
color: #dddddd; }
|
33
|
+
|
34
|
+
.success-color {
|
35
|
+
color: #264409; }
|
36
|
+
|
37
|
+
.success-bg-color {
|
38
|
+
color: #e6efc2; }
|
39
|
+
|
40
|
+
.success-border-color {
|
41
|
+
color: #c6d880; }
|
42
|
+
|
43
|
+
.notice-color {
|
44
|
+
color: #514721; }
|
45
|
+
|
46
|
+
.notice-bg-color {
|
47
|
+
color: #fff6bf; }
|
48
|
+
|
49
|
+
.notice-border-color {
|
50
|
+
color: #ffd324; }
|
51
|
+
|
52
|
+
.error-color {
|
53
|
+
color: #8a1f11; }
|
54
|
+
|
55
|
+
.error-bg-color {
|
56
|
+
color: #fbe3e4; }
|
57
|
+
|
58
|
+
.error-border-color {
|
59
|
+
color: #fbc2c4; }
|
60
|
+
|
61
|
+
.highlight-color {
|
62
|
+
color: yellow; }
|
63
|
+
|
64
|
+
.added-color {
|
65
|
+
color: white; }
|
66
|
+
|
67
|
+
.added-bg-color {
|
68
|
+
color: #006600; }
|
69
|
+
|
70
|
+
.removed-color {
|
71
|
+
color: white; }
|
72
|
+
|
73
|
+
.removed-bg-color {
|
74
|
+
color: #990000; }
|
75
|
+
|
76
|
+
.blueprint-table-header-color {
|
77
|
+
color: #c3d9ff; }
|
78
|
+
|
79
|
+
.blueprint-table-stripe-color {
|
80
|
+
color: #e5ecf9; }
|