From 3a94e4f3a7d88ae09d45769422b5ed9531b6f229 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 25 Dec 2022 21:54:51 +0100 Subject: [PATCH] feat: Switched styling to Bootstrap and applied basic stylings --- src/app/app.component.html | 15 +++++++- src/app/chatrooms/chatrooms.component.html | 17 ++++---- src/app/user/user.component.html | 17 ++++++-- src/styles.less | 45 +--------------------- 4 files changed, 35 insertions(+), 59 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 014c6b01..2b60aa81 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,2 +1,13 @@ -

{{title}}

- + + + + +
+ +
diff --git a/src/app/chatrooms/chatrooms.component.html b/src/app/chatrooms/chatrooms.component.html index bea94738..c2656757 100644 --- a/src/app/chatrooms/chatrooms.component.html +++ b/src/app/chatrooms/chatrooms.component.html @@ -1,9 +1,8 @@ -

Available Chatrooms

- +
+
+

Please Choose a Chat-Room

+
+
+ +
+
diff --git a/src/app/user/user.component.html b/src/app/user/user.component.html index de14e7bb..6108608d 100644 --- a/src/app/user/user.component.html +++ b/src/app/user/user.component.html @@ -1,6 +1,15 @@ -
- - - +
+
+

Please pick a Username

+
+
+
+
+ + +
+
+ +

Value: {{ name.value }}

diff --git a/src/styles.less b/src/styles.less index c1f208a2..37292bfe 100644 --- a/src/styles.less +++ b/src/styles.less @@ -1,44 +1 @@ -/* Application-wide Styles */ -h1 { - color: #369; - font-family: Arial, Helvetica, sans-serif; - font-size: 250%; -} -h2, h3 { - color: #444; - font-family: Arial, Helvetica, sans-serif; - font-weight: lighter; -} -body { - margin: 2em; -} -body, input[type="text"], button { - color: #333; - font-family: Cambria, Georgia, serif; -} -button { - background-color: #eee; - border: none; - border-radius: 4px; - cursor: pointer; - color: black; - font-size: 1.2rem; - padding: 1rem; - margin-right: 1rem; - margin-bottom: 1rem; - margin-top: 1rem; -} -button:hover { - background-color: black; - color: white; -} -button:disabled { - background-color: #eee; - color: #aaa; - cursor: auto; -} - -/* everywhere else */ -* { - font-family: Arial, Helvetica, sans-serif; -} +@import url('https://unpkg.com/bootstrap@3.4.1/dist/css/bootstrap.min.css'); -- 2.20.1