Commit Graph

340 Commits

Author SHA1 Message Date
Daryl Koopersmith 5d5bf06ad5 Remove strikethrough from revisions UI. See #24422.
git-svn-id: https://develop.svn.wordpress.org/trunk@24354 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:25:22 +00:00
Andrew Ozz 336851f453 Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24297 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:25:24 +00:00
Andrew Ozz 582a2143e2 Post format retina icons for both color themes, props melchoyce, aaroncampbell. See #24290, see #24331.
git-svn-id: https://develop.svn.wordpress.org/trunk@24294 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:05:52 +00:00
Dominik Schilling (ocean90) 123d8a1258 Revisions UI: Redesigned slider handlers.
Also:
* Fix diff header styling in grey admin theme
* Prevent an overlap of the compare two checkbox on smaller screens

props melchoyce, DrewAPicture, adamsilverstein. fixes #24276.

git-svn-id: https://develop.svn.wordpress.org/trunk@24219 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:07:26 +00:00
Dominik Schilling (ocean90) 40cf994e77 Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24174 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 23:17:06 +00:00
Dominik Schilling (ocean90) 800d88397a Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: https://develop.svn.wordpress.org/trunk@24119 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 10:56:57 +00:00
Mark Jaquith 438f4085f1 Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
Helen Hou-Sandi c459c13113 CSS coding standards for [23995]. props SergeyBiryukov. see #23810.
git-svn-id: https://develop.svn.wordpress.org/trunk@24064 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:57:03 +00:00
Dominik Schilling (ocean90) 814a49b51b Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24020 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:12:25 +00:00
Dominik Schilling (ocean90) d8bf6c44b3 Revisions: Clean up JavaScript variable names, see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24019 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 19:34:21 +00:00
Dominik Schilling (ocean90) 2dc6fbae8c Revisions UI: Increase the text contrast/color for the diffs. see #23810.
git-svn-id: https://develop.svn.wordpress.org/trunk@23995 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 18:57:04 +00:00
Dominik Schilling (ocean90) b3879a543a Revisions UI: Remove the "To:" prefix from the header when viewing a single revision. Also prefix a revision field with a label.
props SergeyBiryukov, adamsilverstein, faishal. fixes #23903.

git-svn-id: https://develop.svn.wordpress.org/trunk@23994 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 18:40:17 +00:00
Mark Jaquith 25c799470e Revisions CSS cleanup.
props ocean90. fixes #23933

git-svn-id: https://develop.svn.wordpress.org/trunk@23901 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 15:49:28 +00:00
Peter Westwood b88687d67e Revisions: Update the Styling for the Revisions UI props karmatosed see #23497.
git-svn-id: https://develop.svn.wordpress.org/trunk@23638 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-07 15:11:23 +00:00
Helen Hou-Sandi 45b4d47b02 * Simplify jQuery UI slider CSS and bring into line with admin styles.
* Merge styles into wp-admin.css and colors-*.css.
* Scope the CSS with a class so as not to conflict with the color picker, which also utilizes jQuery UI slider. Authors wanting to use built-in styling for sliders should add a class of `.wp-slider` to the container to be intialized.

props karmatosed, helen. see #23497.


git-svn-id: https://develop.svn.wordpress.org/trunk@23581 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 19:24:03 +00:00
Helen Hou-Sandi a766d178db Revert [23369] and [23370]: the icons. see #23333.
git-svn-id: https://develop.svn.wordpress.org/trunk@23501 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 01:15:20 +00:00
Helen Hou-Sandi 6ef89f92c7 Revert [23407], thereby restoring gradients and shadows. see #23415.
git-svn-id: https://develop.svn.wordpress.org/trunk@23500 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 00:58:26 +00:00
Helen Hou-Sandi d8acf69968 Restore the following:
* Box shadow for screen options/help tabs focus state.
* Text shadow on the about screen badge to match the text shadow in the graphic itself.
* Border for credits screen gravatars, in place of the previous box shadow.

props nacin. see #23415.


git-svn-id: https://develop.svn.wordpress.org/trunk@23409 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-13 23:50:55 +00:00
Helen Hou-Sandi 4b2173708d Begin simplifying some of the visual elements in the admin, starting with gradients. White space purposefully not currently altered. props lessbloat, melchoyce, aaroncampbell, sabreuse. see #23415.
git-svn-id: https://develop.svn.wordpress.org/trunk@23407 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-13 22:43:48 +00:00
Andrew Ozz 85fa686346 New icons: make the .icon32 container larger to prevent clipping, see #23333
git-svn-id: https://develop.svn.wordpress.org/trunk@23370 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-02 01:01:35 +00:00
Andrew Ozz 11b614f32d New icons take one, props empireoflight, see #23333
git-svn-id: https://develop.svn.wordpress.org/trunk@23369 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-02 00:22:40 +00:00
Helen Hou-Sandi a38f0e16c5 Remove the long-broken and questionably useful [more]/[less] toggle for hierarchical taxonomies in Quick/Bulk Edit. Nobody seems to have noticed in the nearly 3 years it's been broken. fixes #23006
git-svn-id: https://develop.svn.wordpress.org/trunk@23354 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-28 22:36:15 +00:00
Helen Hou-Sandi 7c08d57982 Make sure .widefat border and background coloring only applies to tables. props MikeHansenMe. fixes #21936.
git-svn-id: https://develop.svn.wordpress.org/trunk@23315 602fd350-edb4-49c9-b593-d223f7449a82
2013-01-22 14:44:04 +00:00
Andrew Nacin 7e091de398 Revert [22767] and fix icon alignment issues in the sprites themselves. props lessbloat. fixes #22527.
git-svn-id: https://develop.svn.wordpress.org/trunk@22785 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-21 19:17:01 +00:00
Andrew Nacin 39df8515e5 Move the admin menu icons up one pixel, to restore their 3.4 positioning. props lessbloat. fixes #22527.
git-svn-id: https://develop.svn.wordpress.org/trunk@22767 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-21 15:37:43 +00:00
Andrew Nacin 0a830bf46b Fix up the 'Attach' dialog on upload.php.
We are de-emphasising attaching (see [22630]) but this is existing
core functionality and will remain for now. This commit just cleans
it up a bit so as to be less embarrassing.

props lessbloat, helenyhou.
fixes #20164.



git-svn-id: https://develop.svn.wordpress.org/trunk@22723 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-20 18:50:15 +00:00
Andrew Nacin d25a4e9795 Blue admin color scheme fixes. Fix admin menu styling. props melchoyce, helenyhou. fixes #22248.
git-svn-id: https://develop.svn.wordpress.org/trunk@22647 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-18 23:49:54 +00:00
Andrew Nacin fe14a22e31 Introduce a new, cross-browser HiDPI CSS @media rule to be used everywhere.
{{{
@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}}}

Serve HiDPI graphics for printing, regardless of screen resolution.

Specify Opera's vendor-prefixed device pixel ratio property, for Opera desktop.

Specify a minimum Webkit device pixel ratio of 1.25 instead of 1.5, to serve
2x images to Android devices that are between 1 and 1.5x (like the Nexus 7).
Firefox and Opera will respond to 1.5x on these devices, but Chrome will not.

Specify min-resolution, which covers Firefox 19. Opera on Android also supports
min-resolution, but Opera Mini does not support dppx, so the dpi unit is used.

props iammattthomas for the exhaustive research.
props lessbloat for patching.

fixes #22238.



git-svn-id: https://develop.svn.wordpress.org/trunk@22629 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-17 06:50:08 +00:00
Andrew Nacin 3d75ef25d8 For postboxes, only show arrows/handles on hover when JS is enabled (for HiDPI). props TobiasBg. fixes #21611.
git-svn-id: https://develop.svn.wordpress.org/trunk@22582 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 22:22:55 +00:00
Andrew Nacin 7f9ce4fbd3 Blue style fixes and updates. props melchoyce. see #22248.
git-svn-id: https://develop.svn.wordpress.org/trunk@22460 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-08 00:57:27 +00:00
Andrew Ozz f909a703b0 Editor: fix position of the resize handle in Text mode in RTL (also some minor css cleanup), see #21718
git-svn-id: https://develop.svn.wordpress.org/trunk@22458 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 23:33:21 +00:00
Andrew Ozz 0493132497 More retina backgrounds and bits, props saracannon, empireoflight and lessbloat, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@22439 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 20:54:08 +00:00
Andrew Nacin e59bf3e6d5 HiDPI versions of the generic menu page icon. props empireoflight, lessbloat. see #21019.
git-svn-id: https://develop.svn.wordpress.org/trunk@22393 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:25:18 +00:00
Andrew Nacin 1d1313833d For postboxes, only show arrows/handles on hover when JS is enabled. props TobiasBg. fixes #21611.
git-svn-id: https://develop.svn.wordpress.org/trunk@22391 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 00:05:47 +00:00
Andrew Ozz b709af4d63 Fix border at the bottom of active tabs in postboxes, fixes #17699
git-svn-id: https://develop.svn.wordpress.org/trunk@22389 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-05 23:38:16 +00:00
Ryan Boren 079288f0c8 Update autocomplete CSS to make nice with jQuery UI 1.9. Give ui-helper-hidden-accessible the same treatment as screen-reader-text. Props helenyhou. fixes #22166
git-svn-id: https://develop.svn.wordpress.org/trunk@22285 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 19:55:35 +00:00
Ryan Boren db18f7c749 Use HiDPI image for nav menu item disclosure arrow. Props dd32. fixes #22240
git-svn-id: https://develop.svn.wordpress.org/trunk@22284 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 19:47:32 +00:00
Andrew Ozz 1380819bfe Improve visible focus in the admin, props lessbloat, fixes #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@22268 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-22 19:51:51 +00:00
Daryl Koopersmith 201729df85 Revise and combine button selectors.
* Simplifies button selectors. Maintains backwards compatibility for several classes and makes creating new button styles considerably easier.
* Adds buttons documentation.
* Raw input submit/reset/button types now use default browser styles (instead of half-styled borders that did not look like buttons).
* Moves basic button color standardization to the beginning of wp-admin.

see #21598, #22197.



git-svn-id: https://develop.svn.wordpress.org/trunk@22239 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-15 21:25:25 +00:00
Daryl Koopersmith 2ec630204a Consolidate buttons CSS into a single file.
Adds `wp-includes/css/buttons.css` to consolidate buttons files and make them available in a modular fashion. Buttons are included automatically with the `colors` styles, and can be included independently by running:

	`wp_enqueue_style('buttons');`

fixes #22197, see #21598.


git-svn-id: https://develop.svn.wordpress.org/trunk@22236 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-15 14:55:29 +00:00
Daryl Koopersmith 163f99b942 Refine button styles, notably the gray buttons.
* Crisper edges, fewer outer shadows.
* Higher contrast borders on the gray buttons.
* Separates `button-large` from `button-primary`, and removes the `regular` override class.

props hugobaeta, helenyhou, lessbloat. see #21598.


git-svn-id: https://develop.svn.wordpress.org/trunk@22099 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-02 23:38:21 +00:00
Andrew Ozz 421a70cb77 Consolidated patch for retina support, props taylorde, props empireoflight, fixes #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@22031 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 02:12:54 +00:00
Andrew Ozz 8b575394a5 Fix background on split buttons, remove redundant !important, remove spacers, a little css cleanup, see #18141
git-svn-id: https://develop.svn.wordpress.org/trunk@22025 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 00:41:49 +00:00
Andrew Nacin 119bd9f50a New design and content for the welcome panel. First pass.
props lessbloat, helenyhou, georgestephanis, sabreuse, ryelle.
see #21368.



git-svn-id: https://develop.svn.wordpress.org/trunk@22018 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 19:44:43 +00:00
Andrew Nacin b6b9eef8bd A calmer, less distracting style for the TinyMCE toolbar.
props helenyhou, lessbloat, trepmal, fadingdust.
fixes #18141.



git-svn-id: https://develop.svn.wordpress.org/trunk@22016 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 18:24:02 +00:00
Andrew Ozz 7dc9b7a554 Add menu-vs-2x.png and 2x media-button.png, pngcrush all in wp-admin/images, props empireoflight, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@21980 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-24 19:44:42 +00:00
Andrew Nacin 1c58ef9f33 Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.
git-svn-id: https://develop.svn.wordpress.org/trunk@21944 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 19:34:23 +00:00
Andrew Nacin 9661c3bd9a Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466.
git-svn-id: https://develop.svn.wordpress.org/trunk@21878 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-16 23:03:35 +00:00
Daryl Koopersmith 7d6e53317c New button styles.
Using the new buttons:

* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".

For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.

get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).

props lessbloat, helenyhou, trepmal, nacin. see #21598.



git-svn-id: https://develop.svn.wordpress.org/trunk@21789 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-08 04:58:34 +00:00
Andrew Ozz 575e541b27 More visible :focus style for form elements, props lessbloat, see #21324
git-svn-id: https://develop.svn.wordpress.org/trunk@21641 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 05:48:58 +00:00