edgrid_rb 0.0.1.1 → 0.0.1.2
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5458a36f27020f513dd97eae3a3ab0e44908949c
|
4
|
+
data.tar.gz: 8659e4e7642783497377b78375169bbee207fa73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f80ff3839d800c6355ef828218b7493d98fbf6547f940c9ec4632412d7926a05c816a4ad494a0b936275abc897b1a883b66f91eb939bffb71dfe27bf0e2b2e92
|
7
|
+
data.tar.gz: bedb15ebb99b63982cdf28de347f705103f7b3409f3d7224ba5981012914df5060dc4eac2ad2f26290c626e6ff01b9ec595e768b66411eb37d351298e259b71a
|
data/lib/edgrid_rb/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
//Mixins para media queries
|
1
|
+
// Mixins para media queries
|
2
2
|
// El parámetro es el nombre del breakpoint
|
3
3
|
@mixin hasta($size){
|
4
4
|
@media screen and (max-width: map-get($breakpoints,$size) - 1){
|
@@ -21,30 +21,41 @@
|
|
21
21
|
// Mixins para cuadriculas
|
22
22
|
// Se aplica contendor de la cuadricula.
|
23
23
|
// Los parámetros son el selector de cada item y el número de columnas
|
24
|
+
// El tercer parámetro (opcional) es la separacion entre columnas (en porcentaje)
|
25
|
+
@mixin cuadricula($items,$columnas,$separacion:2%){
|
26
|
+
font-size : 0;
|
27
|
+
margin : 0;
|
28
|
+
padding : 0;
|
29
|
+
list-style : none; // por si el contenedor es un ul
|
24
30
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
31
|
+
& > #{$items}, & > .#{$items}{
|
32
|
+
display : inline-block;
|
33
|
+
float : none;
|
34
|
+
font-size : 1rem;
|
35
|
+
width : (100% - $separacion * ($columnas - 1)) / $columnas;
|
36
|
+
margin-right : $separacion;
|
37
|
+
margin-bottom : $separacion;
|
38
|
+
vertical-align : top;
|
30
39
|
|
31
|
-
|
32
|
-
|
33
|
-
float : none;
|
34
|
-
font-size : 1rem;
|
35
|
-
width : (100% - $separacion * ($columnas - 1)) / $columnas;
|
36
|
-
margin-right : unquote($separacion + "%");
|
37
|
-
vertical-align : top;
|
38
|
-
|
39
|
-
&:nth-child(#{$columnas}n){
|
40
|
-
margin-right: 0;
|
41
|
-
}
|
40
|
+
&:nth-child(#{$columnas}n){
|
41
|
+
margin-right: 0;
|
42
42
|
}
|
43
43
|
}
|
44
|
+
}
|
44
45
|
|
45
46
|
// Mixin para controlar el padding
|
46
47
|
// El parámetro es por cuanto se va a multiplicar el padding base.
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
@mixin padding($numero){
|
49
|
+
padding-left: ($caja--separacion / 2) * $numero;
|
50
|
+
padding-right: ($caja--separacion / 2) * $numero;
|
51
|
+
}
|
52
|
+
|
53
|
+
// Mixin para roporcion de aspecto, se le pasan tres parámetros
|
54
|
+
// Horizontal, Vertical y Ancho. Este ultimo es opcional, si no
|
55
|
+
// se pasa, se tomará el 100% de ancho por defecto.
|
56
|
+
@mixin proporcion($h,$v,$width:100){
|
57
|
+
width : unquote($width+"%");
|
58
|
+
height : 0;
|
59
|
+
overflow : hidden;
|
60
|
+
padding-bottom : unquote($width * ($v/$h) + "%");
|
61
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edgrid_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zetanova
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.4.
|
116
|
+
rubygems_version: 2.4.6
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Ruby wrapper for EdGrid
|