From 0e1dab40cc649c4add827fa11b6a67ae81b04753 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 12 Mar 2021 14:37:52 -0500 Subject: [PATCH] style tweaks to send add/edit page (#767) * style tweaks to send add/edit page * remove redundant conditional --- src/app/send/add-edit.component.html | 98 +++++++++++++++------------- src/scss/misc.scss | 8 --- src/scss/variables.scss | 3 - 3 files changed, 51 insertions(+), 58 deletions(-) diff --git a/src/app/send/add-edit.component.html b/src/app/send/add-edit.component.html index e5fb34f160..7e13e7bb00 100644 --- a/src/app/send/add-edit.component.html +++ b/src/app/send/add-edit.component.html @@ -15,45 +15,43 @@ +
+ +
+ + +
+
+
+ + +
+
+ +
{{send.file.fileName}} ({{send.file.sizeName}})
+
+
+ + +
+ + + -
+
- -
- -
- - -
-
-
- - -
{{'sendFileDesc' | i18n}} {{'maxFileSize' | i18n}}
-
-
- -
- -
{{send.file.fileName}} ({{send.file.sizeName}})
-
-
- -
- - -
{{'sendTextDesc' | i18n}}
-
-
- - -
-
+
+ + +
@@ -73,13 +71,13 @@ -
{{'deletionDateDesc' | i18n}}
+ {{'deletionDateDesc' | i18n}}
-
{{'deletionDateDesc' | i18n}}
+ {{'deletionDateDesc' | i18n}}
@@ -87,13 +85,13 @@ -
{{'expirationDateDesc' | i18n}}
+ {{'expirationDateDesc' | i18n}}
-
{{'expirationDateDesc' | i18n}}
+ {{'expirationDateDesc' | i18n}}
@@ -102,13 +100,15 @@
-
{{'maxAccessCountDesc' | i18n}}
-
-
- -
+ +
@@ -116,7 +116,6 @@
-
{{'sendPasswordDesc' | i18n}}
+
@@ -135,9 +137,11 @@
- {{'sendNotesDesc' | i18n}}
+
diff --git a/src/scss/misc.scss b/src/scss/misc.scss index 2ae5737ea3..7e780c0d1d 100644 --- a/src/scss/misc.scss +++ b/src/scss/misc.scss @@ -4,14 +4,6 @@ small { font-size: $font-size-small; } -.subtext { - font-size: $font-size-small; - @include themify($themes) { - color: themed('subtextColor') !important; - } - padding-top: 5px; -} - .bg-primary { @include themify($themes) { background-color: themed('primaryColor') !important; diff --git a/src/scss/variables.scss b/src/scss/variables.scss index 98ab045672..b5415db96c 100644 --- a/src/scss/variables.scss +++ b/src/scss/variables.scss @@ -88,7 +88,6 @@ $themes: ( passwordSpecialColor: #c40800, calloutBorderColor: $border-color-dark, calloutBackgroundColor: $background-color, - subtextColor: #6c757d, ), dark: ( textColor: #ffffff, @@ -139,7 +138,6 @@ $themes: ( passwordSpecialColor: #ff7c70, calloutBorderColor: #2f2f2f, calloutBackgroundColor: #363636, - subtextColor: #938a82, ), nord: ( textColor: $nord5, @@ -190,7 +188,6 @@ $themes: ( passwordSpecialColor: $nord12, calloutBorderColor: $nord1, calloutBackgroundColor: $nord2, - subtextColor: $nord4, ), );