furatto 0.0.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -18
- data/furatto.gemspec +4 -0
- data/lib/furatto.rb +3 -10
- data/lib/furatto/version.rb +1 -1
- data/lib/furatto_rails_helpers/furatto_helpers.rb +19 -0
- data/lib/generators/furatto/install_generator.rb +46 -0
- data/lib/generators/furatto/templates/application.html.erb +28 -0
- data/vendor/assets/javascripts/furatto.js +1822 -0
- data/vendor/assets/stylesheets/furatto.scss +76 -0
- data/vendor/assets/stylesheets/furatto/_alerts.scss +130 -0
- data/vendor/assets/stylesheets/furatto/_base.scss +138 -0
- data/vendor/assets/stylesheets/furatto/_button-groups.scss +85 -0
- data/vendor/assets/stylesheets/furatto/_buttons.scss +266 -0
- data/{app → vendor}/assets/stylesheets/furatto/_date_picker.date.scss +0 -0
- data/{app → vendor}/assets/stylesheets/furatto/_date_picker.scss +1 -0
- data/{app → vendor}/assets/stylesheets/furatto/_dropdown.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_experimental.scss +81 -0
- data/{app → vendor}/assets/stylesheets/furatto/_footer.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_forms.scss +269 -0
- data/vendor/assets/stylesheets/furatto/_functions.scss +18 -0
- data/vendor/assets/stylesheets/furatto/_global.scss +51 -0
- data/vendor/assets/stylesheets/furatto/_grid.scss +142 -0
- data/vendor/assets/stylesheets/furatto/_images.scss +122 -0
- data/vendor/assets/stylesheets/furatto/_labels.scss +97 -0
- data/vendor/assets/stylesheets/furatto/_media_queries.scss +200 -0
- data/vendor/assets/stylesheets/furatto/_mixins.scss +143 -0
- data/vendor/assets/stylesheets/furatto/_modal.scss +297 -0
- data/vendor/assets/stylesheets/furatto/_navigation.scss +127 -0
- data/vendor/assets/stylesheets/furatto/_navigation_bar.scss +338 -0
- data/vendor/assets/stylesheets/furatto/_off_screen.scss +269 -0
- data/vendor/assets/stylesheets/furatto/_pagination.scss +78 -0
- data/vendor/assets/stylesheets/furatto/_responsive_utilities.scss +244 -0
- data/vendor/assets/stylesheets/furatto/_selectors.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_settings.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_suraido.scss +214 -0
- data/vendor/assets/stylesheets/furatto/_tables.scss +166 -0
- data/vendor/assets/stylesheets/furatto/_tabs.scss +26 -0
- data/vendor/assets/stylesheets/furatto/_toolbars.scss +199 -0
- data/vendor/assets/stylesheets/furatto/_tooltips.scss +92 -0
- data/vendor/assets/stylesheets/furatto/_typography.scss +243 -0
- data/{app → vendor}/assets/stylesheets/normalize.scss +22 -19
- metadata +86 -49
- data/app/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/app/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome/fontawesome-webfont.svg +0 -399
- data/app/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/meteocons-webfont.eot +0 -0
- data/app/assets/fonts/meteocons-webfont.svg +0 -81
- data/app/assets/fonts/meteocons-webfont.ttf +0 -0
- data/app/assets/fonts/meteocons-webfont.woff +0 -0
- data/app/assets/javascripts/furatto.js +0 -5978
- data/app/assets/javascripts/furatto.min.js +0 -3
- data/app/assets/stylesheets/font-awesome.css.erb +0 -2495
- data/app/assets/stylesheets/furatto.scss +0 -86
- data/app/assets/stylesheets/furatto/_alerts.scss +0 -80
- data/app/assets/stylesheets/furatto/_base.scss +0 -99
- data/app/assets/stylesheets/furatto/_buttons.scss +0 -125
- data/app/assets/stylesheets/furatto/_code.scss +0 -67
- data/app/assets/stylesheets/furatto/_dashboard.scss +0 -36
- data/app/assets/stylesheets/furatto/_fonts.scss +0 -26
- data/app/assets/stylesheets/furatto/_forms.scss +0 -307
- data/app/assets/stylesheets/furatto/_grid.scss +0 -60
- data/app/assets/stylesheets/furatto/_images.scss +0 -64
- data/app/assets/stylesheets/furatto/_labels.scss +0 -44
- data/app/assets/stylesheets/furatto/_mixins.scss +0 -200
- data/app/assets/stylesheets/furatto/_modal.scss +0 -365
- data/app/assets/stylesheets/furatto/_nav.scss +0 -104
- data/app/assets/stylesheets/furatto/_navbar.scss +0 -216
- data/app/assets/stylesheets/furatto/_panel.scss +0 -277
- data/app/assets/stylesheets/furatto/_responsive_navbar.scss +0 -195
- data/app/assets/stylesheets/furatto/_responsive_tables.scss +0 -28
- data/app/assets/stylesheets/furatto/_responsive_utilities.scss +0 -182
- data/app/assets/stylesheets/furatto/_responsiveslides.scss +0 -185
- data/app/assets/stylesheets/furatto/_tables.scss +0 -90
- data/app/assets/stylesheets/furatto/_toolbars.scss +0 -116
- data/app/assets/stylesheets/furatto/_tooltips.scss +0 -131
- data/app/assets/stylesheets/furatto/_typography.scss +0 -224
- data/app/assets/stylesheets/furatto/_variables.scss +0 -625
@@ -1,44 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$LABELS
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Basic button structural styling.
|
6
|
-
*
|
7
|
-
* Designed and built @kurenn
|
8
|
-
*/
|
9
|
-
|
10
|
-
.label, .badge {
|
11
|
-
@include inline-block;
|
12
|
-
padding: 2px 4px;
|
13
|
-
font-size: $base-font-size * .846;
|
14
|
-
font-weight: bold;
|
15
|
-
line-height: 14px;
|
16
|
-
color: #FFF;
|
17
|
-
vertical-align: baseline;
|
18
|
-
white-space: nowrap;
|
19
|
-
/*text-shadow: 0 -1px 0 rgba(0,0,0,.20);*/
|
20
|
-
background: $gray;
|
21
|
-
@include border-radius(2px);
|
22
|
-
}
|
23
|
-
|
24
|
-
//Badges border radius
|
25
|
-
.badge {
|
26
|
-
@include border-radius(50%);
|
27
|
-
padding: 5px 8px;
|
28
|
-
}
|
29
|
-
|
30
|
-
//Labels and badges colors definitions
|
31
|
-
@each $color in $colors {
|
32
|
-
.label-#{nth($color, 1)}, .badge-#{nth($color, 1)} {
|
33
|
-
background-color: nth($color, 2);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
a {
|
38
|
-
&.label:hover,
|
39
|
-
&.label:focus {
|
40
|
-
color: #FFF;
|
41
|
-
text-decoration: none;
|
42
|
-
cursor: pointer;
|
43
|
-
}
|
44
|
-
}
|
@@ -1,200 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$MIXINS
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* MIXINS COLLECTION
|
6
|
-
*
|
7
|
-
* Designed and built @kurenn
|
8
|
-
*/
|
9
|
-
|
10
|
-
//Clears the float from any element
|
11
|
-
@mixin clearfix {
|
12
|
-
&:before, &:after {
|
13
|
-
display: table;
|
14
|
-
content: "";
|
15
|
-
}
|
16
|
-
|
17
|
-
&:after {
|
18
|
-
clear: both;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
@mixin inline-block {
|
23
|
-
display: inline-block;
|
24
|
-
zoom: 1;
|
25
|
-
*display: inline;
|
26
|
-
}
|
27
|
-
|
28
|
-
@mixin center-block {
|
29
|
-
width: 100%;
|
30
|
-
margin-left: auto;
|
31
|
-
margin-right: auto;
|
32
|
-
}
|
33
|
-
|
34
|
-
@mixin hyphens($mode: auto) {
|
35
|
-
word-wrap: break-word;
|
36
|
-
-webkit-hyphens: $mode;
|
37
|
-
-moz-hyphens: $mode;
|
38
|
-
-ms-hyphens: $mode; // IE10+
|
39
|
-
-o-hyphens: $mode;
|
40
|
-
hyphens: $mode;
|
41
|
-
}
|
42
|
-
|
43
|
-
//Credits to bootstrap
|
44
|
-
@mixin responsive-invisibility {
|
45
|
-
display: none !important;
|
46
|
-
|
47
|
-
tr, th, td {
|
48
|
-
display: none !important;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
@mixin responsive-visibility {
|
53
|
-
display: block !important;
|
54
|
-
|
55
|
-
&.btn {
|
56
|
-
display: inline-block !important;
|
57
|
-
}
|
58
|
-
|
59
|
-
tr {
|
60
|
-
display: table-row !important;
|
61
|
-
}
|
62
|
-
|
63
|
-
th, td {
|
64
|
-
display: table-cell !important;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
@mixin opacity ( $opacity ) {
|
68
|
-
opacity: $opacity;
|
69
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" $opacity * 100 ")";
|
70
|
-
filter: alpha(opacity= $opacity* 100 );
|
71
|
-
zoom: 1;
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
@mixin img-responsive {
|
76
|
-
display: block;
|
77
|
-
max-width: 100%;
|
78
|
-
height: auto;
|
79
|
-
}
|
80
|
-
|
81
|
-
// FORMS
|
82
|
-
// --------------------------------------------------
|
83
|
-
|
84
|
-
// Block level inputs
|
85
|
-
@mixin input-block-level {
|
86
|
-
display: block;
|
87
|
-
width: 100%;
|
88
|
-
min-height: $input-height; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
89
|
-
@include box-sizing(border-box); // Makes inputs behave like true block-level elements
|
90
|
-
}
|
91
|
-
|
92
|
-
@mixin dropdown-arrow($color: $select-options-bg, $top: 5px, $left: 15px, $size: 9px) {
|
93
|
-
|
94
|
-
&:before {
|
95
|
-
content: '';
|
96
|
-
border-style: solid;
|
97
|
-
border-width: 0 $size $size $size;
|
98
|
-
border-color: transparent transparent $color transparent;
|
99
|
-
height: 0px;
|
100
|
-
position: absolute;
|
101
|
-
left: $left;
|
102
|
-
top: $top;
|
103
|
-
width: 0px;
|
104
|
-
// Make corners smooth
|
105
|
-
-webkit-transform: rotate(360deg);
|
106
|
-
}
|
107
|
-
}
|
108
|
-
|
109
|
-
@mixin nav-divider($top: #e5e5e5, $bottom: #FFF) {
|
110
|
-
// IE7 needs a set width since we gave a height. Restricting just
|
111
|
-
// to IE7 to keep the 1px left/right space in other browsers.
|
112
|
-
// It is unclear where IE is getting the extra space that we need
|
113
|
-
// to negative-margin away, but so it goes.
|
114
|
-
*width: 100%;
|
115
|
-
height: 1px;
|
116
|
-
margin: (($base-line-height / 2) - 1) 1px; // 8px 1px
|
117
|
-
*margin: -5px 0 5px;
|
118
|
-
overflow: hidden;
|
119
|
-
background-color: $top;
|
120
|
-
border-bottom: 1px solid $bottom;
|
121
|
-
}
|
122
|
-
|
123
|
-
@mixin touch-callout {
|
124
|
-
-webkit-touch-callout: none;
|
125
|
-
-webkit-user-select: none;
|
126
|
-
-khtml-user-select: none;
|
127
|
-
-moz-user-select: moz-none;
|
128
|
-
-ms-user-select: none;
|
129
|
-
user-select: none;
|
130
|
-
}
|
131
|
-
|
132
|
-
// Font Awesome Mixins
|
133
|
-
// --------------------------
|
134
|
-
|
135
|
-
@mixin icon($icon) {
|
136
|
-
@include icon-FontAwesome();
|
137
|
-
content: $icon;
|
138
|
-
}
|
139
|
-
|
140
|
-
@mixin icon-FontAwesome() {
|
141
|
-
font-family: FontAwesome;
|
142
|
-
font-weight: normal;
|
143
|
-
font-style: normal;
|
144
|
-
text-decoration: inherit;
|
145
|
-
-webkit-font-smoothing: antialiased;
|
146
|
-
*margin-right: .3em; // fixes ie7 issues
|
147
|
-
}
|
148
|
-
|
149
|
-
@mixin icon-stack($width: 2em, $height: 2em, $top-font-size: 1em, $base-font-size: 2em) {
|
150
|
-
.icon-stack {
|
151
|
-
position: relative;
|
152
|
-
display: inline-block;
|
153
|
-
width: $width;
|
154
|
-
height: $height;
|
155
|
-
line-height: $width;
|
156
|
-
vertical-align: -35%;
|
157
|
-
[class^="icon-"],
|
158
|
-
[class*=" icon-"] {
|
159
|
-
display: block;
|
160
|
-
text-align: center;
|
161
|
-
position: absolute;
|
162
|
-
width: 100%;
|
163
|
-
height: 100%;
|
164
|
-
font-size: $top-font-size;
|
165
|
-
line-height: inherit;
|
166
|
-
*line-height: $height;
|
167
|
-
}
|
168
|
-
.icon-stack-base {
|
169
|
-
font-size: $base-font-size;
|
170
|
-
*line-height: #{$height / $base-font-size}em;
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
@mixin build-column-grids($columns: 12) {
|
176
|
-
$unit-width: (100 / $columns);
|
177
|
-
$column-factor: 0.1833;
|
178
|
-
|
179
|
-
|
180
|
-
@for $i from 1 through $columns {
|
181
|
-
.col-#{$i} {
|
182
|
-
$current-width: ($unit-width * $i) - $column-factor;
|
183
|
-
width: percentage($current-width / 100);
|
184
|
-
margin-left: percentage($column-factor / 100);
|
185
|
-
}
|
186
|
-
}
|
187
|
-
|
188
|
-
}
|
189
|
-
|
190
|
-
@mixin backface-visibility($property: hidden) {
|
191
|
-
-webkit-backface-visibility: $property;
|
192
|
-
-moz-backface-visibility: $property;
|
193
|
-
backface-visibility: $property;
|
194
|
-
}
|
195
|
-
|
196
|
-
@mixin perspective($value: 1300px) {
|
197
|
-
-webkit-perspective: $value;
|
198
|
-
-moz-perspective: $value;
|
199
|
-
perspective: $value;
|
200
|
-
}
|
@@ -1,365 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$MODAL
|
3
|
-
\*------------------------------------*/
|
4
|
-
/**
|
5
|
-
* Basic modal structural styling.
|
6
|
-
*
|
7
|
-
* Designed and built @kurenn based on http://labs.voronianski.com/jquery.modal.js/
|
8
|
-
*/
|
9
|
-
|
10
|
-
/* General styles for the modal */
|
11
|
-
|
12
|
-
/*
|
13
|
-
Styles for the html/body for special modal where we want 3d effects
|
14
|
-
Note that we need a container wrapping all content on the page for the
|
15
|
-
perspective effects (not including the modals and the overlay).
|
16
|
-
*/
|
17
|
-
|
18
|
-
|
19
|
-
.modal {
|
20
|
-
position: fixed;
|
21
|
-
top: 50%;
|
22
|
-
left: 50%;
|
23
|
-
width: 50%;
|
24
|
-
max-width: $modal-max-width;
|
25
|
-
min-width: $modal-min-width;
|
26
|
-
height: auto;
|
27
|
-
z-index: 2000;
|
28
|
-
visibility: hidden;
|
29
|
-
@include backface-visibility();
|
30
|
-
@include transform(translateX(-50%) translateY(-50%));
|
31
|
-
}
|
32
|
-
|
33
|
-
.modal-show {
|
34
|
-
visibility: visible;
|
35
|
-
}
|
36
|
-
|
37
|
-
.modal-overlay {
|
38
|
-
position: fixed;
|
39
|
-
width: 100%;
|
40
|
-
height: 100%;
|
41
|
-
visibility: hidden;
|
42
|
-
top: 0;
|
43
|
-
left: 0;
|
44
|
-
z-index: 1040;
|
45
|
-
opacity: 0;
|
46
|
-
background: rgba(0,0,0,0.8);
|
47
|
-
@include transition(all 0.3s);
|
48
|
-
}
|
49
|
-
|
50
|
-
.modal-show-overlay {
|
51
|
-
opacity: 1;
|
52
|
-
visibility: visible;
|
53
|
-
}
|
54
|
-
|
55
|
-
/* Content styles */
|
56
|
-
.modal-content {
|
57
|
-
color: rgba(#222, 0.8);
|
58
|
-
background: #f0f0f0;
|
59
|
-
position: relative;
|
60
|
-
@include border-radius(3px);
|
61
|
-
margin: 0 auto;
|
62
|
-
color: $white;
|
63
|
-
}
|
64
|
-
|
65
|
-
.modal-content-primary {
|
66
|
-
background: $dashboard-primary-bg-color;
|
67
|
-
}
|
68
|
-
|
69
|
-
.modal-content-danger {
|
70
|
-
background: $dashboard-danger-bg-color;
|
71
|
-
}
|
72
|
-
|
73
|
-
.modal-content-info {
|
74
|
-
background: $dashboard-info-bg-color;
|
75
|
-
}
|
76
|
-
|
77
|
-
.modal-content-funky {
|
78
|
-
background: $dashboard-funky-bg-color;
|
79
|
-
}
|
80
|
-
|
81
|
-
.modal-content-warning {
|
82
|
-
background: $dashboard-warning-bg-color;
|
83
|
-
}
|
84
|
-
|
85
|
-
.modal-content-success {
|
86
|
-
background: $dashboard-success-bg-color;
|
87
|
-
}
|
88
|
-
|
89
|
-
.modal-content-inverse {
|
90
|
-
background: $dashboard-inverse-bg-color;
|
91
|
-
}
|
92
|
-
|
93
|
-
.modal-content .modal-header {
|
94
|
-
margin: 0;
|
95
|
-
padding: 0.4em;
|
96
|
-
text-align: center;
|
97
|
-
font-size: 2.4em;
|
98
|
-
font-weight: 300;
|
99
|
-
opacity: 0.8;
|
100
|
-
background: rgba(0,0,0,0.1);
|
101
|
-
@include border-radius(3px 3px 0 0);
|
102
|
-
}
|
103
|
-
|
104
|
-
.modal-content > div {
|
105
|
-
padding: 15px 40px 30px;
|
106
|
-
margin: 0;
|
107
|
-
font-weight: 300;
|
108
|
-
font-size: 1.15em;
|
109
|
-
}
|
110
|
-
|
111
|
-
.modal-content > div p {
|
112
|
-
margin: 0;
|
113
|
-
padding: 10px 0;
|
114
|
-
}
|
115
|
-
|
116
|
-
.modal-content > div ul {
|
117
|
-
margin: 0;
|
118
|
-
padding: 0 0 30px 20px;
|
119
|
-
}
|
120
|
-
|
121
|
-
.modal-content > div ul li {
|
122
|
-
padding: 5px 0;
|
123
|
-
}
|
124
|
-
|
125
|
-
/* Individual modal styles with animations/transitions */
|
126
|
-
|
127
|
-
/* Effect 1: Fade in and scale up */
|
128
|
-
.modal-effect-1 .modal-content {
|
129
|
-
@include transform(scale(0.7));
|
130
|
-
opacity: 0;
|
131
|
-
@include transition(all 0.3s);
|
132
|
-
}
|
133
|
-
|
134
|
-
.modal-show.modal-effect-1 .modal-content {
|
135
|
-
@include transform(scale(1));
|
136
|
-
opacity: 1;
|
137
|
-
}
|
138
|
-
|
139
|
-
/* Effect 2: Slide from the right */
|
140
|
-
.modal-effect-2 .modal-content {
|
141
|
-
@include transform(translateX(20%));
|
142
|
-
opacity: 0;
|
143
|
-
@include transition(all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9));
|
144
|
-
}
|
145
|
-
|
146
|
-
.modal-show.modal-effect-2 .modal-content {
|
147
|
-
@include transform(translateX(0));
|
148
|
-
opacity: 1;
|
149
|
-
}
|
150
|
-
|
151
|
-
/* Effect 3: Slide from the bottom */
|
152
|
-
.modal-effect-3 .modal-content {
|
153
|
-
@include transform(translateY(20%));
|
154
|
-
opacity: 0;
|
155
|
-
@include transition(all 0.3s);
|
156
|
-
}
|
157
|
-
|
158
|
-
.modal-show.modal-effect-3 .modal-content {
|
159
|
-
@include transform(translateY(0));
|
160
|
-
opacity: 1;
|
161
|
-
}
|
162
|
-
|
163
|
-
/* Effect 4: Newspaper */
|
164
|
-
.modal-effect-4 .modal-content {
|
165
|
-
@include transform(scale(0) rotate(720deg));
|
166
|
-
opacity: 0;
|
167
|
-
}
|
168
|
-
|
169
|
-
.modal-show.modal-effect-4 ~ .modal-overlay,
|
170
|
-
.modal-effect-4 .modal-content {
|
171
|
-
@include transition(all 0.5s);
|
172
|
-
}
|
173
|
-
|
174
|
-
.modal-show.modal-effect-4 .modal-content {
|
175
|
-
@include transform(scale(1) rotate(0deg));
|
176
|
-
opacity: 1;
|
177
|
-
}
|
178
|
-
|
179
|
-
/* Effect 5: fall */
|
180
|
-
.modal-effect-5.modal-modal {
|
181
|
-
@include perspective();
|
182
|
-
}
|
183
|
-
|
184
|
-
.modal-effect-5 .modal-content {
|
185
|
-
-webkit-transform-style: preserve-3d;
|
186
|
-
-moz-transform-style: preserve-3d;
|
187
|
-
transform-style: preserve-3d;
|
188
|
-
@include transform(translateZ(600px) rotateX(20deg));
|
189
|
-
opacity: 0;
|
190
|
-
}
|
191
|
-
|
192
|
-
.modal-show.modal-effect-5 .modal-content {
|
193
|
-
@include transition(all 0.3s ease-in);
|
194
|
-
@include transform(translateZ(0px) rotatex(0deg));
|
195
|
-
opacity: 1;
|
196
|
-
}
|
197
|
-
|
198
|
-
/* Effect 6: side fall */
|
199
|
-
.modal-effect-6.modal-modal {
|
200
|
-
@include perspective();
|
201
|
-
}
|
202
|
-
|
203
|
-
.modal-effect-6 .modal-content {
|
204
|
-
-webkit-transform-style: preserve-3d;
|
205
|
-
-moz-transform-style: preserve-3d;
|
206
|
-
transform-style: preserve-3d;
|
207
|
-
@include transform(translate(30%) translateZ(600px) rotate(10deg));
|
208
|
-
opacity: 0;
|
209
|
-
}
|
210
|
-
|
211
|
-
.modal-show.modal-effect-6 .modal-content {
|
212
|
-
@include transition(all 0.3s ease-in);
|
213
|
-
@include transform(translate(0%) translateZ(0) rotate(0deg));
|
214
|
-
opacity: 1;
|
215
|
-
}
|
216
|
-
|
217
|
-
/* Effect 7: slide and stick to top */
|
218
|
-
.modal-effect-7{
|
219
|
-
top: 0;
|
220
|
-
@include transform(translateX(-50%));
|
221
|
-
}
|
222
|
-
|
223
|
-
.modal-effect-7 .modal-content {
|
224
|
-
-webkit-transform: translateY(-200%);
|
225
|
-
-moz-transform: translateY(-200%);
|
226
|
-
-ms-transform: translateY(-200%);
|
227
|
-
transform: translateY(-200%);
|
228
|
-
@include transform(translateY(-200%));
|
229
|
-
@include transition(all 0.3s);
|
230
|
-
opacity: 0;
|
231
|
-
}
|
232
|
-
|
233
|
-
.modal-show.modal-effect-7 .modal-content {
|
234
|
-
@include transform(translateY(0%));
|
235
|
-
@include border-radius(0 0 3px 3px);
|
236
|
-
border-radius: 0 0 3px 3px;
|
237
|
-
opacity: 1;
|
238
|
-
}
|
239
|
-
|
240
|
-
/* Effect 8: 3D flip horizontal */
|
241
|
-
.modal-effect-8.modal-modal {
|
242
|
-
@include perspective();
|
243
|
-
}
|
244
|
-
|
245
|
-
.modal-effect-8 .modal-content {
|
246
|
-
-webkit-transform-style: preserve-3d;
|
247
|
-
-moz-transform-style: preserve-3d;
|
248
|
-
transform-style: preserve-3d;
|
249
|
-
@include transform(rotateY(-70deg));
|
250
|
-
@include transition(all 0.3s);
|
251
|
-
opacity: 0;
|
252
|
-
}
|
253
|
-
|
254
|
-
.modal-show.modal-effect-8 .modal-content {
|
255
|
-
@include transform(rotateY(0deg));
|
256
|
-
opacity: 1;
|
257
|
-
}
|
258
|
-
|
259
|
-
/* Effect 9: 3D flip vertical */
|
260
|
-
.modal-effect-9.modal-modal {
|
261
|
-
@include perspective();
|
262
|
-
}
|
263
|
-
|
264
|
-
.modal-effect-9 .modal-content {
|
265
|
-
-webkit-transform-style: preserve-3d;
|
266
|
-
-moz-transform-style: preserve-3d;
|
267
|
-
transform-style: preserve-3d;
|
268
|
-
@include transform(rotateX(-70deg));
|
269
|
-
@include transition(all 0.3s);
|
270
|
-
opacity: 0;
|
271
|
-
}
|
272
|
-
|
273
|
-
.modal-show.modal-effect-9 .modal-content {
|
274
|
-
@include transform(rotate(0deg));
|
275
|
-
opacity: 1;
|
276
|
-
}
|
277
|
-
|
278
|
-
/* Effect 10: 3D sign */
|
279
|
-
.modal-effect-10.modal-modal {
|
280
|
-
@include perspective();
|
281
|
-
}
|
282
|
-
|
283
|
-
.modal-effect-10 .modal-content {
|
284
|
-
-webkit-transform-style: preserve-3d;
|
285
|
-
-moz-transform-style: preserve-3d;
|
286
|
-
transform-style: preserve-3d;
|
287
|
-
@include transform(rotateX(-60deg));
|
288
|
-
-webkit-transform-origin: 50% 0;
|
289
|
-
-moz-transform-origin: 50% 0;
|
290
|
-
transform-origin: 50% 0;
|
291
|
-
opacity: 0;
|
292
|
-
@include transition(all 0.3s);
|
293
|
-
}
|
294
|
-
|
295
|
-
.modal-show.modal-effect-10 .modal-content {
|
296
|
-
@include transform(rotateX(0deg));
|
297
|
-
opacity: 1;
|
298
|
-
}
|
299
|
-
|
300
|
-
/* Effect 11: Super scaled */
|
301
|
-
.modal-effect-11 .modal-content {
|
302
|
-
@include transform(scale(2));
|
303
|
-
opacity: 0;
|
304
|
-
@include transition(all 0.3s);
|
305
|
-
}
|
306
|
-
|
307
|
-
.modal-show.modal-effect-11 .modal-content {
|
308
|
-
@include transform(scale(1));
|
309
|
-
opacity: 1;
|
310
|
-
}
|
311
|
-
|
312
|
-
/* Effect 12: Just me */
|
313
|
-
.modal-effect-12 .modal-content {
|
314
|
-
@include transform(scale(0.8));
|
315
|
-
opacity: 0;
|
316
|
-
@include transition(all 0.3s);
|
317
|
-
}
|
318
|
-
|
319
|
-
.modal-show.modal-effect-12 ~ .modal-overlay {
|
320
|
-
background: #e74c3c;
|
321
|
-
}
|
322
|
-
|
323
|
-
.modal-effect-12 .modal-content h3,
|
324
|
-
.modal-effect-12 .modal-content {
|
325
|
-
background: transparent;
|
326
|
-
}
|
327
|
-
|
328
|
-
.modal-show.modal-effect-12 .modal-content {
|
329
|
-
@include transform(scale(1));
|
330
|
-
opacity: 1;
|
331
|
-
}
|
332
|
-
|
333
|
-
/* Effect 13: 3D slit */
|
334
|
-
.modal-effect-13.modal-modal {
|
335
|
-
@include perspective();
|
336
|
-
}
|
337
|
-
|
338
|
-
.modal-effect-13 .modal-content {
|
339
|
-
-webkit-transform-style: preserve-3d;
|
340
|
-
-moz-transform-style: preserve-3d;
|
341
|
-
transform-style: preserve-3d;
|
342
|
-
@include transform(translateZ(-3000px) rotateY(90deg));
|
343
|
-
opacity: 0;
|
344
|
-
}
|
345
|
-
|
346
|
-
.modal-show.modal-effect-13 .modal-content {
|
347
|
-
-webkit-animation: slit .7s forwards ease-out;
|
348
|
-
-moz-animation: slit .7s forwards ease-out;
|
349
|
-
animation: slit .7s forwards ease-out;
|
350
|
-
}
|
351
|
-
|
352
|
-
@-webkit-keyframes slit {
|
353
|
-
50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
|
354
|
-
100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
|
355
|
-
}
|
356
|
-
|
357
|
-
@-moz-keyframes slit {
|
358
|
-
50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
|
359
|
-
100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
|
360
|
-
}
|
361
|
-
|
362
|
-
@keyframes slit {
|
363
|
-
50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
|
364
|
-
100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
|
365
|
-
}
|