Permalink
Browse files

Split sidebar styles into their own file.

  • Loading branch information...
1 parent 31d0cba commit e84951f429473c3be66f91c4c037aef6ba46c10d @dgraham committed Jun 25, 2012
Showing with 85 additions and 84 deletions.
  1. +0 −84 app/assets/stylesheets/main.css.scss
  2. +85 −0 app/assets/stylesheets/sidebar.css.scss
@@ -117,23 +117,6 @@ footer#bottom {
}
}
-#sidebar {
- min-height: 100%;
- width: 180px;
- position: absolute;
- top: 0;
- right: 0;
- background-color: #f8f8f8;
- font-size: 12px;
- border-left: 1px solid #efefef;
- border-top-right-radius: 5px;
- border-bottom-right-radius: 5px;
-}
-
-#sidebar-container {
- padding: 10px;
-}
-
#content > ul {
width: 520px;
@@ -209,73 +192,6 @@ li.user {
}
}
-#user-stats {
- margin-top: 10px;
-
- li {
- display: inline-block;
- margin-right: 15px;
-
- a span.count {
- font-weight: bold;
- display: block;
- color: #222;
- }
-
- a:hover span.count {
- color: inherit;
- text-decoration: none;
- }
- }
-}
-
-#user-links {
- margin-top: 10px;
- margin: 10px -10px 0 -10px;
-
- li {
- font-size: 14px;
- padding: 5px 10px;
-
- a:hover {
- text-decoration: none;
- }
-
- strong {
- float: right;
- }
- }
-
- li:hover {
- background-color: #fff;
- }
-}
-
-#current-user-info h3 {
- a {
- font-weight: bold;
- color: inherit;
- }
-
- a:hover {
- text-decoration: none;
- }
-
- a:hover #tweet-count {
- text-decoration: underline;
- }
-
- #tweet-count {
- display: block;
- font-size: 11px;
- font-weight: normal;
- }
-}
-
-#user-info li {
- margin-bottom: 3px;
-}
-
#tweet-content {
padding: 20px 60px 0;
@@ -0,0 +1,85 @@
+/* Styles for the sidebar content. */
+
+#sidebar {
+ min-height: 100%;
+ width: 180px;
+ position: absolute;
+ top: 0;
+ right: 0;
+ background-color: #f8f8f8;
+ font-size: 12px;
+ border-left: 1px solid #efefef;
+ border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+
+ #sidebar-container {
+ padding: 10px;
+ }
+
+ #user-stats {
+ margin-top: 10px;
+
+ li {
+ display: inline-block;
+ margin-right: 15px;
+
+ a span.count {
+ font-weight: bold;
+ display: block;
+ color: #222;
+ }
+
+ a:hover span.count {
+ color: inherit;
+ text-decoration: none;
+ }
+ }
+ }
+
+ #user-links {
+ margin-top: 10px;
+ margin: 10px -10px 0 -10px;
+
+ li {
+ font-size: 14px;
+ padding: 5px 10px;
+
+ a:hover {
+ text-decoration: none;
+ }
+
+ strong {
+ float: right;
+ }
+ }
+
+ li:hover {
+ background-color: #fff;
+ }
+ }
+
+ #current-user-info h3 {
+ a {
+ font-weight: bold;
+ color: inherit;
+ }
+
+ a:hover {
+ text-decoration: none;
+ }
+
+ a:hover #tweet-count {
+ text-decoration: underline;
+ }
+
+ #tweet-count {
+ display: block;
+ font-size: 11px;
+ font-weight: normal;
+ }
+ }
+
+ #user-info li {
+ margin-bottom: 3px;
+ }
+}

0 comments on commit e84951f

Please sign in to comment.