diff --git a/__pycache__/resources.cpython-313.pyc b/__pycache__/resources.cpython-313.pyc
new file mode 100644
index 0000000..89cc2cf
Binary files /dev/null and b/__pycache__/resources.cpython-313.pyc differ
diff --git a/mainwindow.py b/mainwindow.py
index ce4fbd6..dd10f59 100644
--- a/mainwindow.py
+++ b/mainwindow.py
@@ -83,11 +83,16 @@ class MainWindow(QMainWindow):
if __name__ == "__main__":
app = QApplication(sys.argv)
+ with open('styles.qss', 'r') as f:
+ style = f.read()
+
+ # Set the stylesheet of the application
+ app.setStyleSheet(style)
+
# Load and set the global font
custom_font = QFont(load_custom_font(), 16)
if custom_font:
app.setFont(custom_font)
-
window = MainWindow()
window.show()
sys.exit(app.exec())
\ No newline at end of file
diff --git a/mainwindow.ui b/mainwindow.ui
index 3cb0cc1..8b32502 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -137,19 +137,14 @@
42
- 42
+ 25
- #minimize_btn {
- font: 700 11pt ;
-}
+
-
-
-
-
+
@@ -169,7 +164,7 @@
- 5
+ 20
20
@@ -184,7 +179,7 @@
- #close_btn {background-color: rgb(255, 140, 66);}
+
@@ -402,14 +397,188 @@
150
+
+
+
QFrame::Shape::NoFrame
QFrame::Shadow::Raised
+
+ -
+
+
-
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 250
+ 50
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+
+
+
+ connexion
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 250
+ 50
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ staff
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 250
+ 50
+
+
+
+ discord
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ 250
+ 50
+
+
+
+ intranet
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Vertical
+
+
+ QSizePolicy::Policy::Fixed
+
+
+
+ 20
+ 20
+
+
+
+
-
@@ -421,15 +590,27 @@
0
- 300
+ 280
16777215
- 300
+ 280
+
+ QFrame#info_frame{
+ background: qlineargradient(
+ x1:0, y1:0,
+ x2:0, y2:1,
+ stop:0 rgba(255,255,255,30),
+ stop:1 rgba(255,255,255,30)
+ );
+ border-radius: 20px;
+ border: 1px solid rgba(255,255,255,140);
+}
+
QFrame::Shape::StyledPanel
diff --git a/styles.qss b/styles.qss
new file mode 100644
index 0000000..c591ba5
--- /dev/null
+++ b/styles.qss
@@ -0,0 +1,31 @@
+QPushButton#connexion_btn {
+ border-radius: 15px;
+ background-color: rgb(255, 120, 0);
+}
+
+
+QPushButton#connexion_btn:hover {
+ background: #ffad66;
+}
+
+QPushButton#discord_btn,
+QPushButton#intranet_btn
+{
+ border-radius: 15px;
+ background-color: #203a43;
+}
+
+QPushButton#close_btn {
+ border : 0;
+ background: transparent;
+}
+
+QPushButton#minimize_btn {
+ background-color: transparent;
+ border: none;
+ border-bottom: 5px solid white;
+ color: white;
+ font-size: 18px;
+ padding: 10px;
+ padding-top: 0
+}