From 995f44d9f06ef8b64edbb429fe5b67b188f5b7dc Mon Sep 17 00:00:00 2001 From: attosoft Date: Tue, 16 Oct 2012 07:35:41 +0000 Subject: [PATCH] FIXED: Modified Settings screen with CSS width properties and CSS3 Media Queries for small-width screen --- auto-thickbox-options.php | 18 +++++++++--------- auto-thickbox.css | 14 +++++++++++++- readme.txt | 5 +++-- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/auto-thickbox-options.php b/auto-thickbox-options.php index 2d29ab1..fce25f9 100644 --- a/auto-thickbox-options.php +++ b/auto-thickbox-options.php @@ -383,7 +383,7 @@ class auto_thickbox_options { util->__('Font Family', 'Font family')); ?> util->_e('Title'); ?> - + @@ -392,7 +392,7 @@ class auto_thickbox_options { util->_e('Caption'); ?> - + @@ -739,7 +739,7 @@ class auto_thickbox_options { texts['prev2']; ?> - util->disabled($img_prev_none); ?> /> + util->disabled($img_prev_none); ?> /> @@ -748,7 +748,7 @@ class auto_thickbox_options { texts['next2']; ?> - util->disabled($img_next_none); ?> /> + util->disabled($img_next_none); ?> /> @@ -757,7 +757,7 @@ class auto_thickbox_options { texts['first2']; ?> - util->disabled($img_first_none); ?> /> + util->disabled($img_first_none); ?> /> @@ -766,7 +766,7 @@ class auto_thickbox_options { texts['last2']; ?> - util->disabled($img_last_none); ?> /> + util->disabled($img_last_none); ?> /> @@ -775,7 +775,7 @@ class auto_thickbox_options { texts['close']; ?> - util->disabled($img_close_none); ?> /> + util->disabled($img_close_none); ?> /> @@ -784,7 +784,7 @@ class auto_thickbox_options { texts['close']; ?> (util->_e('Button'); ?>) - util->disabled($img_close_btn_none); ?> /> + util->disabled($img_close_btn_none); ?> /> @@ -793,7 +793,7 @@ class auto_thickbox_options { util->_e('Loading…', 'Loading...'); ?> - util->disabled($img_load_none); ?> /> + util->disabled($img_load_none); ?> /> diff --git a/auto-thickbox.css b/auto-thickbox.css index 3eca80e..3340b99 100644 --- a/auto-thickbox.css +++ b/auto-thickbox.css @@ -28,6 +28,7 @@ label.boundary { margin-left: 3px; } height: 20px; } input.small-text { width: 40px; } +input.large-text { width: 70%; } input.colortext { width: 75px; } input.pickcolor { margin-left: 41px; } .rtl input.pickcolor { margin-left: 1px; margin-right: 41px; } @@ -49,7 +50,7 @@ input.pickcolor { margin-left: 41px; } .rtl .opacity-trans, .rtl .opacity-opaque { float: right; } .rtl .opacity-slider, .rtl #click-range-slider { float: right; } -ol.sortable { margin: 0; padding: 0; width: 60%; } +ol.sortable { margin: 0; padding: 0; max-width: 350px; } ol.sortable li { cursor: move; margin: 0 5px 5px; padding: 3px 0 3px 6px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; @@ -82,3 +83,14 @@ li.contact { background: url(images/contact.png) no-repeat; } .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: e-resize; } .ui-slider-horizontal { height: .8em; } .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } + +@media only screen and (max-width: 800px) { + .form-table th { + width: 120px; + } +} +@media only screen and (max-width: 640px) { + input.large-text { + width: 99%; + } +} diff --git a/readme.txt b/readme.txt index 4208778..a570353 100644 --- a/readme.txt +++ b/readme.txt @@ -282,6 +282,7 @@ Modified ThickBox supports multiline (line breaks) in title/caption. The followi == Changelog == = Latest Version = +* FIXED: Modified Settings screen with CSS width properties and CSS3 Media Queries for small-width screen = 1.9 = * NEW: Mobile beta support for small-screen devices such as iPhone, Android, Symbian, BlackBerry and Windows Phone. This is experimental support so it may not work on some version of mobile browsers. @@ -333,7 +334,7 @@ Modified ThickBox supports multiline (line breaks) in title/caption. The followi * FIXED: Removes whitespaces from both ends of gallery caption (regression in v1.5) * FIXED: Improved Right-to-Left (RTL) support in Options page when using Persian and so on * FIXED: Workaround for the issue that Media Uploader does not work in WordPress 3.3.3 or later -* FIXED: 'First'/'Last' are not translated in ThickBox window because WordPress translations are split into locale.pot and admin-locale.pot since WordPress 3.4. Thereby 'First'/'Last' had translated only in Options page. +* FIXED: The word "First/Last" are not translated in ThickBox window because WordPress translations are split into locale.pot and admin-locale.pot since WordPress 3.4. Thereby the word "First/Last" had translated only in Options page. * UPDATED: Added **Persian/Farsi (fa_IR) translation (props Mohammadi)** and **Spanish (es_ES) translation (props Juan Antonio Peón)**, and updated French translation (props JB Prévots) and Japanese translation = 1.6 = @@ -401,7 +402,7 @@ Modified ThickBox supports multiline (line breaks) in title/caption. The followi * In AJAX content, ThickBox window is not displayed at the right position, and has no "Transition" effect * In AJAX content, multiple click event handlers are bound redundantly * FIXED: Uncaught exception occurs when opening images (ThickBox bug) -* FIXED: '?'/'&' before "TB_iframe" parameter remains in iframe source URL (ThickBox bug) +* FIXED: '?' / '&' before "TB_iframe" parameter remains in iframe source URL (ThickBox bug) * UPDATED: Dutch translation (props Michel Bats) and Japanese translation = 1.2 =