Commit Graph

24 Commits

Author SHA1 Message Date
azaozz
3a29a3d893 Twenty Eleven code review and cleanup, props dd32, fixes #17748
git-svn-id: http://svn.automattic.com/wordpress/trunk@18253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:16 +00:00
ryan
a5dc19aa31 Add missing textdomain to twentyeleven contextual help. Props pavelevap. see #17744
git-svn-id: http://svn.automattic.com/wordpress/trunk@18235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 17:13:23 +00:00
dd32
40a3ce969a * Don't clear link colour when switching layouts
* Update "default colour" link when a custom colour has been selected
Fixes #17746

git-svn-id: http://svn.automattic.com/wordpress/trunk@18229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 13:41:51 +00:00
nacin
e68bd9e42e Twenty Eleven: Properly handle the default link color for the dark theme. props dcowgill for the patch refresh. fixes #17351.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-08 17:39:12 +00:00
iandstewart
af7b7c70ab Twenty Eleven: miscellaneous bug fixes and improvements
* Only style images uploaded to the WordPress media library with border styles (and not placeholder images for content added by plugins)
* Prevent content added by plugins and long custom excerpts from overflowing the featured post slider
* Make sure small thumbnails will never appear in the Custom Header area
* Better indicate the current featured post with custom link color and cursor
* Add a class for text-only featured posts
* Style improvements for small screens


git-svn-id: http://svn.automattic.com/wordpress/trunk@18181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-07 21:28:56 +00:00
nacin
ec46700dd4 Use default argument for get_option(). props dcowgill, westi. fixes #17686.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-05 19:53:31 +00:00
nacin
e5090f3113 Sanity check in twentyeleven_get_theme_options() -- if the option doesn't exist, return the default options instead. We already instantiate the option on admin_init. fixes #17686.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 22:05:29 +00:00
ryan
6f3fdf244e Check result of add_theme_page(). Return if false. Props greuben. fixes #17677
git-svn-id: http://svn.automattic.com/wordpress/trunk@18135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 22:37:13 +00:00
ryan
8a937b9c09 Retain screen-reader-text for pages shown in the admin. see #17524
git-svn-id: http://svn.automattic.com/wordpress/trunk@18123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:59:11 +00:00
iandstewart
8a7dd1e31c Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524
* Improved color contrast for light and dark color schemes
* Skip link for skipping directly to sidebar content
* Skip links visible on :focus
* Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
* Focus styles for password inputs (and a minor style fix)


git-svn-id: http://svn.automattic.com/wordpress/trunk@18117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:30:07 +00:00
ryan
55f6b637f3 Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
git-svn-id: http://svn.automattic.com/wordpress/trunk@18101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:28:42 +00:00
iandstewart
66beb266a1 Twenty Eleven: bug fixes and enhancements ...
* Improvements to the dark color scheme; Props matveb
* Remove link colors from the dark color scheme and let the default link color cascade
* Check for multiple authors before showing author information on single posts
* Remove the span before the edit link on the image template
* Add a comment icon; Props hugobaeta
* Replace the default reply text with an icon to prevent i18n issues with the design; Props matveb
* Don't output sidebar on the no sidebar layout
* Use the search form styling from the header for all search forms
* Style fixes for no search results page
* Fixes for fancy blockquote styles
* Style fixes for the showcase slider
* Margin for galleries
* Only showing the top post navigation on paged results
* Remove floats from images for the smallest screen sizes


git-svn-id: http://svn.automattic.com/wordpress/trunk@18072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 01:29:55 +00:00
iandstewart
7692708e25 Twenty Eleven: focus styles for all links; Fixes #17410
git-svn-id: http://svn.automattic.com/wordpress/trunk@18057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 18:41:35 +00:00
iandstewart
128c61411a Twenty Eleven: Style fixes and showcase improvements; Props matveb
* Remove bottom border from last post
* Improve featured posts on the showcase: move slider navigation to the top right; make sure the bottom border shows; make the reading more link thicker
* Positioning fix for image post format meta
* Dark stylesheet improvements
* Ensure search input text is centred vertically


git-svn-id: http://svn.automattic.com/wordpress/trunk@18050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 21:19:52 +00:00
ryan
8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
nacin
97e8bd742d Leverage option_page_capability_* filter in Twenty Eleven. fixes #14365.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:32:44 +00:00
nacin
7f98b9beaf Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:06:09 +00:00
lancewillett
033b47c5d3 Twenty Eleven footer style fixes, props matveb
* Improve footer credits, add WordPress PNG
 * Add hover color to footer links

git-svn-id: http://svn.automattic.com/wordpress/trunk@17908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 23:13:56 +00:00
lancewillett
ac33e2df00 Twenty Eleven updates and fixes, see #17198
* Add explanatory comments in all templates, following Twenty Ten's example
 * Stick with twentyeleven_ for prefixing filter names
 * Use post format content templates in search results
 * First pass at adding a template for adding a sidebar to pages
 * Add a featured post header to standard sticky posts
 * Style fixes: print media, comment styles for pages with sidebars, color of meta links on image post format

git-svn-id: http://svn.automattic.com/wordpress/trunk@17802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 22:54:50 +00:00
iandstewart
262a27b5cf Twenty Eleven: make sure that link color options set in theme-options.php will override showcase.php recent posts and ephemera widget link colors; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 22:04:39 +00:00
lancewillett
a87ba1d261 Twenty Eleven: theme options - see #17198
* Make color swatch clickable to open palette
 * Change color picker link to a submit button to match existing UI

git-svn-id: http://svn.automattic.com/wordpress/trunk@17754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 19:01:51 +00:00
nacin
58aa6a124a Rename twentyeleven_color_schemes hook to twentyeleven_enqueue_color_scheme, so its purpose is clear. Also rename twentyeleven_color_styles() to twentyeleven_enqueue_color_scheme(), and twentyeleven_link_color() (which sounds like a getter) to twentyeleven_print_link_color_style(). Some tidying in twentyeleven_layout_classes(). see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:05:53 +00:00
nacin
4964598cea Twenty Eleven: Fix up the color picker JS. Use a separate color swatch rather than the input background. While cool, it doesn't have suffficient contrast. Also set farbtastic as a JS dependency. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:32:34 +00:00
nacin
e43ec9377d Move files in inc/theme-options up one level. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:59:42 +00:00