about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authornamelessGonbai <43787036+namelessGonbai@users.noreply.github.com>2018-11-06 02:52:38 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-11-05 18:52:38 +0100
commitbb5558de627ca9bc26949570025f6193cd7cbd98 (patch)
treee4bb5df10e67760271a7ab9a1a0c7272f2cca088 /app/javascript/styles
parenta7e3bd0300ee67acfe81c7727baacb0e4e34fead (diff)
Implement adding a user to a list from their profile (#9062)
* Add add user to list from thier profile

* Fix listAdderCss
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index e5d9f7b9f..481648054 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -5344,6 +5344,47 @@ noscript {
   }
 }
 
+.list-adder {
+  background: $ui-base-color;
+  flex-direction: column;
+  border-radius: 8px;
+  box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
+  width: 380px;
+  overflow: hidden;
+
+  @media screen and (max-width: 420px) {
+    width: 90%;
+  }
+
+  &__account {
+    background: lighten($ui-base-color, 13%);
+  }
+
+  &__lists {
+    background: lighten($ui-base-color, 13%);
+    height: 50vh;
+    border-radius: 0 0 8px 8px;
+    overflow-y: auto;
+  }
+
+  .list {
+    padding: 10px;
+    border-bottom: 1px solid lighten($ui-base-color, 8%);
+  }
+
+  .list__wrapper {
+    display: flex;
+  }
+
+  .list__display-name {
+    flex: 1 1 auto;
+    overflow: hidden;
+    text-decoration: none;
+    font-size: 16px;
+    padding: 10px;
+  }
+}
+
 .focal-point-modal {
   max-width: 80vw;
   max-height: 80vh;