pageflow 15.3.0 → 15.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pageflow might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +158 -353
- data/README.md +2 -3
- data/app/assets/javascripts/pageflow/dist/ui.js +99 -32
- data/app/assets/javascripts/pageflow/vendor.js +0 -1
- data/app/assets/stylesheets/pageflow/editor/base.scss +3 -2
- data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +1 -1
- data/app/assets/stylesheets/pageflow/editor/select_button.scss +1 -1
- data/app/assets/stylesheets/pageflow/editor/sidebar_footer.scss +1 -1
- data/app/assets/stylesheets/pageflow/entries.scss +1 -1
- data/app/assets/stylesheets/pageflow/loading_spinner.scss +4 -1
- data/app/assets/stylesheets/pageflow/navigation_mobile.scss +4 -4
- data/app/assets/stylesheets/pageflow/themes/default/anchors.scss +1 -1
- data/app/assets/stylesheets/pageflow/themes/default/logo/variant/watermark.scss +1 -1
- data/app/assets/stylesheets/pageflow/themes/default/page/anchors.scss +1 -1
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar.scss +1 -1
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/info_box.scss +1 -1
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/shared/menu_bar.scss +2 -2
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss +2 -2
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/info_box.scss +1 -1
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/quality_menu.scss +2 -2
- data/app/assets/stylesheets/pageflow/themes/default/player_controls/waveform/wave.scss +1 -1
- data/app/assets/stylesheets/pageflow/ui/forms.scss +9 -2
- data/app/assets/stylesheets/pageflow/ui/input/extended_select_input.scss +2 -2
- data/app/models/pageflow/account_role_query.rb +1 -1
- data/app/models/pageflow/managed_user_query.rb +1 -1
- data/app/policies/pageflow/folder_policy.rb +2 -2
- data/app/policies/pageflow/membership_policy.rb +2 -2
- data/app/policies/pageflow/theming_policy.rb +2 -2
- data/app/policies/pageflow/user_policy.rb +1 -1
- data/app/views/pageflow/video_files/_video_file.json.jbuilder +8 -1
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +103 -36
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +42 -15
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/vendor.js +1 -0
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/videojs.js +6 -0
- data/entry_types/paged/app/views/layouts/pageflow_paged/_loading_spinner_inline_script.html.erb +1 -0
- data/entry_types/paged/app/views/layouts/pageflow_paged/application.html.erb +1 -1
- data/entry_types/paged/app/views/pageflow_paged/editor/entries/_head.html.erb +2 -0
- data/entry_types/paged/lib/tasks/pageflow_paged_tasks.rake +7 -0
- data/{vendor/assets/javascripts → entry_types/paged/vendor/assets/javascripts/pageflow_paged/vendor}/dash.all.min.js +0 -0
- data/{vendor/assets/javascripts → entry_types/paged/vendor/assets/javascripts/pageflow_paged/vendor}/videojs-dash.js +0 -0
- data/{vendor/assets/javascripts → entry_types/paged/vendor/assets/javascripts/pageflow_paged/vendor}/videojs.js +0 -0
- data/entry_types/scrolled/app/controllers/pageflow_scrolled/entries_controller.rb +2 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +1 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/favicon_helper.rb +21 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +12 -5
- data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +5 -7
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_theme.json.jbuilder +1 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/favicons/_entry.html.erb +10 -0
- data/entry_types/scrolled/config/locales/de.yml +655 -0
- data/entry_types/scrolled/config/locales/en.yml +522 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +5 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/android-chrome-192x192.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/android-chrome-512x512.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/apple-touch-icon.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/browserconfig.xml +9 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/favicon-16x16.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/favicon-32x32.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/favicon.ico +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/mstile-150x150.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/safari-pinned-tab.svg +46 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/site.webmanifest +19 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/unmute.mp3 +0 -0
- data/entry_types/scrolled/lib/tasks/pageflow_scrolled_tasks.rake +1 -0
- data/entry_types/scrolled/package/contentElements-editor.js +14 -1
- data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
- data/entry_types/scrolled/package/contentElements-frontend.js +338 -104
- data/entry_types/scrolled/package/editor.js +594 -242
- data/entry_types/scrolled/package/frontend/{EditableText-4264c349.js → EditableText-43c50894.js} +331 -163
- data/entry_types/scrolled/package/frontend/{Wavesurfer-c3c45324.js → Wavesurfer-b88b02e0.js} +0 -3
- data/entry_types/scrolled/package/frontend/{components-cfe6a479.js → components-3ead1b4a.js} +509 -91
- data/entry_types/scrolled/package/frontend/index.css +2 -2
- data/entry_types/scrolled/package/frontend/index.js +2107 -1025
- data/entry_types/scrolled/package/package.json +15 -3
- data/lib/generators/pageflow/initializer/templates/pageflow.rb +2 -1
- data/lib/pageflow/engine.rb +0 -1
- data/lib/pageflow/themes.rb +4 -0
- data/lib/pageflow/version.rb +1 -1
- data/package/config/jest/index.js +7 -2
- data/package/config/webpack.js +1 -2
- data/package/editor.js +4 -4
- data/package/frontend.js +30 -13
- data/package/ui.js +99 -32
- metadata +25 -11
- data/app/assets/javascripts/pageflow/videojs.js +0 -6
- data/entry_types/scrolled/config/locales/new/de.yml +0 -601
- data/entry_types/scrolled/config/locales/new/en.yml +0 -507
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Pageflow
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/pageflow.svg)](http://badge.fury.io/rb/pageflow)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://github.com/codevise/pageflow/workflows/tests/badge.svg)](https://github.com/codevise/pageflow/actions)
|
5
5
|
[![Coverage Status](https://coveralls.io/repos/github/codevise/pageflow/badge.svg?branch=master)](https://coveralls.io/github/codevise/pageflow?branch=master)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/codevise/pageflow/badges/gpa.svg)](https://codeclimate.com/github/codevise/pageflow)
|
7
7
|
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
|
@@ -53,7 +53,7 @@ Pageflow assumes the following choice of libraries:
|
|
53
53
|
Pageflow runs in environments with:
|
54
54
|
|
55
55
|
* Ruby >= 2.1 (see `.travis.yml` for supported versions)
|
56
|
-
* Node >= 10.
|
56
|
+
* Node >= 10.18
|
57
57
|
* Rails 4.2
|
58
58
|
* Redis server (for Resque)
|
59
59
|
* A database server supported by Active Record (tested with MySQL)
|
@@ -212,4 +212,3 @@ We would like to express our special thanks to the following services
|
|
212
212
|
for supporting Pageflow through free open source plans:
|
213
213
|
|
214
214
|
[![BrowserStack](doc/supporter_logos/browser_stack.png)](https://browserstack.com)
|
215
|
-
[![Travis CI](doc/supporter_logos/travis_ci.png)](https://travis-ci.com/)
|
@@ -1140,13 +1140,30 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1140
1140
|
* A text that will be appended to the translation based inline
|
1141
1141
|
* text.
|
1142
1142
|
*
|
1143
|
-
* @param {
|
1144
|
-
*
|
1143
|
+
* @param {string|string[]} [options.disabledBinding]
|
1144
|
+
* Name of an attribute to control whether the input is disabled. If
|
1145
|
+
* the `disabled` and `disabledBinding` options are not set,
|
1146
|
+
* input will be disabled whenever this attribute has a truthy value.
|
1147
|
+
* When multiple attribute names are passed, the function passed to
|
1148
|
+
* the `disabled` option will receive an array of values in the same
|
1149
|
+
* order.
|
1150
|
+
*
|
1151
|
+
* @param {function|boolean} [options.disabled]
|
1152
|
+
* Render input as disabled. A Function taking the value of the
|
1153
|
+
* `disabledBinding` attribute as parameter. Input will be disabled
|
1154
|
+
* only if function returns `true`.
|
1155
|
+
*
|
1156
|
+
* @param {any} [options.disabledBindingValue]
|
1157
|
+
* Input will be disabled whenever the value of the `disabledBinding`
|
1158
|
+
* attribute equals the value of this option.
|
1145
1159
|
*
|
1146
|
-
* @param {string} [options.visibleBinding]
|
1160
|
+
* @param {string|string[]} [options.visibleBinding]
|
1147
1161
|
* Name of an attribute to control whether the input is visible. If
|
1148
1162
|
* the `visible` and `visibleBindingValue` options are not set,
|
1149
1163
|
* input will be visible whenever this attribute has a truthy value.
|
1164
|
+
* When multiple attribute names are passed, the function passed to
|
1165
|
+
* the `visible` option will receive an array of values in the same
|
1166
|
+
* order.
|
1150
1167
|
*
|
1151
1168
|
* @param {function|boolean} [options.visible]
|
1152
1169
|
* A Function taking the value of the `visibleBinding` attribute as
|
@@ -1201,15 +1218,10 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1201
1218
|
this.$el.data('labelText', this.labelText());
|
1202
1219
|
this.$el.data('inlineHelpText', this.inlineHelpText());
|
1203
1220
|
this.ui.labelText.text(this.labelText());
|
1204
|
-
this.
|
1205
|
-
|
1206
|
-
if (!this.inlineHelpText()) {
|
1207
|
-
this.ui.inlineHelp.hide();
|
1208
|
-
}
|
1209
|
-
|
1221
|
+
this.updateInlineHelp();
|
1210
1222
|
this.setLabelFor();
|
1211
|
-
this.updateDisabled
|
1212
|
-
this.
|
1223
|
+
this.setupAttributeBinding('disabled', this.updateDisabled);
|
1224
|
+
this.setupAttributeBinding('visible', this.updateVisible);
|
1213
1225
|
},
|
1214
1226
|
|
1215
1227
|
/**
|
@@ -1224,6 +1236,13 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1224
1236
|
fallbackPrefix: 'activerecord.attributes'
|
1225
1237
|
}));
|
1226
1238
|
},
|
1239
|
+
updateInlineHelp: function updateInlineHelp() {
|
1240
|
+
this.ui.inlineHelp.html(this.inlineHelpText());
|
1241
|
+
|
1242
|
+
if (!this.inlineHelpText()) {
|
1243
|
+
this.ui.inlineHelp.hide();
|
1244
|
+
}
|
1245
|
+
},
|
1227
1246
|
|
1228
1247
|
/**
|
1229
1248
|
* The inline help text for the form field.
|
@@ -1234,7 +1253,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1234
1253
|
fallbackPrefix: 'pageflow.ui.inline_help'
|
1235
1254
|
});
|
1236
1255
|
|
1237
|
-
if (this.
|
1256
|
+
if (this.isDisabled()) {
|
1238
1257
|
keys = translationKeysWithSuffix(keys, 'disabled');
|
1239
1258
|
}
|
1240
1259
|
|
@@ -1250,40 +1269,61 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1250
1269
|
this.ui.label.attr('for', id);
|
1251
1270
|
}
|
1252
1271
|
},
|
1272
|
+
isDisabled: function isDisabled() {
|
1273
|
+
return this.getAttributeBoundOption('disabled');
|
1274
|
+
},
|
1253
1275
|
updateDisabled: function updateDisabled() {
|
1276
|
+
this.updateInlineHelp();
|
1277
|
+
|
1254
1278
|
if (this.ui.input) {
|
1255
1279
|
this.updateDisabledAttribute(this.ui.input);
|
1256
1280
|
}
|
1257
1281
|
},
|
1258
1282
|
updateDisabledAttribute: function updateDisabledAttribute(element) {
|
1259
|
-
if (this.
|
1283
|
+
if (this.isDisabled()) {
|
1260
1284
|
element.attr('disabled', true);
|
1261
1285
|
} else {
|
1262
1286
|
element.removeAttr('disabled');
|
1263
1287
|
}
|
1264
1288
|
},
|
1265
|
-
|
1289
|
+
updateVisible: function updateVisible() {
|
1290
|
+
this.$el.toggleClass('input-hidden_via_binding', this.getAttributeBoundOption('visible') === false);
|
1291
|
+
},
|
1292
|
+
setupAttributeBinding: function setupAttributeBinding(optionName, updateMethod) {
|
1293
|
+
var _this = this;
|
1294
|
+
|
1295
|
+
var binding = this.options["".concat(optionName, "Binding")];
|
1266
1296
|
var view = this;
|
1267
1297
|
|
1268
|
-
if (
|
1269
|
-
|
1270
|
-
|
1298
|
+
if (binding) {
|
1299
|
+
_.flatten([binding]).forEach(function (attribute) {
|
1300
|
+
_this.listenTo(_this.model, 'change:' + attribute, update);
|
1301
|
+
});
|
1271
1302
|
}
|
1272
1303
|
|
1273
|
-
|
1274
|
-
|
1304
|
+
update();
|
1305
|
+
|
1306
|
+
function update() {
|
1307
|
+
updateMethod.call(view, view.getAttributeBoundOption(optionName));
|
1275
1308
|
}
|
1309
|
+
},
|
1310
|
+
getAttributeBoundOption: function getAttributeBoundOption(optionName) {
|
1311
|
+
var _this2 = this;
|
1276
1312
|
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1313
|
+
var binding = this.options["".concat(optionName, "Binding")];
|
1314
|
+
var bindingValueOptionName = "".concat(optionName, "BindingValue");
|
1315
|
+
var value = Array.isArray(binding) ? binding.map(function (attribute) {
|
1316
|
+
return _this2.model.get(attribute);
|
1317
|
+
}) : this.model.get(binding);
|
1318
|
+
|
1319
|
+
if (bindingValueOptionName in this.options) {
|
1320
|
+
return value === this.options[bindingValueOptionName];
|
1321
|
+
} else if (typeof this.options[optionName] === 'function') {
|
1322
|
+
return !!this.options[optionName](value);
|
1323
|
+
} else if (optionName in this.options) {
|
1324
|
+
return !!this.options[optionName];
|
1325
|
+
} else if (binding) {
|
1326
|
+
return !!value;
|
1287
1327
|
}
|
1288
1328
|
}
|
1289
1329
|
};
|
@@ -1434,11 +1474,14 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1434
1474
|
this.listenTo(this.model, 'change:' + this.options.placeholderBinding, this.updatePlaceholder);
|
1435
1475
|
}
|
1436
1476
|
},
|
1477
|
+
updateDisabled: function updateDisabled() {
|
1478
|
+
this.updatePlaceholder();
|
1479
|
+
},
|
1437
1480
|
updatePlaceholder: function updatePlaceholder() {
|
1438
1481
|
this.ui.input.attr('placeholder', this.placeholderText());
|
1439
1482
|
},
|
1440
1483
|
placeholderText: function placeholderText() {
|
1441
|
-
if (!this.
|
1484
|
+
if (!this.isDisabled() || !this.options.hidePlaceholderIfDisabled) {
|
1442
1485
|
if (this.options.placeholder) {
|
1443
1486
|
if (typeof this.options.placeholder == 'function') {
|
1444
1487
|
return this.options.placeholder(this.model);
|
@@ -1449,6 +1492,8 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1449
1492
|
return this.placeholderModelValue();
|
1450
1493
|
}
|
1451
1494
|
}
|
1495
|
+
|
1496
|
+
return '';
|
1452
1497
|
},
|
1453
1498
|
placeholderModelValue: function placeholderModelValue() {
|
1454
1499
|
return this.options.placeholderModel && this.options.placeholderModel.get(this.options.propertyName);
|
@@ -1601,12 +1646,22 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
1601
1646
|
this.updateSettings();
|
1602
1647
|
},
|
1603
1648
|
updateSettings: function updateSettings() {
|
1649
|
+
this.resetSwatchesInStoredSettings();
|
1604
1650
|
this.ui.input.minicolors('settings', {
|
1605
1651
|
defaultValue: this.defaultValue(),
|
1606
1652
|
swatches: this.getSwatches()
|
1607
1653
|
});
|
1608
1654
|
this.load();
|
1609
1655
|
},
|
1656
|
+
// see https://github.com/claviska/jquery-minicolors/issues/287
|
1657
|
+
resetSwatchesInStoredSettings: function resetSwatchesInStoredSettings() {
|
1658
|
+
var settings = this.ui.input.data('minicolors-settings');
|
1659
|
+
|
1660
|
+
if (settings) {
|
1661
|
+
delete settings.swatches;
|
1662
|
+
this.ui.input.data('minicolors-settings', settings);
|
1663
|
+
}
|
1664
|
+
},
|
1610
1665
|
load: function load() {
|
1611
1666
|
this.ui.input.minicolors('value', this.model.get(this.options.propertyName) || this.defaultValue());
|
1612
1667
|
this.$el.toggleClass('is_default', !this.model.has(this.options.propertyName));
|
@@ -2459,6 +2514,15 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2459
2514
|
});
|
2460
2515
|
this.load();
|
2461
2516
|
},
|
2517
|
+
updateDisabled: function updateDisabled(disabled) {
|
2518
|
+
this.$el.toggleClass('disabled', !!disabled);
|
2519
|
+
|
2520
|
+
if (disabled) {
|
2521
|
+
this.ui.widget.slider('disable');
|
2522
|
+
} else {
|
2523
|
+
this.ui.widget.slider('enable');
|
2524
|
+
}
|
2525
|
+
},
|
2462
2526
|
save: function save() {
|
2463
2527
|
var value = this.ui.widget.slider('option', 'value');
|
2464
2528
|
var unit = 'unit' in this.options ? this.options.unit : '%';
|
@@ -2583,8 +2647,11 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2583
2647
|
this.load();
|
2584
2648
|
this.listenTo(this.model, 'change:' + this.options.propertyName, this.load);
|
2585
2649
|
},
|
2650
|
+
updateDisabled: function updateDisabled() {
|
2651
|
+
this.load();
|
2652
|
+
},
|
2586
2653
|
save: function save() {
|
2587
|
-
if (!this.
|
2654
|
+
if (!this.isDisabled()) {
|
2588
2655
|
this.model.set(this.options.propertyName, this.ui.input.is(':checked'));
|
2589
2656
|
}
|
2590
2657
|
},
|
@@ -2594,7 +2661,7 @@ this.pageflow._uiGlobalInterop = (function (exports, Marionette, _, $, I18n$1, B
|
|
2594
2661
|
}
|
2595
2662
|
},
|
2596
2663
|
displayValue: function displayValue() {
|
2597
|
-
if (this.
|
2664
|
+
if (this.isDisabled() && this.options.displayUncheckedIfDisabled) {
|
2598
2665
|
return false;
|
2599
2666
|
} else {
|
2600
2667
|
return this.model.get(this.options.propertyName);
|
@@ -24,7 +24,7 @@
|
|
24
24
|
@import "./change_theme";
|
25
25
|
@extend %pageflow-ui;
|
26
26
|
|
27
|
-
font-family: Helvetica, "Sans-Serif";
|
27
|
+
font-family: Helvetica, Arial, "Sans-Serif";
|
28
28
|
font-size: 13px;
|
29
29
|
|
30
30
|
padding: 0;
|
@@ -131,8 +131,9 @@
|
|
131
131
|
top: 0;
|
132
132
|
left: 0;
|
133
133
|
right: 0;
|
134
|
-
bottom:
|
134
|
+
bottom: 31px;
|
135
135
|
overflow: auto;
|
136
|
+
overflow-y: scroll;
|
136
137
|
}
|
137
138
|
}
|
138
139
|
|
@@ -1,4 +1,7 @@
|
|
1
1
|
.loading_spinner {
|
2
|
+
// Ensure loading spinner does not cover page if JS is
|
3
|
+
// disabled. Will be overridden by
|
4
|
+
// layouts/pageflow_paged/_loading_spinner_inline_script.html.erb
|
2
5
|
display: none;
|
3
6
|
|
4
7
|
position: absolute;
|
@@ -17,4 +20,4 @@
|
|
17
20
|
@include transition(opacity 0.5s linear);
|
18
21
|
opacity: 0;
|
19
22
|
}
|
20
|
-
}
|
23
|
+
}
|
@@ -75,7 +75,7 @@ body {
|
|
75
75
|
background-position: -45px 0px;
|
76
76
|
background-size: auto 100%;
|
77
77
|
right: 10px;
|
78
|
-
pointer-events:
|
78
|
+
pointer-events: auto;
|
79
79
|
cursor: pointer;
|
80
80
|
@include transition(opacity 500ms, right 250ms);
|
81
81
|
|
@@ -99,7 +99,7 @@ body {
|
|
99
99
|
@include background-icon-center($color: #ddd);
|
100
100
|
@include fa-arrow-left-icon;
|
101
101
|
cursor: pointer;
|
102
|
-
pointer-events:
|
102
|
+
pointer-events: auto;
|
103
103
|
position: absolute;
|
104
104
|
top: 16px;
|
105
105
|
right: 60px;
|
@@ -277,7 +277,7 @@ body {
|
|
277
277
|
}
|
278
278
|
|
279
279
|
&.active {
|
280
|
-
pointer-events:
|
280
|
+
pointer-events: auto;
|
281
281
|
visibility: visible;
|
282
282
|
|
283
283
|
&:before {
|
@@ -293,7 +293,7 @@ body {
|
|
293
293
|
right: 200px;
|
294
294
|
|
295
295
|
&.sharing, &.imprint {
|
296
|
-
pointer-events:
|
296
|
+
pointer-events: auto;
|
297
297
|
opacity: 1;
|
298
298
|
}
|
299
299
|
}
|
data/app/assets/stylesheets/pageflow/themes/default/player_controls/classic/control_bar.scss
CHANGED
@@ -61,7 +61,7 @@ $classic-player-controls-timestamp-position: "left" !default;
|
|
61
61
|
|
62
62
|
background-color: $classic-player-controls-background-color;
|
63
63
|
border: $classic-player-controls-border-width solid $classic-player-controls-border-color;
|
64
|
-
pointer-events:
|
64
|
+
pointer-events: auto;
|
65
65
|
|
66
66
|
&:before {
|
67
67
|
content: "";
|
@@ -15,7 +15,7 @@ $player-controls-quality-menu-annotation-color: #ff0000 !default;
|
|
15
15
|
position: absolute;
|
16
16
|
bottom: 0;
|
17
17
|
z-index: 10;
|
18
|
-
pointer-events:
|
18
|
+
pointer-events: auto;
|
19
19
|
|
20
20
|
@include transition(opacity 0.5s, visibility 0.5s);
|
21
21
|
|
@@ -98,7 +98,7 @@ $player-controls-quality-menu-annotation-color: #ff0000 !default;
|
|
98
98
|
&-menu_bar_button-sub_menu_visible .player_controls-menu_bar_button_sub_menu {
|
99
99
|
visibility: visible;
|
100
100
|
opacity: 1;
|
101
|
-
pointer-events:
|
101
|
+
pointer-events: auto;
|
102
102
|
@include transition(none);
|
103
103
|
}
|
104
104
|
|
@@ -53,7 +53,7 @@ $slim-player-controls-control-bar-text-phone-typography: () !default;
|
|
53
53
|
}
|
54
54
|
|
55
55
|
&-container-playing %player_controls-control_bar {
|
56
|
-
pointer-events:
|
56
|
+
pointer-events: auto;
|
57
57
|
}
|
58
58
|
|
59
59
|
&-control_bar_text {
|
@@ -248,7 +248,7 @@ $slim-player-controls-control-bar-text-phone-typography: () !default;
|
|
248
248
|
&-control_bar_text,
|
249
249
|
&-play_button,
|
250
250
|
&-skip_button {
|
251
|
-
pointer-events:
|
251
|
+
pointer-events: auto;
|
252
252
|
}
|
253
253
|
|
254
254
|
&-progress_bar,
|