From b569d6341235e5893d42002ed8673b219b909415 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 27 Jan 2018 18:25:49 -0800 Subject: [PATCH] different style for direct/private statuses --- bin/svgs.js | 2 ++ routes/_components/FreeTextLayout.html | 5 ----- routes/_components/status/Status.html | 8 +++++++- routes/_components/status/Toolbar.html | 8 +++++++- routes/settings/_components/SettingsNav.html | 2 +- scss/global.scss | 4 ++-- scss/themes/_base.scss | 2 ++ templates/2xx.html | 8 +++++--- 8 files changed, 26 insertions(+), 13 deletions(-) diff --git a/bin/svgs.js b/bin/svgs.js index b7fdece4..5eb596c8 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -14,4 +14,6 @@ module.exports = [ {id:'fa-eye', src:'node_modules/font-awesome-svg-png/white/svg/eye.svg', title: 'Show Sensitive Content'}, {id:'fa-eye-slash', src:'node_modules/font-awesome-svg-png/white/svg/eye-slash.svg', title: 'Hide Sensitive Content'}, {id:'fa-hashtag', src:'node_modules/font-awesome-svg-png/white/svg/hashtag.svg', title: 'Hashtag'}, + {id:'fa-lock', src:'node_modules/font-awesome-svg-png/white/svg/lock.svg', title: 'Locked'}, + {id:'fa-envelope', src:'node_modules/font-awesome-svg-png/white/svg/envelope.svg', title: 'Sealed Envelope'} ] \ No newline at end of file diff --git a/routes/_components/FreeTextLayout.html b/routes/_components/FreeTextLayout.html index 4257f55a..3c8cd8b7 100644 --- a/routes/_components/FreeTextLayout.html +++ b/routes/_components/FreeTextLayout.html @@ -11,9 +11,4 @@ :global(.free-text) { overflow-y: auto; /* fixes weird iOS Safari bug where scrolling gets stuck */ } - @media (max-width: 767px) { - :global(.free-text) { - margin: 10px; - } - } \ No newline at end of file diff --git a/routes/_components/status/Status.html b/routes/_components/status/Status.html index 92178386..84457134 100644 --- a/routes/_components/status/Status.html +++ b/routes/_components/status/Status.html @@ -1,4 +1,6 @@ -
+
{{#if status.reblog}}
@@ -85,6 +87,10 @@ border-bottom: 1px solid var(--main-border); } + .status-article.status-direct { + background-color: var(--status-direct-background); + } + :global(.status-sidebar) { grid-area: status-sidebar; margin: 0 10px 0 0; diff --git a/routes/_components/status/Toolbar.html b/routes/_components/status/Toolbar.html index c43ca63e..0628caa5 100644 --- a/routes/_components/status/Toolbar.html +++ b/routes/_components/status/Toolbar.html @@ -6,7 +6,13 @@