lato_view 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +35 -0
- data/app/assets/fonts/lato-bold-webfont.eot +0 -0
- data/app/assets/fonts/lato-bold-webfont.svg +4551 -0
- data/app/assets/fonts/lato-bold-webfont.ttf +0 -0
- data/app/assets/fonts/lato-bold-webfont.woff +0 -0
- data/app/assets/fonts/lato-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/lato-regular-webfont.eot +0 -0
- data/app/assets/fonts/lato-regular-webfont.svg +4241 -0
- data/app/assets/fonts/lato-regular-webfont.ttf +0 -0
- data/app/assets/fonts/lato-regular-webfont.woff +0 -0
- data/app/assets/fonts/lato-regular-webfont.woff2 +0 -0
- data/app/assets/images/lato_view/icons/_arrow-down.svg +1 -0
- data/app/assets/images/lato_view/icons/_arrow-left.svg +1 -0
- data/app/assets/images/lato_view/icons/_arrow-right.svg +1 -0
- data/app/assets/images/lato_view/icons/_arrow-up.svg +1 -0
- data/app/assets/images/lato_view/icons/_artist.svg +1 -0
- data/app/assets/images/lato_view/icons/_artwork.svg +1 -0
- data/app/assets/images/lato_view/icons/_attachment.svg +1 -0
- data/app/assets/images/lato_view/icons/_calendar.svg +1 -0
- data/app/assets/images/lato_view/icons/_clients.svg +1 -0
- data/app/assets/images/lato_view/icons/_close.svg +1 -0
- data/app/assets/images/lato_view/icons/_download.svg +1 -0
- data/app/assets/images/lato_view/icons/_file.svg +1 -0
- data/app/assets/images/lato_view/icons/_google-plus.svg +1 -0
- data/app/assets/images/lato_view/icons/_home.svg +1 -0
- data/app/assets/images/lato_view/icons/_info.svg +1 -0
- data/app/assets/images/lato_view/icons/_instagram.svg +1 -0
- data/app/assets/images/lato_view/icons/_lato-logo.svg +1 -0
- data/app/assets/images/lato_view/icons/_linkedin.svg +1 -0
- data/app/assets/images/lato_view/icons/_list.svg +1 -0
- data/app/assets/images/lato_view/icons/_magni-glass.svg +1 -0
- data/app/assets/images/lato_view/icons/_mail.svg +1 -0
- data/app/assets/images/lato_view/icons/_minus.svg +1 -0
- data/app/assets/images/lato_view/icons/_modify.svg +1 -0
- data/app/assets/images/lato_view/icons/_percentage.svg +1 -0
- data/app/assets/images/lato_view/icons/_plus.svg +1 -0
- data/app/assets/images/lato_view/icons/_power.svg +1 -0
- data/app/assets/images/lato_view/icons/_settings.svg +1 -0
- data/app/assets/images/lato_view/icons/_sweet.svg +1 -0
- data/app/assets/images/lato_view/icons/_trash.svg +1 -0
- data/app/assets/images/lato_view/icons/_twitter.svg +1 -0
- data/app/assets/images/lato_view/icons/_upload.svg +1 -0
- data/app/assets/images/lato_view/icons/_user.svg +1 -0
- data/app/assets/images/lato_view/icons/_users.svg +1 -0
- data/app/assets/images/lato_view/icons/_warning.svg +1 -0
- data/app/assets/images/lato_view/icons/_web.svg +1 -0
- data/app/assets/images/lato_view/vendor/trumbowyg_icons.svg +1 -0
- data/app/assets/images/lato_view/work-in-progress/da-scegliere.svg +225 -0
- data/app/assets/images/lato_view/work-in-progress/social.svg +76 -0
- data/app/assets/javascripts/lato_view/application.js +68 -0
- data/app/assets/javascripts/lato_view/build/ActionBar.js +65 -0
- data/app/assets/javascripts/lato_view/build/Dropdown.js +33 -0
- data/app/assets/javascripts/lato_view/build/Flash.js +23 -0
- data/app/assets/javascripts/lato_view/build/FormManager.js +159 -0
- data/app/assets/javascripts/lato_view/build/Navigation.js +79 -0
- data/app/assets/javascripts/lato_view/build/Util.js +91 -0
- data/app/assets/javascripts/lato_view/build/Validator.js +235 -0
- data/app/assets/javascripts/lato_view/vendor/dropzone.min.js +2 -0
- data/app/assets/javascripts/lato_view/vendor/jquery.email-autocomplete.min.js +9 -0
- data/app/assets/javascripts/lato_view/vendor/modernizr.js +3 -0
- data/app/assets/javascripts/lato_view/vendor/moment.min.js +7 -0
- data/app/assets/javascripts/lato_view/vendor/picker-it_IT.js +1 -0
- data/app/assets/javascripts/lato_view/vendor/picker.date.js +5 -0
- data/app/assets/javascripts/lato_view/vendor/picker.js +7 -0
- data/app/assets/javascripts/lato_view/vendor/picker.time.js +5 -0
- data/app/assets/javascripts/lato_view/vendor/trumbowyg.js +1522 -0
- data/app/assets/stylesheets/lato_view/application.scss.erb +32 -0
- data/app/assets/stylesheets/lato_view/base/_base.scss +53 -0
- data/app/assets/stylesheets/lato_view/base/_helpers.scss +491 -0
- data/app/assets/stylesheets/lato_view/base/_media.scss +32 -0
- data/app/assets/stylesheets/lato_view/base/_reset.scss +424 -0
- data/app/assets/stylesheets/lato_view/base/_typography.scss +138 -0
- data/app/assets/stylesheets/lato_view/config/_config.scss +143 -0
- data/app/assets/stylesheets/lato_view/config/templates/_base-template.scss +158 -0
- data/app/assets/stylesheets/lato_view/config/templates/_black-template.scss +158 -0
- data/app/assets/stylesheets/lato_view/modules/_action-bar.scss +62 -0
- data/app/assets/stylesheets/lato_view/modules/_arranger.scss +10 -0
- data/app/assets/stylesheets/lato_view/modules/_button-group.scss +70 -0
- data/app/assets/stylesheets/lato_view/modules/_buttons.scss +177 -0
- data/app/assets/stylesheets/lato_view/modules/_content-block.scss +33 -0
- data/app/assets/stylesheets/lato_view/modules/_datepicker.scss +580 -0
- data/app/assets/stylesheets/lato_view/modules/_dropdown.scss +166 -0
- data/app/assets/stylesheets/lato_view/modules/_flash.scss +55 -0
- data/app/assets/stylesheets/lato_view/modules/_form-controls.scss +83 -0
- data/app/assets/stylesheets/lato_view/modules/_form.scss +297 -0
- data/app/assets/stylesheets/lato_view/modules/_modules.scss +19 -0
- data/app/assets/stylesheets/lato_view/modules/_navbar.scss +262 -0
- data/app/assets/stylesheets/lato_view/modules/_pagination.scss +30 -0
- data/app/assets/stylesheets/lato_view/modules/_search-bar.scss +44 -0
- data/app/assets/stylesheets/lato_view/modules/_select.scss +313 -0
- data/app/assets/stylesheets/lato_view/modules/_sidebar.scss +211 -0
- data/app/assets/stylesheets/lato_view/modules/_status.scss +39 -0
- data/app/assets/stylesheets/lato_view/modules/_table.scss +94 -0
- data/app/assets/stylesheets/lato_view/modules/_upload.scss +371 -0
- data/app/assets/stylesheets/lato_view/modules/_wyswyg.scss +755 -0
- data/app/assets/stylesheets/lato_view/views/_admin.scss +30 -0
- data/app/assets/stylesheets/lato_view/views/_grid.scss +448 -0
- data/app/assets/stylesheets/lato_view/views/_login.scss +152 -0
- data/app/assets/stylesheets/lato_view/views/_print.scss +41 -0
- data/app/assets/stylesheets/lato_view/views/_views.scss +48 -0
- data/app/concepts/lato_view/actionbar/cell.rb +65 -0
- data/app/concepts/lato_view/actionbar/views/show.html.erb +21 -0
- data/app/concepts/lato_view/block/cell.rb +52 -0
- data/app/concepts/lato_view/buttongroup/cell.rb +50 -0
- data/app/concepts/lato_view/buttongroup/views/show.html.erb +7 -0
- data/app/concepts/lato_view/dropdown/cell.rb +46 -0
- data/app/concepts/lato_view/dropdown/views/show.html.erb +19 -0
- data/app/concepts/lato_view/index/cell.rb +112 -0
- data/app/concepts/lato_view/index/views/head.html.erb +12 -0
- data/app/concepts/lato_view/index/views/rows.html.erb +49 -0
- data/app/concepts/lato_view/input/cell.rb +148 -0
- data/app/concepts/lato_view/input/views/checkbox.html.erb +8 -0
- data/app/concepts/lato_view/input/views/date.html.erb +5 -0
- data/app/concepts/lato_view/input/views/editor.html.erb +7 -0
- data/app/concepts/lato_view/input/views/email.html.erb +5 -0
- data/app/concepts/lato_view/input/views/file.html.erb +17 -0
- data/app/concepts/lato_view/input/views/multiple-select.html.erb +12 -0
- data/app/concepts/lato_view/input/views/number.html.erb +5 -0
- data/app/concepts/lato_view/input/views/password.html.erb +8 -0
- data/app/concepts/lato_view/input/views/radio.html.erb +10 -0
- data/app/concepts/lato_view/input/views/select.html.erb +12 -0
- data/app/concepts/lato_view/input/views/text.html.erb +5 -0
- data/app/concepts/lato_view/input/views/textarea.html.erb +5 -0
- data/app/concepts/lato_view/input/views/time.html.erb +5 -0
- data/app/concepts/lato_view/searchbar/cell.rb +63 -0
- data/app/concepts/lato_view/searchbar/views/show.html.erb +6 -0
- data/app/concepts/lato_view/table/cell.rb +88 -0
- data/app/concepts/lato_view/table/views/head.html.erb +9 -0
- data/app/concepts/lato_view/table/views/row.html.erb +7 -0
- data/app/concepts/lato_view/table/views/rows.html.erb +5 -0
- data/app/controllers/lato_view/assets_controller.rb +18 -0
- data/app/controllers/lato_view/develop_controller.rb +18 -0
- data/app/helpers/lato_view/application_helper.rb +22 -0
- data/app/views/lato_view/develop/home.html.erb +281 -0
- data/app/views/lato_view/icons/_arrowdown.svg +1 -0
- data/app/views/lato_view/icons/_arrowleft.svg +1 -0
- data/app/views/lato_view/icons/_arrowright.svg +1 -0
- data/app/views/lato_view/icons/_arrowup.svg +1 -0
- data/app/views/lato_view/icons/_artist.svg +1 -0
- data/app/views/lato_view/icons/_artwork.svg +1 -0
- data/app/views/lato_view/icons/_attachment.svg +1 -0
- data/app/views/lato_view/icons/_calendar.svg +1 -0
- data/app/views/lato_view/icons/_clients.svg +1 -0
- data/app/views/lato_view/icons/_close.svg +1 -0
- data/app/views/lato_view/icons/_download.svg +1 -0
- data/app/views/lato_view/icons/_file.svg +1 -0
- data/app/views/lato_view/icons/_googleplus.svg +1 -0
- data/app/views/lato_view/icons/_home.svg +1 -0
- data/app/views/lato_view/icons/_info.svg +1 -0
- data/app/views/lato_view/icons/_instagram.svg +1 -0
- data/app/views/lato_view/icons/_latologo.svg +1 -0
- data/app/views/lato_view/icons/_linkedin.svg +1 -0
- data/app/views/lato_view/icons/_list.svg +1 -0
- data/app/views/lato_view/icons/_magni-glass.svg +1 -0
- data/app/views/lato_view/icons/_mail.svg +1 -0
- data/app/views/lato_view/icons/_minus.svg +1 -0
- data/app/views/lato_view/icons/_modify.svg +1 -0
- data/app/views/lato_view/icons/_percentage.svg +1 -0
- data/app/views/lato_view/icons/_plus.svg +1 -0
- data/app/views/lato_view/icons/_power.svg +1 -0
- data/app/views/lato_view/icons/_settings.svg +1 -0
- data/app/views/lato_view/icons/_sweet.svg +1 -0
- data/app/views/lato_view/icons/_trash.svg +1 -0
- data/app/views/lato_view/icons/_twitter.svg +1 -0
- data/app/views/lato_view/icons/_upload.svg +1 -0
- data/app/views/lato_view/icons/_user.svg +1 -0
- data/app/views/lato_view/icons/_users.svg +1 -0
- data/app/views/lato_view/icons/_warning.svg +1 -0
- data/app/views/lato_view/icons/_web.svg +1 -0
- data/app/views/lato_view/layout/_flash.html.erb +5 -0
- data/app/views/lato_view/layout/_header.html.erb +31 -0
- data/app/views/lato_view/layout/_sidebar.html.erb +28 -0
- data/app/views/lato_view/layout/_strings.html.erb +8 -0
- data/app/views/layouts/lato_layout.html.erb +81 -0
- data/config/example.yml +19 -0
- data/config/initializers/assets.rb +5 -0
- data/config/initializers/init.rb +5 -0
- data/config/initializers/lists.rb +34 -0
- data/config/initializers/ram.rb +23 -0
- data/config/routes.rb +9 -0
- data/lib/lato_view/concepts.rb +19 -0
- data/lib/lato_view/engine.rb +23 -0
- data/lib/lato_view/interface/assets.rb +90 -0
- data/lib/lato_view/interface/images.rb +69 -0
- data/lib/lato_view/interface/navigation.rb +17 -0
- data/lib/lato_view/interface/themes.rb +37 -0
- data/lib/lato_view/interface.rb +19 -0
- data/lib/lato_view.rb +20 -0
- data/lib/tasks/lato_starter_tasks.rake +11 -0
- data/test/controllers/lato_view/api/v1/api_controller_test.rb +9 -0
- data/test/controllers/lato_view/application_controller_test.rb +9 -0
- data/test/controllers/lato_view/back/back_controller_test.rb +9 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +25 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/lato_view_test.rb +7 -0
- data/test/test_helper.rb +21 -0
- metadata +453 -0
@@ -0,0 +1,424 @@
|
|
1
|
+
/* normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Change the default font family in all browsers (opinionated).
|
5
|
+
* 2. Prevent adjustments of font size after orientation changes in IE and iOS.
|
6
|
+
*/
|
7
|
+
|
8
|
+
html {
|
9
|
+
font-family: sans-serif; /* 1 */
|
10
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
11
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
12
|
+
}
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Remove the margin in all browsers (opinionated).
|
16
|
+
*/
|
17
|
+
|
18
|
+
body {
|
19
|
+
margin: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* HTML5 display definitions
|
23
|
+
========================================================================== */
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Add the correct display in IE 9-.
|
27
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
28
|
+
* 2. Add the correct display in IE.
|
29
|
+
*/
|
30
|
+
|
31
|
+
article,
|
32
|
+
aside,
|
33
|
+
details, /* 1 */
|
34
|
+
figcaption,
|
35
|
+
figure,
|
36
|
+
footer,
|
37
|
+
header,
|
38
|
+
main, /* 2 */
|
39
|
+
menu,
|
40
|
+
nav,
|
41
|
+
section,
|
42
|
+
summary { /* 1 */
|
43
|
+
display: block;
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Add the correct display in IE 9-.
|
48
|
+
*/
|
49
|
+
|
50
|
+
audio,
|
51
|
+
canvas,
|
52
|
+
progress,
|
53
|
+
video {
|
54
|
+
display: inline-block;
|
55
|
+
}
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Add the correct display in iOS 4-7.
|
59
|
+
*/
|
60
|
+
|
61
|
+
audio:not([controls]) {
|
62
|
+
display: none;
|
63
|
+
height: 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
/**
|
67
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
68
|
+
*/
|
69
|
+
|
70
|
+
progress {
|
71
|
+
vertical-align: baseline;
|
72
|
+
}
|
73
|
+
|
74
|
+
/**
|
75
|
+
* Add the correct display in IE 10-.
|
76
|
+
* 1. Add the correct display in IE.
|
77
|
+
*/
|
78
|
+
|
79
|
+
template, /* 1 */
|
80
|
+
[hidden] {
|
81
|
+
display: none;
|
82
|
+
}
|
83
|
+
|
84
|
+
/* Links
|
85
|
+
========================================================================== */
|
86
|
+
|
87
|
+
/**
|
88
|
+
* Remove the gray background on active links in IE 10.
|
89
|
+
*/
|
90
|
+
|
91
|
+
a {
|
92
|
+
background-color: transparent;
|
93
|
+
}
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Remove the outline on focused links when they are also active or hovered
|
97
|
+
* in all browsers (opinionated).
|
98
|
+
*/
|
99
|
+
|
100
|
+
a:active,
|
101
|
+
a:hover {
|
102
|
+
outline-width: 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
/* Text-level semantics
|
106
|
+
========================================================================== */
|
107
|
+
|
108
|
+
/**
|
109
|
+
* 1. Remove the bottom border in Firefox 39-.
|
110
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
111
|
+
*/
|
112
|
+
|
113
|
+
abbr[title] {
|
114
|
+
border-bottom: none; /* 1 */
|
115
|
+
text-decoration: underline; /* 2 */
|
116
|
+
text-decoration: underline dotted; /* 2 */
|
117
|
+
}
|
118
|
+
|
119
|
+
/**
|
120
|
+
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
121
|
+
*/
|
122
|
+
|
123
|
+
b,
|
124
|
+
strong {
|
125
|
+
font-weight: inherit;
|
126
|
+
}
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
130
|
+
*/
|
131
|
+
|
132
|
+
b,
|
133
|
+
strong {
|
134
|
+
font-weight: bolder;
|
135
|
+
}
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Add the correct font style in Android 4.3-.
|
139
|
+
*/
|
140
|
+
|
141
|
+
dfn {
|
142
|
+
font-style: italic;
|
143
|
+
}
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
147
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
148
|
+
*/
|
149
|
+
|
150
|
+
h1 {
|
151
|
+
font-size: 2em;
|
152
|
+
margin: 0.67em 0;
|
153
|
+
}
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Add the correct background and color in IE 9-.
|
157
|
+
*/
|
158
|
+
|
159
|
+
mark {
|
160
|
+
background-color: #ff0;
|
161
|
+
color: #000;
|
162
|
+
}
|
163
|
+
|
164
|
+
/**
|
165
|
+
* Add the correct font size in all browsers.
|
166
|
+
*/
|
167
|
+
|
168
|
+
small {
|
169
|
+
font-size: 80%;
|
170
|
+
}
|
171
|
+
|
172
|
+
/**
|
173
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
174
|
+
* all browsers.
|
175
|
+
*/
|
176
|
+
|
177
|
+
sub,
|
178
|
+
sup {
|
179
|
+
font-size: 75%;
|
180
|
+
line-height: 0;
|
181
|
+
position: relative;
|
182
|
+
vertical-align: baseline;
|
183
|
+
}
|
184
|
+
|
185
|
+
sub {
|
186
|
+
bottom: -0.25em;
|
187
|
+
}
|
188
|
+
|
189
|
+
sup {
|
190
|
+
top: -0.5em;
|
191
|
+
}
|
192
|
+
|
193
|
+
/* Embedded content
|
194
|
+
========================================================================== */
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Remove the border on images inside links in IE 10-.
|
198
|
+
*/
|
199
|
+
|
200
|
+
img {
|
201
|
+
border-style: none;
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Hide the overflow in IE.
|
206
|
+
*/
|
207
|
+
|
208
|
+
svg:not(:root) {
|
209
|
+
overflow: hidden;
|
210
|
+
}
|
211
|
+
|
212
|
+
/* Grouping content
|
213
|
+
========================================================================== */
|
214
|
+
|
215
|
+
/**
|
216
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
217
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
218
|
+
*/
|
219
|
+
|
220
|
+
code,
|
221
|
+
kbd,
|
222
|
+
pre,
|
223
|
+
samp {
|
224
|
+
font-family: monospace, monospace; /* 1 */
|
225
|
+
font-size: 1em; /* 2 */
|
226
|
+
}
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Add the correct margin in IE 8.
|
230
|
+
*/
|
231
|
+
|
232
|
+
figure {
|
233
|
+
margin: 1em 40px;
|
234
|
+
}
|
235
|
+
|
236
|
+
/**
|
237
|
+
* 1. Add the correct box sizing in Firefox.
|
238
|
+
* 2. Show the overflow in Edge and IE.
|
239
|
+
*/
|
240
|
+
|
241
|
+
hr {
|
242
|
+
box-sizing: content-box; /* 1 */
|
243
|
+
height: 0; /* 1 */
|
244
|
+
overflow: visible; /* 2 */
|
245
|
+
}
|
246
|
+
|
247
|
+
/* Forms
|
248
|
+
========================================================================== */
|
249
|
+
|
250
|
+
/**
|
251
|
+
* Change font properties to `inherit` in all browsers (opinionated).
|
252
|
+
*/
|
253
|
+
|
254
|
+
button,
|
255
|
+
input,
|
256
|
+
select,
|
257
|
+
textarea {
|
258
|
+
font: inherit;
|
259
|
+
}
|
260
|
+
|
261
|
+
/**
|
262
|
+
* Restore the font weight unset by the previous rule.
|
263
|
+
*/
|
264
|
+
|
265
|
+
optgroup {
|
266
|
+
font-weight: bold;
|
267
|
+
}
|
268
|
+
|
269
|
+
/**
|
270
|
+
* Show the overflow in IE.
|
271
|
+
* 1. Show the overflow in Edge.
|
272
|
+
* 2. Show the overflow in Edge, Firefox, and IE.
|
273
|
+
*/
|
274
|
+
|
275
|
+
button,
|
276
|
+
input, /* 1 */
|
277
|
+
select { /* 2 */
|
278
|
+
overflow: visible;
|
279
|
+
}
|
280
|
+
|
281
|
+
/**
|
282
|
+
* Remove the margin in Safari.
|
283
|
+
* 1. Remove the margin in Firefox and Safari.
|
284
|
+
*/
|
285
|
+
|
286
|
+
button,
|
287
|
+
input,
|
288
|
+
select,
|
289
|
+
textarea { /* 1 */
|
290
|
+
margin: 0;
|
291
|
+
}
|
292
|
+
|
293
|
+
/**
|
294
|
+
* Remove the inheritence of text transform in Edge, Firefox, and IE.
|
295
|
+
* 1. Remove the inheritence of text transform in Firefox.
|
296
|
+
*/
|
297
|
+
|
298
|
+
button,
|
299
|
+
select { /* 1 */
|
300
|
+
text-transform: none;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Change the cursor in all browsers (opinionated).
|
305
|
+
*/
|
306
|
+
|
307
|
+
button,
|
308
|
+
[type="button"],
|
309
|
+
[type="reset"],
|
310
|
+
[type="submit"] {
|
311
|
+
cursor: pointer;
|
312
|
+
}
|
313
|
+
|
314
|
+
/**
|
315
|
+
* Restore the default cursor to disabled elements unset by the previous rule.
|
316
|
+
*/
|
317
|
+
|
318
|
+
[disabled] {
|
319
|
+
cursor: default;
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
324
|
+
* controls in Android 4.
|
325
|
+
* 2. Correct the inability to style clickable types in iOS.
|
326
|
+
*/
|
327
|
+
|
328
|
+
button,
|
329
|
+
html [type="button"], /* 1 */
|
330
|
+
[type="reset"],
|
331
|
+
[type="submit"] {
|
332
|
+
-webkit-appearance: button; /* 2 */
|
333
|
+
}
|
334
|
+
|
335
|
+
/**
|
336
|
+
* Remove the inner border and padding in Firefox.
|
337
|
+
*/
|
338
|
+
|
339
|
+
button::-moz-focus-inner,
|
340
|
+
input::-moz-focus-inner {
|
341
|
+
border: 0;
|
342
|
+
padding: 0;
|
343
|
+
}
|
344
|
+
|
345
|
+
/**
|
346
|
+
* Restore the focus styles unset by the previous rule.
|
347
|
+
*/
|
348
|
+
|
349
|
+
button:-moz-focusring,
|
350
|
+
input:-moz-focusring {
|
351
|
+
outline: 1px dotted ButtonText;
|
352
|
+
}
|
353
|
+
|
354
|
+
/**
|
355
|
+
* Change the border, margin, and padding in all browsers (opinionated).
|
356
|
+
*/
|
357
|
+
|
358
|
+
fieldset {
|
359
|
+
border: 1px solid #c0c0c0;
|
360
|
+
margin: 0 2px;
|
361
|
+
padding: 0.35em 0.625em 0.75em;
|
362
|
+
}
|
363
|
+
|
364
|
+
/**
|
365
|
+
* 1. Correct the text wrapping in Edge and IE.
|
366
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
367
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
368
|
+
* `fieldset` elements in all browsers.
|
369
|
+
*/
|
370
|
+
|
371
|
+
legend {
|
372
|
+
box-sizing: border-box; /* 1 */
|
373
|
+
color: inherit; /* 2 */
|
374
|
+
display: table; /* 1 */
|
375
|
+
max-width: 100%; /* 1 */
|
376
|
+
padding: 0; /* 3 */
|
377
|
+
white-space: normal; /* 1 */
|
378
|
+
}
|
379
|
+
|
380
|
+
/**
|
381
|
+
* Remove the default vertical scrollbar in IE.
|
382
|
+
*/
|
383
|
+
|
384
|
+
textarea {
|
385
|
+
overflow: auto;
|
386
|
+
}
|
387
|
+
|
388
|
+
/**
|
389
|
+
* 1. Add the correct box sizing in IE 10-.
|
390
|
+
* 2. Remove the padding in IE 10-.
|
391
|
+
*/
|
392
|
+
|
393
|
+
[type="checkbox"],
|
394
|
+
[type="radio"] {
|
395
|
+
box-sizing: border-box; /* 1 */
|
396
|
+
padding: 0; /* 2 */
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
401
|
+
*/
|
402
|
+
|
403
|
+
[type="number"]::-webkit-inner-spin-button,
|
404
|
+
[type="number"]::-webkit-outer-spin-button {
|
405
|
+
height: auto;
|
406
|
+
}
|
407
|
+
|
408
|
+
/**
|
409
|
+
* Correct the odd appearance of search inputs in Chrome and Safari.
|
410
|
+
*/
|
411
|
+
|
412
|
+
[type="search"] {
|
413
|
+
-webkit-appearance: textfield;
|
414
|
+
}
|
415
|
+
|
416
|
+
/**
|
417
|
+
* Remove the inner padding and cancel buttons in Chrome on OS X and
|
418
|
+
* Safari on OS X.
|
419
|
+
*/
|
420
|
+
|
421
|
+
[type="search"]::-webkit-search-cancel-button,
|
422
|
+
[type="search"]::-webkit-search-decoration {
|
423
|
+
-webkit-appearance: none;
|
424
|
+
}
|
@@ -0,0 +1,138 @@
|
|
1
|
+
// Typography
|
2
|
+
|
3
|
+
// Font Family declaration
|
4
|
+
@font-face {
|
5
|
+
font-family: 'latoregular';
|
6
|
+
src: font-url('lato-regular-webfont.eot');
|
7
|
+
src: font-url('lato-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
8
|
+
font-url('lato-regular-webfont.woff2') format('woff2'),
|
9
|
+
font-url('lato-regular-webfont.woff') format('woff'),
|
10
|
+
font-url('lato-regular-webfont.ttf') format('truetype'),
|
11
|
+
font-url('lato-regular-webfont.svg#latoregular') format('svg');
|
12
|
+
font-weight: normal;
|
13
|
+
font-style: normal;
|
14
|
+
}
|
15
|
+
|
16
|
+
@font-face {
|
17
|
+
font-family: 'latobold';
|
18
|
+
src: font-url('lato-bold-webfont.eot');
|
19
|
+
src: font-url('lato-bold-webfont.eot?#iefix') format('embedded-opentype'),
|
20
|
+
font-url('lato-bold-webfont.woff2') format('woff2'),
|
21
|
+
font-url('lato-bold-webfont.woff') format('woff'),
|
22
|
+
font-url('lato-bold-webfont.ttf') format('truetype'),
|
23
|
+
font-url('lato-bold-webfont.svg#latobold') format('svg');
|
24
|
+
font-weight: normal;
|
25
|
+
font-style: normal;
|
26
|
+
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Basic Typography */
|
30
|
+
|
31
|
+
h1, h2, h3, h4, h5, h6,
|
32
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
33
|
+
font-family: $headings-font-family;
|
34
|
+
color: $headings-color;
|
35
|
+
line-height: $headings-line-height;
|
36
|
+
margin: 0 0 $headings-margin-bottom 0;
|
37
|
+
padding: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
h1, .h1 {
|
41
|
+
font-size: $font-size-h1;
|
42
|
+
}
|
43
|
+
|
44
|
+
h2, .h2 {
|
45
|
+
font-size: $font-size-h2;
|
46
|
+
}
|
47
|
+
|
48
|
+
h3, .h3 {
|
49
|
+
font-size: $font-size-h3;
|
50
|
+
}
|
51
|
+
|
52
|
+
h4, .h4 {
|
53
|
+
font-size: $font-size-h4;
|
54
|
+
}
|
55
|
+
|
56
|
+
h5, .h5 {
|
57
|
+
font-size: $font-size-h5;
|
58
|
+
}
|
59
|
+
|
60
|
+
h6, .h6 {
|
61
|
+
font-size: $font-size-h6;
|
62
|
+
}
|
63
|
+
|
64
|
+
small, .small {
|
65
|
+
font-size: $font-size-small;
|
66
|
+
}
|
67
|
+
|
68
|
+
// Links
|
69
|
+
a {
|
70
|
+
color: $link-color;
|
71
|
+
text-decoration: underline;
|
72
|
+
&.link {
|
73
|
+
text-decoration: none;
|
74
|
+
&:hover {
|
75
|
+
text-decoration: underline;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
p {
|
81
|
+
margin: 0 0 $paragraphs-margin-bottom 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
hr {
|
85
|
+
border-bottom: 1px solid $text-color;
|
86
|
+
border-left: none;
|
87
|
+
border-right: none;
|
88
|
+
border-top: none;
|
89
|
+
margin: $base-spacing 0;
|
90
|
+
clear: both;
|
91
|
+
}
|
92
|
+
|
93
|
+
ul, ol {
|
94
|
+
&.list-inline {
|
95
|
+
@include list-inline();
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
em {
|
100
|
+
font-style: italic;
|
101
|
+
}
|
102
|
+
|
103
|
+
strong, b {
|
104
|
+
font-family: $font-bold;
|
105
|
+
&.accent {
|
106
|
+
color: $text-accent-color;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
@if settings('minor-typo') {
|
111
|
+
abbr[title] {
|
112
|
+
border-bottom: 1px dotted;
|
113
|
+
}
|
114
|
+
|
115
|
+
abbr, acronym {
|
116
|
+
cursor: help;
|
117
|
+
}
|
118
|
+
|
119
|
+
// Code
|
120
|
+
tt, code {
|
121
|
+
font-family: $font-family-monospace;
|
122
|
+
font-size: em(12px);
|
123
|
+
}
|
124
|
+
|
125
|
+
pre {
|
126
|
+
font-family: $font-family-monospace;
|
127
|
+
tab-size: 2;
|
128
|
+
margin-bottom: 12px;
|
129
|
+
white-space: nowrap;
|
130
|
+
border: 1px solid #E1E1E1;
|
131
|
+
border-radius: 4px;
|
132
|
+
> code {
|
133
|
+
display: block;
|
134
|
+
padding: 1rem 1.5rem;
|
135
|
+
white-space: pre;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
// Project config map
|
2
|
+
$_settings: (
|
3
|
+
'use-flex-grid' : false,
|
4
|
+
'use-opentype' : false,
|
5
|
+
'use-font-smooth' : true,
|
6
|
+
'minor-typo' : true
|
7
|
+
);
|
8
|
+
|
9
|
+
// Retrieve data from the map
|
10
|
+
@function settings($key) {
|
11
|
+
@return map-get($_settings, $key);
|
12
|
+
}
|
13
|
+
|
14
|
+
// COLORS
|
15
|
+
|
16
|
+
// Social-brand colors
|
17
|
+
$fb : #3b5998;
|
18
|
+
$twitter : #55acee;
|
19
|
+
$gplus : #dd4b39;
|
20
|
+
$linkedin : #007bb6;
|
21
|
+
$instagram : #517fa4;
|
22
|
+
$pinterest : #cb2027;
|
23
|
+
$flickr-1 : #ff0084;
|
24
|
+
$flickr-2 : #0063dc;
|
25
|
+
$tumblr : #32506d;
|
26
|
+
$dribble : #ea4c89;
|
27
|
+
$behance : #1769ff;
|
28
|
+
$vine : #00bf8f;
|
29
|
+
$spotify : #2ebd59;
|
30
|
+
$tripadvisor : #589442;
|
31
|
+
$yahoo : #400191;
|
32
|
+
$youtube : #cd201f;
|
33
|
+
|
34
|
+
// TYPOGRAPHY
|
35
|
+
|
36
|
+
$font-family-sans-serif : "latoregular", "Helvetica", "Arial", sans-serif !default;
|
37
|
+
$font-family-serif : "Palatino Linotype", "Times New Roman", Times, serif !default;
|
38
|
+
$font-family-monospace : "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier", monospace !default;
|
39
|
+
$font-stack : $font-family-sans-serif !default;
|
40
|
+
$font-size-base : 1em !default;
|
41
|
+
$em-base : 16px;
|
42
|
+
$line-base : 1.5 !default;
|
43
|
+
$font-size-h1 : $font-size-base * 3.60 !default;
|
44
|
+
$font-size-h2 : $font-size-base * 3.10 !default;
|
45
|
+
$font-size-h3 : $font-size-base * 2.60 !default;
|
46
|
+
$font-size-h4 : $font-size-base * 2.35 !default;
|
47
|
+
$font-size-h5 : $font-size-base * 1.85 !default;
|
48
|
+
$font-size-h6 : $font-size-base !default;
|
49
|
+
$font-size-small : $font-size-base * 0.70 !default;
|
50
|
+
|
51
|
+
$font-primary : $font-stack;
|
52
|
+
$font-secondary : "latobold", "Helvetica", "Arial", sans-serif !default;
|
53
|
+
$font-bold : $font-secondary;
|
54
|
+
|
55
|
+
// Icon Fonts
|
56
|
+
$icon-font-name: 'lato' !default;
|
57
|
+
$icon-font-path: "../fonts/" + $icon-font-name !default;
|
58
|
+
|
59
|
+
// Map icon names to font unicode characters
|
60
|
+
$icons: (
|
61
|
+
facebook: "\e600",
|
62
|
+
twitter: "\e601"
|
63
|
+
);
|
64
|
+
|
65
|
+
// By default, this inherits from the body.
|
66
|
+
$headings-font-family : $font-bold !default;
|
67
|
+
$headings-color : inherit !default;
|
68
|
+
$headings-margin-bottom : 15px !default;
|
69
|
+
$headings-line-height : 1.25 !default;
|
70
|
+
$paragraphs-margin-bottom : 15px !default;
|
71
|
+
|
72
|
+
// Grid System
|
73
|
+
$flex-row-gap : -1.5% !default;
|
74
|
+
$flex-row-margin-bottom : 45px !default;
|
75
|
+
$flex-gap : 1.5% !default;
|
76
|
+
$flex-col-gap : 0.75% !default;
|
77
|
+
|
78
|
+
// VIEWS
|
79
|
+
|
80
|
+
$main-max-width : 1000px !default;
|
81
|
+
$main-max-width_large : 1170px !default;
|
82
|
+
|
83
|
+
// Breakpoints
|
84
|
+
$phone-down : 319px !default;
|
85
|
+
$phone : 320px !default;
|
86
|
+
$mobile-down : 540px !default;
|
87
|
+
$mobile : 541px !default;
|
88
|
+
$tab-down : 767px !default;
|
89
|
+
$tab : 768px !default;
|
90
|
+
$desk-down : 1023px !default;
|
91
|
+
$desk : 1024px !default;
|
92
|
+
$large : 1200px !default;
|
93
|
+
$x-large : 1600px !default;
|
94
|
+
|
95
|
+
// Grid System breakpoints
|
96
|
+
$grid-small-break : $desk-down !default;
|
97
|
+
$grid-medium-break : $desk !default;
|
98
|
+
$grid-large-break : $large !default;
|
99
|
+
$grid-x-large-break : $x-large !default;
|
100
|
+
|
101
|
+
// UTILS
|
102
|
+
|
103
|
+
// CSS cubic-bezier timing functions. Refer to http://cubic-bezier.com/ or http://matthewlein.com/ceaser/ for more.
|
104
|
+
// EASE IN
|
105
|
+
$ease-in-quad : cubic-bezier(0.550, 0.085, 0.680, 0.530) !default;
|
106
|
+
$ease-in-cubic : cubic-bezier(0.550, 0.055, 0.675, 0.190) !default;
|
107
|
+
$ease-in-quart : cubic-bezier(0.895, 0.030, 0.685, 0.220) !default;
|
108
|
+
$ease-in-quint : cubic-bezier(0.755, 0.050, 0.855, 0.060) !default;
|
109
|
+
$ease-in-sine : cubic-bezier(0.470, 0.000, 0.745, 0.715) !default;
|
110
|
+
$ease-in-expo : cubic-bezier(0.950, 0.050, 0.795, 0.035) !default;
|
111
|
+
$ease-in-circ : cubic-bezier(0.600, 0.040, 0.980, 0.335) !default;
|
112
|
+
$ease-in-back : cubic-bezier(0.600, -0.280, 0.735, 0.045) !default;
|
113
|
+
// EASE OUT
|
114
|
+
$ease-out-quad : cubic-bezier(0.250, 0.460, 0.450, 0.940) !default;
|
115
|
+
$ease-out-cubic : cubic-bezier(0.215, 0.610, 0.355, 1.000) !default;
|
116
|
+
$ease-out-quart : cubic-bezier(0.165, 0.840, 0.440, 1.000) !default;
|
117
|
+
$ease-out-quint : cubic-bezier(0.230, 1.000, 0.320, 1.000) !default;
|
118
|
+
$ease-out-sine : cubic-bezier(0.390, 0.575, 0.565, 1.000) !default;
|
119
|
+
$ease-out-expo : cubic-bezier(0.190, 1.000, 0.220, 1.000) !default;
|
120
|
+
$ease-out-circ : cubic-bezier(0.075, 0.820, 0.165, 1.000) !default;
|
121
|
+
$ease-out-back : cubic-bezier(0.175, 0.885, 0.320, 1.275) !default;
|
122
|
+
// EASE IN OUT
|
123
|
+
$ease-in-out-quad : cubic-bezier(0.455, 0.030, 0.515, 0.955) !default;
|
124
|
+
$ease-in-out-cubic : cubic-bezier(0.645, 0.045, 0.355, 1.000) !default;
|
125
|
+
$ease-in-out-quart : cubic-bezier(0.770, 0.000, 0.175, 1.000) !default;
|
126
|
+
$ease-in-out-quint : cubic-bezier(0.860, 0.000, 0.070, 1.000) !default;
|
127
|
+
$ease-in-out-sine : cubic-bezier(0.445, 0.050, 0.550, 0.950) !default;
|
128
|
+
$ease-in-out-expo : cubic-bezier(1.000, 0.000, 0.000, 1.000) !default;
|
129
|
+
$ease-in-out-circ : cubic-bezier(0.785, 0.135, 0.150, 0.860) !default;
|
130
|
+
$ease-in-out-back : cubic-bezier(0.680, -0.550, 0.265, 1.550) !default;
|
131
|
+
// CUSTOM
|
132
|
+
$elastic : cubic-bezier(0.320, 1.259, 0.375, 1.150) !default;
|
133
|
+
$snappy : cubic-bezier(0.694, 0.048, 0.335, 1.000) !default;
|
134
|
+
$cubic-snap : cubic-bezier(1.000, 0.000, 0.175, 1.000) !default;
|
135
|
+
|
136
|
+
// Z-Layers Map
|
137
|
+
$z-layers: (
|
138
|
+
highest : 50,
|
139
|
+
modal : 40,
|
140
|
+
menu : 15,
|
141
|
+
header : 2,
|
142
|
+
default : 1
|
143
|
+
);
|