compass-placeholders 1.0.0.rc.3 → 1.0.0.rc.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c67eefd0a0a265a4ec747e5fa6d3e8deebe15fae
4
- data.tar.gz: 2c48ffcd9cde2b5e433ffd7af573014847b02929
3
+ metadata.gz: 27d41f1f94700863ba60bebd92643de946d56574
4
+ data.tar.gz: 2bf36a35b961470718209d64f90349f52f2db8c1
5
5
  SHA512:
6
- metadata.gz: f746a433aee03146a18da6672c73f06cdf244fd80e61859b55f24a7066a7ee0a6e6b02f0b76d842792cd64677dff43e17403bf10662b3e02e22b2e2927a0d77b
7
- data.tar.gz: 54dc87fec088c4267b37eac6483672953512670221b631a042436e204bfae3dacec89bd3a9430b71dcc2af853996508e8eaeb04b0f5f1fcb1794cdfda6be4a18
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
 
@@ -1,3 +1,3 @@
1
1
  module CompassPlaceholders
2
- VERSION = "1.0.0.rc.3"
2
+ VERSION = "1.0.0.rc.4"
3
3
  end
@@ -4,4 +4,5 @@ $appearance-placeholders: none, normal, icon, window, button, menu, field !defau
4
4
  %appearance-#{$property} {
5
5
  @include appearance($property);
6
6
  }
7
- }
7
+ }
8
+
@@ -4,4 +4,5 @@ $background-clip-placeholders: padding-box, border-box, text !default;
4
4
  %background-clip-#{$property} {
5
5
  @include background-clip($property);
6
6
  }
7
- }
7
+ }
8
+
@@ -4,4 +4,5 @@ $background-origin-placeholders: padding-box, border-box, content-box !default;
4
4
  %background-origin-#{$property} {
5
5
  @include background-origin($property);
6
6
  }
7
- }
7
+ }
8
+
@@ -7,3 +7,4 @@ $border-radius-placeholders: none !default;
7
7
  }
8
8
  }
9
9
  }
10
+
@@ -6,10 +6,12 @@ $opacity-placeholders: 0, 0.5, 1 !default;
6
6
  }
7
7
  }
8
8
 
9
+
9
10
  %transparent {
10
11
  @extend %opacity-0;
11
12
  }
12
13
 
14
+
13
15
  %opaque {
14
16
  @extend %opacity-100;
15
17
  }
@@ -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
  }
@@ -2,18 +2,22 @@
2
2
  @include ellipsis;
3
3
  }
4
4
 
5
+
5
6
  %force-wrap {
6
7
  @include force-wrap;
7
8
  }
8
9
 
10
+
9
11
  %nowrap {
10
12
  @include nowrap;
11
13
  }
12
14
 
15
+
13
16
  %hide-text {
14
17
  @include hide-text;
15
18
  }
16
19
 
20
+
17
21
  %squish-text {
18
22
  @include squish-text;
19
23
  }
@@ -2,6 +2,7 @@
2
2
  @include clearfix;
3
3
  }
4
4
 
5
+
5
6
  %pie-clearfix {
6
7
  @include pie-clearfix;
7
8
  }
@@ -2,14 +2,17 @@
2
2
  background: transparent;
3
3
  }
4
4
 
5
+
5
6
  %no-border {
6
7
  border: 0;
7
8
  }
8
9
 
10
+
9
11
  %no-margin {
10
12
  margin: 0;
11
13
  }
12
14
 
15
+
13
16
  %no-padding {
14
17
  padding: 0;
15
18
  }
@@ -5,6 +5,7 @@
5
5
  @extend %font-style-italic;
6
6
  @extend %text-decoration-underline;
7
7
  @extend %text-align-right;
8
+ @extend %text-transform-uppercase;
8
9
  }
9
10
 
10
11
  ===
@@ -25,3 +26,6 @@
25
26
  text-align: right;
26
27
  }
27
28
 
29
+ #test {
30
+ text-transform: uppercase;
31
+ }
@@ -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.3
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-27 00:00:00.000000000 Z
11
+ date: 2013-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass