zazz 0.0.7 → 0.0.8

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.
@@ -1,5 +1,5 @@
1
1
  module Compass
2
2
  module Zazz
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
@@ -3,6 +3,7 @@
3
3
  float: none
4
4
  clear: both
5
5
  overflow: hidden
6
+ // +pie-clearfix may be equivalent in compass
6
7
 
7
8
  =float_left
8
9
  display: block
@@ -61,3 +62,32 @@
61
62
  -o-font-feature-settings: "liga","dlig"
62
63
  font-feature-settings: "liga","dlig"
63
64
  text-rendering: optimizeLegibility
65
+
66
+
67
+ // def rounded_avatar(image_path)
68
+ // content_tag(:div, class: "avatar") do
69
+ // content_tag(:div, class: "wrapper") do
70
+ // image_tag(image_path)
71
+ // end
72
+ // end
73
+ // end
74
+
75
+ =rounded_avatar($size:200px, $border_thickness:10px, $border_color: rgba(white, 1))
76
+ display: inline-block
77
+ +box-sizing(border-box)
78
+ margin: 10px
79
+ padding: $border_thickness
80
+ background-color: $border_color
81
+ +border-radius($size/2 + $border_thickness*2)
82
+ +box-shadow(rgba(#000, 0.3) 3px 3px 10px)
83
+ img, .wrapper
84
+ display: block
85
+ margin: 0
86
+ padding: 0
87
+ +border-radius($size/2)
88
+ max-width: $size
89
+ min-width: $size
90
+ min-height: $size
91
+ .wrapper
92
+ height: $size
93
+ overflow: hidden
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zazz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-06 00:00:00.000000000 Z
12
+ date: 2012-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: 1374143025331178569
92
+ hash: -4164793758769514968
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  segments:
100
100
  - 0
101
- hash: 1374143025331178569
101
+ hash: -4164793758769514968
102
102
  requirements: []
103
103
  rubyforge_project: zazz
104
104
  rubygems_version: 1.8.24