about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-07-05 18:51:03 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-07-05 18:51:23 -0700
commitbba75c15f1f7a6878db730fdb3930d6b7a823da7 (patch)
treeb473a936563555e0ad03a6166379c485fc8254bf /app/javascript/styles
parent4cbbea58817c28a7cb9ee3d6acb2ff5c75484455 (diff)
Statuses redux!
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss35
1 files changed, 14 insertions, 21 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 7ec712723..9e91cd713 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -577,19 +577,19 @@
     }
   }
 
-  &.status-collapsed {
-    height: 48px;
+  &.collapsed {
     background-position: center;
     background-size: cover;
+    user-select: none;
 
-    &::before {
+    &.has-background::before {
       display: block;
       position: absolute;
       left: 0;
       right: 0;
       top: 0;
       bottom: 0;
-    	background-image: linear-gradient(to bottom, transparentize($ui-base-color, .15), transparentize($ui-base-color, .3) 24px, transparentize($ui-base-color, .35));
+    	background-image: linear-gradient(to bottom, rgba($base-shadow-color, .75), rgba($base-shadow-color, .65) 24px, rgba($base-shadow-color, .8));
       content: "";
     }
 
@@ -601,6 +601,10 @@
       height: 20px;
       overflow: hidden;
       text-overflow: ellipsis;
+
+      a:hover {
+        text-decoration: none;
+      }
     }
   }
 }
@@ -673,10 +677,9 @@
 }
 
 .status__prepend {
-  margin-left: 68px;
+  margin: -10px 0 10px;
   color: lighten($ui-base-color, 26%);
-  padding: 8px 0;
-  padding-bottom: 2px;
+  padding: 8px 0 2px;
   font-size: 14px;
   position: relative;
 
@@ -1072,12 +1075,6 @@
   strong {
     color: $primary-text-color;
   }
-
-  &.muted {
-    .emojione {
-      opacity: 0.5;
-    }
-  }
 }
 
 .status__display-name,
@@ -1122,10 +1119,9 @@
 }
 
 .status__avatar {
-  height: 48px;
-  left: 10px;
   position: absolute;
-  top: 10px;
+  margin-left: -58px;
+  height: 48px;
   width: 48px;
 }
 
@@ -1139,7 +1135,7 @@
     color: lighten($ui-base-color, 26%);
   }
 
-  .status__avatar {
+  .status__avatar, .emojione {
     opacity: 0.5;
   }
 
@@ -1155,7 +1151,7 @@
 }
 
 .notification__message {
-  margin-left: 68px;
+  margin: -10px 0 10px;
   padding: 8px 0;
   padding-bottom: 0;
   cursor: default;
@@ -2314,9 +2310,6 @@ button.icon-button.active i.fa-retweet {
   position: relative;
   text-align: center;
   z-index: 100;
-  margin-top: 15px;
-  margin-left:-68px;
-  width: calc(100% + 80px);
 }
 
 .media-spoiler__warning {