picasso 0.0.2 → 0.0.3

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.
data/docs/ie.html ADDED
@@ -0,0 +1,170 @@
1
+ <!DOCTYPE html>
2
+ <!--[if IE 7]> <html class="ie7"> <![endif]-->
3
+ <!--[if IE 8]> <html class="ie8"> <![endif]-->
4
+ <!--[if IE 9]> <html class="ie9"> <![endif]-->
5
+ <!--[if gt IE 9]><!--> <html> <!--<![endif]-->
6
+
7
+ <head>
8
+ <meta charset="utf-8">
9
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
10
+ <title>Picasso. Framework CSS/Sass.</title>
11
+
12
+ <link type="text/css" rel="stylesheet" href="./css/markdown.css">
13
+ <link type="text/css" rel="stylesheet" href="./css/github.css">
14
+ <link type="text/css" rel="stylesheet" href="./css/style.css">
15
+ </head>
16
+
17
+ <body>
18
+
19
+
20
+ <header>
21
+ <h1>Picasso. Framework CSS/Sass.</h1>
22
+ </header>
23
+
24
+
25
+
26
+
27
+ <hr>
28
+
29
+ <h2>Contenidos</h2>
30
+
31
+ <aside>
32
+ <nav>
33
+ <ol>
34
+
35
+ <li>
36
+ <a href="./intro.html#introduccioacuten">Introducci&amp;oacute;n</a>
37
+
38
+ <ol>
39
+
40
+ <li><a href="./intro.html#repositorio">Repositorio</a></li>
41
+
42
+ <li><a href="./intro.html#instalacioacuten">Instalaci&amp;oacute;n</a></li>
43
+
44
+ <li><a href="./intro.html#actualizacioacuten">Actualizaci&amp;oacute;n</a></li>
45
+
46
+ </ol>
47
+
48
+ </li>
49
+
50
+ <li>
51
+ <a href="./changelog.html#changelog">Changelog</a>
52
+
53
+ <ol>
54
+
55
+ <li><a href="./changelog.html#003">0.0.3</a></li>
56
+
57
+ <li><a href="./changelog.html#002">0.0.2</a></li>
58
+
59
+ <li><a href="./changelog.html#001">0.0.1</a></li>
60
+
61
+ </ol>
62
+
63
+ </li>
64
+
65
+ <li>
66
+ <a href="./todo.html#todo">Todo</a>
67
+
68
+ <ol>
69
+
70
+ </ol>
71
+
72
+ </li>
73
+
74
+ <li>
75
+ <a href="./docs.html#generar-la-documentacioacuten">Generar la documentaci&amp;oacute;n</a>
76
+
77
+ <ol>
78
+
79
+ </ol>
80
+
81
+ </li>
82
+
83
+ <li>
84
+ <a href="./components.html#components">Components</a>
85
+
86
+ <ol>
87
+
88
+ <li><a href="./buttons.html#buttons">Buttons</a></li>
89
+
90
+ <li><a href="./buttons.html#mini-buttons">Mini-Buttons</a></li>
91
+
92
+ <li><a href="./arrows.html#arrows">Arrows</a></li>
93
+
94
+ <li><a href="./bubbles.html#bubbles">Bubbles</a></li>
95
+
96
+ <li><a href="./ie.html#internet-explorer">Internet Explorer</a></li>
97
+
98
+ </ol>
99
+
100
+ </li>
101
+
102
+ <li>
103
+ <a href="./utils.html#utils">Utils</a>
104
+
105
+ <ol>
106
+
107
+ <li><a href="./utils.html#clearfix">Clearfix</a></li>
108
+
109
+ </ol>
110
+
111
+ </li>
112
+
113
+ <li>
114
+ <a href="./despegar.html#despegar">Despegar</a>
115
+
116
+ <ol>
117
+
118
+ <li><a href="./despegar.html#variables">Variables</a></li>
119
+
120
+ </ol>
121
+
122
+ </li>
123
+
124
+ </ol>
125
+ </nav>
126
+ </aside>
127
+
128
+
129
+
130
+ <hr>
131
+
132
+ <article>
133
+ <a name="internet-explorer"></a><h2>Internet Explorer</h2>
134
+ <p>La gran mayor&iacute;a de los componentes hacen uso intensivo de estilos CSS3 no soportados por versiones de Internet Explorer iguales o menores a 9. De manera predeterminada los componentes tienen estilos de fallback para tener compatibilidad con dicho navegador, el &uacute;nico requisito es que la p&aacute;gina que carga los estilos generados por Picasso posean la <a href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/">t&eacute;cnica de clases condicionales en la etiqueta html</a>:
135
+
136
+ </p>
137
+ <pre><code class="lang-html">&lt;!DOCTYPE html&gt;
138
+ &lt;!--[if IE 7]&gt; &lt;html class=&quot;ie7&quot;&gt; &lt;![endif]--&gt;
139
+ &lt;!--[if IE 8]&gt; &lt;html class=&quot;ie8&quot;&gt; &lt;![endif]--&gt;
140
+ &lt;!--[if IE 9]&gt; &lt;html class=&quot;ie9&quot;&gt; &lt;![endif]--&gt;
141
+ &lt;!--[if gt IE 9]&gt;&lt;!--&gt; &lt;html&gt; &lt;!--&lt;![endif]--&gt;</code></pre>
142
+ <a name="css3-pie"></a><h3>CSS3 Pie</h3>
143
+ <p>Picasso adem&aacute;s ofrece soporte para <a href="http://css3pie.com/">CSS3 Pie</a>. Su soporte esta apagado de forma predeterminada. Para habilitarlo, en el archivo Sass que hace uso de los mixins, agregar la siguiente variable:
144
+
145
+ </p>
146
+ <pre><code class="lang-css">$experimental-support-for-pie: true;</code></pre>
147
+ <pre><code>Notas:
148
+ - Tambi&amp;eacute;n es requisito que la p&amp;aacute;gina posea la t&amp;eacute;cnica de clases condicionales en la etiqueta html.
149
+ - Cuando el soporte de CSS3 Pie esta activado, los estilos de fallback no son cargados.</code></pre>
150
+ <p>Un punto importante a tener en cuenta es la definici&oacute; de la variable <code>$pie-behavior</code> con la ruta del archivo <code>.htc</code>:
151
+
152
+ </p>
153
+ <pre><code class="lang-css">$pie-behavior stylesheet-url(&quot;PIE.htc&quot;)</code></pre>
154
+ <p>Para otras opciones relacionadas, consultar la documentaci&oacute;n pertinente de Compass: <a href="http://compass-style.org/reference/compass/css3/pie/">http://compass-style.org/reference/compass/css3/pie/</a>
155
+
156
+ </p>
157
+
158
+ </article>
159
+
160
+
161
+ <footer>
162
+ </footer>
163
+
164
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
165
+ <script src="./js/docs.js"></script>
166
+ <script src="./js/rainbow-custom.min.js"></script>
167
+
168
+ </body>
169
+
170
+ </html>
data/docs/index.html CHANGED
@@ -1,10 +1,13 @@
1
- <!doctype html>
2
- <html>
1
+ <!DOCTYPE html>
2
+ <!--[if IE 7]> <html class="ie7"> <![endif]-->
3
+ <!--[if IE 8]> <html class="ie8"> <![endif]-->
4
+ <!--[if IE 9]> <html class="ie9"> <![endif]-->
5
+ <!--[if gt IE 9]><!--> <html> <!--<![endif]-->
3
6
 
4
7
  <head>
5
8
  <meta charset="utf-8">
6
9
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7
- <title>Picasso Docs</title>
10
+ <title>Picasso. Framework CSS/Sass.</title>
8
11
 
9
12
  <link type="text/css" rel="stylesheet" href="./css/markdown.css">
10
13
  <link type="text/css" rel="stylesheet" href="./css/github.css">
@@ -14,77 +17,156 @@
14
17
  <body>
15
18
 
16
19
 
20
+ <header>
21
+ <h1>Picasso. Framework CSS/Sass.</h1>
22
+ </header>
23
+
17
24
 
18
25
 
19
- <aside>
20
- <nav>
21
- <ol>
22
-
23
- <li>
24
- <a href="./intro.html#picasso-framework-css-sass">Picasso. Framework CSS/Sass.</a>
25
-
26
- <ol>
27
-
28
- </ol>
29
-
30
- </li>
31
-
32
- <li>
33
- <a href="./components.html#components">Components</a>
34
-
35
- <ol>
36
-
37
- <li><a href="./buttons.html#buttons">Buttons</a></li>
38
-
39
- <li><a href="./buttons.html#mini-buttons">Mini-Buttons</a></li>
40
-
41
- <li><a href="./arrows.html#arrows">Arrows</a></li>
42
-
43
- <li><a href="./bubbles.html#bubbles">Bubbles</a></li>
44
-
45
- </ol>
46
-
47
- </li>
48
-
49
- <li>
50
- <a href="./utils.html#utils">Utils</a>
51
-
52
- <ol>
53
-
54
- <li><a href="./utils.html#clearfix">Clearfix</a></li>
55
-
56
- </ol>
57
-
58
- </li>
59
-
60
- <li>
61
- <a href="./despegar.html#despegar">Despegar</a>
62
-
63
- <ol>
64
-
65
- <li><a href="./despegar.html#variables">Variables</a></li>
66
-
67
- </ol>
68
-
69
- </li>
70
-
71
- </ol>
72
- </nav>
73
- </aside>
74
-
75
-
76
- <article>
77
- <a name="picasso-framework-css-sass"></a><h1>Picasso. Framework CSS/Sass.</h1>
26
+
27
+ <hr>
28
+
29
+ <h2>Contenidos</h2>
30
+
31
+ <aside>
32
+ <nav>
33
+ <ol>
34
+
35
+ <li>
36
+ <a href="./intro.html#introduccioacuten">Introducci&amp;oacute;n</a>
37
+
38
+ <ol>
39
+
40
+ <li><a href="./intro.html#repositorio">Repositorio</a></li>
41
+
42
+ <li><a href="./intro.html#instalacioacuten">Instalaci&amp;oacute;n</a></li>
43
+
44
+ <li><a href="./intro.html#actualizacioacuten">Actualizaci&amp;oacute;n</a></li>
45
+
46
+ </ol>
47
+
48
+ </li>
49
+
50
+ <li>
51
+ <a href="./changelog.html#changelog">Changelog</a>
52
+
53
+ <ol>
54
+
55
+ <li><a href="./changelog.html#003">0.0.3</a></li>
56
+
57
+ <li><a href="./changelog.html#002">0.0.2</a></li>
58
+
59
+ <li><a href="./changelog.html#001">0.0.1</a></li>
60
+
61
+ </ol>
62
+
63
+ </li>
64
+
65
+ <li>
66
+ <a href="./todo.html#todo">Todo</a>
67
+
68
+ <ol>
69
+
70
+ </ol>
71
+
72
+ </li>
73
+
74
+ <li>
75
+ <a href="./docs.html#generar-la-documentacioacuten">Generar la documentaci&amp;oacute;n</a>
76
+
77
+ <ol>
78
+
79
+ </ol>
80
+
81
+ </li>
82
+
83
+ <li>
84
+ <a href="./components.html#components">Components</a>
85
+
86
+ <ol>
87
+
88
+ <li><a href="./buttons.html#buttons">Buttons</a></li>
89
+
90
+ <li><a href="./buttons.html#mini-buttons">Mini-Buttons</a></li>
91
+
92
+ <li><a href="./arrows.html#arrows">Arrows</a></li>
93
+
94
+ <li><a href="./bubbles.html#bubbles">Bubbles</a></li>
95
+
96
+ <li><a href="./ie.html#internet-explorer">Internet Explorer</a></li>
97
+
98
+ </ol>
99
+
100
+ </li>
101
+
102
+ <li>
103
+ <a href="./utils.html#utils">Utils</a>
104
+
105
+ <ol>
106
+
107
+ <li><a href="./utils.html#clearfix">Clearfix</a></li>
108
+
109
+ </ol>
110
+
111
+ </li>
112
+
113
+ <li>
114
+ <a href="./despegar.html#despegar">Despegar</a>
115
+
116
+ <ol>
117
+
118
+ <li><a href="./despegar.html#variables">Variables</a></li>
119
+
120
+ </ol>
121
+
122
+ </li>
123
+
124
+ </ol>
125
+ </nav>
126
+ </aside>
127
+
128
+
129
+
130
+ <hr>
131
+
132
+ <article>
133
+ <a name="introduccioacuten"></a><h1>Introducci&oacute;n</h1>
134
+ <a name="repositorio"></a><h2>Repositorio</h2>
135
+ <p><a href="http://gitorious.despegar.it/picasso/picasso">http://gitorious.despegar.it/picasso/picasso</a>
136
+
137
+ </p>
138
+ <a name="instalacioacuten"></a><h2>Instalaci&oacute;n</h2>
139
+ <p>Ejecutar:
140
+
141
+ </p>
142
+ <pre><code class="lang-bash">$ (sudo) gem install picasso</code></pre>
143
+ <p>En el config.rb agregar:
144
+
145
+ </p>
146
+ <pre><code class="lang-bash">require &#39;picasso&#39;
147
+ gem &#39;picasso&#39;, &#39;~&gt; 0.0.3&#39;</code></pre>
148
+ <p>Modificar el n&uacute;mero de versi&oacute;n a medida que se quiere usar nuevas versiones del framework.
149
+
150
+ </p>
151
+ <p>Finalmente, en el archivo Sass importar el framework completo:
152
+
153
+ </p>
154
+ <pre><code class="lang-bash">@import &quot;picasso&quot;;</code></pre>
155
+ <p>o s&oacute;lo lo necesario:
156
+
157
+ </p>
158
+ <pre><code class="lang-bash">@import &quot;picasso/components/buttons&quot;;
159
+ @import &quot;picasso/despegar/variables&quot;;</code></pre>
160
+ <a name="actualizacioacuten"></a><h2>Actualizaci&oacute;n</h2>
161
+ <pre><code class="lang-bash">$ (sudo) gem update picasso</code></pre>
78
162
 
79
163
  </article>
80
164
 
81
165
 
82
166
  <footer>
83
- <a href="./all.html">Everything on a single page</a>
84
-
85
167
  </footer>
86
168
 
87
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
169
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
88
170
  <script src="./js/docs.js"></script>
89
171
  <script src="./js/rainbow-custom.min.js"></script>
90
172
 
data/docs/intro.html CHANGED
@@ -1,10 +1,13 @@
1
- <!doctype html>
2
- <html>
1
+ <!DOCTYPE html>
2
+ <!--[if IE 7]> <html class="ie7"> <![endif]-->
3
+ <!--[if IE 8]> <html class="ie8"> <![endif]-->
4
+ <!--[if IE 9]> <html class="ie9"> <![endif]-->
5
+ <!--[if gt IE 9]><!--> <html> <!--<![endif]-->
3
6
 
4
7
  <head>
5
8
  <meta charset="utf-8">
6
9
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7
- <title>Picasso Docs</title>
10
+ <title>Picasso. Framework CSS/Sass.</title>
8
11
 
9
12
  <link type="text/css" rel="stylesheet" href="./css/markdown.css">
10
13
  <link type="text/css" rel="stylesheet" href="./css/github.css">
@@ -14,77 +17,156 @@
14
17
  <body>
15
18
 
16
19
 
20
+ <header>
21
+ <h1>Picasso. Framework CSS/Sass.</h1>
22
+ </header>
23
+
17
24
 
18
25
 
19
- <aside>
20
- <nav>
21
- <ol>
22
-
23
- <li>
24
- <a href="./intro.html#picasso-framework-css-sass">Picasso. Framework CSS/Sass.</a>
25
-
26
- <ol>
27
-
28
- </ol>
29
-
30
- </li>
31
-
32
- <li>
33
- <a href="./components.html#components">Components</a>
34
-
35
- <ol>
36
-
37
- <li><a href="./buttons.html#buttons">Buttons</a></li>
38
-
39
- <li><a href="./buttons.html#mini-buttons">Mini-Buttons</a></li>
40
-
41
- <li><a href="./arrows.html#arrows">Arrows</a></li>
42
-
43
- <li><a href="./bubbles.html#bubbles">Bubbles</a></li>
44
-
45
- </ol>
46
-
47
- </li>
48
-
49
- <li>
50
- <a href="./utils.html#utils">Utils</a>
51
-
52
- <ol>
53
-
54
- <li><a href="./utils.html#clearfix">Clearfix</a></li>
55
-
56
- </ol>
57
-
58
- </li>
59
-
60
- <li>
61
- <a href="./despegar.html#despegar">Despegar</a>
62
-
63
- <ol>
64
-
65
- <li><a href="./despegar.html#variables">Variables</a></li>
66
-
67
- </ol>
68
-
69
- </li>
70
-
71
- </ol>
72
- </nav>
73
- </aside>
74
-
75
-
76
- <article>
77
- <a name="picasso-framework-css-sass"></a><h1>Picasso. Framework CSS/Sass.</h1>
26
+
27
+ <hr>
28
+
29
+ <h2>Contenidos</h2>
30
+
31
+ <aside>
32
+ <nav>
33
+ <ol>
34
+
35
+ <li>
36
+ <a href="./intro.html#introduccioacuten">Introducci&amp;oacute;n</a>
37
+
38
+ <ol>
39
+
40
+ <li><a href="./intro.html#repositorio">Repositorio</a></li>
41
+
42
+ <li><a href="./intro.html#instalacioacuten">Instalaci&amp;oacute;n</a></li>
43
+
44
+ <li><a href="./intro.html#actualizacioacuten">Actualizaci&amp;oacute;n</a></li>
45
+
46
+ </ol>
47
+
48
+ </li>
49
+
50
+ <li>
51
+ <a href="./changelog.html#changelog">Changelog</a>
52
+
53
+ <ol>
54
+
55
+ <li><a href="./changelog.html#003">0.0.3</a></li>
56
+
57
+ <li><a href="./changelog.html#002">0.0.2</a></li>
58
+
59
+ <li><a href="./changelog.html#001">0.0.1</a></li>
60
+
61
+ </ol>
62
+
63
+ </li>
64
+
65
+ <li>
66
+ <a href="./todo.html#todo">Todo</a>
67
+
68
+ <ol>
69
+
70
+ </ol>
71
+
72
+ </li>
73
+
74
+ <li>
75
+ <a href="./docs.html#generar-la-documentacioacuten">Generar la documentaci&amp;oacute;n</a>
76
+
77
+ <ol>
78
+
79
+ </ol>
80
+
81
+ </li>
82
+
83
+ <li>
84
+ <a href="./components.html#components">Components</a>
85
+
86
+ <ol>
87
+
88
+ <li><a href="./buttons.html#buttons">Buttons</a></li>
89
+
90
+ <li><a href="./buttons.html#mini-buttons">Mini-Buttons</a></li>
91
+
92
+ <li><a href="./arrows.html#arrows">Arrows</a></li>
93
+
94
+ <li><a href="./bubbles.html#bubbles">Bubbles</a></li>
95
+
96
+ <li><a href="./ie.html#internet-explorer">Internet Explorer</a></li>
97
+
98
+ </ol>
99
+
100
+ </li>
101
+
102
+ <li>
103
+ <a href="./utils.html#utils">Utils</a>
104
+
105
+ <ol>
106
+
107
+ <li><a href="./utils.html#clearfix">Clearfix</a></li>
108
+
109
+ </ol>
110
+
111
+ </li>
112
+
113
+ <li>
114
+ <a href="./despegar.html#despegar">Despegar</a>
115
+
116
+ <ol>
117
+
118
+ <li><a href="./despegar.html#variables">Variables</a></li>
119
+
120
+ </ol>
121
+
122
+ </li>
123
+
124
+ </ol>
125
+ </nav>
126
+ </aside>
127
+
128
+
129
+
130
+ <hr>
131
+
132
+ <article>
133
+ <a name="introduccioacuten"></a><h1>Introducci&oacute;n</h1>
134
+ <a name="repositorio"></a><h2>Repositorio</h2>
135
+ <p><a href="http://gitorious.despegar.it/picasso/picasso">http://gitorious.despegar.it/picasso/picasso</a>
136
+
137
+ </p>
138
+ <a name="instalacioacuten"></a><h2>Instalaci&oacute;n</h2>
139
+ <p>Ejecutar:
140
+
141
+ </p>
142
+ <pre><code class="lang-bash">$ (sudo) gem install picasso</code></pre>
143
+ <p>En el config.rb agregar:
144
+
145
+ </p>
146
+ <pre><code class="lang-bash">require &#39;picasso&#39;
147
+ gem &#39;picasso&#39;, &#39;~&gt; 0.0.3&#39;</code></pre>
148
+ <p>Modificar el n&uacute;mero de versi&oacute;n a medida que se quiere usar nuevas versiones del framework.
149
+
150
+ </p>
151
+ <p>Finalmente, en el archivo Sass importar el framework completo:
152
+
153
+ </p>
154
+ <pre><code class="lang-bash">@import &quot;picasso&quot;;</code></pre>
155
+ <p>o s&oacute;lo lo necesario:
156
+
157
+ </p>
158
+ <pre><code class="lang-bash">@import &quot;picasso/components/buttons&quot;;
159
+ @import &quot;picasso/despegar/variables&quot;;</code></pre>
160
+ <a name="actualizacioacuten"></a><h2>Actualizaci&oacute;n</h2>
161
+ <pre><code class="lang-bash">$ (sudo) gem update picasso</code></pre>
78
162
 
79
163
  </article>
80
164
 
81
165
 
82
166
  <footer>
83
- <a href="./all.html">Everything on a single page</a>
84
-
85
167
  </footer>
86
168
 
87
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
169
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
88
170
  <script src="./js/docs.js"></script>
89
171
  <script src="./js/rainbow-custom.min.js"></script>
90
172