Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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