about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon/tables.scss
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-05-12 17:44:15 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-05-12 17:44:15 +0200
commit0f2fbf7d05825447a0f2a1e82b6137c069cb1658 (patch)
tree2ba520a7d71c0d2ec7e4a7dbfc973af264eb70c1 /app/javascript/styles/mastodon/tables.scss
parent7467361d706e38aa53b6bd2fcb919153327175ed (diff)
Improvements to toots display in admin view (#7452)
* Distinguish boosts from original statuses in the admin panel (fixes #7449)

* Show the “show more” button in admin view to make CWs clearer (fixes #7451)

* Make content warnings swag
Diffstat (limited to 'app/javascript/styles/mastodon/tables.scss')
-rw-r--r--app/javascript/styles/mastodon/tables.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/tables.scss b/app/javascript/styles/mastodon/tables.scss
index fa876e603..982bfd990 100644
--- a/app/javascript/styles/mastodon/tables.scss
+++ b/app/javascript/styles/mastodon/tables.scss
@@ -1,3 +1,9 @@
+@keyframes Swag {
+  0% { background-position: 0% 0%; }
+  50% { background-position: 100% 0%; }
+  100% { background-position: 200% 0%; }
+}
+
 .table {
   width: 100%;
   max-width: 100%;
@@ -187,6 +193,11 @@ a.table-action-link {
 
     strong {
       font-weight: 700;
+      background: linear-gradient(to right, orange , yellow, green, cyan, blue, violet,orange , yellow, green, cyan, blue, violet);
+      background-size: 200% 100%;
+      background-clip: text;
+      color: transparent;
+      animation: Swag 2s linear 0s infinite;
     }
   }
 }