Permalink
Browse files

Theme Customizer: RTL styles. props ocean90. see #19910.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
koopersmith
koopersmith committed Apr 12, 2012
1 parent 1ec7a95 commit 017c1a2b818930fff5d6217b6354e9b5e381973c
@@ -41,6 +41,7 @@ TABLE OF CONTENTS:
23.0 - Misc
24.0 - Dead
25.0 - TinyMCE tweaks
+26.0 - Full Overlay w/ Sidebar
------------------------------------------------------------------------------*/
@@ -1471,6 +1472,90 @@ table .column-rating {
float: left;
}
+/*------------------------------------------------------------------------------
+ 26.0 - Full Overlay w/ Sidebar
+------------------------------------------------------------------------------*/
+.wp-full-overlay.collapsed,
+.wp-full-overlay.collapsed div.wp-full-overlay-header,
+.wp-full-overlay.collapsed div.wp-full-overlay-footer {
+ left: 0;
+ right: -302px;
+}
+
+.wp-full-overlay-sidebar {
+ box-shadow: inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 );
+ border-right: 0;
+ border-left: 1px solid rgba( 0, 0, 0, 0.2 );
+}
+
+.wp-full-overlay-main {
+ left: 0;
+ right: 300px;
+}
+
+.wp-full-overlay.collapsed .wp-full-overlay-main {
+ left: auto;
+ right: 0;
+}
+
+.wp-full-overlay-sidebar div.wp-full-overlay-header,
+.wp-full-overlay-sidebar div.wp-full-overlay-footer {
+ left: auto;
+ right: 0;
+}
+
+.wp-full-overlay-sidebar div.wp-full-overlay-header {
+ box-shadow:
+ inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 ),
+ inset 0 -1px 0 0px #dfdfdf;
+}
+
+.wp-full-overlay-sidebar div.wp-full-overlay-footer {
+ box-shadow:
+ inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 ),
+ inset 0 1px 0 0px #fff;
+}
+
+/* Return and close buttons. */
+.wp-full-overlay .close-full-overlay {
+ left: auto;
+ right: 20px;
+}
+
+/* Collapse Button */
+.wp-full-overlay .collapse-sidebar {
+ left: auto;
+ right: 265px;
+}
+
+.wp-full-overlay.collapsed .collapse-sidebar {
+ left: auto;
+ right: 315px;
+}
+
+.wp-full-overlay .collapse-sidebar-arrow {
+ margin-left: 9;
+ margin-right: 2px;
+ background: transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -108px;
+}
+
+.wp-full-overlay.collapsed .collapse-sidebar-arrow {
+ background-position: 0 -72px;
+}
+
+.wp-full-overlay .collapse-sidebar-label {
+ text-align: left;
+ position: absolute;
+ right: auto;
+ left: 100%;
+ margin-right: 0;
+ margin-left: 10px;
+}
+
+.wp-full-overlay.collapsed .collapse-sidebar-label {
+ display: none;
+}
+
/* MERGED */
@@ -5169,6 +5169,7 @@ body.full-overlay-active {
top: 0;
bottom: 0;
}
+
.wp-full-overlay.collapsed .wp-full-overlay-main {
left: 0;
}
@@ -5228,10 +5229,12 @@ body.full-overlay-active {
padding: 0;
border-radius: 50%;
}
+
.wp-full-overlay.collapsed .collapse-sidebar {
position: absolute;
left: 315px;
}
+
.wp-full-overlay .collapse-sidebar-arrow {
margin-top: 2px;
margin-left: 2px;
@@ -5240,6 +5243,7 @@ body.full-overlay-active {
height: 15px;
background: transparent url('../../wp-admin/images/arrows.png') no-repeat 0 -72px;
}
+
.wp-full-overlay.collapsed .collapse-sidebar-arrow {
background-position: 0 -108px;
}
@@ -5252,9 +5256,11 @@ body.full-overlay-active {
line-height: 20px;
margin-right: 10px;
}
+
.wp-full-overlay.collapsed .collapse-sidebar-label {
display: none;
}
+
.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-label {
color: #999;
}
No changes.
@@ -0,0 +1,83 @@
+.control-section .customize-section-title:hover {
+ box-shadow: inset 11px 0 8px -8px rgba( 0, 0, 0, 0.1 );
+}
+
+.customize-section-title:after {
+ right: auto;
+ left: 20px;
+}
+
+.customize-control {
+ float: right;
+}
+
+.customize-control-title {
+ clear: rigt;
+ float: right;
+ margin-right: 0;
+ margin-left: 10px;
+}
+
+.customize-control-text input,
+.customize-control-select select,
+.customize-control-checkbox input,
+.customize-control-color .color-picker,
+.customize-control-upload div {
+ float: right;
+ clear: left;
+}
+
+.customize-control-radio label {
+ float: right;
+ clear: both;
+}
+
+.customize-control-radio input {
+ margin-right: 0;
+ margin-left: 5px;
+}
+
+#customize-preview {
+ left: 0;
+ right: 300px;
+}
+
+/*
+ * Color Picker
+ */
+.customize-section .color-picker-hex span {
+ float: right;
+ margin: 1px 0 0 -2px;
+ padding: 3px 8px 3px 0;
+ text-align: left;
+}
+
+/*
+ * Image Picker
+ */
+.customize-section .customize-image-picker {
+ float: right;
+}
+
+.customize-section .customize-image-picker .thumbnail {
+ float: right;
+ clear: right;
+ margin-right: 0;
+ margin-left: 20px;
+}
+
+.customize-section .customize-image-picker .actions {
+ float: right;
+}
+
+.customize-section .customize-image-picker .library ul {
+ float: right;
+}
+
+.customize-section .customize-image-picker .library li {
+ float: right;
+}
+
+.customize-section .customize-image-picker .library div {
+ float: right;
+}
Oops, something went wrong.

0 comments on commit 017c1a2

Please sign in to comment.