picasso 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.md +216 -3
- data/docs/_picasso.html +38 -0
- data/docs/config.rb +1 -1
- data/docs/css/{style.css → picasso-docs.css} +797 -1331
- data/docs/img/picasso-buttons-glossy.png +0 -0
- data/docs/img/picasso-nav.png +0 -0
- data/docs/img/picasso-popup.png +0 -0
- data/docs/index.html +201 -198
- data/docs/picasso-_components.html +83 -0
- data/docs/picasso-_despegar.html +34 -0
- data/docs/picasso-_utils.html +40 -0
- data/docs/picasso-components-_accordions.html +183 -0
- data/docs/picasso-components-_arrows.html +124 -0
- data/docs/picasso-components-_bubbles.html +142 -0
- data/docs/picasso-components-_buttons.html +38 -0
- data/docs/picasso-components-_inputs.html +122 -0
- data/docs/picasso-components-_list-grids.html +253 -0
- data/docs/picasso-components-_mini-tooltips.html +152 -0
- data/docs/picasso-components-_navs.html +360 -0
- data/docs/picasso-components-_pagination.html +258 -0
- data/docs/picasso-components-_popups.html +359 -0
- data/docs/picasso-components-buttons-_3d.html +284 -0
- data/docs/picasso-components-buttons-_glossy.html +290 -0
- data/docs/picasso-components-buttons-_mini.html +224 -0
- data/docs/picasso-despegar-_variables.html +145 -0
- data/docs/picasso-utils-_clearfix.html +56 -0
- data/docs/picasso-utils-_grid.html +390 -0
- data/docs/picasso-utils-_ie.html +50 -0
- data/docs/picasso-utils-_sprite.html +62 -0
- data/docs/resources/docs.jade +46 -0
- data/docs/resources/docs.js +52 -0
- data/docs/sass/{style.scss → picasso-docs.scss} +71 -96
- data/lib/picasso/version.rb +1 -1
- data/picasso.gemspec +1 -1
- data/stylesheets/_picasso.scss +14 -0
- data/stylesheets/picasso/_components.scss +54 -0
- data/stylesheets/picasso/_despegar.scss +12 -0
- data/stylesheets/picasso/_utils.scss +17 -1
- data/stylesheets/picasso/components/_accordions.scss +52 -2
- data/stylesheets/picasso/components/_arrows.scss +39 -2
- data/stylesheets/picasso/components/_bubbles.scss +36 -2
- data/stylesheets/picasso/components/_buttons.scss +14 -0
- data/stylesheets/picasso/components/_inputs.scss +41 -2
- data/stylesheets/picasso/components/_list-grids.scss +84 -3
- data/stylesheets/picasso/components/_mini-tooltips.scss +128 -0
- data/stylesheets/picasso/components/_navs.scss +52 -2
- data/stylesheets/picasso/components/_pagination.scss +63 -2
- data/stylesheets/picasso/components/_popups.scss +73 -2
- data/stylesheets/picasso/components/buttons/_3d.scss +75 -2
- data/stylesheets/picasso/components/buttons/_glossy.scss +41 -2
- data/stylesheets/picasso/components/buttons/_mini.scss +44 -2
- data/stylesheets/picasso/despegar/_variables.scss +61 -60
- data/stylesheets/picasso/utils/_clearfix.scss +24 -16
- data/stylesheets/picasso/utils/_grid.scss +269 -0
- data/stylesheets/picasso/utils/_ie.scss +23 -28
- data/stylesheets/picasso/utils/_sprite.scss +15 -3
- metadata +34 -50
- data/docs/accordions.html +0 -276
- data/docs/all.html +0 -1588
- data/docs/arrows.html +0 -233
- data/docs/bubbles.html +0 -231
- data/docs/build/manifest.json +0 -21
- data/docs/build/md/changelog.md +0 -53
- data/docs/build/md/components/accordions.md +0 -97
- data/docs/build/md/components/arrows.md +0 -53
- data/docs/build/md/components/bubbles.md +0 -57
- data/docs/build/md/components/buttons.md +0 -205
- data/docs/build/md/components/components.md +0 -37
- data/docs/build/md/components/inputs.md +0 -73
- data/docs/build/md/components/list-grids.md +0 -180
- data/docs/build/md/components/navs.md +0 -107
- data/docs/build/md/components/pagination.md +0 -112
- data/docs/build/md/components/popups.md +0 -162
- data/docs/build/md/despegar/despegar.md +0 -200
- data/docs/build/md/intro.md +0 -59
- data/docs/build/md/mejoras.md +0 -69
- data/docs/build/md/todo.md +0 -14
- data/docs/build/md/utils/utils.md +0 -62
- data/docs/build/templates/index.html +0 -37
- data/docs/build/templates/layout.html +0 -68
- data/docs/build/templates/page.html +0 -3
- data/docs/buttons.html +0 -357
- data/docs/changelog.html +0 -264
- data/docs/components.html +0 -220
- data/docs/css/github.css +0 -88
- data/docs/css/markdown.css +0 -108
- data/docs/despegar.html +0 -377
- data/docs/inputs.html +0 -248
- data/docs/intro.html +0 -233
- data/docs/js/docs.js +0 -32
- data/docs/js/rainbow-custom.min.js +0 -13
- data/docs/js/viewer.js +0 -12
- data/docs/list-grids.html +0 -350
- data/docs/mejoras.html +0 -250
- data/docs/navs.html +0 -281
- data/docs/pagination.html +0 -286
- data/docs/popups.html +0 -337
- data/docs/todo.html +0 -204
- 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
|
-
|
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
|
-
|
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-
|
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/
|
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/
|
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/
|
102
|
-
- docs/
|
103
|
-
- docs/
|
104
|
-
- docs/
|
105
|
-
- docs/
|
106
|
-
- docs/
|
107
|
-
- docs/
|
108
|
-
- docs/
|
109
|
-
- docs/
|
110
|
-
- docs/
|
111
|
-
- docs/
|
112
|
-
- docs/
|
113
|
-
- docs/
|
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.
|
146
|
-
## Documentaci\xC3\xB3n: http://dl.dropbox.com/u/54126/picasso/docs/
|
147
|
-
## CHANGELOG: http://dl.dropbox.com/u/54126/picasso/docs/
|
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&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&oacute;n</a></li>
|
44
|
-
|
45
|
-
<li><a href="./intro.html#actualizacioacuten">Actualizaci&oacute;n</a></li>
|
46
|
-
|
47
|
-
<li><a href="./intro.html#opcional-instalacioacuten-de-oily-png">Opcional: Instalaci&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&ntilde;adidos</a>
|
95
|
-
|
96
|
-
<ol>
|
97
|
-
|
98
|
-
<li><a href="./mejoras.html#utilizar-el-coacutedigo-fuente">Utilizar el c&oacute;digo fuente</a></li>
|
99
|
-
|
100
|
-
<li><a href="./mejoras.html#pruebas-locales-de-nuevos-antildeadidos-cambios">Pruebas locales de nuevos a&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&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ó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"><div class="accordion">
|
231
|
-
<div class="accordion-section">
|
232
|
-
<div class="accordion-header accordion-header-open">
|
233
|
-
<h4>Precio</h4>
|
234
|
-
<span class="arrow"></span>
|
235
|
-
</div>
|
236
|
-
<div class="accordion-content">
|
237
|
-
<span>aca van los filtros de precio</span>
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
</div></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ón.
|
243
|
-
|
244
|
-
</p>
|
245
|
-
</blockquote>
|
246
|
-
<a name="sass"></a><h3>Sass</h3>
|
247
|
-
<p>Importación:
|
248
|
-
|
249
|
-
</p>
|
250
|
-
<pre><code class="lang-css">@import "picasso/components/accordions";</code></pre>
|
251
|
-
<p>Mixin con los parámetros por defecto:
|
252
|
-
|
253
|
-
</p>
|
254
|
-
<pre><code class="lang-css">.accordion {
|
255
|
-
@include accordion();
|
256
|
-
}</code></pre>
|
257
|
-
<p>Mixin con parámetros personalizados. Disponibles: alto, background del título, color del tí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>
|