archetype 0.0.1.pre.7 → 0.0.1.pre.8
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.
- checksums.yaml +4 -4
- data/lib/archetype/sass_extensions/functions/lists.rb +2 -2
- data/lib/archetype/version.rb +1 -1
- data/stylesheets/archetype/_base.scss +7 -2
- data/stylesheets/archetype/_config.scss +9 -1
- data/stylesheets/archetype/_hacks.scss +51 -17
- data/stylesheets/archetype/_ui.scss +16 -5
- data/stylesheets/archetype/base/_h5bp.scss +12 -12
- data/stylesheets/archetype/base/_normalize.scss +178 -139
- data/stylesheets/archetype/grid/_grid.scss +13 -13
- data/stylesheets/archetype/styleguide/components/_buttons.scss +1 -0
- data/stylesheets/archetype/util/_debug.scss +4 -4
- data/stylesheets/archetype/util/_lists.scss +1 -1
- data/stylesheets/archetype/util/_misc.scss +1 -1
- data/stylesheets/archetype/util/_rtl.scss +1 -1
- data/stylesheets/archetype/util/_spacing.scss +6 -6
- data/stylesheets/archetype/util/_styles.scss +44 -113
- data/stylesheets/archetype/util/_targeting.scss +4 -5
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
- data/test/fixtures/stylesheets/archetype/{expected → saved}/b.css +0 -0
- data/test/fixtures/stylesheets/archetype/{expected → saved}/base.css +0 -0
- data/test/fixtures/stylesheets/archetype/saved/hacks/ie_pseudo.css +11 -0
- data/test/fixtures/stylesheets/archetype/{expected → saved}/hacks/transparent_focusable.css +0 -0
- data/test/fixtures/stylesheets/archetype/{expected → saved}/locale.css +0 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss +3 -2
- metadata +21 -68
- data/test/fixtures/stylesheets/archetype/expected/hacks/ie_pseudo.css +0 -11
- data/test/fixtures/stylesheets/archetype/expected/styleguide/alerts.css +0 -675
- data/test/fixtures/stylesheets/archetype/expected/styleguide/buttons.css +0 -2119
- data/test/fixtures/stylesheets/archetype/expected/styleguide/drop.css +0 -63
- data/test/fixtures/stylesheets/archetype/expected/styleguide/extend.css +0 -7
- data/test/fixtures/stylesheets/archetype/expected/styleguide/fallback_styles.css +0 -9
- data/test/fixtures/stylesheets/archetype/expected/styleguide/invalid_structures.css +0 -21
- data/test/fixtures/stylesheets/archetype/expected/styleguide/multi_value.css +0 -13
- data/test/fixtures/stylesheets/archetype/expected/styleguide/nested_styleguides.css +0 -24
- data/test/fixtures/stylesheets/archetype/expected/styleguide/selective_state.css +0 -177
- data/test/fixtures/stylesheets/archetype/expected/ui/glyph_icon.css +0 -127
- data/test/fixtures/stylesheets/archetype/expected/ui/hide_element.css +0 -8
- data/test/fixtures/stylesheets/archetype/expected/ui/stroke.css +0 -17
- data/test/fixtures/stylesheets/archetype/expected/ui/triangle.css +0 -35
- data/test/fixtures/stylesheets/archetype/expected/utilities/associative.css +0 -9
- data/test/fixtures/stylesheets/archetype/expected/utilities/custom_output_styler.css +0 -8
- data/test/fixtures/stylesheets/archetype/expected/utilities/if-set.css +0 -9
- data/test/fixtures/stylesheets/archetype/expected/utilities/spacing/horizontal-spacing.css +0 -29
- data/test/fixtures/stylesheets/archetype/expected/utilities/spacing/vertical-spacing.css +0 -29
- data/test/fixtures/stylesheets/archetype/expected/utilities/styles/filter.css +0 -11
- data/test/fixtures/stylesheets/archetype/expected/utilities/styles/font-family.css +0 -16
- data/test/fixtures/stylesheets/archetype/expected/utilities/styles/z-index.css +0 -15
- data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-browser.css +0 -105
- data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-os.css +0 -55
@@ -1,17 +0,0 @@
|
|
1
|
-
.stroke {
|
2
|
-
-webkit-box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
|
3
|
-
-moz-box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
|
4
|
-
box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
|
5
|
-
}
|
6
|
-
|
7
|
-
.stroke-fat {
|
8
|
-
-webkit-box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
|
9
|
-
-moz-box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
|
10
|
-
box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
|
11
|
-
}
|
12
|
-
|
13
|
-
.stroke-colorful {
|
14
|
-
-webkit-box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
|
15
|
-
-moz-box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
|
16
|
-
box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
|
17
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
.a {
|
2
|
-
height: 0;
|
3
|
-
width: 0;
|
4
|
-
_font-size: 0;
|
5
|
-
_line-height: 0;
|
6
|
-
border-style: dashed;
|
7
|
-
border-color: transparent;
|
8
|
-
border-width: 1em 0.5em 0;
|
9
|
-
border-top-color: #aaaaaa;
|
10
|
-
border-top-style: solid;
|
11
|
-
}
|
12
|
-
|
13
|
-
.b {
|
14
|
-
height: 0;
|
15
|
-
width: 0;
|
16
|
-
_font-size: 0;
|
17
|
-
_line-height: 0;
|
18
|
-
border-style: dashed;
|
19
|
-
border-color: transparent;
|
20
|
-
border-width: 0 5px 5px;
|
21
|
-
border-bottom-color: black;
|
22
|
-
border-bottom-style: solid;
|
23
|
-
}
|
24
|
-
|
25
|
-
.c {
|
26
|
-
height: 0;
|
27
|
-
width: 0;
|
28
|
-
_font-size: 0;
|
29
|
-
_line-height: 0;
|
30
|
-
border-style: dashed;
|
31
|
-
border-color: transparent;
|
32
|
-
border-width: 0 10px 5px 0;
|
33
|
-
border-bottom-color: black;
|
34
|
-
border-bottom-style: solid;
|
35
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
a {
|
2
|
-
padding-left: 20px;
|
3
|
-
padding-right: 20px;
|
4
|
-
margin-left: 20px;
|
5
|
-
margin-right: 20px;
|
6
|
-
}
|
7
|
-
|
8
|
-
b {
|
9
|
-
padding-right: 20px;
|
10
|
-
margin-right: 20px;
|
11
|
-
}
|
12
|
-
|
13
|
-
c {
|
14
|
-
padding-left: 20px;
|
15
|
-
margin-left: 20px;
|
16
|
-
}
|
17
|
-
|
18
|
-
d {
|
19
|
-
padding-right: 15px;
|
20
|
-
padding-right: 13px;
|
21
|
-
margin-right: 13px;
|
22
|
-
}
|
23
|
-
|
24
|
-
e {
|
25
|
-
padding-left: 0px;
|
26
|
-
padding-right: 0px;
|
27
|
-
margin-left: 0px;
|
28
|
-
margin-right: 0px;
|
29
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
a {
|
2
|
-
padding-top: 10px;
|
3
|
-
padding-bottom: 10px;
|
4
|
-
margin-top: 10px;
|
5
|
-
margin-bottom: 10px;
|
6
|
-
}
|
7
|
-
|
8
|
-
b {
|
9
|
-
padding-bottom: 10px;
|
10
|
-
margin-bottom: 10px;
|
11
|
-
}
|
12
|
-
|
13
|
-
c {
|
14
|
-
padding-top: 10px;
|
15
|
-
margin-top: 10px;
|
16
|
-
}
|
17
|
-
|
18
|
-
d {
|
19
|
-
padding-bottom: 15px;
|
20
|
-
padding-bottom: 13px;
|
21
|
-
margin-bottom: 13px;
|
22
|
-
}
|
23
|
-
|
24
|
-
e {
|
25
|
-
padding-top: 0px;
|
26
|
-
padding-bottom: 0px;
|
27
|
-
margin-top: 0px;
|
28
|
-
margin-bottom: 0px;
|
29
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
a {
|
2
|
-
-webkit-filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
|
3
|
-
-moz-filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
|
4
|
-
filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
|
5
|
-
}
|
6
|
-
|
7
|
-
b {
|
8
|
-
-webkit-filter: gradient(enabled=false);
|
9
|
-
-moz-filter: gradient(enabled=false);
|
10
|
-
filter: gradient(enabled=false);
|
11
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
a {
|
2
|
-
font-family: Georgia, serif;
|
3
|
-
}
|
4
|
-
|
5
|
-
b {
|
6
|
-
font-family: sans-serif;
|
7
|
-
}
|
8
|
-
.os-win b {
|
9
|
-
font-family: Arial, sans-serif;
|
10
|
-
}
|
11
|
-
.os-mac b {
|
12
|
-
font-family: Helvetica, Arial, sans-serif;
|
13
|
-
}
|
14
|
-
.os-linux b {
|
15
|
-
font-family: Helvetica, FreeSans, "Liberation Sans", Helmet, Arial, sans-serif;
|
16
|
-
}
|
@@ -1,105 +0,0 @@
|
|
1
|
-
.target-ie-6 {
|
2
|
-
_vertical-align: -5px;
|
3
|
-
_background-position: 6px -2170px;
|
4
|
-
_overflow: hidden;
|
5
|
-
}
|
6
|
-
|
7
|
-
.target-ie-lte-7 {
|
8
|
-
*margin-top: 1px;
|
9
|
-
*padding: 0;
|
10
|
-
*width: 195px;
|
11
|
-
*font-size: 0.01em;
|
12
|
-
*height: 18px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.ie.ie6 .target-ie-6-7, .ie.ie7 .target-ie-6-7 {
|
16
|
-
display: inline;
|
17
|
-
}
|
18
|
-
.ie.ie6 .target-ie-6-7, .ie.ie7 .target-ie-6-7 {
|
19
|
-
zoom: 1;
|
20
|
-
}
|
21
|
-
.ie.ie6 .target-ie-6-7, .ie.ie7 .target-ie-6-7 {
|
22
|
-
margin-left: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
.ie.ie7 .target-ie-7 {
|
26
|
-
vertical-align: -5px;
|
27
|
-
}
|
28
|
-
.ie.ie7 .target-ie-7 {
|
29
|
-
background-position: 6px -2170px;
|
30
|
-
}
|
31
|
-
.ie.ie7 .target-ie-7 {
|
32
|
-
overflow: hidden;
|
33
|
-
}
|
34
|
-
|
35
|
-
.ie.ie7 .target-ie-7-8, .ie.ie8 .target-ie-7-8 {
|
36
|
-
min-height: 250px !important;
|
37
|
-
height: auto !important;
|
38
|
-
height: 250px !important;
|
39
|
-
}
|
40
|
-
|
41
|
-
.ie.lte8 .target-ie-lte-8 {
|
42
|
-
filter: BasicImage(rotation=3);
|
43
|
-
}
|
44
|
-
.ie.lte8 .target-ie-lte-8 {
|
45
|
-
padding-bottom: 8px;
|
46
|
-
}
|
47
|
-
.ie.lte8 .target-ie-lte-8 {
|
48
|
-
line-height: 1.6;
|
49
|
-
}
|
50
|
-
|
51
|
-
.ie.ie8 .target-ie-8 {
|
52
|
-
margin-top: 2px;
|
53
|
-
}
|
54
|
-
.ie.ie8 .target-ie-8 {
|
55
|
-
min-height: 170px;
|
56
|
-
height: auto !important;
|
57
|
-
height: 170px;
|
58
|
-
}
|
59
|
-
|
60
|
-
.ie.lte9 .target-ie-lte-9 {
|
61
|
-
border-color: #111111;
|
62
|
-
}
|
63
|
-
.ie.lte9 .target-ie-lte-9 {
|
64
|
-
background: #2c2c2b;
|
65
|
-
}
|
66
|
-
|
67
|
-
.ie.ie7 .target-ie-7-8-9, .ie.ie8 .target-ie-7-8-9 {
|
68
|
-
width: 250px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.ie .target-ie-9 {
|
72
|
-
right: -83px;
|
73
|
-
}
|
74
|
-
.ie .target-ie-9 {
|
75
|
-
top: 17px;
|
76
|
-
}
|
77
|
-
|
78
|
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
79
|
-
.target-webkit {
|
80
|
-
line-height: 16px;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
84
|
-
.target-webkit {
|
85
|
-
padding-top: 10px;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
89
|
-
.target-webkit {
|
90
|
-
width: 151px;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
.target-firefox, .target-firefox x:-moz-any-link {
|
95
|
-
margin-top: 16px;
|
96
|
-
}
|
97
|
-
|
98
|
-
.target-opera, .target-opera x:-o-prefocus {
|
99
|
-
width: 82%;
|
100
|
-
}
|
101
|
-
|
102
|
-
.ie.lte8 .target-with-content-block {
|
103
|
-
/* testing content block */
|
104
|
-
color: red;
|
105
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
.os-linux .target-linux {
|
2
|
-
top: -3px;
|
3
|
-
}
|
4
|
-
.os-linux .target-linux {
|
5
|
-
width: 300px;
|
6
|
-
}
|
7
|
-
|
8
|
-
.os-mac .target-apple {
|
9
|
-
top: -3px;
|
10
|
-
}
|
11
|
-
.os-mac .target-apple {
|
12
|
-
width: 300px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.os-mac .target-mac {
|
16
|
-
top: -3px;
|
17
|
-
}
|
18
|
-
.os-mac .target-mac {
|
19
|
-
width: 300px;
|
20
|
-
}
|
21
|
-
|
22
|
-
.os-mac .target-osx {
|
23
|
-
top: -3px;
|
24
|
-
}
|
25
|
-
.os-mac .target-osx {
|
26
|
-
width: 300px;
|
27
|
-
}
|
28
|
-
|
29
|
-
.os-win .target-windows {
|
30
|
-
top: -3px;
|
31
|
-
}
|
32
|
-
.os-win .target-windows {
|
33
|
-
width: 300px;
|
34
|
-
}
|
35
|
-
|
36
|
-
.os-win .target-win {
|
37
|
-
top: -3px;
|
38
|
-
}
|
39
|
-
.os-win .target-win {
|
40
|
-
width: 300px;
|
41
|
-
}
|
42
|
-
|
43
|
-
.os-win .target-winxp {
|
44
|
-
top: -3px;
|
45
|
-
}
|
46
|
-
.os-win .target-winxp {
|
47
|
-
width: 300px;
|
48
|
-
}
|
49
|
-
|
50
|
-
.os-win .target-win7 {
|
51
|
-
top: -3px;
|
52
|
-
}
|
53
|
-
.os-win .target-win7 {
|
54
|
-
width: 300px;
|
55
|
-
}
|