compass 0.10.0.rc3 → 0.10.0.rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +30 -102
- data/VERSION.yml +1 -1
- data/examples/css3/bootstrap.rb +3 -0
- data/examples/css3/clean.rb +2 -0
- data/examples/downloader.rb +2 -2
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass +1 -2
- data/frameworks/{compass → _compass_deprecated_imports}/stylesheets/compass/_misc.scss +1 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_inline_block.sass +1 -1
- data/frameworks/blueprint/stylesheets/_blueprint.scss +2 -1
- data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +47 -32
- data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +25 -45
- data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +6 -3
- data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +31 -24
- data/frameworks/blueprint/stylesheets/blueprint/_form.scss +45 -35
- data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +2 -1
- data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +21 -28
- data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +66 -137
- data/frameworks/compass/stylesheets/compass/_css3.scss +1 -0
- data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +23 -5
- data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +22 -5
- data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +8 -10
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +36 -16
- data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +14 -7
- data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +4 -8
- data/frameworks/compass/stylesheets/compass/css3/_box.scss +89 -0
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +19 -40
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +3 -1
- data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +2 -0
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +5 -6
- data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +15 -9
- data/frameworks/compass/stylesheets/compass/css3/_shared.scss +47 -0
- data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +10 -2
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +34 -17
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +19 -21
- data/frameworks/compass/stylesheets/compass/utilities/_print.scss +14 -15
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +27 -17
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.scss +7 -9
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +4 -2
- data/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss +12 -6
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss +24 -12
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +0 -4
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss +5 -5
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +15 -13
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss +1 -1
- data/lib/compass.rb +6 -1
- data/lib/compass/commands/help.rb +1 -0
- data/lib/compass/configuration/data.rb +10 -2
- data/lib/compass/exec/helpers.rb +3 -0
- data/lib/compass/sass_extensions/functions/selectors.rb +21 -0
- data/lib/compass/version.rb +12 -21
- data/test/compass_test.rb +1 -1
- data/test/fixtures/stylesheets/blueprint/css/typography.css +8 -19
- data/test/fixtures/stylesheets/compass/css/box.css +90 -0
- data/test/fixtures/stylesheets/compass/sass/box.sass +50 -0
- data/test/sass_extensions_test.rb +19 -26
- metadata +42 -62
- data/CHANGELOG.markdown +0 -881
- data/REVISION +0 -1
- data/examples/css3/extensions/compass-colors/README.markdown +0 -50
- data/examples/css3/extensions/compass-colors/VERSION.yml +0 -5
- data/examples/css3/extensions/compass-colors/example/config.rb +0 -13
- data/examples/css3/extensions/compass-colors/example/src/_split_compliment_theme.sass +0 -28
- data/examples/css3/extensions/compass-colors/example/src/screen.sass +0 -40
- data/examples/css3/extensions/compass-colors/lib/compass-colors.rb +0 -9
- data/examples/css3/extensions/compass-colors/lib/compass-colors/compass_extension.rb +0 -7
- data/examples/css3/extensions/compass-colors/lib/compass-colors/hsl.rb +0 -109
- data/examples/css3/extensions/compass-colors/lib/compass-colors/sass_extensions.rb +0 -112
- data/examples/css3/extensions/compass-colors/spec/approximate_color_matching.rb +0 -43
- data/examples/css3/extensions/compass-colors/spec/sass_extensions_spec.rb +0 -54
- data/examples/css3/extensions/compass-colors/templates/analogous/_theme.sass +0 -28
- data/examples/css3/extensions/compass-colors/templates/analogous/manifest.rb +0 -1
- data/examples/css3/extensions/compass-colors/templates/basic/_theme.sass +0 -7
- data/examples/css3/extensions/compass-colors/templates/basic/manifest.rb +0 -1
- data/examples/css3/extensions/compass-colors/templates/complementary/_theme.sass +0 -20
- data/examples/css3/extensions/compass-colors/templates/complementary/manifest.rb +0 -1
- data/examples/css3/extensions/compass-colors/templates/split_complement/_theme.sass +0 -28
- data/examples/css3/extensions/compass-colors/templates/split_complement/manifest.rb +0 -1
- data/examples/css3/extensions/compass-colors/templates/triadic/_theme.sass +0 -28
- data/examples/css3/extensions/compass-colors/templates/triadic/manifest.rb +0 -1
- data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
- data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
- data/examples/logo/logo.html.haml +0 -40
- data/examples/logo/src/ie.scss +0 -5
- data/examples/logo/src/print.scss +0 -3
- data/examples/logo/src/screen.scss +0 -28
|
@@ -4,53 +4,63 @@
|
|
|
4
4
|
@mixin blueprint-inline-form {
|
|
5
5
|
line-height: 3;
|
|
6
6
|
p {
|
|
7
|
-
margin-bottom: 0;
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
@mixin blueprint-form {
|
|
10
12
|
@include blueprint-form-layout;
|
|
11
13
|
@include blueprint-form-borders;
|
|
12
|
-
@include blueprint-form-sizes;
|
|
14
|
+
@include blueprint-form-sizes;
|
|
15
|
+
}
|
|
13
16
|
|
|
14
17
|
@mixin blueprint-form-layout {
|
|
15
|
-
label
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
padding: 1.4em;
|
|
19
|
-
margin: 0 0 1.5em 0; }
|
|
20
|
-
legend {
|
|
21
|
-
font-weight: bold;
|
|
22
|
-
font-size: 1.2em; }
|
|
18
|
+
label { font-weight: bold; }
|
|
19
|
+
fieldset { padding: 1.4em; margin: 0 0 1.5em 0; }
|
|
20
|
+
legend { font-weight: bold; font-size: 1.2em; }
|
|
23
21
|
input {
|
|
24
|
-
&.text,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
&.title
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
&[type=radio],
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
textarea
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
select {
|
|
38
|
-
margin: 0.5em 0; } }
|
|
22
|
+
&.text,
|
|
23
|
+
&.title,
|
|
24
|
+
&[type=text],
|
|
25
|
+
&[type=password] { margin: 0.5em 0; background-color: white; padding: 5px; }
|
|
26
|
+
&.title { font-size: 1.5em; }
|
|
27
|
+
&[type=checkbox],
|
|
28
|
+
&.checkbox,
|
|
29
|
+
&[type=radio],
|
|
30
|
+
&.radio { position: relative; top: 0.25em; }
|
|
31
|
+
}
|
|
32
|
+
textarea { margin: 0.5em 0; padding: 5px; }
|
|
33
|
+
select { margin: 0.5em 0; }
|
|
34
|
+
}
|
|
39
35
|
|
|
40
|
-
@mixin blueprint-form-sizes
|
|
36
|
+
@mixin blueprint-form-sizes
|
|
37
|
+
(
|
|
38
|
+
$input_width: 300px,
|
|
39
|
+
$textarea_width: 390px,
|
|
40
|
+
$textarea_height: 250px
|
|
41
|
+
) {
|
|
41
42
|
input {
|
|
42
|
-
&.text,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
width: $
|
|
46
|
-
|
|
43
|
+
&.text,
|
|
44
|
+
&.title,
|
|
45
|
+
&[type=text],
|
|
46
|
+
&[type=password] { width: $input_width; }
|
|
47
|
+
}
|
|
48
|
+
textarea { width: $textarea_width; height: $textarea_height; }
|
|
49
|
+
}
|
|
47
50
|
|
|
48
|
-
@mixin blueprint-form-borders
|
|
51
|
+
@mixin blueprint-form-borders
|
|
52
|
+
(
|
|
53
|
+
$unfocused_border_color: #bbbbbb,
|
|
54
|
+
$focus_border_color: #666666,
|
|
55
|
+
$fieldset_border_color: #cccccc
|
|
56
|
+
) {
|
|
49
57
|
fieldset {
|
|
50
58
|
border: 1px solid $fieldset_border_color; }
|
|
51
59
|
input.text, input.title, input[type=text], input[type=password],
|
|
52
|
-
textarea,
|
|
53
|
-
select {
|
|
60
|
+
textarea, select {
|
|
54
61
|
border: 1px solid $unfocused_border_color;
|
|
55
62
|
&:focus {
|
|
56
|
-
border: 1px solid $focus_border_color;
|
|
63
|
+
border: 1px solid $focus_border_color;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
// --------------------------------------------------------------
|
|
17
17
|
|
|
18
18
|
@import "compass/utilities/general/float";
|
|
19
|
+
@import "compass/utilities/general/clearfix";
|
|
19
20
|
|
|
20
21
|
// The number of columns in the grid.
|
|
21
22
|
$blueprint_grid_columns: 24 !default;
|
|
@@ -206,7 +207,7 @@ $blueprint_container_size: $blueprint_grid_outer_width * $blueprint_grid_columns
|
|
|
206
207
|
position: relative; }
|
|
207
208
|
|
|
208
209
|
@mixin push-margins($n) {
|
|
209
|
-
margin: 0 -$blueprint_grid_outer_width * $n 1.5em $blueprint_grid_outer_width * $n; }
|
|
210
|
+
margin: 0 (-$blueprint_grid_outer_width * $n) 1.5em $blueprint_grid_outer_width * $n; }
|
|
210
211
|
|
|
211
212
|
// mixin to a column to push it n columns to the right
|
|
212
213
|
@mixin push($n) {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
@mixin no-link-icon {
|
|
2
2
|
background: transparent none !important;
|
|
3
|
-
padding:
|
|
4
|
-
margin:
|
|
3
|
+
padding: 0 !important;
|
|
4
|
+
margin: 0 !important;
|
|
5
|
+
}
|
|
5
6
|
|
|
6
7
|
@mixin link-icon-base {
|
|
7
|
-
padding:
|
|
8
|
-
margin:
|
|
9
|
-
background-repeat:
|
|
10
|
-
background-position: right center;
|
|
8
|
+
padding: 2px 22px 2px 0;
|
|
9
|
+
margin: -2px 0;
|
|
10
|
+
background-repeat: no-repeat;
|
|
11
|
+
background-position: right center;
|
|
12
|
+
}
|
|
11
13
|
|
|
12
|
-
@mixin link-icon($name, $
|
|
13
|
-
@if $
|
|
14
|
-
|
|
15
|
-
background-image: image_url("link_icons/#{$name}"); }
|
|
14
|
+
@mixin link-icon($name, $include-base: true) {
|
|
15
|
+
@if $include-base { @include link-icon-base; }
|
|
16
|
+
background-image: image-url("link_icons/#{$name}"); }
|
|
16
17
|
|
|
17
18
|
@mixin link-icons {
|
|
18
19
|
a[href^="http:"],
|
|
@@ -23,22 +24,14 @@
|
|
|
23
24
|
a[href$=".xls"],
|
|
24
25
|
a[href$=".rss"],
|
|
25
26
|
a[href$=".rdf"],
|
|
26
|
-
a[href^="aim:"]
|
|
27
|
-
|
|
28
|
-
a[href^="
|
|
29
|
-
|
|
30
|
-
a[href
|
|
31
|
-
|
|
32
|
-
a[href
|
|
33
|
-
@include link-icon(unquote("visited.png"), false); }
|
|
34
|
-
a[href$=".pdf"] {
|
|
35
|
-
@include link-icon(unquote("pdf.png"), false); }
|
|
36
|
-
a[href$=".doc"] {
|
|
37
|
-
@include link-icon(unquote("doc.png"), false); }
|
|
38
|
-
a[href$=".xls"] {
|
|
39
|
-
@include link-icon(unquote("xls.png"), false); }
|
|
27
|
+
a[href^="aim:"] { @include link-icon-base; }
|
|
28
|
+
a[href^="http:"] { @include link-icon("external.png", false); }
|
|
29
|
+
a[href^="mailto:"] { @include link-icon("email.png", false); }
|
|
30
|
+
a[href^="http:"]:visited { @include link-icon("visited.png", false); }
|
|
31
|
+
a[href$=".pdf"] { @include link-icon("pdf.png", false); }
|
|
32
|
+
a[href$=".doc"] { @include link-icon("doc.png", false); }
|
|
33
|
+
a[href$=".xls"] { @include link-icon("xls.png", false); }
|
|
40
34
|
a[href$=".rss"],
|
|
41
|
-
a[href$=".rdf"]
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
@include link-icon(unquote("im.png"), false); } }
|
|
35
|
+
a[href$=".rdf"] { @include link-icon("feed.png", false); }
|
|
36
|
+
a[href^="aim:"] { @include link-icon("im.png", false); }
|
|
37
|
+
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
@import "compass/utilities/links/link-colors";
|
|
3
3
|
@import "compass/utilities/general/float";
|
|
4
4
|
|
|
5
|
-
$
|
|
5
|
+
$blueprint-font-family: "Helvetica Neue", Arial, Helvetica, sans-serif !default;
|
|
6
6
|
|
|
7
|
-
$
|
|
7
|
+
$blueprint-fixed-font-family: "andale mono", "lucida console", monospace !default;
|
|
8
8
|
|
|
9
|
-
$
|
|
9
|
+
$blueprint-font-size: 12px !default;
|
|
10
10
|
|
|
11
11
|
// Usage examples:
|
|
12
12
|
// As a top-level mixin, apply to any page that includes the stylesheet:
|
|
@@ -20,145 +20,74 @@ $blueprint_font_size: 12px !default;
|
|
|
20
20
|
// Deprecated:
|
|
21
21
|
// You can pass the body selector as the first argument when used as a top-level mixin
|
|
22
22
|
// +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type")
|
|
23
|
-
@mixin blueprint-typography($
|
|
24
|
-
@if $
|
|
23
|
+
@mixin blueprint-typography($body-selector: body) {
|
|
24
|
+
@if $body-selector == true {
|
|
25
25
|
@include blueprint-typography-body;
|
|
26
|
-
@include blueprint-typography-defaults;
|
|
27
|
-
@else {
|
|
28
|
-
#{$
|
|
26
|
+
@include blueprint-typography-defaults;
|
|
27
|
+
} @else {
|
|
28
|
+
#{$body-selector} {
|
|
29
29
|
@include blueprint-typography-body;
|
|
30
|
-
@if $
|
|
31
|
-
@warn "[DEPRECATED] To specify
|
|
32
|
-
@include blueprint-typography-defaults;
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
@if $body-selector != body {
|
|
31
|
+
@warn "[DEPRECATED] To specify the selector \"#{$body-selector}\" to +blueprint-typography, pass true as the first argument and mix it into #{$body-selector}.";
|
|
32
|
+
@include blueprint-typography-defaults;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
@if $body-selector == body {
|
|
36
|
+
@include blueprint-typography-defaults;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
35
40
|
|
|
36
|
-
@mixin normal-text
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
@mixin normal-text { font-family: $blueprint-font-family; color: $font-color; }
|
|
42
|
+
@mixin fixed-width-text { font: 1em $blueprint-fixed-font-family; line-height: 1.5; }
|
|
43
|
+
@mixin header-text { font-weight: normal; color: $header-color; }
|
|
44
|
+
@mixin quiet { color: $quiet-color; }
|
|
45
|
+
@mixin loud { color: $loud-color; }
|
|
39
46
|
|
|
40
|
-
@mixin
|
|
41
|
-
font: 1em $blueprint_fixed_font_family;
|
|
42
|
-
line-height: 1.5; }
|
|
43
|
-
|
|
44
|
-
@mixin header-text {
|
|
45
|
-
font-weight: normal;
|
|
46
|
-
color: $header_color; }
|
|
47
|
-
|
|
48
|
-
@mixin quiet {
|
|
49
|
-
color: $quiet_color; }
|
|
50
|
-
|
|
51
|
-
@mixin loud {
|
|
52
|
-
color: $loud_color; }
|
|
53
|
-
|
|
54
|
-
@mixin blueprint-typography-body($font_size: $blueprint_font_size) {
|
|
47
|
+
@mixin blueprint-typography-body($font-size: $blueprint-font-size) {
|
|
55
48
|
line-height: 1.5;
|
|
56
49
|
@include normal-text;
|
|
57
|
-
font-size: 100% * $
|
|
50
|
+
font-size: 100% * $font-size / 16px;
|
|
51
|
+
}
|
|
58
52
|
|
|
59
53
|
@mixin blueprint-typography-defaults {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
margin-bottom:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
margin
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
font-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
margin: 1.5em 0 1.5em 1.5em;
|
|
101
|
-
padding: 0; } }
|
|
102
|
-
a {
|
|
103
|
-
text-decoration: underline;
|
|
104
|
-
@include link-colors($link_color, $link_hover_color, $link_active_color, $link_visited_color, $link_focus_color); }
|
|
105
|
-
blockquote {
|
|
106
|
-
margin: 1.5em;
|
|
107
|
-
color: #666666;
|
|
108
|
-
font-style: italic; }
|
|
109
|
-
strong {
|
|
110
|
-
font-weight: bold; }
|
|
111
|
-
em {
|
|
112
|
-
font-style: italic; }
|
|
113
|
-
dfn {
|
|
114
|
-
font-style: italic;
|
|
115
|
-
font-weight: bold; }
|
|
116
|
-
sup, sub {
|
|
117
|
-
line-height: 0; }
|
|
118
|
-
abbr, acronym {
|
|
119
|
-
border-bottom: 1px dotted #666666; }
|
|
120
|
-
address {
|
|
121
|
-
margin: 0 0 1.5em;
|
|
122
|
-
font-style: italic; }
|
|
123
|
-
del {
|
|
124
|
-
color: #666666; }
|
|
125
|
-
pre {
|
|
126
|
-
margin: 1.5em 0;
|
|
127
|
-
white-space: pre; }
|
|
128
|
-
pre, code, tt {
|
|
129
|
-
@include fixed-width-text; }
|
|
130
|
-
li {
|
|
131
|
-
ul, ol {
|
|
132
|
-
margin: 0; } }
|
|
133
|
-
ul, ol {
|
|
134
|
-
margin: 0 1.5em 1.5em 0;
|
|
135
|
-
padding-left: 3.333em; }
|
|
136
|
-
ul {
|
|
137
|
-
list-style-type: disc; }
|
|
138
|
-
ol {
|
|
139
|
-
list-style-type: decimal; }
|
|
140
|
-
dl {
|
|
141
|
-
margin: 0 0 1.5em 0;
|
|
142
|
-
dt {
|
|
143
|
-
font-weight: bold; } }
|
|
144
|
-
dd {
|
|
145
|
-
margin-left: 1.5em; }
|
|
146
|
-
table {
|
|
147
|
-
margin-bottom: 1.4em;
|
|
148
|
-
width: 100%; }
|
|
149
|
-
th {
|
|
150
|
-
font-weight: bold; }
|
|
151
|
-
thead th {
|
|
152
|
-
background: $blueprint_table_header_color; }
|
|
153
|
-
th, td, caption {
|
|
154
|
-
padding: 4px 10px 4px 5px; }
|
|
155
|
-
tr.even td {
|
|
156
|
-
background: $blueprint_table_stripe_color; }
|
|
157
|
-
tfoot {
|
|
158
|
-
font-style: italic; }
|
|
159
|
-
caption {
|
|
160
|
-
background: #eeeeee; }
|
|
161
|
-
.quiet {
|
|
162
|
-
@include quiet; }
|
|
163
|
-
.loud {
|
|
164
|
-
@include loud; } }
|
|
54
|
+
#{headers(all)} { @include header-text;
|
|
55
|
+
img { margin: 0; } }
|
|
56
|
+
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
|
57
|
+
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
|
58
|
+
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
|
59
|
+
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
|
60
|
+
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
|
61
|
+
h6 { font-size: 1em; font-weight: bold; }
|
|
62
|
+
p { margin: 0 0 1.5em;
|
|
63
|
+
img.left { @include float-left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
|
64
|
+
img.right { @include float-right; margin: 1.5em 0 1.5em 1.5em; padding: 0; }
|
|
65
|
+
}
|
|
66
|
+
a { text-decoration: underline; @include link-colors($link-color, $link-hover-color, $link-active-color, $link-visited-color, $link-focus-color); }
|
|
67
|
+
blockquote { margin: 1.5em; color: #666666; font-style: italic; }
|
|
68
|
+
strong { font-weight: bold; }
|
|
69
|
+
em { font-style: italic; }
|
|
70
|
+
dfn { font-style: italic; font-weight: bold; }
|
|
71
|
+
sup, sub { line-height: 0; }
|
|
72
|
+
abbr, acronym { border-bottom: 1px dotted #666666; }
|
|
73
|
+
address { margin: 0 0 1.5em; font-style: italic; }
|
|
74
|
+
del { color: #666666; }
|
|
75
|
+
pre { margin: 1.5em 0; white-space: pre; }
|
|
76
|
+
pre, code, tt { @include fixed-width-text; }
|
|
77
|
+
li ul, li ol { margin: 0; }
|
|
78
|
+
ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }
|
|
79
|
+
ul { list-style-type: disc; }
|
|
80
|
+
ol { list-style-type: decimal; }
|
|
81
|
+
dl { margin: 0 0 1.5em 0;
|
|
82
|
+
dt { font-weight: bold; } }
|
|
83
|
+
dd { margin-left: 1.5em; }
|
|
84
|
+
table { margin-bottom: 1.4em; width: 100%; }
|
|
85
|
+
th { font-weight: bold; }
|
|
86
|
+
thead th { background: $blueprint-table-header-color; }
|
|
87
|
+
th, td, caption { padding: 4px 10px 4px 5px; }
|
|
88
|
+
tr.even td { background: $blueprint-table-stripe-color; }
|
|
89
|
+
tfoot { font-style: italic; }
|
|
90
|
+
caption { background: #eeeeee; }
|
|
91
|
+
.quiet { @include quiet; }
|
|
92
|
+
.loud { @include loud; }
|
|
93
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
@import "shared";
|
|
2
|
+
|
|
2
3
|
// The default value is `padding-box` -- the box model used by modern browsers.
|
|
3
4
|
//
|
|
4
5
|
// If you wish to do so, you can override the default constant with `border-box`
|
|
@@ -14,11 +15,28 @@ $default-background-clip: padding-box !default;
|
|
|
14
15
|
//
|
|
15
16
|
// * padding-box
|
|
16
17
|
// * border-box
|
|
18
|
+
// * text
|
|
17
19
|
|
|
18
20
|
@mixin background-clip($clip: $default-background-clip) {
|
|
19
21
|
// webkit and mozilla use the deprecated short [border | padding]
|
|
20
|
-
$deprecated:
|
|
22
|
+
$deprecated: $clip;
|
|
23
|
+
@if $clip == padding-box { $deprecated: padding; }
|
|
21
24
|
@if $clip == border-box { $deprecated: border; }
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
// Support for webkit and mozilla's use of the deprecated short form
|
|
26
|
+
@include experimental(background-clip, $deprecated,
|
|
27
|
+
$experimental-support-for-mozilla,
|
|
28
|
+
$experimental-support-for-webkit,
|
|
29
|
+
false, // opera
|
|
30
|
+
false, // microsoft
|
|
31
|
+
false, // khtml
|
|
32
|
+
false // official
|
|
33
|
+
);
|
|
34
|
+
@include experimental(background-clip, $clip,
|
|
35
|
+
false, // mozilla
|
|
36
|
+
false, // webkit
|
|
37
|
+
$experimental-support-for-opera,
|
|
38
|
+
$experimental-support-for-microsoft,
|
|
39
|
+
$experimental-support-for-khtml,
|
|
40
|
+
true // official
|
|
41
|
+
);
|
|
42
|
+
}
|