rtMedia for WordPress, BuddyPress and bbPress - Version 4.1.8

Version Description

Requires BuddyPress 1.7 or higher, if using BuddyPress. Added filters to alter the image/video URLS in activity. Fix UI/media broken on activity page also fixed the fixed fatal error for older PHP version.

=

Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 4.1.8
Comparing to
See all releases

Code changes from version 4.1.6 to 4.1.8

app/admin/RTMediaAdmin.php CHANGED
@@ -108,7 +108,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
108
$this,
109
'rtmedia_hide_social_sync_notice',
110
), 1 );
111
- add_action( 'wp_ajax_rtmedia_hide_pro_split_notice', array( $this, 'rtmedia_hide_pro_split_notice' ), 1 );
112
113
new RTMediaMediaSizeImporter(); // do not delete this line. We only need to create object of this class if we are in admin section
114
if ( class_exists( 'BuddyPress' ) ) {
@@ -122,6 +122,9 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
122
add_filter( 'removable_query_args', array( $this, 'removable_query_args' ), 10, 1 );
123
124
add_action( 'admin_footer', array( $this, 'rtm_admin_templates' ) );
125
}
126
127
/**
@@ -233,11 +236,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
233
234
if ( ! is_rtmedia_vip_plugin() ) {
235
$this->rtmedia_inspirebook_release_notice();
236
- $this->rtmedia_social_sync_release_notice();
237
-
238
- if ( ! defined( 'RTMEDIA_PRO_PATH' ) ) {
239
- $this->rtmedia_pro_split_release_notice();
240
- }
241
}
242
}
243
}
@@ -245,28 +244,32 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
245
/*
246
* rtMedia Pro split release admin notice
247
*/
248
- public function rtmedia_pro_split_release_notice() {
249
- $site_option = rtmedia_get_site_option( 'rtmedia_pro_split_release_notice' );
250
251
if ( ( ! $site_option || 'hide' !== $site_option ) ) {
252
- rtmedia_update_site_option( 'rtmedia_pro_split_release_notice', 'show' );
253
?>
254
<div class="updated rtmedia-pro-split-notice">
255
<p>
256
<span>
257
<b><?php esc_html_e( 'rtMedia: ', 'buddypress-media' ); ?></b>
258
- <?php esc_html_e( 'We have released 30+ premium add-ons for rtMedia plugin. Read more about it ', 'buddypress-media' ); ?>
259
- <a href="https://rtmedia.io/blog/rtmedia-pro-splitting-major-change/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
260
- target="_blank"><?php esc_html_e( 'here', 'buddypress-media' ) ?></a>.
261
</span>
262
<a href="#"
263
- onclick="rtmedia_hide_pro_split_notice('<?php echo esc_js( wp_create_nonce( 'rtcamp_pro_split' ) ); ?>');"
264
style="float:right">Dismiss</a>
265
</p>
266
</div>
267
<script type="text/javascript">
268
- function rtmedia_hide_pro_split_notice(nonce) {
269
- var data = {action: 'rtmedia_hide_pro_split_notice', _rtm_nonce: nonce };
270
jQuery.post(ajaxurl, data, function (response) {
271
response = response.trim();
272
@@ -283,62 +286,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
283
* Hide pro split release notice
284
*/
285
286
- function rtmedia_hide_pro_split_notice() {
287
- if ( check_ajax_referer( 'rtcamp_pro_split', '_rtm_nonce' ) && rtmedia_update_site_option( 'rtmedia_pro_split_release_notice', 'hide' ) ) {
288
- echo '1';
289
- } else {
290
- echo '0';
291
- }
292
- die();
293
- }
294
-
295
- /*
296
- * Show social sync release notice admin notice.
297
- */
298
-
299
- function rtmedia_social_sync_release_notice() {
300
- $site_option = rtmedia_get_site_option( 'rtmedia_social_sync_release_notice' );
301
- $check_rtmedia_social_sync_installed = file_exists( trailingslashit( WP_PLUGIN_DIR ) . 'rtmedia-social-sync/index.php' );
302
-
303
- if ( ( ! $site_option || 'hide' !== $site_option ) && ! $check_rtmedia_social_sync_installed ) {
304
- rtmedia_update_site_option( 'rtmedia_social_sync_release_notice', 'show' );
305
- ?>
306
- <div class="updated rtmedia-social-sync-notice">
307
- <p>
308
- <span>
309
- <b><?php esc_html_e( 'rtMedia: ', 'buddypress-media' ); ?></b>
310
- <?php esc_html_e( 'Meet ', 'buddypress-media' ); ?>
311
- <a href="https://rtmedia.io/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media"
312
- target="_blank">
313
- <b><?php esc_html_e( 'rtMedia Social Sync', 'buddypress-media' ) ?></b>
314
- </a>
315
- <?php esc_html_e( ' which allows you to import media from your Facebook account.', 'buddypress-media' ); ?>
316
- </span>
317
- <a href="#"
318
- onclick="rtmedia_hide_social_sync_notice('<?php echo esc_js( wp_create_nonce( 'social_sync' ) ); ?>')"
319
- style="float:right">Dismiss</a>
320
- </p>
321
- </div>
322
- <script type="text/javascript">
323
- function rtmedia_hide_social_sync_notice(nonce) {
324
- var data = {action: 'rtmedia_hide_social_sync_notice', _rtm_nonce: nonce};
325
- jQuery.post(ajaxurl, data, function (response) {
326
- response = response.trim();
327
- if (response === "1")
328
- jQuery('.rtmedia-social-sync-notice').remove();
329
- });
330
- }
331
- </script>
332
- <?php
333
- }
334
- }
335
-
336
- /*
337
- * Hide social sync release notice
338
- */
339
-
340
- function rtmedia_hide_social_sync_notice() {
341
- if ( check_ajax_referer( 'social_sync', '_rtm_nonce' ) && rtmedia_update_site_option( 'rtmedia_social_sync_release_notice', 'hide' ) ) {
342
echo '1';
343
} else {
344
echo '0';
@@ -1772,7 +1721,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1772
foreach ( $sub_tabs as $tab ) {
1773
1774
// tab status
1775
- $active_class = '';
1776
if ( 1 === $i ) {
1777
$active_class = 'active';
1778
}
@@ -1783,7 +1735,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1783
$icon = '<i class="' . esc_attr( $tab['icon'] ) . ' dashicons rtmicon"></i>';
1784
}
1785
?>
1786
- <li class="<?php echo esc_attr( $active_class ) ?>">
1787
<a id="tab-<?php echo esc_attr( substr( $tab['href'], 1 ) ) ?>" title="<?php echo esc_attr( $tab['title'] ); ?>"
1788
href="<?php echo esc_url( $tab['href'] ); ?>"
1789
class="rtmedia-tab-title <?php echo esc_attr( sanitize_title( $tab['name'] ) ); ?>">
@@ -1841,6 +1793,45 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1841
1842
return $removable_query_args;
1843
}
1844
}
1845
1846
}
108
$this,
109
'rtmedia_hide_social_sync_notice',
110
), 1 );
111
+ add_action( 'wp_ajax_rtmedia_hide_premium_addon_notice', array( $this, 'rtmedia_hide_premium_addon_notice' ), 1 );
112
113
new RTMediaMediaSizeImporter(); // do not delete this line. We only need to create object of this class if we are in admin section
114
if ( class_exists( 'BuddyPress' ) ) {
122
add_filter( 'removable_query_args', array( $this, 'removable_query_args' ), 10, 1 );
123
124
add_action( 'admin_footer', array( $this, 'rtm_admin_templates' ) );
125
+
126
+ // Display invalid add-on license notices to admins.
127
+ add_action( 'admin_notices', array( $this, 'rtm_addon_license_notice' ) );
128
}
129
130
/**
236
237
if ( ! is_rtmedia_vip_plugin() ) {
238
$this->rtmedia_inspirebook_release_notice();
239
+ $this->rtmedia_premium_addon_notice();
240
}
241
}
242
}
244
/*
245
* rtMedia Pro split release admin notice
246
*/
247
+ public function rtmedia_premium_addon_notice() {
248
+ $site_option = rtmedia_get_site_option( 'rtmedia_premium_addon_notice' );
249
250
if ( ( ! $site_option || 'hide' !== $site_option ) ) {
251
+ rtmedia_update_site_option( 'rtmedia_premium_addon_notice', 'show' );
252
?>
253
<div class="updated rtmedia-pro-split-notice">
254
<p>
255
<span>
256
+ <?php
257
+ $product_page = 'https://rtmedia.io/products/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media';
258
+ $message = sprintf(
259
+ __( 'Check 30+ premium rtMedia add-ons on our <a href="%s">store</a>.', 'buddypress-media' ), $product_page
260
+ );
261
+ ?>
262
<b><?php esc_html_e( 'rtMedia: ', 'buddypress-media' ); ?></b>
263
+ <?php echo $message; ?>
264
</span>
265
<a href="#"
266
+ onclick="rtmedia_hide_premium_addon_notice('<?php echo esc_js( wp_create_nonce( 'rtcamp_pro_split' ) ); ?>');"
267
style="float:right">Dismiss</a>
268
</p>
269
</div>
270
<script type="text/javascript">
271
+ function rtmedia_hide_premium_addon_notice(nonce) {
272
+ var data = {action: 'rtmedia_hide_premium_addon_notice', _rtm_nonce: nonce };
273
jQuery.post(ajaxurl, data, function (response) {
274
response = response.trim();
275
286
* Hide pro split release notice
287
*/
288
289
+ function rtmedia_hide_premium_addon_notice() {
290
+ if ( check_ajax_referer( 'rtcamp_pro_split', '_rtm_nonce' ) && rtmedia_update_site_option( 'rtmedia_premium_addon_notice', 'hide' ) ) {
291
echo '1';
292
} else {
293
echo '0';
1721
foreach ( $sub_tabs as $tab ) {
1722
1723
// tab status
1724
+ $active_class = $error_class = '';
1725
+ if ( ! empty( $tab['args'] ) && ( empty( $tab['args']['status'] ) || 'valid' !== $tab['args']['status'] ) ) {
1726
+ $error_class = 'error';
1727
+ }
1728
if ( 1 === $i ) {
1729
$active_class = 'active';
1730
}
1735
$icon = '<i class="' . esc_attr( $tab['icon'] ) . ' dashicons rtmicon"></i>';
1736
}
1737
?>
1738
+ <li class="<?php echo esc_attr( $active_class ) ?> <?php echo esc_attr( $error_class ) ?>">
1739
<a id="tab-<?php echo esc_attr( substr( $tab['href'], 1 ) ) ?>" title="<?php echo esc_attr( $tab['title'] ); ?>"
1740
href="<?php echo esc_url( $tab['href'] ); ?>"
1741
class="rtmedia-tab-title <?php echo esc_attr( sanitize_title( $tab['name'] ) ); ?>">
1793
1794
return $removable_query_args;
1795
}
1796
+
1797
+ /**
1798
+ * Display invlaid license notice to admins.
1799
+ *
1800
+ * @since 4.1.7
1801
+ *
1802
+ * @return void
1803
+ */
1804
+ function rtm_addon_license_notice() {
1805
+
1806
+ if ( ! empty( $_GET['page'] ) && 'rtmedia-license' === $_GET['page'] ) {
1807
+ $my_account = 'https://rtmedia.io/my-account';
1808
+ $license_doc = 'https://rtmedia.io/docs/license/';
1809
+ $message = sprintf(
1810
+ __( 'Your license keys can be found on <a href="%s">my-account</a> page. For more details, please refer to <a href="%s">License documentation</a> page.', 'buddypress-media' ),
1811
+ $my_account, $license_doc
1812
+ );
1813
+ echo '<div class="notice"><p>' . $message . '</p></div>';
1814
+ return;
1815
+ }
1816
+
1817
+ $addons = apply_filters( 'rtmedia_license_tabs', array() );
1818
+
1819
+ if ( empty( $addons ) ) {
1820
+ return;
1821
+ }
1822
+
1823
+ $message = '';
1824
+ foreach ( $addons as $addon ) {
1825
+ if ( empty( $addon['args']['status'] ) || 'valid' !== $addon['args']['status'] ) {
1826
+ $message = sprintf(
1827
+ __( 'We found an invalid or expired license key for an rtMedia add-on. Please go to the <a href="%s">Licenses page</a> to fix this issue.', 'buddypress-media' ),
1828
+ admin_url( 'admin.php?page=rtmedia-license' )
1829
+ );
1830
+ echo '<div class="error"><p>' . $message . '</p></div>';
1831
+ break;
1832
+ }
1833
+ }
1834
+ }
1835
}
1836
1837
}
app/admin/RTMediaFormHandler.php CHANGED
@@ -369,15 +369,15 @@ class RTMediaFormHandler {
369
*/
370
public static function display_content() {
371
global $rtmedia;
372
- $options = $rtmedia->options;
373
- $render_options = self::display_render_options( $options );
374
- $render_options = apply_filters( 'rtmedia_display_content_add_itmes', $render_options, $options );
375
- $general_group = array();
376
- $general_group[10] = esc_html__( 'Single Media View', 'buddypress-media' );
377
- $general_group[15] = esc_html__( 'List Media View', 'buddypress-media' );
378
- $general_group[18] = esc_html__( 'Masonry View', 'buddypress-media' );
379
- $general_group[19] = esc_html__( 'Direct Upload', 'buddypress-media' );
380
- $general_group = apply_filters( 'rtmedia_display_content_groups', $general_group );
381
ksort( $general_group );
382
self::render_tab_content( $render_options, $general_group, 20 );
383
}
@@ -596,8 +596,8 @@ class RTMediaFormHandler {
596
597
// allow featured
598
$featured_args = array(
599
- 'key' => 'allowedTypes_' . $key . '_featured',
600
- 'value' => $section['featured'],
601
);
602
$featured_checkbox = self::checkbox( $featured_args, $echo = false );
603
$featured_checkbox = apply_filters( 'rtmedia_filter_featured_checkbox', $featured_checkbox, $key );
@@ -606,7 +606,7 @@ class RTMediaFormHandler {
606
$section['extn'] = array();
607
}
608
609
- $extensions = implode( ', ', $section['extn'] );
610
?>
611
612
<tr>
@@ -635,22 +635,22 @@ class RTMediaFormHandler {
635
// @codingStandardsIgnoreLine
636
echo wp_kses( $allow_upload_checkbox, array(
637
'span' => array(
638
- 'class' => array(),
639
- 'data-on' => array(),
640
- 'data-off' => array()
641
),
642
'label' => array(
643
- 'for' => array(),
644
- 'class' => array()
645
),
646
'input' => array(
647
- 'type' => array(),
648
- 'checked' => array(),
649
- 'data-toggle' => array(),
650
- 'id' => array(),
651
- 'name' => array(),
652
- 'value' => array()
653
- )
654
) );
655
?>
656
</span>
@@ -661,22 +661,22 @@ class RTMediaFormHandler {
661
// @codingStandardsIgnoreLine
662
echo wp_kses( $featured_checkbox, array(
663
'span' => array(
664
- 'class' => array(),
665
- 'data-on' => array(),
666
- 'data-off' => array()
667
),
668
'label' => array(
669
- 'for' => array(),
670
- 'class' => array()
671
),
672
'input' => array(
673
- 'type' => array(),
674
- 'checked' => array(),
675
- 'data-toggle' => array(),
676
- 'id' => array(),
677
- 'name' => array(),
678
- 'value' => array()
679
- )
680
) );
681
?>
682
</td>
@@ -783,15 +783,16 @@ class RTMediaFormHandler {
783
<td>
784
<?php echo esc_html( ucfirst( $entity['title'] ) ); ?>
785
</td>
786
<?php
787
$args = array(
788
'key' => 'defaultSizes_' . $parent_key . '_' . $entity['title'],
789
);
790
- foreach ( $entity as $child_key => $value ) {
791
- if ( 'title' !== $child_key ) {
792
- $args[ $child_key ] = $value;
793
- }
794
}
795
self::dimensions( $args );
796
?>
797
</tr>
@@ -808,15 +809,15 @@ class RTMediaFormHandler {
808
$options = $rtmedia->options;
809
810
$render_jpeg_image_quality = array(
811
- 'title' => esc_html__( 'JPEG/JPG image quality (1-100)', 'buddypress-media' ),
812
- 'callback' => array( 'RTMediaFormHandler', 'number' ),
813
- 'args' => array(
814
- 'key' => 'general_jpeg_image_quality',
815
- 'value' => $options['general_jpeg_image_quality'],
816
- 'class' => array( 'rtmedia-setting-text-box' ),
817
- 'desc' => esc_html__( 'Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality.', 'buddypress-media' ),
818
- 'min' => 1,
819
- 'max' => 100,
820
),
821
);
822
?>
@@ -861,24 +862,24 @@ class RTMediaFormHandler {
861
static function custom_css_render_options( $options ) {
862
$render = array(
863
'disable_styles' => array(
864
- 'title' => esc_html__( 'rtMedia default styles', 'buddypress-media' ),
865
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
866
- 'args' => array(
867
- 'id' => 'rtmedia-disable-styles',
868
- 'key' => 'styles_enabled',
869
- 'value' => $options['styles_enabled'],
870
- 'desc' => esc_html__( 'Load default rtMedia styles. You need to write your own style for rtMedia if you disable it.', 'buddypress-media' ),
871
),
872
'group' => 10,
873
),
874
'custom_styles' => array(
875
- 'title' => esc_html__( 'Paste your CSS code', 'buddypress-media' ),
876
- 'callback' => array( 'RTMediaFormHandler', 'textarea' ),
877
- 'args' => array(
878
- 'id' => 'rtmedia-custom-css',
879
- 'key' => 'styles_custom',
880
- 'value' => stripcslashes( $options['styles_custom'] ),
881
- 'desc' => esc_html__( 'Custom rtMedia CSS container', 'buddypress-media' ),
882
),
883
'group' => 10,
884
),
@@ -901,39 +902,39 @@ class RTMediaFormHandler {
901
902
$render = array(
903
'enable' => array(
904
- 'title' => esc_html__( 'Enable privacy', 'buddypress-media' ),
905
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
906
- 'args' => array(
907
- 'id' => 'rtmedia-privacy-enable',
908
- 'key' => 'privacy_enabled',
909
- 'value' => $options['privacy_enabled'],
910
- 'desc' => esc_html__( 'Enable privacy in rtMedia', 'buddypress-media' ),
911
),
912
'group' => 10,
913
),
914
'default' => array(
915
- 'title' => esc_html__( 'Default privacy', 'buddypress-media' ),
916
- 'callback' => array( 'RTMediaFormHandler', 'radio' ),
917
- 'args' => array(
918
- 'key' => 'privacy_default',
919
- 'radios' => $rtmedia->privacy_settings['levels'],
920
- 'default' => $options['privacy_default'],
921
- 'desc' => esc_html__( 'Set default privacy for media', 'buddypress-media' ),
922
),
923
'group' => 10,
924
'depends' => 'privacy_enabled',
925
),
926
'user_override' => array(
927
- 'title' => esc_html__( 'Allow users to set privacy for their content', 'buddypress-media' ),
928
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
929
- 'args' => array(
930
- 'key' => 'privacy_userOverride',
931
- 'value' => $options['privacy_userOverride'],
932
- 'desc' => esc_html__( 'If you choose this, users will be able to change privacy of their own uploads.', 'buddypress-media' ),
933
),
934
- 'group' => 10,
935
- 'depends' => 'privacy_enabled',
936
- 'after_content' => esc_html__( 'For group uploads, BuddyPress groups privacy is used.', 'buddypress-media' ),
937
),
938
);
939
@@ -952,13 +953,13 @@ class RTMediaFormHandler {
952
public static function privacy_content() {
953
global $rtmedia;
954
955
- $general_group = array();
956
- $general_group[10] = 'Privacy Settings';
957
- $general_group = apply_filters( 'rtmedia_privacy_settings_groups', $general_group );
958
959
- $options = self::extract_settings( 'privacy', $rtmedia->options );
960
- $render_options = self::privacy_render_options( $options );
961
- $render_options = apply_filters( 'rtmedia_privacy_settings_options', $render_options );
962
963
self::render_tab_content( $render_options, $general_group, 10 );
964
}
@@ -975,91 +976,91 @@ class RTMediaFormHandler {
975
static function buddypress_render_options( $options ) {
976
$render = array(
977
'rtmedia-enable-on-profile' => array(
978
- 'title' => esc_html__( 'Enable media in profile', 'buddypress-media' ),
979
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
980
- 'args' => array(
981
- 'key' => 'buddypress_enableOnProfile',
982
- 'value' => $options['buddypress_enableOnProfile'],
983
- 'desc' => esc_html__( 'Enable Media on BuddyPress Profile', 'buddypress-media' ),
984
),
985
'group' => 10,
986
),
987
'rtmedia-enable-on-group' => array(
988
- 'title' => esc_html__( 'Enable media in group', 'buddypress-media' ),
989
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
990
- 'args' => array(
991
- 'key' => 'buddypress_enableOnGroup',
992
- 'value' => $options['buddypress_enableOnGroup'],
993
- 'desc' => esc_html__( 'Enable Media on BuddyPress Groups', 'buddypress-media' ),
994
),
995
'group' => 10,
996
),
997
'rtmedia-enable-on-activity' => array(
998
- 'title' => esc_html__( 'Allow upload from activity stream', 'buddypress-media' ),
999
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1000
- 'args' => array(
1001
- 'key' => 'buddypress_enableOnActivity',
1002
- 'value' => $options['buddypress_enableOnActivity'],
1003
- 'desc' => esc_html__( 'Allow upload using status update box present on activity stream page', 'buddypress-media' ),
1004
- 'id' => 'rtmedia-bp-enable-activity',
1005
),
1006
'group' => 10,
1007
),
1008
'rtmedia-activity-feed-limit' => array(
1009
- 'title' => esc_html__( 'Number of media items to show in activity stream', 'buddypress-media' ),
1010
- 'callback' => array( 'RTMediaFormHandler', 'number' ),
1011
- 'args' => array(
1012
- 'key' => 'buddypress_limitOnActivity',
1013
- 'value' => $options['buddypress_limitOnActivity'],
1014
- 'desc' => esc_html__( 'With bulk uploads activity, the stream may get flooded. You can control the maximum number of media items or files per activity. This limit will not affect the actual number of uploads. This is only for display. "0" means unlimited.', 'buddypress-media' ),
1015
- 'class' => array( 'rtmedia-setting-text-box rtmedia-bp-activity-setting' ),
1016
- 'min' => 0,
1017
),
1018
'group' => 10,
1019
),
1020
'rtmedia-enable-notification' => array(
1021
- 'title' => esc_html__( 'Enable media notification', 'buddypress-media' ),
1022
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1023
- 'args' => array(
1024
- 'key' => 'buddypress_enableNotification',
1025
- 'value' => $options['buddypress_enableNotification'],
1026
- 'desc' => esc_html__( 'This will enable notifications to media authors for media likes and comments.', 'buddypress-media' ),
1027
1028
),
1029
'group' => 10,
1030
),
1031
'rtmedia-enable-like-activity' => array(
1032
- 'title' => esc_html__( 'Create activity for media likes', 'buddypress-media' ),
1033
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1034
- 'args' => array(
1035
- 'key' => 'buddypress_mediaLikeActivity',
1036
- 'value' => $options['buddypress_mediaLikeActivity'],
1037
- 'desc' => esc_html__( 'Enabling this setting will create BuddyPress activity for media likes.', 'buddypress-media' ),
1038
1039
),
1040
'group' => 10,
1041
),
1042
'rtmedia-enable-comment-activity' => array(
1043
- 'title' => esc_html__( 'Create activity for media comments', 'buddypress-media' ),
1044
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1045
- 'args' => array(
1046
- 'key' => 'buddypress_mediaCommentActivity',
1047
- 'value' => $options['buddypress_mediaCommentActivity'],
1048
- 'desc' => esc_html__( 'Enabling this setting will create BuddyPress activity for media comments.', 'buddypress-media' ),
1049
1050
),
1051
'group' => 10,
1052
),
1053
'general_enableAlbums' => array(
1054
- 'title' => esc_html__( 'Organize media into albums', 'buddypress-media' ),
1055
- 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1056
- 'args' => array(
1057
- 'id' => 'rtmedia-album-enable',
1058
- 'key' => 'general_enableAlbums',
1059
- 'value' => $options['general_enableAlbums'],
1060
- 'desc' => esc_html__( 'This will add \'album\' tab to BuddyPress profile and group depending on the ^above^ settings.', 'buddypress-media' ),
1061
),
1062
- 'group' => 50,
1063
),
1064
);
1065
@@ -1078,13 +1079,13 @@ class RTMediaFormHandler {
1078
public static function buddypress_content() {
1079
global $rtmedia;
1080
1081
- $general_group = array();
1082
- $general_group[10] = 'Integration With BuddyPress Features';
1083
- $general_group[50] = 'Album Settings';
1084
- $general_group = apply_filters( 'rtmedia_buddypress_setting_group', $general_group );
1085
1086
- $render_options = self::buddypress_render_options( $rtmedia->options );
1087
- $render_options = apply_filters( 'rtmedia_album_control_setting', $render_options, $rtmedia->options );
1088
1089
$render_options = apply_filters( 'rtmedia_buddypress_setting_options', $render_options );
1090
@@ -1209,18 +1210,14 @@ class RTMediaFormHandler {
1209
public static function render_option_content( $option ) {
1210
?>
1211
1212
- <table class="form-table" <?php
1213
- if ( isset( $option['depends'] ) && '' !== $option['depends'] ) {
1214
- echo 'data-depends="' . esc_attr( $option['depends'] ) . '"';
1215
- }
1216
- ?>>
1217
<tr>
1218
<th>
1219
<?php echo wp_kses( $option['title'], array(
1220
'a' => array(
1221
- 'id' => array(),
1222
- 'href' => array(),
1223
- 'target' => array(),
1224
),
1225
) ); ?>
1226
</th>
@@ -1233,9 +1230,9 @@ class RTMediaFormHandler {
1233
<span class="rtm-tip">
1234
<?php echo wp_kses( ( isset( $option['args']['desc'] ) ) ? $option['args']['desc'] : 'NA', array(
1235
'a' => array(
1236
- 'id' => array(),
1237
- 'href' => array(),
1238
- 'target' => array(),
1239
),
1240
) ); ?>
1241
</span>
@@ -1248,14 +1245,19 @@ class RTMediaFormHandler {
1248
<?php
1249
if ( isset( $option['after_content'] ) && '' !== $option['after_content'] ) {
1250
?>
1251
- <div class="rtm-message rtm-notice"><?php echo wp_kses( wpautop( $option['after_content'] ), array(
1252
- 'a' => array(
1253
- 'id' => array(),
1254
- 'href' => array(),
1255
- 'target' => array(),
1256
- ),
1257
- 'p' => array(),
1258
- ) ); ?></div><?php
1259
}
1260
}
1261
- }
369
*/
370
public static function display_content() {
371
global $rtmedia;
372
+ $options = $rtmedia->options;
373
+ $render_options = self::display_render_options( $options );
374
+ $render_options = apply_filters( 'rtmedia_display_content_add_itmes', $render_options, $options );
375
+ $general_group = array();
376
+ $general_group[10] = esc_html__( 'Single Media View', 'buddypress-media' );
377
+ $general_group[15] = esc_html__( 'List Media View', 'buddypress-media' );
378
+ $general_group[18] = esc_html__( 'Masonry View', 'buddypress-media' );
379
+ $general_group[19] = esc_html__( 'Direct Upload', 'buddypress-media' );
380
+ $general_group = apply_filters( 'rtmedia_display_content_groups', $general_group );
381
ksort( $general_group );
382
self::render_tab_content( $render_options, $general_group, 20 );
383
}
596
597
// allow featured
598
$featured_args = array(
599
+ 'key' => 'allowedTypes_' . $key . '_featured',
600
+ 'value' => $section['featured'],
601
);
602
$featured_checkbox = self::checkbox( $featured_args, $echo = false );
603
$featured_checkbox = apply_filters( 'rtmedia_filter_featured_checkbox', $featured_checkbox, $key );
606
$section['extn'] = array();
607
}
608
609
+ $extensions = implode( ', ', $section['extn'] );
610
?>
611
612
<tr>
635
// @codingStandardsIgnoreLine
636
echo wp_kses( $allow_upload_checkbox, array(
637
'span' => array(
638
+ 'class' => array(),
639
+ 'data-on' => array(),
640
+ 'data-off' => array(),
641
),
642
'label' => array(
643
+ 'for' => array(),
644
+ 'class' => array(),
645
),
646
'input' => array(
647
+ 'type' => array(),
648
+ 'checked' => array(),
649
+ 'data-toggle' => array(),
650
+ 'id' => array(),
651
+ 'name' => array(),
652
+ 'value' => array(),
653
+ ),
654
) );
655
?>
656
</span>
661
// @codingStandardsIgnoreLine
662
echo wp_kses( $featured_checkbox, array(
663
'span' => array(
664
+ 'class' => array(),
665
+ 'data-on' => array(),
666
+ 'data-off' => array(),
667
),
668
'label' => array(
669
+ 'for' => array(),
670
+ 'class' => array(),
671
),
672
'input' => array(
673
+ 'type' => array(),
674
+ 'checked' => array(),
675
+ 'data-toggle' => array(),
676
+ 'id' => array(),
677
+ 'name' => array(),
678
+ 'value' => array(),
679
+ ),
680
) );
681
?>
682
</td>
783
<td>
784
<?php echo esc_html( ucfirst( $entity['title'] ) ); ?>
785
</td>
786
+
787
<?php
788
$args = array(
789
'key' => 'defaultSizes_' . $parent_key . '_' . $entity['title'],
790
);
791
+ foreach ( $entity as $child_key => $value ) {
792
+ if ( 'title' !== $child_key ) {
793
+ $args[ $child_key ] = $value;
794
}
795
+ }
796
self::dimensions( $args );
797
?>
798
</tr>
809
$options = $rtmedia->options;
810
811
$render_jpeg_image_quality = array(
812
+ 'title' => esc_html__( 'JPEG/JPG image quality (1-100)', 'buddypress-media' ),
813
+ 'callback' => array( 'RTMediaFormHandler', 'number' ),
814
+ 'args' => array(
815
+ 'key' => 'general_jpeg_image_quality',
816
+ 'value' => $options['general_jpeg_image_quality'],
817
+ 'class' => array( 'rtmedia-setting-text-box' ),
818
+ 'desc' => esc_html__( 'Enter JPEG/JPG Image Quality. Minimum value is 1. 100 is original quality.', 'buddypress-media' ),
819
+ 'min' => 1,
820
+ 'max' => 100,
821
),
822
);
823
?>
862
static function custom_css_render_options( $options ) {
863
$render = array(
864
'disable_styles' => array(
865
+ 'title' => esc_html__( 'rtMedia default styles', 'buddypress-media' ),
866
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
867
+ 'args' => array(
868
+ 'id' => 'rtmedia-disable-styles',
869
+ 'key' => 'styles_enabled',
870
+ 'value' => $options['styles_enabled'],
871
+ 'desc' => esc_html__( 'Load default rtMedia styles. You need to write your own style for rtMedia if you disable it.', 'buddypress-media' ),
872
),
873
'group' => 10,
874
),
875
'custom_styles' => array(
876
+ 'title' => esc_html__( 'Paste your CSS code', 'buddypress-media' ),
877
+ 'callback' => array( 'RTMediaFormHandler', 'textarea' ),
878
+ 'args' => array(
879
+ 'id' => 'rtmedia-custom-css',
880
+ 'key' => 'styles_custom',
881
+ 'value' => stripcslashes( $options['styles_custom'] ),
882
+ 'desc' => esc_html__( 'Custom rtMedia CSS container', 'buddypress-media' ),
883
),
884
'group' => 10,
885
),
902
903
$render = array(
904
'enable' => array(
905
+ 'title' => esc_html__( 'Enable privacy', 'buddypress-media' ),
906
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
907
+ 'args' => array(
908
+ 'id' => 'rtmedia-privacy-enable',
909
+ 'key' => 'privacy_enabled',
910
+ 'value' => $options['privacy_enabled'],
911
+ 'desc' => esc_html__( 'Enable privacy in rtMedia', 'buddypress-media' ),
912
),
913
'group' => 10,
914
),
915
'default' => array(
916
+ 'title' => esc_html__( 'Default privacy', 'buddypress-media' ),
917
+ 'callback' => array( 'RTMediaFormHandler', 'radio' ),
918
+ 'args' => array(
919
+ 'key' => 'privacy_default',
920
+ 'radios' => $rtmedia->privacy_settings['levels'],
921
+ 'default' => $options['privacy_default'],
922
+ 'desc' => esc_html__( 'Set default privacy for media', 'buddypress-media' ),
923
),
924
'group' => 10,
925
'depends' => 'privacy_enabled',
926
),
927
'user_override' => array(
928
+ 'title' => esc_html__( 'Allow users to set privacy for their content', 'buddypress-media' ),
929
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
930
+ 'args' => array(
931
+ 'key' => 'privacy_userOverride',
932
+ 'value' => $options['privacy_userOverride'],
933
+ 'desc' => esc_html__( 'If you choose this, users will be able to change privacy of their own uploads.', 'buddypress-media' ),
934
),
935
+ 'group' => 10,
936
+ 'depends' => 'privacy_enabled',
937
+ 'after_content' => esc_html__( 'For group uploads, BuddyPress groups privacy is used.', 'buddypress-media' ),
938
),
939
);
940
953
public static function privacy_content() {
954
global $rtmedia;
955
956
+ $general_group = array();
957
+ $general_group[10] = 'Privacy Settings';
958
+ $general_group = apply_filters( 'rtmedia_privacy_settings_groups', $general_group );
959
960
+ $options = self::extract_settings( 'privacy', $rtmedia->options );
961
+ $render_options = self::privacy_render_options( $options );
962
+ $render_options = apply_filters( 'rtmedia_privacy_settings_options', $render_options );
963
964
self::render_tab_content( $render_options, $general_group, 10 );
965
}
976
static function buddypress_render_options( $options ) {
977
$render = array(
978
'rtmedia-enable-on-profile' => array(
979
+ 'title' => esc_html__( 'Enable media in profile', 'buddypress-media' ),
980
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
981
+ 'args' => array(
982
+ 'key' => 'buddypress_enableOnProfile',
983
+ 'value' => $options['buddypress_enableOnProfile'],
984
+ 'desc' => esc_html__( 'Enable Media on BuddyPress Profile', 'buddypress-media' ),
985
),
986
'group' => 10,
987
),
988
'rtmedia-enable-on-group' => array(
989
+ 'title' => esc_html__( 'Enable media in group', 'buddypress-media' ),
990
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
991
+ 'args' => array(
992
+ 'key' => 'buddypress_enableOnGroup',
993
+ 'value' => $options['buddypress_enableOnGroup'],
994
+ 'desc' => esc_html__( 'Enable Media on BuddyPress Groups', 'buddypress-media' ),
995
),
996
'group' => 10,
997
),
998
'rtmedia-enable-on-activity' => array(
999
+ 'title' => esc_html__( 'Allow upload from activity stream', 'buddypress-media' ),
1000
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1001
+ 'args' => array(
1002
+ 'key' => 'buddypress_enableOnActivity',
1003
+ 'value' => $options['buddypress_enableOnActivity'],
1004
+ 'desc' => esc_html__( 'Allow upload using status update box present on activity stream page', 'buddypress-media' ),
1005
+ 'id' => 'rtmedia-bp-enable-activity',
1006
),
1007
'group' => 10,
1008
),
1009
'rtmedia-activity-feed-limit' => array(
1010
+ 'title' => esc_html__( 'Number of media items to show in activity stream', 'buddypress-media' ),
1011
+ 'callback' => array( 'RTMediaFormHandler', 'number' ),
1012
+ 'args' => array(
1013
+ 'key' => 'buddypress_limitOnActivity',
1014
+ 'value' => $options['buddypress_limitOnActivity'],
1015
+ 'desc' => esc_html__( 'With bulk uploads activity, the stream may get flooded. You can control the maximum number of media items or files per activity. This limit will not affect the actual number of uploads. This is only for display. "0" means unlimited.', 'buddypress-media' ),
1016
+ 'class' => array( 'rtmedia-setting-text-box rtmedia-bp-activity-setting' ),
1017
+ 'min' => 0,
1018
),
1019
'group' => 10,
1020
),
1021
'rtmedia-enable-notification' => array(
1022
+ 'title' => esc_html__( 'Enable media notification', 'buddypress-media' ),
1023
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1024
+ 'args' => array(
1025
+ 'key' => 'buddypress_enableNotification',
1026
+ 'value' => $options['buddypress_enableNotification'],
1027
+ 'desc' => esc_html__( 'This will enable notifications to media authors for media likes and comments.', 'buddypress-media' ),
1028
1029
),
1030
'group' => 10,
1031
),
1032
'rtmedia-enable-like-activity' => array(
1033
+ 'title' => esc_html__( 'Create activity for media likes', 'buddypress-media' ),
1034
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1035
+ 'args' => array(
1036
+ 'key' => 'buddypress_mediaLikeActivity',
1037
+ 'value' => $options['buddypress_mediaLikeActivity'],
1038
+ 'desc' => esc_html__( 'Enabling this setting will create BuddyPress activity for media likes.', 'buddypress-media' ),
1039
1040
),
1041
'group' => 10,
1042
),
1043
'rtmedia-enable-comment-activity' => array(
1044
+ 'title' => esc_html__( 'Create activity for media comments', 'buddypress-media' ),
1045
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1046
+ 'args' => array(
1047
+ 'key' => 'buddypress_mediaCommentActivity',
1048
+ 'value' => $options['buddypress_mediaCommentActivity'],
1049
+ 'desc' => esc_html__( 'Enabling this setting will create BuddyPress activity for media comments.', 'buddypress-media' ),
1050
1051
),
1052
'group' => 10,
1053
),
1054
'general_enableAlbums' => array(
1055
+ 'title' => esc_html__( 'Organize media into albums', 'buddypress-media' ),
1056
+ 'callback' => array( 'RTMediaFormHandler', 'checkbox' ),
1057
+ 'args' => array(
1058
+ 'id' => 'rtmedia-album-enable',
1059
+ 'key' => 'general_enableAlbums',
1060
+ 'value' => $options['general_enableAlbums'],
1061
+ 'desc' => esc_html__( 'This will add \'album\' tab to BuddyPress profile and group depending on the ^above^ settings.', 'buddypress-media' ),
1062
),
1063
+ 'group' => 50,
1064
),
1065
);
1066
1079
public static function buddypress_content() {
1080
global $rtmedia;
1081
1082
+ $general_group = array();
1083
+ $general_group[10] = 'Integration With BuddyPress Features';
1084
+ $general_group[50] = 'Album Settings';
1085
+ $general_group = apply_filters( 'rtmedia_buddypress_setting_group', $general_group );
1086
1087
+ $render_options = self::buddypress_render_options( $rtmedia->options );
1088
+ $render_options = apply_filters( 'rtmedia_album_control_setting', $render_options, $rtmedia->options );
1089
1090
$render_options = apply_filters( 'rtmedia_buddypress_setting_options', $render_options );
1091
1210
public static function render_option_content( $option ) {
1211
?>
1212
1213
+ <table class="form-table" <?php if ( isset( $option['depends'] ) && '' !== $option['depends'] ) { echo 'data-depends="' . esc_attr( $option['depends'] ) . '"'; } ?> >
1214
<tr>
1215
<th>
1216
<?php echo wp_kses( $option['title'], array(
1217
'a' => array(
1218
+ 'id' => array(),
1219
+ 'href' => array(),
1220
+ 'target' => array(),
1221
),
1222
) ); ?>
1223
</th>
1230
<span class="rtm-tip">
1231
<?php echo wp_kses( ( isset( $option['args']['desc'] ) ) ? $option['args']['desc'] : 'NA', array(
1232
'a' => array(
1233
+ 'id' => array(),
1234
+ 'href' => array(),
1235
+ 'target' => array(),
1236
),
1237
) ); ?>
1238
</span>
1245
<?php
1246
if ( isset( $option['after_content'] ) && '' !== $option['after_content'] ) {
1247
?>
1248
+ <div class="rtm-message rtm-notice">
1249
+ <?php
1250
+ echo wp_kses( wpautop( $option['after_content'] ), array(
1251
+ 'a' => array(
1252
+ 'id' => array(),
1253
+ 'href' => array(),
1254
+ 'target' => array(),
1255
+ ),
1256
+ 'p' => array(),
1257
+ ) );
1258
+ ?>
1259
+ </div>
1260
+ <?php
1261
}
1262
}
1263
+ }
app/assets/admin/css/admin.css CHANGED
@@ -129,6 +129,51 @@
129
width: 100%;
130
}
131
132
.rtm-social-links a {
133
display: inline-block;
134
margin: 4px 0 4px 4px;
@@ -394,6 +439,64 @@
394
font-size: 13px;
395
}
396
397
#rtmedia-encoding-usage strong {
398
display: inline-block;
399
min-width: 120px;
@@ -429,6 +532,9 @@
429
.rtm-tabs li {
430
margin: 0;
431
}
432
.rtm-tabs a {
433
border-bottom: 1px solid #e7e7e7;
434
border-top: 1px solid #f2f2f2;
129
width: 100%;
130
}
131
132
+ .license-row {
133
+ box-sizing: border-box;
134
+ display: -webkit-box;
135
+ display: -ms-flexbox;
136
+ display: flex;
137
+ -webkit-box-flex: 0;
138
+ -ms-flex: 0 1 auto;
139
+ flex: 0 1 auto;
140
+ -webkit-box-orient: horizontal;
141
+ -webkit-box-direction: normal;
142
+ -ms-flex-direction: row;
143
+ flex-direction: row;
144
+ -ms-flex-wrap: wrap;
145
+ flex-wrap: wrap;
146
+ }
147
+
148
+ .license-column, .license-column {
149
+ box-sizing: border-box;
150
+ -webkit-box-flex: 0;
151
+ -ms-flex: 0 0 auto;
152
+ flex: 0 0 auto;
153
+ padding-right: .5rem;
154
+ padding-left: .5rem;
155
+ }
156
+
157
+ .large-4 {
158
+ -ms-flex-preferred-size: 33.33333333%;
159
+ flex-basis: 33.33333333%;
160
+ max-width: 33.33333333%;
161
+ }
162
+
163
+ @media screen and (max-width: 768px) {
164
+ .medium-6 {
165
+ -ms-flex-preferred-size: 50%;
166
+ flex-basis: 50%;
167
+ max-width: 50%;
168
+ }
169
+ }
170
+ @media screen and (max-width: 667px) {
171
+ .small-12 {
172
+ -ms-flex-preferred-size: 100%;
173
+ flex-basis: 100%;
174
+ max-width: 100%;
175
+ }
176
+ }
177
.rtm-social-links a {
178
display: inline-block;
179
margin: 4px 0 4px 4px;
439
font-size: 13px;
440
}
441
442
+ .rtm-addon-license {
443
+ border: 1px solid #ddd;
444
+ margin: .5rem 0;
445
+ background-color: #fff;
446
+ }
447
+ .rtm-addon-license .title {
448
+ background-color: #fafafa;
449
+ border-bottom: 1px solid #ddd;
450
+ margin: 0;
451
+ padding: 15px 10px;
452
+ }
453
+ .rtm-addon-license .license-inner {
454
+ padding: 10px;
455
+ }
456
+
457
+ form.license-form {
458
+ padding: 0;
459
+ margin: 0;
460
+ }
461
+ form.license-form input[type="text"] {
462
+ width: 100%;
463
+ max-width: 100%;
464
+ height: 35px;
465
+ line-height: 35px;
466
+ }
467
+ form.license-form input[type="submit"] {
468
+ margin: 10px 0 0;
469
+ }
470
+
471
+ .license-message {
472
+ margin: 15px 0 0 0;
473
+ padding: 8px;
474
+ }
475
+ .license-message.warning {
476
+ background: rgba(255, 185, 0, 0.1);
477
+ border: 1px solid #ffb900;
478
+ }
479
+ .license-message.success {
480
+ background: rgba(70, 180, 80, 0.1);
481
+ border: 1px solid #46b450;
482
+ }
483
+ .license-message.info {
484
+ background: rgba(0, 160, 210, 0.1);
485
+ border: 1px solid #00a0d2;
486
+ }
487
+ .license-message.alert {
488
+ background: rgba(220, 50, 50, 0.1);
489
+ border: 1px solid #dc3232;
490
+ }
491
+
492
+ .rtml-submit-wrapper .submit {
493
+ margin-left: 8px;
494
+ margin-right: 8px;
495
+ margin-top: 0;
496
+ padding-top: 0;
497
+ padding-bottom: 10px;
498
+ }
499
+
500
#rtmedia-encoding-usage strong {
501
display: inline-block;
502
min-width: 120px;
532
.rtm-tabs li {
533
margin: 0;
534
}
535
+ .rtm-tabs li.error {
536
+ border-left: 4px solid #dc3232;
537
+ }
538
.rtm-tabs a {
539
border-bottom: 1px solid #e7e7e7;
540
border-top: 1px solid #f2f2f2;
app/assets/admin/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.clearfix:after{content:"";display:table;clear:both}.rtm-row-container{padding-top:10px}.rtm-admin-tab-container{display:table;width:100%}.rtm-admin-tab-container .rtm-tabs-content{background:#fff;border-left:1px solid #e7e7e7;display:table-cell;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-setting-container{background-color:#f5f5f5;border:1px solid #dedede;box-shadow:0 1px 1px rgba(0,0,0,0.04);margin-top:10px}.rtm-sidebar .postbox .hndle{cursor:default}.rtm-tabs{display:table-cell;list-style:none;margin:0;min-height:300px;width:202px}.rtm-button-container{background:#f3f3f3;border-bottom:1px solid #dedede;box-shadow:0 1px 0 #fcfcfc inset;overflow:hidden;padding:6px 10px 6px 6px;position:relative;text-align:right}.rtm-button-container.bottom{background:#eee;border-top:1px solid #e7e7e7;box-shadow:0 0 0;z-index:999}#mce-EMAIL{width:100%}#mc-embedded-subscribe{display:block;margin:10px auto 0;width:100%}.rtm-social-links a{display:inline-block;margin:4px 0 4px 4px;text-decoration:none}.nav-tab.rtm-premium{background:#e74c3c;color:white;letter-spacing:0.5px}.rtm-setting-title{border-bottom:1px solid #eee;font-size:22px;font-weight:400;line-height:1;margin-bottom:20px;margin-top:0;padding-bottom:14px;display:none}.rtm-setting-title.rtm-show{display:block}.rtm-option-wrapper{margin-bottom:40px}.rtm-option-wrapper:last-child{margin-bottom:20px}.rtm-setting-title+.rtm-option-wrapper{margin-top:0}.rtm-option-wrapper:last-child{border-bottom:0}.rtm-option-wrapper .form-table{clear:none}.rtm-option-wrapper .rtm-field-wrap{float:left}.rtm-option-wrapper a{text-decoration:none}.rtm-option-wrapper .form-table th{color:#444;font-size:13px;font-weight:400;padding:5px 30px 5px 0;vertical-align:top;width:48%}.rtm-option-wrapper .form-table td{font-size:13px;padding:0 0 5px;vertical-align:top}.rtm-option-wrapper .form-table td fieldset label{display:block;margin:0 !important}.rtm-option-wrapper .form-table .rtm-form-radio label{margin-top:5px !important}.rtm-option-wrapper textarea,.rtm-option-wrapper select,.rtm-option-wrapper input[type=text],.rtm-option-wrapper input[type=number]{border-radius:3px}.rtm-option-wrapper input[type=number]{width:60px}.rtm-option-wrapper .rt-form-radio{height:28px;line-height:24px}.rtm-option-wrapper .rt-form-radio label:first-child{margin-right:12px !important}.rtm-option-wrapper .dashicons-info{color:#aaa;font-size:14px;height:26px;line-height:26px;position:relative}.rtm-option-wrapper .rtm-debug-info{margin-top:32px}.rtm-option-wrapper .rtm-debug-info tr{border-bottom:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:first-child{border-top:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:nth-child(2n){background-color:#f8f8f8}.rtm-option-wrapper .rtm-debug-info th{border-right:1px solid #eee;font-weight:600;width:auto}.rtm-option-wrapper .rtm-debug-info th,.rtm-option-wrapper .rtm-debug-info td{padding:10px}.rtm-option-title{border-bottom:1px solid #eee;font-size:14px;letter-spacing:0.02rem;margin-bottom:12px;margin-top:0;padding:0 0 6px;text-transform:uppercase}.rtm-sidebar .button{display:block;opacity:0.8;position:relative;text-decoration:none}.rtm-social-share .dashicons{font-size:18px;position:absolute;right:10px;top:4px}.rtm-social-share .twitter .dashicons{color:#45b0e3}.rtm-social-share .facebook .dashicons{color:#3b5998}.rtm-social-share .wordpress .dashicons{color:#21759b}.rtm-social-share .rss .dashicons{color:#FF6600}.rtm-social-share p:last-child{margin-bottom:0}.rtm-notice{background:rgba(238,238,238,0.8);color:#777;font-size:12px;line-height:1.6;margin-top:10px;overflow:hidden;padding:0 10px}.rtm-notice p{font-size:inherit;line-height:inherit;margin:10px 0}.rtm-warning{background-color:#fcf8e3;border-bottom:1px solid #EEE;color:#c09853;padding:10px 15px}.rtmedia-theme-warning{margin-bottom:26px}.rtm-success{background-color:#dff0d8;border-bottom:1px solid #e7e7e7;color:#468847;margin:0;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.rtm-fly-warning{border-bottom:0;left:-10px;letter-spacing:1px;line-height:22px;margin-bottom:0;padding:14px 25px;position:absolute;top:-5px}#rtmedia-types .form-table th{line-height:26px;padding:5px 0 20px;width:33%}#rtmedia-types .form-table td{padding:0 0 12px}#rtmedia-custom-css-settings .form-table th{width:35%}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:92%}#rtmedia-custom-css-settings textarea{height:300px;width:100%}.rtm-img-size-setting .form-table th{border-bottom:1px solid #eee;padding-bottom:10px;padding-top:10px;width:20%}.rtm-img-size-setting .form-table tr:nth-child(2) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(4){border-bottom:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(4) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(5) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(6) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(7){border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(7) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-last-child(2) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:last-child{border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:last-child td{padding-top:20px;padding-bottom:20px}.rtm-img-size-setting .form-table .rtm-row-title{font-weight:600}#rtmedia-privacy .rt-form-radio{font-size:12px}#rtmedia-privacy .rt-form-radio strong{font-size:13px}#rtmedia-encoding-usage strong{display:inline-block;min-width:120px}#rtmedia-encoding-usage p{overflow:hidden}.encoding-used,.encoding-remaining{background:#7AD03A;float:right;height:12px;margin-top:3px;width:12px}.encoding-remaining{background:#dedede}#rtprogressbar{background:#dedede;height:10px;position:relative}#rtprogressbar div{background:#7AD03A;height:10px;left:0;position:absolute}.rtm-tabs li{margin:0}.rtm-tabs a{border-bottom:1px solid #e7e7e7;border-top:1px solid #f2f2f2;color:#222;display:block;font-weight:700;outline:none;opacity:0.8;padding:10px 4px 10px 14px;position:relative;text-decoration:none;z-index:10}.rtm-tabs a:hover{background:#eee;color:#269ad6;margin-right:0;opacity:1;width:auto}.rtm-tabs a:focus{background:#fff;box-shadow:0 0 0}.rtm-tabs .active{background:white;position:relative}.rtm-tabs .active:after{background:#fff;content:' ';height:100%;position:absolute;right:-1px;top:0;width:1px}.rtm-tabs .active a{border-top-color:#fff;color:#222;opacity:1}.rtm-tabs .active a:hover{background:#fff}.rtm-tabs span{display:block;padding:0 0 0 25px}.rtm-tabs .dashicons{font-size:14px;height:auto;line-height:1;margin-top:3px;position:absolute;vertical-align:middle;width:auto}.rtm-horizotanl-tabs .rtm-tabs{list-style:none;margin:0;display:block;width:auto;min-height:0}.rtm-horizotanl-tabs .rtm-tabs-content{border-left:none;background:#fff;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-horizotanl-tabs .rtm-tabs a{border-bottom:none}.rtm-horizotanl-tabs .rtm-tabs li{display:inline-block}.rtm-horizotanl-tabs.rtm-admin-tab-container{width:100%;display:block}.switch{position:relative;display:inline-block;vertical-align:top;width:58px;height:22px;padding:3px;border-radius:18px}.switch input[type=checkbox]{position:absolute;top:0;left:0;opacity:0}.switch-label{position:relative;display:block;height:inherit;color:#fff;font-size:12px;text-transform:uppercase;background:#b4b4b4;border-radius:inherit;-webkit-transition:0.15s ease-out;transition:0.15s ease-out;-webkit-transition-property:opacity background;transition-property:opacity background}.switch-label:before,.switch-label:after{position:absolute;top:50%;margin-top:-.5em;line-height:1;-webkit-transition:inherit;transition:inherit}.switch-label:before{content:attr(data-off);right:11px;color:#fff}.switch-label:after{content:attr(data-on);left:11px;opacity:0}input[type=checkbox]:checked ~ .switch-label{background:#33a7d1}input[type=checkbox]:checked ~ .switch-label:before{opacity:0}input[type=checkbox]:checked ~ .switch-label:after{opacity:1}.switch-handle{position:absolute;top:5px;left:5px;width:18px;height:18px;background:white;border-radius:10px;box-shadow:1px 1px 5px rgba(0,0,0,0.2);background-image:-webkit-linear-gradient(top, #fff 40%, #f0f0f0);background-image:linear-gradient(to bottom, #fff 40%, #f0f0f0);-webkit-transition:left 0.15s ease-out;transition:left 0.15s ease-out}.switch-handle:before{content:'';position:absolute;top:50%;left:50%;margin:-6px 0 0 -6px;width:12px;height:12px;background:#f9f9f9;border-radius:6px;box-shadow:inset 0 1px rgba(0,0,0,0.02);background-image:-webkit-linear-gradient(top, #eee, #fff);background-image:linear-gradient(to bottom, #eee, #fff)}input[type=checkbox]:checked ~ .switch-handle{left:41px;box-shadow:-1px 1px 5px rgba(0,0,0,0.2)}.rtm-tooltip{display:inline-block;margin-left:3px;position:relative}.rtm-tooltip:hover .rtm-tip-top,.rtm-tooltip:hover .rtm-tip{margin-left:0;opacity:1;visibility:visible}.rtm-tooltip .rtm-title{border-bottom:1px dotted;padding-bottom:2px}.rtm-tip-top,.rtm-tip{background:#fffAF0;border:1px solid #f5deaf;border-radius:3px;font-size:12px;left:24px;margin-top:-4px;margin-left:-10px;line-height:1.5;opacity:0;padding:6px 12px;position:absolute;top:0;visibility:hidden;width:210px;z-index:9999;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s}.rtm-tip-top{bottom:26px;left:auto;right:-66px;top:auto;width:200px}.rtm-tip-top:after,.rtm-tip-top:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip-top:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip-top:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:8px;margin-left:-8px}.rtm-extensions .dashicons{font-size:12px;margin-left:-4px;position:relative;top:-3px}.rtm-extensions.rtm-set-top .dashicons{top:1px}.rtm-plugin-card.plugin-card{margin:1%;overflow:hidden;width:48%}.rtm-plugin-card.plugin-card .rtm-logo{float:left;margin-right:10px;max-width:200px;width:auto}.rtm-plugin-card.plugin-card .rtm-logo img{height:auto;max-width:120px}.rtm-plugin-card.plugin-card .desc,.rtm-plugin-card.plugin-card .name{margin-left:0;margin-right:0;overflow:hidden}.rtm-plugin-card.plugin-card h4{margin-bottom:0;margin-top:0}.rtm-plugin-card.plugin-card a{text-decoration:none}.rtm-plugin-card.plugin-card .rtm-live-demo{margin-right:10px}.rtm-plugin-card.plugin-card .price{color:#269ad6;font-size:22px;line-height:1.2}#rtm-plugins .rtm-option-title{margin-top:50px}#rtm-plugins .rtm-setting-title+.rtm-option-title{margin-top:0}#rtm-plugins .plugin-card-top{padding:10px}.rtm-encoding-table{border-collapse:collapse;clear:none}.rtm-encoding-table th,.rtm-encoding-table td{border:1px solid #e7e7e7}.rtm-encoding-table th{font-size:13px;font-weight:600}.rtm-theme-browser .rtm-themes{clear:none;padding:0}.rtm-theme-browser .rtm-themes .rtm-theme{width:48%}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(even){margin-right:0 !important}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(3n){margin-right:4%}.admin-bar .theme-overlay .theme-wrap{z-index:99999}.rtm-support-container{min-height:300px}.rtm-support-form .rtm-form-filed{clear:both;margin:15px 0}.rtm-support-form label{float:left;width:15%}.rtm-support-form .bp-media-textarea{height:80px}.rtm-button-wrapper{padding-left:15%}.rtm-page-container{background:#fff;overflow:hidden;padding:20px}.rtm-pro-feature-list li{box-sizing:border-box;float:left;padding:0 10px 20px;width:33%}.rtm-pro-feature-list .rtm-icon-wrap{float:left;margin-top:15px;width:30px}.rtm-pro-feature-list .dashicons{font-size:18px}.rtm-pro-feature-list .rtm-title{font-size:18px;margin-left:30px;margin-top:0px}.rtm-pro-feature-list .rtm-content{font-size:14px;line-height:25px;margin-left:30px;color:#8a8a8a;width:auto}.rtm-update-to-pro{text-align:center}.rtm-button{background-color:#269ad6;border:0;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;letter-spacing:1px;line-height:1;margin-bottom:10px;padding:12px 26px;text-align:center;text-decoration:none;text-transform:uppercase}.rtm-button:hover,.rtm-button:focus{background-color:#228ac0;color:#fff}.rtm-button.large{font-size:16px;margin-bottom:20px;padding:20px 40px}.rtm-button.rtm-button-success{background-color:#2ecc71}.rtm-button.rtm-button-success:hover,.rtm-button.rtm-button-success:focus{background-color:#2fab41}.rtm-hire-points{font-size:14px;margin-bottom:24px}@media only screen and (min-width: 1025px){.rtm-setting-container{float:left;width:78.2%}.rtm-sidebar{float:right;width:20%}.rtm-sidebar .postbox{min-width:0}.rtm-field-wrap{max-width:92%}.rtm-tip:after,.rtm-tip:before{right:100%;top:15px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-right-color:#fffAF0;border-width:6px;margin-top:-6px}.rtm-tip:before{border-color:rgba(221,204,170,0);border-right-color:#f5deaf;border-width:7px;margin-top:-7px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{float:left;width:40%}}@media only screen and (min-width: 641px) and (max-width: 1024px){.rtm-sidebar{width:100%}.rtm-sidebar .postbox{display:inline-block;margin-left:5px;vertical-align:top}.rtm-sidebar .postbox:first-child{margin-left:0}}@media screen and (max-width: 1024px){.rtm-tip{bottom:26px;left:auto;right:-102px;top:auto;width:200px}.rtm-tip:after,.rtm-tip:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:7px;margin-left:-7px}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:100%}.rtm-field-wrap input[type=text]{max-width:140px !important}.theme-browser .theme:nth-child(2n+1){margin-right:4%}.rtmedia-settings-submit{margin-bottom:0 !important}}@media only screen and (min-width: 641px){.rtm-pro-feature-list li:nth-child(3n+1){clear:left}}@media screen and (min-width: 421px) and (max-width: 782px){.rtm-option-wrapper .form-table td{display:table-cell}.rtm-option-wrapper .form-table th{display:table-cell}}@media only screen and (max-width: 640px){.rtm-pro-feature-list li{width:50%}.rtm-pro-feature-list li:nth-child(2n+1){clear:left}.rtm-tabs{width:40px}.rtm-tabs li{width:40px}.rtm-tabs a{height:18px}.rtm-tabs a:hover{width:140px}.rtm-tabs a:hover span{display:block}.rtm-tabs span{display:none;padding:0 0 0 28px;position:absolute}.rtm-support-form label{width:100%;margin-bottom:5px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{width:70%}.rtm-button-wrapper{padding-left:0}}@media screen and (max-width: 481px){.rtm-plugin-card.plugin-card .rtm-logo{display:inline-block;float:none}.rtm-theme-browser .rtm-themes .rtm-theme{margin:0 0 20px;width:100%}}@media screen and (max-width: 420px){.rtm-option-wrapper .form-table th{padding-bottom:15px;width:100%}#rtmedia-types .form-table th,#rtmedia-custom-css-settings .form-table th{width:100%}.rtm-pro-feature-list li{width:100%}.rtm-tip-top{right:-115px}}body.rtl .rtm-tabs a{padding:10px 32px 10px 4px}body.rtl .rtm-tabs .dashicons{right:10px}body.rtl .rtm-social-share .dashicons{left:10px;right:auto}body.rtl .rtm-option-wrapper .rtm-field-wrap{float:right}body.rtl .rtm-tip-top,body.rtl .rtm-tip{left:auto;right:24px}body.rtl .rtm-tip-top:after,body.rtl .rtm-tip-top:before,body.rtl .rtm-tip:after,body.rtl .rtm-tip:before{display:none}body.rtl .rtm-edit-td,body.rtl .rtm-delete-td{float:right;margin-left:0}body.rtl .rtm-edit-td{margin-right:-15px}body.rtl #rtmedia-membership span.float-right{float:left}body.rtl .theme-browser .theme{float:left;margin:0 4% 4% 0}.rtmedia-license .rtm-tabs span{padding:0}
1
+ .alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.clearfix:after{content:"";display:table;clear:both}.rtm-row-container{padding-top:10px}.rtm-admin-tab-container{display:table;width:100%}.rtm-admin-tab-container .rtm-tabs-content{background:#fff;border-left:1px solid #e7e7e7;display:table-cell;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-setting-container{background-color:#f5f5f5;border:1px solid #dedede;box-shadow:0 1px 1px rgba(0,0,0,0.04);margin-top:10px}.rtm-sidebar .postbox .hndle{cursor:default}.rtm-tabs{display:table-cell;list-style:none;margin:0;min-height:300px;width:202px}.rtm-button-container{background:#f3f3f3;border-bottom:1px solid #dedede;box-shadow:0 1px 0 #fcfcfc inset;overflow:hidden;padding:6px 10px 6px 6px;position:relative;text-align:right}.rtm-button-container.bottom{background:#eee;border-top:1px solid #e7e7e7;box-shadow:0 0 0;z-index:999}#mce-EMAIL{width:100%}#mc-embedded-subscribe{display:block;margin:10px auto 0;width:100%}.license-row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.license-column,.license-column{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.large-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}@media screen and (max-width: 768px){.medium-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}}@media screen and (max-width: 667px){.small-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}.rtm-social-links a{display:inline-block;margin:4px 0 4px 4px;text-decoration:none}.nav-tab.rtm-premium{background:#e74c3c;color:white;letter-spacing:0.5px}.rtm-setting-title{border-bottom:1px solid #eee;font-size:22px;font-weight:400;line-height:1;margin-bottom:20px;margin-top:0;padding-bottom:14px;display:none}.rtm-setting-title.rtm-show{display:block}.rtm-option-wrapper{margin-bottom:40px}.rtm-option-wrapper:last-child{margin-bottom:20px}.rtm-setting-title+.rtm-option-wrapper{margin-top:0}.rtm-option-wrapper:last-child{border-bottom:0}.rtm-option-wrapper .form-table{clear:none}.rtm-option-wrapper .rtm-field-wrap{float:left}.rtm-option-wrapper a{text-decoration:none}.rtm-option-wrapper .form-table th{color:#444;font-size:13px;font-weight:400;padding:5px 30px 5px 0;vertical-align:top;width:48%}.rtm-option-wrapper .form-table td{font-size:13px;padding:0 0 5px;vertical-align:top}.rtm-option-wrapper .form-table td fieldset label{display:block;margin:0 !important}.rtm-option-wrapper .form-table .rtm-form-radio label{margin-top:5px !important}.rtm-option-wrapper textarea,.rtm-option-wrapper select,.rtm-option-wrapper input[type=text],.rtm-option-wrapper input[type=number]{border-radius:3px}.rtm-option-wrapper input[type=number]{width:60px}.rtm-option-wrapper .rt-form-radio{height:28px;line-height:24px}.rtm-option-wrapper .rt-form-radio label:first-child{margin-right:12px !important}.rtm-option-wrapper .dashicons-info{color:#aaa;font-size:14px;height:26px;line-height:26px;position:relative}.rtm-option-wrapper .rtm-debug-info{margin-top:32px}.rtm-option-wrapper .rtm-debug-info tr{border-bottom:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:first-child{border-top:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:nth-child(2n){background-color:#f8f8f8}.rtm-option-wrapper .rtm-debug-info th{border-right:1px solid #eee;font-weight:600;width:auto}.rtm-option-wrapper .rtm-debug-info th,.rtm-option-wrapper .rtm-debug-info td{padding:10px}.rtm-option-title{border-bottom:1px solid #eee;font-size:14px;letter-spacing:0.02rem;margin-bottom:12px;margin-top:0;padding:0 0 6px;text-transform:uppercase}.rtm-sidebar .button{display:block;opacity:0.8;position:relative;text-decoration:none}.rtm-social-share .dashicons{font-size:18px;position:absolute;right:10px;top:4px}.rtm-social-share .twitter .dashicons{color:#45b0e3}.rtm-social-share .facebook .dashicons{color:#3b5998}.rtm-social-share .wordpress .dashicons{color:#21759b}.rtm-social-share .rss .dashicons{color:#FF6600}.rtm-social-share p:last-child{margin-bottom:0}.rtm-notice{background:rgba(238,238,238,0.8);color:#777;font-size:12px;line-height:1.6;margin-top:10px;overflow:hidden;padding:0 10px}.rtm-notice p{font-size:inherit;line-height:inherit;margin:10px 0}.rtm-warning{background-color:#fcf8e3;border-bottom:1px solid #EEE;color:#c09853;padding:10px 15px}.rtmedia-theme-warning{margin-bottom:26px}.rtm-success{background-color:#dff0d8;border-bottom:1px solid #e7e7e7;color:#468847;margin:0;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.rtm-fly-warning{border-bottom:0;left:-10px;letter-spacing:1px;line-height:22px;margin-bottom:0;padding:14px 25px;position:absolute;top:-5px}#rtmedia-types .form-table th{line-height:26px;padding:5px 0 20px;width:33%}#rtmedia-types .form-table td{padding:0 0 12px}#rtmedia-custom-css-settings .form-table th{width:35%}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:92%}#rtmedia-custom-css-settings textarea{height:300px;width:100%}.rtm-img-size-setting .form-table th{border-bottom:1px solid #eee;padding-bottom:10px;padding-top:10px;width:20%}.rtm-img-size-setting .form-table tr:nth-child(2) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(4){border-bottom:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(4) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(5) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(6) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(7){border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(7) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-last-child(2) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:last-child{border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:last-child td{padding-top:20px;padding-bottom:20px}.rtm-img-size-setting .form-table .rtm-row-title{font-weight:600}#rtmedia-privacy .rt-form-radio{font-size:12px}#rtmedia-privacy .rt-form-radio strong{font-size:13px}.rtm-addon-license{border:1px solid #ddd;margin:.5rem 0;background-color:#fff}.rtm-addon-license .title{background-color:#fafafa;border-bottom:1px solid #ddd;margin:0;padding:15px 10px}.rtm-addon-license .license-inner{padding:10px}form.license-form{padding:0;margin:0}form.license-form input[type="text"]{width:100%;max-width:100%;height:35px;line-height:35px}form.license-form input[type="submit"]{margin:10px 0 0}.license-message{margin:15px 0 0 0;padding:8px}.license-message.warning{background:rgba(255,185,0,0.1);border:1px solid #ffb900}.license-message.success{background:rgba(70,180,80,0.1);border:1px solid #46b450}.license-message.info{background:rgba(0,160,210,0.1);border:1px solid #00a0d2}.license-message.alert{background:rgba(220,50,50,0.1);border:1px solid #dc3232}.rtml-submit-wrapper .submit{margin-left:8px;margin-right:8px;margin-top:0;padding-top:0;padding-bottom:10px}#rtmedia-encoding-usage strong{display:inline-block;min-width:120px}#rtmedia-encoding-usage p{overflow:hidden}.encoding-used,.encoding-remaining{background:#7AD03A;float:right;height:12px;margin-top:3px;width:12px}.encoding-remaining{background:#dedede}#rtprogressbar{background:#dedede;height:10px;position:relative}#rtprogressbar div{background:#7AD03A;height:10px;left:0;position:absolute}.rtm-tabs li{margin:0}.rtm-tabs li.error{border-left:4px solid #dc3232}.rtm-tabs a{border-bottom:1px solid #e7e7e7;border-top:1px solid #f2f2f2;color:#222;display:block;font-weight:700;outline:none;opacity:0.8;padding:10px 4px 10px 14px;position:relative;text-decoration:none;z-index:10}.rtm-tabs a:hover{background:#eee;color:#269ad6;margin-right:0;opacity:1;width:auto}.rtm-tabs a:focus{background:#fff;box-shadow:0 0 0}.rtm-tabs .active{background:white;position:relative}.rtm-tabs .active:after{background:#fff;content:' ';height:100%;position:absolute;right:-1px;top:0;width:1px}.rtm-tabs .active a{border-top-color:#fff;color:#222;opacity:1}.rtm-tabs .active a:hover{background:#fff}.rtm-tabs span{display:block;padding:0 0 0 25px}.rtm-tabs .dashicons{font-size:14px;height:auto;line-height:1;margin-top:3px;position:absolute;vertical-align:middle;width:auto}.rtm-horizotanl-tabs .rtm-tabs{list-style:none;margin:0;display:block;width:auto;min-height:0}.rtm-horizotanl-tabs .rtm-tabs-content{border-left:none;background:#fff;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-horizotanl-tabs .rtm-tabs a{border-bottom:none}.rtm-horizotanl-tabs .rtm-tabs li{display:inline-block}.rtm-horizotanl-tabs.rtm-admin-tab-container{width:100%;display:block}.switch{position:relative;display:inline-block;vertical-align:top;width:58px;height:22px;padding:3px;border-radius:18px}.switch input[type=checkbox]{position:absolute;top:0;left:0;opacity:0}.switch-label{position:relative;display:block;height:inherit;color:#fff;font-size:12px;text-transform:uppercase;background:#b4b4b4;border-radius:inherit;-webkit-transition:0.15s ease-out;transition:0.15s ease-out;-webkit-transition-property:opacity background;transition-property:opacity background}.switch-label:before,.switch-label:after{position:absolute;top:50%;margin-top:-.5em;line-height:1;-webkit-transition:inherit;transition:inherit}.switch-label:before{content:attr(data-off);right:11px;color:#fff}.switch-label:after{content:attr(data-on);left:11px;opacity:0}input[type=checkbox]:checked ~ .switch-label{background:#33a7d1}input[type=checkbox]:checked ~ .switch-label:before{opacity:0}input[type=checkbox]:checked ~ .switch-label:after{opacity:1}.switch-handle{position:absolute;top:5px;left:5px;width:18px;height:18px;background:white;border-radius:10px;box-shadow:1px 1px 5px rgba(0,0,0,0.2);background-image:-webkit-linear-gradient(top, #fff 40%, #f0f0f0);background-image:linear-gradient(to bottom, #fff 40%, #f0f0f0);-webkit-transition:left 0.15s ease-out;transition:left 0.15s ease-out}.switch-handle:before{content:'';position:absolute;top:50%;left:50%;margin:-6px 0 0 -6px;width:12px;height:12px;background:#f9f9f9;border-radius:6px;box-shadow:inset 0 1px rgba(0,0,0,0.02);background-image:-webkit-linear-gradient(top, #eee, #fff);background-image:linear-gradient(to bottom, #eee, #fff)}input[type=checkbox]:checked ~ .switch-handle{left:41px;box-shadow:-1px 1px 5px rgba(0,0,0,0.2)}.rtm-tooltip{display:inline-block;margin-left:3px;position:relative}.rtm-tooltip:hover .rtm-tip-top,.rtm-tooltip:hover .rtm-tip{margin-left:0;opacity:1;visibility:visible}.rtm-tooltip .rtm-title{border-bottom:1px dotted;padding-bottom:2px}.rtm-tip-top,.rtm-tip{background:#fffAF0;border:1px solid #f5deaf;border-radius:3px;font-size:12px;left:24px;margin-top:-4px;margin-left:-10px;line-height:1.5;opacity:0;padding:6px 12px;position:absolute;top:0;visibility:hidden;width:210px;z-index:9999;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s}.rtm-tip-top{bottom:26px;left:auto;right:-66px;top:auto;width:200px}.rtm-tip-top:after,.rtm-tip-top:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip-top:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip-top:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:8px;margin-left:-8px}.rtm-extensions .dashicons{font-size:12px;margin-left:-4px;position:relative;top:-3px}.rtm-extensions.rtm-set-top .dashicons{top:1px}.rtm-plugin-card.plugin-card{margin:1%;overflow:hidden;width:48%}.rtm-plugin-card.plugin-card .rtm-logo{float:left;margin-right:10px;max-width:200px;width:auto}.rtm-plugin-card.plugin-card .rtm-logo img{height:auto;max-width:120px}.rtm-plugin-card.plugin-card .desc,.rtm-plugin-card.plugin-card .name{margin-left:0;margin-right:0;overflow:hidden}.rtm-plugin-card.plugin-card h4{margin-bottom:0;margin-top:0}.rtm-plugin-card.plugin-card a{text-decoration:none}.rtm-plugin-card.plugin-card .rtm-live-demo{margin-right:10px}.rtm-plugin-card.plugin-card .price{color:#269ad6;font-size:22px;line-height:1.2}#rtm-plugins .rtm-option-title{margin-top:50px}#rtm-plugins .rtm-setting-title+.rtm-option-title{margin-top:0}#rtm-plugins .plugin-card-top{padding:10px}.rtm-encoding-table{border-collapse:collapse;clear:none}.rtm-encoding-table th,.rtm-encoding-table td{border:1px solid #e7e7e7}.rtm-encoding-table th{font-size:13px;font-weight:600}.rtm-theme-browser .rtm-themes{clear:none;padding:0}.rtm-theme-browser .rtm-themes .rtm-theme{width:48%}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(even){margin-right:0 !important}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(3n){margin-right:4%}.admin-bar .theme-overlay .theme-wrap{z-index:99999}.rtm-support-container{min-height:300px}.rtm-support-form .rtm-form-filed{clear:both;margin:15px 0}.rtm-support-form label{float:left;width:15%}.rtm-support-form .bp-media-textarea{height:80px}.rtm-button-wrapper{padding-left:15%}.rtm-page-container{background:#fff;overflow:hidden;padding:20px}.rtm-pro-feature-list li{box-sizing:border-box;float:left;padding:0 10px 20px;width:33%}.rtm-pro-feature-list .rtm-icon-wrap{float:left;margin-top:15px;width:30px}.rtm-pro-feature-list .dashicons{font-size:18px}.rtm-pro-feature-list .rtm-title{font-size:18px;margin-left:30px;margin-top:0px}.rtm-pro-feature-list .rtm-content{font-size:14px;line-height:25px;margin-left:30px;color:#8a8a8a;width:auto}.rtm-update-to-pro{text-align:center}.rtm-button{background-color:#269ad6;border:0;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;letter-spacing:1px;line-height:1;margin-bottom:10px;padding:12px 26px;text-align:center;text-decoration:none;text-transform:uppercase}.rtm-button:hover,.rtm-button:focus{background-color:#228ac0;color:#fff}.rtm-button.large{font-size:16px;margin-bottom:20px;padding:20px 40px}.rtm-button.rtm-button-success{background-color:#2ecc71}.rtm-button.rtm-button-success:hover,.rtm-button.rtm-button-success:focus{background-color:#2fab41}.rtm-hire-points{font-size:14px;margin-bottom:24px}@media only screen and (min-width: 1025px){.rtm-setting-container{float:left;width:78.2%}.rtm-sidebar{float:right;width:20%}.rtm-sidebar .postbox{min-width:0}.rtm-field-wrap{max-width:92%}.rtm-tip:after,.rtm-tip:before{right:100%;top:15px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-right-color:#fffAF0;border-width:6px;margin-top:-6px}.rtm-tip:before{border-color:rgba(221,204,170,0);border-right-color:#f5deaf;border-width:7px;margin-top:-7px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{float:left;width:40%}}@media only screen and (min-width: 641px) and (max-width: 1024px){.rtm-sidebar{width:100%}.rtm-sidebar .postbox{display:inline-block;margin-left:5px;vertical-align:top}.rtm-sidebar .postbox:first-child{margin-left:0}}@media screen and (max-width: 1024px){.rtm-tip{bottom:26px;left:auto;right:-102px;top:auto;width:200px}.rtm-tip:after,.rtm-tip:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:7px;margin-left:-7px}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:100%}.rtm-field-wrap input[type=text]{max-width:140px !important}.theme-browser .theme:nth-child(2n+1){margin-right:4%}.rtmedia-settings-submit{margin-bottom:0 !important}}@media only screen and (min-width: 641px){.rtm-pro-feature-list li:nth-child(3n+1){clear:left}}@media screen and (min-width: 421px) and (max-width: 782px){.rtm-option-wrapper .form-table td{display:table-cell}.rtm-option-wrapper .form-table th{display:table-cell}}@media only screen and (max-width: 640px){.rtm-pro-feature-list li{width:50%}.rtm-pro-feature-list li:nth-child(2n+1){clear:left}.rtm-tabs{width:40px}.rtm-tabs li{width:40px}.rtm-tabs a{height:18px}.rtm-tabs a:hover{width:140px}.rtm-tabs a:hover span{display:block}.rtm-tabs span{display:none;padding:0 0 0 28px;position:absolute}.rtm-support-form label{width:100%;margin-bottom:5px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{width:70%}.rtm-button-wrapper{padding-left:0}}@media screen and (max-width: 481px){.rtm-plugin-card.plugin-card .rtm-logo{display:inline-block;float:none}.rtm-theme-browser .rtm-themes .rtm-theme{margin:0 0 20px;width:100%}}@media screen and (max-width: 420px){.rtm-option-wrapper .form-table th{padding-bottom:15px;width:100%}#rtmedia-types .form-table th,#rtmedia-custom-css-settings .form-table th{width:100%}.rtm-pro-feature-list li{width:100%}.rtm-tip-top{right:-115px}}body.rtl .rtm-tabs a{padding:10px 32px 10px 4px}body.rtl .rtm-tabs .dashicons{right:10px}body.rtl .rtm-social-share .dashicons{left:10px;right:auto}body.rtl .rtm-option-wrapper .rtm-field-wrap{float:right}body.rtl .rtm-tip-top,body.rtl .rtm-tip{left:auto;right:24px}body.rtl .rtm-tip-top:after,body.rtl .rtm-tip-top:before,body.rtl .rtm-tip:after,body.rtl .rtm-tip:before{display:none}body.rtl .rtm-edit-td,body.rtl .rtm-delete-td{float:right;margin-left:0}body.rtl .rtm-edit-td{margin-right:-15px}body.rtl #rtmedia-membership span.float-right{float:left}body.rtl .theme-browser .theme{float:left;margin:0 4% 4% 0}.rtmedia-license .rtm-tabs span{padding:0}
app/assets/admin/css/sass/_components.scss CHANGED
@@ -1,29 +1,27 @@
1
// Social Links
2
.rtm-social-links {
3
-
4
a {
5
display: inline-block;
6
margin: 4px 0 4px 4px;
7
text-decoration: none;
8
}
9
-
10
}
11
12
// Go Pro button
13
.nav-tab.rtm-premium {
14
- background: #e74c3c;
15
- color: white;
16
- letter-spacing: 0.5px;
17
}
18
19
.rtm-setting-title {
20
border-bottom: 1px solid $light;
21
- font-size: 22px;
22
- font-weight: 400;
23
- line-height: 1;
24
- margin-bottom: 20px;
25
- margin-top: 0;
26
- padding-bottom: 14px;
27
display: none;
28
29
&.rtm-show {
@@ -146,12 +144,12 @@
146
147
.rtm-option-title {
148
border-bottom: 1px solid $light;
149
- font-size: 14px;
150
- letter-spacing: 0.02rem;
151
- margin-bottom: 12px;
152
- margin-top: 0;
153
- padding: 0 0 6px;
154
- text-transform: uppercase;
155
}
156
157
.rtm-sidebar {
@@ -164,7 +162,6 @@
164
}
165
166
.rtm-social-share {
167
-
168
.dashicons {
169
font-size: 18px;
170
position: absolute;
@@ -184,7 +181,6 @@
184
}
185
}
186
187
-
188
.wordpress {
189
.dashicons {
190
color: #21759b;
@@ -205,11 +201,11 @@
205
.rtm-notice {
206
background: rgba($light, 0.8);
207
color: #777;
208
- font-size: 12px;
209
- line-height: 1.6;
210
- margin-top: 10px;
211
overflow: hidden;
212
- padding: 0 10px;
213
214
p {
215
font-size: inherit;
@@ -220,9 +216,9 @@
220
221
.rtm-warning {
222
background-color: #fcf8e3;
223
- border-bottom: 1px solid #EEE;
224
- color: #c09853;
225
- padding: 10px 15px;
226
}
227
228
.rtmedia-theme-warning {
@@ -231,22 +227,22 @@
231
232
.rtm-success {
233
background-color: #dff0d8;
234
- border-bottom: 1px solid #e7e7e7;
235
- color: #468847;
236
- margin: 0;
237
- padding: 8px 35px 8px 14px;
238
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
239
}
240
241
.rtm-fly-warning {
242
border-bottom: 0;
243
- left: -10px;
244
- letter-spacing: 1px;
245
- line-height: 22px;
246
- margin-bottom: 0;
247
- padding: 14px 25px;
248
- position: absolute;
249
- top: -5px;
250
}
251
252
// Types table needs different styles
@@ -328,7 +324,6 @@
328
}
329
}
330
331
-
332
tr:last-child {
333
border-top: 1px solid $light;
334
@@ -352,4 +347,72 @@
352
font-size: 13px;
353
}
354
}
355
- }
1
// Social Links
2
.rtm-social-links {
3
a {
4
display: inline-block;
5
margin: 4px 0 4px 4px;
6
text-decoration: none;
7
}
8
}
9
10
// Go Pro button
11
.nav-tab.rtm-premium {
12
+ background: #e74c3c;
13
+ color: white;
14
+ letter-spacing: 0.5px;
15
}
16
17
.rtm-setting-title {
18
border-bottom: 1px solid $light;
19
+ font-size: 22px;
20
+ font-weight: 400;
21
+ line-height: 1;
22
+ margin-bottom: 20px;
23
+ margin-top: 0;
24
+ padding-bottom: 14px;
25
display: none;
26
27
&.rtm-show {
144
145
.rtm-option-title {
146
border-bottom: 1px solid $light;
147
+ font-size: 14px;
148
+ letter-spacing: 0.02rem;
149
+ margin-bottom: 12px;
150
+ margin-top: 0;
151
+ padding: 0 0 6px;
152
+ text-transform: uppercase;
153
}
154
155
.rtm-sidebar {
162
}
163
164
.rtm-social-share {
165
.dashicons {
166
font-size: 18px;
167
position: absolute;
181
}
182
}
183
184
.wordpress {
185
.dashicons {
186
color: #21759b;
201
.rtm-notice {
202
background: rgba($light, 0.8);
203
color: #777;
204
+ font-size: 12px;
205
+ line-height: 1.6;
206
+ margin-top: 10px;
207
overflow: hidden;
208
+ padding: 0 10px;
209
210
p {
211
font-size: inherit;
216
217
.rtm-warning {
218
background-color: #fcf8e3;
219
+ border-bottom: 1px solid #EEE;
220
+ color: #c09853;
221
+ padding: 10px 15px;
222
}
223
224
.rtmedia-theme-warning {
227
228
.rtm-success {
229
background-color: #dff0d8;
230
+ border-bottom: 1px solid #e7e7e7;
231
+ color: #468847;
232
+ margin: 0;
233
+ padding: 8px 35px 8px 14px;
234
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
235
}
236
237
.rtm-fly-warning {
238
border-bottom: 0;
239
+ left: -10px;
240
+ letter-spacing: 1px;
241
+ line-height: 22px;
242
+ margin-bottom: 0;
243
+ padding: 14px 25px;
244
+ position: absolute;
245
+ top: -5px;
246
}
247
248
// Types table needs different styles
324
}
325
}
326
327
tr:last-child {
328
border-top: 1px solid $light;
329
347
font-size: 13px;
348
}
349
}
350
+ }
351
+
352
+ .rtm-addon-license {
353
+ border: 1px solid #ddd;
354
+ margin: .5rem 0;
355
+ background-color: #fff;
356
+
357
+ .title {
358
+ background-color: #fafafa;
359
+ border-bottom: 1px solid #ddd;
360
+ margin: 0;
361
+ padding: 15px 10px;
362
+ }
363
+
364
+ .license-inner {
365
+ padding: 10px;
366
+ }
367
+ }
368
+
369
+ form.license-form {
370
+ padding: 0;
371
+ margin: 0;
372
+
373
+ input[type="text"] {
374
+ width: 100%;
375
+ max-width: 100%;
376
+ height: 35px;
377
+ line-height: 35px;
378
+ }
379
+
380
+ input[type="submit"] {
381
+ margin: 10px 0 0;
382
+ }
383
+ }
384
+
385
+ .license-message {
386
+ margin: 15px 0 0 0;
387
+ padding: 8px;
388
+
389
+ &.warning {
390
+ background: rgba(#ffb900, 0.1);
391
+ border: 1px solid #ffb900;
392
+ }
393
+
394
+ &.success {
395
+ background: rgba(#46b450, 0.1);
396
+ border: 1px solid #46b450;
397
+ }
398
+
399
+ &.info {
400
+ background: rgba(#00a0d2, 0.1);
401
+ border: 1px solid #00a0d2;
402
+ }
403
+
404
+ &.alert {
405
+ background: rgba(#dc3232, 0.1);
406
+ border: 1px solid #dc3232;
407
+ }
408
+ }
409
+
410
+ .rtml-submit-wrapper {
411
+ .submit {
412
+ margin-left: 8px;
413
+ margin-right: 8px;
414
+ margin-top: 0;
415
+ padding-top: 0;
416
+ padding-bottom: 10px;
417
+ }
418
+ }
app/assets/admin/css/sass/_layout.scss CHANGED
@@ -7,7 +7,7 @@ $container-min-height: 300px;
7
8
.rtm-admin-tab-container {
9
display: table;
10
- width: 100%;
11
12
.rtm-tabs-content {
13
background: $white;
@@ -22,12 +22,11 @@ $container-min-height: 300px;
22
.rtm-setting-container {
23
background-color: #f5f5f5;
24
border: 1px solid $border-dark;
25
- box-shadow: 0 1px 1px rgba( $black, 0.04 );
26
margin-top: 10px;
27
}
28
29
.rtm-sidebar {
30
-
31
.postbox {
32
//background: rgba($white, 0.8);
33
@@ -47,12 +46,12 @@ $container-min-height: 300px;
47
48
.rtm-button-container {
49
background: #f3f3f3;
50
- border-bottom: 1px solid $border-dark;
51
- box-shadow: 0 1px 0 #fcfcfc inset;
52
overflow: hidden;
53
- padding: 6px 10px 6px 6px;
54
position: relative;
55
- text-align: right;
56
57
&.bottom {
58
background: $light;
@@ -68,6 +67,41 @@ $container-min-height: 300px;
68
69
#mc-embedded-subscribe {
70
display: block;
71
- margin: 10px auto 0;
72
- width: 100%;
73
- }
7
8
.rtm-admin-tab-container {
9
display: table;
10
+ width: 100%;
11
12
.rtm-tabs-content {
13
background: $white;
22
.rtm-setting-container {
23
background-color: #f5f5f5;
24
border: 1px solid $border-dark;
25
+ box-shadow: 0 1px 1px rgba($black, 0.04);
26
margin-top: 10px;
27
}
28
29
.rtm-sidebar {
30
.postbox {
31
//background: rgba($white, 0.8);
32
46
47
.rtm-button-container {
48
background: #f3f3f3;
49
+ border-bottom: 1px solid $border-dark;
50
+ box-shadow: 0 1px 0 #fcfcfc inset;
51
overflow: hidden;
52
+ padding: 6px 10px 6px 6px;
53
position: relative;
54
+ text-align: right;
55
56
&.bottom {
57
background: $light;
67
68
#mc-embedded-subscribe {
69
display: block;
70
+ margin: 10px auto 0;
71
+ width: 100%;
72
+ }
73
+
74
+ .license-row {
75
+ box-sizing: border-box;
76
+ display: flex;
77
+ flex: 0 1 auto;
78
+ flex-direction: row;
79
+ flex-wrap: wrap;
80
+ }
81
+
82
+ .license-column, .license-column {
83
+ box-sizing: border-box;
84
+ flex: 0 0 auto;
85
+ padding-right: .5rem;
86
+ padding-left: .5rem;
87
+ }
88
+
89
+ .large-4 {
90
+ -ms-flex-preferred-size: 33.33333333%;
91
+ flex-basis: 33.33333333%;
92
+ max-width: 33.33333333%;
93
+ }
94
+
95
+ @media screen and (max-width: 768px) {
96
+ .medium-6 {
97
+ flex-basis: 50%;
98
+ max-width: 50%;
99
+ }
100
+ }
101
+
102
+ @media screen and (max-width: 667px) {
103
+ .small-12 {
104
+ flex-basis: 100%;
105
+ max-width: 100%;
106
+ }
107
+ }
app/assets/admin/css/sass/_tabs.scss CHANGED
@@ -2,6 +2,10 @@
2
3
li {
4
margin: 0;
5
}
6
7
a {
2
3
li {
4
margin: 0;
5
+
6
+ &.error {
7
+ border-left: 4px solid #dc3232;
8
+ }
9
}
10
11
a {
app/assets/css/rtmedia.css CHANGED
@@ -1018,9 +1018,9 @@ img.mfp-img {
1018
position: relative;
1019
}
1020
.mfp-content .rtm-lightbox-container .rtmedia-media-description .allcontent {
1021
- max-height: 200px;
1022
overflow-y: auto;
1023
- margin: 5px 0;
1024
}
1025
.mfp-content .rtm-single-meta {
1026
background: #FFFFFF;
@@ -1368,9 +1368,7 @@ img.mfp-img {
1368
background-color: #edeff4;
1369
bottom: 20px;
1370
padding: 10px;
1371
- position: absolute;
1372
- width: -webkit-calc(100% - 40px);
1373
- width: calc(100% - 40px);
1374
}
1375
.rtm-media-single-comments textarea {
1376
font-size: 12px;
@@ -2470,6 +2468,9 @@ a.rtmedia-upload-media-link {
2470
table-layout: fixed;
2471
width: 100%;
2472
}
2473
.mfp-content .rtm-single-media {
2474
display: table-cell;
2475
width: 66.6667%;
@@ -2477,11 +2478,17 @@ a.rtmedia-upload-media-link {
2477
.mfp-content .rtm-single-meta {
2478
display: table-cell;
2479
width: 33.3333%;
2480
}
2481
.mfp-content .rtmedia-item-comments {
2482
- max-height: 330px;
2483
overflow-x: hidden;
2484
- overflow-y: auto;
2485
}
2486
}
2487
.rtl #rtSelectPrivacy {
1018
position: relative;
1019
}
1020
.mfp-content .rtm-lightbox-container .rtmedia-media-description .allcontent {
1021
+ /* max-height: 200px;
1022
overflow-y: auto;
1023
+ margin: 5px 0; */
1024
}
1025
.mfp-content .rtm-single-meta {
1026
background: #FFFFFF;
1368
background-color: #edeff4;
1369
bottom: 20px;
1370
padding: 10px;
1371
+ width: 100%;
1372
}
1373
.rtm-media-single-comments textarea {
1374
font-size: 12px;
2468
table-layout: fixed;
2469
width: 100%;
2470
}
2471
+ .mfp-content .rtm-mfp-close {
2472
+ background: transparent;
2473
+ }
2474
.mfp-content .rtm-single-media {
2475
display: table-cell;
2476
width: 66.6667%;
2478
.mfp-content .rtm-single-meta {
2479
display: table-cell;
2480
width: 33.3333%;
2481
+ padding: 20px;
2482
+ height: 473px;
2483
+ }
2484
+ .mfp-content .rtm-single-meta .rtmedia-scroll {
2485
+ height: 100%;
2486
+ overflow-X: hidden;
2487
}
2488
.mfp-content .rtmedia-item-comments {
2489
+ /* max-height: 330px;
2490
overflow-x: hidden;
2491
+ overflow-y: auto; */
2492
}
2493
}
2494
.rtl #rtSelectPrivacy {
app/assets/css/rtmedia.min.css CHANGED
@@ -1 +1 @@
1
- .alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.rtmedia-success,.rtmedia-warning{margin:10px 0;padding:8px 14px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5);border-bottom:1px solid #e7e7e7;cursor:pointer}.rtmedia-success{background-color:#dff0d8;color:#468847}.rtmedia-warning{background-color:#F0D8DD;color:#884646}.clearfix:after{content:"";display:table;clear:both}#buddypress form#whats-new-form textarea{box-sizing:border-box;min-height:70px;width:100%}#buddypress #whats-new-options{height:auto !important;overflow:hidden}#buddypress form#whats-new-form p.activity-greeting{line-height:1}#buddypress form#whats-new-form #whats-new-options select{border:1px solid #ccc;font-size:13px;margin-top:0;padding:3px 2px}#whats-new-submit #aw-whats-new-submit{font-size:12px;line-height:18px;padding:4px 6px}#whats-new-post-in-box{float:left;font-size:13px}#buddypress form#whats-new-form #whats-new-submit{margin-top:0}#whats-new-textarea{margin-bottom:10px}body.media.buddypress{overflow-y:auto}.rtmedia-container{box-sizing:border-box}.rtmedia-container *,.rtmedia-container *:before,.rtmedia-container *:after{box-sizing:inherit}.rtmedia-list.rtmedia-list{list-style:none;margin:0;padding:0}.rtmedia-list-item>a{border:0;display:inline-block;text-decoration:none}.rtmedia-list-item>a:focus{outline:0}.rtmedia-list-item>a+p{display:none}.rtmedia-list-item>a .rtmedia-item-thumbnail img{display:inline-block}#rtmedia-uploader-form .rtm-plupload-list,#rtmedia_uploader_filelist{list-style:none;margin-left:-4px;margin-right:-4px;padding-left:0;padding-top:10px}#rtmedia-uploader-form .rtm-plupload-list li,#rtmedia_uploader_filelist li{background:#eee;float:left;margin:4px;max-width:110px;padding:5px;position:relative}#rtmedia-uploader-form .rtm-plupload-list li.upload-error,#rtmedia_uploader_filelist li.upload-error{border:1px solid red}#rtmedia-uploader-form .rtm-plupload-list img,#rtmedia_uploader_filelist img{max-width:100%}#rtmedia-uploader-form .rtm-plupload-list canvas,#rtmedia_uploader_filelist canvas{display:block;max-width:100%}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title{font-size:12px}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc,#rtmedia_uploader_filelist .rtm-upload-edit-desc{font-size:12px;display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper label,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper label{display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title{min-width:100%;margin-top:1px}.rtm-plupload-list:empty{display:none}.rtmedia-uploader-div,.rtmedia-uploader{clear:both}button#rtmedia-add-media-button-post-update{padding:3px 6px}button#rtmedia-add-media-button-post-update .dashicons{font-size:18px;line-height:20px}.plupload_file_name{font-size:11px;font-weight:bold;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plupload_file_size{color:#666;font-size:10px}.plupload_file_action{background:#eee;position:absolute;height:18px;right:4px;top:0;width:18px;z-index:10}.plupload_file_action .dashicons{color:#DD3D36;cursor:pointer;font-size:16px;height:18px;padding:2px 1px;width:18px}.plupload_file_status{height:18px;overflow:hidden;position:relative}.plupload_file_progress{background:#7AD03A;height:4px;position:absolute;top:0}.rtm-form .rtm-field-wrap{margin-bottom:20px}.rtmedia_next_prev{padding:0 10px}.rtm-page-number{float:left}.rtm-page-number .rtm-label{line-height:30px}.rtm-page-number .rtm-label,.rtm-page-number .rtm-go-to-num,.rtm-page-number .rtmedia-page-link{float:left}.rtm-pagination{background:transparent;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}.rtm-pagination .rtm-paginate{float:right;font-size:15px}.rtm-pagination .rtm-paginate a,.rtm-pagination .rtm-paginate span{display:inline-block;line-height:1;margin:0 2px;padding:8px;text-decoration:none}.rtm-pagination .rtm-paginate a.rtmedia-page-link{padding:8px}.rtm-pagination .dashicons{font-size:14px;height:auto;line-height:1.2;margin:0;padding:0;width:auto}#rtmedia_go_to_num{font-size:16px;margin:0 5px;padding:4px 5px;width:80px}.rtmedia-upload-not-allowed{background-color:#fcf8e3;border-bottom:1px solid #EEE;color:#c09853;margin-bottom:20px;padding:10px 15px}.plupload_file_name{position:relative}.plupload_file_name .dashicons{background:#eee;color:#DD3D36;cursor:pointer;font-size:14px;height:auto;padding:0 2px 0 5px;position:absolute;right:0;top:0;width:auto}.plupload_file_name .dashicons-yes{color:#7AD03A}.rtmedia-gallery-item-actions{background-color:rgba(0,0,0,0.6);opacity:0;position:absolute;text-align:center;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s;width:100%;z-index:9}.rtmedia-gallery-item-actions a{border:0;box-shadow:0 0 0;color:#fff;display:inline-block;font-size:12px;outline:none;padding:4px;text-align:left;text-decoration:none;text-transform:uppercase}.rtmedia-gallery-item-actions .dashicons{font-size:17px;margin-right:2px;position:relative;top:1px}.rtmedia-gallery-item-actions .dashicons-trash{font-size:15px}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-gallery-item-actions{opacity:1}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-bulk-edit-item-wrap+.rtmedia-gallery-item-actions{opacity:0}.rtmedia-footer-link{clear:both;overflow:hidden;padding:16px 0;position:relative;text-align:center}.rtmedia-text-link-decoration,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span{text-decoration:none}.rtmedia-text-link-decoration:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span:hover{text-decoration:underline}.rtmedia-container .rtmedia-edit-list-media-table{max-height:300px;overflow-y:auto}.rtmedia-container .rtmedia-edit-list-media-table thead tr{background-color:#50A1D7}.rtmedia-container .rtmedia-edit-list-media-table thead th{text-align:center;color:#FFF}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(odd){background:#FFF}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(even){background:#DCDCDC}table.rtmedia-edit-media-list tr{line-height:30px}table.rtmedia-edit-media-list tr th{color:#333;padding:4px 10px;line-height:20px}table.rtmedia-edit-media-list tr .rtm-edit-media-list-heading{width:44%}table.rtmedia-edit-media-list tr .rtm-edit-media-list-title-heading{width:56%}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title{padding:4px;font-size:14px;line-height:24px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a{text-decoration:none;color:#333}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a{color:#333;font-size:13px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span{color:#FF0000;cursor:pointer;font-size:13px}.rtm-hide{display:none}.rtm-tabs.rtm-tabs{border-bottom:1px solid #eee;list-style:none;margin:0 0 20px;padding:0}.rtm-tabs li{border:1px solid #eee;border-bottom:0;float:left;margin:0 5px;padding:0}.rtm-tabs a{border:0;display:block;padding:5px 15px;text-decoration:none}.rtm-tabs a:focus{background:transparent;box-shadow:0 0 0}.rtm-tabs .active{position:relative}.rtm-tabs .active:after{background:#fff;bottom:-1px;content:' ';height:1px;left:0;position:absolute;width:100%}.rtm-tabs .dashicons{font-size:16px;height:auto;line-height:20px;margin-right:8px;width:auto}.rtmedia-edit-media-tabs .rtm-tabs a{border-bottom:0 none}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:104211;overflow:hidden;position:fixed;background:rgba(0,0,0,0.9)}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:104311;position:fixed;outline:none !important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;max-width:84%;margin:0 auto;right:0;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:' ';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none !important}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{background:#fff;color:#999;cursor:pointer;font-size:24px;font-style:normal;height:30px;line-height:30px;padding:0;position:absolute;right:1px;text-align:center;text-decoration:none;text-indent:2px;top:0;width:32px;z-index:12}.mfp-close:hover,.mfp-close:focus{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{cursor:pointer;position:absolute;opacity:0.65;filter:alpha(opacity=65);margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent;opacity:0;z-index:10;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .mfp-arrow{opacity:1}@media (max-device-width: 640px){.mfp-arrow{display:none}.rtm-single-media:hover .mfp-arrow{display:none}}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1;filter:alpha(opacity=100)}.mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after,.mfp-arrow .mfp-a{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before,.mfp-arrow .mfp-b{border-top-width:21px;border-bottom-width:21px;opacity:0.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after,.mfp-arrow-left .mfp-a{border-right:17px solid #FFF;margin-left:31px}.mfp-arrow-left:before,.mfp-arrow-left .mfp-b{margin-left:25px;border-right:27px solid #3F3F3F}.mfp-arrow-right{right:0}.mfp-arrow-right:after,.mfp-arrow-right .mfp-a{border-left:17px solid #FFF;margin-left:39px}.mfp-arrow-right:before,.mfp-arrow-right .mfp-b{border-left:27px solid #3F3F3F}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#BDBDBD;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#F3F3F3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}.mfp-preloader{position:absolute;top:50%;left:0;right:0;margin-top:-36px;z-index:1044;font-size:0;width:36px;height:36px;margin-left:auto;margin-right:auto}.mfp-preloader:before{content:'Loading…';position:absolute;width:30px;height:30px}.mfp-preloader:not(:required):before{content:'';border-radius:50%;border:3px solid rgba(255,255,255,0.27);border-top-color:rgba(255,255,255,0.9);animation:spinner .6s linear infinite;-webkit-animation:spinner .6s linear infinite}@keyframes spinner{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(360deg)}}@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width: 900px){.mfp-arrow{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-content .rtm-lightbox-container{background:#000;margin:0 auto;position:relative}.mfp-content .rtm-lightbox-container .rtmedia-media-description .allcontent{max-height:200px;overflow-y:auto;margin:5px 0}.mfp-content .rtm-single-meta{background:#fff;overflow:hidden;padding:20px 20px 110px;position:relative;vertical-align:top}.rtm-single-media{overflow:hidden;position:relative;text-align:center;vertical-align:middle}.rtm-single-media .mejs-container{margin:0 auto;max-width:inherit}.rtm-single-media .rtmedia-message-container{position:absolute;top:45%;left:0;right:0;margin-left:auto;margin-right:auto}@media (max-device-width: 640px){.rtm-single-media .rtmedia-message-container{top:25%}}.rtm-ltb-action-container{background-color:rgba(0,0,0,0.6);bottom:0;color:#fff;line-height:38px;opacity:0;padding:0 10px;position:absolute;width:100%;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}@media (max-device-width: 640px){.rtm-ltb-action-container{clear:both;position:relative;opacity:1}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);display:block;font-family:inherit;font-weight:normal;line-height:24px;margin:0;padding:0 6px;text-shadow:0 0 0;text-transform:none}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button:hover{background:rgba(255,255,255,0.2);color:rgba(255,255,255,0.8)}#buddypress #rtmedia-single-media-container.rtmedia-single-media .rtm-options .button{color:#333;margin:0 auto;padding:0 4px 0 0}#buddypress #rtm-media-options-list .rtm-options .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);float:left;font-family:inherit;font-weight:normal;line-height:24px;padding:0 6px;text-shadow:0 0 0;text-transform:none}#buddypress #rtm-media-options-list .rtm-options .rtmedia-delete-favlist{color:#fff;padding:0}.rtm-options.rtm-options{background:#666;color:#fff;display:none;font-size:14px;list-style:none;margin:0;padding:8px 10px;position:absolute;left:0;top:38px;width:190px;z-index:10}.rtm-options li{margin:0;overflow:hidden;padding:2px 0}.rtm-media-options .rtm-options:after{bottom:100%;left:20px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-bottom-color:#666;border-width:6px;margin-left:-6px}.mfp-content .rtm-options{background:#fff;color:#333;bottom:38px;right:0;left:auto;top:auto}.mfp-content .rtm-options:after{top:100%;right:22px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:6px;margin-left:-6px}.rtm-options .dashicons{font-size:14px;line-height:24px;margin-right:2px}.rtm-media-options .rtm-options a{border:0;color:#fff;display:block;text-decoration:none}.rtm-ltb-title{color:rgba(255,255,255,0.7);float:left;font-size:13px}.rtm-ltb-title a{color:inherit}.rtm-ltb-title a:hover{border-bottom:1px dotted;color:#fff}.rtm-item-actions{float:right}.rtm-item-actions>div,.rtm-item-actions>form{float:left;margin:0 2px;padding:7px 0;position:relative}.rtmedia-media img{display:inline-block;max-height:inherit;height:auto;max-width:100%;width:auto}@media only screen and (max-device-width: 1024px){.rtmedia-media{margin:40px 0}}.rtm-user-meta-details .username{font-size:16px;line-height:1;margin-bottom:6px}.userprofile{float:left;margin:0 16px 16px 0;max-width:54px}.userprofile a{display:block}.userprofile img{height:auto;max-width:100%}.rtm-time-privacy{color:#999;font-size:12px}.rtm-time-privacy .dashicons{font-size:14px;line-height:1.5}.rtmedia-actions-before-comments>span{float:left;margin-right:10px}.rtmedia-actions-before-comments .rtmedia-comment-link,#buddypress .rtmedia-actions-before-comments .rtmedia-like{border:0;font-size:13px;font-weight:normal;line-height:2;padding:0;text-transform:none}.rtmedia-actions-before-comments .rtmedia-comment-link:hover,#buddypress .rtmedia-actions-before-comments .rtmedia-like:hover{background:transparent}.rtmedia-comment-user-pic{float:left;margin-right:10px;max-width:36px}.rtmedia-comment-user-pic img{height:auto;max-width:100%}.rtm-like-comments-info{position:relative}.rtm-like-comments-info:after{bottom:100%;left:15px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(237,239,244,0);border-bottom-color:#edeff4;border-width:4px;margin-left:-4px}.rtm-comment-list.rtm-comment-list{list-style:none;margin:0;padding:0}.rtm-comment-list li{background:#edeff4;font-size:12px;margin-bottom:1px;padding:10px;position:relative}.rtm-comment-list li:hover .rtmedia-delete-comment{opacity:1}.rtm-comment-list .rtmedia-no-comments{margin:0;padding:5px 10px}.rtmedia-like-info{background:#edeff4;font-size:12px;margin-bottom:1px;padding:5px 10px;position:relative}.rtm-comment-wrap{overflow:hidden}.rtm-comment-wrap .rtmedia-comment-author{font-weight:700}.rtm-comment-wrap .rtmedia-comment-date{color:#999;font-size:11px}.rtmedia-comment-content{margin-top:2px}.rtmedia-delete-comment{color:#999;cursor:pointer;font-size:16px;opacity:0;position:absolute;right:5px;top:5px}.rtmedia-comment-content p{margin:0}.rtmedia-comment-details{line-height:1.5;margin-top:-3px}.rtmedia-item-comments textarea{font-size:14px;padding:4px}.rtm-media-single-comments{background-color:#edeff4;bottom:20px;padding:10px;position:absolute;width:-webkit-calc(100% - 40px);width:calc(100% - 40px)}.rtm-media-single-comments textarea{font-size:12px;line-height:14px;max-height:40px;min-height:30px;padding:4px}.rtmedia-popup{background:#fff;margin:20px auto;max-width:600px;padding:20px;position:relative;width:auto}.rtmedia-popup .rtm-modal-title{font-size:24px;margin-bottom:20px;margin-top:0}.rtmedia-popup label{display:block;margin-bottom:5px}#rtm-modal-container p{margin-bottom:10px}#rtm-mejs-video-container{margin:0 auto}.rtmedia-media-name{float:left;max-width:140px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.rtm-single-media.rtm-media-type-video{padding-bottom:40px;padding-top:40px}.rtmedia-gallery-alert-container{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(0,0,0,0.6);z-index:999997}.rtmedia-gallery-message-box{position:fixed;top:40%;left:50%;margin-left:auto;margin-right:auto;z-index:999999}.rtmedia-gallery-message-box span{position:relative;left:-50%}.rtmedia-activity-container{box-sizing:border-box}.rtmedia-activity-container *,.rtmedia-activity-container *:before,.rtmedia-activity-container *:after{box-sizing:inherit}#buddypress ul.rtmedia-list li{border-bottom:0;padding-bottom:0}.rtmedia-activity-container .rtmedia-item-actions{display:none}.rtmedia-activity-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title a{border:0;color:#666;font-size:13px;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}#rtmedia-whts-new-upload-container div{left:0 !important;position:absolute;top:0 !important}#aw-whats-new-submit,.rtmedia-add-media-button{display:block}.rtm-drag-drop-active{border:4px dashed green !important;display:block;height:100%;opacity:0.5;z-index:9999}#rtm-drop-files-title{background:rgba(0,0,0,0.2);display:none;font-size:14px;height:100%;padding:20px;position:absolute;top:0;width:100%}#rtSelectPrivacy{float:right}.rtmedia-plupload-container{position:relative;float:left}.rtm-upload-button-wrapper{float:left;margin-right:5px}#rtmedia-action-update{margin-right:10px}.rtmedia-list-item.media-type-document,.rtmedia-list-item.media-type-music,.rtmedia-list-item.media-type-video{display:inline-block}.media-type-music .mejs-container{margin-bottom:10px}.rtmedia-album-edit .rtm-checkbox-wrap{background:rgba(255,255,255,0.9);height:30px;line-height:1;padding:10px;position:absolute;z-index:10}.rtmedia-album-edit .rtmedia-item-selector{position:relative;top:-7px}.rtmedia-album-edit .rtmedia-move-container{display:none}.rtm-single-actions.rtm-item-actions{float:none}.media-item .describe{border-collapse:collapse;width:100%;border-top-style:solid;border-top-width:1px;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:bold}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:bold}.media-upload-form th.label label{font-weight:bold;margin:0.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}abbr.required{border:medium none;text-decoration:none}.media-item .describe input[type="text"],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.media-item .edit-attachment,.describe-toggle-on,.describe-toggle-off{display:block;line-height:36px;float:right;margin-right:15px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}#media-items .media-item{border-style:solid;border-width:1px;min-height:36px;position:relative;margin-top:-1px;width:100%}#media-items{width:623px}.media-new-php #media-items{margin:1em 0}#media-items:empty{border:0 none}.media-item .filename{line-height:36px;overflow:hidden;padding:0 10px}.media-item .error-div{padding-left:10px}.media-item .pinkynail{float:left;margin:2px 2px 0;max-width:40px;max-height:32px}.media-item .startopen,.media-item .startclosed{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:6px 10px 0 0;width:200px;line-height:2em;padding:0;overflow:hidden;margin-bottom:2px;border:1px solid #d1d1d1;background:#f7f7f7;background-image:-webkit-gradient(linear, left bottom, left top, from(#fff), to(#f7f7f7));background-image:-webkit-linear-gradient(bottom, #fff, #f7f7f7);background-image:linear-gradient(to top, #fff, #f7f7f7);border-radius:3px;box-shadow:inset 0 0 3px rgba(0,0,0,0.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-24px;background-color:#8cc1e9;background-image:-webkit-gradient(linear, left bottom, left top, from(#72a7cf), to(#8cc1e9));background-image:-webkit-linear-gradient(bottom, #72a7cf, #8cc1e9);background-image:linear-gradient(to top, #72a7cf, #8cc1e9);border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,0.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0 8px;text-shadow:0 1px 0 rgba(255,255,255,0.4);color:rgba(0,0,0,0.6)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item.error{margin:0;padding:0}.media-upload-form .media-item.error p,.media-item .error-div{line-height:16px;margin:5px 10px;padding:0}.media-item .error-div a.dismiss{display:block;float:right;margin:5px 4px 0 15px}.find-box{width:600px;height:300px;overflow:hidden;padding:33px 0 51px;position:absolute;z-index:1000}.find-box-head{cursor:move;font-weight:bold;height:2em;line-height:2em;padding:1px 12px;position:absolute;top:5px;width:100%}.find-box-inside{overflow:auto;padding:6px;height:100%}.find-box-search{overflow:hidden;padding:9px;position:relative}.find-box-search .spinner{float:none;left:125px;position:absolute;top:9px}#find-posts-input{float:left;width:140px;height:24px}#find-posts-search{float:left;margin:1px 4px 0 3px}#find-posts-response{margin:8px 0;padding:0 1px 6px}#find-posts-response table{width:100%}#find-posts-response .found-radio{padding:3px 0 0 8px;width:15px}.find-box-buttons{padding:8px;overflow:hidden}.find-box #resize-se{position:absolute;right:1px;bottom:1px}.ui-find-overlay{position:absolute;top:0;left:0;background-color:#000;opacity:0.6;filter:alpha(opacity=60)}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #DDDDDD;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#aaa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0}.post-php .imgedit-wrap table{width:100%}.describe .imgedit-wrap table td,.wp_attachment_holder .imgedit-wrap table td{vertical-align:top;padding-top:0}.describe .imgedit-wrap table td.imgedit-settings{padding:0 5px}.wp_attachment_holder .imgedit-wrap table td.imgedit-settings{width:250px}td.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:#fff url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat scroll 22px 10px;background-size:16px 16px;opacity:0.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.spinner{background:url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat;background-size:16px 16px;display:none;float:right;opacity:0.7;filter:alpha(opacity=70);width:16px;height:16px;margin:5px 5px 0}.no-float{float:none}.media-disabled,.imgedit-settings .disabled{color:grey}.wp_attachment_image,.A1B1{overflow:hidden}.wp_attachment_image .button,.A1B1 .button{float:left}.no-js .wp_attachment_image .button{display:none}.wp_attachment_image .spinner,.A1B1 .spinner{float:left;padding:0 4px 4px;vertical-align:bottom}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;height:32px}.imgedit-crop-wrap{position:relative}.imgedit-crop{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -9px -31px;margin:0 8px 0 0}.imgedit-crop.disabled:hover{background-position:-9px -31px}.imgedit-crop:hover{background-position:-9px -1px}.imgedit-rleft{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -46px -31px;margin:0 3px}.imgedit-rleft.disabled:hover{background-position:-46px -31px}.imgedit-rleft:hover{background-position:-46px -1px}.imgedit-rright{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -77px -31px;margin:0 8px 0 3px}.imgedit-rright.disabled:hover{background-position:-77px -31px}.imgedit-rright:hover{background-position:-77px -1px}.imgedit-flipv{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -115px -31px;margin:0 3px}.imgedit-flipv.disabled:hover{background-position:-115px -31px}.imgedit-flipv:hover{background-position:-115px -1px}.imgedit-fliph{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -147px -31px;margin:0 8px 0 3px}.imgedit-fliph.disabled:hover{background-position:-147px -31px}.imgedit-fliph:hover{background-position:-147px -1px}.imgedit-undo{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -184px -31px;margin:0 3px}.imgedit-undo.disabled:hover{background-position:-184px -31px}.imgedit-undo:hover{background-position:-184px -1px}.imgedit-redo{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -215px -31px;margin:0 8px 0 3px}.imgedit-redo.disabled:hover{background-position:-215px -31px}.imgedit-redo:hover{background-position:-215px -1px}.imgedit-applyto img{margin:0 8px 0 0}.imgedit-group h3{font-size:18px}.imgedit-group .dashicons{border:0;line-height:1.2}.imgedit-group-top{margin:5px 0}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic;margin-bottom:8px}a.imgedit-help-toggle{text-decoration:none}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.wp_attachment_details{margin-bottom:20px}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:0.5}.bp-media-image-editor-cotnainer{margin-top:35px}.wp_attachment_image .bp-media-image-edit{float:left}.wp_attachment_image .spinner{display:none}.bp-media-image-editor-cotnainer .hidden{display:none}.bp-media-image-editor-cotnainer div.updated{margin:5px 0 15px;background-color:#ffffe0;border-color:#e6db55;padding:0 .6em;border-radius:3px;border-width:1px;border-style:solid}.bp-media-image-editor-cotnainer div.updated p{margin:.5em 0;padding:2px}body article.bp_members.bp_member .entry-content,body div.bp_members.bp_member .entry-content{width:100%}.rtm-media-gallery-uploader{display:none}.rtmedia-uploader .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;color:#AAAAAA;margin-top:20px;padding:25px 0}.rtmedia-uploader .drag-drop.dragover{border-color:#83b4d8}.rtmedia-uploader .drag-drop .drag-drop-info{font-size:20px;line-height:24px}.rtmedia-uploader .drag-drop .rtm-select-files span{vertical-align:middle}.rtmedia-uploader .drag-drop .rtm-seperator{margin:0px 20px}.rtmedia-uploader .drag-drop .start-media-upload{display:none;margin-top:20px}.rtmedia-uploader .drag-drop .rtm-file-size-limit{vertical-align:middle;font-size:16px;line-height:24px}.rtm-uploader-main-wrapper .rtm-uploader-tabs{margin-bottom:10px;text-align:left}.rtm-uploader-main-wrapper ul{border-bottom:1px solid #CCC}.rtm-uploader-main-wrapper li{margin:0 0 -1px 10px;display:inline-block;padding:5px 10px;line-height:25px;background-color:#e4e4e4;border:1px solid #CCC}.rtm-uploader-main-wrapper li.active{background:transparent;border-left:1px solid #CCC;border-top:1px solid #CCC;border-right:1px solid #CCC;border-bottom:1px solid #fafafa}.rtm-uploader-main-wrapper li:hover{cursor:pointer}.rtmedia-container .rtmedia-list{margin:10px -5px}.rtmedia-container .rtmedia-list .rtmedia-list-item{float:left;margin:5px;position:relative}.rtmedia-container .rtmedia-list .rtmedia-list-item>a{display:block}.rtmedia-container .rtmedia-list .rtmedia_time{background-color:#000;color:#fff;display:inline-block;font-size:11px;font-weight:bold;line-height:14px;opacity:0.75;padding:0 4px;position:absolute;right:2px;top:2px}.rtmedia-container .rtmedia-list img{vertical-align:top}.rtmedia-container .rtmedia-list .rtmedia-item-title h4{color:#666;font-size:12px;font-weight:normal;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.rtm-load-more{background:#eee;text-align:center}.rtmedia-container .rtm-load-more a{border:0;padding:10px 0}.rtm-load-more .rtm-media-loading{padding:10px 0}.rtm-media-options{line-height:1.4;margin-bottom:10px}.rtm-media-options>div{display:inline-block;cursor:pointer}.rtm-media-options .rtm-media-options-list{margin-right:5px;padding-right:10px;position:relative}.rtm-media-options>*{border-right:1px solid #999}.rtm-media-options>*:last-child{border-right:none}.rtm-media-options .dashicons{font-size:inherit;line-height:1.4}.rtmedia-upload-media-link{cursor:pointer}a.rtmedia-upload-media-link{border:none}.rtm-album-privacy span{font-size:16px;display:inline-block;margin:0 20px 20px 20px;vertical-align:top}.rtm-album-privacy label{margin-right:8px}.rtm-album-privacy .dashicons{font-size:16px;line-height:1.6;margin-right:5px}#rtm-media-options-list .rtmedia-delete-album{background:transparent;border:0;color:#fff;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-transform:inherit}#rtm-media-options-list .rtmedia-delete-album:hover{background:transparent;border:0;color:#fff}.rtmedia-single-container button.rtmedia-like{background-color:transparent;color:inherit}#buddypress .mejs-controls button{padding:4px 8px;border:none;background:transparent url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mejs-container .mejs-controls .mejs-time{padding:10px 3px 0;content:''}.rtmedia-activity-container .mejs-playpause-button.mejs-play button:before,.rtmedia-activity-container .mejs-playpause-button.mejs-pause button:before,.rtmedia-activity-container .mejs-volume-button.mejs-mute button:before,.rtmedia-activity-container .mejs-fullscreen-button button:before,.rtmedia-media .mejs-playpause-button.mejs-play button:before,.rtmedia-media .mejs-playpause-button.mejs-pause button:before,.rtmedia-media .mejs-volume-button.mejs-mute button:before,.rtmedia-media .mejs-fullscreen-button button:before{content:''}@media only screen and (min-width: 1025px){.mfp-content .rtm-lightbox-container{display:table;table-layout:fixed;width:100%}.mfp-content .rtm-single-media{display:table-cell;width:66.6667%}.mfp-content .rtm-single-meta{display:table-cell;width:33.3333%}.mfp-content .rtmedia-item-comments{max-height:330px;overflow-x:hidden;overflow-y:auto}}.rtl #rtSelectPrivacy{float:left}.rtl .rtmedia-plupload-container{float:right}.rtl .rtm-upload-button-wrapper{float:right}.rtl #whats-new-post-in-box{float:right}.rtl .describe-toggle-off{float:left}.rtl .media-item .pinkynail{float:right}.rtl .media-item .progress{float:left}.rtl .media-item .error-div a.dismiss{float:left}.rtl #find-posts-input{float:right}.rtl #find-posts-search{float:right}.rtl .spinner{float:left}.rtl .wp_attachment_image .button,.rtl .A1B1 .button{float:right}.rtl .wp_attachment_image .spinner,.rtl .A1B1 .spinner{float:right}.rtl .imgedit-menu div{float:right}.rtl .wp_attachment_image .bp-media-image-edit{float:right}.rtl .rtmedia-container .rtmedia-list .rtmedia-list-item{float:right}.rtl #buddypress #rtm-media-options-list .rtm-options .button{float:right}.rtl .rtm-ltb-title{float:right}.rtl .rtm-item-actions{float:left}.rtl .rtm-item-actions>div,.rtl .rtm-item-actions>form{float:right}.rtl .userprofile{float:right}.rtl .rtmedia-actions-before-comments>span{float:right}.rtl .rtmedia-comment-user-pic{float:right}.rtl .rtmedia-media-name{float:right}.rtl #rtmedia-uploader-form .rtm-plupload-list li,.rtl #rtmedia_uploader_filelist li{float:right}.rtl .rtm-page-number{float:right}.rtl .rtm-page-number .rtmedia-page-link{float:right}.rtl .rtm-pagination{float:right}.rtl .rtm-pagination .rtm-paginate{float:left}.rtl .rtm-tabs li{float:right}.rtl .alignleft{float:right}.rtl .alignright{float:left}
1
+ .alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.rtmedia-success,.rtmedia-warning{margin:10px 0;padding:8px 14px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5);border-bottom:1px solid #e7e7e7;cursor:pointer}.rtmedia-success{background-color:#dff0d8;color:#468847}.rtmedia-warning{background-color:#F0D8DD;color:#884646}.clearfix:after{content:"";display:table;clear:both}#buddypress form#whats-new-form textarea{box-sizing:border-box;min-height:70px;width:100%}#buddypress #whats-new-options{height:auto !important;overflow:hidden}#buddypress form#whats-new-form p.activity-greeting{line-height:1}#buddypress form#whats-new-form #whats-new-options select{border:1px solid #ccc;font-size:13px;margin-top:0;padding:3px 2px}#whats-new-submit #aw-whats-new-submit{font-size:12px;line-height:18px;padding:4px 6px}#whats-new-post-in-box{float:left;font-size:13px}#buddypress form#whats-new-form #whats-new-submit{margin-top:0}#whats-new-textarea{margin-bottom:10px}body.media.buddypress{overflow-y:auto}.rtmedia-container{box-sizing:border-box}.rtmedia-container *,.rtmedia-container *:before,.rtmedia-container *:after{box-sizing:inherit}.rtmedia-list.rtmedia-list{list-style:none;margin:0;padding:0}.rtmedia-list-item>a{border:0;display:inline-block;text-decoration:none}.rtmedia-list-item>a:focus{outline:0}.rtmedia-list-item>a+p{display:none}.rtmedia-list-item>a .rtmedia-item-thumbnail img{display:inline-block}#rtmedia-uploader-form .rtm-plupload-list,#rtmedia_uploader_filelist{list-style:none;margin-left:-4px;margin-right:-4px;padding-left:0;padding-top:10px}#rtmedia-uploader-form .rtm-plupload-list li,#rtmedia_uploader_filelist li{background:#eee;float:left;margin:4px;max-width:110px;padding:5px;position:relative}#rtmedia-uploader-form .rtm-plupload-list li.upload-error,#rtmedia_uploader_filelist li.upload-error{border:1px solid red}#rtmedia-uploader-form .rtm-plupload-list img,#rtmedia_uploader_filelist img{max-width:100%}#rtmedia-uploader-form .rtm-plupload-list canvas,#rtmedia_uploader_filelist canvas{display:block;max-width:100%}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title{font-size:12px}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc,#rtmedia_uploader_filelist .rtm-upload-edit-desc{font-size:12px;display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper label,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper label{display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title{min-width:100%;margin-top:1px}.rtm-plupload-list:empty{display:none}.rtmedia-uploader-div,.rtmedia-uploader{clear:both}button#rtmedia-add-media-button-post-update{padding:3px 6px}button#rtmedia-add-media-button-post-update .dashicons{font-size:18px;line-height:20px}.plupload_file_name{font-size:11px;font-weight:bold;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plupload_file_size{color:#666;font-size:10px}.plupload_file_action{background:#eee;position:absolute;height:18px;right:4px;top:0;width:18px;z-index:10}.plupload_file_action .dashicons{color:#DD3D36;cursor:pointer;font-size:16px;height:18px;padding:2px 1px;width:18px}.plupload_file_status{height:18px;overflow:hidden;position:relative}.plupload_file_progress{background:#7AD03A;height:4px;position:absolute;top:0}.rtm-form .rtm-field-wrap{margin-bottom:20px}.rtmedia_next_prev{padding:0 10px}.rtm-page-number{float:left}.rtm-page-number .rtm-label{line-height:30px}.rtm-page-number .rtm-label,.rtm-page-number .rtm-go-to-num,.rtm-page-number .rtmedia-page-link{float:left}.rtm-pagination{background:transparent;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}.rtm-pagination .rtm-paginate{float:right;font-size:15px}.rtm-pagination .rtm-paginate a,.rtm-pagination .rtm-paginate span{display:inline-block;line-height:1;margin:0 2px;padding:8px;text-decoration:none}.rtm-pagination .rtm-paginate a.rtmedia-page-link{padding:8px}.rtm-pagination .dashicons{font-size:14px;height:auto;line-height:1.2;margin:0;padding:0;width:auto}#rtmedia_go_to_num{font-size:16px;margin:0 5px;padding:4px 5px;width:80px}.rtmedia-upload-not-allowed{background-color:#fcf8e3;border-bottom:1px solid #EEE;color:#c09853;margin-bottom:20px;padding:10px 15px}.plupload_file_name{position:relative}.plupload_file_name .dashicons{background:#eee;color:#DD3D36;cursor:pointer;font-size:14px;height:auto;padding:0 2px 0 5px;position:absolute;right:0;top:0;width:auto}.plupload_file_name .dashicons-yes{color:#7AD03A}.rtmedia-gallery-item-actions{background-color:rgba(0,0,0,0.6);opacity:0;position:absolute;text-align:center;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s;width:100%;z-index:9}.rtmedia-gallery-item-actions a{border:0;box-shadow:0 0 0;color:#fff;display:inline-block;font-size:12px;outline:none;padding:4px;text-align:left;text-decoration:none;text-transform:uppercase}.rtmedia-gallery-item-actions .dashicons{font-size:17px;margin-right:2px;position:relative;top:1px}.rtmedia-gallery-item-actions .dashicons-trash{font-size:15px}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-gallery-item-actions{opacity:1}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-bulk-edit-item-wrap+.rtmedia-gallery-item-actions{opacity:0}.rtmedia-footer-link{clear:both;overflow:hidden;padding:16px 0;position:relative;text-align:center}.rtmedia-text-link-decoration,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span{text-decoration:none}.rtmedia-text-link-decoration:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span:hover{text-decoration:underline}.rtmedia-container .rtmedia-edit-list-media-table{max-height:300px;overflow-y:auto}.rtmedia-container .rtmedia-edit-list-media-table thead tr{background-color:#50A1D7}.rtmedia-container .rtmedia-edit-list-media-table thead th{text-align:center;color:#FFF}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(odd){background:#FFF}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(even){background:#DCDCDC}table.rtmedia-edit-media-list tr{line-height:30px}table.rtmedia-edit-media-list tr th{color:#333;padding:4px 10px;line-height:20px}table.rtmedia-edit-media-list tr .rtm-edit-media-list-heading{width:44%}table.rtmedia-edit-media-list tr .rtm-edit-media-list-title-heading{width:56%}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title{padding:4px;font-size:14px;line-height:24px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a{text-decoration:none;color:#333}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a{color:#333;font-size:13px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span{color:#FF0000;cursor:pointer;font-size:13px}.rtm-hide{display:none}.rtm-tabs.rtm-tabs{border-bottom:1px solid #eee;list-style:none;margin:0 0 20px;padding:0}.rtm-tabs li{border:1px solid #eee;border-bottom:0;float:left;margin:0 5px;padding:0}.rtm-tabs a{border:0;display:block;padding:5px 15px;text-decoration:none}.rtm-tabs a:focus{background:transparent;box-shadow:0 0 0}.rtm-tabs .active{position:relative}.rtm-tabs .active:after{background:#fff;bottom:-1px;content:' ';height:1px;left:0;position:absolute;width:100%}.rtm-tabs .dashicons{font-size:16px;height:auto;line-height:20px;margin-right:8px;width:auto}.rtmedia-edit-media-tabs .rtm-tabs a{border-bottom:0 none}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:104211;overflow:hidden;position:fixed;background:rgba(0,0,0,0.9)}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:104311;position:fixed;outline:none !important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;max-width:84%;margin:0 auto;right:0;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:' ';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none !important}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{background:#fff;color:#999;cursor:pointer;font-size:24px;font-style:normal;height:30px;line-height:30px;padding:0;position:absolute;right:1px;text-align:center;text-decoration:none;text-indent:2px;top:0;width:32px;z-index:12}.mfp-close:hover,.mfp-close:focus{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{cursor:pointer;position:absolute;opacity:0.65;filter:alpha(opacity=65);margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent;opacity:0;z-index:10;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .mfp-arrow{opacity:1}@media (max-device-width: 640px){.mfp-arrow{display:none}.rtm-single-media:hover .mfp-arrow{display:none}}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1;filter:alpha(opacity=100)}.mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after,.mfp-arrow .mfp-a{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before,.mfp-arrow .mfp-b{border-top-width:21px;border-bottom-width:21px;opacity:0.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after,.mfp-arrow-left .mfp-a{border-right:17px solid #FFF;margin-left:31px}.mfp-arrow-left:before,.mfp-arrow-left .mfp-b{margin-left:25px;border-right:27px solid #3F3F3F}.mfp-arrow-right{right:0}.mfp-arrow-right:after,.mfp-arrow-right .mfp-a{border-left:17px solid #FFF;margin-left:39px}.mfp-arrow-right:before,.mfp-arrow-right .mfp-b{border-left:27px solid #3F3F3F}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#BDBDBD;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#F3F3F3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}.mfp-preloader{position:absolute;top:50%;left:0;right:0;margin-top:-36px;z-index:1044;font-size:0;width:36px;height:36px;margin-left:auto;margin-right:auto}.mfp-preloader:before{content:'Loading…';position:absolute;width:30px;height:30px}.mfp-preloader:not(:required):before{content:'';border-radius:50%;border:3px solid rgba(255,255,255,0.27);border-top-color:rgba(255,255,255,0.9);animation:spinner .6s linear infinite;-webkit-animation:spinner .6s linear infinite}@keyframes spinner{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(360deg)}}@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width: 900px){.mfp-arrow{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.mfp-content .rtm-lightbox-container{background:#000;margin:0 auto;position:relative}.mfp-content .rtm-single-meta{background:#fff;overflow:hidden;padding:20px 20px 110px;position:relative;vertical-align:top}.rtm-single-media{overflow:hidden;position:relative;text-align:center;vertical-align:middle}.rtm-single-media .mejs-container{margin:0 auto;max-width:inherit}.rtm-single-media .rtmedia-message-container{position:absolute;top:45%;left:0;right:0;margin-left:auto;margin-right:auto}@media (max-device-width: 640px){.rtm-single-media .rtmedia-message-container{top:25%}}.rtm-ltb-action-container{background-color:rgba(0,0,0,0.6);bottom:0;color:#fff;line-height:38px;opacity:0;padding:0 10px;position:absolute;width:100%;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}@media (max-device-width: 640px){.rtm-ltb-action-container{clear:both;position:relative;opacity:1}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);display:block;font-family:inherit;font-weight:normal;line-height:24px;margin:0;padding:0 6px;text-shadow:0 0 0;text-transform:none}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button:hover{background:rgba(255,255,255,0.2);color:rgba(255,255,255,0.8)}#buddypress #rtmedia-single-media-container.rtmedia-single-media .rtm-options .button{color:#333;margin:0 auto;padding:0 4px 0 0}#buddypress #rtm-media-options-list .rtm-options .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);float:left;font-family:inherit;font-weight:normal;line-height:24px;padding:0 6px;text-shadow:0 0 0;text-transform:none}#buddypress #rtm-media-options-list .rtm-options .rtmedia-delete-favlist{color:#fff;padding:0}.rtm-options.rtm-options{background:#666;color:#fff;display:none;font-size:14px;list-style:none;margin:0;padding:8px 10px;position:absolute;left:0;top:38px;width:190px;z-index:10}.rtm-options li{margin:0;overflow:hidden;padding:2px 0}.rtm-media-options .rtm-options:after{bottom:100%;left:20px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-bottom-color:#666;border-width:6px;margin-left:-6px}.mfp-content .rtm-options{background:#fff;color:#333;bottom:38px;right:0;left:auto;top:auto}.mfp-content .rtm-options:after{top:100%;right:22px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:6px;margin-left:-6px}.rtm-options .dashicons{font-size:14px;line-height:24px;margin-right:2px}.rtm-media-options .rtm-options a{border:0;color:#fff;display:block;text-decoration:none}.rtm-ltb-title{color:rgba(255,255,255,0.7);float:left;font-size:13px}.rtm-ltb-title a{color:inherit}.rtm-ltb-title a:hover{border-bottom:1px dotted;color:#fff}.rtm-item-actions{float:right}.rtm-item-actions>div,.rtm-item-actions>form{float:left;margin:0 2px;padding:7px 0;position:relative}.rtmedia-media img{display:inline-block;max-height:inherit;height:auto;max-width:100%;width:auto}@media only screen and (max-device-width: 1024px){.rtmedia-media{margin:40px 0}}.rtm-user-meta-details .username{font-size:16px;line-height:1;margin-bottom:6px}.userprofile{float:left;margin:0 16px 16px 0;max-width:54px}.userprofile a{display:block}.userprofile img{height:auto;max-width:100%}.rtm-time-privacy{color:#999;font-size:12px}.rtm-time-privacy .dashicons{font-size:14px;line-height:1.5}.rtmedia-actions-before-comments>span{float:left;margin-right:10px}.rtmedia-actions-before-comments .rtmedia-comment-link,#buddypress .rtmedia-actions-before-comments .rtmedia-like{border:0;font-size:13px;font-weight:normal;line-height:2;padding:0;text-transform:none}.rtmedia-actions-before-comments .rtmedia-comment-link:hover,#buddypress .rtmedia-actions-before-comments .rtmedia-like:hover{background:transparent}.rtmedia-comment-user-pic{float:left;margin-right:10px;max-width:36px}.rtmedia-comment-user-pic img{height:auto;max-width:100%}.rtm-like-comments-info{position:relative}.rtm-like-comments-info:after{bottom:100%;left:15px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(237,239,244,0);border-bottom-color:#edeff4;border-width:4px;margin-left:-4px}.rtm-comment-list.rtm-comment-list{list-style:none;margin:0;padding:0}.rtm-comment-list li{background:#edeff4;font-size:12px;margin-bottom:1px;padding:10px;position:relative}.rtm-comment-list li:hover .rtmedia-delete-comment{opacity:1}.rtm-comment-list .rtmedia-no-comments{margin:0;padding:5px 10px}.rtmedia-like-info{background:#edeff4;font-size:12px;margin-bottom:1px;padding:5px 10px;position:relative}.rtm-comment-wrap{overflow:hidden}.rtm-comment-wrap .rtmedia-comment-author{font-weight:700}.rtm-comment-wrap .rtmedia-comment-date{color:#999;font-size:11px}.rtmedia-comment-content{margin-top:2px}.rtmedia-delete-comment{color:#999;cursor:pointer;font-size:16px;opacity:0;position:absolute;right:5px;top:5px}.rtmedia-comment-content p{margin:0}.rtmedia-comment-details{line-height:1.5;margin-top:-3px}.rtmedia-item-comments textarea{font-size:14px;padding:4px}.rtm-media-single-comments{background-color:#edeff4;bottom:20px;padding:10px;width:100%}.rtm-media-single-comments textarea{font-size:12px;line-height:14px;max-height:40px;min-height:30px;padding:4px}.rtmedia-popup{background:#fff;margin:20px auto;max-width:600px;padding:20px;position:relative;width:auto}.rtmedia-popup .rtm-modal-title{font-size:24px;margin-bottom:20px;margin-top:0}.rtmedia-popup label{display:block;margin-bottom:5px}#rtm-modal-container p{margin-bottom:10px}#rtm-mejs-video-container{margin:0 auto}.rtmedia-media-name{float:left;max-width:140px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.rtm-single-media.rtm-media-type-video{padding-bottom:40px;padding-top:40px}.rtmedia-gallery-alert-container{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(0,0,0,0.6);z-index:999997}.rtmedia-gallery-message-box{position:fixed;top:40%;left:50%;margin-left:auto;margin-right:auto;z-index:999999}.rtmedia-gallery-message-box span{position:relative;left:-50%}.rtmedia-activity-container{box-sizing:border-box}.rtmedia-activity-container *,.rtmedia-activity-container *:before,.rtmedia-activity-container *:after{box-sizing:inherit}#buddypress ul.rtmedia-list li{border-bottom:0;padding-bottom:0}.rtmedia-activity-container .rtmedia-item-actions{display:none}.rtmedia-activity-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title a{border:0;color:#666;font-size:13px;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}#rtmedia-whts-new-upload-container div{left:0 !important;position:absolute;top:0 !important}#aw-whats-new-submit,.rtmedia-add-media-button{display:block}.rtm-drag-drop-active{border:4px dashed green !important;display:block;height:100%;opacity:0.5;z-index:9999}#rtm-drop-files-title{background:rgba(0,0,0,0.2);display:none;font-size:14px;height:100%;padding:20px;position:absolute;top:0;width:100%}#rtSelectPrivacy{float:right}.rtmedia-plupload-container{position:relative;float:left}.rtm-upload-button-wrapper{float:left;margin-right:5px}#rtmedia-action-update{margin-right:10px}.rtmedia-list-item.media-type-document,.rtmedia-list-item.media-type-music,.rtmedia-list-item.media-type-video{display:inline-block}.media-type-music .mejs-container{margin-bottom:10px}.rtmedia-album-edit .rtm-checkbox-wrap{background:rgba(255,255,255,0.9);height:30px;line-height:1;padding:10px;position:absolute;z-index:10}.rtmedia-album-edit .rtmedia-item-selector{position:relative;top:-7px}.rtmedia-album-edit .rtmedia-move-container{display:none}.rtm-single-actions.rtm-item-actions{float:none}.media-item .describe{border-collapse:collapse;width:100%;border-top-style:solid;border-top-width:1px;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:bold}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:bold}.media-upload-form th.label label{font-weight:bold;margin:0.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}abbr.required{border:medium none;text-decoration:none}.media-item .describe input[type="text"],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.media-item .edit-attachment,.describe-toggle-on,.describe-toggle-off{display:block;line-height:36px;float:right;margin-right:15px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}#media-items .media-item{border-style:solid;border-width:1px;min-height:36px;position:relative;margin-top:-1px;width:100%}#media-items{width:623px}.media-new-php #media-items{margin:1em 0}#media-items:empty{border:0 none}.media-item .filename{line-height:36px;overflow:hidden;padding:0 10px}.media-item .error-div{padding-left:10px}.media-item .pinkynail{float:left;margin:2px 2px 0;max-width:40px;max-height:32px}.media-item .startopen,.media-item .startclosed{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:6px 10px 0 0;width:200px;line-height:2em;padding:0;overflow:hidden;margin-bottom:2px;border:1px solid #d1d1d1;background:#f7f7f7;background-image:-webkit-gradient(linear, left bottom, left top, from(#fff), to(#f7f7f7));background-image:-webkit-linear-gradient(bottom, #fff, #f7f7f7);background-image:linear-gradient(to top, #fff, #f7f7f7);border-radius:3px;box-shadow:inset 0 0 3px rgba(0,0,0,0.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-24px;background-color:#8cc1e9;background-image:-webkit-gradient(linear, left bottom, left top, from(#72a7cf), to(#8cc1e9));background-image:-webkit-linear-gradient(bottom, #72a7cf, #8cc1e9);background-image:linear-gradient(to top, #72a7cf, #8cc1e9);border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,0.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0 8px;text-shadow:0 1px 0 rgba(255,255,255,0.4);color:rgba(0,0,0,0.6)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item.error{margin:0;padding:0}.media-upload-form .media-item.error p,.media-item .error-div{line-height:16px;margin:5px 10px;padding:0}.media-item .error-div a.dismiss{display:block;float:right;margin:5px 4px 0 15px}.find-box{width:600px;height:300px;overflow:hidden;padding:33px 0 51px;position:absolute;z-index:1000}.find-box-head{cursor:move;font-weight:bold;height:2em;line-height:2em;padding:1px 12px;position:absolute;top:5px;width:100%}.find-box-inside{overflow:auto;padding:6px;height:100%}.find-box-search{overflow:hidden;padding:9px;position:relative}.find-box-search .spinner{float:none;left:125px;position:absolute;top:9px}#find-posts-input{float:left;width:140px;height:24px}#find-posts-search{float:left;margin:1px 4px 0 3px}#find-posts-response{margin:8px 0;padding:0 1px 6px}#find-posts-response table{width:100%}#find-posts-response .found-radio{padding:3px 0 0 8px;width:15px}.find-box-buttons{padding:8px;overflow:hidden}.find-box #resize-se{position:absolute;right:1px;bottom:1px}.ui-find-overlay{position:absolute;top:0;left:0;background-color:#000;opacity:0.6;filter:alpha(opacity=60)}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #DDDDDD;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#aaa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0}.post-php .imgedit-wrap table{width:100%}.describe .imgedit-wrap table td,.wp_attachment_holder .imgedit-wrap table td{vertical-align:top;padding-top:0}.describe .imgedit-wrap table td.imgedit-settings{padding:0 5px}.wp_attachment_holder .imgedit-wrap table td.imgedit-settings{width:250px}td.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:#fff url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat scroll 22px 10px;background-size:16px 16px;opacity:0.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.spinner{background:url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat;background-size:16px 16px;display:none;float:right;opacity:0.7;filter:alpha(opacity=70);width:16px;height:16px;margin:5px 5px 0}.no-float{float:none}.media-disabled,.imgedit-settings .disabled{color:grey}.wp_attachment_image,.A1B1{overflow:hidden}.wp_attachment_image .button,.A1B1 .button{float:left}.no-js .wp_attachment_image .button{display:none}.wp_attachment_image .spinner,.A1B1 .spinner{float:left;padding:0 4px 4px;vertical-align:bottom}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;height:32px}.imgedit-crop-wrap{position:relative}.imgedit-crop{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -9px -31px;margin:0 8px 0 0}.imgedit-crop.disabled:hover{background-position:-9px -31px}.imgedit-crop:hover{background-position:-9px -1px}.imgedit-rleft{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -46px -31px;margin:0 3px}.imgedit-rleft.disabled:hover{background-position:-46px -31px}.imgedit-rleft:hover{background-position:-46px -1px}.imgedit-rright{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -77px -31px;margin:0 8px 0 3px}.imgedit-rright.disabled:hover{background-position:-77px -31px}.imgedit-rright:hover{background-position:-77px -1px}.imgedit-flipv{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -115px -31px;margin:0 3px}.imgedit-flipv.disabled:hover{background-position:-115px -31px}.imgedit-flipv:hover{background-position:-115px -1px}.imgedit-fliph{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -147px -31px;margin:0 8px 0 3px}.imgedit-fliph.disabled:hover{background-position:-147px -31px}.imgedit-fliph:hover{background-position:-147px -1px}.imgedit-undo{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -184px -31px;margin:0 3px}.imgedit-undo.disabled:hover{background-position:-184px -31px}.imgedit-undo:hover{background-position:-184px -1px}.imgedit-redo{background:transparent url("../../../../../../wp-admin/images/imgedit-icons.png") no-repeat scroll -215px -31px;margin:0 8px 0 3px}.imgedit-redo.disabled:hover{background-position:-215px -31px}.imgedit-redo:hover{background-position:-215px -1px}.imgedit-applyto img{margin:0 8px 0 0}.imgedit-group h3{font-size:18px}.imgedit-group .dashicons{border:0;line-height:1.2}.imgedit-group-top{margin:5px 0}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic;margin-bottom:8px}a.imgedit-help-toggle{text-decoration:none}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.wp_attachment_details{margin-bottom:20px}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:0.5}.bp-media-image-editor-cotnainer{margin-top:35px}.wp_attachment_image .bp-media-image-edit{float:left}.wp_attachment_image .spinner{display:none}.bp-media-image-editor-cotnainer .hidden{display:none}.bp-media-image-editor-cotnainer div.updated{margin:5px 0 15px;background-color:#ffffe0;border-color:#e6db55;padding:0 .6em;border-radius:3px;border-width:1px;border-style:solid}.bp-media-image-editor-cotnainer div.updated p{margin:.5em 0;padding:2px}body article.bp_members.bp_member .entry-content,body div.bp_members.bp_member .entry-content{width:100%}.rtm-media-gallery-uploader{display:none}.rtmedia-uploader .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;color:#AAAAAA;margin-top:20px;padding:25px 0}.rtmedia-uploader .drag-drop.dragover{border-color:#83b4d8}.rtmedia-uploader .drag-drop .drag-drop-info{font-size:20px;line-height:24px}.rtmedia-uploader .drag-drop .rtm-select-files span{vertical-align:middle}.rtmedia-uploader .drag-drop .rtm-seperator{margin:0px 20px}.rtmedia-uploader .drag-drop .start-media-upload{display:none;margin-top:20px}.rtmedia-uploader .drag-drop .rtm-file-size-limit{vertical-align:middle;font-size:16px;line-height:24px}.rtm-uploader-main-wrapper .rtm-uploader-tabs{margin-bottom:10px;text-align:left}.rtm-uploader-main-wrapper ul{border-bottom:1px solid #CCC}.rtm-uploader-main-wrapper li{margin:0 0 -1px 10px;display:inline-block;padding:5px 10px;line-height:25px;background-color:#e4e4e4;border:1px solid #CCC}.rtm-uploader-main-wrapper li.active{background:transparent;border-left:1px solid #CCC;border-top:1px solid #CCC;border-right:1px solid #CCC;border-bottom:1px solid #fafafa}.rtm-uploader-main-wrapper li:hover{cursor:pointer}.rtmedia-container .rtmedia-list{margin:10px -5px}.rtmedia-container .rtmedia-list .rtmedia-list-item{float:left;margin:5px;position:relative}.rtmedia-container .rtmedia-list .rtmedia-list-item>a{display:block}.rtmedia-container .rtmedia-list .rtmedia_time{background-color:#000;color:#fff;display:inline-block;font-size:11px;font-weight:bold;line-height:14px;opacity:0.75;padding:0 4px;position:absolute;right:2px;top:2px}.rtmedia-container .rtmedia-list img{vertical-align:top}.rtmedia-container .rtmedia-list .rtmedia-item-title h4{color:#666;font-size:12px;font-weight:normal;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.rtm-load-more{background:#eee;text-align:center}.rtmedia-container .rtm-load-more a{border:0;padding:10px 0}.rtm-load-more .rtm-media-loading{padding:10px 0}.rtm-media-options{line-height:1.4;margin-bottom:10px}.rtm-media-options>div{display:inline-block;cursor:pointer}.rtm-media-options .rtm-media-options-list{margin-right:5px;padding-right:10px;position:relative}.rtm-media-options>*{border-right:1px solid #999}.rtm-media-options>*:last-child{border-right:none}.rtm-media-options .dashicons{font-size:inherit;line-height:1.4}.rtmedia-upload-media-link{cursor:pointer}a.rtmedia-upload-media-link{border:none}.rtm-album-privacy span{font-size:16px;display:inline-block;margin:0 20px 20px 20px;vertical-align:top}.rtm-album-privacy label{margin-right:8px}.rtm-album-privacy .dashicons{font-size:16px;line-height:1.6;margin-right:5px}#rtm-media-options-list .rtmedia-delete-album{background:transparent;border:0;color:#fff;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-transform:inherit}#rtm-media-options-list .rtmedia-delete-album:hover{background:transparent;border:0;color:#fff}.rtmedia-single-container button.rtmedia-like{background-color:transparent;color:inherit}#buddypress .mejs-controls button{padding:4px 8px;border:none;background:transparent url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mejs-container .mejs-controls .mejs-time{padding:10px 3px 0;content:''}.rtmedia-activity-container .mejs-playpause-button.mejs-play button:before,.rtmedia-activity-container .mejs-playpause-button.mejs-pause button:before,.rtmedia-activity-container .mejs-volume-button.mejs-mute button:before,.rtmedia-activity-container .mejs-fullscreen-button button:before,.rtmedia-media .mejs-playpause-button.mejs-play button:before,.rtmedia-media .mejs-playpause-button.mejs-pause button:before,.rtmedia-media .mejs-volume-button.mejs-mute button:before,.rtmedia-media .mejs-fullscreen-button button:before{content:''}@media only screen and (min-width: 1025px){.mfp-content .rtm-lightbox-container{display:table;table-layout:fixed;width:100%}.mfp-content .rtm-mfp-close{background:transparent}.mfp-content .rtm-single-media{display:table-cell;width:66.6667%}.mfp-content .rtm-single-meta{display:table-cell;width:33.3333%;padding:20px;height:473px}.mfp-content .rtm-single-meta .rtmedia-scroll{height:100%;overflow-X:hidden}}.rtl #rtSelectPrivacy{float:left}.rtl .rtmedia-plupload-container{float:right}.rtl .rtm-upload-button-wrapper{float:right}.rtl #whats-new-post-in-box{float:right}.rtl .describe-toggle-off{float:left}.rtl .media-item .pinkynail{float:right}.rtl .media-item .progress{float:left}.rtl .media-item .error-div a.dismiss{float:left}.rtl #find-posts-input{float:right}.rtl #find-posts-search{float:right}.rtl .spinner{float:left}.rtl .wp_attachment_image .button,.rtl .A1B1 .button{float:right}.rtl .wp_attachment_image .spinner,.rtl .A1B1 .spinner{float:right}.rtl .imgedit-menu div{float:right}.rtl .wp_attachment_image .bp-media-image-edit{float:right}.rtl .rtmedia-container .rtmedia-list .rtmedia-list-item{float:right}.rtl #buddypress #rtm-media-options-list .rtm-options .button{float:right}.rtl .rtm-ltb-title{float:right}.rtl .rtm-item-actions{float:left}.rtl .rtm-item-actions>div,.rtl .rtm-item-actions>form{float:right}.rtl .userprofile{float:right}.rtl .rtmedia-actions-before-comments>span{float:right}.rtl .rtmedia-comment-user-pic{float:right}.rtl .rtmedia-media-name{float:right}.rtl #rtmedia-uploader-form .rtm-plupload-list li,.rtl #rtmedia_uploader_filelist li{float:right}.rtl .rtm-page-number{float:right}.rtl .rtm-page-number .rtmedia-page-link{float:right}.rtl .rtm-pagination{float:right}.rtl .rtm-pagination .rtm-paginate{float:left}.rtl .rtm-tabs li{float:right}.rtl .alignleft{float:right}.rtl .alignright{float:left}
app/assets/css/sass/_popup.scss CHANGED
@@ -7,9 +7,9 @@
7
8
.rtmedia-media-description {
9
.allcontent {
10
- max-height: 200px;
11
- overflow-y: auto;
12
- margin: 5px 0;
13
}
14
}
15
}
@@ -21,59 +21,61 @@
21
position: relative;
22
vertical-align: top;
23
}
24
-
25
}
26
27
.rtm-single-media {
28
- overflow: hidden; // Safari 1px issue
29
- position: relative;
30
- text-align: center;
31
- vertical-align: middle;
32
33
.mejs-container {
34
margin: 0 auto;
35
max-width: inherit;
36
}
37
38
- .rtmedia-message-container {
39
- position: absolute;
40
- top: 45%;
41
- left:0;
42
- right:0;
43
- margin-left:auto;
44
- margin-right:auto;
45
46
- @media (max-device-width: 640px) {
47
- top: 25%;
48
- }
49
- }
50
}
51
52
.rtm-ltb-action-container {
53
- background-color: rgba($black, 0.6);
54
bottom: 0;
55
- color: $white;
56
//height: 38px;
57
line-height: 38px;
58
opacity: 0;
59
- padding: 0 10px;
60
- position: absolute;
61
- width: 100%;
62
transition: all 300ms ease-out;
63
64
-
65
.rtm-single-media:hover & {
66
opacity: 1;
67
}
68
- @media (max-device-width: 640px){
69
- clear:both;
70
- position:relative;
71
- opacity: 1;
72
- .rtm-single-media:hover & {
73
- opacity: 1;
74
- }
75
- }
76
77
}
78
79
#buddypress #rtmedia-single-media-container.rtmedia-single-media {
@@ -92,7 +94,7 @@
92
text-transform: none;
93
94
&:hover {
95
- background: rgba($white, .2);
96
color: rgba($white, 0.8);
97
}
98
}
@@ -128,7 +130,6 @@
128
}
129
130
.rtm-options {
131
-
132
&.rtm-options {
133
background: $gray;
134
color: $white;
@@ -145,8 +146,12 @@
145
}
146
147
li {
148
- margin: 0; // 2012
149
- overflow: hidden; // clear float
150
padding: 2px 0;
151
}
152
@@ -201,14 +206,17 @@
201
border: 0;
202
color: #fff;
203
display: block;
204
- text-decoration: none; // 2012
205
}
206
}
207
208
.rtm-ltb-title {
209
color: rgba($white, 0.7);
210
- float: left;
211
- font-size: 13px;
212
213
a {
214
color: inherit;
@@ -236,13 +244,18 @@
236
img {
237
display: inline-block;
238
max-height: inherit;
239
- height: auto; // Theme 2014/2013
240
- max-width: 100%; // Theme 2014/2013
241
width: auto;
242
}
243
- @media only screen and ( max-device-width : 1024px ) {
244
- margin: 40px 0;
245
- }
246
}
247
248
.rtm-user-meta-details {
@@ -254,23 +267,28 @@
254
}
255
256
.userprofile {
257
- float: left;
258
- margin: 0 16px 16px 0;
259
- max-width: 54px;
260
261
a {
262
display: block;
263
}
264
265
img {
266
- height: auto; // Theme 2014/2013
267
- max-width: 100%; // Theme 2014/2013
268
}
269
}
270
271
.rtm-time-privacy {
272
- color: #999;
273
- font-size: 12px;
274
275
.dashicons {
276
font-size: 14px;
@@ -279,7 +297,6 @@
279
}
280
281
.rtmedia-actions-before-comments {
282
-
283
& > span {
284
float: left;
285
margin-right: 10px;
@@ -306,8 +323,13 @@
306
max-width: 36px;
307
308
img {
309
- height: auto; // Theme 2014/2013
310
- max-width: 100%; // Theme 2014/2013
311
}
312
}
313
@@ -331,7 +353,6 @@
331
}
332
333
.rtm-comment-list {
334
-
335
&.rtm-comment-list {
336
list-style: none;
337
margin: 0;
@@ -353,7 +374,9 @@
353
}
354
355
.rtmedia-no-comments {
356
- margin: 0; // 2012
357
padding: 5px 10px;
358
}
359
}
@@ -380,17 +403,17 @@
380
}
381
382
.rtmedia-comment-content {
383
- margin-top: 2px;
384
}
385
386
.rtmedia-delete-comment {
387
color: #999;
388
- cursor: pointer;
389
font-size: 16px;
390
- opacity: 0;
391
- position: absolute;
392
- right: 5px;
393
- top: 5px;
394
}
395
396
.rtmedia-comment-content {
@@ -400,8 +423,8 @@
400
}
401
402
.rtmedia-comment-details {
403
- line-height: 1.5;
404
- margin-top: -3px;
405
}
406
407
.rtmedia-item-comments {
@@ -413,10 +436,11 @@
413
414
.rtm-media-single-comments {
415
background-color: #edeff4;
416
- bottom: 20px;
417
- padding: 10px;
418
- position: absolute;
419
- width: calc(100% - 40px);
420
421
textarea {
422
font-size: 12px;
@@ -458,12 +482,12 @@
458
}
459
460
.rtmedia-media-name {
461
- float: left;
462
- max-width: 140px;
463
- overflow: hidden;
464
- text-align: left;
465
- text-overflow: ellipsis;
466
- white-space: nowrap;
467
}
468
469
.rtm-single-media.rtm-media-type-video {
@@ -472,25 +496,25 @@
472
}
473
474
.rtmedia-gallery-alert-container {
475
- position: fixed;
476
- top:0;
477
- left: 0;
478
- height: 100%;
479
- width: 100%;
480
- background-color: rgba( 0, 0, 0, 0.6);
481
- z-index: 999997;
482
}
483
.rtmedia-gallery-message-box {
484
position: fixed;
485
top: 40%;
486
- left:50%;
487
- margin-left:auto;
488
- margin-right:auto;
489
- z-index: 999999;
490
491
- span {
492
- position: relative;
493
- left: -50%;
494
}
495
-
496
}
7
8
.rtmedia-media-description {
9
.allcontent {
10
+ /* max-height: 200px;
11
+ overflow-y: auto;
12
+ margin: 5px 0; */
13
}
14
}
15
}
21
position: relative;
22
vertical-align: top;
23
}
24
}
25
26
.rtm-single-media {
27
+ overflow: hidden;
28
+
29
+ // Safari 1px issue
30
+ position: relative;
31
+ text-align: center;
32
+ vertical-align: middle;
33
34
.mejs-container {
35
margin: 0 auto;
36
max-width: inherit;
37
}
38
39
+ .rtmedia-message-container {
40
+ position: absolute;
41
+ top: 45%;
42
+ left: 0;
43
+ right: 0;
44
+ margin-left: auto;
45
+ margin-right: auto;
46
47
+ @media (max-device-width: 640px) {
48
+ top: 25%;
49
+ }
50
+ }
51
}
52
53
.rtm-ltb-action-container {
54
+ background-color: rgba($black, 0.6);
55
bottom: 0;
56
+ color: $white;
57
+
58
//height: 38px;
59
line-height: 38px;
60
opacity: 0;
61
+ padding: 0 10px;
62
+ position: absolute;
63
+ width: 100%;
64
transition: all 300ms ease-out;
65
66
.rtm-single-media:hover & {
67
opacity: 1;
68
}
69
70
+ @media (max-device-width: 640px) {
71
+ clear: both;
72
+ position: relative;
73
+ opacity: 1;
74
+
75
+ .rtm-single-media:hover & {
76
+ opacity: 1;
77
+ }
78
+ }
79
}
80
81
#buddypress #rtmedia-single-media-container.rtmedia-single-media {
94
text-transform: none;
95
96
&:hover {
97
+ background: rgba($white, 0.2);
98
color: rgba($white, 0.8);
99
}
100
}
130
}
131
132
.rtm-options {
133
&.rtm-options {
134
background: $gray;
135
color: $white;
146
}
147
148
li {
149
+ margin: 0;
150
+
151
+ // 2012
152
+ overflow: hidden;
153
+
154
+ // clear float
155
padding: 2px 0;
156
}
157
206
border: 0;
207
color: #fff;
208
display: block;
209
+ text-decoration: none;
210
+
211
+ // 2012
212
+
213
}
214
}
215
216
.rtm-ltb-title {
217
color: rgba($white, 0.7);
218
+ float: left;
219
+ font-size: 13px;
220
221
a {
222
color: inherit;
244
img {
245
display: inline-block;
246
max-height: inherit;
247
+ height: auto;
248
+
249
+ // Theme 2014/2013
250
+ max-width: 100%;
251
+
252
+ // Theme 2014/2013
253
width: auto;
254
}
255
+
256
+ @media only screen and (max-device-width: 1024px) {
257
+ margin: 40px 0;
258
+ }
259
}
260
261
.rtm-user-meta-details {
267
}
268
269
.userprofile {
270
+ float: left;
271
+ margin: 0 16px 16px 0;
272
+ max-width: 54px;
273
274
a {
275
display: block;
276
}
277
278
img {
279
+ height: auto;
280
+
281
+ // Theme 2014/2013
282
+ max-width: 100%;
283
+
284
+ // Theme 2014/2013
285
+
286
}
287
}
288
289
.rtm-time-privacy {
290
+ color: #999;
291
+ font-size: 12px;
292
293
.dashicons {
294
font-size: 14px;
297
}
298
299
.rtmedia-actions-before-comments {
300
& > span {
301
float: left;
302
margin-right: 10px;
323
max-width: 36px;
324
325
img {
326
+ height: auto;
327
+
328
+ // Theme 2014/2013
329
+ max-width: 100%;
330
+
331
+ // Theme 2014/2013
332
+
333
}
334
}
335
353
}
354
355
.rtm-comment-list {
356
&.rtm-comment-list {
357
list-style: none;
358
margin: 0;
374
}
375
376
.rtmedia-no-comments {
377
+ margin: 0;
378
+
379
+ // 2012
380
padding: 5px 10px;
381
}
382
}
403
}
404
405
.rtmedia-comment-content {
406
+ margin-top: 2px;
407
}
408
409
.rtmedia-delete-comment {
410
color: #999;
411
+ cursor: pointer;
412
font-size: 16px;
413
+ opacity: 0;
414
+ position: absolute;
415
+ right: 5px;
416
+ top: 5px;
417
}
418
419
.rtmedia-comment-content {
423
}
424
425
.rtmedia-comment-details {
426
+ line-height: 1.5;
427
+ margin-top: -3px;
428
}
429
430
.rtmedia-item-comments {
436
437
.rtm-media-single-comments {
438
background-color: #edeff4;
439
+ bottom: 20px;
440
+ padding: 10px;
441
+
442
+ // position: absolute;
443
+ width: 100%;
444
445
textarea {
446
font-size: 12px;
482
}
483
484
.rtmedia-media-name {
485
+ float: left;
486
+ max-width: 140px;
487
+ overflow: hidden;
488
+ text-align: left;
489
+ text-overflow: ellipsis;
490
+ white-space: nowrap;
491
}
492
493
.rtm-single-media.rtm-media-type-video {
496
}
497
498
.rtmedia-gallery-alert-container {
499
+ position: fixed;
500
+ top: 0;
501
+ left: 0;
502
+ height: 100%;
503
+ width: 100%;
504
+ background-color: rgba(0, 0, 0, 0.6);
505
+ z-index: 999997;
506
}
507
+
508
.rtmedia-gallery-message-box {
509
position: fixed;
510
top: 40%;
511
+ left: 50%;
512
+ margin-left: auto;
513
+ margin-right: auto;
514
+ z-index: 999999;
515
516
+ span {
517
+ position: relative;
518
+ left: -50%;
519
}
520
}
app/assets/css/sass/_responsive.scss CHANGED
@@ -1,7 +1,6 @@
1
@media #{$large-up} {
2
3
.mfp-content {
4
-
5
.rtm-lightbox-container {
6
display: table;
7
@@ -10,6 +9,10 @@
10
width: 100%;
11
}
12
13
.rtm-single-media {
14
display: table-cell;
15
width: 66.6667%;
@@ -18,13 +21,19 @@
18
.rtm-single-meta {
19
display: table-cell;
20
width: 33.3333%;
21
}
22
23
.rtmedia-item-comments {
24
- max-height: 330px;
25
overflow-x: hidden;
26
- overflow-y: auto;
27
}
28
-
29
}
30
- }
1
@media #{$large-up} {
2
3
.mfp-content {
4
.rtm-lightbox-container {
5
display: table;
6
9
width: 100%;
10
}
11
12
+ .rtm-mfp-close {
13
+ background: transparent;
14
+ }
15
+
16
.rtm-single-media {
17
display: table-cell;
18
width: 66.6667%;
21
.rtm-single-meta {
22
display: table-cell;
23
width: 33.3333%;
24
+ padding: 20px;
25
+ height: 473px;
26
+
27
+ .rtmedia-scroll {
28
+ height: 100%;
29
+ overflow-X: hidden;
30
+ }
31
}
32
33
.rtmedia-item-comments {
34
+ /* max-height: 330px;
35
overflow-x: hidden;
36
+ overflow-y: auto; */
37
}
38
}
39
+ }
app/assets/css/sass/rtmedia.scss CHANGED
@@ -38,4 +38,4 @@
38
@import "responsive";
39
40
// *** RTL *** //
41
- @import "rtl";
38
@import "responsive";
39
40
// *** RTL *** //
41
+ @import "rtl";
app/assets/js/rtMedia.js CHANGED
@@ -1,14 +1,14 @@
1
var rtMagnificPopup;
2
var rtm_masonry_container;
3
function apply_rtMagnificPopup( selector ) {
4
- jQuery( 'document' ).ready( function ( $ ) {
5
- var rt_load_more = "";
6
- if ( typeof ( rtmedia_load_more ) === "undefined" ) {
7
- rt_load_more = "Loading media";
8
} else {
9
rt_load_more = rtmedia_load_more;
10
}
11
- if ( typeof(rtmedia_lightbox_enabled) != 'undefined' && rtmedia_lightbox_enabled == '1' ) { // if lightbox is enabled.
12
13
if ( $( '.activity-item .rtmedia-activity-container .rtmedia-list-item > a' ).siblings( 'p' ).children( 'a' ).length > 0 ) {
14
$( '.activity-item .rtmedia-activity-container .rtmedia-list-item > a' ).siblings( 'p' ).children( 'a' ).addClass( 'no-popup' );
@@ -24,21 +24,21 @@ function apply_rtMagnificPopup( selector ) {
24
gallery: {
25
enabled: true,
26
navigateByImgClick: true,
27
- arrowMarkup: '', // disabled default arrows
28
preload: [ 0, 1 ] // Will preload 0 - before current, and 1 after the current image
29
},
30
image: {
31
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
32
- titleSrc: function ( item ) {
33
return item.el.attr( 'title' ) + '<small>by Marsel Van Oosten</small>';
34
}
35
},
36
callbacks: {
37
- ajaxContentAdded: function () {
38
39
mfp = jQuery.magnificPopup.instance;
40
if ( jQuery( mfp.items ).size() === 1 ) {
41
- jQuery( ".mfp-arrow" ).remove();
42
}
43
// When last second media is encountered in lightbox, load more medias if available
44
var mfp = jQuery.magnificPopup.instance;
@@ -47,15 +47,15 @@ function apply_rtMagnificPopup( selector ) {
47
if ( ! li.is( 'li' ) ) {
48
li = li.parent();
49
}
50
- if ( li.is( ':nth-last-child(2)' ) || li.is( ':last-child' ) ) { // if its last second media
51
var last_li = li.next();
52
- if ( jQuery( '#rtMedia-galary-next' ).css( 'display' ) == 'block' ) { // if more medias are available
53
- jQuery( '#rtMedia-galary-next' ).click(); // load more
54
}
55
}
56
57
var items = mfp.items.length;
58
- if ( mfp.index == ( items - 1 ) && ! ( li.is( ":last-child" ) ) ) {
59
current_media.click();
60
return;
61
}
@@ -66,24 +66,24 @@ function apply_rtMagnificPopup( selector ) {
66
settings.pluginPath = _wpmejsSettings.pluginPath;
67
}
68
$( '.mfp-content .wp-audio-shortcode,.mfp-content .wp-video-shortcode,.mfp-content .bp_media_content video' ).mediaelementplayer( {
69
- // if the <video width> is not specified, this is the default
70
defaultVideoWidth: 480,
71
- // if the <video height> is not specified, this is the default
72
defaultVideoHeight: 270,
73
- success: function (mediaElement, domObject) {
74
- // call the play method
75
mediaElement.play();
76
- },
77
} );
78
$( '.mfp-content .mejs-audio .mejs-controls' ).css( 'position', 'relative' );
79
rtMediaHook.call( 'rtmedia_js_popup_after_content_added', [ ] );
80
},
81
- close: function ( e ) {
82
- //console.log(e);
83
rtmedia_init_action_dropdown();
84
},
85
- BeforeChange: function ( e ) {
86
- //console.log(e);
87
}
88
}
89
} );
@@ -94,36 +94,37 @@ function apply_rtMagnificPopup( selector ) {
94
var rtMediaHook = {
95
hooks: [ ],
96
is_break: false,
97
- register: function ( name, callback ) {
98
if ( 'undefined' == typeof ( rtMediaHook.hooks[name] ) ) {
99
rtMediaHook.hooks[name] = [ ];
100
}
101
rtMediaHook.hooks[name].push( callback );
102
},
103
- call: function ( name, arguments ) {
104
if ( 'undefined' != typeof ( rtMediaHook.hooks[name] ) ) {
105
- for ( i = 0; i < rtMediaHook.hooks[name].length; ++ i ) {
106
if ( true != rtMediaHook.hooks[name][i]( arguments ) ) {
107
rtMediaHook.is_break = true;
108
return false;
109
break;
110
}
111
- } }
112
return true;
113
}
114
};
115
116
- //drop-down js
117
function rtmedia_init_action_dropdown() {
118
var all_ul;
119
var curr_ul;
120
jQuery( '.click-nav > span, .click-nav > div' ).toggleClass( 'no-js js' );
121
jQuery( '.click-nav .js ul' ).hide();
122
- jQuery( '.click-nav .clicker' ).click( function ( e ) {
123
all_ul = jQuery( '#rtm-media-options .click-nav .clicker' ).next( 'ul' );
124
curr_ul = jQuery( this ).next( 'ul' );
125
- jQuery.each( all_ul, function ( index, value ) {
126
- if ( jQuery( value ).html() != curr_ul.html() ) { // check clicked option with other options
127
jQuery( value ).hide();
128
}
129
} );
@@ -132,24 +133,24 @@ function rtmedia_init_action_dropdown() {
132
} );
133
}
134
135
- jQuery( 'document' ).ready( function ( $ ) {
136
137
// Tabs
138
if ( typeof $.fn.rtTab !== 'undefined' ) {
139
$( '.rtm-tabs' ).rtTab();
140
}
141
142
- // open magnific popup as modal for create album/playlist
143
if ( jQuery( '.rtmedia-modal-link' ).length > 0 ) {
144
$( '.rtmedia-modal-link' ).magnificPopup( {
145
type: 'inline',
146
midClick: true, // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href
147
- closeBtnInside: true,
148
} );
149
}
150
151
- $( "#rt_media_comment_form" ).submit( function ( e ) {
152
- if ( $.trim( $( "#comment_content" ).val() ) == "" ) {
153
if ( jQuery( '#rtmedia-single-media-container' ).length == 0 ) {
154
rtmedia_gallery_action_alert_message( rtmedia_empty_comment_msg, 'warning' );
155
} else {
@@ -160,60 +161,60 @@ jQuery( 'document' ).ready( function ( $ ) {
160
return true;
161
}
162
163
- } )
164
165
//Remove title from popup duplication
166
- $( "li.rtmedia-list-item p a" ).each( function ( e ) {
167
- $( this ).addClass( "no-popup" );
168
} );
169
170
//Remove title from popup duplication
171
- $( "li.rtmedia-list-item p a" ).each(function(e) {
172
- $( this ).addClass( "no-popup" );
173
- })
174
- //rtmedia_lightbox_enabled from setting
175
- if (typeof(rtmedia_lightbox_enabled) != 'undefined' && rtmedia_lightbox_enabled == "1") {
176
apply_rtMagnificPopup( '.rtmedia-list-media.rtm-gallery-list, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container' );
177
}
178
179
- jQuery.ajaxPrefilter(function(options, originalOptions, jqXHR) {
180
try {
181
- if (originalOptions.data == null || typeof(originalOptions.data) == "undefined" || typeof(originalOptions.data.action) == "undefined" ) {
182
return true;
183
}
184
- } catch (e) {
185
return true;
186
}
187
188
// Handle lightbox in BuddyPress activity loadmore
189
- if (originalOptions.data.action == 'activity_get_older_updates') {
190
var orignalSuccess = originalOptions.success;
191
- options.success = function(response) {
192
orignalSuccess( response );
193
apply_rtMagnificPopup( '.rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content' );
194
rtMediaHook.call( 'rtmedia_js_after_activity_added', [] );
195
- }
196
} else if ( originalOptions.data.action == 'get_single_activity_content' ) {
197
// Handle lightbox in BuddyPress single activity loadmore
198
var orignalSuccess = originalOptions.success;
199
- options.success = function ( response ) {
200
orignalSuccess( response );
201
- setTimeout( function(){
202
apply_rtMagnificPopup( '.rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content' );
203
jQuery( 'ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode' ).mediaelementplayer( {
204
- // if the <video width> is not specified, this is the default
205
defaultVideoWidth: 480,
206
- // if the <video height> is not specified, this is the default
207
defaultVideoHeight: 270
208
} );
209
}, 900 );
210
- }
211
}
212
});
213
214
- jQuery.ajaxPrefilter( function ( options, originalOptions, jqXHR ) {
215
try {
216
- if ( originalOptions.data == null || typeof ( originalOptions.data ) == "undefined" || typeof ( originalOptions.data.action ) == "undefined" ) {
217
return true;
218
}
219
} catch ( e ) {
@@ -221,46 +222,46 @@ jQuery( 'document' ).ready( function ( $ ) {
221
}
222
if ( originalOptions.data.action == 'activity_get_older_updates' ) {
223
var orignalSuccess = originalOptions.success;
224
- options.success = function ( response ) {
225
orignalSuccess( response );
226
apply_rtMagnificPopup( '.rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content' );
227
228
jQuery( 'ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > audio.wp-audio-shortcode, ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > video.wp-video-shortcode' ).mediaelementplayer( {
229
- // if the <video width> is not specified, this is the default
230
defaultVideoWidth: 480,
231
- // if the <video height> is not specified, this is the default
232
defaultVideoHeight: 270
233
} );
234
235
rtMediaHook.call( 'rtmedia_js_after_activity_added',