rademade_admin 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  3. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  4. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  5. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  6. data/app/assets/images/rademade_admin/ico/btn-attach.png +0 -0
  7. data/app/assets/images/rademade_admin/logos/logo.png +0 -0
  8. data/app/assets/javascripts/rademade_admin.coffee +8 -4
  9. data/app/assets/javascripts/rademade_admin/app/app.coffee +2 -1
  10. data/app/assets/javascripts/rademade_admin/app/common/datetime-picker.coffee +7 -0
  11. data/app/assets/javascripts/rademade_admin/app/common/dnd-sort.coffee +23 -32
  12. data/app/assets/javascripts/rademade_admin/app/common/droplist.coffee +8 -0
  13. data/app/assets/javascripts/rademade_admin/app/common/lang-panel.coffee +6 -0
  14. data/app/assets/javascripts/rademade_admin/app/common/related-index.coffee +6 -9
  15. data/app/assets/javascripts/rademade_admin/app/common/sort-list.coffee +10 -14
  16. data/app/assets/javascripts/rademade_admin/app/common/uploader.coffee +3 -3
  17. data/app/assets/javascripts/rademade_admin/app/form-popup/initializer.coffee +24 -37
  18. data/app/assets/javascripts/rademade_admin/app/form-popup/view.coffee +32 -18
  19. data/app/assets/javascripts/rademade_admin/app/forms/remove.coffee +4 -3
  20. data/app/assets/javascripts/rademade_admin/app/select2/model.coffee +7 -0
  21. data/app/assets/javascripts/rademade_admin/app/select2/related/collection-view.coffee +35 -0
  22. data/app/assets/javascripts/rademade_admin/app/select2/related/collection.coffee +28 -0
  23. data/app/assets/javascripts/rademade_admin/app/select2/related/model.coffee +15 -0
  24. data/app/assets/javascripts/rademade_admin/app/select2/related/view.coffee +40 -0
  25. data/app/assets/javascripts/rademade_admin/app/select2/view.coffee +78 -0
  26. data/app/assets/javascripts/rademade_admin/form/form-ajax.coffee +48 -0
  27. data/app/assets/javascripts/rademade_admin/form/form-initializater.coffee +45 -0
  28. data/app/assets/javascripts/rademade_admin/form/form-validation.coffee +42 -0
  29. data/app/assets/javascripts/rademade_admin/form/form.coffee +62 -0
  30. data/app/assets/javascripts/rademade_admin/library/ckeditor/config.js +14 -12
  31. data/app/assets/stylesheets/{rademade_admin/bootstrap → old/-bootstrap}/bootstrap-overrides.css.erb +0 -0
  32. data/app/assets/stylesheets/{rademade_admin/bootstrap → old/-bootstrap}/main.scss.erb +0 -0
  33. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/chart-showcase.scss.erb +0 -0
  34. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/datatables.scss.erb +0 -0
  35. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/elements.scss.erb +0 -0
  36. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/error.scss.erb +0 -0
  37. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/form-showcase.scss.erb +0 -0
  38. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/form-wizard.scss.erb +0 -0
  39. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/gallery.scss.erb +0 -0
  40. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/grids.scss.erb +0 -0
  41. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/icons.scss.erb +0 -0
  42. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/index.scss.erb +0 -0
  43. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/layout.scss.erb +0 -0
  44. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/new-user.scss.erb +0 -0
  45. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/personal-info.scss.erb +0 -0
  46. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/popup.scss.erb +0 -0
  47. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/signin.scss.erb +0 -0
  48. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/tables.scss.erb +0 -0
  49. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/ui-elements.scss.erb +0 -0
  50. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/user-list.scss.erb +0 -0
  51. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/user-profile.scss.erb +0 -0
  52. data/app/assets/stylesheets/{rademade_admin/detail_admin → old/-detail_admin}/web-app-icons.scss.erb +0 -0
  53. data/app/assets/stylesheets/{rademade_admin/lib → old/-lib}/bootstrap.datepicker.css.erb +0 -0
  54. data/app/assets/stylesheets/{rademade_admin/lib → old/-lib}/morris.css.erb +0 -0
  55. data/app/assets/stylesheets/{rademade_admin → old}/base.scss.erb +0 -0
  56. data/app/assets/stylesheets/{rademade_admin → old}/edit.css +0 -0
  57. data/app/assets/stylesheets/{rademade_admin → old}/file-upload.scss.erb +0 -0
  58. data/app/assets/stylesheets/{rademade_admin → old}/notifier.custom.css.erb +0 -0
  59. data/app/assets/stylesheets/{rademade_admin → old}/scaffolds.scss.erb +0 -0
  60. data/app/assets/stylesheets/rademade_admin.sass.erb +96 -0
  61. data/app/assets/stylesheets/rademade_admin/base/main.sass +71 -0
  62. data/app/assets/stylesheets/rademade_admin/blocks/buttons/main.sass +81 -0
  63. data/app/assets/stylesheets/rademade_admin/blocks/form/input.sass +29 -0
  64. data/app/assets/stylesheets/rademade_admin/blocks/form/label.sass +31 -0
  65. data/app/assets/stylesheets/rademade_admin/blocks/form/select.sass +26 -0
  66. data/app/assets/stylesheets/rademade_admin/blocks/form/select2.sass +67 -0
  67. data/app/assets/stylesheets/rademade_admin/blocks/form/table.sass +42 -0
  68. data/app/assets/stylesheets/rademade_admin/blocks/form/texarea.sass +20 -0
  69. data/app/assets/stylesheets/rademade_admin/blocks/header/_logo.sass +7 -0
  70. data/app/assets/stylesheets/rademade_admin/blocks/header/_menu.sass +80 -0
  71. data/app/assets/stylesheets/rademade_admin/blocks/header/_search.sass +37 -0
  72. data/app/assets/stylesheets/rademade_admin/blocks/page/content/_main.sass +11 -0
  73. data/app/assets/stylesheets/rademade_admin/blocks/page/headline/main.sass +44 -0
  74. data/app/assets/stylesheets/rademade_admin/blocks/page/menu/_main.sass +31 -0
  75. data/app/assets/stylesheets/rademade_admin/lib/datepicker.sass +373 -0
  76. data/app/assets/stylesheets/rademade_admin/lib/glyphicon.sass.erb +618 -0
  77. data/app/assets/stylesheets/rademade_admin/lib/notifier.css.erb +661 -0
  78. data/app/assets/stylesheets/rademade_admin/lib/uploader.sass +66 -0
  79. data/app/assets/stylesheets/rademade_admin/mixins/clear.sass +5 -0
  80. data/app/assets/stylesheets/rademade_admin/mixins/fonts.sass +8 -0
  81. data/app/assets/stylesheets/rademade_admin/mixins/sprite.sass +7 -0
  82. data/app/assets/stylesheets/rademade_admin/mixins/text-overflow.sass +6 -0
  83. data/app/assets/stylesheets/rademade_admin/mixins/user-select.sass +5 -0
  84. data/app/assets/stylesheets/rademade_admin/modules/breadcrumbs/main.sass +30 -0
  85. data/app/assets/stylesheets/rademade_admin/modules/errors/error.sass.erb +19 -0
  86. data/app/assets/stylesheets/rademade_admin/modules/form/main.sass +15 -0
  87. data/app/assets/stylesheets/rademade_admin/modules/header/main.sass +6 -0
  88. data/app/assets/stylesheets/rademade_admin/modules/login/_main.sass +79 -0
  89. data/app/assets/stylesheets/rademade_admin/modules/main-menu/main.sass +0 -0
  90. data/app/assets/stylesheets/rademade_admin/modules/page/main.sass +16 -0
  91. data/app/assets/stylesheets/rademade_admin/modules/pagination/main.sass +51 -0
  92. data/app/assets/stylesheets/rademade_admin/modules/popup/new.sass +18 -0
  93. data/app/assets/stylesheets/rademade_admin/var/colors.sass +0 -0
  94. data/app/assets/stylesheets/rademade_admin/var/images.sass +2 -0
  95. data/app/assets/stylesheets/rademade_admin/var/width.sass +13 -0
  96. data/app/controllers/rademade_admin/abstract_controller.rb +18 -2
  97. data/app/controllers/rademade_admin/application_controller.rb +1 -1
  98. data/app/controllers/rademade_admin/dashboard_controller.rb +1 -1
  99. data/app/controllers/rademade_admin/file_controller.rb +25 -0
  100. data/app/controllers/rademade_admin/model_controller.rb +66 -47
  101. data/app/controllers/rademade_admin/sessions_controller.rb +3 -3
  102. data/app/helpers/rademade_admin/field_helper.rb +21 -32
  103. data/app/helpers/rademade_admin/form_helper.rb +57 -27
  104. data/app/helpers/rademade_admin/menu_helper.rb +12 -5
  105. data/app/helpers/rademade_admin/uri_helper.rb +50 -62
  106. data/app/inputs/rademade_admin/date_time_input.rb +13 -0
  107. data/app/inputs/rademade_admin/file_input.rb +72 -0
  108. data/app/inputs/rademade_admin/related_select_input.rb +78 -0
  109. data/app/serializers/autocomplete/link_serializer.rb +6 -4
  110. data/app/services/linker.rb +8 -14
  111. data/app/services/login.rb +5 -3
  112. data/app/services/model_controller/breadcrumbs.rb +36 -0
  113. data/app/services/model_controller/instance_options.rb +7 -5
  114. data/app/services/model_controller/model_options.rb +10 -7
  115. data/app/services/model_controller/notifier.rb +10 -6
  116. data/app/services/model_controller/templates.rb +4 -3
  117. data/app/services/relation_service.rb +11 -0
  118. data/app/services/saver.rb +59 -24
  119. data/app/services/search/conditions/abstract.rb +15 -14
  120. data/app/services/search/conditions/autocomplete.rb +11 -9
  121. data/app/services/search/conditions/list.rb +6 -5
  122. data/app/services/search/conditions/related_list.rb +17 -13
  123. data/app/services/search/{conditions/part/where.rb → part/abstract.rb} +7 -9
  124. data/app/services/search/part/order.rb +17 -0
  125. data/app/services/search/part/where.rb +19 -0
  126. data/app/services/sortable_service.rb +27 -27
  127. data/app/services/template_service.rb +68 -0
  128. data/app/services/upload/preview_service.rb +86 -0
  129. data/app/views/layouts/rademade_admin.html.erb +13 -4
  130. data/app/views/rademade_admin/_blocks/_header.html.erb +35 -28
  131. data/app/views/rademade_admin/_blocks/_menu.html.erb +20 -23
  132. data/app/views/rademade_admin/_blocks/_on_page_select.html.erb +15 -0
  133. data/app/views/rademade_admin/_blocks/_pagination.html.erb +1 -18
  134. data/app/views/rademade_admin/_blocks/_sub_menu.html.erb +3 -3
  135. data/app/views/rademade_admin/_blocks/form/_control.html.erb +3 -0
  136. data/app/views/rademade_admin/_blocks/form/_lang_panel.html.erb +19 -0
  137. data/app/views/rademade_admin/_blocks/sub_menu/_link.html.erb +6 -5
  138. data/app/views/rademade_admin/_blocks/table/_head.html.erb +13 -0
  139. data/app/views/rademade_admin/_layouts/inner.html.erb +21 -33
  140. data/app/views/rademade_admin/_layouts/inner/form.html.erb +6 -13
  141. data/app/views/rademade_admin/_layouts/inner/index_table.html.erb +31 -55
  142. data/app/views/rademade_admin/_layouts/inner/related_index_table.html.erb +26 -54
  143. data/app/views/rademade_admin/abstract/_form.html.erb +6 -9
  144. data/app/views/rademade_admin/abstract/edit.html.erb +3 -8
  145. data/app/views/rademade_admin/abstract/index.html.erb +38 -67
  146. data/app/views/rademade_admin/abstract/new.html.erb +3 -8
  147. data/app/views/rademade_admin/abstract/related.html.erb +48 -0
  148. data/app/views/rademade_admin/dashboard/index.html.erb +4 -5
  149. data/app/views/rademade_admin/dashboard/login.html.erb +19 -30
  150. data/config/initializers/carrier_wave/mongoid.rb +48 -0
  151. data/config/initializers/ckeditor.rb +3 -0
  152. data/config/initializers/kaminari_route_proxy.rb +16 -0
  153. data/config/initializers/simple_form.rb +147 -0
  154. data/config/initializers/simple_form/rademade_component.rb +9 -0
  155. data/config/initializers/simple_form/wrappers.rb +28 -0
  156. data/config/locales/rademade_admin.en.yml +28 -0
  157. data/config/locales/simple_form.en.yml +26 -0
  158. data/config/routes.rb +1 -2
  159. data/lib/rademade_admin.rb +7 -5
  160. data/lib/rademade_admin/bower/performer.rb +1 -1
  161. data/lib/rademade_admin/breadcrumbs/render/rademade.rb +31 -0
  162. data/lib/rademade_admin/engine.rb +2 -2
  163. data/lib/rademade_admin/input/related_select_input/model_data.rb +40 -0
  164. data/lib/rademade_admin/input/related_select_input/related_list.rb +60 -0
  165. data/lib/rademade_admin/model/adapter/data.rb +119 -0
  166. data/lib/rademade_admin/model/adapter/data/active_record.rb +109 -0
  167. data/lib/rademade_admin/model/adapter/data/mongoid.rb +77 -0
  168. data/{app/services/search/query_adapter/abstract.rb → lib/rademade_admin/model/adapter/query.rb} +15 -5
  169. data/lib/rademade_admin/model/adapter/query/active_record.rb +50 -0
  170. data/lib/rademade_admin/model/adapter/query/mongoid.rb +57 -0
  171. data/lib/rademade_admin/model/configuration.rb +43 -16
  172. data/lib/rademade_admin/model/configuration/field_label.rb +16 -0
  173. data/lib/rademade_admin/model/configuration/fields.rb +47 -21
  174. data/lib/rademade_admin/model/configuration/fields_labels.rb +31 -0
  175. data/lib/rademade_admin/model/configuration/form_field.rb +27 -0
  176. data/lib/rademade_admin/model/configuration/form_fields.rb +18 -0
  177. data/lib/rademade_admin/model/configuration/list_field.rb +21 -0
  178. data/lib/rademade_admin/model/configuration/list_fields.rb +18 -0
  179. data/lib/rademade_admin/model/graph.rb +9 -9
  180. data/lib/rademade_admin/model/info.rb +53 -68
  181. data/lib/rademade_admin/model/info/data_item.rb +130 -0
  182. data/lib/rademade_admin/model/info/data_items.rb +130 -0
  183. data/lib/rademade_admin/model/info/field.rb +39 -0
  184. data/lib/rademade_admin/model/info/fields.rb +87 -0
  185. data/lib/rademade_admin/model/info/relation.rb +49 -0
  186. data/lib/rademade_admin/model/info/relations.rb +40 -0
  187. data/lib/rademade_admin/model/info/uploader.rb +16 -0
  188. data/lib/rademade_admin/model/info/uploaders.rb +35 -0
  189. data/lib/rademade_admin/model/reflection.rb +38 -9
  190. data/lib/rademade_admin/routing/mapper.rb +9 -5
  191. data/lib/rademade_admin/search/searcher.rb +22 -0
  192. data/lib/rademade_admin/sortable.rb +1 -0
  193. data/lib/rademade_admin/uploader/photo.rb +1 -0
  194. data/lib/rademade_admin/user.rb +7 -6
  195. data/lib/rademade_admin/version.rb +1 -1
  196. data/lib/tasks/rademade_bower_install.rake +10 -2
  197. data/lib/templates/erb/scaffold/_form.html.erb +13 -0
  198. metadata +195 -109
  199. data/app/assets/javascripts/rademade_admin/app/common/relation-list.coffee +0 -109
  200. data/app/assets/javascripts/rademade_admin/app/form-popup/collection.coffee +0 -20
  201. data/app/assets/javascripts/rademade_admin/app/form-popup/model.coffee +0 -4
  202. data/app/assets/javascripts/rademade_admin/detail_admin/theme.js +0 -56
  203. data/app/assets/javascripts/rademade_admin/form/form-ajax-submit.coffee +0 -157
  204. data/app/assets/stylesheets/rademade_admin.scss.erb +0 -19
  205. data/app/helpers/rademade_admin/name_helper.rb +0 -18
  206. data/app/helpers/rademade_admin/upload_preview_helper.rb +0 -60
  207. data/app/inputs/rademade_admin/admin_file_input.rb +0 -71
  208. data/app/inputs/rademade_admin/admin_select_input.rb +0 -82
  209. data/app/inputs/rademade_admin/admin_textarea_input.rb +0 -6
  210. data/app/inputs/rademade_admin/boolean_input.rb +0 -14
  211. data/app/services/form_builder.rb +0 -4
  212. data/app/services/search/query_adapter/active_record.rb +0 -45
  213. data/app/services/search/query_adapter/mongoid.rb +0 -51
  214. data/app/services/search/searcher.rb +0 -20
  215. data/app/views/rademade_admin/_blocks/_form_control.html.erb +0 -5
  216. data/app/views/rademade_admin/abstract/related_index.html.erb +0 -85
  217. data/config/initializers/devise.rb +0 -251
  218. data/config/initializers/formtastic.rb +0 -13
  219. data/lib/rademade_admin/model/data_adapter.rb +0 -64
  220. data/lib/rademade_admin/model/data_adapter/active_record.rb +0 -59
  221. data/lib/rademade_admin/model/data_adapter/mongoid.rb +0 -54
  222. data/lib/rademade_admin/model/reflection/data.rb +0 -48
  223. data/lib/rademade_admin/model/reflection/uploader.rb +0 -18
@@ -0,0 +1,31 @@
1
+ .form-box
2
+ .form-label
3
+ float: left
4
+ position: relative
5
+ margin-right: 20px
6
+ padding-top: 10px
7
+ width: 265px
8
+ text-align: left
9
+ font-size: 14px
10
+ color: #555
11
+ &:after
12
+ position: absolute
13
+ top: 17px
14
+ left: 0
15
+ z-index: 1
16
+ content: " "
17
+ height: 1px
18
+ width: 100%
19
+ background-color: #bdc3c7
20
+ .text
21
+ display: inline-block
22
+ position: relative
23
+ z-index: 2
24
+ padding-right: 10px
25
+ margin-bottom: 5px
26
+ background-color: #ecf0f1
27
+ +to
28
+ .sign
29
+ display: block
30
+ font-size: 11px
31
+ color: #555
@@ -0,0 +1,26 @@
1
+ .select-list
2
+ margin-bottom: 20px
3
+ .select-list-text
4
+ margin-right: 10px
5
+ font-size: 12px
6
+ line-height: 28px
7
+ .form-box
8
+ .input-holder
9
+ select
10
+ display: block
11
+ width: 100%
12
+ height: 34px
13
+ padding: 6px 12px
14
+ font-size: 14px
15
+ color: #555
16
+ background-color: #fff
17
+ background-image: none
18
+ border: 1px solid #ccc
19
+ +box-sizing(border-box)
20
+ +border-radius(4px)
21
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075))
22
+ +transition(border-color ease-in-out .15s,box-shadow ease-in-out .15s)
23
+ &:focus
24
+ border-color: #66afe9
25
+ outline: 0
26
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6))
@@ -0,0 +1,67 @@
1
+ .form-box
2
+ .input-holder
3
+ .select2-container
4
+ width: 100%
5
+ height: 34px
6
+ margin-bottom: 10px
7
+ .select2-choices
8
+ padding: 0
9
+ display: block
10
+ width: 100%
11
+ font-size: 14px
12
+ color: #555
13
+ background-color: #fff
14
+ background-image: none
15
+ border: 1px solid #ccc
16
+ +box-sizing(border-box)
17
+ +border-radius(4px)
18
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075))
19
+ +transition(border-color ease-in-out .15s,box-shadow ease-in-out .15s)
20
+ &:focus
21
+ border-color: #66afe9
22
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6))
23
+
24
+ .select2-search-choice
25
+ display: none
26
+
27
+ .select2-search-field
28
+ height: 34px
29
+
30
+ input[type="text"]
31
+ border: 0
32
+ padding: 4px 12px
33
+ &:focus
34
+ outline: 0
35
+ +box-shadow(none)
36
+
37
+ .select2-choice
38
+ height: 34px
39
+ background-color: #fff
40
+ background-image: none
41
+ border: 1px solid #ccc
42
+ .select2-chosen
43
+ height: 34px
44
+ line-height: 34px
45
+ font-size: 14px
46
+ .select2-arrow
47
+ b
48
+ background-position: 0 4px
49
+
50
+
51
+ .select2-items-list
52
+ float: left
53
+ margin-top: 15px
54
+ width: 100%
55
+ border-top: 1px solid #bdc3c7
56
+ li
57
+ padding: 10px 0
58
+ font-size: 14px
59
+ line-height: 24px
60
+ border-bottom: 1px solid #bdc3c7
61
+ +clear
62
+ span
63
+ float: left
64
+ width: 63%
65
+ +to
66
+ button
67
+ float: right
@@ -0,0 +1,42 @@
1
+ .table-box
2
+ width: 100%
3
+
4
+ .table-line
5
+ border-bottom: 1px solid #ddd
6
+
7
+ .table-header
8
+ .table-item
9
+ font-size: 15px
10
+ font-weight: bold
11
+
12
+ .table-item
13
+ padding: 10px 20px 10px 0
14
+ font-size: 14px
15
+
16
+ .table-actions
17
+ display: inline-block
18
+ +clear
19
+
20
+ .glyphicon
21
+ float: left
22
+ padding: 5px 0 0 0
23
+ font-size: 16px
24
+ line-height: 16px
25
+ margin-right: 10px
26
+ color: #000000
27
+ &:hover
28
+ color: #3071a9
29
+ &.glyphicon-remove
30
+ position: relative
31
+ width: 20px
32
+ height: 16px
33
+ overflow: hidden
34
+
35
+ .delete-item-form
36
+ float: left
37
+ input
38
+ position: absolute
39
+ top: 0
40
+ left: 0
41
+ opacity: 0
42
+ cursor: pointer
@@ -0,0 +1,20 @@
1
+ .form-box
2
+ .input-holder
3
+ textarea
4
+ display: block
5
+ width: 100%
6
+ height: 100px
7
+ padding: 6px 12px
8
+ font-size: 14px
9
+ color: #555
10
+ background-color: #fff
11
+ background-image: none
12
+ border: 1px solid #ccc
13
+ +box-sizing(border-box)
14
+ +border-radius(4px)
15
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075))
16
+ +transition(border-color ease-in-out .15s,box-shadow ease-in-out .15s)
17
+ &:focus
18
+ border-color: #66afe9
19
+ outline: 0
20
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6))
@@ -0,0 +1,7 @@
1
+ .header
2
+ .header-logo
3
+ margin-right: 30px
4
+ height: 20px
5
+ padding: 15px 0
6
+ img
7
+ display: inline-block
@@ -0,0 +1,80 @@
1
+ .header-menu
2
+
3
+ .menu-item
4
+ position: relative
5
+ float: left
6
+ &.clicked
7
+ .menu-link
8
+ color: #fff
9
+ background-color: #2c3e50
10
+
11
+ .menu-link
12
+ display: block
13
+ position: relative
14
+ float: left
15
+ padding: 0 15px
16
+ line-height: 50px
17
+ color: #9FA7B0
18
+ cursor: pointer
19
+ font-size: 14px
20
+ +transition(background-color 0.4s, color 0.2s ease-in)
21
+
22
+ &:hover
23
+ color: #ffffff
24
+ background-color: #2c3e50
25
+
26
+ &.disabled
27
+ color: #9FA7B0
28
+ background-color: transparent
29
+
30
+ .menu-droplist
31
+ display: none
32
+ position: absolute
33
+ top: 100%
34
+ right: 0
35
+ z-index: 1000
36
+ float: left
37
+ min-width: 160px
38
+ max-width: 350px
39
+ padding: 5px 0
40
+ font-size: 14px
41
+ text-align: left
42
+ list-style: none
43
+ background-color: #2c3e50
44
+ +box-shadow(0 6px 12px rgba(0, 0, 0, .175))
45
+
46
+ .menu-droplist-header
47
+ display: block
48
+ padding: 0 15px
49
+ font-size: 12px
50
+ line-height: 23px
51
+ color: #9FA7B0
52
+ +to
53
+ +opacity(0.5)
54
+ +transition(background-color 0.4s, color 0.2s ease-in)
55
+
56
+ .menu-droplist-link
57
+ display: block
58
+ position: relative
59
+ padding: 0 15px
60
+ line-height: 26px
61
+ color: #9FA7B0
62
+ cursor: pointer
63
+ font-size: 14px
64
+ +to
65
+ +transition(background-color 0.4s, color 0.2s ease-in)
66
+
67
+ &.disabled
68
+ background-color: transparent
69
+ color: #9FA7B0
70
+ cursor: default
71
+ +opacity(0.3)
72
+
73
+ &:hover
74
+ color: #9FA7B0
75
+ background-color: transparent
76
+ cursor: default
77
+
78
+ &:hover
79
+ color: #ffffff
80
+ background-color: #34495e
@@ -0,0 +1,37 @@
1
+ .header
2
+
3
+ .header-search
4
+ padding: 12px 15px
5
+
6
+ .header-search-box
7
+ float: left
8
+ margin-right: 5px
9
+
10
+ .header-search-input
11
+ display: block
12
+ padding: 2px 12px
13
+ width: 100%
14
+ height: 25px
15
+ line-height: 14px
16
+ color: #555
17
+ font-size: 14px
18
+ border: 1px solid #ccc
19
+ background-color: #fff
20
+ +box-sizing(border-box)
21
+ +border-radius(4px)
22
+ +box-shadow(inset 0 1px 1px rgba(0,0,0,.075))
23
+ +transition(border-color ease-in-out .15s,box-shadow ease-in-out .15s)
24
+
25
+ .header-search-btn
26
+ float: left
27
+ margin: 0
28
+ padding: 2px 12px
29
+ height: 25px
30
+ line-height: 14px
31
+ font-size: 14px
32
+ font-weight: 400
33
+ border: 1px solid transparent
34
+ cursor: pointer
35
+ +user-select
36
+ +box-sizing(border-box)
37
+ +border-radius(4px)
@@ -0,0 +1,11 @@
1
+ .content
2
+ float: left
3
+ position: relative
4
+ left: -300px
5
+ padding-left: 300px
6
+ width: 100%
7
+ +box-sizing(border-box)
8
+
9
+ .content-box
10
+ padding: 15px 20px
11
+ +border-radius(0 0 4px 0)
@@ -0,0 +1,44 @@
1
+ .page-headline
2
+ padding: 0 20px 16px 20px
3
+ margin: 0 -20px 20px -20px
4
+ border-bottom: 1px solid #bdc3c7
5
+
6
+
7
+ h1
8
+ font-size: 36px
9
+ font-weight: 500
10
+ color: #000
11
+ h2
12
+ font-size: 30px
13
+ font-weight: 500
14
+ color: #000
15
+ color: #9fa7b0
16
+ h3
17
+ font-size: 25px
18
+ font-weight: 500
19
+ color: #000
20
+
21
+ .title-description
22
+ display: inline-block
23
+ margin-top: 10px
24
+ font-size: 23px
25
+ font-weight: 400
26
+ color: #9fa7b0
27
+
28
+ .small-desc
29
+ display: inline-block
30
+ margin-top: 10px
31
+ font-size: 16px
32
+ font-weight: 400
33
+ color: #9fa7b0
34
+ .medium-desc
35
+ display: inline-block
36
+ margin-top: 10px
37
+ font-size: 20px
38
+ font-weight: 400
39
+ color: #9fa7b0
40
+ .big-desc
41
+ display: inline-block
42
+ margin-top: 10px
43
+ font-size: 27px
44
+ font-weight: 400
@@ -0,0 +1,31 @@
1
+ .content-menu
2
+ float: left
3
+ position: relative
4
+ z-index: 2
5
+ left: -300px
6
+ margin-right: -100%
7
+ width: 300px
8
+ .glyphicon
9
+ margin-right: 5px
10
+ .menu-box
11
+ &.active
12
+ .menu-link
13
+ color: #fff
14
+ background-color: #2c3e50
15
+ .submenu
16
+ display: block
17
+
18
+ .menu-link
19
+ display: block
20
+ padding: 15px 20px 15px 15px
21
+ font-size: 15px
22
+ color: #9fa7b0
23
+ &:hover
24
+ color: #fff
25
+
26
+ .submenu
27
+ display: none
28
+ padding-left: 15px
29
+ background-color: #2c3e50
30
+ .menu-link
31
+ padding: 10px 20px
@@ -0,0 +1,373 @@
1
+ .ui-datepicker
2
+ .ui-slider-horizontal
3
+ height: 5px
4
+ background-color: #f6a828
5
+ +border-radius(3px)
6
+
7
+ .ui-datepicker-prev
8
+ width: 40px
9
+ cursor: pointer
10
+ span
11
+ position: relative
12
+ top: 5px
13
+ left: 5px
14
+ .ui-datepicker-next
15
+ width: 40px
16
+ cursor: pointer
17
+ span
18
+ position: relative
19
+ top: 5px
20
+ left: 5px
21
+
22
+ .ui_tpicker_hour
23
+ margin-bottom: 20px
24
+
25
+ .ui-slider-handle
26
+ top: -6px
27
+ cursor: pointer
28
+ outline: none
29
+ +border-radius(50%)
30
+
31
+ .ui-helper-hidden
32
+ display: none
33
+
34
+ .ui-helper-hidden-accessible
35
+ border: 0
36
+ clip: rect(0 0 0 0)
37
+ height: 1px
38
+ margin: -1px
39
+ overflow: hidden
40
+ padding: 0
41
+ position: absolute
42
+ width: 1px
43
+
44
+ .ui-helper-reset
45
+ margin: 0
46
+ padding: 0
47
+ border: 0
48
+ outline: 0
49
+ line-height: 1.3
50
+ text-decoration: none
51
+ font-size: 100%
52
+ list-style: none
53
+
54
+ &.ui-helper-clearfix
55
+ &:before
56
+ content: ""
57
+ display: table
58
+ border-collapse: collapse
59
+ &:after
60
+ content: ""
61
+ display: table
62
+ border-collapse: collapse
63
+ clear: both
64
+ min-height: 0
65
+ /* support: IE7
66
+
67
+ .ui-helper-zfix
68
+ width: 100%
69
+ height: 100%
70
+ top: 0
71
+ left: 0
72
+ position: absolute
73
+ opacity: 0
74
+ filter: Alpha(Opacity = 0)
75
+ /* support: IE8
76
+
77
+ .ui-front
78
+ z-index: 100
79
+
80
+ /* Interaction Cues
81
+ *----------------------------------
82
+
83
+ .ui-state-disabled
84
+ cursor: default !important
85
+
86
+ /* Icons
87
+ *----------------------------------
88
+
89
+ /* states and images
90
+
91
+ .ui-icon
92
+ display: block
93
+ text-indent: 0 !important
94
+ overflow: hidden
95
+ background-repeat: no-repeat
96
+
97
+ /* Misc visuals
98
+ *----------------------------------
99
+
100
+ /* Overlays
101
+
102
+ .ui-widget-overlay
103
+ position: fixed
104
+ top: 0
105
+ left: 0
106
+ width: 100%
107
+ height: 100%
108
+
109
+ .ui-datepicker
110
+ width: 17em
111
+ padding: .2em .2em 0
112
+ display: none
113
+ .ui-datepicker-header
114
+ position: relative
115
+ padding: .2em 0
116
+ .ui-datepicker-prev, .ui-datepicker-next
117
+ position: absolute
118
+ top: 2px
119
+ width: auto
120
+ height: auto
121
+ .ui-datepicker-prev-hover, .ui-datepicker-next-hover
122
+ top: 1px
123
+ .ui-datepicker-prev
124
+ width: 50px
125
+ left: 2px
126
+ .ui-datepicker-next
127
+ width: 50px
128
+ margin-left: -5px
129
+ right: 2px
130
+ .ui-datepicker-prev-hover
131
+ left: 1px
132
+ .ui-datepicker-next-hover
133
+ right: 1px
134
+
135
+ .ui-datepicker-prev span, .ui-datepicker-next span
136
+ display: block
137
+ position: absolute
138
+ left: 50%
139
+ margin-left: -8px
140
+ top: 50%
141
+ margin-top: -8px
142
+ .ui-datepicker-title
143
+ margin: 0 2.3em
144
+ line-height: 1.8em
145
+ text-align: center
146
+ select
147
+ font-size: 1em
148
+ margin: 1px 0
149
+ select
150
+ &.ui-datepicker-month, &.ui-datepicker-year
151
+ width: 45%
152
+ table
153
+ width: 100%
154
+ font-size: .9em
155
+ border-collapse: collapse
156
+ margin: 0 0 .4em
157
+ th
158
+ padding: .7em .3em
159
+ text-align: center
160
+ font-weight: bold
161
+ border: 0
162
+ td
163
+ border: 0
164
+ padding: 1px
165
+ span, a
166
+ display: block
167
+ padding: .2em
168
+ text-align: right
169
+ text-decoration: none
170
+ .ui-datepicker-buttonpane
171
+ background-image: none
172
+ margin: .7em 0 0 0
173
+ padding: 0 .2em
174
+ border-left: 0
175
+ border-right: 0
176
+ border-bottom: 0
177
+ button
178
+ float: right
179
+ margin: .5em .2em .4em
180
+ cursor: pointer
181
+ padding: .2em .6em .3em .6em
182
+ width: auto
183
+ overflow: visible
184
+ &.ui-datepicker-current
185
+ float: left
186
+ &.ui-datepicker-multi
187
+ width: auto
188
+
189
+ /* with multiple calendars
190
+
191
+ .ui-datepicker-multi .ui-datepicker-group
192
+ float: left
193
+ table
194
+ width: 95%
195
+ margin: 0 auto .4em
196
+
197
+ .ui-datepicker-multi-2 .ui-datepicker-group
198
+ width: 50%
199
+
200
+ .ui-datepicker-multi-3 .ui-datepicker-group
201
+ width: 33.3%
202
+
203
+ .ui-datepicker-multi-4 .ui-datepicker-group
204
+ width: 25%
205
+
206
+ .ui-datepicker-multi
207
+ .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-group-middle .ui-datepicker-header
208
+ border-left-width: 0
209
+ .ui-datepicker-buttonpane
210
+ clear: left
211
+
212
+ .ui-datepicker-row-break
213
+ clear: both
214
+ width: 100%
215
+ font-size: 0
216
+
217
+ /* RTL support
218
+
219
+ .ui-datepicker-rtl
220
+ direction: rtl
221
+ .ui-datepicker-prev
222
+ right: 2px
223
+ left: auto
224
+ .ui-datepicker-next
225
+ left: 2px
226
+ right: auto
227
+ .ui-datepicker-prev:hover
228
+ right: 1px
229
+ left: auto
230
+ .ui-datepicker-next:hover
231
+ left: 1px
232
+ right: auto
233
+ .ui-datepicker-buttonpane
234
+ clear: right
235
+ button
236
+ float: left
237
+ &.ui-datepicker-current
238
+ float: right
239
+ .ui-datepicker-group
240
+ float: right
241
+ .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-group-middle .ui-datepicker-header
242
+ border-right-width: 0
243
+ border-left-width: 1px
244
+
245
+ /* Component containers
246
+ *----------------------------------
247
+
248
+ &.ui-widget
249
+ font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif
250
+ font-size: 1.1em
251
+ .ui-widget
252
+ font-size: 1em
253
+ input, select, textarea, button
254
+ font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif
255
+ font-size: 1em
256
+
257
+ &.ui-widget-content
258
+ border: 1px solid #dddddd
259
+ background: #eeeeee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x
260
+ color: #333333
261
+ a
262
+ color: #333333
263
+
264
+ .ui-widget-header
265
+ border: 1px solid #e78f08
266
+ background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x
267
+ color: #ffffff
268
+ font-weight: bold
269
+ a
270
+ color: #ffffff
271
+
272
+ /* Interaction states
273
+ *----------------------------------
274
+
275
+ .ui-state-default, &.ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
276
+ border: 1px solid #cccccc
277
+ background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x
278
+ font-weight: bold
279
+ color: #1c94c4
280
+
281
+ .ui-state-default a
282
+ color: #1c94c4
283
+ text-decoration: none
284
+ &:link, &:visited
285
+ color: #1c94c4
286
+ text-decoration: none
287
+
288
+ .ui-state-hover, &.ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, &.ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus
289
+ border: 1px solid #fbcb09
290
+ background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x
291
+ font-weight: bold
292
+ color: #c77405
293
+
294
+ .ui-state-hover a
295
+ color: #c77405
296
+ text-decoration: none
297
+ &:hover, &:link, &:visited
298
+ color: #c77405
299
+ text-decoration: none
300
+
301
+ .ui-state-focus a
302
+ color: #c77405
303
+ text-decoration: none
304
+ &:hover, &:link, &:visited
305
+ color: #c77405
306
+ text-decoration: none
307
+
308
+ .ui-state-active, &.ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active
309
+ border: 1px solid #fbd850
310
+ background: white url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x
311
+ font-weight: bold
312
+ color: #eb8f00
313
+
314
+ .ui-state-active a
315
+ color: #eb8f00
316
+ text-decoration: none
317
+ &:link, &:visited
318
+ color: #eb8f00
319
+ text-decoration: none
320
+
321
+ /* Interaction Cues
322
+ *----------------------------------
323
+
324
+ .ui-state-highlight, &.ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight
325
+ border: 1px solid #fed22f
326
+ background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x
327
+ color: #363636
328
+
329
+ .ui-state-highlight a, &.ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a
330
+ color: #363636
331
+
332
+ .ui-state-error, &.ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
333
+ border: 1px solid #cd0a0a
334
+ background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat
335
+ color: #ffffff
336
+
337
+ .ui-state-error a, &.ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a, .ui-state-error-text, &.ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text
338
+ color: #ffffff
339
+
340
+ .ui-priority-primary, &.ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary
341
+ font-weight: bold
342
+
343
+ .ui-priority-secondary, &.ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary
344
+ opacity: .7
345
+ filter: Alpha(Opacity = 70)
346
+ /* support: IE8
347
+ font-weight: normal
348
+
349
+ .ui-state-disabled, &.ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled
350
+ opacity: .35
351
+ filter: Alpha(Opacity = 35)
352
+ /* support: IE8
353
+ background-image: none
354
+
355
+ .ui-state-disabled .ui-icon
356
+ filter: Alpha(Opacity = 35)
357
+
358
+ /* Overlays
359
+
360
+ .ui-widget-overlay
361
+ background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat
362
+ opacity: .5
363
+ filter: Alpha(Opacity = 50)
364
+ /* support: IE8
365
+
366
+ .ui-widget-shadow
367
+ margin: -5px 0 0 -5px
368
+ padding: 5px
369
+ background: black url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x
370
+ opacity: .2
371
+ filter: Alpha(Opacity = 20)
372
+ /* support: IE8
373
+ border-radius: 5px