picasso 0.2.3 → 0.3.0

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.
Files changed (100) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +216 -3
  3. data/docs/_picasso.html +38 -0
  4. data/docs/config.rb +1 -1
  5. data/docs/css/{style.css → picasso-docs.css} +797 -1331
  6. data/docs/img/picasso-buttons-glossy.png +0 -0
  7. data/docs/img/picasso-nav.png +0 -0
  8. data/docs/img/picasso-popup.png +0 -0
  9. data/docs/index.html +201 -198
  10. data/docs/picasso-_components.html +83 -0
  11. data/docs/picasso-_despegar.html +34 -0
  12. data/docs/picasso-_utils.html +40 -0
  13. data/docs/picasso-components-_accordions.html +183 -0
  14. data/docs/picasso-components-_arrows.html +124 -0
  15. data/docs/picasso-components-_bubbles.html +142 -0
  16. data/docs/picasso-components-_buttons.html +38 -0
  17. data/docs/picasso-components-_inputs.html +122 -0
  18. data/docs/picasso-components-_list-grids.html +253 -0
  19. data/docs/picasso-components-_mini-tooltips.html +152 -0
  20. data/docs/picasso-components-_navs.html +360 -0
  21. data/docs/picasso-components-_pagination.html +258 -0
  22. data/docs/picasso-components-_popups.html +359 -0
  23. data/docs/picasso-components-buttons-_3d.html +284 -0
  24. data/docs/picasso-components-buttons-_glossy.html +290 -0
  25. data/docs/picasso-components-buttons-_mini.html +224 -0
  26. data/docs/picasso-despegar-_variables.html +145 -0
  27. data/docs/picasso-utils-_clearfix.html +56 -0
  28. data/docs/picasso-utils-_grid.html +390 -0
  29. data/docs/picasso-utils-_ie.html +50 -0
  30. data/docs/picasso-utils-_sprite.html +62 -0
  31. data/docs/resources/docs.jade +46 -0
  32. data/docs/resources/docs.js +52 -0
  33. data/docs/sass/{style.scss → picasso-docs.scss} +71 -96
  34. data/lib/picasso/version.rb +1 -1
  35. data/picasso.gemspec +1 -1
  36. data/stylesheets/_picasso.scss +14 -0
  37. data/stylesheets/picasso/_components.scss +54 -0
  38. data/stylesheets/picasso/_despegar.scss +12 -0
  39. data/stylesheets/picasso/_utils.scss +17 -1
  40. data/stylesheets/picasso/components/_accordions.scss +52 -2
  41. data/stylesheets/picasso/components/_arrows.scss +39 -2
  42. data/stylesheets/picasso/components/_bubbles.scss +36 -2
  43. data/stylesheets/picasso/components/_buttons.scss +14 -0
  44. data/stylesheets/picasso/components/_inputs.scss +41 -2
  45. data/stylesheets/picasso/components/_list-grids.scss +84 -3
  46. data/stylesheets/picasso/components/_mini-tooltips.scss +128 -0
  47. data/stylesheets/picasso/components/_navs.scss +52 -2
  48. data/stylesheets/picasso/components/_pagination.scss +63 -2
  49. data/stylesheets/picasso/components/_popups.scss +73 -2
  50. data/stylesheets/picasso/components/buttons/_3d.scss +75 -2
  51. data/stylesheets/picasso/components/buttons/_glossy.scss +41 -2
  52. data/stylesheets/picasso/components/buttons/_mini.scss +44 -2
  53. data/stylesheets/picasso/despegar/_variables.scss +61 -60
  54. data/stylesheets/picasso/utils/_clearfix.scss +24 -16
  55. data/stylesheets/picasso/utils/_grid.scss +269 -0
  56. data/stylesheets/picasso/utils/_ie.scss +23 -28
  57. data/stylesheets/picasso/utils/_sprite.scss +15 -3
  58. metadata +34 -50
  59. data/docs/accordions.html +0 -276
  60. data/docs/all.html +0 -1588
  61. data/docs/arrows.html +0 -233
  62. data/docs/bubbles.html +0 -231
  63. data/docs/build/manifest.json +0 -21
  64. data/docs/build/md/changelog.md +0 -53
  65. data/docs/build/md/components/accordions.md +0 -97
  66. data/docs/build/md/components/arrows.md +0 -53
  67. data/docs/build/md/components/bubbles.md +0 -57
  68. data/docs/build/md/components/buttons.md +0 -205
  69. data/docs/build/md/components/components.md +0 -37
  70. data/docs/build/md/components/inputs.md +0 -73
  71. data/docs/build/md/components/list-grids.md +0 -180
  72. data/docs/build/md/components/navs.md +0 -107
  73. data/docs/build/md/components/pagination.md +0 -112
  74. data/docs/build/md/components/popups.md +0 -162
  75. data/docs/build/md/despegar/despegar.md +0 -200
  76. data/docs/build/md/intro.md +0 -59
  77. data/docs/build/md/mejoras.md +0 -69
  78. data/docs/build/md/todo.md +0 -14
  79. data/docs/build/md/utils/utils.md +0 -62
  80. data/docs/build/templates/index.html +0 -37
  81. data/docs/build/templates/layout.html +0 -68
  82. data/docs/build/templates/page.html +0 -3
  83. data/docs/buttons.html +0 -357
  84. data/docs/changelog.html +0 -264
  85. data/docs/components.html +0 -220
  86. data/docs/css/github.css +0 -88
  87. data/docs/css/markdown.css +0 -108
  88. data/docs/despegar.html +0 -377
  89. data/docs/inputs.html +0 -248
  90. data/docs/intro.html +0 -233
  91. data/docs/js/docs.js +0 -32
  92. data/docs/js/rainbow-custom.min.js +0 -13
  93. data/docs/js/viewer.js +0 -12
  94. data/docs/list-grids.html +0 -350
  95. data/docs/mejoras.html +0 -250
  96. data/docs/navs.html +0 -281
  97. data/docs/pagination.html +0 -286
  98. data/docs/popups.html +0 -337
  99. data/docs/todo.html +0 -204
  100. data/docs/utils.html +0 -233
@@ -1,36 +1,31 @@
1
- //
2
- // IE
3
- //
4
-
5
-
6
- //
7
- // Permite crear un elemento HTML para poder simular el uso de after y before.
8
- //
9
- // @example
10
- // .my-element {
11
- // @include after;
12
- // @include before;
13
- //
14
- // .ie7 & {
15
- // .after{
16
- // ...
17
- // }
18
- //
19
- // .before{
20
- // ...
21
- // }
22
- // }
23
- //
24
- // }
25
- //
26
- // @see http://stackoverflow.com/questions/4181884/after-and-before-css-pseudo-elements-hack-for-ie-7/9369163
27
- //
28
- //
1
+ // ## IE
29
2
 
3
+ // ### After / Before
4
+
5
+ // Soporte de `:after` y `:before` para Internet Explorer 7.
6
+
7
+ // Basado en http://stackoverflow.com/questions/4181884/after-and-before-css-pseudo-elements-hack-for-ie-7/
8
+
9
+ // ### Sass
10
+
11
+ // #### Import
12
+
13
+ // `@import "picasso/utils/ie";`
14
+
15
+ // #### Mixins
16
+
17
+ // * `@include after;`
18
+ // * `@include before;`
19
+
20
+ // Para IE quedan disponibles las clases .after y .before
21
+ // para aplicar los mismos estilos como si fueran pseudoselectores
22
+
23
+ //After
30
24
  @mixin after{
31
25
  zoom: expression( this.runtimeStyle.zoom="1", this.appendChild( document.createElement("i") ).className="after" );
32
26
  }
33
27
 
28
+ //Before
34
29
  @mixin before{
35
30
  zoom: expression( this.runtimeStyle.zoom="1", this.insertBefore( document.createElement("i"), this.firstChild ).className="before" );
36
31
  }
@@ -1,6 +1,18 @@
1
- //
2
- // Sprite
3
- //
1
+ // ## Sprite
2
+
3
+ // Inserta dinámicamente imágenes de un componente específico dentro de un sprite y
4
+ // devuelve la posición vertical en donde se insertó.
5
+
6
+ // ### Sass
7
+
8
+ // #### Import
9
+
10
+ // `@import "picasso/utils/sprite";`
11
+
12
+ // #### ­tilización
13
+
14
+ // `$initial-position: insert-in-sprite($sprite-created, $sprite-name, $sprite, $sprite-width, $sprite-height);`
15
+
4
16
 
5
17
  $sprite-image: '';
6
18
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
8
7
  - 3
9
- version: 0.2.3
8
+ - 0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Leandro D'Onofrio
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-07-20 00:00:00 -03:00
17
+ date: 2012-07-23 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -60,57 +60,39 @@ files:
60
60
  - LICENSE
61
61
  - README.md
62
62
  - Rakefile
63
- - docs/accordions.html
64
- - docs/all.html
65
- - docs/arrows.html
66
- - docs/bubbles.html
67
- - docs/build/manifest.json
68
- - docs/build/md/changelog.md
69
- - docs/build/md/components/accordions.md
70
- - docs/build/md/components/arrows.md
71
- - docs/build/md/components/bubbles.md
72
- - docs/build/md/components/buttons.md
73
- - docs/build/md/components/components.md
74
- - docs/build/md/components/inputs.md
75
- - docs/build/md/components/list-grids.md
76
- - docs/build/md/components/navs.md
77
- - docs/build/md/components/pagination.md
78
- - docs/build/md/components/popups.md
79
- - docs/build/md/despegar/despegar.md
80
- - docs/build/md/intro.md
81
- - docs/build/md/mejoras.md
82
- - docs/build/md/todo.md
83
- - docs/build/md/utils/utils.md
84
- - docs/build/templates/index.html
85
- - docs/build/templates/layout.html
86
- - docs/build/templates/page.html
87
- - docs/buttons.html
88
- - docs/changelog.html
89
- - docs/components.html
63
+ - docs/_picasso.html
90
64
  - docs/config.rb
91
- - docs/css/github.css
92
- - docs/css/markdown.css
93
- - docs/css/style.css
94
- - docs/despegar.html
65
+ - docs/css/picasso-docs.css
95
66
  - docs/img/picasso-buttons-glossy.png
96
67
  - docs/img/picasso-buttons-mini.png
97
68
  - docs/img/picasso-nav.png
98
69
  - docs/img/picasso-popup.png
99
70
  - docs/img/picasso.png
100
71
  - docs/index.html
101
- - docs/inputs.html
102
- - docs/intro.html
103
- - docs/js/docs.js
104
- - docs/js/rainbow-custom.min.js
105
- - docs/js/viewer.js
106
- - docs/list-grids.html
107
- - docs/mejoras.html
108
- - docs/navs.html
109
- - docs/pagination.html
110
- - docs/popups.html
111
- - docs/sass/style.scss
112
- - docs/todo.html
113
- - docs/utils.html
72
+ - docs/picasso-_components.html
73
+ - docs/picasso-_despegar.html
74
+ - docs/picasso-_utils.html
75
+ - docs/picasso-components-_accordions.html
76
+ - docs/picasso-components-_arrows.html
77
+ - docs/picasso-components-_bubbles.html
78
+ - docs/picasso-components-_buttons.html
79
+ - docs/picasso-components-_inputs.html
80
+ - docs/picasso-components-_list-grids.html
81
+ - docs/picasso-components-_mini-tooltips.html
82
+ - docs/picasso-components-_navs.html
83
+ - docs/picasso-components-_pagination.html
84
+ - docs/picasso-components-_popups.html
85
+ - docs/picasso-components-buttons-_3d.html
86
+ - docs/picasso-components-buttons-_glossy.html
87
+ - docs/picasso-components-buttons-_mini.html
88
+ - docs/picasso-despegar-_variables.html
89
+ - docs/picasso-utils-_clearfix.html
90
+ - docs/picasso-utils-_grid.html
91
+ - docs/picasso-utils-_ie.html
92
+ - docs/picasso-utils-_sprite.html
93
+ - docs/resources/docs.jade
94
+ - docs/resources/docs.js
95
+ - docs/sass/picasso-docs.scss
114
96
  - lib/picasso.rb
115
97
  - lib/picasso/version.rb
116
98
  - picasso.gemspec
@@ -124,6 +106,7 @@ files:
124
106
  - stylesheets/picasso/components/_buttons.scss
125
107
  - stylesheets/picasso/components/_inputs.scss
126
108
  - stylesheets/picasso/components/_list-grids.scss
109
+ - stylesheets/picasso/components/_mini-tooltips.scss
127
110
  - stylesheets/picasso/components/_navs.scss
128
111
  - stylesheets/picasso/components/_pagination.scss
129
112
  - stylesheets/picasso/components/_popups.scss
@@ -132,6 +115,7 @@ files:
132
115
  - stylesheets/picasso/components/buttons/_mini.scss
133
116
  - stylesheets/picasso/despegar/_variables.scss
134
117
  - stylesheets/picasso/utils/_clearfix.scss
118
+ - stylesheets/picasso/utils/_grid.scss
135
119
  - stylesheets/picasso/utils/_ie.scss
136
120
  - stylesheets/picasso/utils/_sprite.scss
137
121
  - templates/project/manifest.rb
@@ -142,9 +126,9 @@ licenses: []
142
126
  post_install_message: "\n\n\
143
127
  ##################################################\n\
144
128
  ## Picasso - Sass/Compass Framework\n\n\
145
- ## Versi\xC3\xB3n: 0.2.3\n\
146
- ## Documentaci\xC3\xB3n: http://dl.dropbox.com/u/54126/picasso/docs/all.html\n\
147
- ## CHANGELOG: http://dl.dropbox.com/u/54126/picasso/docs/changelog.html#changelog\n\
129
+ ## Versi\xC3\xB3n: 0.3.0\n\
130
+ ## Documentaci\xC3\xB3n: http://dl.dropbox.com/u/54126/picasso/docs/index.html\n\
131
+ ## CHANGELOG: http://dl.dropbox.com/u/54126/picasso/docs/index.html#changelog\n\
148
132
  ##################################################\n\n"
149
133
  rdoc_options: []
150
134
 
data/docs/accordions.html DELETED
@@ -1,276 +0,0 @@
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
- <img src="img/picasso.png" />
22
- <h1 class="title">Framework CSS/Sass.</h1>
23
- </header>
24
-
25
-
26
-
27
-
28
- <hr>
29
-
30
- <h2>Contenidos</h2>
31
-
32
- <aside>
33
- <nav>
34
- <ol>
35
-
36
- <li>
37
- <a href="./intro.html#introduccioacuten">Introducci&amp;oacute;n</a>
38
-
39
- <ol>
40
-
41
- <li><a href="./intro.html#repositorio">Repositorio</a></li>
42
-
43
- <li><a href="./intro.html#instalacioacuten">Instalaci&amp;oacute;n</a></li>
44
-
45
- <li><a href="./intro.html#actualizacioacuten">Actualizaci&amp;oacute;n</a></li>
46
-
47
- <li><a href="./intro.html#opcional-instalacioacuten-de-oily-png">Opcional: Instalaci&amp;oacute;n de oily_png</a></li>
48
-
49
- </ol>
50
-
51
- </li>
52
-
53
- <li>
54
- <a href="./changelog.html#changelog">Changelog</a>
55
-
56
- <ol>
57
-
58
- <li><a href="./changelog.html#023">0.2.3</a></li>
59
-
60
- <li><a href="./changelog.html#022">0.2.2</a></li>
61
-
62
- <li><a href="./changelog.html#021">0.2.1</a></li>
63
-
64
- <li><a href="./changelog.html#020">0.2.0</a></li>
65
-
66
- <li><a href="./changelog.html#010">0.1.0</a></li>
67
-
68
- <li><a href="./changelog.html#003">0.0.3</a></li>
69
-
70
- <li><a href="./changelog.html#002">0.0.2</a></li>
71
-
72
- <li><a href="./changelog.html#001">0.0.1</a></li>
73
-
74
- </ol>
75
-
76
- </li>
77
-
78
- <li>
79
- <a href="./todo.html#todo">Todo</a>
80
-
81
- <ol>
82
-
83
- <li><a href="./todo.html#componentes">Componentes</a></li>
84
-
85
- <li><a href="./todo.html#utilidades">Utilidades</a></li>
86
-
87
- <li><a href="./todo.html#otros">Otros</a></li>
88
-
89
- </ol>
90
-
91
- </li>
92
-
93
- <li>
94
- <a href="./mejoras.html#mejoras-antildeadidos">Mejoras / A&amp;ntilde;adidos</a>
95
-
96
- <ol>
97
-
98
- <li><a href="./mejoras.html#utilizar-el-coacutedigo-fuente">Utilizar el c&amp;oacute;digo fuente</a></li>
99
-
100
- <li><a href="./mejoras.html#pruebas-locales-de-nuevos-antildeadidos-cambios">Pruebas locales de nuevos a&amp;ntilde;adidos/cambios:</a></li>
101
-
102
- <li><a href="./mejoras.html#subidas-en-el-repositorio">Subidas en el repositorio</a></li>
103
-
104
- <li><a href="./mejoras.html#generar-la-documentacioacuten">Generar la documentaci&amp;oacute;n</a></li>
105
-
106
- </ol>
107
-
108
- </li>
109
-
110
- <li>
111
- <a href="./components.html#components">Components</a>
112
-
113
- <ol>
114
-
115
- <li><a href="./components.html#componentes-disponibles">Componentes disponibles</a></li>
116
-
117
- <li><a href="./buttons.html#buttons">Buttons</a></li>
118
-
119
- <li><a href="./inputs.html#inputs">Inputs</a></li>
120
-
121
- <li><a href="./navs.html#navs">Navs</a></li>
122
-
123
- <li><a href="./list-grids.html#list-grid">List Grid</a></li>
124
-
125
- <li><a href="./arrows.html#arrows">Arrows</a></li>
126
-
127
- <li><a href="./pagination.html#pagination">Pagination</a></li>
128
-
129
- <li><a href="./bubbles.html#bubbles">Bubbles</a></li>
130
-
131
- <li><a href="./popups.html#popups">Popups</a></li>
132
-
133
- <li><a href="./accordions.html#accordions">Accordions</a></li>
134
-
135
- </ol>
136
-
137
- </li>
138
-
139
- <li>
140
- <a href="./utils.html#utils">Utils</a>
141
-
142
- <ol>
143
-
144
- <li><a href="./utils.html#clearfix">Clearfix</a></li>
145
-
146
- <li><a href="./utils.html#ie">IE</a></li>
147
-
148
- <li><a href="./utils.html#sprite">Sprite</a></li>
149
-
150
- </ol>
151
-
152
- </li>
153
-
154
- <li>
155
- <a href="./despegar.html#despegar">Despegar</a>
156
-
157
- <ol>
158
-
159
- <li><a href="./despegar.html#variables">Variables</a></li>
160
-
161
- </ol>
162
-
163
- </li>
164
-
165
- </ol>
166
- </nav>
167
- </aside>
168
-
169
-
170
-
171
- <hr>
172
-
173
- <article>
174
- <a name="accordions"></a><h2>Accordions</h2>
175
- <p>Para mostrar informaci&oacute;n en espacios reducidos.
176
-
177
- </p>
178
- <a name="ejemplos"></a><h3>Ejemplos</h3>
179
- <a name="ejemplo-1"></a><h4>Ejemplo 1</h4>
180
- <div class="accordion-demo-1">
181
-
182
- <div class="accordion-section">
183
- <div class="accordion-header accordion-header-open">
184
- <a name="precio"></a><a name="precio"></a><h4>Precio</h4>
185
- <span class="arrow"></span>
186
- </div>
187
- <div class="accordion-content">
188
- <span>aca van los filtros de precio</span>
189
- </div>
190
- </div>
191
- <div class="accordion-section">
192
- <div class="accordion-header accordion-header-open">
193
- <a name="paradas"></a><a name="paradas"></a><h4>Paradas</h4>
194
- <span class="arrow"></span>
195
- </div>
196
- <div class="accordion-content">
197
- <span>aca van los filtros de paradas</span>
198
- </div>
199
- </div>
200
-
201
- <p></div>
202
-
203
- </p>
204
- <a name="ejemplo-2"></a><h4>Ejemplo 2</h4>
205
- <div class="accordion-demo-2">
206
-
207
- <div class="accordion-section">
208
- <div class="accordion-header accordion-header-open">
209
- <h4>Precio</h4>
210
- <span class="arrow"></span>
211
- </div>
212
- <div class="accordion-content">
213
- <span>aca van los filtros de precio</span>
214
- </div>
215
- </div>
216
- <div class="accordion-section">
217
- <div class="accordion-header accordion-header-open">
218
- <h4>Paradas</h4>
219
- <span class="arrow"></span>
220
- </div>
221
- <div class="accordion-content">
222
- <span>aca van los filtros de paradas</span>
223
- </div>
224
- </div>
225
-
226
- <p></div>
227
-
228
- </p>
229
- <a name="html"></a><h3>HTML</h3>
230
- <pre><code class="lang-html">&lt;div class=&quot;accordion&quot;&gt;
231
- &lt;div class=&quot;accordion-section&quot;&gt;
232
- &lt;div class=&quot;accordion-header accordion-header-open&quot;&gt;
233
- &lt;h4&gt;Precio&lt;/h4&gt;
234
- &lt;span class=&quot;arrow&quot;&gt;&lt;/span&gt;
235
- &lt;/div&gt;
236
- &lt;div class=&quot;accordion-content&quot;&gt;
237
- &lt;span&gt;aca van los filtros de precio&lt;/span&gt;
238
- &lt;/div&gt;
239
- &lt;/div&gt;
240
- &lt;/div&gt;</code></pre>
241
- <blockquote>
242
- <p><strong>Nota</strong>: Para tener un header cerrado se utiliza la clase <code>accordion-header-close</code>. El componente no incluye las funciones JavaScript para ocultar y mostrar el contenido de cada acorde&oacute;n.
243
-
244
- </p>
245
- </blockquote>
246
- <a name="sass"></a><h3>Sass</h3>
247
- <p>Importaci&oacute;n:
248
-
249
- </p>
250
- <pre><code class="lang-css">@import &quot;picasso/components/accordions&quot;;</code></pre>
251
- <p>Mixin con los par&aacute;metros por defecto:
252
-
253
- </p>
254
- <pre><code class="lang-css">.accordion {
255
- @include accordion();
256
- }</code></pre>
257
- <p>Mixin con par&aacute;metros personalizados. Disponibles: alto, background del t&iacute;tulo, color del t&iacute;tulo:
258
-
259
- </p>
260
- <pre><code class="lang-css">.accordion {
261
- @include accordion(40px, #CCCCCC, #000000);
262
- }</code></pre>
263
-
264
- </article>
265
-
266
-
267
- <footer>
268
- </footer>
269
-
270
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
271
- <script src="./js/docs.js"></script>
272
- <script src="./js/rainbow-custom.min.js"></script>
273
-
274
- </body>
275
-
276
- </html>