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: http://core.svn.wordpress.org/trunk@24219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2013-05-09 10:07:26 +00:00
parent 8eeb2fe48d
commit 62b1b71b02
7 changed files with 115 additions and 42 deletions

View File

@@ -955,14 +955,32 @@ th.sorted a span {
11.2 - Post Revisions
------------------------------------------------------------------------------*/
#diff-slider .ui-slider-tooltip,
#diff-slider-ticks .ui-slider-tooltip {
margin-left: 0;
margin-right: -78px;
}
.wp-slider .ui-slider-handle.left-handle:before,
.wp-slider .ui-slider-handle.right-handle:before {
height: 8px;
width: 7px;
}
.wp-slider .ui-slider-handle.left-handle:before {
background-position: -5px -10px;
left: 6px;
}
.wp-slider .ui-slider-handle.right-handle:before {
background-position: -4px -29px;
left: 6px;
}
#toggle-revision-compare-mode {
right: auto;
left: 0;
padding: 9px 0 0 9px;
}
#diff-next-revision {
float: left;
}
@@ -971,6 +989,10 @@ th.sorted a span {
float: right;
}
#diff-header {
padding: 5px 5px 5px 200px;
}
.diff-title {
float: right;
}
@@ -982,6 +1004,11 @@ th.sorted a span {
margin-left: 5px;
}
.diff-title img {
margin-left: 0;
margin-right: 5px;
}
#restore-revision {
margin-left: 0;
margin-right: 10px;
@@ -2723,6 +2750,12 @@ div.sidebar-name h3 {
#content-resize-handle {
background: transparent url('../images/resize-rtl-2x.gif') no-repeat scroll left bottom;
}
.wp-slider .ui-slider-handle:before {
background-image: url(../images/arrows-pr-2x.png);
background-size: 16px 102px;
}
}
/* =Localized CSS