semantic-mixins 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/stylesheets/semantic-mixins/_main.sass +39 -30
- data/semantic-mixins.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d98c010f43f9a54f77013654d6e6c904066fa4b8
|
4
|
+
data.tar.gz: 5566ae9a34674701936eb8764f937a9b54d6072d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac3dbf55c626ee415d208e3016f809f12b5cf1b246a1b1a20ef606714993365ddb30612fe8377e58f8fdd30d61254b54868bff244fec4cf820b34344f1da15c7
|
7
|
+
data.tar.gz: 05ea9addae3cfe3ffbf7df9dec85243b3c4e42cac500683f9684c5a51344ce290dab7bd2d25f485f29d0b57a45bb202a7c34ee3c8cb67667e8213988f683d49c
|
@@ -1,33 +1,4 @@
|
|
1
1
|
// This code isn't yet fully tested
|
2
|
-
|
3
|
-
// CUSTOM HTML RESETS
|
4
|
-
html
|
5
|
-
text-rendering: optimizeLegibility
|
6
|
-
-webkit-font-smoothing: antialiased
|
7
|
-
|
8
|
-
= css-techniques($font-size: 16)
|
9
|
-
|
10
|
-
html
|
11
|
-
font-size: relative-size($font-size,16)
|
12
|
-
|
13
|
-
body
|
14
|
-
font-size: 1em
|
15
|
-
line-height: 1.4
|
16
|
-
|
17
|
-
// Remove the gap between images and the bottom of their containers: h5bp.com/i/440
|
18
|
-
img
|
19
|
-
vertical-align: middle
|
20
|
-
|
21
|
-
// Remove default fieldset styles.
|
22
|
-
fieldset
|
23
|
-
border: 0
|
24
|
-
margin: 0
|
25
|
-
padding: 0
|
26
|
-
|
27
|
-
// Allow only vertical resizing of textareas.
|
28
|
-
textarea
|
29
|
-
resize: vertical
|
30
|
-
|
31
2
|
// USEFULL MIXINS
|
32
3
|
@function relative-size($size,$context)
|
33
4
|
@return #{$size/$context}em
|
@@ -93,6 +64,11 @@ html
|
|
93
64
|
#{$direction}: 50%
|
94
65
|
margin-#{$direction}: - ($width / 2) - $offset
|
95
66
|
|
67
|
+
= vertical-align-child($selector)
|
68
|
+
display: table
|
69
|
+
& #{$selector}
|
70
|
+
vertical-align: middle
|
71
|
+
|
96
72
|
= move($distance, $direction: bottom)
|
97
73
|
position: relative
|
98
74
|
#{$direction}: - $distance
|
@@ -104,4 +80,37 @@ html
|
|
104
80
|
src: url('#{$fontFileName}.eot')
|
105
81
|
src: url('#{$fontFileName}.eot?#iefix') format('embedded-opentype'), url('#{$fontFileName}.svg##{$fontName}') format('svg'), url('#{$fontFileName}.woff') format('woff'), url('#{$fontFileName}.ttf') format('truetype')
|
106
82
|
font-weight: $weight
|
107
|
-
font-style: $style
|
83
|
+
font-style: $style
|
84
|
+
|
85
|
+
= full-height-columns($selector: '.column', $method: "table", $max-size: 999em)
|
86
|
+
@if $method == "table"
|
87
|
+
display: table
|
88
|
+
& #{$selector}
|
89
|
+
display: table-cell
|
90
|
+
@else
|
91
|
+
overflow: hidden
|
92
|
+
& #{$selector}
|
93
|
+
margin-bottom: - $max-size
|
94
|
+
padding-bottom: $max-size
|
95
|
+
float: left
|
96
|
+
|
97
|
+
= stick-to($direction: bottom, $position: absolute, $size: false)
|
98
|
+
position: $position
|
99
|
+
@if $direction == bottom or $direction == top
|
100
|
+
@if $size
|
101
|
+
height: $size
|
102
|
+
left: 0
|
103
|
+
right: 0
|
104
|
+
@if $direction == left or $direction == right
|
105
|
+
@if $size
|
106
|
+
width: $size
|
107
|
+
top: 0
|
108
|
+
bottom: 0
|
109
|
+
#{$direction}: 0
|
110
|
+
|
111
|
+
= expand-to-fit($padding: 0, $position: absolute)
|
112
|
+
position: $position
|
113
|
+
top: $padding
|
114
|
+
right: $padding
|
115
|
+
bottom: $padding
|
116
|
+
left: $padding
|
data/semantic-mixins.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic-mixins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gustavo Guichard
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: 1.3.5
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.1
|
111
|
+
rubygems_version: 2.4.1
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Some semantic mixins to enhance the compass plugin
|