Ticket #17603: 17603.diff

File 17603.diff, 938 bytes (added by ryan, 2 years ago)
Line 
1Index: theme-options.php
2===================================================================
3--- theme-options.php   (revision 18123)
4+++ theme-options.php   (working copy)
5@@ -22,6 +22,8 @@
6                return;
7 
8        wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '2011-04-28' );
9+       if ( is_rtl() )
10+               wp_enqueue_style( 'twentyeleven-theme-options-rtl', get_template_directory_uri() . '/inc/theme-options-rtl.css', false, '2011-06-02' );
11        wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011-04-28' );
12        wp_enqueue_style( 'farbtastic' );
13 }
14Index: theme-options-rtl.css
15===================================================================
16--- theme-options-rtl.css       (revision 0)
17+++ theme-options-rtl.css       (revision 0)
18@@ -0,0 +1,4 @@
19+.image-radio-option label {
20+       float: right;
21+       margin: 0 2px 20px 30px;
22+}