Commit Graph

30 Commits

Author SHA1 Message Date
Matt Thomas
e029951d27 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26433 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:15:29 +00:00
Matt Thomas
eb4dccce32 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26420 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:09:28 +00:00
Matt Thomas
8dcf785e95 Admin pointers don't work at responsive sizes because of responsive layout adjustments. Hide the pointers for now until they're made responsive. Fixes #25984.
git-svn-id: https://develop.svn.wordpress.org/trunk@26419 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 21:46:55 +00:00
Matt Thomas
47772b85ca 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26411 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:47:08 +00:00
Matt Thomas
ec10ecbebf 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26407 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:18:00 +00:00
Andrew Ozz
0329fb83e3 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26402 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:56:11 +00:00
Matt Thomas
10990e9a37 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26386 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:35:41 +00:00
Matt Thomas
183ac18d83 Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
git-svn-id: https://develop.svn.wordpress.org/trunk@26382 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:41:35 +00:00
Dion Hulse
e64d1e8eb7 Dashicons: Update to the latest dashicons files. Fixes #26251
These are imported from 9d78124720 [2013-11-25T11:03:44-08:00]



git-svn-id: https://develop.svn.wordpress.org/trunk@26378 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:03:27 +00:00
Matt Thomas
868ada7dfb 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26373 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 01:37:02 +00:00
Andrew Ozz
dcb22eb75f TinyMCE: use CSS classes instead of instance specific IDs for styling, props mattheu, fixes #26197.
git-svn-id: https://develop.svn.wordpress.org/trunk@26364 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 21:46:17 +00:00
Andrew Nacin
0ffc2ecf7b Fix alignment of the WordPress icon in the My Sites toolbar menu.
props jeremyfelt.
fixes #26154.


git-svn-id: https://develop.svn.wordpress.org/trunk@26348 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 12:08:35 +00:00
Sergey Biryukov
517e4681b1 Restore "Skip to toolbar" link color. fixes #26146.
git-svn-id: https://develop.svn.wordpress.org/trunk@26319 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 05:40:36 +00:00
Andrew Ozz
36536bce2f Fix the editor switching tabs position on small screens, props ryelle, fixes #26151.
git-svn-id: https://develop.svn.wordpress.org/trunk@26315 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:22:15 +00:00
Matt Thomas
c23257d7f2 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26309 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:02:44 +00:00
Andrew Ozz
7ae4a321e2 MP6: remove left-over plugin reference, see #25858
git-svn-id: https://develop.svn.wordpress.org/trunk@26290 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:23:32 +00:00
Matt Thomas
3a323a26b1 Improvements to the modal media uploader on mobile in landscape orientation.
* Merge the 782 and 500 width queries into a single 640px query
* At this breakpoint, remove the drop shadow and margin from the uploader modal
* For only landscape views, tabs are shown in a single line.
* Add padding to tab links to account for untappable 20px area at top of landscape viewport in iOS
* Add overflow: visible to .embed-link-settings at responsive sizes to prevent unnecessary framed scrolling

See #25977, props joen.



git-svn-id: https://develop.svn.wordpress.org/trunk@26250 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 20:06:47 +00:00
Andrew Nacin
e52857484a Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
props yoavf.
fixes #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26243 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-17 16:17:05 +00:00
Matt Thomas
c97a94c0d5 Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977.
git-svn-id: https://develop.svn.wordpress.org/trunk@26229 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:46:14 +00:00
Matt Thomas
8b8be72403 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26219 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:53:50 +00:00
Matt Thomas
bee7eda2aa 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26184 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 00:08:38 +00:00
Matt Thomas
c7a7d8f5f8 Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@26180 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 23:29:26 +00:00
Matt Thomas
062ffefbc5 Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@26177 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:43:00 +00:00
Matt Thomas
7c4e2caf01 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26176 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 22:36:34 +00:00
Matt Thomas
6a2adc2663 Replace icon-pointer-flag.png with the flag Dashicon. Fixes #25982.
git-svn-id: https://develop.svn.wordpress.org/trunk@26171 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 20:16:31 +00:00
Matt Thomas
24b68b6152 Reinstating this fix for the issue described in #18868, wherein some versions of Chrome open the About/"W" dropdown menu inadvertantly, like when clicking a select element. Fix was removed in the initial MP6 commit r26072, this brings it back. See #25858; props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@26132 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 15:35:35 +00:00
Andrew Nacin
d416108af5 Use CSSJanus via a Grunt task to generate right-to-left CSS.
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.

Benefits:
 * For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
 * For the core developer: Let the tools do the work.

Notes for core development:
 * The file generation task is `grunt rtl`.
 * `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
 * /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.

Expect RTL bugs. Please report them.

props yoavf.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26107 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-12 21:18:45 +00:00
Helen Hou-Sandi
17287af965 Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.

see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.


git-svn-id: https://develop.svn.wordpress.org/trunk@26072 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-10 00:26:50 +00:00
Andrew Ozz
ee5d2021e0 Upgrade TinyMCE to 3.5.9. Fix the css for the original 'fullscreen' plugin (not enabled by default).
Fixes #25561, fixes #25281.


git-svn-id: https://develop.svn.wordpress.org/trunk@25761 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 21:49:23 +00:00
Andrew Nacin
b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00