accoutrement 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,10 +19,17 @@ who are very smart.
19
19
  List of Things
20
20
  --------------
21
21
 
22
+ ### A11y
23
+
24
+ **Mixins:**
25
+ - `gone()`
26
+
27
+ **Silent Classes:**
28
+ - `%alt-text`
29
+
22
30
  ### Arrows
23
31
 
24
32
  **Settings:**
25
-
26
33
  - `$default-arrow-position : top !default;`
27
34
  - `$default-arrow-offset : center !default;`
28
35
  - `$default-arrow-size : 1em !default;`
@@ -31,7 +38,6 @@ List of Things
31
38
  - `$default-arrow-border-color : null !default;`
32
39
 
33
40
  **Mixins:**
34
-
35
41
  - `arrow-base()`
36
42
  - `arrow([$arrow, $border, $positioning])`
37
43
 
@@ -122,7 +128,13 @@ though I've made some alterations to fit into my own process.*
122
128
 
123
129
  **Mixins:**
124
130
  - `@include tab-defaults`
125
- - `@include make-tabs($slugs [, $nested, $checked])`
131
+ - `@include tabs($slugs [, $nested, $checked])`
132
+
133
+ **Silent Classes:**
134
+ - `%hide-tab-toggle`
135
+ - `%hide-tab-content`
136
+ - `%show-tab-content`
137
+ - `%active-tab-title`
126
138
 
127
139
  ### Type
128
140
 
@@ -3,6 +3,7 @@
3
3
 
4
4
  @import 'accoutrement/math';
5
5
  @import 'accoutrement/sass-lists';
6
+ @import 'accoutrement/a11y';
6
7
  @import 'accoutrement/rhythm';
7
8
  @import 'accoutrement/color';
8
9
  @import 'accoutrement/background';
@@ -0,0 +1,13 @@
1
+ // ----------------------------------------------------------------------------
2
+ // gone
3
+
4
+ @mixin gone {
5
+ position: absolute;
6
+ top: -9999px;
7
+ left: -9999px;
8
+ }
9
+
10
+ // ----------------------------------------------------------------------------
11
+ // alt text
12
+
13
+ %alt-text { @include gone; }
@@ -1,3 +1,8 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Imports
3
+
4
+ @import "a11y";
5
+
1
6
  // ---------------------------------------------------------------------------
2
7
  // CSS Tabs and Accordion
3
8
 
@@ -81,7 +86,7 @@
81
86
  // Settings
82
87
 
83
88
  // We don't need the radio-inputs to display.
84
- %hide-tab-toggle { display: none; }
89
+ %hide-tab-toggle { @include gone; }
85
90
 
86
91
  // The CSS3 `:checked` selector is not supported by IE7 and IE8.
87
92
  // For legacy support, use `[aria-checked="true"]` applied with JavaScrip.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accoutrement
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Meyer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-30 00:00:00 Z
18
+ date: 2013-01-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: compass
@@ -45,6 +45,7 @@ files:
45
45
  - README.md
46
46
  - lib/accoutrement.rb
47
47
  - stylesheets/_accoutrement.scss
48
+ - stylesheets/accoutrement/_a11y.scss
48
49
  - stylesheets/accoutrement/_arrows.scss
49
50
  - stylesheets/accoutrement/_background.scss
50
51
  - stylesheets/accoutrement/_color.scss