para 0.11.4 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/para/admin/main.scss +31 -0
  3. data/app/assets/stylesheets/para/admin/src/_affix.scss +7 -0
  4. data/app/assets/stylesheets/para/admin/src/_alert.scss +35 -0
  5. data/app/assets/stylesheets/para/admin/src/_base.scss +63 -0
  6. data/app/assets/stylesheets/para/admin/src/_bootstrap-variables.scss +766 -379
  7. data/app/assets/stylesheets/para/admin/src/_breadcrumb.scss +37 -0
  8. data/app/assets/stylesheets/para/admin/src/_buttons.scss +128 -0
  9. data/app/assets/stylesheets/para/admin/src/_checkable.scss +106 -0
  10. data/app/assets/stylesheets/para/admin/src/_common.scss +250 -0
  11. data/app/assets/stylesheets/para/admin/src/_dropdown.scss +52 -0
  12. data/app/assets/stylesheets/para/admin/src/_form.scss +359 -0
  13. data/app/assets/stylesheets/para/admin/src/_list.scss +96 -0
  14. data/app/assets/stylesheets/para/admin/src/_mixins.scss +109 -0
  15. data/app/assets/stylesheets/para/admin/src/_multi-select.scss +110 -0
  16. data/app/assets/stylesheets/para/admin/src/_navigation.scss +210 -0
  17. data/app/assets/stylesheets/para/admin/src/_navtabs.scss +68 -0
  18. data/app/assets/stylesheets/para/admin/src/_nested-many.scss +87 -0
  19. data/app/assets/stylesheets/para/admin/src/_nested_one.scss +26 -0
  20. data/app/assets/stylesheets/para/admin/src/_orderable.scss +48 -0
  21. data/app/assets/stylesheets/para/admin/src/_page-loading.scss +40 -0
  22. data/app/assets/stylesheets/para/admin/src/_pagination.scss +39 -0
  23. data/app/assets/stylesheets/para/admin/src/_panel.scss +61 -0
  24. data/app/assets/stylesheets/para/admin/src/_responsive.scss +133 -0
  25. data/app/assets/stylesheets/para/admin/src/_sorting.scss +43 -0
  26. data/app/assets/stylesheets/para/admin/src/_statcard.scss +46 -0
  27. data/app/assets/stylesheets/para/admin/src/_table.scss +36 -0
  28. data/app/assets/stylesheets/para/admin/src/_tree.scss +60 -0
  29. data/app/assets/stylesheets/para/admin/src/{_variables.sass → _variables.scss} +7 -7
  30. data/app/assets/stylesheets/para/admin/src/{_well.sass → _well.scss} +5 -4
  31. data/app/assets/stylesheets/para/admin.scss +15 -0
  32. data/app/assets/stylesheets/para/index.scss +1 -0
  33. data/app/assets/stylesheets/para/lib/datetimepicker.scss +15 -0
  34. data/app/assets/stylesheets/para/lib/fuelux.scss +46 -0
  35. data/app/assets/stylesheets/para/lib/jasny-bootstrap.scss +100 -0
  36. data/app/assets/stylesheets/para/lib/selectize.scss +129 -0
  37. data/app/assets/stylesheets/para/lib/slider.scss +14 -0
  38. data/app/controllers/para/admin/crud_resources_controller.rb +16 -9
  39. data/app/controllers/para/admin/imports_controller.rb +9 -9
  40. data/app/controllers/para/admin/jobs_controller.rb +7 -1
  41. data/app/controllers/para/admin/resources_controller.rb +17 -18
  42. data/app/controllers/para/admin/settings_component_controller.rb +2 -2
  43. data/app/helpers/para/admin/base_helper.rb +36 -25
  44. data/app/helpers/para/admin/page_helper.rb +8 -9
  45. data/app/helpers/para/flash_helper.rb +7 -28
  46. data/app/helpers/para/model_helper.rb +5 -8
  47. data/app/helpers/para/tree_helper.rb +4 -4
  48. data/app/javascripts/para/admin/async-progress.js +58 -0
  49. data/app/javascripts/para/admin/filters-form.js +12 -0
  50. data/app/javascripts/para/admin/job-tracker.js +33 -0
  51. data/app/javascripts/para/admin/table.js +58 -0
  52. data/app/javascripts/para/admin/tabs.js +110 -0
  53. data/app/javascripts/para/admin/theme_actions.js +39 -0
  54. data/app/javascripts/para/admin/tree.js +124 -0
  55. data/app/javascripts/para/application.js +2 -0
  56. data/app/javascripts/para/controllers/application.js +17 -0
  57. data/app/javascripts/para/controllers/index.js +10 -0
  58. data/app/javascripts/para/controllers/para_admin_flash_message_controller.js +48 -0
  59. data/app/javascripts/para/controllers/para_admin_modal_controller.js +43 -0
  60. data/app/javascripts/para/controllers/selectize_field_controller.js +142 -0
  61. data/app/javascripts/para/index.js +31 -0
  62. data/app/javascripts/para/inputs/material-input.js +7 -0
  63. data/app/javascripts/para/inputs/multi-select-input.js +343 -0
  64. data/app/javascripts/para/inputs/nested_many.js +151 -0
  65. data/app/javascripts/para/lib/fetch.js +41 -0
  66. data/app/javascripts/para/lib/page-loading.js +42 -0
  67. data/app/javascripts/para/simple_form_extension/colorpicker.js +30 -0
  68. data/app/javascripts/para/simple_form_extension/datetimepicker.js +115 -0
  69. data/app/javascripts/para/simple_form_extension/fileinput.js +57 -0
  70. data/app/javascripts/para/simple_form_extension/index.js +12 -0
  71. data/app/javascripts/para/simple_form_extension/selectize.js +160 -0
  72. data/app/javascripts/para/simple_form_extension/simple_form_extension_initialization.js +62 -0
  73. data/app/javascripts/para/simple_form_extension/slider.js +43 -0
  74. data/app/javascripts/para/simple_form_extension/spinbox.js +35 -0
  75. data/app/javascripts/para/vendor/bootstrap-colorpicker.js +1025 -0
  76. data/app/javascripts/para/vendor/bootstrap-slider.js +1610 -0
  77. data/app/javascripts/para/vendor/cocoon.js +150 -0
  78. data/app/javascripts/para/vendor/jquery.datetimepicker.js +2156 -0
  79. data/app/javascripts/para/vendor/jquery.js +3 -0
  80. data/app/javascripts/para/vendor/spinbox.js +438 -0
  81. data/app/javascripts/para/vendor/vertebra.js +224 -0
  82. data/app/views/admin/para/exporter/bases/_completed.html.haml +1 -1
  83. data/app/views/layouts/para/admin.html.haml +4 -2
  84. data/app/views/para/admin/imports/new.html.haml +12 -11
  85. data/app/views/para/admin/jobs/_completed.html.haml +1 -1
  86. data/app/views/para/admin/jobs/_failed.html.haml +1 -1
  87. data/app/views/para/admin/jobs/_job.html.haml +11 -0
  88. data/app/views/para/admin/jobs/show.html.haml +1 -10
  89. data/app/views/para/admin/resources/_add_button.html.haml +1 -1
  90. data/app/views/para/admin/resources/_exports_menu.html.haml +2 -2
  91. data/app/views/para/admin/resources/_filters.html.haml +1 -1
  92. data/app/views/para/admin/resources/_imports_menu.html.haml +2 -2
  93. data/app/views/para/admin/resources/_list.html.haml +27 -26
  94. data/app/views/para/admin/resources/_navigation.html.haml +10 -11
  95. data/app/views/para/admin/resources/_subclassable_add_button.html.haml +1 -1
  96. data/app/views/para/admin/shared/_flash.html.haml +18 -0
  97. data/app/views/para/admin/shared/_header.html.haml +1 -1
  98. data/app/views/para/form/_tabs.html.haml +1 -1
  99. data/app/views/para/inputs/_nested_many.html.haml +3 -3
  100. data/app/views/para/inputs/nested_many/_add.html.haml +1 -1
  101. data/app/views/para/inputs/nested_many/_add_with_subclasses.html.haml +2 -2
  102. data/app/views/para/inputs/nested_many/_container.html.haml +1 -1
  103. data/config/locales/fr.yml +1 -0
  104. data/lib/generators/para/install/install_generator.rb +10 -14
  105. data/lib/para/attribute_field/base.rb +3 -0
  106. data/lib/para/attribute_field/wysiwyg_editor.rb +15 -0
  107. data/lib/para/attribute_field.rb +1 -1
  108. data/lib/para/components_configuration.rb +1 -1
  109. data/lib/para/engine.rb +20 -22
  110. data/lib/para/ext/turbo_stream.rb +13 -0
  111. data/lib/para/ext.rb +1 -1
  112. data/lib/para/form_builder/containers.rb +33 -22
  113. data/lib/para/form_builder/nested_form.rb +6 -5
  114. data/lib/para/inputs/nested_many_input.rb +5 -0
  115. data/lib/para/markup/modal.rb +30 -15
  116. data/lib/para/markup/resources_buttons.rb +15 -11
  117. data/lib/para/model_field_parsers/wysiwyg_editor.rb +19 -0
  118. data/lib/para/model_field_parsers.rb +1 -1
  119. data/lib/para/version.rb +1 -1
  120. data/lib/para.rb +2 -8
  121. data/lib/simple_form_extension/components/icons.rb +13 -0
  122. data/lib/simple_form_extension/components/popovers.rb +46 -0
  123. data/lib/simple_form_extension/components.rb +8 -0
  124. data/lib/simple_form_extension/ext/form_builder.rb +20 -0
  125. data/lib/simple_form_extension/file_concern.rb +74 -0
  126. data/lib/simple_form_extension/inputs/boolean_input.rb +16 -0
  127. data/lib/simple_form_extension/inputs/collection_check_boxes_input.rb +15 -0
  128. data/lib/simple_form_extension/inputs/collection_radio_buttons_input.rb +15 -0
  129. data/lib/simple_form_extension/inputs/color_input.rb +37 -0
  130. data/lib/simple_form_extension/inputs/date_time_input.rb +48 -0
  131. data/lib/simple_form_extension/inputs/file_input.rb +41 -0
  132. data/lib/simple_form_extension/inputs/image_input.rb +110 -0
  133. data/lib/simple_form_extension/inputs/numeric_input.rb +27 -0
  134. data/lib/simple_form_extension/inputs/selectize_input.rb +210 -0
  135. data/lib/simple_form_extension/inputs/slider_input.rb +30 -0
  136. data/lib/simple_form_extension/inputs.rb +16 -0
  137. data/lib/simple_form_extension/railtie.rb +21 -0
  138. data/lib/simple_form_extension/resource_name_helper.rb +9 -0
  139. data/lib/simple_form_extension/translations.rb +7 -0
  140. data/lib/simple_form_extension/version.rb +3 -0
  141. data/lib/simple_form_extension.rb +30 -0
  142. data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/alpha-horizontal.png +0 -0
  143. data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/alpha.png +0 -0
  144. data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/hue-horizontal.png +0 -0
  145. data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/hue.png +0 -0
  146. data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/saturation.png +0 -0
  147. data/vendor/assets/stylesheets/bootstrap-colorpicker.scss +227 -0
  148. data/vendor/assets/stylesheets/bootstrap-slider.scss +246 -0
  149. data/vendor/assets/stylesheets/bootstrap.scss +6032 -0
  150. data/vendor/assets/stylesheets/jquery.datetimepicker.scss +568 -0
  151. metadata +120 -188
  152. data/app/assets/javascripts/admin/app.coffee +0 -1
  153. data/app/assets/javascripts/para/admin/async-progress.coffee +0 -29
  154. data/app/assets/javascripts/para/admin/filters-form.coffee +0 -11
  155. data/app/assets/javascripts/para/admin/job-tracker.coffee +0 -39
  156. data/app/assets/javascripts/para/admin/table.coffee +0 -44
  157. data/app/assets/javascripts/para/admin/tabs.coffee +0 -63
  158. data/app/assets/javascripts/para/admin/theme_actions.coffee +0 -25
  159. data/app/assets/javascripts/para/admin/tree.coffee +0 -105
  160. data/app/assets/javascripts/para/admin.coffee +0 -22
  161. data/app/assets/javascripts/para/application.js +0 -13
  162. data/app/assets/javascripts/para/inputs/material-input.coffee +0 -4
  163. data/app/assets/javascripts/para/inputs/multi-select-input.coffee +0 -174
  164. data/app/assets/javascripts/para/inputs/nested_many.coffee +0 -108
  165. data/app/assets/javascripts/para/lib/ajax.coffee +0 -11
  166. data/app/assets/javascripts/para/lib/remote-file-forms.coffee +0 -59
  167. data/app/assets/javascripts/para/lib/turbolinks-forms.coffee +0 -23
  168. data/app/assets/javascripts/para/lib/turbolinks-loading.coffee +0 -25
  169. data/app/assets/javascripts/para/lib/turbolinks-reloader.coffee +0 -19
  170. data/app/assets/stylesheets/para/admin/main.sass +0 -33
  171. data/app/assets/stylesheets/para/admin/src/_affix.sass +0 -4
  172. data/app/assets/stylesheets/para/admin/src/_alert.sass +0 -17
  173. data/app/assets/stylesheets/para/admin/src/_base.sass +0 -54
  174. data/app/assets/stylesheets/para/admin/src/_breadcrumb.sass +0 -32
  175. data/app/assets/stylesheets/para/admin/src/_buttons.sass +0 -107
  176. data/app/assets/stylesheets/para/admin/src/_checkable.sass +0 -94
  177. data/app/assets/stylesheets/para/admin/src/_common.sass +0 -202
  178. data/app/assets/stylesheets/para/admin/src/_dropdown.sass +0 -40
  179. data/app/assets/stylesheets/para/admin/src/_form.sass +0 -299
  180. data/app/assets/stylesheets/para/admin/src/_list.sass +0 -89
  181. data/app/assets/stylesheets/para/admin/src/_mixins.sass +0 -113
  182. data/app/assets/stylesheets/para/admin/src/_multi-select.sass +0 -91
  183. data/app/assets/stylesheets/para/admin/src/_navigation.sass +0 -171
  184. data/app/assets/stylesheets/para/admin/src/_navtabs.sass +0 -58
  185. data/app/assets/stylesheets/para/admin/src/_nested-many.sass +0 -75
  186. data/app/assets/stylesheets/para/admin/src/_nested_one.sass +0 -22
  187. data/app/assets/stylesheets/para/admin/src/_orderable.sass +0 -44
  188. data/app/assets/stylesheets/para/admin/src/_page-loading.sass +0 -39
  189. data/app/assets/stylesheets/para/admin/src/_pagination.sass +0 -34
  190. data/app/assets/stylesheets/para/admin/src/_panel.sass +0 -55
  191. data/app/assets/stylesheets/para/admin/src/_responsive.sass +0 -117
  192. data/app/assets/stylesheets/para/admin/src/_sorting.sass +0 -36
  193. data/app/assets/stylesheets/para/admin/src/_statcard.sass +0 -41
  194. data/app/assets/stylesheets/para/admin/src/_table.sass +0 -33
  195. data/app/assets/stylesheets/para/admin/src/_tree.sass +0 -52
  196. data/app/assets/stylesheets/para/admin.sass +0 -12
  197. data/app/assets/stylesheets/para/lib/compass/_support.scss +0 -447
  198. data/app/assets/stylesheets/para/lib/compass/css3/_box-shadow.scss +0 -88
  199. data/app/assets/stylesheets/para/lib/compass/css3/_images.scss +0 -152
  200. data/app/assets/stylesheets/para/lib/compass/css3/_inline-block.scss +0 -31
  201. data/app/assets/stylesheets/para/lib/compass/css3/_text-shadow.scss +0 -82
  202. data/app/assets/stylesheets/para/lib/compass/css3/_transform.scss +0 -590
  203. data/app/assets/stylesheets/para/lib/compass/css3/_transition.scss +0 -190
  204. data/app/assets/stylesheets/para/lib/compass/css3/_user-interface.scss +0 -71
  205. data/app/assets/stylesheets/para/lib/compass/utilities/general/_hacks.scss +0 -65
  206. data/app/assets/stylesheets/para/lib/datetimepicker.sass +0 -15
  207. data/app/assets/stylesheets/para/lib/fuelux.sass +0 -40
  208. data/app/assets/stylesheets/para/lib/jasny-bootstrap.sass +0 -97
  209. data/app/assets/stylesheets/para/lib/redactor.sass +0 -86
  210. data/app/assets/stylesheets/para/lib/selectize.sass +0 -111
  211. data/app/assets/stylesheets/para/lib/slider.sass +0 -12
  212. data/app/assets/stylesheets/para/plugins-includes.sass.erb +0 -1
  213. data/lib/para/attribute_field/redactor.rb +0 -22
  214. data/lib/para/ext/request_iframe_xhr.rb +0 -17
  215. data/lib/para/iframe_transport/middleware.rb +0 -58
  216. data/lib/para/iframe_transport.rb +0 -7
  217. data/lib/para/model_field_parsers/redactor.rb +0 -19
  218. data/vendor/assets/javascripts/jquery.iframe-transport.js +0 -260
  219. data/vendor/assets/javascripts/jquery.remote-modal-form.coffee +0 -145
  220. /data/app/assets/stylesheets/admin/{app.sass → app.scss} +0 -0
  221. /data/app/{assets/javascripts → javascripts}/para/plugins-includes.js.erb +0 -0
  222. /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/Sortable.js +0 -0
  223. /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/jasny-bootstrap.js +0 -0
  224. /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/jquery.scrollto.js +0 -0
  225. /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/jquery.sortable.js +0 -0
  226. /data/vendor/assets/stylesheets/{animate.css → animate.scss} +0 -0
  227. /data/vendor/assets/stylesheets/{hint.css → hint.scss} +0 -0
  228. /data/vendor/assets/stylesheets/{jasny-bootstrap.css → jasny-bootstrap.scss} +0 -0
@@ -1,171 +0,0 @@
1
- //
2
- // Navigation
3
- // --------------------------------------------------
4
-
5
- //== Sidebar right
6
- //
7
- //##
8
-
9
- .navmenu
10
- background-color: $navbar-default-bg
11
- width: $left-menu-width-open
12
- overflow: hidden
13
- z-index: $zindex-navbar-fixed + 10
14
-
15
- .navmenu-default
16
- background-color: #fff
17
- border: none
18
- +material-box-shadow-soft(3)
19
-
20
- .navmenu-brand
21
- background-color: $blue-darker
22
- color: #fff
23
- display: block
24
- font-size: 1.4em
25
- font-weight: 300
26
- line-height: 20px
27
- margin: 0
28
- padding: 20px
29
- text-align: center
30
- text-transform: uppercase
31
- &:hover,
32
- &:focus
33
- background-color: $blue-darker
34
- color: white
35
-
36
- .navmenu-nav
37
- background-color: $gray-lighter
38
- height: calc(100% - 60px)
39
- width: $left-menu-width-open
40
- padding: 0
41
- margin: 0
42
- display: block
43
- overflow-x: hidden
44
- overflow-y: auto
45
- list-style: none
46
-
47
- //** overriding jasny
48
- > li > a
49
- color: $gray
50
- &:hover,
51
- &:focus
52
- background-color: $gray
53
- color: $gray-lighter
54
-
55
- //** Para components
56
- .component-section-list-items
57
- background-color: white
58
- list-style: none
59
- margin: 0
60
- padding: 0
61
-
62
- .component-section-title
63
- background-color: $gray-lighter
64
- color: $text-color
65
- font-weight: bold
66
- line-height: 19px
67
- padding: 30px 30px 15px 15px
68
- text-transform: uppercase
69
- width: 100%
70
- &:hover,
71
- &:focus
72
- background-color: $gray-lighter
73
- color: $text-color
74
- text-decoration: none
75
- .fa
76
- margin-right: -15px
77
- &.collapsed
78
- .fa
79
- +rotate(180deg)
80
-
81
- .component-item
82
- a, button
83
- background-color: transparent
84
- display: block
85
- font-weight: 400
86
- line-height: 19px
87
- color: $text-color
88
- font-weight: 400
89
- padding: 11px 13px 11px 15px
90
- text-decoration: none
91
-
92
- +default-transition
93
- &:hover,
94
- &:focus
95
- padding-left: 25px
96
- background-color: $gray-lighter
97
-
98
- &.active
99
- a, button
100
- border-left: 2px solid $brand-primary
101
- background-color: $gray-light
102
- color: $text-color
103
- padding-left: 25px
104
-
105
- //== Top navbar
106
- //
107
- //##
108
-
109
- .navbar-default
110
- border: none
111
- padding-right: 22px
112
- .nav > li >
113
- button
114
- -webkit-appearance: none
115
- border: none
116
- a,
117
- button
118
- padding: 6px 10px
119
- text-align: center
120
- margin: 14px 3px
121
- color: inherit
122
- border-radius: $border-radius-small
123
- i
124
- line-height: 14px
125
- &.btn-home
126
- background-color: $blue-darker
127
- color: $gray-lighter
128
-
129
- &.btn-power-off
130
- background-color: $brand-danger
131
- color: $gray-lighter
132
-
133
- .navbar-fixed-top
134
- padding-left: 0
135
- &.navbar
136
- margin-bottom: 0
137
-
138
- //** Btn menu toggle
139
- .navbar-toggle
140
- float: left
141
- display: block
142
-
143
- //** Dark theme override
144
- //***********************
145
- .dark-theme.navmenu-default
146
- .navmenu-nav
147
- background-color: $navbar-default-bg
148
- > li > a
149
- &:hover,
150
- &:focus
151
- background-color: $navbar-default-bg
152
- color: white
153
- .component-section-title
154
- background-color: $navbar-default-bg
155
- color: white
156
- &:hover,
157
- &:focus
158
- background-color: transparent
159
- color: white
160
- .component-item
161
- a, button
162
- background-color: $text-color
163
- color: $gray-lighter
164
- &:hover,
165
- &:focus
166
- background-color: $navbar-default-bg
167
- &.active
168
- a, button
169
- background-color: lighten($navbar-default-bg, 10%)
170
- border-color: $brand-primary
171
- color: white
@@ -1,58 +0,0 @@
1
- //
2
- // Navtabs
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
-
9
- //** Add negative margin top if the nav tab is the frst content of the page
10
- .page-content-wrap
11
- .nav-tabs-wrapper
12
- margin-top: -25px
13
-
14
- .nav-tabs
15
- border-radius: $border-radius-small
16
-
17
- &.affix
18
- margin-top: 0
19
- width: 100%
20
- z-index: $zindex-navbar-fixed - 1
21
- +material-box-shadow-soft(3)
22
-
23
- .form-inputs
24
- .nav-tabs-wrapper
25
- margin-top: 0
26
-
27
- .nav-tabs
28
- border-radius: 0
29
-
30
- .panel-body
31
- .nav-tabs-wrapper
32
- margin-top: -25px
33
-
34
- //** Override bootstrap nav tabs
35
- .nav-tabs-wrapper
36
- margin-right: -25px
37
- margin-left: -25px
38
- margin-bottom: 25px
39
-
40
- .nav-tabs
41
- background-color: $gray-lighter
42
-
43
- > li > a
44
- color: $text-color
45
- border: none
46
- border-bottom: 2px solid transparent
47
- font-weight: 300
48
- padding: 15px 25px
49
- i
50
- margin-right: 4px
51
- >
52
- li.active >
53
- a,
54
- a:hover,
55
- a:focus
56
- border: none
57
- background-color: $gray-lighter
58
- border-bottom: 2px solid $brand-primary
@@ -1,75 +0,0 @@
1
- //
2
- // Nested many
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
-
9
- .nested-many-field
10
- .panel
11
- z-index: 1
12
-
13
- &.orderable
14
- .sortable-placeholder
15
- margin-bottom: 20px
16
- .form-fields
17
- +clearfix
18
- float: none
19
-
20
- &.nested-many-field-inset
21
- .nested-many-inset-panel
22
- border: 1px dashed $gray
23
- box-shadow: none
24
-
25
- .panel-heading
26
- background-color: transparent
27
- border-color: transparent
28
-
29
- .nested-many-inset-add-button
30
- .btn
31
- box-shadow: none
32
- background-color: $gray-lighter
33
- border: 1px dashed $gray
34
- color: $gray
35
- display: block
36
- width: 100%
37
- padding: 30px
38
- &:hover,
39
- &:focus
40
- background-color: #FAFAFA !important
41
- border-color: #FAFAFA !important
42
- +material-box-shadow-soft(2)
43
-
44
- &.open
45
- > .dropdown-menu
46
- display: block
47
- margin: 0 0 100px 0
48
- padding: 10px
49
- width: 100%
50
-
51
- > li
52
- border: none
53
- display: block
54
- float: left
55
- padding: 10px
56
- text-align: center
57
- width: 100%
58
-
59
- > a
60
- border-radius: 2px
61
- +default-transition
62
- background: image_url('para/admin/template-section.svg') no-repeat $gray-lighter
63
- background-position: center 10px
64
- border: 1px dashed $gray
65
- color: $gray
66
- display: block
67
- font-weight: bold
68
- height: 115px
69
- padding: 70px 5px 5px 5px
70
- text-transform: uppercase
71
- width: 100%
72
- white-space: normal
73
- &:hover
74
- +material-box-shadow-soft(3)
75
- border: 1px dashed $gray-lighter
@@ -1,22 +0,0 @@
1
- //
2
- // Nested one
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //## Label have to be like a legend if is the nested_one
8
-
9
- .form-group.nested_one
10
- label.control-label.nested_one
11
- width: 100%
12
- margin-top: 15px
13
- margin-bottom: 15px
14
- padding-bottom: 10px
15
- border-bottom: 1px solid $gray-light
16
- font-weight: 600
17
- font-size: 18px
18
-
19
- .tab-pane
20
- > .form-group.nested_one
21
- label.control-label.nested_one
22
- margin-top: 0
@@ -1,44 +0,0 @@
1
- //
2
- // Orderable
3
- // --------------------------------------------------
4
-
5
- //== Re-ordered & handle barre styles
6
- //
7
- //##
8
-
9
- .order-anchor,
10
- .handle
11
- color: $text-color
12
- cursor: move
13
- cursor: -webkit-grab
14
- cursor: grab
15
- outline: 0
16
- font-size: 14px
17
- line-height: 20px
18
- width: 21px
19
- display: inline-block
20
- +default-transition
21
- &:hover
22
- color: $gray-darker
23
- &:focus,
24
- &:focus:active
25
- cursor: move
26
- cursor: -webkit-grabbing
27
- cursor: grabbing
28
- border-radius: $border-radius-base
29
- margin: 0
30
- background-color: $gray
31
- color: $gray-darker
32
- text-align: center
33
- .sort-dots:after
34
- color: $gray
35
- content: '\2807\2807'
36
- font-size: 30px
37
- font-style: normal
38
- letter-spacing: -14px
39
- vertical-align: middle
40
-
41
- .sortable-placeholder
42
- border: 1px dotted $gray
43
- width: 100%
44
- background-color: $gray-lighter
@@ -1,39 +0,0 @@
1
- //
2
- // Page loading
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
-
9
- $spinner-size: 32px
10
-
11
- .loading-overlay
12
- position: fixed
13
- width: 100%
14
- height: calc(100% - #{$navbar-height})
15
- top: $navbar-height
16
- left: 0
17
- z-index: $zindex-navbar-fixed + 10
18
- opacity: .5
19
- background: white
20
-
21
- .loading-spinner
22
- position: fixed
23
- top: 50%
24
- left: 50%
25
- margin-left: ($spinner-size / 2)
26
- margin-top: $navbar-height - $spinner-size
27
- width: $spinner-size
28
- height: $spinner-size
29
- z-index: $zindex-navbar-fixed + 11
30
- font-size: 32px
31
- // background: image-url('para/admin/loading-spinner.gif')
32
- &:before
33
- +fontAwesome
34
- content: '\f1ce'
35
- -webkit-animation: fa-spin 2s infinite linear
36
- animation: fa-spin 2s infinite linear
37
-
38
- .turbolinks-progress-bar
39
- background-color: $brand-primary
@@ -1,34 +0,0 @@
1
- //
2
- // Pagination
3
- // --------------------------------------------------
4
-
5
- //== Overiding bootstrap pagination styles
6
- //
7
- //##
8
-
9
- .pagination
10
- border-radius: 0
11
- +clearfix
12
- display: block
13
- margin-bottom: 0
14
- text-align: center
15
- > li
16
- display: inline-block
17
- > a,
18
- > span
19
- border-radius: $border-radius-small
20
- display: inline-block
21
- +material-box-shadow-soft(1)
22
- background-color: $gray-lighter
23
- border: none
24
- float: none
25
- margin: 0
26
- &:active,
27
- &:focus,
28
- &:hover
29
- background-color: $gray-lighter
30
-
31
- > li:first-child
32
- > a,
33
- > span
34
- border-radius: $border-radius-small
@@ -1,55 +0,0 @@
1
- //
2
- // Panel
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //## Just an override of bootstrap
8
-
9
- .panel
10
- border: none
11
- +material-box-shadow-soft(2)
12
-
13
- //** Panel with collapse element
14
- .collapsed
15
- .fa-angle-up
16
- +rotate(180deg)
17
-
18
- //** Panel is orderable
19
- .order-anchor
20
- float: left
21
- margin-right: 10px
22
- line-height: 30px
23
- margin-left: -20px
24
-
25
- .panel-heading
26
- padding: 10px 25px
27
- border: none
28
- border-radius: 2px
29
- +clearfix
30
- //** Do not destroy panel heading if image is inside
31
- img
32
- max-width: 250px
33
- max-height: 250px
34
-
35
- //** Disable link underline if is in panel heading
36
- a
37
- &:hover,
38
- &:focus
39
- text-decoration: none
40
-
41
- .panel-title
42
- font-size: $font-size-base
43
- font-weight: 400
44
- float: left
45
- line-height: 30px
46
- margin-right: 30px
47
- max-width: calc(100% - 180px)
48
-
49
- .panel-btns
50
- float: right
51
- //** If panel-btns is a list
52
- list-style: none
53
- margin-top: 4px
54
- li
55
- padding-left: 0
@@ -1,117 +0,0 @@
1
- //
2
- // Responsive
3
- // --------------------------------------------------
4
-
5
- /* Extra small devices (phones, less than 768px) */
6
- /* No media query since this is the default in Bootstrap */
7
-
8
- /* Small devices (tablets, 768px and up) */
9
- @media (min-width: $screen-sm-min)
10
- //== Fixed actions
11
- //
12
- //## See form.sass
13
- .form-fixed-actions
14
- .form-actions
15
- .btn
16
- margin-bottom: 0
17
- margin-right: 5px
18
-
19
- //== Nested many
20
- //
21
- //## See neste_many.sass
22
- .nested-many-field.nested-many-field-inset .nested-many-inset-add-button.open > .dropdown-menu > li
23
- width: 50%
24
-
25
- /* Medium devices (desktops, 992px and up) */
26
- @media (min-width: $screen-md-min)
27
- body
28
- padding: $navbar-height 0 0 $left-menu-width-open
29
-
30
- //== Top navbar
31
- //
32
- //## See navigation.sass
33
- .navbar-fixed-top
34
- padding-left: $left-menu-width-open
35
-
36
- .navbar-toggle
37
- display: none
38
-
39
- //== Loader
40
- //
41
- //## See page_loading.sass
42
- .loading-overlay
43
- width: calc(100% - #{$left-menu-width-open})
44
- left: $left-menu-width-open
45
-
46
- .loading-spinner
47
- margin-left: ($left-menu-width-open / 2) - ($spinner-size / 2)
48
-
49
- //== Nested many
50
- //
51
- //## See neste_many.sass
52
- .nested-many-field.nested-many-field-inset .nested-many-inset-add-button.open > .dropdown-menu > li
53
- width: 33.333333%
54
-
55
- /* Large devices (large desktops, 1200px and up) */
56
- @media (min-width: $screen-lg-min)
57
- //== Nested many
58
- //
59
- //## See neste_many.sass
60
- .nested-many-field.nested-many-field-inset .nested-many-inset-add-button.open > .dropdown-menu > li > a
61
- background-position: center center
62
- padding: 75px 5px
63
- height: 100%
64
-
65
- //== Max width
66
- //
67
- //##
68
- @media (max-width: $screen-xs-max)
69
- body
70
- padding-top: 0
71
-
72
- //== Top navbar
73
- //
74
- //## See navigation.sass
75
- .navbar-fixed-top
76
- position: relative
77
-
78
- .navbar-toggle
79
- margin-top: 3px
80
- margin-bottom: 3px
81
-
82
-
83
- .navbar-default .nav > li > a
84
- padding: 10px
85
- width: 40px
86
- i
87
- font-size: 14px
88
-
89
- .navbar-nav
90
- margin: 0
91
- > li
92
- float: left
93
-
94
- .breadcrumb
95
- padding: 10px
96
-
97
- .form-fixed-actions
98
- margin-bottom: 250px
99
- .form-actions
100
- padding-right: 15px
101
- padding-left: 15px
102
- left: 50px
103
- .btn
104
- width: 100%
105
-
106
- @media (max-width: $screen-sm-max)
107
- //== page list panel
108
- //
109
- //## See panel.sass
110
- .page-list-heading
111
- [class^='col-xs-'], [class^='col-sm-'], [class^='col-md-'], [class^='col-lg-'],
112
- .flextable-item
113
- margin-bottom: 10px
114
-
115
- //** disable lasted margin-bottom on flextable-item & col-* to get the proper padding
116
- .flextable
117
- margin-bottom: -10px
@@ -1,36 +0,0 @@
1
- //
2
- // Sorting
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
-
9
- .sort_link, .sort_link_asc, .sort_link_desc
10
- position: relative
11
- cursor: pointer
12
- &:hover
13
- text-decoration: none
14
-
15
- .sort_link:before, .sort_link.asc:before, .sort_link.desc:before
16
- position: absolute
17
- bottom: 7px
18
- right: -15px
19
- font-family: FontAwesome
20
- opacity: .9
21
- width: 10px
22
- height: 10px
23
- display: block
24
-
25
- .sort_link:before
26
- content: "\f0dc"
27
- opacity: .3
28
-
29
- .sort_link.asc:before
30
- content: "\f0d7"
31
-
32
- .sort_link.desc:before
33
- content: "\f0d8"
34
-
35
- .sort_link.asc.disabled:before, .sort_link.desc.disabled:before
36
- opacity: .1
@@ -1,41 +0,0 @@
1
- //
2
- // Statcard
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
-
9
- .statcard
10
- position: relative
11
- display: block
12
- padding: 15px
13
- background-color: #fff
14
- border-radius: $border-radius-small
15
- +clearfix
16
- +default-transition
17
- +material-box-shadow-soft
18
- &:hover,
19
- &:focus
20
- +material-box-shadow-soft(2)
21
- text-decoration: none
22
-
23
- &.statcard-icon
24
- .icon-rounded
25
- float: left
26
- .startcard-body
27
- padding-left: 15px
28
- float: left
29
- /** truncat title if is to long **/
30
- width: calc(100% - 60px)
31
- .statcard-title
32
- width: 100%
33
- white-space: nowrap
34
- overflow: hidden
35
- text-overflow: ellipsis
36
-
37
- .statcard-title
38
- color: $text-color
39
- font-size: $font-size-base
40
- font-weight: 500
41
- margin: 0