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,32 +0,0 @@
1
- //
2
- // Breadcrumb
3
- // --------------------------------------------------
4
-
5
- //== Breadcrumb override
6
- //
7
- //## Just a override of bootstrap
8
-
9
- .breadcrumb
10
- float: left
11
- width: calc(100% - 90px)
12
- max-height: 60px
13
- margin: 0
14
-
15
- border: none
16
- border-radius: 0
17
-
18
- li
19
- max-width: 30%
20
- height: 60px
21
- overflow: hidden
22
- text-overflow: ellipsis
23
- white-space: nowrap
24
-
25
- a
26
- color: $breadcrumb-color
27
- font-size: 1em
28
- font-weight: 300
29
- text-decoration: none
30
- &.active
31
- a
32
- color: $breadcrumb-active-color
@@ -1,107 +0,0 @@
1
- //
2
- // Buttons
3
- // --------------------------------------------------
4
-
5
- //== Buttons mixin
6
- //
7
- //## buttons mixin is here because is doest have to be share
8
-
9
- =btn-outline($brand: default)
10
- border: 1px solid $brand
11
- background-color: transparent
12
- color: $brand
13
- +default-transition
14
- &:hover,
15
- &:focus
16
- background-color: $brand
17
- color: #fff
18
-
19
- =btn-icon($brand: default)
20
- color: $brand
21
- background-color: $btn-default-bg
22
- &:hover,
23
- &:focus
24
- color: white !important
25
- background-color: $brand
26
-
27
- =btn-shadow
28
- @each $class, $bg, $border in (primary, $btn-primary-bg, $btn-primary-border), (danger, $btn-danger-bg, $btn-danger-border), (default, $btn-default-bg, $btn-default-border), (success, $btn-success-bg, $btn-success-border), (warning, $btn-warning-bg, $btn-warning-border), (info, $btn-info-bg, $btn-info-border)
29
- &.btn-#{$class}
30
- &:hover,
31
- &:focus,
32
- &:active,
33
- &:active:focus,
34
- &.active
35
- background-color: $bg !important
36
- border-color: $border !important
37
-
38
- .btn-shadow
39
- +btn-shadow
40
-
41
- //** Override bootstrap btns
42
- .btn
43
- padding: 6px 16px
44
- text-transform: uppercase
45
- .fa
46
- font-size: 15px
47
- &.fa-stack-2x
48
- font-size: 20px
49
-
50
- .btn-sm
51
- padding: 5px 10px
52
- .fa
53
- font-size: 13px
54
-
55
-
56
- .btn-xs
57
- padding: 1px 5px
58
- .fa
59
- font-size: 12px
60
-
61
- //** Override boostrap active btns if here is in dropdown
62
- .btn-group.open .dropdown-toggle,
63
- .dropdown.open .dropdown-toggle
64
- +material-box-shadow-soft(2)
65
-
66
-
67
- //** Override the default btn of bootstrap
68
- .btn-default
69
- &:hover
70
- background-color: darken($btn-default-bg, 1%)
71
- border-color: darken($btn-default-border, 1%)
72
-
73
- //** Override default comportement of bootstrap with btn shadow
74
- .btn-shadow
75
- +material-box-shadow-soft(1)
76
- +default-transition
77
- &:active,
78
- &.active
79
- +material-box-shadow-soft(2)
80
-
81
- //** Btn outline
82
- .btn-default-outline
83
- +btn-outline($gray)
84
- .btn-primary-outline
85
- +btn-outline($brand-primary)
86
- .btn-success-outline
87
- +btn-outline($brand-success)
88
- .btn-info-outline
89
- +btn-outline($brand-info)
90
- .btn-warning-outline
91
- +btn-outline($brand-warning)
92
- .btn-danger-outline
93
- +btn-outline($brand-danger)
94
-
95
- //** Btn icon
96
- .btn-icon-default
97
- +btn-icon($gray)
98
- .btn-icon-primary
99
- +btn-icon($brand-primary)
100
- .btn-icon-success
101
- +btn-icon($brand-success)
102
- .btn-icon-info
103
- +btn-icon($brand-info)
104
- .btn-icon-warning
105
- +btn-icon($brand-warning)
106
- .btn-icon-danger
107
- +btn-icon($brand-danger)
@@ -1,94 +0,0 @@
1
- //
2
- // Checkable
3
- // --------------------------------------------------
4
-
5
- //== Radio & Checkbox
6
- //
7
- //##
8
-
9
- //** Vertical form
10
- .form-vertical
11
- .form-group.boolean
12
- +clearfix
13
- i
14
- font-size: 20px
15
- line-height: 1
16
-
17
- //** wrapper: :vertical_radio_and_checkboxes
18
- label:not(.control-label)
19
- display: block
20
- font-weight: 500
21
- font-size: $font-size-base
22
-
23
- //** wrapper: :horizontal_radio_and_checkboxes
24
- .control-label[class*='col-']
25
- padding-left: 0
26
-
27
- //** Override bootstrap vertical form
28
- .radio label,
29
- .checkbox label
30
- padding-left: 0
31
- margin-bottom: inherit
32
-
33
- //** Checkbox in table
34
- .table
35
- .radio,
36
- .checkbox
37
- margin: 0
38
- label
39
- font-weight: 500
40
- font-size: $font-size-base
41
- margin-bottom: 0
42
- i
43
- font-size: 20px
44
- line-height: 1
45
-
46
- //** Customize Checkbox and Radio
47
- .form-group.boolean input[type=checkbox],
48
- .form-group.boolean input[type=radio],
49
- .checkbox input[type=checkbox],
50
- .radio input[type=radio]
51
- position: absolute
52
- overflow: hidden
53
- clip: rect(0 0 0 0)
54
- height: 1px
55
- width: 1px
56
- margin: -1px
57
- padding: 0
58
- border: 0
59
-
60
- input[type=checkbox]:checked + label.check_boxes:before,
61
- input[type=checkbox]:checked + .checkbox-icon:before
62
- content: "\f046"
63
-
64
- input[type=checkbox]:focus + label.check_boxes:before,
65
- input[type=checkbox]:focus + .checkbox-icon:before
66
- color: $input-border-focus
67
-
68
- .boolean .checkbox-icon,
69
- .checkbox .checkbox-icon
70
- &:hover
71
- &:before
72
- color: $input-border-focus
73
- &:before
74
- +fontAwesome
75
- content: "\f096"
76
- color: $input-color
77
-
78
- input[type=radio]:checked + label.radio_buttons:before,
79
- input[type=radio]:checked + .radio-icon:before
80
- content: "\f192"
81
-
82
- input[type=radio]:focus + label.radio_buttons:before,
83
- input[type=radio]:focus + .radio-icon:before
84
- color: $input-border-focus
85
-
86
- .boolean .radio-icon,
87
- .radio .radio-icon
88
- &:hover
89
- &:before
90
- color: $input-border-focus
91
- &:before
92
- +fontAwesome
93
- content: "\f10c"
94
- color: $input-color
@@ -1,202 +0,0 @@
1
- //
2
- // Common
3
- // --------------------------------------------------
4
-
5
- //** Override bootstrap
6
- .text-muted
7
- font-weight: 300
8
-
9
- .text-disabled
10
- padding: 5px
11
- background-color: $input-bg-disabled
12
- color: $input-color
13
-
14
- .collapsing
15
- +default-transition
16
-
17
- .label
18
- font-size: 90%
19
-
20
- .help-block
21
- font-size: 0.8em
22
- color: $gray
23
-
24
- [class*="hint--"]:after
25
- text-transform: lowercase
26
- text-shadow: none
27
-
28
- //** icons
29
- .icon-rounded
30
- width: 32px
31
- height: 32px
32
- text-align: center
33
- font-size: 17px
34
- line-height: 32px
35
- font-weight: 700
36
- font-style: normal
37
- border-radius: 100%
38
-
39
- //** Thumbtack in statcard
40
- .thumbtack-link
41
- position: absolute
42
- top: $spacer-y * 2
43
- right: $spacer-x * 3
44
- z-index: 100
45
- &:hover,
46
- &.active
47
- .fa-thumb-tack
48
- color: $purple
49
- text-shadow: none
50
-
51
- .fa-thumb-tack
52
- +rotate(-45deg)
53
- font-size: 25px
54
- color: #fff
55
- text-shadow: 0px 0px 1px #aaaaaa
56
- +default-transition
57
-
58
- //== Positioning
59
- //
60
- //##
61
-
62
- .pos-r
63
- position: relative !important
64
-
65
- .pos-a
66
- position: absolute !important
67
-
68
- .pos-f
69
- position: fixed !important
70
-
71
- //== Margin and padding spacer
72
- //
73
- //##
74
-
75
- //** Margin
76
- .m-a-0
77
- margin: 0 !important
78
- .m-t-0
79
- margin-top: 0 !important
80
- .m-r-0
81
- margin-right: 0 !important
82
- .m-b-0
83
- margin-bottom: 0 !important
84
- .m-l-0
85
- margin-left: 0 !important
86
-
87
- .m-a
88
- margin: $spacer !important
89
- .m-t
90
- margin-top: $spacer-y !important
91
- .m-r
92
- margin-right: $spacer-x !important
93
- .m-b
94
- margin-bottom: $spacer-y !important
95
- .m-l
96
- margin-left: $spacer-x !important
97
- .m-x
98
- margin-right: $spacer-x !important
99
- margin-left: $spacer-x !important
100
- .m-y
101
- margin-top: $spacer-y !important
102
- margin-bottom: $spacer-y !important
103
- .m-x-auto
104
- margin-right: auto !important
105
- margin-left: auto !important
106
-
107
- .m-a-md
108
- margin: ($spacer-y * 1.5) !important
109
- .m-t-md
110
- margin-top: ($spacer-y * 1.5) !important
111
- .m-r-md
112
- margin-right: ($spacer-y * 1.5) !important
113
- .m-b-md
114
- margin-bottom: ($spacer-y * 1.5) !important
115
- .m-l-md
116
- margin-left: ($spacer-y * 1.5) !important
117
- .m-x-md
118
- margin-right: ($spacer-x * 1.5) !important
119
- margin-left: ($spacer-x * 1.5) !important
120
- .m-y-md
121
- margin-top: ($spacer-y * 1.5) !important
122
- margin-bottom: ($spacer-y * 1.5) !important
123
-
124
- .m-a-lg
125
- margin: ($spacer-y * 3) !important
126
- .m-t-lg
127
- margin-top: ($spacer-y * 2.5) !important
128
- .m-r-lg
129
- margin-right: ($spacer-y * 3) !important
130
- .m-b-lg
131
- margin-bottom: ($spacer-y * 3) !important
132
- .m-l-lg
133
- margin-left: ($spacer-y * 3) !important
134
- .m-x-lg
135
- margin-right: ($spacer-x * 3) !important
136
- margin-left: ($spacer-x * 3) !important
137
- .m-y-lg
138
- margin-top: ($spacer-y * 3) !important
139
- margin-bottom: ($spacer-y * 3) !important
140
-
141
- //** Padding
142
- .p-a-0
143
- padding: 0 !important
144
- .p-t-0
145
- padding-top: 0 !important
146
- .p-r-0
147
- padding-right: 0 !important
148
- .p-b-0
149
- padding-bottom: 0 !important
150
- .p-l-0
151
- padding-left: 0 !important
152
-
153
- .p-a
154
- padding: $spacer !important
155
- .p-t
156
- padding-top: $spacer-y !important
157
- .p-r
158
- padding-right: $spacer-x !important
159
- .p-b
160
- padding-bottom: $spacer-y !important
161
- .p-l
162
- padding-left: $spacer-x !important
163
- .p-x
164
- padding-right: $spacer-x !important
165
- padding-left: $spacer-x !important
166
- .p-y
167
- padding-top: $spacer-y !important
168
- padding-bottom: $spacer-y !important
169
-
170
- .p-a-md
171
- padding: ($spacer-y * 1.5) !important
172
- .p-t-md
173
- padding-top: ($spacer-y * 1.5) !important
174
- .p-r-md
175
- padding-right: ($spacer-y * 1.5) !important
176
- .p-b-md
177
- padding-bottom: ($spacer-y * 1.5) !important
178
- .p-l-md
179
- padding-left: ($spacer-y * 1.5) !important
180
- .p-x-md
181
- padding-right: ($spacer-x * 1.5) !important
182
- padding-left: ($spacer-x * 1.5) !important
183
- .p-y-md
184
- padding-top: ($spacer-y * 1.5) !important
185
- padding-bottom: ($spacer-y * 1.5) !important
186
-
187
- .p-a-lg
188
- padding: ($spacer-y * 3) !important
189
- .p-t-lg
190
- padding-top: ($spacer-y * 3) !important
191
- .p-r-lg
192
- padding-right: ($spacer-y * 3) !important
193
- .p-b-lg
194
- padding-bottom: ($spacer-y * 3) !important
195
- .p-l-lg
196
- padding-left: ($spacer-y * 3) !important
197
- .p-x-lg
198
- padding-right: ($spacer-x * 3) !important
199
- padding-left: ($spacer-x * 3) !important
200
- .p-y-lg
201
- padding-top: ($spacer-y * 3) !important
202
- padding-bottom: ($spacer-y * 3) !important
@@ -1,40 +0,0 @@
1
- //
2
- // Dropdown
3
- // --------------------------------------------------
4
-
5
- //== Main style
6
- //
7
- //##
8
-
9
- .dropdown
10
- &.open
11
- .fa-angle-down
12
- +rotate(180deg)
13
-
14
- .dropdown-menu
15
- border-radius: 2px
16
- +material-box-shadow-soft(2)
17
- border: none
18
- margin: 10px 0 0
19
- z-index: $zindex-navbar-fixed + 20
20
- > li
21
- > a
22
- border-bottom: 1px solid $gray-lighter
23
- line-weight: 300
24
- padding: 12px 12px
25
- &:hover
26
- background-color: $gray-lighter
27
- &:first-child
28
- > a
29
- border-top: 1px solid $gray-lighter
30
- &:after, &:before
31
- display: none
32
-
33
- .dropup .dropdown-menu
34
- &:after, &:before
35
- display: none
36
-
37
- .dropdown-header
38
- padding: 10px 15px
39
- border-bottom: 1px solid $dropdown-border
40
- color: $dropdown-header-color