diff --git a/front/volume/index.html b/front/volume/index.html
index f7bb4f8..15fcd19 100644
--- a/front/volume/index.html
+++ b/front/volume/index.html
@@ -6,6 +6,7 @@
Pong
+
diff --git a/front/volume/public/global.css b/front/volume/public/global.css
index 420c3fb..d7f5bb0 100644
--- a/front/volume/public/global.css
+++ b/front/volume/public/global.css
@@ -5,16 +5,21 @@ html, body {
height: 100%;
}
+body, input, button {
+ font-family: 'Press Start 2P', cursive;
+ font-size: 16px;
+}
+
body {
- color: #333;
+ color: #e8e6e3;
margin: 0;
padding: 8px;
box-sizing: border-box;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+ background-color: #212529;
}
a {
- color: rgb(0,100,200);
+ color: #198754;
text-decoration: none;
}
@@ -23,7 +28,7 @@ a:hover {
}
a:visited {
- color: rgb(0,80,160);
+ color: #157347;
}
label {
@@ -33,32 +38,40 @@ label {
input, button, select, textarea {
font-family: inherit;
font-size: inherit;
- -webkit-padding: 0.4em 0;
- padding: 0.4em;
+ padding: 0.4em 0;
margin: 0 0 0.5em 0;
box-sizing: border-box;
- border: 1px solid #ccc;
- border-radius: 2px;
+ border: 1px solid #495057;
+ border-radius: 4px;
+ background-color: #343a40;
+ color: #e8e6e3;
}
input:disabled {
- color: #ccc;
+ color: #6c757d;
}
button {
- color: #333;
- background-color: #f4f4f4;
+ color: #e8e6e3;
+ background-color: #198754;
+ border: none;
+ cursor: pointer;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ transition: background-color 0.2s ease-in-out;
+ font-size: 1rem;
outline: none;
}
button:disabled {
- color: #999;
+ color: #6c757d;
+ cursor: not-allowed;
}
button:not(:disabled):active {
- background-color: #ddd;
+ background-color: #157347;
}
button:focus {
- border-color: #666;
-}
+ box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.25);
+}
\ No newline at end of file
diff --git a/front/volume/public/img/pong.png b/front/volume/public/img/pong.png
index 72657d3..a025495 100644
Binary files a/front/volume/public/img/pong.png and b/front/volume/public/img/pong.png differ
diff --git a/front/volume/src/App.svelte b/front/volume/src/App.svelte
index 42ddeff..16cd502 100644
--- a/front/volume/src/App.svelte
+++ b/front/volume/src/App.svelte
@@ -201,11 +201,20 @@
+
\ No newline at end of file
diff --git a/front/volume/src/components/Channels.svelte b/front/volume/src/components/Channels.svelte
index b7aa73d..4af5626 100644
--- a/front/volume/src/components/Channels.svelte
+++ b/front/volume/src/components/Channels.svelte
@@ -191,52 +191,71 @@
justify-content: center;
align-items: center;
}
+
.channels {
- background-color: #fff;
- border: 1px solid #ccc;
+ background-color: #5f5e5e;
+ border: 1px solid #dedede;
border-radius: 5px;
padding: 1rem;
width: 300px;
+ display: flex;
+ flex-direction: column;
+ overflow: auto;
+ }
+
+ h2 {
+ font-size: 18px;
+ margin-bottom: 1rem;
+ }
+
+ p {
+ font-size: 14px;
+ margin-bottom: 1rem;
}
-
+
+ li {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ font-size: 14px;
+ margin-bottom: 0.5rem;
+ flex-wrap: wrap;
+ }
+
+ button {
+ background-color: #6B8E23;
+ color: #ffffff;
+ border: none;
+ border-radius: 5px;
+ padding: 0.5rem 1rem;
+ font-size: 14px;
+ cursor: pointer;
+ outline: none;
+ white-space: nowrap;
+ margin-bottom: 5px;
+ }
+
select {
width: 100%;
- height: 15%;
- padding: 5px;
- border-radius: 4px;
- background: #eee;
- border: none;
- outline: grey;
- display: inline-block;
- -webkit-appearance: none;
- -moz-appearance: none;
+ padding: 0.5rem;
+ border: 1px solid #dedede;
+ border-radius: 5px;
+ background-color: #5e5d5d;
+ font-size: 14px;
+ margin-bottom: 1rem;
appearance: none;
cursor: pointer;
}
.button {
- color: white;
- margin:0 auto;
- margin: auto;
- width: 45%;
- height: 15%;
- padding: 5px;
- border-radius: 4px;
- background: #6B8E23;
+ background-color: #6B8E23;
+ color: #ffffff;
border: none;
- outline: grey;
- display:block;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
+ border-radius: 5px;
+ padding: 0.5rem 1rem;
+ font-size: 14px;
cursor: pointer;
+ outline: none;
+ width: 100%;
}
-
- span {
- color: rgb(0, 0, 0);
- font-size: 150%;
- position: relative;
- padding: 10px;
- top: 2px;
- }
-
+
\ No newline at end of file
diff --git a/front/volume/src/components/Chat.svelte b/front/volume/src/components/Chat.svelte
index b0ce12f..bcc3662 100644
--- a/front/volume/src/components/Chat.svelte
+++ b/front/volume/src/components/Chat.svelte
@@ -11,7 +11,6 @@ import type { ChannelsType } from "./Channels.svelte";
import type User from "./Profile.svelte";
-//--------------------------------------------------------------------------------/