simple-admin 0.1.0.pre.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +3 -0
  3. data/.gitattributes +1 -0
  4. data/.gitignore +17 -0
  5. data/.hound.yml +2 -0
  6. data/.inch.yml +4 -0
  7. data/.rspec +2 -0
  8. data/.rubocop.yml +68 -0
  9. data/.travis.yml +11 -0
  10. data/CODE_OF_CONDUCT.md +74 -0
  11. data/CONTRIBUTING.md +51 -0
  12. data/Gemfile +27 -0
  13. data/LICENSE.txt +21 -0
  14. data/README.md +87 -0
  15. data/Rakefile +20 -0
  16. data/app/assets/fonts/Simple-Line-Icons.woff +0 -0
  17. data/app/assets/javascripts/simple_admin/application.js +28 -0
  18. data/app/assets/stylesheets/simple_admin/application.scss +48 -0
  19. data/app/assets/stylesheets/simple_admin/global/buttons.css +473 -0
  20. data/app/assets/stylesheets/simple_admin/global/errors.css +12 -0
  21. data/app/assets/stylesheets/simple_admin/global/fontawesome-icons.css +3024 -0
  22. data/app/assets/stylesheets/simple_admin/global/fonts.css +560 -0
  23. data/app/assets/stylesheets/simple_admin/global/jquery.dataTables.css +169 -0
  24. data/app/assets/stylesheets/simple_admin/global/pagination.css +11 -0
  25. data/app/assets/stylesheets/simple_admin/global/reset.css +197 -0
  26. data/app/assets/stylesheets/simple_admin/global/simple-line-icons.css +672 -0
  27. data/app/assets/stylesheets/simple_admin/global/table.css +214 -0
  28. data/app/assets/stylesheets/simple_admin/global/tags.css +87 -0
  29. data/app/assets/stylesheets/simple_admin/page/aside.css +324 -0
  30. data/app/assets/stylesheets/simple_admin/page/header.css +332 -0
  31. data/app/assets/stylesheets/simple_admin/page/main-container.css +222 -0
  32. data/app/assets/stylesheets/simple_admin/page/sign_in.css +15 -0
  33. data/app/assets/stylesheets/simple_admin/tabs.css +26 -0
  34. data/app/controllers/simple_admin/admin/application_controller.rb +21 -0
  35. data/app/controllers/simple_admin/admin/search_controller.rb +29 -0
  36. data/app/controllers/simple_admin/admin/system/entities_controller.rb +37 -0
  37. data/app/controllers/simple_admin/admin/system/entity_field_types_controller.rb +31 -0
  38. data/app/controllers/simple_admin/admin/system/entity_fields_controller.rb +20 -0
  39. data/app/helpers/simple_admin_helper.rb +15 -0
  40. data/app/models/simple_admin/base.rb +14 -0
  41. data/app/models/simple_admin/entity.rb +50 -0
  42. data/app/models/simple_admin/entity_field.rb +77 -0
  43. data/app/models/simple_admin/entity_field_setting.rb +5 -0
  44. data/app/models/simple_admin/entity_field_type.rb +79 -0
  45. data/app/views/kaminari/_next_page.html.erb +5 -0
  46. data/app/views/kaminari/_page.html.erb +3 -0
  47. data/app/views/kaminari/_paginator.html.erb +26 -0
  48. data/app/views/kaminari/_prev_page.html.erb +5 -0
  49. data/app/views/layouts/devise.html.erb +11 -0
  50. data/app/views/layouts/simple_admin.html.erb +28 -0
  51. data/app/views/simple_admin/admin/resource/_form.html.erb +19 -0
  52. data/app/views/simple_admin/admin/resource/edit.html.erb +21 -0
  53. data/app/views/simple_admin/admin/resource/index.html.erb +13 -0
  54. data/app/views/simple_admin/admin/resource/new.html.erb +21 -0
  55. data/app/views/simple_admin/admin/search/index.html.erb +55 -0
  56. data/app/views/simple_admin/admin/shared/_aside.html.erb +46 -0
  57. data/app/views/simple_admin/admin/shared/_footer.html.erb +5 -0
  58. data/app/views/simple_admin/admin/shared/_header.html.erb +7 -0
  59. data/app/views/simple_admin/admin/shared/collection/_header.html.erb +12 -0
  60. data/app/views/simple_admin/admin/shared/collection/_table_body.html.erb +29 -0
  61. data/app/views/simple_admin/admin/shared/collection/_table_header.html.erb +11 -0
  62. data/app/views/simple_admin/admin/shared/components/_logout.html.erb +6 -0
  63. data/app/views/simple_admin/admin/shared/components/_search.html.erb +14 -0
  64. data/app/views/simple_admin/admin/shared/messages/_errors.html.erb +9 -0
  65. data/app/views/simple_admin/admin/shared/messages/_flash.html.erb +8 -0
  66. data/app/views/simple_admin/admin/system/entities/_form.html.erb +32 -0
  67. data/app/views/simple_admin/admin/system/entities/edit.html.erb +27 -0
  68. data/app/views/simple_admin/admin/system/entities/entity_fields/_form.html.erb +62 -0
  69. data/app/views/simple_admin/admin/system/entities/entity_fields/edit.html.erb +9 -0
  70. data/app/views/simple_admin/admin/system/entities/entity_fields/index.html.erb +39 -0
  71. data/app/views/simple_admin/admin/system/entities/entity_fields/new.html.erb +12 -0
  72. data/app/views/simple_admin/admin/system/entities/index.html.erb +59 -0
  73. data/app/views/simple_admin/admin/system/entities/new.html.erb +21 -0
  74. data/app/views/simple_admin/admin/system/entity_field_types/_form.html.erb +21 -0
  75. data/app/views/simple_admin/admin/system/entity_field_types/edit.html.erb +24 -0
  76. data/app/views/simple_admin/admin/system/entity_field_types/index.html.erb +55 -0
  77. data/app/views/simple_admin/admin/system/entity_field_types/new.html.erb +21 -0
  78. data/app/views/simple_admin/admin/system/entity_fields/create.js.erb +18 -0
  79. data/app/views/simple_admin/admin/system/entity_fields/destroy.js.erb +18 -0
  80. data/app/views/simple_admin/admin/system/entity_fields/update.js.erb +1 -0
  81. data/app/views/simple_admin/fields/boolean/_form.html.erb +6 -0
  82. data/app/views/simple_admin/fields/boolean/_index.html.erb +5 -0
  83. data/app/views/simple_admin/fields/image/_collection.html.erb +5 -0
  84. data/app/views/simple_admin/fields/image/_form.html.erb +6 -0
  85. data/app/views/simple_admin/fields/number/_collection.html.erb +5 -0
  86. data/app/views/simple_admin/fields/number/_form.html.erb +6 -0
  87. data/app/views/simple_admin/fields/password/_form.html.erb +6 -0
  88. data/app/views/simple_admin/fields/relation/_collection.html.erb +3 -0
  89. data/app/views/simple_admin/fields/relation/_form.html.erb +6 -0
  90. data/app/views/simple_admin/fields/select/_form.html.erb +8 -0
  91. data/app/views/simple_admin/fields/select/_index.html.erb +5 -0
  92. data/app/views/simple_admin/fields/string/_collection.html.erb +3 -0
  93. data/app/views/simple_admin/fields/string/_form.html.erb +6 -0
  94. data/app/views/simple_admin/fields/tags/_collection.html.erb +3 -0
  95. data/app/views/simple_admin/fields/tags/_form.html.erb +6 -0
  96. data/app/views/simple_admin/fields/text/_collection.html.erb +3 -0
  97. data/app/views/simple_admin/fields/text/_form.html.erb +6 -0
  98. data/bin/bundle +4 -0
  99. data/bin/rails +5 -0
  100. data/codecov.yml +21 -0
  101. data/config/locales/en.yml +23 -0
  102. data/config/locales/ru.yml +20 -0
  103. data/config/routes.rb +19 -0
  104. data/lib/generators/simple_admin/install_generator.rb +41 -0
  105. data/lib/generators/simple_admin/migration_generator.rb +24 -0
  106. data/lib/generators/templates/application_controller.rb +20 -0
  107. data/lib/generators/templates/initializers/simple_admin.rb.erb +3 -0
  108. data/lib/generators/templates/migrations/core_data_migration.rb +12 -0
  109. data/lib/generators/templates/migrations/core_migrations/entities_migration.rb +13 -0
  110. data/lib/generators/templates/migrations/core_migrations/entity_field_settings_migration.rb +12 -0
  111. data/lib/generators/templates/migrations/core_migrations/entity_field_types_migration.rb +12 -0
  112. data/lib/generators/templates/migrations/core_migrations/entity_fields_migration.rb +18 -0
  113. data/lib/generators/templates/user.rb +24 -0
  114. data/lib/generators/templates/views/devise/registrations/new.html.erb +46 -0
  115. data/lib/generators/templates/views/devise/sessions/new.html.erb +35 -0
  116. data/lib/generators/templates/views/devise/shared/_footer.html.erb +3 -0
  117. data/lib/simple_admin.rb +39 -0
  118. data/lib/simple_admin/config.rb +19 -0
  119. data/lib/simple_admin/engine.rb +15 -0
  120. data/lib/simple_admin/helpers/boolean_helper.rb +36 -0
  121. data/lib/simple_admin/helpers/url_helper.rb +29 -0
  122. data/lib/simple_admin/refinements/boolean.rb +36 -0
  123. data/lib/simple_admin/resource_controller/actions_builder.rb +40 -0
  124. data/lib/simple_admin/resource_controller/controller_builder.rb +31 -0
  125. data/lib/simple_admin/resource_controller/crudify.rb +111 -0
  126. data/lib/simple_admin/resource_controller/crudify_dynamic_resource.rb +55 -0
  127. data/lib/simple_admin/resource_controller/dynamic_fields.rb +53 -0
  128. data/lib/simple_admin/search.rb +23 -0
  129. data/lib/simple_admin/version.rb +3 -0
  130. data/simple_admin.gemspec +38 -0
  131. data/vendor/assets/fonts/Simple-Line-Icons.eot +0 -0
  132. data/vendor/assets/fonts/Simple-Line-Icons.ttf +0 -0
  133. data/vendor/assets/fonts/Simple-Line-Icons.woff +0 -0
  134. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  135. data/vendor/assets/fonts/fontawesome-webfont.svg +2671 -0
  136. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  137. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  138. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  139. metadata +307 -0
@@ -0,0 +1,332 @@
1
+
2
+ #header-navbar {
3
+ min-height: 60px;
4
+ background-color: #fff
5
+ }
6
+
7
+ #header-navbar:before,
8
+ #header-navbar:after {
9
+ content: " ";
10
+ display: table
11
+ }
12
+
13
+ #header-navbar:after {
14
+ clear: both
15
+ }
16
+
17
+ .header-navbar-fixed #header-navbar {
18
+ position: fixed;
19
+ top: 0;
20
+ right: 0;
21
+ left: 0;
22
+ z-index: 1030;
23
+ min-width: 320px;
24
+ -webkit-backface-visibility: hidden;
25
+ backface-visibility: hidden;
26
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
27
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02)
28
+ }
29
+
30
+ .header-navbar-fixed #main-container {
31
+ padding-top: 60px
32
+ }
33
+
34
+ @media screen and (min-width:992px) {
35
+ .header-navbar-fixed.sidebar-l.sidebar-o #header-navbar {
36
+ left: 230px
37
+ }
38
+ .header-navbar-fixed.sidebar-r.sidebar-o #header-navbar {
39
+ right: 230px
40
+ }
41
+ .header-navbar-fixed.sidebar-l.sidebar-o.sidebar-mini #header-navbar {
42
+ left: 60px
43
+ }
44
+ .header-navbar-fixed.sidebar-r.sidebar-o.sidebar-mini #header-navbar {
45
+ right: 60px
46
+ }
47
+ }
48
+
49
+ .header-navbar-transparent #header-navbar {
50
+ background-color: transparent;
51
+ -webkit-box-shadow: none;
52
+ box-shadow: none
53
+ }
54
+
55
+ .header-navbar-transparent.header-navbar-fixed.header-navbar-scroll #header-navbar {
56
+ background-color: #3e4a59
57
+ }
58
+
59
+ .header-navbar-transparent.header-navbar-fixed #main-container {
60
+ padding-top: 0
61
+ }
62
+
63
+ .nav-header {
64
+ margin: 0;
65
+ padding: 0;
66
+ list-style: none;
67
+ }
68
+
69
+ .nav-header:before,
70
+ .nav-header:after {
71
+ content: " ";
72
+ display: table
73
+ }
74
+
75
+ .nav-header:after {
76
+ clear: both
77
+ }
78
+
79
+ .nav-header>li {
80
+ margin-right: 12px;
81
+ float: left
82
+ }
83
+
84
+ .nav-header>li>a,
85
+ .nav-header>li>.btn-group>a {
86
+ padding: 0 12px;
87
+ display: block;
88
+ height: 34px;
89
+ line-height: 34px;
90
+ font-weight: 600
91
+ }
92
+
93
+ .nav-header.pull-right>li {
94
+ margin-right: 0;
95
+ margin-left: 12px;
96
+ float: left
97
+ }
98
+
99
+ .nav-header .header-content {
100
+ line-height: 34px
101
+ }
102
+
103
+ .nav-header .header-search {
104
+ width: 360px
105
+ }
106
+
107
+ @media screen and (max-width:767px) {
108
+ .nav-header .header-search {
109
+ display: none
110
+ }
111
+ .nav-header .header-search.header-search-xs-visible {
112
+ position: absolute;
113
+ top: 60px;
114
+ right: 0;
115
+ left: 0;
116
+ z-index: 999;
117
+ display: block;
118
+ width: 100%;
119
+ border-top: 1px solid #f9f9f9
120
+ }
121
+ .nav-header .header-search.header-search-xs-visible>form {
122
+ padding: 14px 14px;
123
+ background-color: #fff;
124
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
125
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02)
126
+ }
127
+ }
128
+
129
+ .nav-sub-header>li {
130
+ float: none !important;
131
+ margin: 0 0 7px !important
132
+ }
133
+
134
+ .nav-sub-header>li>a {
135
+ color: #3e4a59
136
+ }
137
+
138
+ .nav-sub-header>li>a>i {
139
+ opacity: .5
140
+ }
141
+
142
+ @media screen and (min-width:768px) {
143
+ .nav-sub-header>li {
144
+ float: left !important;
145
+ margin: 0 7px 0 0 !important
146
+ }
147
+ }
148
+
149
+ @media (max-width:767px) {
150
+ .nav-sub-header .open .dropdown-menu {
151
+ position: relative;
152
+ float: none;
153
+ width: auto;
154
+ margin-top: 0;
155
+ background-color: transparent;
156
+ border: 0;
157
+ -webkit-box-shadow: none;
158
+ box-shadow: none
159
+ }
160
+ .nav-sub-header .open .dropdown-menu .divider {
161
+ background-color: rgba(0, 0, 0, 0.05)
162
+ }
163
+ .nav-sub-header .open .dropdown-menu>li>a,
164
+ .nav-sub-header .open .dropdown-menu .dropdown-header {
165
+ padding: 5px 15px 5px 25px
166
+ }
167
+ .nav-sub-header .open .dropdown-menu>li>a {
168
+ line-height: 20px
169
+ }
170
+ .nav-sub-header .open .dropdown-menu>li>a:hover,
171
+ .nav-sub-header .dropdown-menu>li>a:focus {
172
+ background-image: none
173
+ }
174
+ }
175
+
176
+ .form-material {
177
+ position: relative;
178
+ margin: 10px 0 10px
179
+ }
180
+
181
+ .form-material>label,
182
+ .form-material.floating>.form-control:focus+label,
183
+ .form-material.floating.open>label {
184
+ position: absolute;
185
+ top: 6px;
186
+ left: 0;
187
+ font-size: 13px;
188
+ font-weight: 600;
189
+ -webkit-transform: translateY(-24px);
190
+ -ms-transform: translateY(-24px);
191
+ transform: translateY(-24px)
192
+ }
193
+
194
+ .form-material.floating>.form-control:-webkit-autofill+label {
195
+ font-size: 13px;
196
+ font-weight: 600;
197
+ cursor: default;
198
+ -webkit-transform: translateY(-24px);
199
+ -ms-transform: translateY(-24px);
200
+ transform: translateY(-24px)
201
+ }
202
+
203
+ .form-material.floating>label {
204
+ font-size: 15px;
205
+ font-weight: 400;
206
+ cursor: text;
207
+ z-index: 10;
208
+ -webkit-transition: all .15s ease-out;
209
+ transition: all .15s ease-out;
210
+ -webkit-transform: translateY(-24px);
211
+ -ms-transform: translateY(-24px);
212
+ transform: translateY(-24px)
213
+ }
214
+
215
+ .form-material.floating>.form-control[disabled]+label,
216
+ .form-material.floating>.form-control[readonly]+label,
217
+ fieldset[disabled] .form-material.floating>label {
218
+ cursor: not-allowed
219
+ }
220
+
221
+ .form-material>.form-control {
222
+ padding-left: 0;
223
+ padding-right: 0;
224
+ border: 0;
225
+ border-radius: 0;
226
+ background-color: transparent;
227
+ -webkit-box-shadow: 0 1px 0 #e6e6e6;
228
+ box-shadow: 0 1px 0 #e6e6e6
229
+ }
230
+
231
+ .form-material>.form-control:focus {
232
+ background-color: transparent;
233
+ -webkit-box-shadow: 0 2px 0 #646464;
234
+ box-shadow: 0 2px 0 #646464
235
+ }
236
+
237
+ .form-material>.form-control:focus+label {
238
+ color: #646464
239
+ }
240
+
241
+ .form-material>.form-control:focus~.input-group-addon {
242
+ -webkit-box-shadow: 0 2px 0 #646464;
243
+ box-shadow: 0 2px 0 #646464
244
+ }
245
+
246
+ .form-material .form-control[disabled],
247
+ .form-material .form-control[readonly],
248
+ .form-material fieldset[disabled] .form-control {
249
+ background-color: #fff;
250
+ border-bottom: 1px dashed #ccc;
251
+ -webkit-box-shadow: none;
252
+ box-shadow: none
253
+ }
254
+
255
+ .form-material.input-group .input-group-addon {
256
+ border: none;
257
+ background-color: transparent;
258
+ border-radius: 0 !important;
259
+ -webkit-box-shadow: 0 1px 0 #e6e6e6;
260
+ box-shadow: 0 1px 0 #e6e6e6;
261
+ -webkit-transition: all .15s ease-out;
262
+ transition: all .15s ease-out
263
+ }
264
+
265
+ .form-material.form-material-primary>.form-control:focus {
266
+ -webkit-box-shadow: 0 2px 0 #5c90d2;
267
+ box-shadow: 0 2px 0 #5c90d2
268
+ }
269
+
270
+ .form-material.form-material-primary>.form-control:focus+label {
271
+ color: #5c90d2
272
+ }
273
+
274
+ .form-material.form-material-primary>.form-control:focus~.input-group-addon {
275
+ color: #5c90d2;
276
+ -webkit-box-shadow: 0 2px 0 #5c90d2;
277
+ box-shadow: 0 2px 0 #5c90d2
278
+ }
279
+
280
+ .form-material.form-material-success>.form-control:focus {
281
+ -webkit-box-shadow: 0 2px 0 #46c37b;
282
+ box-shadow: 0 2px 0 #46c37b
283
+ }
284
+
285
+ .form-material.form-material-success>.form-control:focus+label {
286
+ color: #46c37b
287
+ }
288
+
289
+ .form-material.form-material-success>.form-control:focus~.input-group-addon {
290
+ color: #46c37b;
291
+ -webkit-box-shadow: 0 2px 0 #46c37b;
292
+ box-shadow: 0 2px 0 #46c37b
293
+ }
294
+
295
+ .form-material.form-material-info>.form-control:focus {
296
+ -webkit-box-shadow: 0 2px 0 #70b9eb;
297
+ box-shadow: 0 2px 0 #70b9eb
298
+ }
299
+
300
+ .form-material.form-material-info>.form-control:focus+label {
301
+ color: #70b9eb
302
+ }
303
+
304
+ .form-material.form-material-info>.form-control:focus~.input-group-addon {
305
+ color: #70b9eb;
306
+ -webkit-box-shadow: 0 2px 0 #70b9eb;
307
+ box-shadow: 0 2px 0 #70b9eb
308
+ }
309
+
310
+ .form-material.form-material-warning>.form-control:focus {
311
+ -webkit-box-shadow: 0 2px 0 #f3b760;
312
+ box-shadow: 0 2px 0 #f3b760
313
+ }
314
+
315
+ .form-material.form-material-warning>.form-control:focus+label {
316
+ color: #f3b760
317
+ }
318
+
319
+ .form-material.form-material-warning>.form-control:focus~.input-group-addon {
320
+ color: #f3b760;
321
+ -webkit-box-shadow: 0 2px 0 #f3b760;
322
+ box-shadow: 0 2px 0 #f3b760
323
+ }
324
+
325
+ .form-material.form-material-danger>.form-control:focus {
326
+ -webkit-box-shadow: 0 2px 0 #d26a5c;
327
+ box-shadow: 0 2px 0 #d26a5c
328
+ }
329
+
330
+ .form-material.form-material-danger>.form-control:focus+label {
331
+ color: #d26a5c
332
+ }
@@ -0,0 +1,222 @@
1
+ #main-container,
2
+ #page-footer {
3
+ overflow-x: hidden
4
+ }
5
+
6
+ #main-container {
7
+ background-color: #f5f5f5
8
+ }
9
+
10
+ .content {
11
+ margin: 0 auto;
12
+ padding: 16px 14px 1px;
13
+ max-width: 100%;
14
+ overflow-x: visible
15
+ }
16
+
17
+ .content p,
18
+ .content .push,
19
+ .content .block,
20
+ .content .items-push>div {
21
+ margin-bottom: 16px
22
+ }
23
+
24
+ .content .items-push-2x>div {
25
+ margin-bottom: 32px
26
+ }
27
+
28
+ .content .items-push-3x>div {
29
+ margin-bottom: 48px
30
+ }
31
+
32
+ .content.content-full {
33
+ padding-bottom: 16px
34
+ }
35
+
36
+ .content.content-full .pull-b {
37
+ margin-bottom: -16px
38
+ }
39
+
40
+ .content .pull-t {
41
+ margin-top: -16px
42
+ }
43
+
44
+ .content .pull-r-l {
45
+ margin-right: -14px;
46
+ margin-left: -14px
47
+ }
48
+
49
+ .content .pull-b {
50
+ margin-bottom: -1px
51
+ }
52
+
53
+ @media screen and (min-width:768px) {
54
+ .content {
55
+ margin: 0 auto;
56
+ padding: 30px 30px 1px;
57
+ max-width: 100%;
58
+ overflow-x: visible
59
+ }
60
+ .content p,
61
+ .content .push,
62
+ .content .block,
63
+ .content .items-push>div {
64
+ margin-bottom: 30px
65
+ }
66
+ .content .items-push-2x>div {
67
+ margin-bottom: 60px
68
+ }
69
+ .content .items-push-3x>div {
70
+ margin-bottom: 90px
71
+ }
72
+ .content.content-full {
73
+ padding-bottom: 30px
74
+ }
75
+ .content.content-full .pull-b {
76
+ margin-bottom: -30px
77
+ }
78
+ .content .pull-t {
79
+ margin-top: -30px
80
+ }
81
+ .content .pull-r-l {
82
+ margin-right: -30px;
83
+ margin-left: -30px
84
+ }
85
+ .content .pull-b {
86
+ margin-bottom: -1px
87
+ }
88
+ .content.content-boxed {
89
+ max-width: 1280px
90
+ }
91
+ .content.content-narrow {
92
+ max-width: 95%
93
+ }
94
+ }
95
+
96
+ .content-grid {
97
+ margin-bottom: 24px
98
+ }
99
+
100
+ .content-grid .push,
101
+ .content-grid .block {
102
+ margin-bottom: 6px
103
+ }
104
+
105
+ .content-grid .row {
106
+ margin-left: -3px;
107
+ margin-right: -3px
108
+ }
109
+
110
+ .content-grid .row>div[class*="col"] {
111
+ padding-left: 3px;
112
+ padding-right: 3px
113
+ }
114
+
115
+ .content-mini {
116
+ margin: 0 auto;
117
+ padding: 13px 14px 1px;
118
+ max-width: 100%;
119
+ overflow-x: visible
120
+ }
121
+
122
+ .content-mini p,
123
+ .content-mini .push,
124
+ .content-mini .block,
125
+ .content-mini .items-push>div {
126
+ margin-bottom: 13px
127
+ }
128
+
129
+ .content-mini .items-push-2x>div {
130
+ margin-bottom: 26px
131
+ }
132
+
133
+ .content-mini .items-push-3x>div {
134
+ margin-bottom: 39px
135
+ }
136
+
137
+ .content-mini.content-mini-full {
138
+ padding-bottom: 13px
139
+ }
140
+
141
+ .content-mini.content-mini-full .pull-b {
142
+ margin-bottom: -13px
143
+ }
144
+
145
+ .content-mini .pull-t {
146
+ margin-top: -13px
147
+ }
148
+
149
+ .content-mini .pull-r-l {
150
+ margin-right: -14px;
151
+ margin-left: -14px
152
+ }
153
+
154
+ .content-mini .pull-b {
155
+ margin-bottom: -1px
156
+ }
157
+
158
+ @media screen and (min-width:768px) {
159
+ .content-mini {
160
+ margin: 0 auto;
161
+ padding: 13px 30px 1px;
162
+ max-width: 100%;
163
+ overflow-x: visible
164
+ }
165
+ .content-mini p,
166
+ .content-mini .push,
167
+ .content-mini .block,
168
+ .content-mini .items-push>div {
169
+ margin-bottom: 13px
170
+ }
171
+ .content-mini .items-push-2x>div {
172
+ margin-bottom: 26px
173
+ }
174
+ .content-mini .items-push-3x>div {
175
+ margin-bottom: 39px
176
+ }
177
+ .content-mini.content-mini-full {
178
+ padding-bottom: 13px
179
+ }
180
+ .content-mini.content-mini-full .pull-b {
181
+ margin-bottom: -13px
182
+ }
183
+ .content-mini .pull-t {
184
+ margin-top: -13px
185
+ }
186
+ .content-mini .pull-r-l {
187
+ margin-right: -30px;
188
+ margin-left: -30px
189
+ }
190
+ .content-mini .pull-b {
191
+ margin-bottom: -1px
192
+ }
193
+ }
194
+
195
+ .content-boxed {
196
+ margin: 0 auto;
197
+ width: 100%;
198
+ max-width: 1280px
199
+ }
200
+
201
+ .page-heading {
202
+ color: #545454;
203
+ font-size: 28px;
204
+ font-weight: 400;
205
+ line-height: 1.24;
206
+ }
207
+
208
+ .block {
209
+ margin-bottom: 30px;
210
+ background-color: #fff;
211
+ -webkit-box-shadow: 0 2px rgba(0, 0, 0, 0.01);
212
+ box-shadow: 0 2px rgba(0, 0, 0, 0.01);
213
+ }
214
+
215
+ .block-content {
216
+ margin: 0 auto;
217
+ padding: 20px 20px 1px;
218
+ max-width: 100%;
219
+ overflow-x: visible;
220
+ -webkit-transition: opacity .2s ease-out;
221
+ transition: opacity 0.2s ease-out;
222
+ }