From 16d68f6dba020d6b9cdb7cda973c2a957b563bc3 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 20 Nov 2012 18:22:19 +0000 Subject: [PATCH] RTL media-views fixes. props ocean90. fixes #22453. git-svn-id: https://develop.svn.wordpress.org/trunk@22720 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/css/media-views-rtl.css | 29 +++++++++++++---------------- wp-includes/css/media-views.css | 4 ---- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/wp-includes/css/media-views-rtl.css b/wp-includes/css/media-views-rtl.css index 6e21400534..762d647539 100644 --- a/wp-includes/css/media-views-rtl.css +++ b/wp-includes/css/media-views-rtl.css @@ -16,7 +16,7 @@ /** * Toolbar */ -.media-frame > .media-toolbar { +.media-frame-toolbar > .media-toolbar { left: 0; right: 200px; border-width: 1px 0 0 0; @@ -95,7 +95,6 @@ padding-left: 1px; } - /** * Menu */ @@ -107,6 +106,14 @@ box-shadow: inset 6px 0 6px -6px rgba( 0, 0, 0, 0.2 ) } +/** + * Attachment Browser Filters + */ +.media-frame select.attachment-filters { + margin-right: 0; + margin-left: 10px; +} + /** * Frame */ @@ -144,30 +151,21 @@ float: right; } -.attachment.library.selected:after { - right: auto; - left: -1px; - border-width: 0 1px 1px 0; - - box-shadow: 1px 1px 0 rgba( 0, 0, 0, 0.1 ); -} - .attachment .icon, .attachment .thumbnail { left: auto; right: 0; } -.attachment .insert { - left: auto; - right: 7px; -} - .attachment .close { right: auto; left: 5px; } +.attachment .check { + right: auto; + left: -7px; +} /** * Progress Bar @@ -212,7 +210,6 @@ background-image: linear-gradient(to right, rgba( 255, 255, 255, 1 ) , rgba( 255, 255, 255, 0 ) ); } - /** * Selection Preview */ diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index 1ad23ced2e..9edfbdec2a 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -1,7 +1,6 @@ /** * Base Styles */ - .media-frame input, .media-frame textarea { padding: 6px 8px; @@ -632,7 +631,6 @@ border-radius: 0; } - /** * Attachments Browser */ @@ -644,7 +642,6 @@ height: 50px; } - .attachments-browser .media-toolbar-primary > .media-button, .attachments-browser .media-toolbar-primary > .media-button-group, .attachments-browser .media-toolbar-secondary > .media-button, @@ -669,7 +666,6 @@ color: #999; } - /** * Progress Bar */