From acd881385c0643957de963eb5e82765a65552986 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Fri, 23 Jul 2021 12:25:21 +0100
Subject: [PATCH] Mass Tabs -> Spaces conversion
---
css/main.css | 52 +++----
images/client-icons/fluffychat.svg | 66 ++++----
index.html | 18 +--
scripts/serve-local.js | 22 +--
src/Link.js | 198 ++++++++++++------------
src/Platform.js | 20 +--
src/Preferences.js | 58 +++----
src/RootView.js | 34 ++--
src/RootViewModel.js | 66 ++++----
src/create/CreateLinkView.js | 40 ++---
src/create/CreateLinkViewModel.js | 8 +-
src/main.js | 28 ++--
src/open/ClientListView.js | 80 +++++-----
src/open/ClientListViewModel.js | 108 ++++++-------
src/open/ClientView.js | 78 +++++-----
src/open/ClientViewModel.js | 154 +++++++++---------
src/open/OpenLinkView.js | 10 +-
src/open/OpenLinkViewModel.js | 38 ++---
src/open/ServerConsentView.js | 4 +-
src/open/ServerConsentViewModel.js | 6 +-
src/open/clients/Element.js | 94 +++++------
src/open/clients/Fractal.js | 20 +--
src/open/clients/Nheko.js | 78 +++++-----
src/open/clients/Weechat.js | 28 ++--
src/open/clients/index.js | 18 +--
src/open/types.js | 10 +-
src/policy/LoadServerPolicyView.js | 10 +-
src/policy/LoadServerPolicyViewModel.js | 8 +-
src/preview/HomeServer.js | 92 +++++------
src/preview/PreviewView.js | 18 +--
src/preview/PreviewViewModel.js | 114 +++++++-------
31 files changed, 789 insertions(+), 789 deletions(-)
diff --git a/css/main.css b/css/main.css
index f953250..283adef 100644
--- a/css/main.css
+++ b/css/main.css
@@ -21,31 +21,31 @@ limitations under the License.
@import url('open.css');
:root {
- --app-background: #f4f4f4;
- --background: #ffffff;
- --foreground: #000000;
- --font: #333333;
- --grey: #666666;
- --accent: #0098d4;
- --error: #d6001c;
- --link: #0098d4;
- --borders: #f4f4f4;
+ --app-background: #f4f4f4;
+ --background: #ffffff;
+ --foreground: #000000;
+ --font: #333333;
+ --grey: #666666;
+ --accent: #0098d4;
+ --error: #d6001c;
+ --link: #0098d4;
+ --borders: #f4f4f4;
--lightgrey: #E6E6E6;
--spinner-stroke-size: 2px;
}
html {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
body {
- background-color: var(--app-background);
- background-image: url('../images/background.svg');
+ background-color: var(--app-background);
+ background-image: url('../images/background.svg');
background-attachment: fixed;
- background-repeat: no-repeat;
- background-size: auto;
- background-position: center -50px;
+ background-repeat: no-repeat;
+ background-size: auto;
+ background-position: center -50px;
height: 100%;
width: 100%;
font-size: 14px;
@@ -89,12 +89,12 @@ input[type="checkbox"], input[type="radio"] {
.RootView {
margin: 0 auto;
- max-width: 480px;
- width: 100%;
+ max-width: 480px;
+ width: 100%;
}
.card {
- background-color: var(--background);
+ background-color: var(--background);
border-radius: 16px;
box-shadow: 0px 18px 24px rgba(0, 0, 0, 0.06);
}
@@ -104,20 +104,20 @@ input[type="checkbox"], input[type="radio"] {
}
.hidden {
- display: none !important;
+ display: none !important;
}
@media screen and (max-width: 480px) {
body {
- background-image: none;
- background-color: var(--background);
- padding: 0;
+ background-image: none;
+ background-color: var(--background);
+ padding: 0;
}
.card {
- border-radius: unset;
- box-shadow: unset;
+ border-radius: unset;
+ box-shadow: unset;
}
}
@@ -141,7 +141,7 @@ input[type="checkbox"], input[type="radio"] {
}
a, button.text {
- color: var(--link);
+ color: var(--link);
}
button.text {
diff --git a/images/client-icons/fluffychat.svg b/images/client-icons/fluffychat.svg
index a3a9516..934ebd9 100644
--- a/images/client-icons/fluffychat.svg
+++ b/images/client-icons/fluffychat.svg
@@ -1,43 +1,43 @@
diff --git a/index.html b/index.html
index 7f5fdc8..dda600c 100644
--- a/index.html
+++ b/index.html
@@ -1,17 +1,17 @@
-
- You're invited to talk on Matrix
-
-
-
+
+ You're invited to talk on Matrix
+
+
+
-
+