atypical-sass 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{atypical-sass}
3
- s.version = "0.0.1"
3
+ s.version = "0.0.2"
4
4
  s.date = "2013-05-08"
5
5
 
6
6
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
data/lib/atypical-sass.rb CHANGED
@@ -4,6 +4,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
4
  Compass::Frameworks.register('atypical', :path => extension_path) if defined?(Compass)
5
5
 
6
6
  module AtypicalSass
7
- VERSION = "0.0.1"
7
+ VERSION = "0.0.2"
8
8
  DATE = "2013-08-05"
9
9
  end
@@ -1 +1,52 @@
1
- // import blah
1
+ $font-base:Arial,sans-serif;
2
+ $font-icon:"icons",$font-base;
3
+
4
+ @function pxtoem($px,$basepx:16){
5
+ @return (($px/($px*0+1))/$basepx)+0em;
6
+ }
7
+
8
+ %icon{
9
+ @include box-sizing(content-box);
10
+ display:inline-block;
11
+ line-height:1;
12
+ text-decoration:none;
13
+
14
+ &:before{
15
+ content:attr(data-icon);
16
+ font:{
17
+ family:$font-icon;
18
+ style:normal;
19
+ variant:normal;
20
+ weight:normal;
21
+ }
22
+ speak:none;
23
+ text-align:center;
24
+ vertical-align:middle;
25
+ }
26
+
27
+ span{
28
+ font:0/0 a;
29
+
30
+ &:not([href]){
31
+ display:block;
32
+ overflow:hidden;
33
+ width:1px;
34
+ }
35
+ }
36
+
37
+ * html &{
38
+ width:auto;
39
+
40
+ span{
41
+ font:1em/1 $font-base;
42
+ }
43
+ }
44
+
45
+ * + html &{
46
+ width:auto;
47
+
48
+ span{
49
+ font:1em/1 $font-base;
50
+ }
51
+ }
52
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atypical-sass
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: