Version Description
- added css to remove the border on focus
Download this release
Release Info
Developer | baden03 |
Plugin | Collapse-O-Matic |
Version | 1.6.11 |
Comparing to | |
See all releases |
Code changes from version 1.6.10 to 1.6.11
- collapse-o-matic.php +9 -6
- dark_style.css +5 -1
- light_style.css +5 -1
- readme.txt +7 -8
collapse-o-matic.php
CHANGED
@@ -5,7 +5,7 @@ Text Domain: colomat
|
|
5 |
Domain Path: /languages
|
6 |
Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
7 |
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
|
8 |
-
Version: 1.6.
|
9 |
Author: twinpictures, baden03
|
10 |
Author URI: http://twinpictures.de/
|
11 |
License: GPL2
|
@@ -30,7 +30,7 @@ class WP_Collapse_O_Matic {
|
|
30 |
* Current version
|
31 |
* @var string
|
32 |
*/
|
33 |
-
var $version = '1.6.
|
34 |
|
35 |
/**
|
36 |
* Used as prefix for options entry
|
@@ -136,8 +136,10 @@ class WP_Collapse_O_Matic {
|
|
136 |
}
|
137 |
|
138 |
//css
|
139 |
-
|
140 |
-
|
|
|
|
|
141 |
}
|
142 |
|
143 |
/**
|
@@ -451,7 +453,8 @@ class WP_Collapse_O_Matic {
|
|
451 |
}
|
452 |
$st_array = array(
|
453 |
__('Light', 'colomat') => 'light',
|
454 |
-
__('Dark', 'colomat') => 'dark'
|
|
|
455 |
);
|
456 |
foreach( $st_array as $key => $value){
|
457 |
$selected = '';
|
@@ -462,7 +465,7 @@ class WP_Collapse_O_Matic {
|
|
462 |
}
|
463 |
?>
|
464 |
</select>
|
465 |
-
<br /><span class="description"><?php _e('Select Light for sites with lighter backgrounds. Select Dark for sites with darker backgrounds.', 'colomat'); ?></span></label>
|
466 |
</td>
|
467 |
</tr>
|
468 |
|
5 |
Domain Path: /languages
|
6 |
Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
7 |
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
|
8 |
+
Version: 1.6.11
|
9 |
Author: twinpictures, baden03
|
10 |
Author URI: http://twinpictures.de/
|
11 |
License: GPL2
|
30 |
* Current version
|
31 |
* @var string
|
32 |
*/
|
33 |
+
var $version = '1.6.11';
|
34 |
|
35 |
/**
|
36 |
* Used as prefix for options entry
|
136 |
}
|
137 |
|
138 |
//css
|
139 |
+
if ($this->options['style'] !== 'none') {
|
140 |
+
wp_register_style( 'collapseomatic-css', plugins_url('/'.$this->options['style'].'_style.css', __FILE__) , array (), '1.6' );
|
141 |
+
wp_enqueue_style( 'collapseomatic-css' );
|
142 |
+
}
|
143 |
}
|
144 |
|
145 |
/**
|
453 |
}
|
454 |
$st_array = array(
|
455 |
__('Light', 'colomat') => 'light',
|
456 |
+
__('Dark', 'colomat') => 'dark',
|
457 |
+
__('None', 'colomat') => 'none'
|
458 |
);
|
459 |
foreach( $st_array as $key => $value){
|
460 |
$selected = '';
|
465 |
}
|
466 |
?>
|
467 |
</select>
|
468 |
+
<br /><span class="description"><?php _e('Select Light for sites with lighter backgrounds. Select Dark for sites with darker backgrounds. Select None to handle styling yourself.', 'colomat'); ?></span></label>
|
469 |
</td>
|
470 |
</tr>
|
471 |
|
dark_style.css
CHANGED
@@ -4,6 +4,10 @@
|
|
4 |
padding: 0 0 10px 16px;
|
5 |
cursor: pointer;
|
6 |
}
|
|
|
|
|
|
|
|
|
7 |
.arrowright {
|
8 |
background-position: top right;
|
9 |
padding: 0 16px 10px 0;
|
@@ -47,4 +51,4 @@
|
|
47 |
}
|
48 |
.span_fix:before, .span_fix:after {
|
49 |
content: none;
|
50 |
-
}
|
4 |
padding: 0 0 10px 16px;
|
5 |
cursor: pointer;
|
6 |
}
|
7 |
+
.collapseomatic:focus {
|
8 |
+
display: block;
|
9 |
+
outline: 0;
|
10 |
+
}
|
11 |
.arrowright {
|
12 |
background-position: top right;
|
13 |
padding: 0 16px 10px 0;
|
51 |
}
|
52 |
.span_fix:before, .span_fix:after {
|
53 |
content: none;
|
54 |
+
}
|
light_style.css
CHANGED
@@ -4,6 +4,10 @@
|
|
4 |
padding: 0 0 10px 16px;
|
5 |
cursor: pointer;
|
6 |
}
|
|
|
|
|
|
|
|
|
7 |
.arrowright {
|
8 |
background-position: top right;
|
9 |
padding: 0 16px 10px 0;
|
@@ -47,4 +51,4 @@
|
|
47 |
}
|
48 |
.span_fix:before, .span_fix:after {
|
49 |
content: none;
|
50 |
-
}
|
4 |
padding: 0 0 10px 16px;
|
5 |
cursor: pointer;
|
6 |
}
|
7 |
+
.collapseomatic:focus {
|
8 |
+
display: block;
|
9 |
+
outline: 0;
|
10 |
+
}
|
11 |
.arrowright {
|
12 |
background-position: top right;
|
13 |
padding: 0 16px 10px 0;
|
51 |
}
|
52 |
.span_fix:before, .span_fix:after {
|
53 |
content: none;
|
54 |
+
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
|
5 |
Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
|
6 |
Requires at least: 3.9
|
7 |
Tested up to: 4.2.2
|
8 |
-
Stable tag: 1.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -50,8 +50,11 @@ No. Not even close.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
53 |
= 1.6.10 =
|
54 |
-
*
|
55 |
|
56 |
= 1.6.9 =
|
57 |
* added catch-all callback for jetpack’s infinite-scroll
|
@@ -293,9 +296,5 @@ Fixed auto-expand of urls with id-anchors
|
|
293 |
|
294 |
== Upgrade Notice ==
|
295 |
|
296 |
-
= 1.6.
|
297 |
-
*
|
298 |
-
|
299 |
-
= 1.6.9 =
|
300 |
-
* works with jetpack’s infinite-scroll
|
301 |
-
* fix: XSS Vulnerability
|
5 |
Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
|
6 |
Requires at least: 3.9
|
7 |
Tested up to: 4.2.2
|
8 |
+
Stable tag: 1.6.11
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.6.11 =
|
54 |
+
* added css to remove the border on focus
|
55 |
+
|
56 |
= 1.6.10 =
|
57 |
+
* added styles and jQuery for accessibility: focus/keyboard navigation
|
58 |
|
59 |
= 1.6.9 =
|
60 |
* added catch-all callback for jetpack’s infinite-scroll
|
296 |
|
297 |
== Upgrade Notice ==
|
298 |
|
299 |
+
= 1.6.11 =
|
300 |
+
* the plugin has been turned up to 11… but the focus borders have been turned down to 0.
|
|
|
|
|
|
|
|