Commit Graph

2001 Commits

Author SHA1 Message Date
Helen Hou-Sandí
2c0501573d Keep #screen-meta font size consistent. props SergeyBiryukov. fixes #26300.
Built from https://develop.svn.wordpress.org/trunk@26452


git-svn-id: http://core.svn.wordpress.org/trunk@26350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:02:09 +00:00
Andrew Ozz
adf6080d19 Fix pending comments/plugins count bubbles, fixes #25918
Built from https://develop.svn.wordpress.org/trunk@26447


git-svn-id: http://core.svn.wordpress.org/trunk@26345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 01:30:10 +00:00
Matt Thomas
a14c73be87 Add spacing between elements, correct vertical alignment in Add New Category form. Fixes #26291, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26443


git-svn-id: http://core.svn.wordpress.org/trunk@26341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:07:11 +00:00
Matt Thomas
3a191feb1e Prevent submenu flyouts from appearing below elements in the main column. Fixes #26280.
Built from https://develop.svn.wordpress.org/trunk@26442


git-svn-id: http://core.svn.wordpress.org/trunk@26340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:02:09 +00:00
Andrew Ozz
1858b65dbb Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.
Built from https://develop.svn.wordpress.org/trunk@26439


git-svn-id: http://core.svn.wordpress.org/trunk@26337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:17:10 +00:00
Matt Thomas
3d43a7933b Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26438


git-svn-id: http://core.svn.wordpress.org/trunk@26336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:20:10 +00:00
Matt Thomas
a3261ab61a Set the font size for all text within .form-table to 14px. Fixes #26271.
Built from https://develop.svn.wordpress.org/trunk@26437


git-svn-id: http://core.svn.wordpress.org/trunk@26335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 20:12:11 +00:00
Matt Thomas
06f391665e Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272.
Built from https://develop.svn.wordpress.org/trunk@26436


git-svn-id: http://core.svn.wordpress.org/trunk@26334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:57:10 +00:00
Matt Thomas
acdc440547 Design fixes to the color picker:
* Apply top: 0 to .wp-color-result (open and closed).
* Reduce text size in hex-value field.
* Move hex-value-field styles to color-picker.css.

Fixes #26289, props mattheu.


Built from https://develop.svn.wordpress.org/trunk@26435


git-svn-id: http://core.svn.wordpress.org/trunk@26333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:51:11 +00:00
Matt Thomas
6f6c835c6c Style the hr element in the admin. Fixes #23856.
Built from https://develop.svn.wordpress.org/trunk@26434


git-svn-id: http://core.svn.wordpress.org/trunk@26332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:37:09 +00:00
Matt Thomas
01fdd027f0 Press This fixes:
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26433


git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:16:10 +00:00
Andrew Ozz
f752cc6658 Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26432


git-svn-id: http://core.svn.wordpress.org/trunk@26330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 17:45:09 +00:00
Andrew Ozz
e5b13dfdf3 Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.
Built from https://develop.svn.wordpress.org/trunk@26429


git-svn-id: http://core.svn.wordpress.org/trunk@26329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 02:03:10 +00:00
Andrew Ozz
f46e743343 Widgets: drop onto closed sidebars.
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952.
Built from https://develop.svn.wordpress.org/trunk@26426


git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Matt Thomas
2205a0885a Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26424


git-svn-id: http://core.svn.wordpress.org/trunk@26324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:55:11 +00:00
Matt Thomas
bc4a8f6494 Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26423


git-svn-id: http://core.svn.wordpress.org/trunk@26323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:44:10 +00:00
Matt Thomas
5a3717d526 Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26422


git-svn-id: http://core.svn.wordpress.org/trunk@26322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:36:11 +00:00
Andrew Ozz
758a07bfd3 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
Built from https://develop.svn.wordpress.org/trunk@26421


git-svn-id: http://core.svn.wordpress.org/trunk@26321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:19:14 +00:00
Matt Thomas
2fdde46bd8 Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26420


git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas
f11e29b4ef Remove gradients and text-shadow from ui-slider-handle and restyle it to mimic buttons. Match the background color to the chosen color scheme's -color. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26417


git-svn-id: http://core.svn.wordpress.org/trunk@26317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:38:10 +00:00
Matt Thomas
36b2183f03 Hide registered and users columns in Sites table on small screens to prevent columms from becoming too narrow. Fixes #25973, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26416


git-svn-id: http://core.svn.wordpress.org/trunk@26316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:37:09 +00:00
Matt Thomas
e682d6ba29 Match the background color of the responsive toggle button active state to -submenu-background, so it matches color schemes. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26415


git-svn-id: http://core.svn.wordpress.org/trunk@26315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:17:10 +00:00
Matt Thomas
126f6cec39 Eliminate the transition animation on the responsive sidebar; set the responsive sidebar to display: none by default so it doesn't appear momentarily when loading the page. Fixes #25969.
Built from https://develop.svn.wordpress.org/trunk@26414


git-svn-id: http://core.svn.wordpress.org/trunk@26314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:06:11 +00:00
Matt Thomas
d4eff70d07 Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
Built from https://develop.svn.wordpress.org/trunk@26413


git-svn-id: http://core.svn.wordpress.org/trunk@26313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 18:20:10 +00:00
Matt Thomas
24d4ba3ac4 Adjust the mceResize handle so it matches the handle on the plain text editor. See #26241.
Built from https://develop.svn.wordpress.org/trunk@26412


git-svn-id: http://core.svn.wordpress.org/trunk@26312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:53:10 +00:00
Matt Thomas
6a61711d24 Better alignment of Visual and Text tabs with editor, better alignment of word count container with editor, eliminate gap between tabs and editor on Press This. Fixes #26238, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26411


git-svn-id: http://core.svn.wordpress.org/trunk@26311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:48:09 +00:00
Matt Thomas
47b5c62d3e Restore the bottom border to .wp-editor-container so it's not missing when the editor appears outside the main editor container. Fixes #26241, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26410


git-svn-id: http://core.svn.wordpress.org/trunk@26310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:42:10 +00:00
Matt Thomas
f02c3f3037 Keep the resize handle from jumping around when switching between the Visual and Text editors. Fixes #26246, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26408


git-svn-id: http://core.svn.wordpress.org/trunk@26308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:29:09 +00:00
Matt Thomas
268c0dd8d8 Improvements to hover and focus states on the adminbar:
* Add a clear hover state for top-level links in the adminbar.
* Add :focus styles to the adminbar for keyboard accessibility.
* Ensure that the username link in the profile submenu gets a :hover style.
* Add adminbar hover styles to color schemes.
* Set -webkit-font-smoothing to subpixel-antialiased on the adminbar so that Safari doesn't switch to standard antialiasing on mouseover.

Fixes #26152, props ryelle.


Built from https://develop.svn.wordpress.org/trunk@26407


git-svn-id: http://core.svn.wordpress.org/trunk@26307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:18:11 +00:00
Andrew Ozz
b8984636c2 Clean up the sticky menu and responsive tweaks JS:
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086, fixes #26088.
Built from https://develop.svn.wordpress.org/trunk@26402


git-svn-id: http://core.svn.wordpress.org/trunk@26302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:57:10 +00:00
Matt Thomas
2d2d9c083e Remove the new thickbox styles from wp-admin.css. See #26178
Built from https://develop.svn.wordpress.org/trunk@26396


git-svn-id: http://core.svn.wordpress.org/trunk@26296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:35:10 +00:00
Matt Thomas
e34a91cb56 Make ratings stars 20px to match dashicons native size so they're crisp on all screens. See #26170, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26393


git-svn-id: http://core.svn.wordpress.org/trunk@26293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:12:09 +00:00
Helen Hou-Sandí
2c9af1367e Dashboard columns:
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.

props SergeyBiryukov, kraftbj, lessbloat. fixes #26074.

Built from https://develop.svn.wordpress.org/trunk@26392


git-svn-id: http://core.svn.wordpress.org/trunk@26292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:09:10 +00:00
Matt Thomas
1163eaeb7c Remove button-secondary class from Collapse link in theme installer; unify Collapse button styles in theme installer and Customize screen; add a border around the Collapse icon so it remains visible on dark backgrounds; move the color styles to colors-fresh. Fixes #26230.
Built from https://develop.svn.wordpress.org/trunk@26389


git-svn-id: http://core.svn.wordpress.org/trunk@26289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:14:09 +00:00
Matt Thomas
0e99fe6bb5 Add #adminmenu to this background color rule so it remains visible on mobile when the sidebar is longer than the main column, like on media-new.php. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26387


git-svn-id: http://core.svn.wordpress.org/trunk@26287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:51:09 +00:00
Matt Thomas
e86c507db0 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26386


git-svn-id: http://core.svn.wordpress.org/trunk@26286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:36:09 +00:00
Matt Thomas
9f529e99e3 Style the color picker button to match the new standard button style. Adjust font size and height of 'Default' button to match color picker button. Fixes #26179.
Built from https://develop.svn.wordpress.org/trunk@26385


git-svn-id: http://core.svn.wordpress.org/trunk@26285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:28:09 +00:00
Matt Thomas
10dc5dc6a1 Make sure that select elements vertically align properly with other text. Fixes #26136, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26384


git-svn-id: http://core.svn.wordpress.org/trunk@26284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:03:09 +00:00
Matt Thomas
eaa3690f2c Combine these selectors which both target the 'Menu Structure' heading on Edit Menus. Use .menu-edit instead of #post-body to ensure this margin applies only to the Edit Menus page. Fixes #26228.
Built from https://develop.svn.wordpress.org/trunk@26383


git-svn-id: http://core.svn.wordpress.org/trunk@26283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:54:09 +00:00
Matt Thomas
435c690d8f Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
Built from https://develop.svn.wordpress.org/trunk@26382


git-svn-id: http://core.svn.wordpress.org/trunk@26282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:42:10 +00:00
Dion Hulse
89dfee993d Replace the Star ratings in the dashboard with dashicons ratings.
This also moves the ratings to only displaying full, half, or empty stars (ie. 3.0, 3.5, 4.0, no 3.7 ratings - which are rounded).
Fixes #26170

Built from https://develop.svn.wordpress.org/trunk@26380


git-svn-id: http://core.svn.wordpress.org/trunk@26280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:25:21 +00:00
Matt Thomas
43ef093ce1 Add padding to #wpbody at viewports < 600px so that content isn't overlapped by the absolute-positioned adminbar. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26379


git-svn-id: http://core.svn.wordpress.org/trunk@26279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:05:10 +00:00
Matt Thomas
e54ee86aaa Make the responsive layout behave better when the user zooms the page:
* Change the smartphone media query from 480 to 600px so it captures large screen phones in landscape mode.
* Set #wpadminbar to position: absolute at smartphone sizes so it scrolls with the page, freeing up the viewport.
* Remove the transition states on #adminmenu for better performance on mobile devices
* Make the responsive sidebar scroll with the page instead of using a fixed position
* Remove the -webkit-overflow-scrolling rule that was disabling scroll-to-top when tapping the iOS status bar.
* Remove unnecessary zoom declaration from -ms-viewport.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26373


git-svn-id: http://core.svn.wordpress.org/trunk@26273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:38:10 +00:00
Matt Thomas
a901416416 Darken light gray text on dashboard widgets to ensure adequate color contrast. Fixes #26162, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26371


git-svn-id: http://core.svn.wordpress.org/trunk@26271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 23:50:09 +00:00
Dion Hulse
dc9c5073f5 Themes: Fix the Customize button for the current theme. Props jacklenox. Fixes #26214
Built from https://develop.svn.wordpress.org/trunk@26369


git-svn-id: http://core.svn.wordpress.org/trunk@26270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 07:04:10 +00:00
Andrew Ozz
c944323a4f Widgets:
- Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
- Change the chooser's HTML id to a class to avoid collisions when cloning.
- Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.
See #25821
Built from https://develop.svn.wordpress.org/trunk@26366


git-svn-id: http://core.svn.wordpress.org/trunk@26267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 22:07:10 +00:00
Dominik Schilling
d5f124f45e Add a missing semicolon.
Built from https://develop.svn.wordpress.org/trunk@26338


git-svn-id: http://core.svn.wordpress.org/trunk@26239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 16:30:10 +00:00
Matt Thomas
456ce72df2 Make disabled checkboxes and radios slightly less transparent for better visibility on low-contrast screens. Move this rule from colors-fresh to wp-admin as it's not color-specific. Fixes #26004.
Built from https://develop.svn.wordpress.org/trunk@26331


git-svn-id: http://core.svn.wordpress.org/trunk@26233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:56:09 +00:00
Matt Thomas
f0ec4ea835 Use the correct shade of blue for the default filled progress bar color, 0074a2 to match the default scheme's highlight color. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26330


git-svn-id: http://core.svn.wordpress.org/trunk@26232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:18:10 +00:00
Sergey Biryukov
5f5c95a5b6 Fix keyboard accessibility for row actions in list tables. Restore the CSS part of [25592], accidentally reverted in [26072].
fixes #26145.
Built from https://develop.svn.wordpress.org/trunk@26324


git-svn-id: http://core.svn.wordpress.org/trunk@26227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:20:10 +00:00
Sergey Biryukov
8a51dfff7d Remove gradient for invalid menu items. props melchoyce. fixes #26144.
Built from https://develop.svn.wordpress.org/trunk@26322


git-svn-id: http://core.svn.wordpress.org/trunk@26225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:36:10 +00:00
Dion Hulse
a4390517ca Increase the click target to 100% of the add-new-theme element. Props scottbasgaard. Fixes #25960
Built from https://develop.svn.wordpress.org/trunk@26321


git-svn-id: http://core.svn.wordpress.org/trunk@26224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:22:11 +00:00
Dion Hulse
37d2429ed8 Themes: Remove some unused invalid CSS. See #25948
Built from https://develop.svn.wordpress.org/trunk@26320


git-svn-id: http://core.svn.wordpress.org/trunk@26223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 06:40:10 +00:00
Dion Hulse
f392843074 Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
Built from https://develop.svn.wordpress.org/trunk@26317


git-svn-id: http://core.svn.wordpress.org/trunk@26221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 04:03:10 +00:00
Matt Thomas
79c8d875fa Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26311


git-svn-id: http://core.svn.wordpress.org/trunk@26215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:22:11 +00:00
Matt Thomas
9da12ebae7 Making a few more adjustments to the uploader progress bar styles. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26310


git-svn-id: http://core.svn.wordpress.org/trunk@26214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:11:09 +00:00
Matt Thomas
a3f4245602 Update the media upload interfaces to match new admin design:
* Replace separate progress bar designs on media-new.php and modal media uploader with a single consistent design
* Remove side borders from list of uploads on media-new.php
* Restyle the selected photo border and checkbox on modal media uploader
* Add a Media Uploader section to color schemes with progress bar and selected photo styles

Fixes #26147. Props melchoyce, iammattthomas.


Built from https://develop.svn.wordpress.org/trunk@26309


git-svn-id: http://core.svn.wordpress.org/trunk@26213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:03:10 +00:00
Matt Thomas
aed612cca4 Combine border and box-shadow styles for inputs, textareas, and selects. Set border-radius to 0 on these elements to override default styling in iOS. See #24387.
Built from https://develop.svn.wordpress.org/trunk@26308


git-svn-id: http://core.svn.wordpress.org/trunk@26212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 20:04:11 +00:00
Andrew Ozz
1aa122be5e Widgets:
- Prevent dragging of the widget-in-question when the chooser is open.
- Don't show more than one spinner when saving widgets positions.
- Disable selecting of text in the widget title. Prevents selecting/highlighting most of the screen when dragging on slower devices.
See #25821.
Built from https://develop.svn.wordpress.org/trunk@26306


git-svn-id: http://core.svn.wordpress.org/trunk@26210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:28:10 +00:00
Matt Thomas
6139ae6953 Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130.
Built from https://develop.svn.wordpress.org/trunk@26300


git-svn-id: http://core.svn.wordpress.org/trunk@26205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:31:10 +00:00
Matt Thomas
5d5114daf9 Bring the install/update screens in line with the new admin design. This affects:
* Creating a wp-config.php file
* Installation
* Database upgrade
* Database repair
* Readme.html
* Network sites actions

What's changed:

* Bring background/text/link/border colours in line with mp6
* Bring fonts in line with mp6 (see note below)
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
* Switch to the new vector WordPress logo in the header to match the log in screen
* Force table cells into rows in the <782px media query

Fixes #25951, props johnbillion.


Built from https://develop.svn.wordpress.org/trunk@26298


git-svn-id: http://core.svn.wordpress.org/trunk@26203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:21:11 +00:00
Matt Thomas
1fc3716b84 Some improvements to the dashboard activity widget:
* Use the correct background color for unapproved comments.
* Use the sale box-shadow style instead of a border between rows so the orange border is uninterrupted between multiple pending comments.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26297


git-svn-id: http://core.svn.wordpress.org/trunk@26202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:33:11 +00:00
Andrew Ozz
93faad2403 Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26296


git-svn-id: http://core.svn.wordpress.org/trunk@26201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:29:09 +00:00
Matt Thomas
f26fea70c5 Making improvements to new styles added in the MP6 merge, and addressing visual feedback from core team.
Improved and more consistent styling on the widgets & menus pages:

* Use the same visual treatment for both widgets and menus.
* Re-use existing styles from input:focus for draggable elements.
* Use the standard H3 size for widget area titles.
* Re-style the Widgets page drop zone to match drop zone from dashboard.
* Replace the gear icon on Widgets with the standard open/close arrows.
* Remove "Choose a sidebar" header from widget area chooser.

Make open/close arrows more consistent:

* Use the same arrow direction everywhere: pointing down when its container is closed, pointing up when open (following the Dashboard example).
* Set a consistent color for open/close arrows.
* Add a hover color for open/close arrows.
* Make open/close arrows permanently visible; :hover states don't exist on touch.

Make typography and color more consistent:

* Switch all declarations of #dedede to #ddd for simplicity's sake.
* Make H3s the same weight and color as H2s.
* Make select elements the same color as text inputs.
* Make paragraph text #444 so it doesn't look washed out on grey backgrounds.

General improvements:

* Eliminate the border between rows in settings tables.
* Make text and buttons line up in the Customizer.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26293


git-svn-id: http://core.svn.wordpress.org/trunk@26198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:48:09 +00:00
Andrew Nacin
4f08cf2efa Dash cleanup.
* Use wp_add_dashboard_widget() rather than add_meta_box().
 * Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
 * Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
 * Remove some debug cruft that was preventing caching and invalidation.
 * Simplify lots of things where possible.
see #25824.

Built from https://develop.svn.wordpress.org/trunk@26291


git-svn-id: http://core.svn.wordpress.org/trunk@26196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 19:44:12 +00:00
Matt Thomas
c30631fbcc Cleanup on inputs:
* Remove the !important from checkbox and radio border color
* Remove the redundant #wpbody select rule
* Add checkbox and radio inputs to the standard :focus style rules for inputs
* Remove custom border and box shadow styles from .login inputs
* Don't remove the default outline from select elements since webkit doesn't allow borders on selects

Fixes #26120.


Built from https://develop.svn.wordpress.org/trunk@26289


git-svn-id: http://core.svn.wordpress.org/trunk@26194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 16:54:10 +00:00
Andrew Ozz
30b1c76a01 Widgets: split the sidebars in two containers so there are no empty spaces when they are shown in two columns and some are open, other closed. See #25952.
Built from https://develop.svn.wordpress.org/trunk@26285


git-svn-id: http://core.svn.wordpress.org/trunk@26190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 04:45:10 +00:00
Andrew Ozz
7cce4a8d8d Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
Built from https://develop.svn.wordpress.org/trunk@26281


git-svn-id: http://core.svn.wordpress.org/trunk@26186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:41:09 +00:00
Dion Hulse
c6224a6c0c Themes page: Remove a z-index which caused the Current Theme overlay to overlay menu's, that otherwise appears unused. See #25948
Built from https://develop.svn.wordpress.org/trunk@26280


git-svn-id: http://core.svn.wordpress.org/trunk@26185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:30:10 +00:00
Andrew Ozz
4070cdcf66 Widgets:
- Fix support for expanding (wide) widgets in the Inactive Widgets area.
- Remove resizing of the sidebars height.
- Stop removing unneeded "for" attributes from labels inside the widgets. Was a fix for IE6 odd behaviour.  

See #26117.
Built from https://develop.svn.wordpress.org/trunk@26277


git-svn-id: http://core.svn.wordpress.org/trunk@26182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 01:35:10 +00:00
Andrew Ozz
8de3d7d15e Widgets:
- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117.
Built from https://develop.svn.wordpress.org/trunk@26275


git-svn-id: http://core.svn.wordpress.org/trunk@26180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:47:10 +00:00
Andrew Ozz
c19660468b Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
Built from https://develop.svn.wordpress.org/trunk@26271


git-svn-id: http://core.svn.wordpress.org/trunk@26176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:03:09 +00:00
Andrew Ozz
4a5e64e682 Widgets: remove some unused styles, props shaunandrews, see #25821
Built from https://develop.svn.wordpress.org/trunk@26259


git-svn-id: http://core.svn.wordpress.org/trunk@26165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:06:09 +00:00
Matt Thomas
929486f848 Make the item-controls elements on the Edit Menus page line up; use :before instead of :after for item-edit icons for better cross-browser performance; switch to :after instead of ::after for pseudo-elements so IE8 displays these icons properly. Fixes #26059, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26256


git-svn-id: http://core.svn.wordpress.org/trunk@26162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:10:10 +00:00
Matt Thomas
116d02da86 Put the 'Safe Draft' button back in its place in the Publish box. Fixes #26081, props aubreypwd.
Built from https://develop.svn.wordpress.org/trunk@26248


git-svn-id: http://core.svn.wordpress.org/trunk@26154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:04:09 +00:00
Matt Thomas
7fe71ffe81 Style and positioning fixes to form elements in the Publish box:
- Make select element text #555 to match others
- Make Cancel links vertically align with buttons
- Make sure the spacing between buttons and cancel links is always consistent
- Override active button styles for responsive states so button size doesn't change when active
- Reduce font size of date select element to match date text inputs

Fixes #26082, props aubreypwd.


Built from https://develop.svn.wordpress.org/trunk@26247


git-svn-id: http://core.svn.wordpress.org/trunk@26153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 18:53:10 +00:00
Andrew Nacin
fb69ea9028 Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
props yoavf.
fixes #24977.

Built from https://develop.svn.wordpress.org/trunk@26243


git-svn-id: http://core.svn.wordpress.org/trunk@26150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 16:18:11 +00:00
Sergey Biryukov
507f47d03f Fix CSS formatting. Remove redundant rule. see #25976. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26240


git-svn-id: http://core.svn.wordpress.org/trunk@26147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 01:11:09 +00:00
Sergey Biryukov
5965ca48ce Fix padding for Quick Draft dashboard widget when there are no drafts.
props aubreypwd.
fixes #26076.
Built from https://develop.svn.wordpress.org/trunk@26239


git-svn-id: http://core.svn.wordpress.org/trunk@26146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 00:38:09 +00:00
Andrew Nacin
791e807f08 More dash updates.
* Shuffle around some pixels.
 * Rename some things that weren't caught in [26220].
 * Revert default-widgets.php change from [26144].
props lessbloat.
see #25824.

Built from https://develop.svn.wordpress.org/trunk@26230


git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:23:09 +00:00
Matt Thomas
7b06d5b0a9 Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977.
Built from https://develop.svn.wordpress.org/trunk@26229


git-svn-id: http://core.svn.wordpress.org/trunk@26136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:47:09 +00:00
Matt Thomas
114d47cf18 Make the Install Plugins search results page responsive, so the table doesn't overflow the viewport. Props joen, fixes #25976.
Built from https://develop.svn.wordpress.org/trunk@26223


git-svn-id: http://core.svn.wordpress.org/trunk@26130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:59:11 +00:00
Andrew Nacin
963b2aa574 Merge wp_dashboard_recent_quickdrafts() into wp_dashboard_quick_press(). see #25824.
Built from https://develop.svn.wordpress.org/trunk@26221


git-svn-id: http://core.svn.wordpress.org/trunk@26129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:40:15 +00:00
Andrew Nacin
2cc8ed1594 Dash cleanup.
* Use wp_add_dashboard_widget() rather than add_meta_box().
 * Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
 * Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
 * Remove some debug cruft that was preventing caching and invalidation.
 * Simplify lots of things where possible.
see #25824.

Built from https://develop.svn.wordpress.org/trunk@26220


git-svn-id: http://core.svn.wordpress.org/trunk@26128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:15:10 +00:00
Matt Thomas
a9bab73408 Improvements to the media uploader at responsive sizes:
* Change load order so larger breakpoint loads before smaller breakpoint.
* Use absolute positioning rather than floats, to fix some overflow issues.
* Remove the max-height media query so desktop browsers benefit from the responsive styles.
* Reset text inputs to 16px so iOS doesn't force zoom.
* Adjust the position of the close button so it doesn't overlap the Create Gallery link.

See #25977. Props joen.


Built from https://develop.svn.wordpress.org/trunk@26219


git-svn-id: http://core.svn.wordpress.org/trunk@26127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:54:10 +00:00
Helen Hou-Sandí
a9c3558df2 We only need to declare Open Sans once in wp-admin.css. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26185


git-svn-id: http://core.svn.wordpress.org/trunk@26094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 00:15:11 +00:00
Matt Thomas
35557b1393 Fixing some inconsistent behavior on toolbar icons:
- Use .ab-icon:before, .ab-item:before, and #adminbarsearch:before to select all toolbar icons.
- Rewrite the selector for toolbar icon hover styles so they're not overridden by default colors.
- Add #adminbarsearch:before to color schemes, so its icon color is changed with the others.
- Remove duplicate color rule on #adminbarsearch:before.

See #25858.


Built from https://develop.svn.wordpress.org/trunk@26184


git-svn-id: http://core.svn.wordpress.org/trunk@26093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 00:09:10 +00:00
Helen Hou-Sandí
70330d468c Remove now-unused #adminmenushadow. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26182


git-svn-id: http://core.svn.wordpress.org/trunk@26091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:49:10 +00:00
Matt Thomas
5542f1c515 Color schemes should use .ab-icon:before instead of .ab-item:before to target adminbar icons. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26181


git-svn-id: http://core.svn.wordpress.org/trunk@26090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:46:10 +00:00
Matt Thomas
a71ffcfd24 Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
Built from https://develop.svn.wordpress.org/trunk@26180


git-svn-id: http://core.svn.wordpress.org/trunk@26089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:30:10 +00:00
Matt Thomas
922227d137 Reduce responsive menu transition animation from .2s to .05s to reduce lag. See #25969.
Built from https://develop.svn.wordpress.org/trunk@26179


git-svn-id: http://core.svn.wordpress.org/trunk@26088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:13:10 +00:00
Matt Thomas
8235710c41 In multisite, set storage space labels to nowrap to prevent unnecessary line breaks. Fixes #25919, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26178


git-svn-id: http://core.svn.wordpress.org/trunk@26087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:48:10 +00:00
Matt Thomas
10878d8422 Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
Built from https://develop.svn.wordpress.org/trunk@26177


git-svn-id: http://core.svn.wordpress.org/trunk@26086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:43:10 +00:00
Matt Thomas
ce8be8ec8b Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css. Remove unneeded font overrides and !importants where possible. Make sure the site menu item uses the globe icon consistently instead of switching to the home icon <782px. Fixes #25971.
Built from https://develop.svn.wordpress.org/trunk@26176


git-svn-id: http://core.svn.wordpress.org/trunk@26085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:37:09 +00:00
Andrew Nacin
b70b7a0ee1 More specific CSS for the dashboard activity widget.
props iammattthomas.
see #26028.

Built from https://develop.svn.wordpress.org/trunk@26175


git-svn-id: http://core.svn.wordpress.org/trunk@26084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:11:10 +00:00
Matt Thomas
a41f3f9bb3 Make the menu location screen full-width at responsive sizes. Fixes #25975, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26173


git-svn-id: http://core.svn.wordpress.org/trunk@26082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:43:11 +00:00
Matt Thomas
959adbf9f4 In bulk editing mode, make all columns full-width and increase the font size when at responsive sizes. Fixes #25978, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26172


git-svn-id: http://core.svn.wordpress.org/trunk@26081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:41:10 +00:00
Matt Thomas
46c9c4f33f Add a :disabled style for radio inputs and checkboxes. Fixes #26004.
Built from https://develop.svn.wordpress.org/trunk@26170


git-svn-id: http://core.svn.wordpress.org/trunk@26079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 19:46:10 +00:00
Helen Hou-Sandí
7598382a67 Remove old control/accordion section title gradients that were still appearing in the customizer and reinstate a divider between the customizer sidebar and the preview. props ryelle, helen. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26165


git-svn-id: http://core.svn.wordpress.org/trunk@26076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 16:42:10 +00:00
Andrew Nacin
1e74886e46 Move to grunt-sass, which which has less bells and whistles than grunt-contrib-sass but also no Ruby dependency.
see #25858, #22862, [26143].

Built from https://develop.svn.wordpress.org/trunk@26145


git-svn-id: http://core.svn.wordpress.org/trunk@26056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 23:38:29 +00:00