Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

new CSS for the new ng templates

  • Loading branch information...
commit cd5a64f84c5f77ce95957e21a5a6a0d3a87709a5 1 parent 21f001e
@tilgovi authored
Showing with 32 additions and 29 deletions.
  1. +32 −29 h/css/common.scss
View
61 h/css/common.scss
@@ -380,6 +380,7 @@ blockquote {
//ANNOTATION////////////////////////////////
//This is for everything that is formatted as an annotation.
.annotation {
+ position: relative;
.user {
font-weight: bold;
@@ -404,15 +405,35 @@ blockquote {
}
+//THREADING////////////////////////////////
+//Threaded discussion specific
+.thread .annotator-listing {
+ border-left: 1px dotted $grayLight;
+
+ .threadexp {
+ height: $threadexp-width;
+ width: $threadexp-width;
+ position: absolute;
+ top: .8em;
+ left: -($threadexp-width / 2);
+ outline: 1px dotted #aaa;
+ @include icon("minus_1.png");
+ }
+
+ .annotation {
+ padding-left: $thread-padding;
+ padding-top: .35em;
+ &.squished {
+ padding-left: 0;
+ }
+ }
+}
+
+
//DETAIL////////////////////////////////
//This is specific to the detail view.
.detail {
- position: relative;
- .paper > .threadexp {
- display: none;
- }
-
.annotator-controls {
@include single-transition(opacity, .25s, ease-in-out);
opacity: 0;
@@ -429,29 +450,6 @@ blockquote {
margin-bottom: .25em;
}
- //Threaded discussion specific
- .annotator-listing {
- border-left: 1px dotted $grayLight;
-
- .threadexp {
- height: $threadexp-width;
- width: $threadexp-width;
- position: absolute;
- top: .8em;
- left: -($threadexp-width / 2);
- outline: 1px dotted #aaa;
- @include icon("minus_1.png");
- }
-
- & > .detail, .writer {
- padding-left: $thread-padding;
- padding-top: .35em;
- &.squished {
- padding-left: 0;
- }
- }
- }
-
&.hover {
& > .annotator-controls {
opacity: 1;
@@ -459,7 +457,7 @@ blockquote {
}
//These are all the changes needed to collapse thread objects.
- &.collapsed {
+ .collapsed {
& > .body {
overflow: hidden;
text-overflow: ellipsis;
@@ -498,6 +496,11 @@ blockquote {
@include smallshadow(2px, 1px, .1);
bottom: 0px;
}
+
+ // Things not shown in the summary view
+ .annotator-controls, .bottombar, .excerpt, .thread {
+ display: none;
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.