about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-05 21:06:46 +0200
committerThibaut Girka <thib@sitedethib.com>2018-05-05 22:33:02 +0200
commitcaebf69e77e1d7be9102e0bc9f59412462fed3ae (patch)
tree6d7105309c3eafce356fa4c607730057463990bd
parentbd3b9bf7b9b0fa934475684d631b3fa18928c084 (diff)
Move attachment-lists out of lists.scss
-rw-r--r--app/javascript/flavours/glitch/styles/components/lists.scss64
-rw-r--r--app/javascript/flavours/glitch/styles/components/status.scss64
2 files changed, 64 insertions, 64 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/lists.scss b/app/javascript/flavours/glitch/styles/components/lists.scss
index 24efe60df..f5837c6c4 100644
--- a/app/javascript/flavours/glitch/styles/components/lists.scss
+++ b/app/javascript/flavours/glitch/styles/components/lists.scss
@@ -1,67 +1,3 @@
-.attachment-list {
-  display: flex;
-  font-size: 14px;
-  border: 1px solid lighten($ui-base-color, 8%);
-  border-radius: 4px;
-  margin-top: 14px;
-  overflow: hidden;
-
-  &__icon {
-    flex: 0 0 auto;
-    color: $dark-text-color;
-    padding: 8px 18px;
-    cursor: default;
-    border-right: 1px solid lighten($ui-base-color, 8%);
-    display: flex;
-    flex-direction: column;
-    align-items: center;
-    justify-content: center;
-    font-size: 26px;
-
-    .fa {
-      display: block;
-    }
-  }
-
-  &__list {
-    list-style: none;
-    padding: 4px 0;
-    padding-left: 8px;
-    display: flex;
-    flex-direction: column;
-    justify-content: center;
-
-    li {
-      display: block;
-      padding: 4px 0;
-    }
-
-    a {
-      text-decoration: none;
-      color: $dark-text-color;
-      font-weight: 500;
-
-      &:hover {
-        text-decoration: underline;
-      }
-    }
-  }
-
-  &.compact {
-    border: 0;
-    margin-top: 4px;
-
-    .attachment-list__list {
-      padding: 0;
-      display: block;
-    }
-
-    .fa {
-      color: $dark-text-color;
-    }
-  }
-}
-
 .list-editor {
   background: $ui-base-color;
   flex-direction: column;
diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss
index cc0a1c5b1..7c7f9824a 100644
--- a/app/javascript/flavours/glitch/styles/components/status.scss
+++ b/app/javascript/flavours/glitch/styles/components/status.scss
@@ -734,3 +734,67 @@
   top: 4px;
   z-index: 5;
 }
+
+.attachment-list {
+  display: flex;
+  font-size: 14px;
+  border: 1px solid lighten($ui-base-color, 8%);
+  border-radius: 4px;
+  margin-top: 14px;
+  overflow: hidden;
+
+  &__icon {
+    flex: 0 0 auto;
+    color: $dark-text-color;
+    padding: 8px 18px;
+    cursor: default;
+    border-right: 1px solid lighten($ui-base-color, 8%);
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    justify-content: center;
+    font-size: 26px;
+
+    .fa {
+      display: block;
+    }
+  }
+
+  &__list {
+    list-style: none;
+    padding: 4px 0;
+    padding-left: 8px;
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+
+    li {
+      display: block;
+      padding: 4px 0;
+    }
+
+    a {
+      text-decoration: none;
+      color: $dark-text-color;
+      font-weight: 500;
+
+      &:hover {
+        text-decoration: underline;
+      }
+    }
+  }
+
+  &.compact {
+    border: 0;
+    margin-top: 4px;
+
+    .attachment-list__list {
+      padding: 0;
+      display: block;
+    }
+
+    .fa {
+      color: $dark-text-color;
+    }
+  }
+}