compass-placeholders 1.0.0.rc.3 → 1.0.0.rc.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -0
- data/lib/compass-placeholders/version.rb +1 -1
- data/stylesheets/compass-placeholders/css3/_appearance.scss +2 -1
- data/stylesheets/compass-placeholders/css3/_background-clip.scss +2 -1
- data/stylesheets/compass-placeholders/css3/_background-origin.scss +2 -1
- data/stylesheets/compass-placeholders/css3/_border-radius.scss +1 -0
- data/stylesheets/compass-placeholders/css3/_opacity.scss +2 -0
- data/stylesheets/compass-placeholders/typography/_base.scss +12 -0
- data/stylesheets/compass-placeholders/typography/_lists.scss +41 -0
- data/stylesheets/compass-placeholders/typography/_text.scss +4 -0
- data/stylesheets/compass-placeholders/utilities/_clearfix.scss +1 -0
- data/stylesheets/compass-placeholders/utilities/_resets.scss +3 -0
- data/test/integration/typography/base.scss.test +4 -0
- data/test/integration/typography/lists.scss.test +23 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27d41f1f94700863ba60bebd92643de946d56574
|
4
|
+
data.tar.gz: 2bf36a35b961470718209d64f90349f52f2db8c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc7d023215f30432f178ba6b652956a97ddab559a16d2e765d9bd147ed595b683beca0b913ebc52ad6f8db4783e2b85f0c9ba0dd2e7261c6333f1ec4836a1b46
|
7
|
+
data.tar.gz: 64c503db8753a886473f4ec81ca16aaa1cca55f4deb65471df908867b2da2d32e9cd52449ea6eec54c4222c112f2c98680423c8d9a35fe9771f803e77c197c44
|
data/README.md
CHANGED
@@ -298,6 +298,11 @@ Non Compass-related Placeholders
|
|
298
298
|
@extend %text-align-center;
|
299
299
|
@extend %text-align-right;
|
300
300
|
@extend %text-align-justify;
|
301
|
+
@extend %text-transform-none;
|
302
|
+
@extend %text-transform-capitalize;
|
303
|
+
@extend %text-transform-uppercase;
|
304
|
+
@extend %text-transform-lowercase;
|
305
|
+
@extend %text-transform-full-width;
|
301
306
|
~~~
|
302
307
|
|
303
308
|
|
@@ -307,6 +312,7 @@ Non Compass-related Placeholders
|
|
307
312
|
@extend %cursor-pointer;
|
308
313
|
~~~
|
309
314
|
|
315
|
+
|
310
316
|
### Float
|
311
317
|
~~~ scss
|
312
318
|
@extend %float-none;
|
@@ -315,6 +321,19 @@ Non Compass-related Placeholders
|
|
315
321
|
~~~
|
316
322
|
|
317
323
|
|
324
|
+
### Lists
|
325
|
+
~~~ scss
|
326
|
+
@extend %list-style-none;
|
327
|
+
@extend %list-style-image-none;
|
328
|
+
@extend %list-style-position-inside;
|
329
|
+
@extend %list-style-position-outside;
|
330
|
+
@extend %list-style-type-disc;
|
331
|
+
@extend %list-style-type-circle;
|
332
|
+
@extend %list-style-type-square;
|
333
|
+
~~~
|
334
|
+
|
335
|
+
|
336
|
+
|
318
337
|
Using Customized Placeholders
|
319
338
|
-----------------------------
|
320
339
|
|
@@ -6,6 +6,7 @@ $font-weight-placeholders: normal, bold;
|
|
6
6
|
}
|
7
7
|
}
|
8
8
|
|
9
|
+
|
9
10
|
$font-style-placeholders: normal, italic;
|
10
11
|
|
11
12
|
@each $property in $font-style-placeholders {
|
@@ -14,6 +15,7 @@ $font-style-placeholders: normal, italic;
|
|
14
15
|
}
|
15
16
|
}
|
16
17
|
|
18
|
+
|
17
19
|
$text-decoration-placeholders: none, underline;
|
18
20
|
|
19
21
|
@each $property in $text-decoration-placeholders {
|
@@ -22,6 +24,7 @@ $text-decoration-placeholders: none, underline;
|
|
22
24
|
}
|
23
25
|
}
|
24
26
|
|
27
|
+
|
25
28
|
$text-align-placeholders: left, center, right, justify;
|
26
29
|
|
27
30
|
@each $property in $text-align-placeholders {
|
@@ -30,3 +33,12 @@ $text-align-placeholders: left, center, right, justify;
|
|
30
33
|
}
|
31
34
|
}
|
32
35
|
|
36
|
+
|
37
|
+
$text-transform-placeholders: none, capitalize, uppercase, lowercase, full-width;
|
38
|
+
|
39
|
+
@each $property in $text-transform-placeholders {
|
40
|
+
%text-transform-#{$property} {
|
41
|
+
text-transform: $property;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
@@ -1,11 +1,52 @@
|
|
1
|
+
$list-style-placeholders: none, disc, square, inside, outside;
|
2
|
+
|
3
|
+
@each $property in $list-style-placeholders {
|
4
|
+
%list-style-#{$property} {
|
5
|
+
list-style: $property;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
|
10
|
+
$list-style-image-placeholders: none;
|
11
|
+
|
12
|
+
@each $property in $list-style-image-placeholders {
|
13
|
+
%list-style-image-#{$property} {
|
14
|
+
list-style-image: $property;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
$list-style-position-placeholders: inside, outside;
|
20
|
+
|
21
|
+
@each $property in $list-style-position-placeholders {
|
22
|
+
%list-style-position-#{$property} {
|
23
|
+
list-style-position: $property;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
$list-style-type-placeholders: disc, circle, square,
|
29
|
+
decimal, decimal-leading-zero,
|
30
|
+
lower-roman, upper-roman, lower-greek, lower-latin, upper-latin,
|
31
|
+
armenian, georgian, lower-alpha, upper-alpha, none;
|
32
|
+
|
33
|
+
@each $property in $list-style-type-placeholders {
|
34
|
+
%list-style-type-#{$property} {
|
35
|
+
list-style-type: $property;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
|
1
40
|
%no-bullet {
|
2
41
|
@include no-bullet;
|
3
42
|
}
|
4
43
|
|
44
|
+
|
5
45
|
%no-bullets {
|
6
46
|
@include no-bullets;
|
7
47
|
}
|
8
48
|
|
49
|
+
|
9
50
|
%inline-list {
|
10
51
|
@include inline-list;
|
11
52
|
}
|
@@ -1,4 +1,27 @@
|
|
1
1
|
@import "compass-placeholders";
|
2
2
|
|
3
|
+
#test {
|
4
|
+
@extend %list-style-none;
|
5
|
+
@extend %list-style-image-none;
|
6
|
+
@extend %list-style-position-inside;
|
7
|
+
@extend %list-style-type-disc;
|
8
|
+
}
|
9
|
+
|
3
10
|
===
|
4
11
|
|
12
|
+
#test {
|
13
|
+
list-style: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
#test {
|
17
|
+
list-style-image: none;
|
18
|
+
}
|
19
|
+
|
20
|
+
#test {
|
21
|
+
list-style-position: inside;
|
22
|
+
}
|
23
|
+
|
24
|
+
#test {
|
25
|
+
list-style-type: disc;
|
26
|
+
}
|
27
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-placeholders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.rc.
|
4
|
+
version: 1.0.0.rc.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nico Hagenburger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass
|