furatto 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/furatto.gemspec +21 -0
- data/lib/furatto.rb +16 -0
- data/lib/furatto/engine.rb +6 -0
- data/lib/furatto/version.rb +3 -0
- data/vendor/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +399 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/meteocons-webfont.eot +0 -0
- data/vendor/assets/fonts/meteocons-webfont.svg +81 -0
- data/vendor/assets/fonts/meteocons-webfont.ttf +0 -0
- data/vendor/assets/fonts/meteocons-webfont.woff +0 -0
- data/vendor/assets/images/icheck/aero.png +0 -0
- data/vendor/assets/images/icheck/aero@2x.png +0 -0
- data/vendor/assets/images/icheck/blue.png +0 -0
- data/vendor/assets/images/icheck/blue@2x.png +0 -0
- data/vendor/assets/images/icheck/flat.png +0 -0
- data/vendor/assets/images/icheck/flat@2x.png +0 -0
- data/vendor/assets/images/icheck/green.png +0 -0
- data/vendor/assets/images/icheck/green@2x.png +0 -0
- data/vendor/assets/images/icheck/grey.png +0 -0
- data/vendor/assets/images/icheck/grey@2x.png +0 -0
- data/vendor/assets/images/icheck/orange.png +0 -0
- data/vendor/assets/images/icheck/orange@2x.png +0 -0
- data/vendor/assets/images/icheck/pink.png +0 -0
- data/vendor/assets/images/icheck/pink@2x.png +0 -0
- data/vendor/assets/images/icheck/purple.png +0 -0
- data/vendor/assets/images/icheck/purple@2x.png +0 -0
- data/vendor/assets/images/icheck/red.png +0 -0
- data/vendor/assets/images/icheck/red@2x.png +0 -0
- data/vendor/assets/images/icheck/yellow.png +0 -0
- data/vendor/assets/images/icheck/yellow@2x.png +0 -0
- data/vendor/assets/images/icons/customize-icon150.png +0 -0
- data/vendor/assets/images/icons/flexible-icon.png +0 -0
- data/vendor/assets/images/icons/github-128-black.png +0 -0
- data/vendor/assets/images/icons/iphone-icon150.png +0 -0
- data/vendor/assets/images/icons/lock-icon128.png +0 -0
- data/vendor/assets/images/icons/rocket-icon128.png +0 -0
- data/vendor/assets/images/icons/rocket-icon150.png +0 -0
- data/vendor/assets/images/icons/screen-icon.png +0 -0
- data/vendor/assets/images/icons/screens-icon.png +0 -0
- data/vendor/assets/images/icons/screens2-icon.png +0 -0
- data/vendor/assets/images/next.png +0 -0
- data/vendor/assets/images/previous.png +0 -0
- data/vendor/assets/images/themes.gif +0 -0
- data/vendor/assets/images/toggle.png +0 -0
- data/vendor/assets/javascripts/dropdown.js +169 -0
- data/vendor/assets/javascripts/furatto.js +15 -0
- data/vendor/assets/javascripts/jpanel.js +547 -0
- data/vendor/assets/javascripts/jquery.avgrund.js +127 -0
- data/vendor/assets/javascripts/jquery.dropkick-1.0.0.js +400 -0
- data/vendor/assets/javascripts/jquery.icheck.js +462 -0
- data/vendor/assets/javascripts/jquery.tagsinput.js +354 -0
- data/vendor/assets/javascripts/jquery.toolbar.js +242 -0
- data/vendor/assets/javascripts/legacy.js +140 -0
- data/vendor/assets/javascripts/picker.date.js +957 -0
- data/vendor/assets/javascripts/picker.js +785 -0
- data/vendor/assets/javascripts/picker.time.js +651 -0
- data/vendor/assets/javascripts/rainbow-custom.min.js +13 -0
- data/vendor/assets/javascripts/responsive-tables.js +67 -0
- data/vendor/assets/javascripts/responsiveslides.js +391 -0
- data/vendor/assets/javascripts/tooltip.js +353 -0
- data/vendor/assets/stylesheets/furatto.scss +101 -0
- data/vendor/assets/stylesheets/furatto/_alerts.scss +81 -0
- data/vendor/assets/stylesheets/furatto/_base.scss +187 -0
- data/vendor/assets/stylesheets/furatto/_buttons.scss +100 -0
- data/vendor/assets/stylesheets/furatto/_code.scss +66 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.date.scss +266 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.scss +158 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.time.scss +122 -0
- data/vendor/assets/stylesheets/furatto/_dropdown.scss +261 -0
- data/vendor/assets/stylesheets/furatto/_font-awesome-ie7.scss +1953 -0
- data/vendor/assets/stylesheets/furatto/_fonts.scss +614 -0
- data/vendor/assets/stylesheets/furatto/_footer.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_forms.scss +290 -0
- data/vendor/assets/stylesheets/furatto/_grid.scss +56 -0
- data/vendor/assets/stylesheets/furatto/_images.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_labels.scss +43 -0
- data/vendor/assets/stylesheets/furatto/_layout.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_left_navbar.scss +100 -0
- data/vendor/assets/stylesheets/furatto/_mixins.scss +283 -0
- data/vendor/assets/stylesheets/furatto/_modal.scss +103 -0
- data/vendor/assets/stylesheets/furatto/_nav.scss +106 -0
- data/vendor/assets/stylesheets/furatto/_navbar.scss +187 -0
- data/vendor/assets/stylesheets/furatto/_pagination.scss +158 -0
- data/vendor/assets/stylesheets/furatto/_responsive-1200px-min.scss +21 -0
- data/vendor/assets/stylesheets/furatto/_responsive-767px-max.scss +82 -0
- data/vendor/assets/stylesheets/furatto/_responsive-768px-979px.scss +23 -0
- data/vendor/assets/stylesheets/furatto/_responsive_navbar.scss +184 -0
- data/vendor/assets/stylesheets/furatto/_responsive_tables.scss +28 -0
- data/vendor/assets/stylesheets/furatto/_responsiveslides.scss +202 -0
- data/vendor/assets/stylesheets/furatto/_select.scss +191 -0
- data/vendor/assets/stylesheets/furatto/_tables.scss +90 -0
- data/vendor/assets/stylesheets/furatto/_tags.scss +107 -0
- data/vendor/assets/stylesheets/furatto/_toolbars.scss +116 -0
- data/vendor/assets/stylesheets/furatto/_tooltips.scss +143 -0
- data/vendor/assets/stylesheets/furatto/_typography.scss +266 -0
- data/vendor/assets/stylesheets/furatto/_variables.scss +628 -0
- data/vendor/assets/stylesheets/furatto/_vrt_navbar.scss +61 -0
- data/vendor/assets/stylesheets/furatto/icheck/_aero.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_all.scss +20 -0
- data/vendor/assets/stylesheets/furatto/icheck/_blue.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_flat.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_green.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_grey.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_orange.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_pink.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_purple.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_red.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_yellow.scss +64 -0
- data/vendor/assets/stylesheets/normalize.scss +403 -0
- metadata +162 -0
File without changes
|
@@ -0,0 +1,100 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$LEFT NAVBAR
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic button structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
#jPanelMenu-menu {
|
11
|
+
|
12
|
+
background-color: $navbar-bg-color;
|
13
|
+
|
14
|
+
// Nav style
|
15
|
+
.nav {
|
16
|
+
overflow: hidden;
|
17
|
+
padding-left: 0;
|
18
|
+
color: $navbar-text;
|
19
|
+
font-size: $base-font-size;
|
20
|
+
margin-top: 0px;
|
21
|
+
float: none;
|
22
|
+
|
23
|
+
[class^="icon_"], [class*=" icon_"] {
|
24
|
+
margin-right: 5px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.dropdown-menu {
|
28
|
+
position: static;
|
29
|
+
/*display: block;*/
|
30
|
+
background: none;
|
31
|
+
border: none;
|
32
|
+
@include box-shadow(0 0px 0px $navbar-bg-color);
|
33
|
+
* {
|
34
|
+
color: #eaeaea;
|
35
|
+
}
|
36
|
+
|
37
|
+
li.divider {
|
38
|
+
border-bottom: 1px solid #CCC;
|
39
|
+
}
|
40
|
+
|
41
|
+
li {
|
42
|
+
a {
|
43
|
+
&:hover {
|
44
|
+
background: none;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
//list items
|
53
|
+
.nav > li {
|
54
|
+
padding: 9px 10px;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Active nav items
|
58
|
+
.nav > .active,
|
59
|
+
.nav > .active,
|
60
|
+
.nav > .active {
|
61
|
+
color: $navbar-link-color-active;
|
62
|
+
text-decoration: none;
|
63
|
+
border-left: 2px solid $green;
|
64
|
+
padding-left: 7px;
|
65
|
+
|
66
|
+
&:before {
|
67
|
+
content: ' ';
|
68
|
+
position: relative;
|
69
|
+
width: 0;
|
70
|
+
height: 0px;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
//Links
|
75
|
+
.nav > li > a {
|
76
|
+
text-decoration: none;
|
77
|
+
color: $navbar-text;
|
78
|
+
}
|
79
|
+
|
80
|
+
//Brand
|
81
|
+
.nav > li > a.brand {
|
82
|
+
font-size: 20px;
|
83
|
+
}
|
84
|
+
|
85
|
+
//Give a bigger separation for navbar
|
86
|
+
.nav > li:first-child {
|
87
|
+
border-bottom: 10px solid $navbar-border;
|
88
|
+
}
|
89
|
+
|
90
|
+
//Divider
|
91
|
+
.nav > li.divider-vertical {
|
92
|
+
height: 1px;
|
93
|
+
width: 100%;
|
94
|
+
border-bottom: 1px solid $navbar-border;
|
95
|
+
border-left: none;
|
96
|
+
margin: 0;
|
97
|
+
padding: 0;
|
98
|
+
}
|
99
|
+
|
100
|
+
}
|
@@ -0,0 +1,283 @@
|
|
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
|
+
*zoom: 1;
|
13
|
+
|
14
|
+
&:before, &:after {
|
15
|
+
display: table;
|
16
|
+
content: "";
|
17
|
+
}
|
18
|
+
|
19
|
+
&:after {
|
20
|
+
clear: both;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin inline-block {
|
25
|
+
display: inline-block;
|
26
|
+
zoom: 1;
|
27
|
+
*display: inline;
|
28
|
+
}
|
29
|
+
|
30
|
+
// FORMS
|
31
|
+
// --------------------------------------------------
|
32
|
+
|
33
|
+
// Block level inputs
|
34
|
+
@mixin input-block-level {
|
35
|
+
display: block;
|
36
|
+
width: 100%;
|
37
|
+
min-height: $inputHeight; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
38
|
+
@include box-sizing(border-box); // Makes inputs behave like true block-level elements
|
39
|
+
}
|
40
|
+
|
41
|
+
@mixin dropdown-arrow($color: $select-options-bg, $top: 5px, $left: 15px, $size: 9px) {
|
42
|
+
|
43
|
+
&:before {
|
44
|
+
content: '';
|
45
|
+
border-style: solid;
|
46
|
+
border-width: 0 $size $size $size;
|
47
|
+
border-color: transparent transparent $color transparent;
|
48
|
+
height: 0px;
|
49
|
+
position: absolute;
|
50
|
+
left: $left;
|
51
|
+
top: $top;
|
52
|
+
width: 0px;
|
53
|
+
// Make corners smooth
|
54
|
+
-webkit-transform: rotate(360deg);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
@mixin nav-divider($top: #e5e5e5, $bottom: #FFF) {
|
59
|
+
// IE7 needs a set width since we gave a height. Restricting just
|
60
|
+
// to IE7 to keep the 1px left/right space in other browsers.
|
61
|
+
// It is unclear where IE is getting the extra space that we need
|
62
|
+
// to negative-margin away, but so it goes.
|
63
|
+
*width: 100%;
|
64
|
+
height: 1px;
|
65
|
+
margin: (($base-line-height / 2) - 1) 1px; // 8px 1px
|
66
|
+
*margin: -5px 0 5px;
|
67
|
+
overflow: hidden;
|
68
|
+
background-color: $top;
|
69
|
+
border-bottom: 1px solid $bottom;
|
70
|
+
}
|
71
|
+
|
72
|
+
// Grid System
|
73
|
+
// -----------
|
74
|
+
|
75
|
+
// Centered container element
|
76
|
+
@mixin container-fixed() {
|
77
|
+
margin-right: auto;
|
78
|
+
margin-left: auto;
|
79
|
+
@include clearfix();
|
80
|
+
}
|
81
|
+
|
82
|
+
// Table columns
|
83
|
+
@mixin tableColumns($columnSpan: 1) {
|
84
|
+
float: none; // undo default grid column styles
|
85
|
+
width: (($gridColumnWidth) * $columnSpan) + ($gridGutterWidth * ($columnSpan - 1)) - 16; // 16 is total padding on left and right of table cells
|
86
|
+
margin-left: 0; // undo default grid column styles
|
87
|
+
}
|
88
|
+
|
89
|
+
// Make a Grid
|
90
|
+
// Use .makeRow and .makeColumn to assign semantic layouts grid system behavior
|
91
|
+
@mixin makeRow() {
|
92
|
+
margin-left: $gridGutterWidth * -1;
|
93
|
+
@include clearfix();
|
94
|
+
}
|
95
|
+
@mixin makeColumn($columns: 1, $offset: 0) {
|
96
|
+
float: left;
|
97
|
+
margin-left: ($gridColumnWidth * $offset) + ($gridGutterWidth * ($offset - 1)) + ($gridGutterWidth * 2);
|
98
|
+
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
99
|
+
}
|
100
|
+
|
101
|
+
// The Grid
|
102
|
+
@mixin grid-core($gridColumnWidth, $gridGutterWidth) {
|
103
|
+
.row {
|
104
|
+
margin-left: $gridGutterWidth * -1;
|
105
|
+
@include clearfix();
|
106
|
+
}
|
107
|
+
|
108
|
+
[class*="span"] {
|
109
|
+
float: left;
|
110
|
+
min-height: 1px; // prevent collapsing columns
|
111
|
+
margin-left: $gridGutterWidth;
|
112
|
+
}
|
113
|
+
|
114
|
+
// generate .spanX and .offsetX
|
115
|
+
@include grid-core-span-x($gridColumns, $gridColumnWidth, $gridGutterWidth);
|
116
|
+
@include grid-core-offset-x($gridColumns, $gridColumnWidth, $gridGutterWidth);
|
117
|
+
}
|
118
|
+
|
119
|
+
@mixin grid-core-span-x($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
120
|
+
@for $i from 1 through $gridColumns {
|
121
|
+
.span#{$i} { @include grid-core-span($i, $gridColumnWidth, $gridGutterWidth); }
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
@mixin grid-core-offset-x($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
126
|
+
@for $i from 1 through $gridColumns {
|
127
|
+
.offset#{$i} { @include grid-core-offset($i, $gridColumnWidth, $gridGutterWidth); }
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
@mixin grid-core-span($columns, $gridColumnWidth, $gridGutterWidth) {
|
132
|
+
width: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns - 1));
|
133
|
+
}
|
134
|
+
|
135
|
+
@mixin grid-core-offset($columns, $gridColumnWidth, $gridGutterWidth) {
|
136
|
+
margin-left: ($gridColumnWidth * $columns) + ($gridGutterWidth * ($columns + 1));
|
137
|
+
}
|
138
|
+
|
139
|
+
@mixin grid-fluid($fluidGridColumnWidth, $fluidGridGutterWidth) {
|
140
|
+
.row-fluid {
|
141
|
+
width: 100%;
|
142
|
+
@include clearfix();
|
143
|
+
[class*="span"] {
|
144
|
+
@include input-block-level();
|
145
|
+
float: left;
|
146
|
+
margin-left: $fluidGridGutterWidth;
|
147
|
+
*margin-left: $fluidGridGutterWidth - (.5 / $gridRowWidth * 100px * 1%);
|
148
|
+
}
|
149
|
+
|
150
|
+
[class*="span"]:nth-of-type(1) {
|
151
|
+
margin-left: 0px;
|
152
|
+
}
|
153
|
+
|
154
|
+
[class*="span"]:first-child {
|
155
|
+
margin-left: 0px;
|
156
|
+
}
|
157
|
+
|
158
|
+
// Space grid-sized controls properly if multiple per line
|
159
|
+
.controls-row [class*="span"] + [class*="span"] {
|
160
|
+
margin-left: $fluidGridGutterWidth;
|
161
|
+
}
|
162
|
+
|
163
|
+
// generate .spanX and .offsetX
|
164
|
+
@include grid-fluid-span-x($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth);
|
165
|
+
@include grid-fluid-offset-x($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth);
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
@mixin grid-fluid-span-x($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
170
|
+
@for $i from 1 through $gridColumns {
|
171
|
+
.span#{$i} { @include grid-fluid-span($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
@mixin grid-fluid-offset-x($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
176
|
+
@for $i from 1 through $gridColumns {
|
177
|
+
.offset#{$i} { @include grid-fluid-offset($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
|
178
|
+
.offset#{$i}:first-child { @include grid-fluid-offset-first-child($i, $fluidGridColumnWidth, $fluidGridGutterWidth); }
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
@mixin grid-fluid-span($columns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
183
|
+
width: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1));
|
184
|
+
*width: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1)) - (.5 / $gridRowWidth * 100px * 1%);
|
185
|
+
}
|
186
|
+
|
187
|
+
@mixin grid-fluid-offset($columns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
188
|
+
margin-left: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1)) + ($fluidGridGutterWidth * 2);
|
189
|
+
*margin-left: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1)) - (.5 / $gridRowWidth * 100px * 1%) + ($fluidGridGutterWidth * 2) - (.5 / $gridRowWidth * 100px * 1%);
|
190
|
+
}
|
191
|
+
|
192
|
+
@mixin grid-fluid-offset-first-child($columns, $fluidGridColumnWidth, $fluidGridGutterWidth) {
|
193
|
+
margin-left: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1)) + ($fluidGridGutterWidth);
|
194
|
+
*margin-left: ($fluidGridColumnWidth * $columns) + ($fluidGridGutterWidth * ($columns - 1)) - (.5 / $gridRowWidth * 100px * 1%) + $fluidGridGutterWidth - (.5 / $gridRowWidth * 100px * 1%);
|
195
|
+
}
|
196
|
+
|
197
|
+
@mixin grid-input($gridColumnWidth, $gridGutterWidth) {
|
198
|
+
input,
|
199
|
+
textarea,
|
200
|
+
.uneditable-input {
|
201
|
+
margin-left: 0; // override margin-left from core grid system
|
202
|
+
}
|
203
|
+
|
204
|
+
// Space grid-sized controls properly if multiple per line
|
205
|
+
.controls-row [class*="span"] + [class*="span"] {
|
206
|
+
margin-left: $gridGutterWidth;
|
207
|
+
}
|
208
|
+
|
209
|
+
// generate .spanX
|
210
|
+
@include grid-input-span-x($gridColumns, $gridColumnWidth, $gridGutterWidth);
|
211
|
+
}
|
212
|
+
|
213
|
+
@mixin grid-input-span-x($gridColumns, $gridColumnWidth, $gridGutterWidth) {
|
214
|
+
@for $i from 1 through $gridColumns {
|
215
|
+
input.span#{$i},
|
216
|
+
textarea.span#{$i},
|
217
|
+
.uneditable-input.span#{$i} {
|
218
|
+
@include grid-input-span($i, $gridColumnWidth, $gridGutterWidth);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
|
223
|
+
@mixin grid-input-span($columns, $gridColumnWidth, $gridGutterWidth) {
|
224
|
+
width: (($gridColumnWidth) * $columns) + ($gridGutterWidth * ($columns - 1)) - 14;
|
225
|
+
}
|
226
|
+
|
227
|
+
@mixin active-navbar-link-arrow($navbar-height: 40px) {
|
228
|
+
$default-position: -6px;
|
229
|
+
$default-navbar-height: 40px;
|
230
|
+
top: ((($navbar-height - $default-navbar-height) / 5) * -3) + $default-position;
|
231
|
+
}
|
232
|
+
|
233
|
+
@mixin touch-callout {
|
234
|
+
-webkit-touch-callout: none;
|
235
|
+
-webkit-user-select: none;
|
236
|
+
-khtml-user-select: none;
|
237
|
+
-moz-user-select: moz-none;
|
238
|
+
-ms-user-select: none;
|
239
|
+
user-select: none;
|
240
|
+
}
|
241
|
+
|
242
|
+
// Font Awesome Mixins
|
243
|
+
// --------------------------
|
244
|
+
|
245
|
+
@mixin icon($icon) {
|
246
|
+
@include icon-FontAwesome();
|
247
|
+
content: $icon;
|
248
|
+
}
|
249
|
+
|
250
|
+
@mixin icon-FontAwesome() {
|
251
|
+
font-family: FontAwesome;
|
252
|
+
font-weight: normal;
|
253
|
+
font-style: normal;
|
254
|
+
text-decoration: inherit;
|
255
|
+
-webkit-font-smoothing: antialiased;
|
256
|
+
*margin-right: .3em; // fixes ie7 issues
|
257
|
+
}
|
258
|
+
|
259
|
+
@mixin icon-stack($width: 2em, $height: 2em, $top-font-size: 1em, $base-font-size: 2em) {
|
260
|
+
.icon-stack {
|
261
|
+
position: relative;
|
262
|
+
display: inline-block;
|
263
|
+
width: $width;
|
264
|
+
height: $height;
|
265
|
+
line-height: $width;
|
266
|
+
vertical-align: -35%;
|
267
|
+
[class^="icon-"],
|
268
|
+
[class*=" icon-"] {
|
269
|
+
display: block;
|
270
|
+
text-align: center;
|
271
|
+
position: absolute;
|
272
|
+
width: 100%;
|
273
|
+
height: 100%;
|
274
|
+
font-size: $top-font-size;
|
275
|
+
line-height: inherit;
|
276
|
+
*line-height: $height;
|
277
|
+
}
|
278
|
+
.icon-stack-base {
|
279
|
+
font-size: $base-font-size;
|
280
|
+
*line-height: #{$height / $base-font-size}em;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$MODAL
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic modal structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn based on http://labs.voronianski.com/jquery.avgrund.js/
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* html and body styling */
|
11
|
+
/*--------------------*/
|
12
|
+
html, body {
|
13
|
+
height: 100%;
|
14
|
+
overflow: auto;
|
15
|
+
}
|
16
|
+
|
17
|
+
/* Popin window style */
|
18
|
+
/*--------------------*/
|
19
|
+
.avgrund-popin {
|
20
|
+
position: absolute;
|
21
|
+
background: $white;
|
22
|
+
padding: 10px;
|
23
|
+
overflow: hidden;
|
24
|
+
visibility: hidden;
|
25
|
+
opacity: 0;
|
26
|
+
filter: alpha(opacity=0);
|
27
|
+
top: 50%;
|
28
|
+
left: 50%;
|
29
|
+
z-index: 1000;
|
30
|
+
@include box-shadow(0 1px 10px 0 rgba(0, 0, 0, .5));
|
31
|
+
}
|
32
|
+
|
33
|
+
.avgrund-overlay {
|
34
|
+
background: #000;
|
35
|
+
opacity: .5;
|
36
|
+
filter: alpha(opacity=50);
|
37
|
+
width: 100%;
|
38
|
+
height: 100%;
|
39
|
+
position: fixed;
|
40
|
+
top: 0;
|
41
|
+
left: 0;
|
42
|
+
z-index: 101;
|
43
|
+
visibility: hidden;
|
44
|
+
}
|
45
|
+
|
46
|
+
body.avgrund-ready,
|
47
|
+
.avgrund-ready .avgrund-popin,
|
48
|
+
.avgrund-ready .avgrund-overlay {
|
49
|
+
@include transition(0.3s all ease-out);
|
50
|
+
}
|
51
|
+
|
52
|
+
body.avgrund-active {
|
53
|
+
overflow: hidden;
|
54
|
+
}
|
55
|
+
|
56
|
+
.avgrund-active .avgrund-popin {
|
57
|
+
visibility: visible;
|
58
|
+
opacity: 1;
|
59
|
+
filter: alpha(opacity=100);
|
60
|
+
@include scale(1.1);
|
61
|
+
}
|
62
|
+
|
63
|
+
.avgrund-active .avgrund-overlay {
|
64
|
+
visibility: visible;
|
65
|
+
opacity: .5;
|
66
|
+
filter: alpha(opacity=50);
|
67
|
+
height: 20000px;
|
68
|
+
}
|
69
|
+
|
70
|
+
/* Optional close button styles */
|
71
|
+
/*--------------------*/
|
72
|
+
.avgrund-close {
|
73
|
+
display: block;
|
74
|
+
color: #555;
|
75
|
+
font-size: 13px;
|
76
|
+
text-decoration: none;
|
77
|
+
text-transform: uppercase;
|
78
|
+
position: absolute;
|
79
|
+
top: 6px;
|
80
|
+
right: 10px;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* Modal header and footer styling */
|
84
|
+
/*--------------------*/
|
85
|
+
.modal-header {
|
86
|
+
border-bottom: 1px solid #CCC;
|
87
|
+
margin-bottom: 10px;
|
88
|
+
|
89
|
+
.header {
|
90
|
+
margin: 10px 0px;
|
91
|
+
text-align: center;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.modal-footer {
|
96
|
+
position: absolute;
|
97
|
+
bottom: 5px;
|
98
|
+
right: 15px;
|
99
|
+
|
100
|
+
.btn + .btn {
|
101
|
+
margin-right: 6px;
|
102
|
+
}
|
103
|
+
}
|