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,299 +0,0 @@
1
- //
2
- // Form
3
- // --------------------------------------------------
4
-
5
- //== Form mixins
6
- //
7
- //## Form mixins is there because is doesnt have to be share
8
-
9
- =outline-input-form
10
- padding: 6px 0px
11
- -webkit-appearance: none
12
- box-shadow: none
13
- border-radius: 0
14
- border: none
15
- border-bottom: 1px solid $input-border
16
- +default-transition
17
- &:focus, &.focus
18
- box-shadow: 0px 1px 0px $input-border-focus
19
- border-color: $input-border-focus
20
- +default-transition
21
-
22
- //== Legends
23
- //
24
- //##
25
-
26
- legend
27
- font-weight: 600
28
- padding: 0
29
- margin-top: 15px
30
- margin-bottom: 15px
31
- border: none
32
-
33
- //** Remove margin top form first legend because of page-content-wrap padding-top
34
- .page-content-wrap .form-inputs
35
- +first-child
36
- legend
37
- margin-top: 0
38
-
39
- //== Labels
40
- //
41
- //##
42
-
43
- .control-label
44
- color: $gray
45
- font-weight: 700
46
- font-size: 0.85em
47
- margin-bottom: 8px
48
- text-transform: uppercase
49
- transition: color ease-in-out 0.15s
50
-
51
- .form-group.focused
52
- .control-label
53
- color: $brand-primary
54
- transition: color ease-in-out 0.15s
55
-
56
- //== Inputs
57
- //
58
- //##
59
-
60
- .form-control
61
- font-size: 14px
62
-
63
- .form-inputs,
64
- .nested-one-field,
65
- .tab-pane
66
- +clearfix
67
- .form-group:last-of-type,
68
- .form-group:only-child,
69
- .nested-one-field:last-of-type
70
- margin-bottom: 0
71
-
72
- .nested-one-field
73
- margin-bottom: $form-group-margin-bottom
74
-
75
- .nested-input-title
76
- &.has-error
77
- color: $brand-danger
78
-
79
- //== Inputs outline
80
- //
81
- //## Styled inputs with juste a border bottom
82
-
83
- .forms-outline
84
- .form-control
85
- +outline-input-form
86
- &[disabled], &[readonly]
87
- color: $gray
88
- padding-right: 6px
89
- padding-left: 6px
90
- &[disabled]:focus, &[readonly]:focus
91
- background: $input-bg-disabled
92
- color: $gray
93
- border-color: $gray-lighter
94
-
95
- .input-group-addon
96
- background-color: transparent
97
- border-color: transparent
98
-
99
- //** Remove margin because input have just bottom border
100
- .control-label
101
- &.country,
102
- &.date,
103
- &.datetime,
104
- &.email,
105
- &.integer,
106
- &.select,
107
- &.selectize,
108
- &.string,
109
- &.tel,
110
- &.text,
111
- &.time,
112
- &.url
113
- margin-bottom: 0
114
-
115
- //** Textarea
116
- .form-control.text
117
- resize: vertical
118
-
119
- //** Redactor
120
- .redactor-editor
121
- +outline-input-form
122
- strong, b
123
- font-weight: 700
124
-
125
- .redactor-toolbar
126
- border: none
127
- background-color: $gray-lighter
128
- border-radius: 0
129
-
130
- //** Selectize
131
- .selectize-input,
132
- .selectize-input.full
133
- +outline-input-form
134
-
135
- .selectize-control.multi .selectize-input.has-items
136
- +outline-input-form
137
- padding: 3px 0px
138
-
139
- //** Spinner
140
- .spinbox
141
- .btn.btn-default
142
- color: $gray
143
- background-color: transparent
144
- border-color: transparent
145
- &.spinbox-up
146
- padding: 0px 9px 4px 9px
147
- &.spinbox-down
148
- padding: 6px 9px 0px 9px
149
- margin-top: 0
150
- &:hover,
151
- &:focus
152
- color: $gray-darker
153
- &:active,
154
- &.active,
155
- &:active:focus
156
- box-shadow: none
157
-
158
- // Datepicker
159
- .datetimepicker-trigger.btn-default
160
- color: $gray
161
- background-color: transparent
162
- border-color: transparent
163
- &:hover,
164
- &:focus
165
- color: $gray-darker
166
- &:active,
167
- &.active,
168
- &:active:focus
169
- box-shadow: none
170
-
171
- //== Color picker
172
- //
173
- //##
174
-
175
- .input-group
176
- &.color
177
- max-width: 300px
178
- .input-group-addon
179
- padding: 0
180
- padding-left: 5px
181
- i
182
- border: 1px solid #ccc
183
- width: 25px
184
- height: 25px
185
-
186
- //== Search form filter
187
- //
188
- //##
189
-
190
- .filter-form
191
- +filter-style
192
- .form-control
193
- &:focus
194
- box-shadow: none
195
- .form-control,
196
- .input-group-btn
197
- background-color: transparent
198
- border: none
199
- border-top-left-radius: 20px
200
- border-bottom-left-radius: 20px
201
- .input-group-btn
202
- overflow: hidden
203
- border-left-radius: 0
204
- border-top-left-radius: 0
205
- border-bottom-left-radius: 0
206
- border-top-top-radius: 20px
207
- border-bottom-top-radius: 20px
208
- .btn
209
- background-color: transparent
210
- color: $gray
211
- &:hover
212
- color: $gray-dark
213
-
214
- //== Fixed actions
215
- //
216
- //##
217
-
218
- .form-fixed-actions
219
- margin-bottom: 100px
220
- .form-actions
221
- border-radius: 2px
222
- position: fixed
223
- bottom: 0px
224
- right: 50px
225
- left: auto
226
- padding: 8px
227
- z-index: $zindex-navbar-fixed - 10
228
- background-color: $gray-lighter
229
- +material-box-shadow-soft(3)
230
- margin-bottom: 25px
231
- text-align: center
232
- .btn
233
- margin-bottom: 10px
234
- margin-right: 0px
235
- &:last-child
236
- margin-right: 0
237
- margin-bottom: 0
238
-
239
- //== Input group addons
240
- //
241
- //##
242
-
243
- .input-group-btn:first-child >
244
- .btn, .btn-group
245
- margin-right: -2px
246
-
247
- .input-group-lg >
248
- .form-control, .input-group-addon, .input-group-btn > .btn
249
- font-size: 16px
250
-
251
- .input-group-sm >
252
- .form-control, .input-group-addon, .input-group-btn > .btn
253
- font-size: 11px
254
-
255
- .input-group-btn > .btn
256
- &:active, &:focus, &:hover
257
- z-index: 0
258
-
259
- //== Tabs error
260
- //
261
- //##
262
-
263
- .nav-tabs
264
- a
265
- &.has-error
266
- color: $brand-danger
267
- > li.active
268
- > a,
269
- > a:hover,
270
- > a:focus
271
- &.has-error
272
- color: $brand-danger
273
- border-bottom-color: $brand-danger
274
-
275
- //== Input with error
276
- //
277
- //##
278
-
279
- .has-success
280
- .checkbox, .checkbox-inline, .control-label, .form-control-feedback, .help-block, .radio, .radio-inline
281
- color: $brand-success
282
- .form-control
283
- border-color: $brand-success
284
-
285
- .has-warning
286
- .checkbox, .checkbox-inline, .control-label, .form-control-feedback, .help-block, .radio, .radio-inline
287
- color: $brand-warning
288
- .form-control
289
- border-color: $brand-warning
290
-
291
- .has-error
292
- .checkbox, .checkbox-inline, .control-label, .form-control-feedback, .help-block, .radio, .radio-inline
293
- color: $brand-danger
294
-
295
- .bootstrap-select.error > button, .form-control.error, .has-error .form-control
296
- border-color: $brand-danger
297
-
298
- .bootstrap-select.valid > button, .form-control.valid
299
- border-color: $brand-success
@@ -1,89 +0,0 @@
1
- //
2
- // List
3
- // --------------------------------------------------
4
-
5
- //== Page liste
6
- //
7
- //##
8
-
9
- .actions-control
10
- list-style: none
11
- padding: 0
12
- margin: 0 15px 0 0
13
-
14
- &:last-child
15
- margin-right: 0
16
-
17
- li
18
- display: inline-block
19
- padding: 0 5px
20
-
21
- .flextable
22
- display: table
23
- width: 100%
24
- .flextable-item
25
- display: table-cell
26
- white-space: nowrap
27
- vertical-align: middle
28
- width: 1%
29
- padding-right: 25px
30
- &:last-child
31
- padding-right: 0
32
- &.flextable-primary
33
- width: 99%
34
-
35
- .page-list
36
- .page-list-heading,
37
- .page-list-body,
38
- padding: 15px 0
39
- +clearfix
40
- .page-entries-info
41
- padding: 15px 0 5px 0
42
-
43
- .page-list-heading:first-child,
44
- .page-list-body:first-child
45
- padding-top: 0
46
-
47
- .page-list-heading
48
- border-bottom: 1px solid $gray-light
49
-
50
- .page-list-body:last-child
51
- padding-bottom: 0
52
-
53
- .page-list-footer
54
- border-top: 1px solid $gray-light
55
-
56
- //** Design selectize inside list heading because selectize is always a filter
57
- .page-list-heading
58
- .selectize-control .selectize-input
59
- +filter-style
60
- line-height: 22px
61
- &.full
62
- font-size: 0.9em
63
-
64
- .input-group
65
- +filter-style
66
- .form-control
67
- &:focus
68
- box-shadow: none
69
- .form-control,
70
- .input-group-btn
71
- background-color: transparent
72
- border: none
73
- border-top-left-radius: 20px
74
- border-bottom-left-radius: 20px
75
- .input-group-btn
76
- overflow: hidden
77
- border-top-left-radius: 0
78
- border-bottom-left-radius: 0
79
- border-top-top-radius: 20px
80
- border-bottom-top-radius: 20px
81
- .btn
82
- background-color: transparent
83
- color: $gray
84
- border-color: transparent
85
- &:hover
86
- color: $gray-dark
87
-
88
- .page-entries-info
89
- font-weight: 300
@@ -1,113 +0,0 @@
1
- //
2
- // Mixins
3
- // --------------------------------------------------
4
-
5
- //== Colors
6
- //
7
- //## Most of the mixins is here some other are in buttons.sass & form.sass
8
-
9
- //** Dont need to use .fa class etc juste add &:before content: '\???' where you want
10
- =fontAwesome
11
- font-family: FontAwesome
12
- font-weight: normal
13
- font-style: normal
14
- text-decoration: inherit
15
- -webkit-font-smoothing: antialiased
16
- /* sprites.less reset */
17
- display: inline-block
18
- width: auto
19
- height: auto
20
- line-height: normal
21
- vertical-align: baseline
22
- background-image: none
23
- background-position: 0% 0%
24
- background-repeat: repeat
25
- margin-top: 0
26
-
27
- //** Merge clearfix mixin
28
- =clearfix()
29
- &:before,
30
- &:after
31
- content: " "
32
- display: table
33
- &:after
34
- clear: both
35
-
36
- //** Display flex for vertical & horizontal alignement
37
-
38
- =display_flex
39
- display: -webkit-box
40
- display: -moz-box
41
- display: -ms-flexbox
42
- display: -webkit-flex
43
- display: flex
44
-
45
- =vCenter
46
- +display_flex
47
- -webkit-box-align: center
48
- -moz-box-align: center
49
- -ms-flex-align: center
50
- -webkit-align-items: center
51
- align-items: center
52
-
53
- =hCenter
54
- +display_flex
55
- -webkit-box-pack: center
56
- -moz-box-pack: center
57
- -ms-flex-pack: center
58
- -webkit-justify-content: center
59
- justify-content: center
60
-
61
- //** Used for form input search, selectize and other
62
- =filter-style
63
- border: none
64
- width: 100%
65
- background-color: $gray-lighter
66
- box-shadow: 0px 1px 3px 0px rgba(32,36,45, .12) inset, 0px 1px 2px 0px rgba(32,36,45, .24) inset
67
- border-radius: 20px
68
-
69
- //** Sass Mixin to target child of elements
70
- =first-child()
71
- &:first-of-type
72
- @content
73
-
74
- //** Default theme transition & shadow
75
- =default-transition($time: 0.3s)
76
- transition: all $time cubic-bezier(.25,.8,.25,1)
77
-
78
- =material-box-shadow($depth: 1)
79
- @if $depth == 1
80
- box-shadow: 0 1px 3px rgba(32,36,45,0.12), 0 1px 2px rgba(32,36,45,0.24)
81
- @if $depth == 2
82
- box-shadow: 0 3px 6px rgba(32,36,45,0.16), 0 3px 6px rgba(32,36,45,0.23)
83
- @if $depth == 3
84
- box-shadow: 0 10px 20px rgba(32,36,45,0.19), 0 6px 6px rgba(32,36,45,0.23)
85
- @if $depth == 4
86
- box-shadow: 0 14px 28px rgba(32,36,45,0.25), 0 10px 10px rgba(32,36,45,0.22)
87
- @if $depth == 5
88
- box-shadow: 0 19px 38px rgba(32,36,45,0.30), 0 15px 12px rgba(32,36,45,0.22)
89
-
90
- =material-box-shadow-soft($depth: 1)
91
- @if $depth == 1
92
- box-shadow: 0 1px 3px rgba(32,36,45,0.03), 0 1px 2px rgba(32,36,45,0.06)
93
- @if $depth == 2
94
- box-shadow: 0 3px 6px rgba(32,36,45,0.04), 0 3px 6px rgba(32,36,45,0.06)
95
- @if $depth == 3
96
- box-shadow: 0 10px 20px rgba(32,36,45,0.05), 0 6px 6px rgba(32,36,45,0.06)
97
- @if $depth == 4
98
- box-shadow: 0 14px 28px rgba(32,36,45,0.06), 0 10px 10px rgba(32,36,45,0.06)
99
- @if $depth == 5
100
- box-shadow: 0 19px 38px rgba(32,36,45,0.08), 0 15px 12px rgba(32,36,45,0.06)
101
- //** Grab cursor Mixin
102
-
103
- =grab-cursor
104
- cursor: -moz-grab
105
- cursor: -o-grab
106
- cursor: -ms-grab
107
- cursor: grab
108
-
109
- =grabbing-cursor
110
- cursor: -moz-grabbing
111
- cursor: -o-grabbing
112
- cursor: -ms-grabbing
113
- cursor: grabbing
@@ -1,91 +0,0 @@
1
- //
2
- // Multi select
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
- .multi-select-field
9
- .reorder-anchor-cell
10
- display: none
11
-
12
- &.loading
13
- // Display FontAwesome spinner when loading results
14
- .fa-search::before
15
- content: "\f110"
16
-
17
- &.orderable
18
- .reorder-anchor-cell
19
- display: table-cell
20
- padding: 0 0 0 15px
21
- vertical-align: middle
22
- width: 10%
23
-
24
- .input-group.filter-form
25
- margin-bottom: 15px
26
- input
27
- padding-left: 12px
28
- .btn
29
- cursor: default
30
- &:hover
31
- color: $gray
32
- &:active
33
- box-shadow: none
34
-
35
- .panel-heading
36
- padding: 5px 8px 5px 15px
37
- border-bottom-left-radius: 0
38
- border-bottom-right-radius: 0
39
- .panel-title
40
- color: $gray
41
- font-size: 12px
42
- font-weight: 700
43
- text-transform: uppercase
44
-
45
- .panel
46
- box-shadow: none
47
- .panel-body
48
- max-height: 318px
49
- overflow: auto
50
- padding: 0
51
-
52
- &.available-items
53
- .available-item
54
- height: 53px
55
- &:hover
56
- background-color: $gray-lighter
57
- color: $brand-primary
58
- .badge
59
- background-color: transparent
60
- color: $gray
61
- display: none
62
- float: right
63
- padding-right: 0
64
- text-transform: uppercase
65
-
66
- .selected
67
- td
68
- background-color: $gray-lighter
69
- color: $gray
70
- .btn
71
- display: none
72
- .badge
73
- display: inline
74
-
75
- &.selected-items
76
- .selected-item
77
- height: 53px
78
- &:hover
79
- background-color: $gray-lighter
80
- color: $brand-primary
81
-
82
- .no-items
83
- height: 75px
84
- background-color: $gray-lighter
85
- color: $gray
86
- padding: 15px
87
-
88
- .remove-button-cell, .add-button-cell
89
- .btn
90
- float: right
91
- width: 22px