picasso 0.1.0 → 0.2.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.
- data/docs/accordions.html +6 -3
- data/docs/all.html +105 -60
- data/docs/arrows.html +6 -3
- data/docs/bubbles.html +6 -3
- data/docs/build/md/changelog.md +9 -2
- data/docs/build/md/components/buttons.md +167 -137
- data/docs/build/md/components/navs.md +1 -1
- data/docs/build/md/components/popups.md +1 -1
- data/docs/build/md/intro.md +17 -1
- data/docs/build/md/todo.md +2 -1
- data/docs/build/templates/layout.html +2 -1
- data/docs/buttons.html +75 -54
- data/docs/changelog.html +15 -5
- data/docs/components.html +6 -3
- data/docs/css/markdown.css +1 -1
- data/docs/css/style.css +720 -220
- data/docs/despegar.html +6 -3
- data/docs/img/picasso-buttons-glossy.png +0 -0
- data/docs/img/{picasso-mini-buttons.png → picasso-buttons-mini.png} +0 -0
- data/docs/index.html +23 -4
- data/docs/inputs.html +6 -3
- data/docs/intro.html +23 -4
- data/docs/list-grids.html +6 -3
- data/docs/mejoras.html +6 -3
- data/docs/navs.html +7 -4
- data/docs/pagination.html +6 -3
- data/docs/popups.html +7 -4
- data/docs/sass/style.scss +43 -19
- data/docs/todo.html +8 -4
- data/docs/utils.html +6 -3
- data/lib/picasso/version.rb +1 -1
- data/picasso.gemspec +0 -1
- data/stylesheets/picasso/components/_accordions.scss +13 -13
- data/stylesheets/picasso/components/_arrows.scss +2 -2
- data/stylesheets/picasso/components/_bubbles.scss +5 -5
- data/stylesheets/picasso/components/_buttons.scss +3 -2
- data/stylesheets/picasso/components/_inputs.scss +7 -7
- data/stylesheets/picasso/components/_list-grids.scss +6 -6
- data/stylesheets/picasso/components/_navs.scss +10 -10
- data/stylesheets/picasso/components/_pagination.scss +8 -8
- data/stylesheets/picasso/components/_popups.scss +15 -15
- data/stylesheets/picasso/components/buttons/_3d.scss +127 -0
- data/stylesheets/picasso/components/buttons/_glossy.scss +220 -0
- data/stylesheets/picasso/components/buttons/_mini.scss +150 -0
- metadata +9 -23
- data/docs/ie.html +0 -201
- data/docs/img/picasso-buttons.png +0 -0
- data/stylesheets/picasso/components/buttons/_buttons.scss +0 -191
- data/stylesheets/picasso/components/buttons/_mini-buttons.scss +0 -149
@@ -0,0 +1,220 @@
|
|
1
|
+
//
|
2
|
+
// Glossy Buttons
|
3
|
+
//
|
4
|
+
|
5
|
+
@import "compass/css3/images";
|
6
|
+
@import "compass/css3/border-radius";
|
7
|
+
@import "picasso/utils/sprite";
|
8
|
+
|
9
|
+
$button-glossy-default-width : 90px !default;
|
10
|
+
$button-glossy-default-height: 30px !default;
|
11
|
+
$button-glossy-default-background: #DE1F2A !default;
|
12
|
+
$button-glossy-default-color: white !default;
|
13
|
+
|
14
|
+
$button-glossy-default-font-family: sans-serif !default;
|
15
|
+
$button-glossy-default-font-size: 12px !default;
|
16
|
+
$button-glossy-default-border-radius: 5px !default;
|
17
|
+
$button-glossy-default-image-dir: '' !default;
|
18
|
+
|
19
|
+
$button-glossy-sprite-created: false !default;
|
20
|
+
$button-glossy-sprite-name: "picasso-buttons-glossy" !default;
|
21
|
+
$button-glossy-ie-fallback: "sprites" !default;
|
22
|
+
|
23
|
+
@mixin button-glossy(
|
24
|
+
|
25
|
+
// Ancho del boton
|
26
|
+
$width: $button-glossy-default-width,
|
27
|
+
|
28
|
+
// Alto del boton
|
29
|
+
$height: $button-glossy-default-height,
|
30
|
+
|
31
|
+
// Background del boton
|
32
|
+
$background: $button-glossy-default-background,
|
33
|
+
|
34
|
+
// Color del texto del boton
|
35
|
+
$color: $button-glossy-default-color){
|
36
|
+
|
37
|
+
@include button-glossy-layout($width, $height);
|
38
|
+
@include button-glossy-visual($background, $color, $width, $height);
|
39
|
+
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin button-glossy-layout($width: $button-glossy-default-width, $height: $button-glossy-default-height){
|
43
|
+
|
44
|
+
width: $width;
|
45
|
+
height: $height;
|
46
|
+
display: inline-block;
|
47
|
+
text-align: center;
|
48
|
+
position: relative;
|
49
|
+
z-index: 1;
|
50
|
+
|
51
|
+
&:after, &:before{
|
52
|
+
content: "";
|
53
|
+
position: absolute;
|
54
|
+
display: inline-block;
|
55
|
+
}
|
56
|
+
|
57
|
+
&:after{
|
58
|
+
width: ($width - 2);
|
59
|
+
height: ($height - 2);
|
60
|
+
left: 1px;
|
61
|
+
top: 1px;
|
62
|
+
z-index: 2;
|
63
|
+
}
|
64
|
+
|
65
|
+
&:before{
|
66
|
+
width: ($width - 4);
|
67
|
+
height: ($height - 4);
|
68
|
+
left: 2px;
|
69
|
+
top: 2px;
|
70
|
+
z-index: 3;
|
71
|
+
}
|
72
|
+
|
73
|
+
span{
|
74
|
+
position: relative;
|
75
|
+
z-index: 4;
|
76
|
+
line-height: $height;
|
77
|
+
}
|
78
|
+
|
79
|
+
}
|
80
|
+
|
81
|
+
@mixin button-glossy-visual(
|
82
|
+
$background: $button-glossy-default-background,
|
83
|
+
$color: $button-glossy-default-color,
|
84
|
+
$width: $button-glossy-default-width,
|
85
|
+
$height: $button-glossy-default-height){
|
86
|
+
|
87
|
+
font-family: $button-glossy-default-font-family;
|
88
|
+
font-size: $button-glossy-default-font-size;
|
89
|
+
text-decoration: none;
|
90
|
+
|
91
|
+
$button-glossy-main-gradient: linear-gradient($background, darken($background, 5%)), linear-gradient(darken($background, 10%), darken($background, 25%));
|
92
|
+
$button-glossy-main-hover-gradient: linear-gradient(lighten($background, 15%), darken($background, 7%), saturate($background, 15%));
|
93
|
+
|
94
|
+
@include background($button-glossy-main-gradient);
|
95
|
+
@include border-radius($button-glossy-default-border-radius);
|
96
|
+
background-position: left top, left ($height / 2);
|
97
|
+
|
98
|
+
span{
|
99
|
+
color: $color;
|
100
|
+
}
|
101
|
+
|
102
|
+
&:after, &:before{
|
103
|
+
@include border-radius(4px);
|
104
|
+
}
|
105
|
+
|
106
|
+
&:after{
|
107
|
+
@include background(linear-gradient(lighten($background, 30%) 15%, darken($background, 45%)) 50%);
|
108
|
+
}
|
109
|
+
|
110
|
+
&:before{
|
111
|
+
@include background($button-glossy-main-gradient);
|
112
|
+
background-position: left top, left (($height - 4) / 2);
|
113
|
+
}
|
114
|
+
|
115
|
+
&, &:before{
|
116
|
+
background-size: 100% 50%;
|
117
|
+
background-repeat: no-repeat;
|
118
|
+
}
|
119
|
+
|
120
|
+
&:hover{
|
121
|
+
text-decoration: none;
|
122
|
+
@include background($button-glossy-main-hover-gradient);
|
123
|
+
|
124
|
+
&:after{
|
125
|
+
@include background(linear-gradient(lighten($background, 33%) 20%, darken($background, 3%)) 50%);
|
126
|
+
}
|
127
|
+
|
128
|
+
&:before{
|
129
|
+
@include background($button-glossy-main-hover-gradient);
|
130
|
+
}
|
131
|
+
|
132
|
+
}
|
133
|
+
|
134
|
+
&:hover, &:hover:before{
|
135
|
+
background-size: 100% 100%;
|
136
|
+
background-position: left top;
|
137
|
+
background-repeat: no-repeat;
|
138
|
+
}
|
139
|
+
|
140
|
+
.ie7 &, .ie8 &, .ie9 &{
|
141
|
+
|
142
|
+
@if $button-glossy-ie-fallback == "sprites" {
|
143
|
+
|
144
|
+
// Generacion del sprite con las imagenes del boton
|
145
|
+
|
146
|
+
$button-glossy-image: magick-canvas($width, ($height * 2),
|
147
|
+
|
148
|
+
//Normal
|
149
|
+
magick-compose(
|
150
|
+
|
151
|
+
magick-canvas($width, $height / 2,
|
152
|
+
magick-fill(magick-linear-gradient($background, darken($background, 5%)))
|
153
|
+
magick-corners($button-glossy-default-border-radius, true, true, false, false)
|
154
|
+
),
|
155
|
+
0, 0
|
156
|
+
|
157
|
+
)
|
158
|
+
magick-compose(
|
159
|
+
|
160
|
+
magick-canvas($width, $height / 2,
|
161
|
+
magick-fill(magick-linear-gradient(darken($background, 10%), darken($background, 25%)))
|
162
|
+
magick-corners($button-glossy-default-border-radius, false, false, true, true)
|
163
|
+
),
|
164
|
+
0, $height / 2
|
165
|
+
|
166
|
+
)
|
167
|
+
magick-compose(
|
168
|
+
|
169
|
+
magick-canvas($width - 2, $height - 2,
|
170
|
+
magick-border(
|
171
|
+
magick-linear-gradient(lighten($background, 30%) 15%, darken($background, 45%))
|
172
|
+
, $button-glossy-default-border-radius, 1px
|
173
|
+
)
|
174
|
+
),
|
175
|
+
1px, 1px
|
176
|
+
|
177
|
+
)
|
178
|
+
|
179
|
+
//Hover
|
180
|
+
magick-compose(
|
181
|
+
|
182
|
+
magick-canvas($width, $height,
|
183
|
+
magick-fill(magick-linear-gradient(lighten($background, 15%), darken($background, 7%), saturate($background, 15%)))
|
184
|
+
magick-corners($button-glossy-default-border-radius)
|
185
|
+
),
|
186
|
+
0, $height
|
187
|
+
|
188
|
+
)
|
189
|
+
magick-compose(
|
190
|
+
|
191
|
+
magick-canvas($width - 2, $height - 2,
|
192
|
+
magick-border(
|
193
|
+
magick-linear-gradient(lighten($background, 33%) 20%, darken($background, 3%))
|
194
|
+
, $button-glossy-default-border-radius, 1px
|
195
|
+
)
|
196
|
+
),
|
197
|
+
1px, ($height + 1)
|
198
|
+
|
199
|
+
)
|
200
|
+
|
201
|
+
);
|
202
|
+
|
203
|
+
$initial-position: insert-in-sprite($button-glossy-sprite-created, $button-glossy-sprite-name, $button-glossy-image, $width, ($height * 2));
|
204
|
+
$button-glossy-sprite-created: true;
|
205
|
+
|
206
|
+
background: generated-image-url($button-glossy-sprite-name + ".png");
|
207
|
+
background-position: 0 ((-1) * $initial-position);
|
208
|
+
|
209
|
+
&:hover{
|
210
|
+
background-position: 0 ((-1) * ($initial-position + $height));
|
211
|
+
}
|
212
|
+
|
213
|
+
} @else {
|
214
|
+
|
215
|
+
background-color: $background;
|
216
|
+
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
}
|
@@ -0,0 +1,150 @@
|
|
1
|
+
//
|
2
|
+
// Mini-Buttons
|
3
|
+
//
|
4
|
+
|
5
|
+
@import "compass/css3/images";
|
6
|
+
@import "compass/css3/box-shadow";
|
7
|
+
@import "compass/css3/border-radius";
|
8
|
+
@import "picasso/utils/sprite";
|
9
|
+
|
10
|
+
|
11
|
+
$button-mini-default-background: #F0F0F0 !default;
|
12
|
+
$button-mini-default-color: #0E6695 !default;
|
13
|
+
|
14
|
+
$button-mini-font-family: sans-serif !default;
|
15
|
+
$button-mini-default-height : 20px !default;
|
16
|
+
$button-mini-default-canvas-height : $button-mini-default-height !default;
|
17
|
+
$button-mini-default-canvas-width: 200px !default;
|
18
|
+
$button-mini-default-font-size: 11px !default;
|
19
|
+
$button-mini-default-padding: 10px !default;
|
20
|
+
$button-mini-default-image-dir: '' !default;
|
21
|
+
|
22
|
+
$button-mini-sprite-created: false !default;
|
23
|
+
$button-mini-sprite-name: "picasso-buttons-mini" !default;
|
24
|
+
$button-mini-ie-fallback: "sprites" !default;
|
25
|
+
|
26
|
+
@mixin button-mini(
|
27
|
+
|
28
|
+
// Background del boton
|
29
|
+
$background: $button-mini-default-background,
|
30
|
+
|
31
|
+
// Color del botón
|
32
|
+
$color: $button-mini-default-color
|
33
|
+
){
|
34
|
+
|
35
|
+
@include button-mini-layout();
|
36
|
+
@include button-mini-visual($background, $color);
|
37
|
+
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin button-mini-layout(){
|
41
|
+
|
42
|
+
display: inline-block;
|
43
|
+
height: $button-mini-default-height;
|
44
|
+
padding-right: $button-mini-default-padding;
|
45
|
+
padding-right: $button-mini-default-padding;
|
46
|
+
|
47
|
+
span{
|
48
|
+
height: $button-mini-default-height;
|
49
|
+
line-height: $button-mini-default-height;
|
50
|
+
padding-left: $button-mini-default-padding;
|
51
|
+
display: block;
|
52
|
+
}
|
53
|
+
|
54
|
+
}
|
55
|
+
|
56
|
+
@mixin button-mini-visual(
|
57
|
+
|
58
|
+
// Background del boton
|
59
|
+
$background: $button-mini-default-background,
|
60
|
+
|
61
|
+
// Color del botón
|
62
|
+
$color: $button-mini-default-color
|
63
|
+
){
|
64
|
+
|
65
|
+
font-family: $button-mini-font-family;
|
66
|
+
text-decoration: none;
|
67
|
+
cursor: pointer;
|
68
|
+
@include background(linear-gradient(top, $background 0%, darken($background, 5%) 50%, darken($background, 10%) 51%, darken($background, 15%) 100%));
|
69
|
+
@include border-radius($button-mini-default-height);
|
70
|
+
@include box-shadow(#333 0px 1px 2px 0px);
|
71
|
+
|
72
|
+
&:hover{
|
73
|
+
text-decoration: none;
|
74
|
+
background: darken($background, 5%);
|
75
|
+
}
|
76
|
+
|
77
|
+
&:active{
|
78
|
+
background: darken($background, 15%);
|
79
|
+
@include box-shadow(#999 0px 0px 3px 3px inset);
|
80
|
+
}
|
81
|
+
|
82
|
+
span{
|
83
|
+
color: $color;
|
84
|
+
font-size: $button-mini-default-font-size;
|
85
|
+
}
|
86
|
+
|
87
|
+
.ie7 &, .ie8 &, .ie9 &{
|
88
|
+
|
89
|
+
@if $button-mini-ie-fallback == "sprites" {
|
90
|
+
|
91
|
+
$button-mini-image: magick-canvas($button-mini-default-canvas-width, $button-mini-default-canvas-height * 2,
|
92
|
+
|
93
|
+
//Normal
|
94
|
+
magick-compose(
|
95
|
+
magick-canvas($button-mini-default-canvas-width, $button-mini-default-canvas-height,
|
96
|
+
magick-compose(
|
97
|
+
magick-canvas($button-mini-default-canvas-width, $button-mini-default-canvas-height - 2,
|
98
|
+
magick-fill(magick-linear-gradient($background 0%, darken($background, 5%) 50%, darken($background, 10%) 51%, darken($background, 15%) 100%)),
|
99
|
+
magick-corners($button-mini-default-canvas-height / 2)
|
100
|
+
)
|
101
|
+
),
|
102
|
+
magick-drop-shadow(270deg, 2px, 2px, #333)
|
103
|
+
)
|
104
|
+
),
|
105
|
+
|
106
|
+
//Hover
|
107
|
+
magick-compose(
|
108
|
+
|
109
|
+
magick-canvas($button-mini-default-canvas-width, $button-mini-default-canvas-height,
|
110
|
+
magick-compose(
|
111
|
+
magick-canvas($button-mini-default-canvas-width, $button-mini-default-canvas-height - 2,
|
112
|
+
magick-fill(magick-linear-gradient(darken($background, 5%))),
|
113
|
+
magick-corners($button-mini-default-canvas-height / 2)
|
114
|
+
)
|
115
|
+
),
|
116
|
+
magick-drop-shadow(270deg, 2px, 2px, #333)
|
117
|
+
),
|
118
|
+
|
119
|
+
0, $button-mini-default-canvas-height
|
120
|
+
)
|
121
|
+
|
122
|
+
);
|
123
|
+
|
124
|
+
$initial-position: insert-in-sprite($button-mini-sprite-created, $button-mini-sprite-name, $button-mini-image, $button-mini-default-canvas-width, ($button-mini-default-canvas-height * 2));
|
125
|
+
$button-mini-sprite-created: true;
|
126
|
+
|
127
|
+
background: generated-image-url($button-mini-sprite-name + ".png");
|
128
|
+
background-position: right ((-1) * $initial-position);
|
129
|
+
|
130
|
+
&:hover{
|
131
|
+
background-position: right ((-1) * ($initial-position + $button-mini-default-height));
|
132
|
+
}
|
133
|
+
|
134
|
+
span {
|
135
|
+
background-image: generated-image-url($button-mini-sprite-name + ".png");
|
136
|
+
background-color: white;
|
137
|
+
background-position: 0 ((-1) * $initial-position);
|
138
|
+
|
139
|
+
&:hover{
|
140
|
+
background-position: 0 ((-1) * ($initial-position + $button-mini-default-height));
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
} @else {
|
145
|
+
background-color: $background;
|
146
|
+
}
|
147
|
+
|
148
|
+
}
|
149
|
+
|
150
|
+
}
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 2
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.2.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-18 00:00:00 -03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -45,20 +45,6 @@ dependencies:
|
|
45
45
|
version: 0.1.6
|
46
46
|
type: :runtime
|
47
47
|
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: oily_png
|
50
|
-
prerelease: false
|
51
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 1
|
57
|
-
- 0
|
58
|
-
- 2
|
59
|
-
version: 1.0.2
|
60
|
-
type: :runtime
|
61
|
-
version_requirements: *id003
|
62
48
|
description: Picasso - Sass/Compass Framework
|
63
49
|
email:
|
64
50
|
- ldonofrio@despegar.com
|
@@ -106,9 +92,8 @@ files:
|
|
106
92
|
- docs/css/markdown.css
|
107
93
|
- docs/css/style.css
|
108
94
|
- docs/despegar.html
|
109
|
-
- docs/
|
110
|
-
- docs/img/picasso-buttons.png
|
111
|
-
- docs/img/picasso-mini-buttons.png
|
95
|
+
- docs/img/picasso-buttons-glossy.png
|
96
|
+
- docs/img/picasso-buttons-mini.png
|
112
97
|
- docs/img/picasso-nav.png
|
113
98
|
- docs/img/picasso-popup.png
|
114
99
|
- docs/index.html
|
@@ -141,8 +126,9 @@ files:
|
|
141
126
|
- stylesheets/picasso/components/_navs.scss
|
142
127
|
- stylesheets/picasso/components/_pagination.scss
|
143
128
|
- stylesheets/picasso/components/_popups.scss
|
144
|
-
- stylesheets/picasso/components/buttons/
|
145
|
-
- stylesheets/picasso/components/buttons/
|
129
|
+
- stylesheets/picasso/components/buttons/_3d.scss
|
130
|
+
- stylesheets/picasso/components/buttons/_glossy.scss
|
131
|
+
- stylesheets/picasso/components/buttons/_mini.scss
|
146
132
|
- stylesheets/picasso/despegar/_variables.scss
|
147
133
|
- stylesheets/picasso/utils/_clearfix.scss
|
148
134
|
- stylesheets/picasso/utils/_ie.scss
|
@@ -155,7 +141,7 @@ licenses: []
|
|
155
141
|
post_install_message: "\n\n\
|
156
142
|
##################################################\n\
|
157
143
|
## Picasso - Sass/Compass Framework\n\n\
|
158
|
-
## Versi\xC3\xB3n: 0.
|
144
|
+
## Versi\xC3\xB3n: 0.2.0\n\
|
159
145
|
## Documentaci\xC3\xB3n: http://dl.dropbox.com/u/54126/picasso/docs/all.html\n\
|
160
146
|
## CHANGELOG: http://dl.dropbox.com/u/54126/picasso/docs/changelog.html#changelog\n\
|
161
147
|
##################################################\n\n"
|
data/docs/ie.html
DELETED
@@ -1,201 +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
|
-
<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&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&oacute;n</a></li>
|
43
|
-
|
44
|
-
<li><a href="./intro.html#actualizacioacuten">Actualizaci&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#004">0.0.4</a></li>
|
56
|
-
|
57
|
-
<li><a href="./changelog.html#003">0.0.3</a></li>
|
58
|
-
|
59
|
-
<li><a href="./changelog.html#002">0.0.2</a></li>
|
60
|
-
|
61
|
-
<li><a href="./changelog.html#001">0.0.1</a></li>
|
62
|
-
|
63
|
-
</ol>
|
64
|
-
|
65
|
-
</li>
|
66
|
-
|
67
|
-
<li>
|
68
|
-
<a href="./todo.html#todo">Todo</a>
|
69
|
-
|
70
|
-
<ol>
|
71
|
-
|
72
|
-
<li><a href="./todo.html#componentes">Componentes</a></li>
|
73
|
-
|
74
|
-
<li><a href="./todo.html#utilidades">Utilidades</a></li>
|
75
|
-
|
76
|
-
<li><a href="./todo.html#otros">Otros</a></li>
|
77
|
-
|
78
|
-
</ol>
|
79
|
-
|
80
|
-
</li>
|
81
|
-
|
82
|
-
<li>
|
83
|
-
<a href="./mejoras.html#mejoras-antildeadidos">Mejoras / A&ntilde;adidos</a>
|
84
|
-
|
85
|
-
<ol>
|
86
|
-
|
87
|
-
<li><a href="./mejoras.html#utilizar-el-coacutedigo-fuente">Utilizar el c&oacute;digo fuente</a></li>
|
88
|
-
|
89
|
-
<li><a href="./mejoras.html#pruebas-locales-de-nuevos-antildeadidos-cambios">Pruebas locales de nuevos a&ntilde;adidos/cambios:</a></li>
|
90
|
-
|
91
|
-
<li><a href="./mejoras.html#subidas-en-el-repositorio">Subidas en el repositorio</a></li>
|
92
|
-
|
93
|
-
<li><a href="./mejoras.html#generar-la-documentacioacuten">Generar la documentaci&oacute;n</a></li>
|
94
|
-
|
95
|
-
</ol>
|
96
|
-
|
97
|
-
</li>
|
98
|
-
|
99
|
-
<li>
|
100
|
-
<a href="./components.html#components">Components</a>
|
101
|
-
|
102
|
-
<ol>
|
103
|
-
|
104
|
-
<li><a href="./ie.html#internet-explorer">Internet Explorer</a></li>
|
105
|
-
|
106
|
-
<li><a href="./buttons.html#buttons">Buttons</a></li>
|
107
|
-
|
108
|
-
<li><a href="./buttons.html#mini-buttons">Mini-Buttons</a></li>
|
109
|
-
|
110
|
-
<li><a href="./inputs.html#inputs">Inputs</a></li>
|
111
|
-
|
112
|
-
<li><a href="./navs.html#navs">Navs</a></li>
|
113
|
-
|
114
|
-
<li><a href="./list-grids.html#list-grid">List Grid</a></li>
|
115
|
-
|
116
|
-
<li><a href="./arrows.html#arrows">Arrows</a></li>
|
117
|
-
|
118
|
-
<li><a href="./pagination.html#pagination">Pagination</a></li>
|
119
|
-
|
120
|
-
<li><a href="./bubbles.html#bubbles">Bubbles</a></li>
|
121
|
-
|
122
|
-
<li><a href="./popups.html#popups">Popups</a></li>
|
123
|
-
|
124
|
-
<li><a href="./accordions.html#accordions">Accordions</a></li>
|
125
|
-
|
126
|
-
</ol>
|
127
|
-
|
128
|
-
</li>
|
129
|
-
|
130
|
-
<li>
|
131
|
-
<a href="./utils.html#utils">Utils</a>
|
132
|
-
|
133
|
-
<ol>
|
134
|
-
|
135
|
-
<li><a href="./utils.html#clearfix">Clearfix</a></li>
|
136
|
-
|
137
|
-
<li><a href="./utils.html#ie">IE</a></li>
|
138
|
-
|
139
|
-
<li><a href="./utils.html#sprite">Sprite</a></li>
|
140
|
-
|
141
|
-
</ol>
|
142
|
-
|
143
|
-
</li>
|
144
|
-
|
145
|
-
<li>
|
146
|
-
<a href="./despegar.html#despegar">Despegar</a>
|
147
|
-
|
148
|
-
<ol>
|
149
|
-
|
150
|
-
<li><a href="./despegar.html#variables">Variables</a></li>
|
151
|
-
|
152
|
-
</ol>
|
153
|
-
|
154
|
-
</li>
|
155
|
-
|
156
|
-
</ol>
|
157
|
-
</nav>
|
158
|
-
</aside>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<hr>
|
163
|
-
|
164
|
-
<article>
|
165
|
-
<a name="internet-explorer"></a><h2>Internet Explorer</h2>
|
166
|
-
<p>La gran mayorí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 único requisito es que la página que carga los estilos generados por Picasso posean la <a href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/">técnica de clases condicionales en la etiqueta html</a>:
|
167
|
-
|
168
|
-
</p>
|
169
|
-
<pre><code class="lang-html"><!DOCTYPE html>
|
170
|
-
<!--[if IE 7]> <html class="ie7"> <![endif]-->
|
171
|
-
<!--[if IE 8]> <html class="ie8"> <![endif]-->
|
172
|
-
<!--[if IE 9]> <html class="ie9"> <![endif]-->
|
173
|
-
<!--[if gt IE 9]><!--> <html> <!--<![endif]--></code></pre>
|
174
|
-
<a name="estrategias-para-estilos-de-fallback-para-ie"></a><h3>Estrategias para estilos de fallback para IE</h3>
|
175
|
-
<p>Para ciertos componentes, Picasso ofrece dos estrategias para estilos de fallback para versiones antiguas de Internet Explorer. Dichas estrategías se setean en variables individuales de cada componente, por ejemplo:
|
176
|
-
|
177
|
-
</p>
|
178
|
-
<pre><code class="lang-css">$<componente>-ie-fallback: "sprites"|"GD"</code></pre>
|
179
|
-
<p>Los valores admitidos son <code>sprites</code> y <code>GD</code> (Graceful Degradation).
|
180
|
-
|
181
|
-
</p>
|
182
|
-
<a name="estrategiacutea-de-sprites"></a><h4>Estrategía de sprites</h4>
|
183
|
-
<p>Por cada componente, Picasso generará dinamicamente un sprite para recrear los estilos de cada elemento y seteará los estilos para que Internet Explorer utilice el sprite generado.
|
184
|
-
|
185
|
-
</p>
|
186
|
-
<a name="estrategiacutea-gd"></a><h4>Estrategía GD</h4>
|
187
|
-
<p>Por cada componente, Picasso seteará estilos minimos, soportados por Internet Explorer, para que el componente siga siendo usable y funcional.</p>
|
188
|
-
|
189
|
-
</article>
|
190
|
-
|
191
|
-
|
192
|
-
<footer>
|
193
|
-
</footer>
|
194
|
-
|
195
|
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
196
|
-
<script src="./js/docs.js"></script>
|
197
|
-
<script src="./js/rainbow-custom.min.js"></script>
|
198
|
-
|
199
|
-
</body>
|
200
|
-
|
201
|
-
</html>
|