para 0.11.4 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/para/admin/main.scss +31 -0
- data/app/assets/stylesheets/para/admin/src/_affix.scss +7 -0
- data/app/assets/stylesheets/para/admin/src/_alert.scss +35 -0
- data/app/assets/stylesheets/para/admin/src/_base.scss +63 -0
- data/app/assets/stylesheets/para/admin/src/_bootstrap-variables.scss +766 -379
- data/app/assets/stylesheets/para/admin/src/_breadcrumb.scss +37 -0
- data/app/assets/stylesheets/para/admin/src/_buttons.scss +128 -0
- data/app/assets/stylesheets/para/admin/src/_checkable.scss +106 -0
- data/app/assets/stylesheets/para/admin/src/_common.scss +250 -0
- data/app/assets/stylesheets/para/admin/src/_dropdown.scss +52 -0
- data/app/assets/stylesheets/para/admin/src/_form.scss +359 -0
- data/app/assets/stylesheets/para/admin/src/_list.scss +96 -0
- data/app/assets/stylesheets/para/admin/src/_mixins.scss +109 -0
- data/app/assets/stylesheets/para/admin/src/_multi-select.scss +110 -0
- data/app/assets/stylesheets/para/admin/src/_navigation.scss +210 -0
- data/app/assets/stylesheets/para/admin/src/_navtabs.scss +68 -0
- data/app/assets/stylesheets/para/admin/src/_nested-many.scss +87 -0
- data/app/assets/stylesheets/para/admin/src/_nested_one.scss +26 -0
- data/app/assets/stylesheets/para/admin/src/_orderable.scss +48 -0
- data/app/assets/stylesheets/para/admin/src/_page-loading.scss +40 -0
- data/app/assets/stylesheets/para/admin/src/_pagination.scss +39 -0
- data/app/assets/stylesheets/para/admin/src/_panel.scss +61 -0
- data/app/assets/stylesheets/para/admin/src/_responsive.scss +133 -0
- data/app/assets/stylesheets/para/admin/src/_sorting.scss +43 -0
- data/app/assets/stylesheets/para/admin/src/_statcard.scss +46 -0
- data/app/assets/stylesheets/para/admin/src/_table.scss +36 -0
- data/app/assets/stylesheets/para/admin/src/_tree.scss +60 -0
- data/app/assets/stylesheets/para/admin/src/{_variables.sass → _variables.scss} +7 -7
- data/app/assets/stylesheets/para/admin/src/{_well.sass → _well.scss} +5 -4
- data/app/assets/stylesheets/para/admin.scss +15 -0
- data/app/assets/stylesheets/para/index.scss +1 -0
- data/app/assets/stylesheets/para/lib/datetimepicker.scss +15 -0
- data/app/assets/stylesheets/para/lib/fuelux.scss +46 -0
- data/app/assets/stylesheets/para/lib/jasny-bootstrap.scss +100 -0
- data/app/assets/stylesheets/para/lib/selectize.scss +129 -0
- data/app/assets/stylesheets/para/lib/slider.scss +14 -0
- data/app/controllers/para/admin/crud_resources_controller.rb +16 -9
- data/app/controllers/para/admin/imports_controller.rb +9 -9
- data/app/controllers/para/admin/jobs_controller.rb +7 -1
- data/app/controllers/para/admin/resources_controller.rb +17 -18
- data/app/controllers/para/admin/settings_component_controller.rb +2 -2
- data/app/helpers/para/admin/base_helper.rb +36 -25
- data/app/helpers/para/admin/page_helper.rb +8 -9
- data/app/helpers/para/flash_helper.rb +7 -28
- data/app/helpers/para/model_helper.rb +5 -8
- data/app/helpers/para/tree_helper.rb +4 -4
- data/app/javascripts/para/admin/async-progress.js +58 -0
- data/app/javascripts/para/admin/filters-form.js +12 -0
- data/app/javascripts/para/admin/job-tracker.js +33 -0
- data/app/javascripts/para/admin/table.js +58 -0
- data/app/javascripts/para/admin/tabs.js +110 -0
- data/app/javascripts/para/admin/theme_actions.js +39 -0
- data/app/javascripts/para/admin/tree.js +124 -0
- data/app/javascripts/para/application.js +2 -0
- data/app/javascripts/para/controllers/application.js +17 -0
- data/app/javascripts/para/controllers/index.js +10 -0
- data/app/javascripts/para/controllers/para_admin_flash_message_controller.js +48 -0
- data/app/javascripts/para/controllers/para_admin_modal_controller.js +43 -0
- data/app/javascripts/para/controllers/selectize_field_controller.js +142 -0
- data/app/javascripts/para/index.js +31 -0
- data/app/javascripts/para/inputs/material-input.js +7 -0
- data/app/javascripts/para/inputs/multi-select-input.js +343 -0
- data/app/javascripts/para/inputs/nested_many.js +151 -0
- data/app/javascripts/para/lib/fetch.js +41 -0
- data/app/javascripts/para/lib/page-loading.js +42 -0
- data/app/javascripts/para/simple_form_extension/colorpicker.js +30 -0
- data/app/javascripts/para/simple_form_extension/datetimepicker.js +115 -0
- data/app/javascripts/para/simple_form_extension/fileinput.js +57 -0
- data/app/javascripts/para/simple_form_extension/index.js +12 -0
- data/app/javascripts/para/simple_form_extension/selectize.js +160 -0
- data/app/javascripts/para/simple_form_extension/simple_form_extension_initialization.js +62 -0
- data/app/javascripts/para/simple_form_extension/slider.js +43 -0
- data/app/javascripts/para/simple_form_extension/spinbox.js +35 -0
- data/app/javascripts/para/vendor/bootstrap-colorpicker.js +1025 -0
- data/app/javascripts/para/vendor/bootstrap-slider.js +1610 -0
- data/app/javascripts/para/vendor/cocoon.js +150 -0
- data/app/javascripts/para/vendor/jquery.datetimepicker.js +2156 -0
- data/app/javascripts/para/vendor/jquery.js +3 -0
- data/app/javascripts/para/vendor/spinbox.js +438 -0
- data/app/javascripts/para/vendor/vertebra.js +224 -0
- data/app/views/admin/para/exporter/bases/_completed.html.haml +1 -1
- data/app/views/layouts/para/admin.html.haml +4 -2
- data/app/views/para/admin/imports/new.html.haml +12 -11
- data/app/views/para/admin/jobs/_completed.html.haml +1 -1
- data/app/views/para/admin/jobs/_failed.html.haml +1 -1
- data/app/views/para/admin/jobs/_job.html.haml +11 -0
- data/app/views/para/admin/jobs/show.html.haml +1 -10
- data/app/views/para/admin/resources/_add_button.html.haml +1 -1
- data/app/views/para/admin/resources/_exports_menu.html.haml +2 -2
- data/app/views/para/admin/resources/_filters.html.haml +1 -1
- data/app/views/para/admin/resources/_imports_menu.html.haml +2 -2
- data/app/views/para/admin/resources/_list.html.haml +27 -26
- data/app/views/para/admin/resources/_navigation.html.haml +10 -11
- data/app/views/para/admin/resources/_subclassable_add_button.html.haml +1 -1
- data/app/views/para/admin/shared/_flash.html.haml +18 -0
- data/app/views/para/admin/shared/_header.html.haml +1 -1
- data/app/views/para/form/_tabs.html.haml +1 -1
- data/app/views/para/inputs/_nested_many.html.haml +3 -3
- data/app/views/para/inputs/nested_many/_add.html.haml +1 -1
- data/app/views/para/inputs/nested_many/_add_with_subclasses.html.haml +2 -2
- data/app/views/para/inputs/nested_many/_container.html.haml +1 -1
- data/config/locales/fr.yml +1 -0
- data/lib/generators/para/install/install_generator.rb +10 -14
- data/lib/para/attribute_field/base.rb +3 -0
- data/lib/para/attribute_field/wysiwyg_editor.rb +15 -0
- data/lib/para/attribute_field.rb +1 -1
- data/lib/para/components_configuration.rb +1 -1
- data/lib/para/engine.rb +20 -22
- data/lib/para/ext/turbo_stream.rb +13 -0
- data/lib/para/ext.rb +1 -1
- data/lib/para/form_builder/containers.rb +33 -22
- data/lib/para/form_builder/nested_form.rb +6 -5
- data/lib/para/inputs/nested_many_input.rb +5 -0
- data/lib/para/markup/modal.rb +30 -15
- data/lib/para/markup/resources_buttons.rb +15 -11
- data/lib/para/model_field_parsers/wysiwyg_editor.rb +19 -0
- data/lib/para/model_field_parsers.rb +1 -1
- data/lib/para/version.rb +1 -1
- data/lib/para.rb +2 -8
- data/lib/simple_form_extension/components/icons.rb +13 -0
- data/lib/simple_form_extension/components/popovers.rb +46 -0
- data/lib/simple_form_extension/components.rb +8 -0
- data/lib/simple_form_extension/ext/form_builder.rb +20 -0
- data/lib/simple_form_extension/file_concern.rb +74 -0
- data/lib/simple_form_extension/inputs/boolean_input.rb +16 -0
- data/lib/simple_form_extension/inputs/collection_check_boxes_input.rb +15 -0
- data/lib/simple_form_extension/inputs/collection_radio_buttons_input.rb +15 -0
- data/lib/simple_form_extension/inputs/color_input.rb +37 -0
- data/lib/simple_form_extension/inputs/date_time_input.rb +48 -0
- data/lib/simple_form_extension/inputs/file_input.rb +41 -0
- data/lib/simple_form_extension/inputs/image_input.rb +110 -0
- data/lib/simple_form_extension/inputs/numeric_input.rb +27 -0
- data/lib/simple_form_extension/inputs/selectize_input.rb +210 -0
- data/lib/simple_form_extension/inputs/slider_input.rb +30 -0
- data/lib/simple_form_extension/inputs.rb +16 -0
- data/lib/simple_form_extension/railtie.rb +21 -0
- data/lib/simple_form_extension/resource_name_helper.rb +9 -0
- data/lib/simple_form_extension/translations.rb +7 -0
- data/lib/simple_form_extension/version.rb +3 -0
- data/lib/simple_form_extension.rb +30 -0
- data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/alpha-horizontal.png +0 -0
- data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/alpha.png +0 -0
- data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/hue-horizontal.png +0 -0
- data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/hue.png +0 -0
- data/vendor/assets/images/simple_form_extension/bootstrap-colorpicker/saturation.png +0 -0
- data/vendor/assets/stylesheets/bootstrap-colorpicker.scss +227 -0
- data/vendor/assets/stylesheets/bootstrap-slider.scss +246 -0
- data/vendor/assets/stylesheets/bootstrap.scss +6032 -0
- data/vendor/assets/stylesheets/jquery.datetimepicker.scss +568 -0
- metadata +120 -188
- data/app/assets/javascripts/admin/app.coffee +0 -1
- data/app/assets/javascripts/para/admin/async-progress.coffee +0 -29
- data/app/assets/javascripts/para/admin/filters-form.coffee +0 -11
- data/app/assets/javascripts/para/admin/job-tracker.coffee +0 -39
- data/app/assets/javascripts/para/admin/table.coffee +0 -44
- data/app/assets/javascripts/para/admin/tabs.coffee +0 -63
- data/app/assets/javascripts/para/admin/theme_actions.coffee +0 -25
- data/app/assets/javascripts/para/admin/tree.coffee +0 -105
- data/app/assets/javascripts/para/admin.coffee +0 -22
- data/app/assets/javascripts/para/application.js +0 -13
- data/app/assets/javascripts/para/inputs/material-input.coffee +0 -4
- data/app/assets/javascripts/para/inputs/multi-select-input.coffee +0 -174
- data/app/assets/javascripts/para/inputs/nested_many.coffee +0 -108
- data/app/assets/javascripts/para/lib/ajax.coffee +0 -11
- data/app/assets/javascripts/para/lib/remote-file-forms.coffee +0 -59
- data/app/assets/javascripts/para/lib/turbolinks-forms.coffee +0 -23
- data/app/assets/javascripts/para/lib/turbolinks-loading.coffee +0 -25
- data/app/assets/javascripts/para/lib/turbolinks-reloader.coffee +0 -19
- data/app/assets/stylesheets/para/admin/main.sass +0 -33
- data/app/assets/stylesheets/para/admin/src/_affix.sass +0 -4
- data/app/assets/stylesheets/para/admin/src/_alert.sass +0 -17
- data/app/assets/stylesheets/para/admin/src/_base.sass +0 -54
- data/app/assets/stylesheets/para/admin/src/_breadcrumb.sass +0 -32
- data/app/assets/stylesheets/para/admin/src/_buttons.sass +0 -107
- data/app/assets/stylesheets/para/admin/src/_checkable.sass +0 -94
- data/app/assets/stylesheets/para/admin/src/_common.sass +0 -202
- data/app/assets/stylesheets/para/admin/src/_dropdown.sass +0 -40
- data/app/assets/stylesheets/para/admin/src/_form.sass +0 -299
- data/app/assets/stylesheets/para/admin/src/_list.sass +0 -89
- data/app/assets/stylesheets/para/admin/src/_mixins.sass +0 -113
- data/app/assets/stylesheets/para/admin/src/_multi-select.sass +0 -91
- data/app/assets/stylesheets/para/admin/src/_navigation.sass +0 -171
- data/app/assets/stylesheets/para/admin/src/_navtabs.sass +0 -58
- data/app/assets/stylesheets/para/admin/src/_nested-many.sass +0 -75
- data/app/assets/stylesheets/para/admin/src/_nested_one.sass +0 -22
- data/app/assets/stylesheets/para/admin/src/_orderable.sass +0 -44
- data/app/assets/stylesheets/para/admin/src/_page-loading.sass +0 -39
- data/app/assets/stylesheets/para/admin/src/_pagination.sass +0 -34
- data/app/assets/stylesheets/para/admin/src/_panel.sass +0 -55
- data/app/assets/stylesheets/para/admin/src/_responsive.sass +0 -117
- data/app/assets/stylesheets/para/admin/src/_sorting.sass +0 -36
- data/app/assets/stylesheets/para/admin/src/_statcard.sass +0 -41
- data/app/assets/stylesheets/para/admin/src/_table.sass +0 -33
- data/app/assets/stylesheets/para/admin/src/_tree.sass +0 -52
- data/app/assets/stylesheets/para/admin.sass +0 -12
- data/app/assets/stylesheets/para/lib/compass/_support.scss +0 -447
- data/app/assets/stylesheets/para/lib/compass/css3/_box-shadow.scss +0 -88
- data/app/assets/stylesheets/para/lib/compass/css3/_images.scss +0 -152
- data/app/assets/stylesheets/para/lib/compass/css3/_inline-block.scss +0 -31
- data/app/assets/stylesheets/para/lib/compass/css3/_text-shadow.scss +0 -82
- data/app/assets/stylesheets/para/lib/compass/css3/_transform.scss +0 -590
- data/app/assets/stylesheets/para/lib/compass/css3/_transition.scss +0 -190
- data/app/assets/stylesheets/para/lib/compass/css3/_user-interface.scss +0 -71
- data/app/assets/stylesheets/para/lib/compass/utilities/general/_hacks.scss +0 -65
- data/app/assets/stylesheets/para/lib/datetimepicker.sass +0 -15
- data/app/assets/stylesheets/para/lib/fuelux.sass +0 -40
- data/app/assets/stylesheets/para/lib/jasny-bootstrap.sass +0 -97
- data/app/assets/stylesheets/para/lib/redactor.sass +0 -86
- data/app/assets/stylesheets/para/lib/selectize.sass +0 -111
- data/app/assets/stylesheets/para/lib/slider.sass +0 -12
- data/app/assets/stylesheets/para/plugins-includes.sass.erb +0 -1
- data/lib/para/attribute_field/redactor.rb +0 -22
- data/lib/para/ext/request_iframe_xhr.rb +0 -17
- data/lib/para/iframe_transport/middleware.rb +0 -58
- data/lib/para/iframe_transport.rb +0 -7
- data/lib/para/model_field_parsers/redactor.rb +0 -19
- data/vendor/assets/javascripts/jquery.iframe-transport.js +0 -260
- data/vendor/assets/javascripts/jquery.remote-modal-form.coffee +0 -145
- /data/app/assets/stylesheets/admin/{app.sass → app.scss} +0 -0
- /data/app/{assets/javascripts → javascripts}/para/plugins-includes.js.erb +0 -0
- /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/Sortable.js +0 -0
- /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/jasny-bootstrap.js +0 -0
- /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/jquery.scrollto.js +0 -0
- /data/{vendor/assets/javascripts → app/javascripts/para/vendor}/jquery.sortable.js +0 -0
- /data/vendor/assets/stylesheets/{animate.css → animate.scss} +0 -0
- /data/vendor/assets/stylesheets/{hint.css → hint.scss} +0 -0
- /data/vendor/assets/stylesheets/{jasny-bootstrap.css → jasny-bootstrap.scss} +0 -0
@@ -0,0 +1,227 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap Colorpicker
|
3
|
+
* http://mjolnic.github.io/bootstrap-colorpicker/
|
4
|
+
*
|
5
|
+
* Originally written by (c) 2012 Stefan Petre
|
6
|
+
* Licensed under the Apache License v2.0
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0.txt
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
|
11
|
+
.colorpicker-saturation {
|
12
|
+
float: left;
|
13
|
+
width: 100px;
|
14
|
+
height: 100px;
|
15
|
+
cursor: crosshair;
|
16
|
+
background-image: url("simple_form_extension/bootstrap-colorpicker/saturation.png");
|
17
|
+
}
|
18
|
+
|
19
|
+
.colorpicker-saturation i {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
left: 0;
|
23
|
+
display: block;
|
24
|
+
width: 5px;
|
25
|
+
height: 5px;
|
26
|
+
margin: -4px 0 0 -4px;
|
27
|
+
border: 1px solid #000;
|
28
|
+
-webkit-border-radius: 5px;
|
29
|
+
-moz-border-radius: 5px;
|
30
|
+
border-radius: 5px;
|
31
|
+
}
|
32
|
+
|
33
|
+
.colorpicker-saturation i b {
|
34
|
+
display: block;
|
35
|
+
width: 5px;
|
36
|
+
height: 5px;
|
37
|
+
border: 1px solid #fff;
|
38
|
+
-webkit-border-radius: 5px;
|
39
|
+
-moz-border-radius: 5px;
|
40
|
+
border-radius: 5px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.colorpicker-hue,
|
44
|
+
.colorpicker-alpha {
|
45
|
+
float: left;
|
46
|
+
width: 15px;
|
47
|
+
height: 100px;
|
48
|
+
margin-bottom: 4px;
|
49
|
+
margin-left: 4px;
|
50
|
+
cursor: row-resize;
|
51
|
+
}
|
52
|
+
|
53
|
+
.colorpicker-hue i,
|
54
|
+
.colorpicker-alpha i {
|
55
|
+
position: absolute;
|
56
|
+
top: 0;
|
57
|
+
left: 0;
|
58
|
+
display: block;
|
59
|
+
width: 100%;
|
60
|
+
height: 1px;
|
61
|
+
margin-top: -1px;
|
62
|
+
background: #000;
|
63
|
+
border-top: 1px solid #fff;
|
64
|
+
}
|
65
|
+
|
66
|
+
.colorpicker-hue {
|
67
|
+
background-image: url("simple_form_extension/bootstrap-colorpicker/hue.png");
|
68
|
+
}
|
69
|
+
|
70
|
+
.colorpicker-alpha {
|
71
|
+
display: none;
|
72
|
+
background-image: url("simple_form_extension/bootstrap-colorpicker/alpha.png");
|
73
|
+
}
|
74
|
+
|
75
|
+
.colorpicker {
|
76
|
+
top: 0;
|
77
|
+
left: 0;
|
78
|
+
z-index: 2500;
|
79
|
+
min-width: 130px;
|
80
|
+
padding: 4px;
|
81
|
+
margin-top: 1px;
|
82
|
+
-webkit-border-radius: 4px;
|
83
|
+
-moz-border-radius: 4px;
|
84
|
+
border-radius: 4px;
|
85
|
+
*zoom: 1;
|
86
|
+
}
|
87
|
+
|
88
|
+
.colorpicker:before,
|
89
|
+
.colorpicker:after {
|
90
|
+
display: table;
|
91
|
+
line-height: 0;
|
92
|
+
content: "";
|
93
|
+
}
|
94
|
+
|
95
|
+
.colorpicker:after {
|
96
|
+
clear: both;
|
97
|
+
}
|
98
|
+
|
99
|
+
.colorpicker:before {
|
100
|
+
position: absolute;
|
101
|
+
top: -7px;
|
102
|
+
left: 6px;
|
103
|
+
display: inline-block;
|
104
|
+
border-right: 7px solid transparent;
|
105
|
+
border-bottom: 7px solid #ccc;
|
106
|
+
border-left: 7px solid transparent;
|
107
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
108
|
+
content: '';
|
109
|
+
}
|
110
|
+
|
111
|
+
.colorpicker:after {
|
112
|
+
position: absolute;
|
113
|
+
top: -6px;
|
114
|
+
left: 7px;
|
115
|
+
display: inline-block;
|
116
|
+
border-right: 6px solid transparent;
|
117
|
+
border-bottom: 6px solid #ffffff;
|
118
|
+
border-left: 6px solid transparent;
|
119
|
+
content: '';
|
120
|
+
}
|
121
|
+
|
122
|
+
.colorpicker div {
|
123
|
+
position: relative;
|
124
|
+
}
|
125
|
+
|
126
|
+
.colorpicker.colorpicker-with-alpha {
|
127
|
+
min-width: 140px;
|
128
|
+
}
|
129
|
+
|
130
|
+
.colorpicker.colorpicker-with-alpha .colorpicker-alpha {
|
131
|
+
display: block;
|
132
|
+
}
|
133
|
+
|
134
|
+
.colorpicker-color {
|
135
|
+
height: 10px;
|
136
|
+
margin-top: 5px;
|
137
|
+
clear: both;
|
138
|
+
background-image: url("simple_form_extension/bootstrap-colorpicker/alpha.png");
|
139
|
+
background-position: 0 100%;
|
140
|
+
}
|
141
|
+
|
142
|
+
.colorpicker-color div {
|
143
|
+
height: 10px;
|
144
|
+
}
|
145
|
+
|
146
|
+
.colorpicker-element .input-group-addon i,
|
147
|
+
.colorpicker-element .add-on i {
|
148
|
+
display: inline-block;
|
149
|
+
width: 16px;
|
150
|
+
height: 16px;
|
151
|
+
vertical-align: text-top;
|
152
|
+
cursor: pointer;
|
153
|
+
}
|
154
|
+
|
155
|
+
.colorpicker.colorpicker-inline {
|
156
|
+
position: relative;
|
157
|
+
z-index: auto;
|
158
|
+
display: inline-block;
|
159
|
+
float: none;
|
160
|
+
}
|
161
|
+
|
162
|
+
.colorpicker.colorpicker-horizontal {
|
163
|
+
width: 110px;
|
164
|
+
height: auto;
|
165
|
+
min-width: 110px;
|
166
|
+
}
|
167
|
+
|
168
|
+
.colorpicker.colorpicker-horizontal .colorpicker-saturation {
|
169
|
+
margin-bottom: 4px;
|
170
|
+
}
|
171
|
+
|
172
|
+
.colorpicker.colorpicker-horizontal .colorpicker-color {
|
173
|
+
width: 100px;
|
174
|
+
}
|
175
|
+
|
176
|
+
.colorpicker.colorpicker-horizontal .colorpicker-hue,
|
177
|
+
.colorpicker.colorpicker-horizontal .colorpicker-alpha {
|
178
|
+
float: left;
|
179
|
+
width: 100px;
|
180
|
+
height: 15px;
|
181
|
+
margin-bottom: 4px;
|
182
|
+
margin-left: 0;
|
183
|
+
cursor: col-resize;
|
184
|
+
}
|
185
|
+
|
186
|
+
.colorpicker.colorpicker-horizontal .colorpicker-hue i,
|
187
|
+
.colorpicker.colorpicker-horizontal .colorpicker-alpha i {
|
188
|
+
position: absolute;
|
189
|
+
top: 0;
|
190
|
+
left: 0;
|
191
|
+
display: block;
|
192
|
+
width: 1px;
|
193
|
+
height: 15px;
|
194
|
+
margin-top: 0;
|
195
|
+
background: #ffffff;
|
196
|
+
border: none;
|
197
|
+
}
|
198
|
+
|
199
|
+
.colorpicker.colorpicker-horizontal .colorpicker-hue {
|
200
|
+
background-image: url("simple_form_extension/bootstrap-colorpicker/hue-horizontal.png");
|
201
|
+
}
|
202
|
+
|
203
|
+
.colorpicker.colorpicker-horizontal .colorpicker-alpha {
|
204
|
+
background-image: url("simple_form_extension/bootstrap-colorpicker/alpha-horizontal.png");
|
205
|
+
}
|
206
|
+
|
207
|
+
.colorpicker.colorpicker-hidden {
|
208
|
+
display: none;
|
209
|
+
}
|
210
|
+
|
211
|
+
.colorpicker.colorpicker-visible {
|
212
|
+
display: block;
|
213
|
+
}
|
214
|
+
|
215
|
+
.colorpicker-inline.colorpicker-visible {
|
216
|
+
display: inline-block;
|
217
|
+
}
|
218
|
+
|
219
|
+
.colorpicker-right:before {
|
220
|
+
right: 6px;
|
221
|
+
left: auto;
|
222
|
+
}
|
223
|
+
|
224
|
+
.colorpicker-right:after {
|
225
|
+
right: 7px;
|
226
|
+
left: auto;
|
227
|
+
}
|
@@ -0,0 +1,246 @@
|
|
1
|
+
/*! =========================================================
|
2
|
+
* bootstrap-slider.js
|
3
|
+
*
|
4
|
+
* Maintainers:
|
5
|
+
* Kyle Kemp
|
6
|
+
* - Twitter: @seiyria
|
7
|
+
* - Github: seiyria
|
8
|
+
* Rohit Kalkur
|
9
|
+
* - Twitter: @Rovolutionary
|
10
|
+
* - Github: rovolution
|
11
|
+
*
|
12
|
+
* =========================================================
|
13
|
+
*
|
14
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
15
|
+
* you may not use this file except in compliance with the License.
|
16
|
+
* You may obtain a copy of the License at
|
17
|
+
*
|
18
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
19
|
+
*
|
20
|
+
* Unless required by applicable law or agreed to in writing, software
|
21
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
22
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23
|
+
* See the License for the specific language governing permissions and
|
24
|
+
* limitations under the License.
|
25
|
+
* ========================================================= */
|
26
|
+
.slider {
|
27
|
+
display: inline-block;
|
28
|
+
vertical-align: middle;
|
29
|
+
position: relative;
|
30
|
+
}
|
31
|
+
.slider.slider-horizontal {
|
32
|
+
width: 210px;
|
33
|
+
height: 20px;
|
34
|
+
}
|
35
|
+
.slider.slider-horizontal .slider-track {
|
36
|
+
height: 10px;
|
37
|
+
width: 100%;
|
38
|
+
margin-top: -5px;
|
39
|
+
top: 50%;
|
40
|
+
left: 0;
|
41
|
+
}
|
42
|
+
.slider.slider-horizontal .slider-selection,
|
43
|
+
.slider.slider-horizontal .slider-track-low,
|
44
|
+
.slider.slider-horizontal .slider-track-high {
|
45
|
+
height: 100%;
|
46
|
+
top: 0;
|
47
|
+
bottom: 0;
|
48
|
+
}
|
49
|
+
.slider.slider-horizontal .slider-tick,
|
50
|
+
.slider.slider-horizontal .slider-handle {
|
51
|
+
margin-left: -10px;
|
52
|
+
margin-top: -5px;
|
53
|
+
}
|
54
|
+
.slider.slider-horizontal .slider-tick.triangle,
|
55
|
+
.slider.slider-horizontal .slider-handle.triangle {
|
56
|
+
border-width: 0 10px 10px 10px;
|
57
|
+
width: 0;
|
58
|
+
height: 0;
|
59
|
+
border-bottom-color: #0480be;
|
60
|
+
margin-top: 0;
|
61
|
+
}
|
62
|
+
.slider.slider-horizontal .slider-tick-label-container {
|
63
|
+
white-space: nowrap;
|
64
|
+
margin-top: 20px;
|
65
|
+
}
|
66
|
+
.slider.slider-horizontal .slider-tick-label-container .slider-tick-label {
|
67
|
+
padding-top: 4px;
|
68
|
+
display: inline-block;
|
69
|
+
text-align: center;
|
70
|
+
}
|
71
|
+
.slider.slider-vertical {
|
72
|
+
height: 210px;
|
73
|
+
width: 20px;
|
74
|
+
}
|
75
|
+
.slider.slider-vertical .slider-track {
|
76
|
+
width: 10px;
|
77
|
+
height: 100%;
|
78
|
+
margin-left: -5px;
|
79
|
+
left: 50%;
|
80
|
+
top: 0;
|
81
|
+
}
|
82
|
+
.slider.slider-vertical .slider-selection {
|
83
|
+
width: 100%;
|
84
|
+
left: 0;
|
85
|
+
top: 0;
|
86
|
+
bottom: 0;
|
87
|
+
}
|
88
|
+
.slider.slider-vertical .slider-track-low,
|
89
|
+
.slider.slider-vertical .slider-track-high {
|
90
|
+
width: 100%;
|
91
|
+
left: 0;
|
92
|
+
right: 0;
|
93
|
+
}
|
94
|
+
.slider.slider-vertical .slider-tick,
|
95
|
+
.slider.slider-vertical .slider-handle {
|
96
|
+
margin-left: -5px;
|
97
|
+
margin-top: -10px;
|
98
|
+
}
|
99
|
+
.slider.slider-vertical .slider-tick.triangle,
|
100
|
+
.slider.slider-vertical .slider-handle.triangle {
|
101
|
+
border-width: 10px 0 10px 10px;
|
102
|
+
width: 1px;
|
103
|
+
height: 1px;
|
104
|
+
border-left-color: #0480be;
|
105
|
+
margin-left: 0;
|
106
|
+
}
|
107
|
+
.slider.slider-disabled .slider-handle {
|
108
|
+
background-image: -webkit-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
|
109
|
+
background-image: -o-linear-gradient(top, #dfdfdf 0%, #bebebe 100%);
|
110
|
+
background-image: linear-gradient(to bottom, #dfdfdf 0%, #bebebe 100%);
|
111
|
+
background-repeat: repeat-x;
|
112
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdfdfdf', endColorstr='#ffbebebe', GradientType=0);
|
113
|
+
}
|
114
|
+
.slider.slider-disabled .slider-track {
|
115
|
+
background-image: -webkit-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
|
116
|
+
background-image: -o-linear-gradient(top, #e5e5e5 0%, #e9e9e9 100%);
|
117
|
+
background-image: linear-gradient(to bottom, #e5e5e5 0%, #e9e9e9 100%);
|
118
|
+
background-repeat: repeat-x;
|
119
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe5e5e5', endColorstr='#ffe9e9e9', GradientType=0);
|
120
|
+
cursor: not-allowed;
|
121
|
+
}
|
122
|
+
.slider input {
|
123
|
+
display: none;
|
124
|
+
}
|
125
|
+
.slider .tooltip.top {
|
126
|
+
margin-top: -36px;
|
127
|
+
}
|
128
|
+
.slider .tooltip-inner {
|
129
|
+
white-space: nowrap;
|
130
|
+
}
|
131
|
+
.slider .hide {
|
132
|
+
display: none;
|
133
|
+
}
|
134
|
+
.slider-track {
|
135
|
+
position: absolute;
|
136
|
+
cursor: pointer;
|
137
|
+
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
|
138
|
+
background-image: -o-linear-gradient(top, #f5f5f5 0%, #f9f9f9 100%);
|
139
|
+
background-image: linear-gradient(to bottom, #f5f5f5 0%, #f9f9f9 100%);
|
140
|
+
background-repeat: repeat-x;
|
141
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
|
142
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
143
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
144
|
+
border-radius: 4px;
|
145
|
+
}
|
146
|
+
.slider-selection {
|
147
|
+
position: absolute;
|
148
|
+
background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
|
149
|
+
background-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
|
150
|
+
background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
|
151
|
+
background-repeat: repeat-x;
|
152
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
|
153
|
+
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
154
|
+
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
155
|
+
-webkit-box-sizing: border-box;
|
156
|
+
-moz-box-sizing: border-box;
|
157
|
+
box-sizing: border-box;
|
158
|
+
border-radius: 4px;
|
159
|
+
}
|
160
|
+
.slider-selection.tick-slider-selection {
|
161
|
+
background-image: -webkit-linear-gradient(top, #89cdef 0%, #81bfde 100%);
|
162
|
+
background-image: -o-linear-gradient(top, #89cdef 0%, #81bfde 100%);
|
163
|
+
background-image: linear-gradient(to bottom, #89cdef 0%, #81bfde 100%);
|
164
|
+
background-repeat: repeat-x;
|
165
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff89cdef', endColorstr='#ff81bfde', GradientType=0);
|
166
|
+
}
|
167
|
+
.slider-track-low,
|
168
|
+
.slider-track-high {
|
169
|
+
position: absolute;
|
170
|
+
background: transparent;
|
171
|
+
-webkit-box-sizing: border-box;
|
172
|
+
-moz-box-sizing: border-box;
|
173
|
+
box-sizing: border-box;
|
174
|
+
border-radius: 4px;
|
175
|
+
}
|
176
|
+
.slider-handle {
|
177
|
+
position: absolute;
|
178
|
+
width: 20px;
|
179
|
+
height: 20px;
|
180
|
+
background-color: #337ab7;
|
181
|
+
background-image: -webkit-linear-gradient(top, #149bdf 0%, #0480be 100%);
|
182
|
+
background-image: -o-linear-gradient(top, #149bdf 0%, #0480be 100%);
|
183
|
+
background-image: linear-gradient(to bottom, #149bdf 0%, #0480be 100%);
|
184
|
+
background-repeat: repeat-x;
|
185
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
|
186
|
+
filter: none;
|
187
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
188
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
189
|
+
border: 0px solid transparent;
|
190
|
+
}
|
191
|
+
.slider-handle.round {
|
192
|
+
border-radius: 50%;
|
193
|
+
}
|
194
|
+
.slider-handle.triangle {
|
195
|
+
background: transparent none;
|
196
|
+
}
|
197
|
+
.slider-handle.custom {
|
198
|
+
background: transparent none;
|
199
|
+
}
|
200
|
+
.slider-handle.custom::before {
|
201
|
+
line-height: 20px;
|
202
|
+
font-size: 20px;
|
203
|
+
content: '\2605';
|
204
|
+
color: #726204;
|
205
|
+
}
|
206
|
+
.slider-tick {
|
207
|
+
position: absolute;
|
208
|
+
width: 20px;
|
209
|
+
height: 20px;
|
210
|
+
background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
|
211
|
+
background-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);
|
212
|
+
background-image: linear-gradient(to bottom, #f9f9f9 0%, #f5f5f5 100%);
|
213
|
+
background-repeat: repeat-x;
|
214
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
|
215
|
+
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
216
|
+
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
217
|
+
-webkit-box-sizing: border-box;
|
218
|
+
-moz-box-sizing: border-box;
|
219
|
+
box-sizing: border-box;
|
220
|
+
filter: none;
|
221
|
+
opacity: 0.8;
|
222
|
+
border: 0px solid transparent;
|
223
|
+
}
|
224
|
+
.slider-tick.round {
|
225
|
+
border-radius: 50%;
|
226
|
+
}
|
227
|
+
.slider-tick.triangle {
|
228
|
+
background: transparent none;
|
229
|
+
}
|
230
|
+
.slider-tick.custom {
|
231
|
+
background: transparent none;
|
232
|
+
}
|
233
|
+
.slider-tick.custom::before {
|
234
|
+
line-height: 20px;
|
235
|
+
font-size: 20px;
|
236
|
+
content: '\2605';
|
237
|
+
color: #726204;
|
238
|
+
}
|
239
|
+
.slider-tick.in-selection {
|
240
|
+
background-image: -webkit-linear-gradient(top, #89cdef 0%, #81bfde 100%);
|
241
|
+
background-image: -o-linear-gradient(top, #89cdef 0%, #81bfde 100%);
|
242
|
+
background-image: linear-gradient(to bottom, #89cdef 0%, #81bfde 100%);
|
243
|
+
background-repeat: repeat-x;
|
244
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff89cdef', endColorstr='#ff81bfde', GradientType=0);
|
245
|
+
opacity: 1;
|
246
|
+
}
|