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
@@ -1,190 +0,0 @@
|
|
1
|
-
@import "para/lib/compass/support";
|
2
|
-
|
3
|
-
// The the user threshold for transition support. Defaults to `$graceful-usage-threshold`
|
4
|
-
$transition-support-threshold: $graceful-usage-threshold !default;
|
5
|
-
|
6
|
-
|
7
|
-
// CSS Transitions
|
8
|
-
// Currently only works in Webkit.
|
9
|
-
//
|
10
|
-
// * expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3
|
11
|
-
// * We'll be prepared.
|
12
|
-
//
|
13
|
-
// Including this submodule sets following defaults for the mixins:
|
14
|
-
//
|
15
|
-
// $default-transition-property : all
|
16
|
-
// $default-transition-duration : 1s
|
17
|
-
// $default-transition-function : false
|
18
|
-
// $default-transition-delay : false
|
19
|
-
//
|
20
|
-
// Override them if you like. Timing-function and delay are set to false for browser defaults (ease, 0s).
|
21
|
-
|
22
|
-
$default-transition-property: all !default;
|
23
|
-
|
24
|
-
$default-transition-duration: 1s !default;
|
25
|
-
|
26
|
-
$default-transition-function: null !default;
|
27
|
-
|
28
|
-
$default-transition-delay: null !default;
|
29
|
-
|
30
|
-
$transitionable-prefixed-values: transform, transform-origin !default;
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
// Checks if the value given is a unit of time.
|
35
|
-
@function is-time($value) {
|
36
|
-
@return if(type-of($value) == number, not not index(s ms, unit($value)), false);
|
37
|
-
}
|
38
|
-
|
39
|
-
// Returns `$property` with the given prefix if it is found in `$transitionable-prefixed-values`.
|
40
|
-
@function prefixed-for-transition($prefix, $property) {
|
41
|
-
@if not $prefix {
|
42
|
-
@return $property;
|
43
|
-
}
|
44
|
-
@if type-of($property) == list or type-of($property) == arglist {
|
45
|
-
$new-list: comma-list();
|
46
|
-
@each $v in $property {
|
47
|
-
$new-list: append($new-list, prefixed-for-transition($prefix, $v));
|
48
|
-
}
|
49
|
-
@return $new-list;
|
50
|
-
} @else {
|
51
|
-
@if index($transitionable-prefixed-values, $property) {
|
52
|
-
@return #{$prefix}-#{$property};
|
53
|
-
} @else {
|
54
|
-
@return $property;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
// Returns $transition-map which includes key and values that map to a transition declaration
|
60
|
-
@function transition-map($transition) {
|
61
|
-
$transition-map: ();
|
62
|
-
|
63
|
-
@each $item in $transition {
|
64
|
-
@if is-time($item) {
|
65
|
-
@if map-has-key($transition-map, duration) {
|
66
|
-
$transition-map: map-merge($transition-map, (delay: $item));
|
67
|
-
} @else {
|
68
|
-
$transition-map: map-merge($transition-map, (duration: $item));
|
69
|
-
}
|
70
|
-
} @else if map-has-key($transition-map, property) {
|
71
|
-
$transition-map: map-merge($transition-map, (timing-function: $item));
|
72
|
-
} @else {
|
73
|
-
$transition-map: map-merge($transition-map, (property: $item));
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
@return $transition-map;
|
78
|
-
}
|
79
|
-
|
80
|
-
// One or more properties to transition
|
81
|
-
//
|
82
|
-
// * for multiple, use a comma-delimited list
|
83
|
-
// * also accepts "all" or "none"
|
84
|
-
|
85
|
-
@mixin transition-property($properties...) {
|
86
|
-
$properties: set-arglist-default($properties, $default-transition-property);
|
87
|
-
@include with-each-prefix(css-transitions, $transition-support-threshold) {
|
88
|
-
$props: if($current-prefix, prefixed-for-transition($current-prefix, $properties), $properties);
|
89
|
-
@include prefix-prop(transition-property, $props);
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
// One or more durations in seconds
|
94
|
-
//
|
95
|
-
// * for multiple, use a comma-delimited list
|
96
|
-
// * these durations will affect the properties in the same list position
|
97
|
-
|
98
|
-
@mixin transition-duration($durations...) {
|
99
|
-
$durations: set-arglist-default($durations, $default-transition-duration);
|
100
|
-
@include prefixed-properties(css-transitions, $transition-support-threshold, (
|
101
|
-
transition-duration: $durations
|
102
|
-
));
|
103
|
-
}
|
104
|
-
|
105
|
-
// One or more timing functions
|
106
|
-
//
|
107
|
-
// * [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)]
|
108
|
-
// * For multiple, use a comma-delimited list
|
109
|
-
// * These functions will effect the properties in the same list position
|
110
|
-
|
111
|
-
@mixin transition-timing-function($functions...) {
|
112
|
-
$functions: set-arglist-default($functions, $default-transition-function);
|
113
|
-
@include prefixed-properties(css-transitions, $transition-support-threshold, (
|
114
|
-
transition-timing-function: $functions
|
115
|
-
));
|
116
|
-
}
|
117
|
-
|
118
|
-
// One or more transition-delays in seconds
|
119
|
-
//
|
120
|
-
// * for multiple, use a comma-delimited list
|
121
|
-
// * these delays will effect the properties in the same list position
|
122
|
-
|
123
|
-
@mixin transition-delay($delays...) {
|
124
|
-
$delays: set-arglist-default($delays, $default-transition-delay);
|
125
|
-
@include prefixed-properties(css-transitions, $transition-support-threshold, (
|
126
|
-
transition-delay: $delays
|
127
|
-
));
|
128
|
-
}
|
129
|
-
|
130
|
-
// Transition all-in-one shorthand
|
131
|
-
|
132
|
-
@mixin single-transition(
|
133
|
-
$property: $default-transition-property,
|
134
|
-
$duration: $default-transition-duration,
|
135
|
-
$function: $default-transition-function,
|
136
|
-
$delay: $default-transition-delay
|
137
|
-
) {
|
138
|
-
@include transition(compact($property $duration $function $delay));
|
139
|
-
}
|
140
|
-
|
141
|
-
@mixin transition($transitions...) {
|
142
|
-
$default: (compact($default-transition-property $default-transition-duration $default-transition-function $default-transition-delay),);
|
143
|
-
$transitions: if(length($transitions) == 1 and type-of(nth($transitions, 1)) == list and list-separator(nth($transitions, 1)) == comma, nth($transitions, 1), $transitions);
|
144
|
-
$transitions: set-arglist-default($transitions, $default);
|
145
|
-
|
146
|
-
|
147
|
-
@include with-each-prefix(css-transitions, $transition-support-threshold) {
|
148
|
-
$delays: comma-list();
|
149
|
-
$transitions-without-delays: comma-list();
|
150
|
-
$transitions-with-delays: comma-list();
|
151
|
-
$has-delays: false;
|
152
|
-
|
153
|
-
|
154
|
-
// This block can be made considerably simpler at the point in time that
|
155
|
-
// we no longer need to deal with the differences in how delays are treated.
|
156
|
-
@each $transition in $transitions {
|
157
|
-
// Declare initial values for transition
|
158
|
-
$transition: transition-map($transition);
|
159
|
-
|
160
|
-
$property: map-get($transition, property);
|
161
|
-
$duration: map-get($transition, duration);
|
162
|
-
$timing-function: map-get($transition, timing-function);
|
163
|
-
$delay: map-get($transition, delay);
|
164
|
-
|
165
|
-
// Parse transition string to assign values into correct variables
|
166
|
-
$has-delays: $has-delays or $delay;
|
167
|
-
|
168
|
-
@if $current-prefix == -webkit {
|
169
|
-
// Keep a list of delays in case one is specified
|
170
|
-
$delays: append($delays, if($delay, $delay, 0s));
|
171
|
-
$transitions-without-delays: append($transitions-without-delays,
|
172
|
-
prefixed-for-transition($current-prefix, $property) $duration $timing-function);
|
173
|
-
} @else {
|
174
|
-
$transitions-with-delays: append($transitions-with-delays,
|
175
|
-
prefixed-for-transition($current-prefix, $property) $duration $timing-function $delay);
|
176
|
-
}
|
177
|
-
}
|
178
|
-
|
179
|
-
@if $current-prefix == -webkit {
|
180
|
-
@include prefix-prop(transition, $transitions-without-delays);
|
181
|
-
@if $has-delays {
|
182
|
-
@include prefix-prop(transition-delay, $delays);
|
183
|
-
}
|
184
|
-
} @else if $current-prefix {
|
185
|
-
@include prefix-prop(transition, $transitions-with-delays);
|
186
|
-
} @else {
|
187
|
-
transition: $transitions-with-delays;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
// User Interface
|
2
|
-
// This file can be expanded to handle all the user interface properties as
|
3
|
-
// they become available in browsers:
|
4
|
-
// http://www.w3.org/TR/2000/WD-css3-userint-20000216
|
5
|
-
|
6
|
-
@import "para/lib/compass/support";
|
7
|
-
|
8
|
-
// The prefixed support threshold for user-select.
|
9
|
-
// Defaults to the $graceful-usage-threshold.
|
10
|
-
$userselect-support-threshold: $graceful-usage-threshold !default;
|
11
|
-
|
12
|
-
// This property controls the selection model and granularity of an element.
|
13
|
-
//
|
14
|
-
// @param $select
|
15
|
-
// [ none | text | toggle | element | elements | all | inherit ]
|
16
|
-
@mixin user-select($select) {
|
17
|
-
$select: unquote($select);
|
18
|
-
|
19
|
-
@include with-each-prefix(user-select-none, $userselect-support-threshold) {
|
20
|
-
// old Firefox used a proprietary `-moz-none` value, starting with Firefox 21 `none` behaves like `-moz-none`
|
21
|
-
// @link https://developer.mozilla.org/en-US/docs/Web/CSS/user-select
|
22
|
-
@include prefix-prop(user-select, if($current-prefix == -moz and $select == 'none', -moz-none, $select));
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
// The prefixed support threshold for input-placeholder.
|
27
|
-
// Defaults to the $graceful-usage-threshold.
|
28
|
-
$input-placeholder-support-threshold: $graceful-usage-threshold !default;
|
29
|
-
|
30
|
-
// Style the html5 input placeholder in browsers that support it.
|
31
|
-
//
|
32
|
-
// The styles for the input placeholder are passed as mixin content
|
33
|
-
// and the selector comes from the mixin's context.
|
34
|
-
//
|
35
|
-
// For example:
|
36
|
-
//
|
37
|
-
// #{elements-of-type(text-input)} {
|
38
|
-
// @include input-placeholder {
|
39
|
-
// color: #bfbfbf;
|
40
|
-
// font-style: italic;
|
41
|
-
// }
|
42
|
-
// }
|
43
|
-
//
|
44
|
-
// if you want to apply the placeholder styles to all elements supporting
|
45
|
-
// the `input-placeholder` pseudo class (beware of performance impacts):
|
46
|
-
//
|
47
|
-
// * {
|
48
|
-
// @include input-placeholder {
|
49
|
-
// color: #bfbfbf;
|
50
|
-
// font-style: italic;
|
51
|
-
// }
|
52
|
-
// }
|
53
|
-
@mixin input-placeholder {
|
54
|
-
@include with-each-prefix(css-placeholder, $input-placeholder-support-threshold) {
|
55
|
-
@if $current-prefix == -webkit {
|
56
|
-
&::-webkit-input-placeholder { @content; }
|
57
|
-
}
|
58
|
-
@elseif $current-prefix == -moz {
|
59
|
-
// for Firefox 19 and below
|
60
|
-
@if support-legacy-browser("firefox", "4", "19", $threshold: $input-placeholder-support-threshold) {
|
61
|
-
&:-moz-placeholder { @content; }
|
62
|
-
}
|
63
|
-
// for Firefox 20 and above
|
64
|
-
&::-moz-placeholder { @content; }
|
65
|
-
}
|
66
|
-
@elseif $current-prefix == -ms {
|
67
|
-
&:-ms-input-placeholder { @content; }
|
68
|
-
}
|
69
|
-
}
|
70
|
-
// This is not standardized yet so no official selector is generated.
|
71
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
@import "para/lib/compass/support";
|
2
|
-
|
3
|
-
// The legacy support threshold for has-layout.
|
4
|
-
// Defaults to the $critical-usage-threshold.
|
5
|
-
$has-layout-support-threshold: $critical-usage-threshold !default;
|
6
|
-
|
7
|
-
// The `zoom` approach generates less CSS but does not validate.
|
8
|
-
// Set this to `block` to use the display-property to hack the
|
9
|
-
// element to gain layout.
|
10
|
-
$default-has-layout-approach: zoom !default;
|
11
|
-
|
12
|
-
// This mixin causes an element matching the selector
|
13
|
-
// to gain the "hasLayout" property in internet explorer.
|
14
|
-
// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
|
15
|
-
@mixin has-layout($approach: $default-has-layout-approach) {
|
16
|
-
@if support-legacy-browser("ie", "7", $threshold: $has-layout-support-threshold) {
|
17
|
-
@if $approach == zoom {
|
18
|
-
@include has-layout-zoom;
|
19
|
-
} @else if $approach == block {
|
20
|
-
@include has-layout-block;
|
21
|
-
} @else {
|
22
|
-
@warn "Unknown has-layout approach: #{$approach}";
|
23
|
-
@include has-layout-zoom;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
@mixin has-layout-zoom {
|
29
|
-
@if support-legacy-browser("ie", "7", $threshold: $has-layout-support-threshold) {
|
30
|
-
*zoom: 1;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
@mixin has-layout-block {
|
35
|
-
@if support-legacy-browser("ie", "7", $threshold: $has-layout-support-threshold) {
|
36
|
-
// This makes ie6 get layout
|
37
|
-
display: inline-block;
|
38
|
-
// and this puts it back to block
|
39
|
-
& { display: block; }
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
// The legacy support threshold for IE6 attribute hack.
|
45
|
-
// Defaults to the $critical-usage-threshold.
|
46
|
-
$ie6-attribute-hack-support-threshold: $critical-usage-threshold !default;
|
47
|
-
|
48
|
-
// A hack to supply IE6 (and below) with a different property value.
|
49
|
-
// [Read more](http://www.cssportal.com/css-hacks/#in_css-important).
|
50
|
-
@mixin bang-hack($property, $value, $ie6-value) {
|
51
|
-
@if support-legacy-browser("ie", "6", $threshold: $ie6-attribute-hack-support-threshold) {
|
52
|
-
@warn "it's recommended to use the underscore-hack() mixin instead of bang-hack()";
|
53
|
-
#{$property}: #{$value} !important;
|
54
|
-
#{$property}: #{$ie6-value};
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
// A hack to supply IE6 (and below) with a different property value.
|
59
|
-
// [Read more](http://www.paulirish.com/2009/browser-specific-css-hacks/)
|
60
|
-
@mixin underscore-hack($property, $value, $ie6-value) {
|
61
|
-
@if support-legacy-browser("ie", "6", $threshold: $ie6-attribute-hack-support-threshold) {
|
62
|
-
#{$property}: #{$value};
|
63
|
-
_#{$property}: #{$ie6-value};
|
64
|
-
}
|
65
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
@import "para/admin/src/variables"
|
2
|
-
|
3
|
-
/* Bootstrap Datetimepiker */
|
4
|
-
.xdsoft_datetimepicker
|
5
|
-
.xdsoft_calendar td.xdsoft_default,
|
6
|
-
.xdsoft_calendar td.xdsoft_current,
|
7
|
-
.xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current,
|
8
|
-
.xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current
|
9
|
-
background: $brand-primary
|
10
|
-
box-shadow: darken($brand-primary, 10%) 0px 1px 3px 0px inset
|
11
|
-
|
12
|
-
.xdsoft_calendar td:hover,
|
13
|
-
.xdsoft_timepicker .xdsoft_time_box >div >div:hover,
|
14
|
-
.xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover
|
15
|
-
background: $brand-success !important
|
@@ -1,40 +0,0 @@
|
|
1
|
-
@import "para/admin/src/variables"
|
2
|
-
|
3
|
-
input[type=number]::-webkit-inner-spin-button,
|
4
|
-
input[type=number]::-webkit-outer-spin-button
|
5
|
-
-webkit-appearance: none
|
6
|
-
margin: 0
|
7
|
-
|
8
|
-
.spinner,
|
9
|
-
.spinbox
|
10
|
-
.spinbox-buttons,
|
11
|
-
.spinner-buttons
|
12
|
-
height: 100%
|
13
|
-
.btn
|
14
|
-
position: relative
|
15
|
-
height: 50%
|
16
|
-
padding: 3px 9px 4px 9px
|
17
|
-
line-height: 0px
|
18
|
-
font-size: 10px
|
19
|
-
top: 0px
|
20
|
-
margin-left: -1px !important
|
21
|
-
border-color: $input-border
|
22
|
-
box-shadow: none
|
23
|
-
z-index: 2
|
24
|
-
.fa
|
25
|
-
font-size: 1em
|
26
|
-
margin-right: 0
|
27
|
-
line-height: 9px
|
28
|
-
&.disabled
|
29
|
-
cursor: not-allowed
|
30
|
-
&:hover,
|
31
|
-
&:focus
|
32
|
-
box-shadow: none
|
33
|
-
.spinner-up,
|
34
|
-
.spinbox-up
|
35
|
-
border-top-left-radius: 0 !important
|
36
|
-
border-top-right-radius: $input-border-radius !important
|
37
|
-
.spinner-down,
|
38
|
-
.spinbox-down
|
39
|
-
border-bottom-left-radius: 0 !important
|
40
|
-
padding: 3px 9px 3px 9px
|
@@ -1,97 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Jasny Bootstrap
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
//== Variables
|
6
|
-
//
|
7
|
-
//##
|
8
|
-
|
9
|
-
@import "para/admin/src/variables"
|
10
|
-
@import "para/admin/src/mixins"
|
11
|
-
|
12
|
-
//== Jasny Bootstrap
|
13
|
-
//
|
14
|
-
//## Fileupload overrides
|
15
|
-
|
16
|
-
.fileinput
|
17
|
-
margin-bottom: 0
|
18
|
-
display: block
|
19
|
-
&.fileinput-new
|
20
|
-
.fileinput-placeholder
|
21
|
-
display: block
|
22
|
-
&.fileinput-exists
|
23
|
-
.fileinput-placeholder
|
24
|
-
display: none
|
25
|
-
|
26
|
-
.uneditable-input
|
27
|
-
background-color: $input-bg-disabled
|
28
|
-
|
29
|
-
//** Override btn color for feeting to the design
|
30
|
-
.btn-file
|
31
|
-
color: #fff
|
32
|
-
background-color: $btn-primary-bg
|
33
|
-
border-color: $btn-primary-border
|
34
|
-
+material-box-shadow-soft(1)
|
35
|
-
+default-transition
|
36
|
-
&:hover,
|
37
|
-
&:focus,
|
38
|
-
&:active,
|
39
|
-
&:active:hover,
|
40
|
-
&:active:focus,
|
41
|
-
&.active
|
42
|
-
background-color: $btn-primary-bg !important
|
43
|
-
border-color: $btn-primary-border !important
|
44
|
-
color: #fff
|
45
|
-
&:active,
|
46
|
-
&.active
|
47
|
-
+material-box-shadow-soft(2)
|
48
|
-
|
49
|
-
.btn-danger
|
50
|
-
+material-box-shadow-soft(1)
|
51
|
-
+default-transition
|
52
|
-
&:hover,
|
53
|
-
&:focus,
|
54
|
-
&:active,
|
55
|
-
&:active:hover,
|
56
|
-
&:active:focus,
|
57
|
-
&.active
|
58
|
-
background-color: $btn-danger-bg !important
|
59
|
-
border-color: $btn-danger-border !important
|
60
|
-
color: #fff
|
61
|
-
&:active,
|
62
|
-
&.active
|
63
|
-
+material-box-shadow-soft(2)
|
64
|
-
&.fileinput-exists
|
65
|
-
margin-left: 10px
|
66
|
-
|
67
|
-
.fileinput-new.input-group .btn-file,
|
68
|
-
.fileinput.input-group .btn-file
|
69
|
-
border-right-radius: $border-radius-base
|
70
|
-
border-color: $input-border
|
71
|
-
|
72
|
-
.fileinput.input-group .input-group-btn
|
73
|
-
.form-control.file
|
74
|
-
padding: 0 !important
|
75
|
-
position: absolute
|
76
|
-
|
77
|
-
.fileinput
|
78
|
-
.input-group-btn > .btn:hover,
|
79
|
-
.input-group-btn > .btn:focus,
|
80
|
-
.input-group-btn > .btn:active
|
81
|
-
z-index: 0
|
82
|
-
|
83
|
-
.fileinput-preview.thumbnail
|
84
|
-
width: auto
|
85
|
-
height: auto
|
86
|
-
min-width: 80px
|
87
|
-
min-height: 80px
|
88
|
-
max-height: 500px
|
89
|
-
margin-bottom: 0
|
90
|
-
margin-top: 10px
|
91
|
-
background-color: $gray-light
|
92
|
-
border: none
|
93
|
-
|
94
|
-
.empty-thumbnail
|
95
|
-
width: 72px
|
96
|
-
height: 72px
|
97
|
-
background-color: $gray-light
|
@@ -1,86 +0,0 @@
|
|
1
|
-
@import "para/admin/src/variables"
|
2
|
-
|
3
|
-
.redactor-button-disabled
|
4
|
-
&:hover,
|
5
|
-
&:focus
|
6
|
-
background-color: transparent !important
|
7
|
-
color: #333 !important
|
8
|
-
cursor: disabled
|
9
|
-
|
10
|
-
.redactor-dropdown a
|
11
|
-
color: $dropdown-link-color
|
12
|
-
&:hover,
|
13
|
-
&:focus
|
14
|
-
background-color: $dropdown-link-hover-bg
|
15
|
-
color: $dropdown-link-hover-color !important
|
16
|
-
|
17
|
-
.redactor-box
|
18
|
-
.redactor-toolbar
|
19
|
-
/* Override z-index because we don't whant */
|
20
|
-
/* redactor_toolbar fixed somewhere or on top of everythink ..*/
|
21
|
-
z-index: 1 !important
|
22
|
-
box-shadow: none
|
23
|
-
border-radius: $input-border-radius $input-border-radius 0 0
|
24
|
-
border: 1px solid $input-border
|
25
|
-
li a
|
26
|
-
&:hover,
|
27
|
-
&:focus
|
28
|
-
background-color: $btn-primary-bg
|
29
|
-
color: $btn-primary-color
|
30
|
-
|
31
|
-
.redactor-editor
|
32
|
-
background-color: $input-bg
|
33
|
-
border: 1px solid $input-border
|
34
|
-
border-top-width: 0px
|
35
|
-
border-radius: 0 0 $input-border-radius $input-border-radius
|
36
|
-
&:focus
|
37
|
-
border-color: $input-border-focus
|
38
|
-
background: #FFF
|
39
|
-
&[disabled], &[readonly]
|
40
|
-
color: $gray-dark
|
41
|
-
&[disabled]:focus, &[readonly]:focus
|
42
|
-
background: $input-bg-disabled
|
43
|
-
color: $gray-dark
|
44
|
-
border-color: $gray-lighter
|
45
|
-
|
46
|
-
textarea.form-control
|
47
|
-
background-color: $input-bg
|
48
|
-
color: $input-color
|
49
|
-
border: 1px solid $input-border
|
50
|
-
border-top-width: 0px
|
51
|
-
&:focus
|
52
|
-
background-color: #111
|
53
|
-
color: $gray-lighter
|
54
|
-
|
55
|
-
.redactor-editor
|
56
|
-
div.row
|
57
|
-
margin-left: -15px
|
58
|
-
margin-right: -15px
|
59
|
-
margin-bottom: 0
|
60
|
-
div[class^=col-lg-], div[class^=col-md-], div[class^=col-sm-], div[class^=col-xs-]
|
61
|
-
padding-left: 15px
|
62
|
-
padding-right: 15px
|
63
|
-
border: 1px dotted $gray-light
|
64
|
-
margin-bottom: 0
|
65
|
-
|
66
|
-
#redactor-modal
|
67
|
-
input[type="text"],
|
68
|
-
input[type="password"],
|
69
|
-
input[type="email"],
|
70
|
-
textarea
|
71
|
-
border-color: $input-border
|
72
|
-
background-color: $input-bg
|
73
|
-
color: $input-color
|
74
|
-
box-shadow: none
|
75
|
-
&:focus
|
76
|
-
background-color: #fff
|
77
|
-
border-color: $input-border-focus
|
78
|
-
box-shadow: none
|
79
|
-
|
80
|
-
footer
|
81
|
-
button.redactor-modal-action-btn
|
82
|
-
background-color: $btn-primary-bg
|
83
|
-
color: $btn-primary-color
|
84
|
-
&:hover,
|
85
|
-
&:focus
|
86
|
-
background-color: darken($btn-primary-bg, 5%)
|
@@ -1,111 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Selectize
|
3
|
-
// --------------------------------------------------
|
4
|
-
@import "para/admin/src/variables"
|
5
|
-
@import "para/admin/src/mixins"
|
6
|
-
|
7
|
-
//== Selectize
|
8
|
-
//
|
9
|
-
//## Override default style
|
10
|
-
|
11
|
-
//** Debug ghost margin bottom
|
12
|
-
.selectize-control,
|
13
|
-
.selectize-control.form-control
|
14
|
-
line-height: 0
|
15
|
-
|
16
|
-
//** Single
|
17
|
-
.selectize-control
|
18
|
-
&.single
|
19
|
-
.selectize-input
|
20
|
-
padding-right: 30px
|
21
|
-
//** Caret by para
|
22
|
-
&:after
|
23
|
-
right: 12px
|
24
|
-
+fontAwesome
|
25
|
-
content: "\f107"
|
26
|
-
border: none
|
27
|
-
margin-top: -6px
|
28
|
-
color: $gray
|
29
|
-
|
30
|
-
//** Dropdown
|
31
|
-
|
32
|
-
//** Active system
|
33
|
-
|
34
|
-
//** Dropdown active
|
35
|
-
|
36
|
-
.selectize-input,
|
37
|
-
.selectize-input.full
|
38
|
-
border-color: $input-border
|
39
|
-
border-radius: $input-border-radius
|
40
|
-
&.focus
|
41
|
-
border-color: $input-border-focus
|
42
|
-
&.dropdown-active
|
43
|
-
border-radius: $input-border-radius
|
44
|
-
&:after
|
45
|
-
border: none
|
46
|
-
transform: rotate(180deg)
|
47
|
-
margin-top: -6px
|
48
|
-
|
49
|
-
.selectize-control.single .selectize-input
|
50
|
-
&.dropdown-active
|
51
|
-
&:after
|
52
|
-
margin-top: -6px
|
53
|
-
|
54
|
-
.selectize-dropdown,
|
55
|
-
.selectize-input,
|
56
|
-
.selectize-input input
|
57
|
-
color: $input-color
|
58
|
-
|
59
|
-
.selectize-input,
|
60
|
-
.selectize-control.single .selectize-input.input-active
|
61
|
-
background: $input-bg
|
62
|
-
|
63
|
-
.selectize-input,
|
64
|
-
.selectize-input.full,
|
65
|
-
.selectize-input.not-full
|
66
|
-
background: $input-bg
|
67
|
-
|
68
|
-
.selectize-input.not-full input
|
69
|
-
::placeholder
|
70
|
-
color: $input-color-placeholder
|
71
|
-
font-size: 0.9em
|
72
|
-
|
73
|
-
.selectize-dropdown
|
74
|
-
[data-selectable]
|
75
|
-
background-color: $dropdown-bg
|
76
|
-
color: $dropdown-link-color
|
77
|
-
.active
|
78
|
-
background-color: $gray-lighter
|
79
|
-
color: $dropdown-link-hover-color
|
80
|
-
.selected
|
81
|
-
background-color: $dropdown-link-active-bg
|
82
|
-
color: $dropdown-link-active-color
|
83
|
-
|
84
|
-
.selectize-control.multi .selectize-input > div
|
85
|
-
background-color: $gray-light
|
86
|
-
border-radius: 2px
|
87
|
-
color: $text-color
|
88
|
-
&:hover,
|
89
|
-
&:focus,
|
90
|
-
&.active
|
91
|
-
background-color: $navbar-default-bg
|
92
|
-
color: $gray-lighter
|
93
|
-
.remove
|
94
|
-
&:hover
|
95
|
-
background-color: $blue-darker
|
96
|
-
|
97
|
-
//== Selectize Dropdown
|
98
|
-
//
|
99
|
-
//## Override z-index because of Fixed actions container
|
100
|
-
|
101
|
-
.selectize-dropdown,
|
102
|
-
.selectize-dropdown.form-control
|
103
|
-
+material-box-shadow-soft(2)
|
104
|
-
border: none
|
105
|
-
margin: 8px 0 0 0
|
106
|
-
z-index: $zindex-navbar-fixed + 20
|
107
|
-
|
108
|
-
.selectize-dropdown
|
109
|
-
[data-selectable]
|
110
|
-
line-weight: 300
|
111
|
-
padding: 8px 12px
|
@@ -1 +0,0 @@
|
|
1
|
-
<% Para.config.plugins.stylesheet_includes.each { |path| require_asset(path) } %>
|