Permalink
Browse files

MINOR Rotated labels for collapsed panels

  • Loading branch information...
1 parent e7747b0 commit c6e19370216aaafe5ea74843537ae2c138877eed @chillu chillu committed Jan 6, 2012
Showing with 25 additions and 0 deletions.
  1. +1 −0 admin/code/LeftAndMain.php
  2. +2 −0 admin/css/ie8.css
  3. +2 −0 admin/css/screen.css
  4. +12 −0 admin/scss/_style.scss
  5. +8 −0 admin/scss/ie8.scss
@@ -300,6 +300,7 @@ function init() {
if($ie) {
$version = substr($_SERVER['HTTP_USER_AGENT'], $ie + 5, 3);
if($version == 7) Requirements::css('sapphire/admin/css/ie7.css');
+ else if($version == 8) Requirements::css('sapphire/admin/css/ie8.css');
}
// Custom requirements
View
@@ -0,0 +1,2 @@
+.cms-panel .cms-panel-content-collapsed { width: 40px; }
+.cms-panel .cms-panel-content-collapsed h2, .cms-panel .cms-panel-content-collapsed h3 { display: none; }
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -796,6 +796,18 @@ form.member-profile-form {
padding: 0;
}
*/
+
+ }
+
+ .cms-panel-content-collapsed {
+ width: 40px;
+
+ h2, h3 {
+ border-bottom: 0;
+ margin-left: $grid-vertical;
+ @include transform-origin(bottom, left);
+ @include rotate(90deg);
+ }
}
.child-flyout-indicator {
View
@@ -0,0 +1,8 @@
+.cms-panel {
+ .cms-panel-content-collapsed {
+ width: 40px;
+ h2, h3 {
+ display: none;
+ }
+ }
+}

0 comments on commit c6e1937

Please sign in to comment.