sass-capucine 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,19 +1,18 @@
1
- = Epycea Lib for Compass
1
+ = Capucine Lib for Compass
2
2
 
3
- Epycea is Compass plugin
3
+ Capucine is Compass plugin
4
4
 
5
5
  == Installation
6
6
 
7
7
  Install it from rubygems :
8
8
 
9
- gem install compass-epycea
9
+ gem install sass-capucine
10
10
 
11
11
  Add this to config.rb :
12
12
 
13
- require 'compass-epycea'
13
+ require 'sass-capucine'
14
14
 
15
15
  == Usage
16
16
 
17
- You now have access to all Epycea helpers in your Compass project
18
-
17
+ You now have access to all Capucine helpers in your Compass project
19
18
 
@@ -1,6 +1,5 @@
1
-
2
- @import "sass-capucine/basic-reset"
3
- @import "sass-capucine/input-reset"
1
+ @import "sass-capucine/reset"
2
+ @import "sass-capucine/print"
4
3
  @import "sass-capucine/box"
5
4
  @import "sass-capucine/shortcuts"
6
5
  @import "sass-capucine/helpers"
@@ -0,0 +1,39 @@
1
+ @media print
2
+ *
3
+ background: transparent !important
4
+ color: black !important
5
+ text-shadow: none !important
6
+ filter: none !important
7
+ -ms-filter: none !important
8
+ a
9
+ color: #444 !important
10
+ text-decoration: underline
11
+ &:visited
12
+ color: #444 !important
13
+ text-decoration: underline
14
+ &[href]:after
15
+ content: " (" attr(href) ")"
16
+ abbr[title]:after
17
+ content: " (" attr(title) ")"
18
+ .ir a:after
19
+ content: ""
20
+ a
21
+ &[href^="javascript:"]:after, &[href^="#"]:after
22
+ content: ""
23
+ pre, blockquote
24
+ border: 1px solid #999
25
+ page-break-inside: avoid
26
+ thead
27
+ display: table-header-group
28
+ tr, img
29
+ page-break-inside: avoid
30
+
31
+ @page
32
+ margin: 0.5cm
33
+
34
+ p, h2, h3
35
+ orphans: 3
36
+ widows: 3
37
+ h2, h3
38
+ page-break-after: avoid
39
+
@@ -44,24 +44,20 @@ body
44
44
 
45
45
  i
46
46
  font-style: italic
47
-
48
- strong, b
49
- font-weight: bold
50
47
 
51
- h1, h2, h3, h4, h5, h6, p, a, i, th, td
48
+ h1, h2, h3, h4, h5, h6, p, a, i, td
52
49
  font-weight: normal
53
50
  font-size: 100%
54
51
 
55
52
  blockquote, q
56
53
  quotes: none
57
-
58
- blockquote, q
59
54
  &:before, &:after
60
55
  content: ""
61
56
  content: none
62
57
 
63
58
  ins, a, a:hover, a:active
64
59
  text-decoration: none
60
+ outline: none
65
61
 
66
62
  del
67
63
  text-decoration: line-through
@@ -82,10 +78,6 @@ pre, code, kbd, samp
82
78
  font-family: 'courier new', monospace
83
79
  font-size: 1em
84
80
 
85
- a
86
- &, &:hover, &:active
87
- outline: none
88
-
89
81
  ul, li, ol
90
82
  list-style: none
91
83
  list-style-image: none
@@ -123,51 +115,51 @@ pre
123
115
  address
124
116
  font-style: normal
125
117
 
118
+ // Firefox bug
119
+ caption
120
+ text-align: left
121
+
126
122
  // ----------------------------
127
123
  // Inputs :
128
124
 
129
125
  button, input
130
- // line-height: normal
131
126
  line-height: 1
127
+ cursor: pointer
132
128
  *overflow: visible
133
129
 
134
130
  input, select
135
131
  vertical-align: middle
136
-
137
- input
138
- &[type="button"], &[type="submit"], &[type="image"], &[type="reset"], button
139
- cursor: pointer
140
-
132
+
141
133
  input[type="search"]::-webkit-search-decoration
142
134
  -webkit-appearance: none
143
135
 
144
- input[type="search"]
145
- -webkit-appearance: textfield
146
- -webkit-box-sizing: content-box
147
- -moz-box-sizing: content-box
148
- box-sizing: content-box
149
-
150
- // Chrome blue glow :
151
- select, option, input, textarea, button
152
- outline: none
153
- font: inherit
154
- font-size: 0.99em
155
-
156
- textarea
157
- vertical-align: top
158
- overflow: auto
159
- resize: none
160
-
161
136
  input
162
137
  &[type="radio"]
163
138
  vertical-align: text-bottom
139
+ &[type="text"]
140
+ cursor: text
164
141
  &[type="checkbox"]
165
142
  vertical-align: bottom
143
+ &[type="search"]
144
+ -webkit-appearance: textfield
145
+ -webkit-box-sizing: content-box
146
+ -moz-box-sizing: content-box
147
+ box-sizing: content-box
148
+
149
+ textarea
150
+ vertical-align: top
151
+ overflow: auto
152
+ resize: none
166
153
 
154
+ input, textarea
155
+ padding: 0
156
+ border: 1px solid #A9A9A9
167
157
 
168
- // Firefox bug
169
- caption
170
- text-align: left
158
+ // Chrome blue glow :
159
+ select, option, input, textarea, button
160
+ outline: none
161
+ font: inherit
162
+ font-size: 0.99em
171
163
 
172
164
  // ----------[ IE WORLD ]-------------------
173
165
  .ie6 hr, .ie7 hr
@@ -3,7 +3,7 @@
3
3
  +absolute
4
4
  +fixed
5
5
  +static
6
- +bg-image
6
+ +background-image
7
7
  +selection
8
8
  +pressed-effect
9
9
  +vertical-gradient
@@ -22,7 +22,7 @@
22
22
  =static()
23
23
  position: static
24
24
 
25
- =bg-image($img: '', $x: center, $y: top)
25
+ =background-image($img: '', $x: center, $y: top)
26
26
  background: transparent url("#{$img}") no-repeat $x $y
27
27
 
28
28
  =selection($background: #111, $color: #fff)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-capucine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-15 00:00:00.000000000Z
12
+ date: 2012-01-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
16
- requirement: &70101807319980 !ruby/object:Gem::Requirement
16
+ requirement: &70197239693360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70101807319980
24
+ version_requirements: *70197239693360
25
25
  description: Compass plugin
26
26
  email: dam@dln.name
27
27
  executables: []
@@ -31,11 +31,10 @@ files:
31
31
  - README.rdoc
32
32
  - lib/sass-capucine.rb
33
33
  - stylesheets/_sass-capucine.sass
34
- - stylesheets/sass-capucine/_basic-reset.sass
35
34
  - stylesheets/sass-capucine/_box.sass
36
35
  - stylesheets/sass-capucine/_helpers.sass
37
- - stylesheets/sass-capucine/_input-reset.sass
38
- - stylesheets/sass-capucine/_moz-reset.scss
36
+ - stylesheets/sass-capucine/_print.sass
37
+ - stylesheets/sass-capucine/_reset.sass
39
38
  - stylesheets/sass-capucine/_shortcuts.sass
40
39
  - templates/project/manifest.rb
41
40
  homepage: http://dln.name
@@ -58,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
57
  version: '0'
59
58
  requirements: []
60
59
  rubyforge_project:
61
- rubygems_version: 1.8.10
60
+ rubygems_version: 1.8.11
62
61
  signing_key:
63
62
  specification_version: 3
64
63
  summary: .
@@ -1,5 +0,0 @@
1
-
2
- input, textarea
3
- padding: 0
4
- border: 1px solid #A9A9A9
5
-
@@ -1,47 +0,0 @@
1
- input {
2
-
3
- // -moz-appearance: textfield;
4
- // -moz-binding: url("chrome://global/content/platformHTMLBindings.xml#inputFields");
5
- // -moz-border-bottom-colors: none;
6
- // -moz-border-image: none;
7
- // -moz-border-left-colors: none;
8
- // -moz-border-right-colors: none;
9
- // -moz-border-top-colors: none;
10
- //
11
- //
12
- // -moz-font-feature-settings: -moz-use-system-font;
13
- // -moz-font-language-override: -moz-use-system-font;
14
- // -moz-user-select: text;
15
- //
16
- // border-bottom-color: threedface;
17
- // border-bottom-style: inset;
18
- // border-bottom-width: 2px;
19
- // border-left-color-ltr-source: physical;
20
- // border-left-color-rtl-source: physical;
21
- // border-left-color-value: threedface;
22
- // border-left-style-ltr-source: physical;
23
- // border-left-style-rtl-source: physical;
24
- // border-left-style-value: inset;
25
- // border-left-width-ltr-source: physical;
26
- // border-left-width-rtl-source: physical;
27
- // border-left-width-value: 20px;
28
- // border-right-color-ltr-source: physical;
29
- // border-right-color-rtl-source: physical;
30
- // border-right-color-value: threedface;
31
- // border-right-style-ltr-source: physical;
32
- // border-right-style-rtl-source: physical;
33
- // border-right-style-value: inset;
34
- // border-right-width-ltr-source: physical;
35
- // border-right-width-rtl-source: physical;
36
- // border-right-width-value: 2px;
37
- // border-top-color: threedface;
38
- // border-top-style: inset;
39
- // border-top-width: 2px;
40
-
41
- border: 1px solid #A9A9A9;
42
-
43
- // border:
44
-
45
-
46
-
47
- }