Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Ozz
9a7f69f2aa Twenty Eleven code review and cleanup, props dd32, fixes #17748
git-svn-id: https://develop.svn.wordpress.org/trunk@18253 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:16 +00:00
Ryan Boren
f2af00cb68 Add missing textdomain to twentyeleven contextual help. Props pavelevap. see #17744
git-svn-id: https://develop.svn.wordpress.org/trunk@18235 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 17:13:23 +00:00
Dion Hulse
b1cfb86661 * Don't clear link colour when switching layouts
* Update "default colour" link when a custom colour has been selected
Fixes #17746

git-svn-id: https://develop.svn.wordpress.org/trunk@18229 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 13:41:51 +00:00
Andrew Nacin
6b27776490 Twenty Eleven: Properly handle the default link color for the dark theme. props dcowgill for the patch refresh. fixes #17351.
git-svn-id: https://develop.svn.wordpress.org/trunk@18198 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:39:12 +00:00
Ian Stewart
5830f73e7d 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: https://develop.svn.wordpress.org/trunk@18181 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 21:28:56 +00:00
Andrew Nacin
aba7c4e9ce Use default argument for get_option(). props dcowgill, westi. fixes #17686.
git-svn-id: https://develop.svn.wordpress.org/trunk@18152 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 19:53:31 +00:00
Andrew Nacin
3e27653486 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: https://develop.svn.wordpress.org/trunk@18141 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 22:05:29 +00:00
Ryan Boren
e1e318b9ff Check result of add_theme_page(). Return if false. Props greuben. fixes #17677
git-svn-id: https://develop.svn.wordpress.org/trunk@18135 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 22:37:13 +00:00
Ryan Boren
0c893945ba Retain screen-reader-text for pages shown in the admin. see #17524
git-svn-id: https://develop.svn.wordpress.org/trunk@18123 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:59:11 +00:00
Ian Stewart
e6a591e5a8 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: https://develop.svn.wordpress.org/trunk@18117 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:30:07 +00:00
Ryan Boren
b41246fa30 Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
git-svn-id: https://develop.svn.wordpress.org/trunk@18101 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:28:42 +00:00
Ian Stewart
f313a881e8 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: https://develop.svn.wordpress.org/trunk@18072 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 01:29:55 +00:00
Ian Stewart
064786d47c Twenty Eleven: focus styles for all links; Fixes #17410
git-svn-id: https://develop.svn.wordpress.org/trunk@18057 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 18:41:35 +00:00
Ian Stewart
7d65cc5e09 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: https://develop.svn.wordpress.org/trunk@18050 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 21:19:52 +00:00
Ryan Boren
ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Andrew Nacin
0aae52702f Leverage option_page_capability_* filter in Twenty Eleven. fixes #14365.
git-svn-id: https://develop.svn.wordpress.org/trunk@17987 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:32:44 +00:00
Andrew Nacin
5c6a5a0045 Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444.
git-svn-id: https://develop.svn.wordpress.org/trunk@17959 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 19:06:09 +00:00
Lance Willett
563f488c69 Twenty Eleven footer style fixes, props matveb
* Improve footer credits, add WordPress PNG
 * Add hover color to footer links

git-svn-id: https://develop.svn.wordpress.org/trunk@17908 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 23:13:56 +00:00
Lance Willett
21c7b3c8d3 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: https://develop.svn.wordpress.org/trunk@17802 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 22:54:50 +00:00
Ian Stewart
11ceee4a24 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: https://develop.svn.wordpress.org/trunk@17755 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 22:04:39 +00:00
Lance Willett
7e151d5953 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: https://develop.svn.wordpress.org/trunk@17754 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 19:01:51 +00:00
Andrew Nacin
81755c790e 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: https://develop.svn.wordpress.org/trunk@17740 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 11:05:53 +00:00
Andrew Nacin
45677c6e26 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: https://develop.svn.wordpress.org/trunk@17737 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:32:34 +00:00
Andrew Nacin
fbd8700da1 Move files in inc/theme-options up one level. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17735 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:59:42 +00:00