spina 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spina might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +16 -4
- data/app/assets/fonts/spina/ics_spina.eot +0 -0
- data/app/assets/fonts/spina/ics_spina.svg +356 -0
- data/app/assets/fonts/spina/ics_spina.ttf +0 -0
- data/app/assets/fonts/spina/ics_spina.woff +0 -0
- data/app/assets/icons/spina/barchart.svg +10 -0
- data/app/assets/icons/spina/bars.svg +1 -0
- data/app/assets/icons/spina/bold.svg +1 -0
- data/app/assets/icons/spina/brush.svg +10 -0
- data/app/assets/icons/spina/camera.svg +10 -0
- data/app/assets/icons/spina/caret-down.svg +1 -0
- data/app/assets/icons/spina/caret-left.svg +1 -0
- data/app/assets/icons/spina/caret-right.svg +1 -0
- data/app/assets/icons/spina/caret-up.svg +1 -0
- data/app/assets/icons/spina/cart.svg +10 -0
- data/app/assets/icons/spina/chart-outline.svg +10 -0
- data/app/assets/icons/spina/check.svg +10 -0
- data/app/assets/icons/spina/chevron-down.svg +1 -0
- data/app/assets/icons/spina/chevron-left.svg +1 -0
- data/app/assets/icons/spina/chevron-right.svg +1 -0
- data/app/assets/icons/spina/chevron-up.svg +1 -0
- data/app/assets/icons/spina/code.svg +1 -0
- data/app/assets/icons/spina/cog-outline.svg +10 -0
- data/app/assets/icons/spina/cog.svg +10 -0
- data/app/assets/icons/spina/comment.svg +1 -0
- data/app/assets/icons/spina/cross.svg +10 -0
- data/app/assets/icons/spina/customer-outline.svg +10 -0
- data/app/assets/icons/spina/document.svg +10 -0
- data/app/assets/icons/spina/dots.svg +10 -0
- data/app/assets/icons/spina/exclamation.svg +13 -0
- data/app/assets/icons/spina/eye.svg +1 -0
- data/app/assets/icons/spina/filter.svg +10 -0
- data/app/assets/icons/spina/home.svg +1 -0
- data/app/assets/icons/spina/image.svg +10 -0
- data/app/assets/icons/spina/inbox-outline.svg +10 -0
- data/app/assets/icons/spina/info.svg +13 -0
- data/app/assets/icons/spina/italic.svg +1 -0
- data/app/assets/icons/spina/large-check.svg +10 -0
- data/app/assets/icons/spina/link.svg +1 -0
- data/app/assets/icons/spina/list-ul.svg +1 -0
- data/app/assets/icons/spina/mail-outline.svg +10 -0
- data/app/assets/icons/spina/mail.svg +10 -0
- data/app/assets/icons/spina/media-library.svg +10 -0
- data/app/assets/icons/spina/megaphone.svg +10 -0
- data/app/assets/icons/spina/min.svg +14 -0
- data/app/assets/icons/spina/pages.svg +10 -0
- data/app/assets/icons/spina/pencil-outline.svg +10 -0
- data/app/assets/icons/spina/pencil.svg +16 -0
- data/app/assets/icons/spina/picture-o.svg +1 -0
- data/app/assets/icons/spina/plus.svg +10 -0
- data/app/assets/icons/spina/power-off.svg +10 -0
- data/app/assets/icons/spina/preview/icons_spina-preview.html +1043 -0
- data/app/assets/icons/spina/preview/ics_spina-preview.html +1043 -0
- data/app/assets/icons/spina/preview.svg +10 -0
- data/app/assets/icons/spina/product-outline.svg +10 -0
- data/app/assets/icons/spina/random.svg +10 -0
- data/app/assets/icons/spina/refresh.svg +13 -0
- data/app/assets/icons/spina/search.svg +10 -0
- data/app/assets/icons/spina/shop.svg +12 -0
- data/app/assets/icons/spina/social-outline.svg +10 -0
- data/app/assets/icons/spina/trash.svg +10 -0
- data/app/assets/icons/spina/upload-outline.svg +14 -0
- data/app/assets/icons/spina/users-outline.svg +10 -0
- data/app/assets/images/spina/arrow-left.png +0 -0
- data/app/assets/images/spina/arrow-right.png +0 -0
- data/app/assets/images/spina/danger-zone-ribbon.png +0 -0
- data/app/assets/images/spina/datepicker.png +0 -0
- data/app/assets/images/spina/divider.png +0 -0
- data/app/assets/images/spina/marker.png +0 -0
- data/app/assets/images/spina/mask.png +0 -0
- data/app/assets/images/spina/spina.png +0 -0
- data/app/assets/images/spina/spina_small.png +0 -0
- data/app/assets/images/spina/wheel.png +0 -0
- data/app/assets/javascripts/spina/admin/{account.js.coffee → account.coffee} +0 -0
- data/app/assets/javascripts/spina/admin/application.coffee.erb +152 -0
- data/app/assets/javascripts/spina/admin/{confirm_delete.js.coffee.erb → confirm_delete.coffee.erb} +0 -0
- data/app/assets/javascripts/spina/admin/dropdown.coffee +75 -0
- data/app/assets/javascripts/spina/admin/forms.coffee +7 -0
- data/app/assets/javascripts/spina/admin/galleryselect.coffee +20 -0
- data/app/assets/javascripts/spina/admin/{spina.infinite_scroll.coffee → infinite_scroll.coffee} +1 -0
- data/app/assets/javascripts/spina/admin/modal.coffee +54 -0
- data/app/assets/javascripts/spina/admin/navigation.coffee +38 -0
- data/app/assets/javascripts/spina/admin/notifications.coffee +7 -0
- data/app/assets/javascripts/spina/admin/{pages.js.coffee.erb → pages.coffee.erb} +11 -2
- data/app/assets/javascripts/spina/admin/switch.coffee +43 -0
- data/app/assets/javascripts/spina/admin/tabs.coffee +13 -0
- data/app/assets/javascripts/spina/admin/{spina.trix.js.coffee.erb → trix.coffee.erb} +26 -25
- data/app/assets/javascripts/spina/admin/uploads.coffee +35 -0
- data/app/assets/stylesheets/spina/_admin_editing.sass +25 -0
- data/app/assets/stylesheets/spina/_buttons.sass +367 -0
- data/app/assets/stylesheets/spina/_cards.sass +54 -0
- data/app/assets/stylesheets/spina/_configuration.sass +15 -0
- data/app/assets/stylesheets/spina/_custom_animations.sass +61 -0
- data/app/assets/stylesheets/spina/_farbtastic.sass +37 -0
- data/app/assets/stylesheets/spina/_fonts.sass +18 -0
- data/app/assets/stylesheets/spina/_forms.sass +806 -0
- data/app/assets/stylesheets/spina/_gallery.sass +249 -0
- data/app/assets/stylesheets/spina/_ics_spina.scss +60 -0
- data/app/assets/stylesheets/spina/_labels.sass +30 -0
- data/app/assets/stylesheets/spina/_login.sass +46 -0
- data/app/assets/stylesheets/spina/_modal.sass +162 -0
- data/app/assets/stylesheets/spina/_notifications.sass +62 -0
- data/app/assets/stylesheets/spina/_sortable_lists.sass +177 -0
- data/app/assets/stylesheets/spina/_tables.sass +301 -0
- data/app/assets/stylesheets/spina/_trix.sass +99 -0
- data/app/assets/stylesheets/spina/_wizard.sass +122 -0
- data/app/assets/stylesheets/spina/_wysihtml5.sass +79 -0
- data/app/assets/stylesheets/spina/application.sass +0 -1
- data/app/assets/stylesheets/spina/wysihtml5_textarea.sass +14 -0
- data/app/assets/stylesheets/spina.sass +564 -0
- data/app/controllers/concerns/spina/frontend.rb +59 -0
- data/app/controllers/spina/admin/navigations_controller.rb +60 -0
- data/app/controllers/spina/admin/pages_controller.rb +7 -6
- data/app/controllers/spina/admin/photos_controller.rb +18 -7
- data/app/controllers/spina/application_controller.rb +2 -2
- data/app/controllers/spina/pages_controller.rb +4 -49
- data/app/helpers/spina/admin/pages_helper.rb +12 -7
- data/app/helpers/spina/application_helper.rb +0 -29
- data/app/models/concerns/spina/part.rb +1 -1
- data/app/models/spina/navigation.rb +11 -0
- data/app/models/spina/navigation_item.rb +17 -0
- data/app/models/spina/page.rb +11 -0
- data/app/models/spina/page_part.rb +1 -1
- data/app/models/spina/photo_collection.rb +6 -1
- data/app/models/spina/structure.rb +4 -0
- data/app/models/spina/structure_item.rb +5 -1
- data/app/models/spina/structure_part.rb +16 -3
- data/app/views/layouts/spina/admin/admin.html.haml +8 -1
- data/app/views/layouts/spina/admin/pages.html.haml +30 -0
- data/app/views/spina/admin/accounts/_form.html.haml +1 -1
- data/app/views/spina/admin/accounts/analytics.html.haml +1 -1
- data/app/views/spina/admin/accounts/social.html.haml +1 -1
- data/app/views/spina/admin/accounts/style.html.haml +1 -1
- data/app/views/spina/admin/navigations/_navigation_item_nested_list.html.haml +7 -0
- data/app/views/spina/admin/navigations/_page.html.haml +8 -0
- data/app/views/spina/admin/navigations/edit.html.haml +22 -0
- data/app/views/spina/admin/navigations/show.html.haml +7 -0
- data/app/views/spina/admin/page_partables/attachment_collections/_form.html.haml +1 -1
- data/app/views/spina/admin/page_partables/attachments/_form.html.haml +1 -1
- data/app/views/spina/admin/page_partables/photo_collections/_form.html.haml +1 -1
- data/app/views/spina/admin/page_partables/photos/_form.html.haml +1 -1
- data/app/views/spina/admin/page_partables/structures/_form.html.haml +1 -1
- data/app/views/spina/admin/pages/_form.html.haml +12 -5
- data/app/views/spina/admin/pages/_page.html.haml +12 -18
- data/app/views/spina/admin/pages/_page_nested_list.html.haml +7 -0
- data/app/views/spina/admin/pages/create.js.coffee +0 -0
- data/app/views/spina/admin/pages/index.html.haml +24 -42
- data/app/views/spina/admin/pages/update.js.coffee +1 -3
- data/app/views/spina/admin/photos/_photo.html.haml +2 -0
- data/app/views/spina/admin/photos/_photo_collection_select.html.haml +1 -1
- data/app/views/spina/admin/photos/_photo_select.html.haml +2 -2
- data/app/views/spina/admin/photos/_wysihtml5_select.html.haml +1 -1
- data/app/views/spina/admin/photos/create_multiple.js.erb +4 -0
- data/app/views/spina/admin/photos/index.html.haml +1 -1
- data/app/views/spina/admin/photos/single_picker_infinite_scroll.js.erb +1 -1
- data/app/views/spina/admin/sessions/new.html.haml +8 -5
- data/app/views/spina/admin/shared/_notifications.html.haml +3 -1
- data/app/views/spina/admin/shared/_primary_navigation.html.haml +4 -3
- data/app/views/spina/admin/shared/_rich_text_field.html.haml +16 -16
- data/app/views/spina/admin/structure_items/_fields.html.haml +7 -8
- data/app/views/spina/admin/structure_partables/photo_collections/_form.html.haml +14 -0
- data/app/views/spina/admin/structure_partables/photos/_form.html.haml +1 -1
- data/app/views/spina/shared/_google_site_verification.html.haml +1 -0
- data/config/fontcustom.yml +95 -0
- data/config/locales/en.yml +11 -0
- data/config/locales/nl.yml +13 -3
- data/config/locales/pt-BR.yml +11 -1
- data/config/routes.rb +14 -8
- data/db/migrate/1_create_spina_tables.rb +0 -7
- data/db/migrate/2_create_spina_translation_tables.rb +26 -7
- data/db/migrate/3_create_spina_navigations.rb +21 -0
- data/lib/generators/spina/templates/config/initializers/carrierwave.rb +1 -1
- data/lib/spina/engine.rb +1 -2
- data/lib/spina/fontcustom/_ics_spina.scss +5 -0
- data/lib/spina/version.rb +1 -1
- data/lib/spina.rb +3 -1
- metadata +146 -45
- data/app/assets/images/spina/admin/logo@2x.png +0 -0
- data/app/assets/javascripts/spina/admin/application.js +0 -10
- data/app/assets/javascripts/spina/admin/spina.scaffold.coffee +0 -15
- data/app/assets/javascripts/spina/application.js +0 -15
- data/app/assets/stylesheets/spina/_mixins.scss +0 -34
@@ -0,0 +1,249 @@
|
|
1
|
+
// Gallery
|
2
|
+
|
3
|
+
.gallery-container
|
4
|
+
margin: -8px
|
5
|
+
|
6
|
+
.gallery
|
7
|
+
.item
|
8
|
+
input[type="radio"], input[type="checkbox"]
|
9
|
+
display: none
|
10
|
+
|
11
|
+
.gallery
|
12
|
+
margin: 20px 0
|
13
|
+
|
14
|
+
.item
|
15
|
+
border-radius: 5px
|
16
|
+
float: left
|
17
|
+
height: 150px
|
18
|
+
line-height: 100px
|
19
|
+
margin: 8px
|
20
|
+
overflow: hidden
|
21
|
+
position: relative
|
22
|
+
width: 150px
|
23
|
+
z-index: 3
|
24
|
+
|
25
|
+
.title
|
26
|
+
color: #fff
|
27
|
+
font-size: 12px
|
28
|
+
font-weight: bold
|
29
|
+
margin: 5px
|
30
|
+
position: absolute
|
31
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, .25)
|
32
|
+
text-transform: uppercase
|
33
|
+
z-index: 2
|
34
|
+
|
35
|
+
img
|
36
|
+
position: relative
|
37
|
+
width: 100%
|
38
|
+
z-index: 1
|
39
|
+
@include transition(all .2s ease)
|
40
|
+
|
41
|
+
.overlay
|
42
|
+
height: 100%
|
43
|
+
position: absolute
|
44
|
+
text-align: center
|
45
|
+
width: 100%
|
46
|
+
z-index: 2
|
47
|
+
@include linear-gradient(top, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .75))
|
48
|
+
background-size: 200%
|
49
|
+
@include transition(all .2s ease)
|
50
|
+
|
51
|
+
input
|
52
|
+
display: none
|
53
|
+
|
54
|
+
a
|
55
|
+
bottom: 0px
|
56
|
+
color: #fff
|
57
|
+
display: inline-block
|
58
|
+
font-size: 11px
|
59
|
+
font-weight: bold
|
60
|
+
letter-spacing: 2px
|
61
|
+
line-height: 26px
|
62
|
+
text-transform: uppercase
|
63
|
+
padding: 0 12px
|
64
|
+
position: absolute
|
65
|
+
z-index: 3
|
66
|
+
@include transition(all .2s ease)
|
67
|
+
@include transform(translateY(100%))
|
68
|
+
|
69
|
+
a.edit-photo-link
|
70
|
+
left: 0px
|
71
|
+
|
72
|
+
a.delete-photo-link
|
73
|
+
right: 0px
|
74
|
+
|
75
|
+
&:hover
|
76
|
+
.overlay
|
77
|
+
background-size: 100%
|
78
|
+
|
79
|
+
a
|
80
|
+
opacity: 1
|
81
|
+
@include transform(translateY(0%))
|
82
|
+
|
83
|
+
form
|
84
|
+
height: 100%
|
85
|
+
|
86
|
+
.gallery form .item .overlay a
|
87
|
+
display: none
|
88
|
+
|
89
|
+
.gallery:after
|
90
|
+
clear: both
|
91
|
+
content: ""
|
92
|
+
display: block
|
93
|
+
|
94
|
+
.gallery-select
|
95
|
+
margin: -8px
|
96
|
+
|
97
|
+
&.gallery-select-multiple
|
98
|
+
padding-bottom: 70px
|
99
|
+
|
100
|
+
form
|
101
|
+
margin: 0
|
102
|
+
|
103
|
+
.item
|
104
|
+
border-radius: 5px
|
105
|
+
cursor: pointer
|
106
|
+
display: inline
|
107
|
+
height: 150px
|
108
|
+
line-height: 150px
|
109
|
+
margin: 8px
|
110
|
+
position: relative
|
111
|
+
width: 150px
|
112
|
+
@include transition(all .3s ease)
|
113
|
+
|
114
|
+
input
|
115
|
+
display: none
|
116
|
+
|
117
|
+
img
|
118
|
+
display: block
|
119
|
+
|
120
|
+
.item:not(.item-uploader):hover
|
121
|
+
box-shadow: 0 0 20px rgba(0, 0, 0, .4)
|
122
|
+
|
123
|
+
.item.selected:before
|
124
|
+
content: " "
|
125
|
+
height: 100%
|
126
|
+
position: absolute
|
127
|
+
top: 0px
|
128
|
+
width: 100%
|
129
|
+
z-index: 2
|
130
|
+
@include linear-gradient(135deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1))
|
131
|
+
|
132
|
+
.item.selected:after
|
133
|
+
color: #95e995
|
134
|
+
font-size: 36px
|
135
|
+
position: absolute
|
136
|
+
text-align: center
|
137
|
+
text-shadow: 0 2px 20px rgba(0, 0, 0, .75)
|
138
|
+
top: 0
|
139
|
+
width: 100%
|
140
|
+
z-index: 3
|
141
|
+
@extend .icon, .icon-large-check:before
|
142
|
+
|
143
|
+
.item.attachment
|
144
|
+
height: 60px
|
145
|
+
line-height: 60px
|
146
|
+
font-size: 13px
|
147
|
+
padding: 0 20px 0 20px
|
148
|
+
width: auto
|
149
|
+
|
150
|
+
&:before
|
151
|
+
content: "S"
|
152
|
+
font-family: $icon-font
|
153
|
+
font-size: 28px
|
154
|
+
margin-right: 10px
|
155
|
+
vertical-align: middle
|
156
|
+
|
157
|
+
&.selected
|
158
|
+
background: $primary-color
|
159
|
+
color: #fff
|
160
|
+
opacity: .7
|
161
|
+
|
162
|
+
.gallery-select-action-bar
|
163
|
+
background: #fff
|
164
|
+
border-top: 1px solid #e5e5e5
|
165
|
+
bottom: 0px
|
166
|
+
clear: both
|
167
|
+
margin: 0 -12px
|
168
|
+
padding: 12px
|
169
|
+
position: absolute
|
170
|
+
width: 100%
|
171
|
+
z-index: 3
|
172
|
+
|
173
|
+
// Customfile
|
174
|
+
|
175
|
+
.gallery .item
|
176
|
+
.customfile
|
177
|
+
border: 1px solid #e5e5e5
|
178
|
+
border-radius: 5px
|
179
|
+
cursor: pointer
|
180
|
+
height: 100%
|
181
|
+
overflow: hidden
|
182
|
+
position: relative
|
183
|
+
text-align: center
|
184
|
+
width: 100%
|
185
|
+
|
186
|
+
&:before
|
187
|
+
color: #bbb
|
188
|
+
display: block
|
189
|
+
font-weight: normal
|
190
|
+
line-height: 130px
|
191
|
+
vertical-align: middle
|
192
|
+
@extend .icon, .icon-upload-outline
|
193
|
+
font-size: 42px
|
194
|
+
@include transition(color .2s ease)
|
195
|
+
|
196
|
+
&:after
|
197
|
+
color: #bbb
|
198
|
+
display: block
|
199
|
+
font-weight: normal
|
200
|
+
line-height: 130px
|
201
|
+
vertical-align: middle
|
202
|
+
@extend .icon, .icon-refresh:before
|
203
|
+
display: none
|
204
|
+
font-size: 42px
|
205
|
+
@include animation("rotate" 2s linear infinite)
|
206
|
+
|
207
|
+
.customfile.loading
|
208
|
+
&:before
|
209
|
+
display: none
|
210
|
+
|
211
|
+
&:after
|
212
|
+
display: block
|
213
|
+
|
214
|
+
&:hover .customfile:before
|
215
|
+
color: #333
|
216
|
+
|
217
|
+
&:hover .new_photo label
|
218
|
+
color: #333
|
219
|
+
|
220
|
+
.customfile-feedback
|
221
|
+
display: none
|
222
|
+
|
223
|
+
.customfile-input
|
224
|
+
background: transparent
|
225
|
+
border: 0
|
226
|
+
cursor: pointer !important
|
227
|
+
display: block
|
228
|
+
height: 100%
|
229
|
+
left: -100% !important
|
230
|
+
opacity: 0
|
231
|
+
position: absolute
|
232
|
+
top: 0 !important
|
233
|
+
width: 200%
|
234
|
+
z-index: 9
|
235
|
+
|
236
|
+
.customfile-button
|
237
|
+
display: none
|
238
|
+
|
239
|
+
.new_photo label
|
240
|
+
color: #999
|
241
|
+
font-size: 13px
|
242
|
+
font-weight: 600
|
243
|
+
line-height: 130px
|
244
|
+
padding-top: 32px
|
245
|
+
position: absolute
|
246
|
+
text-align: center
|
247
|
+
text-transform: lowercase
|
248
|
+
width: 100%
|
249
|
+
@include transition(color .2s ease)
|
@@ -0,0 +1,60 @@
|
|
1
|
+
//
|
2
|
+
// Icon Font: ics_spina
|
3
|
+
//
|
4
|
+
|
5
|
+
.icon-barchart:before { content: "\f100"; }
|
6
|
+
.icon-bars:before { content: "\f101"; }
|
7
|
+
.icon-bold:before { content: "\f102"; }
|
8
|
+
.icon-brush:before { content: "\f103"; }
|
9
|
+
.icon-camera:before { content: "\f104"; }
|
10
|
+
.icon-caret-down:before { content: "\f105"; }
|
11
|
+
.icon-caret-left:before { content: "\f106"; }
|
12
|
+
.icon-caret-right:before { content: "\f107"; }
|
13
|
+
.icon-caret-up:before { content: "\f108"; }
|
14
|
+
.icon-cart:before { content: "\f109"; }
|
15
|
+
.icon-chart-outline:before { content: "\f10a"; }
|
16
|
+
.icon-check:before { content: "\f10b"; }
|
17
|
+
.icon-chevron-down:before { content: "\f10c"; }
|
18
|
+
.icon-chevron-left:before { content: "\f10d"; }
|
19
|
+
.icon-chevron-right:before { content: "\f10e"; }
|
20
|
+
.icon-chevron-up:before { content: "\f10f"; }
|
21
|
+
.icon-code:before { content: "\f110"; }
|
22
|
+
.icon-cog:before { content: "\f111"; }
|
23
|
+
.icon-cog-outline:before { content: "\f112"; }
|
24
|
+
.icon-comment:before { content: "\f113"; }
|
25
|
+
.icon-cross:before { content: "\f114"; }
|
26
|
+
.icon-customer-outline:before { content: "\f115"; }
|
27
|
+
.icon-document:before { content: "\f116"; }
|
28
|
+
.icon-dots:before { content: "\f117"; }
|
29
|
+
.icon-exclamation:before { content: "\f118"; }
|
30
|
+
.icon-eye:before { content: "\f119"; }
|
31
|
+
.icon-filter:before { content: "\f11a"; }
|
32
|
+
.icon-home:before { content: "\f11b"; }
|
33
|
+
.icon-image:before { content: "\f11c"; }
|
34
|
+
.icon-inbox-outline:before { content: "\f11d"; }
|
35
|
+
.icon-info:before { content: "\f11e"; }
|
36
|
+
.icon-italic:before { content: "\f11f"; }
|
37
|
+
.icon-large-check:before { content: "\f120"; }
|
38
|
+
.icon-link:before { content: "\f121"; }
|
39
|
+
.icon-list-ul:before { content: "\f122"; }
|
40
|
+
.icon-mail:before { content: "\f123"; }
|
41
|
+
.icon-mail-outline:before { content: "\f124"; }
|
42
|
+
.icon-media-library:before { content: "\f125"; }
|
43
|
+
.icon-megaphone:before { content: "\f126"; }
|
44
|
+
.icon-min:before { content: "\f127"; }
|
45
|
+
.icon-pages:before { content: "\f128"; }
|
46
|
+
.icon-pencil:before { content: "\f129"; }
|
47
|
+
.icon-pencil-outline:before { content: "\f12a"; }
|
48
|
+
.icon-picture-o:before { content: "\f12b"; }
|
49
|
+
.icon-plus:before { content: "\f12c"; }
|
50
|
+
.icon-power-off:before { content: "\f12d"; }
|
51
|
+
.icon-preview:before { content: "\f12e"; }
|
52
|
+
.icon-product-outline:before { content: "\f12f"; }
|
53
|
+
.icon-random:before { content: "\f130"; }
|
54
|
+
.icon-refresh:before { content: "\f131"; }
|
55
|
+
.icon-search:before { content: "\f132"; }
|
56
|
+
.icon-shop:before { content: "\f133"; }
|
57
|
+
.icon-social-outline:before { content: "\f134"; }
|
58
|
+
.icon-trash:before { content: "\f135"; }
|
59
|
+
.icon-upload-outline:before { content: "\f136"; }
|
60
|
+
.icon-users-outline:before { content: "\f137"; }
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Labels
|
2
|
+
|
3
|
+
.label
|
4
|
+
background: #bbb
|
5
|
+
border-radius: 3px
|
6
|
+
color: #fff
|
7
|
+
display: inline-block
|
8
|
+
font-size: 10px
|
9
|
+
font-weight: bold
|
10
|
+
letter-spacing: 1px
|
11
|
+
line-height: 10px
|
12
|
+
padding: 8px 12px
|
13
|
+
|
14
|
+
&.label-primary
|
15
|
+
background: $primary-color
|
16
|
+
|
17
|
+
&.label-error
|
18
|
+
background: $error-color
|
19
|
+
|
20
|
+
&.label-danger
|
21
|
+
background: $danger-color
|
22
|
+
|
23
|
+
&.label-info
|
24
|
+
background: $info-color
|
25
|
+
|
26
|
+
&.label-alert
|
27
|
+
background: $alert-color
|
28
|
+
|
29
|
+
&.label-success
|
30
|
+
background: $success-color
|
@@ -0,0 +1,46 @@
|
|
1
|
+
#login_container
|
2
|
+
background: tint($primary-color, 90%)
|
3
|
+
display: block
|
4
|
+
height: 100%
|
5
|
+
position: fixed
|
6
|
+
width: 100%
|
7
|
+
|
8
|
+
#login_wrapper
|
9
|
+
margin: 50px auto
|
10
|
+
max-width: 280px
|
11
|
+
|
12
|
+
.failed-to-login
|
13
|
+
color: $danger-color
|
14
|
+
margin-bottom: 20px
|
15
|
+
text-align: center
|
16
|
+
@include animation-delay(.1s)
|
17
|
+
|
18
|
+
.login-fields input
|
19
|
+
&:first-child
|
20
|
+
@include animation-delay(.2s)
|
21
|
+
|
22
|
+
&:last-child
|
23
|
+
@include animation-delay(.4s)
|
24
|
+
|
25
|
+
img
|
26
|
+
display: block
|
27
|
+
margin: 0 auto 25px auto
|
28
|
+
|
29
|
+
input, button
|
30
|
+
box-shadow: none
|
31
|
+
border: none
|
32
|
+
box-sizing: border-box
|
33
|
+
font-size: 18px
|
34
|
+
line-height: normal
|
35
|
+
margin-bottom: 16px
|
36
|
+
padding: 12px 14px
|
37
|
+
width: 100%
|
38
|
+
|
39
|
+
button
|
40
|
+
padding: 12px 14px
|
41
|
+
@include animation-delay(.6s)
|
42
|
+
|
43
|
+
&:before
|
44
|
+
font-size: 26px
|
45
|
+
margin-right: 8px
|
46
|
+
vertical-align: middle
|
@@ -0,0 +1,162 @@
|
|
1
|
+
#overlay
|
2
|
+
display: none
|
3
|
+
height: 100%
|
4
|
+
left: 0
|
5
|
+
position: fixed
|
6
|
+
top: 0
|
7
|
+
width: 100%
|
8
|
+
z-index: 999
|
9
|
+
@include background-image(radial-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .6)))
|
10
|
+
|
11
|
+
.modal
|
12
|
+
background: #fff
|
13
|
+
border-radius: 3px
|
14
|
+
display: none
|
15
|
+
margin: 0 auto
|
16
|
+
max-width: 480px
|
17
|
+
min-height: 100px
|
18
|
+
overflow: hidden
|
19
|
+
position: relative
|
20
|
+
@include animation-duration(.4s)
|
21
|
+
|
22
|
+
@media screen and (max-width: 480px)
|
23
|
+
margin: 0 10px
|
24
|
+
|
25
|
+
&.modal-small
|
26
|
+
width: 320px
|
27
|
+
|
28
|
+
&.modal-medium
|
29
|
+
max-width: 640px
|
30
|
+
|
31
|
+
&.modal-large
|
32
|
+
max-width: none
|
33
|
+
width: 80%
|
34
|
+
|
35
|
+
footer a
|
36
|
+
padding: 18px 0
|
37
|
+
|
38
|
+
header h3
|
39
|
+
border-radius: 2px 2px 0 0
|
40
|
+
color: #232323
|
41
|
+
font-size: 18px
|
42
|
+
font-weight: 500
|
43
|
+
margin: 0
|
44
|
+
padding: 20px
|
45
|
+
|
46
|
+
header.big-header h2
|
47
|
+
color: #333
|
48
|
+
font-size: 36px
|
49
|
+
font-weight: 400
|
50
|
+
margin: 0
|
51
|
+
padding-top: 48px
|
52
|
+
text-align: center
|
53
|
+
|
54
|
+
header.big-header h3
|
55
|
+
line-height: 24px
|
56
|
+
padding: 46px
|
57
|
+
text-align: center
|
58
|
+
|
59
|
+
@media screen and (max-width: 480px)
|
60
|
+
padding: 30px 20px
|
61
|
+
|
62
|
+
header.big-header p
|
63
|
+
color: #333
|
64
|
+
font-size: 18px
|
65
|
+
font-weight: 400
|
66
|
+
margin: 0
|
67
|
+
margin-top: 9px
|
68
|
+
padding-bottom: 48px
|
69
|
+
text-align: center
|
70
|
+
|
71
|
+
strong
|
72
|
+
font-weight: 600
|
73
|
+
|
74
|
+
header h3 strong
|
75
|
+
color: #000
|
76
|
+
font-weight: 600
|
77
|
+
|
78
|
+
header a[data-dismiss="modal"]
|
79
|
+
color: #d6d6d6
|
80
|
+
float: right
|
81
|
+
font-size: 12px
|
82
|
+
padding: 6px 10px
|
83
|
+
text-decoration: none
|
84
|
+
@include transition(color .2s ease-out)
|
85
|
+
|
86
|
+
i.icon
|
87
|
+
font-size: 8px
|
88
|
+
|
89
|
+
header a[data-dismiss="modal"]:hover
|
90
|
+
color: #999
|
91
|
+
|
92
|
+
section
|
93
|
+
overflow: scroll
|
94
|
+
padding: 20px
|
95
|
+
background: white
|
96
|
+
|
97
|
+
.col
|
98
|
+
float: left
|
99
|
+
width: 33%
|
100
|
+
padding: 10px
|
101
|
+
|
102
|
+
h3
|
103
|
+
font-size: 16px
|
104
|
+
font-weight: bold
|
105
|
+
line-height: 26px
|
106
|
+
|
107
|
+
p
|
108
|
+
line-height: 22px
|
109
|
+
|
110
|
+
pre
|
111
|
+
font-size: 12px
|
112
|
+
background: #ddd
|
113
|
+
border: 1px solid #bbb
|
114
|
+
padding: 10px
|
115
|
+
border-radius: 5px
|
116
|
+
margin-bottom: 20px
|
117
|
+
color: #444
|
118
|
+
line-height: 20px
|
119
|
+
font-family: Consolas, Courier, monospace
|
120
|
+
|
121
|
+
&.section-divided
|
122
|
+
border-top: 1px solid #eee
|
123
|
+
|
124
|
+
footer
|
125
|
+
clear: both
|
126
|
+
margin: -20px
|
127
|
+
|
128
|
+
table
|
129
|
+
color: #333
|
130
|
+
font-size: 15px
|
131
|
+
line-height: 24px
|
132
|
+
|
133
|
+
th
|
134
|
+
font-weight: 600
|
135
|
+
padding-right: 24px
|
136
|
+
text-align: left
|
137
|
+
|
138
|
+
td
|
139
|
+
font-weight: 400
|
140
|
+
|
141
|
+
table.table-centered
|
142
|
+
margin: 0 auto
|
143
|
+
|
144
|
+
footer
|
145
|
+
border-top: 1px solid #eee
|
146
|
+
|
147
|
+
footer a, footer button
|
148
|
+
background: none
|
149
|
+
color: #999
|
150
|
+
display: inline-block
|
151
|
+
font-size: 13px
|
152
|
+
font-weight: 600
|
153
|
+
padding: 12px 0
|
154
|
+
text-align: center
|
155
|
+
width: 49%
|
156
|
+
@include transition(color .2s ease-out)
|
157
|
+
|
158
|
+
footer a.primary, footer a:hover, footer button.primary, footer button:hover
|
159
|
+
color: #000
|
160
|
+
|
161
|
+
footer a.primary:hover, footer button.primary:hover
|
162
|
+
color: $primary-color
|
@@ -0,0 +1,62 @@
|
|
1
|
+
// Notifications
|
2
|
+
|
3
|
+
aside#notifications
|
4
|
+
bottom: 0
|
5
|
+
padding: 16px
|
6
|
+
position: fixed
|
7
|
+
right: 0
|
8
|
+
z-index: 100
|
9
|
+
|
10
|
+
.notification
|
11
|
+
background: $primary-color
|
12
|
+
border-radius: 3px
|
13
|
+
color: #fff
|
14
|
+
font-size: 16px
|
15
|
+
line-height: 24px
|
16
|
+
margin-top: 16px
|
17
|
+
padding: 16px 0
|
18
|
+
position: relative
|
19
|
+
width: 400px
|
20
|
+
@include animation-duration(.4s)
|
21
|
+
@include align-items(center)
|
22
|
+
@include display(flex)
|
23
|
+
|
24
|
+
.notification-message
|
25
|
+
overflow: hidden
|
26
|
+
@include flex(1)
|
27
|
+
|
28
|
+
.icon
|
29
|
+
text-align: center
|
30
|
+
min-width: 50px
|
31
|
+
width: 50px
|
32
|
+
|
33
|
+
a
|
34
|
+
color: #000
|
35
|
+
display: block
|
36
|
+
font-size: 11px
|
37
|
+
opacity: .2
|
38
|
+
text-align: center
|
39
|
+
width: 50px
|
40
|
+
|
41
|
+
&:hover
|
42
|
+
color: #000
|
43
|
+
opacity: .4
|
44
|
+
|
45
|
+
strong
|
46
|
+
font-weight: 600
|
47
|
+
|
48
|
+
small
|
49
|
+
display: block
|
50
|
+
font-size: 13px
|
51
|
+
font-weight: normal
|
52
|
+
margin-top: -4px
|
53
|
+
opacity: .6
|
54
|
+
|
55
|
+
&.notification-error
|
56
|
+
background: $error-color
|
57
|
+
|
58
|
+
&.notification-danger
|
59
|
+
background: $danger-color
|
60
|
+
|
61
|
+
&.notification-success
|
62
|
+
background: $success-color
|