Skip to content

Commit 1a6c4ec

Browse files
committed
Uniformiser tailles des boutons des themes
1 parent 673fcf8 commit 1a6c4ec

12 files changed

Lines changed: 58 additions & 23 deletions

themes/Techno.qss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ QPushButton {
3131
background-color: #1c222b;
3232
color: #e6ebf2;
3333
border: 1px solid #2a2f37;
34-
border-radius: 8px;
35-
padding: 7px 14px;
34+
border-radius: 10px;
35+
padding: 8px 14px;
3636
font-weight: 600;
3737
}
3838
QPushButton:hover { background-color: #222934; border-color: #343a44; }

themes/Techno2.qss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ QPushButton {
3939
background: #232c3b;
4040
color: #eef2f8;
4141
border: 1px solid rgba(255,255,255,0.14);
42-
border-radius: 12px;
43-
padding: 9px 16px;
42+
border-radius: 10px;
43+
padding: 8px 14px;
4444
font-weight: 600;
4545
letter-spacing: 0.15px;
4646
}

themes/aurora_borealis.qss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; }
135135
QDialog, QMessageBox { background: #0F192B; color: #EAF2FF; border-radius: 12px; border: 1px solid #22314A; }
136136
QDialog QLabel, QMessageBox QLabel { color: #EAF2FF; }
137137
QDialogButtonBox QPushButton, QMessageBox QPushButton {
138-
background: #10192B; color: #EAF2FF; border: 1px solid #22314A; border-radius: 12px; padding: 6px 12px; min-width: 90px;
138+
background: #10192B;
139+
color: #EAF2FF;
140+
border: 1px solid #22314A;
141+
border-radius: 10px;
142+
padding: 6px 12px;
143+
min-width: 90px;
139144
}
140145
QDialogButtonBox QPushButton:hover, QMessageBox QPushButton:hover { background: #12233A; }
141146
QDialogButtonBox QPushButton:pressed, QMessageBox QPushButton:pressed { background: #0F192B; }

themes/dark.qss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ QPushButton {
4646
color: #E6E8EB;
4747
border: 1px solid #2A2F37;
4848
border-radius: 10px;
49-
padding: 8px 16px;
49+
padding: 8px 14px;
5050
font-size: 10pt;
5151
}
5252
QPushButton:hover {
@@ -188,7 +188,7 @@ QDialogButtonBox QPushButton, QMessageBox QPushButton {
188188
background: #1B1E23;
189189
color: #E6E8EB;
190190
border: 1px solid #2A2F37;
191-
border-radius: 8px;
191+
border-radius: 10px;
192192
padding: 6px 12px;
193193
min-width: 90px;
194194
}

themes/dark_malvolent_shrine.qss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,12 @@ QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; }
134134
QDialog, QMessageBox { background: #101217; color: #E8E8EA; border-radius: 12px; border: 1px solid #26262C; }
135135
QDialog QLabel, QMessageBox QLabel { color: #E8E8EA; }
136136
QDialogButtonBox QPushButton, QMessageBox QPushButton {
137-
background: #111218; color: #E8E8EA; border: 1px solid #26262C; border-radius: 12px; padding: 6px 12px; min-width: 90px;
137+
background: #111218;
138+
color: #E8E8EA;
139+
border: 1px solid #26262C;
140+
border-radius: 10px;
141+
padding: 6px 12px;
142+
min-width: 90px;
138143
}
139144
QDialogButtonBox QPushButton:hover, QMessageBox QPushButton:hover { background: #151720; }
140145
QDialogButtonBox QPushButton:pressed, QMessageBox QPushButton:pressed { background: #13141B; }

themes/divine_blue.qss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,12 @@ QDialog, QMessageBox {
123123
}
124124
QDialog QLabel, QMessageBox QLabel { color: #E8F0FF; }
125125
QDialogButtonBox QPushButton, QMessageBox QPushButton {
126-
background: #10203A; color: #E8F0FF; border: 1px solid #1E2E4F; border-radius: 10px; padding: 6px 12px; min-width: 90px;
126+
background: #10203A;
127+
color: #E8F0FF;
128+
border: 1px solid #1E2E4F;
129+
border-radius: 10px;
130+
padding: 6px 12px;
131+
min-width: 90px;
127132
}
128133
QDialogButtonBox QPushButton:hover, QMessageBox QPushButton:hover { background: #14284A; }
129134
QDialogButtonBox QPushButton:pressed, QMessageBox QPushButton:pressed { background: #122441; }

themes/divine_rosas_dream.qss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ QPushButton {
4242
background: #FFFFFF;
4343
color: #2B1E2F;
4444
border: 1px solid #EBD6DE;
45-
border-radius: 12px;
45+
border-radius: 10px;
4646
padding: 8px 14px;
4747
}
4848
QPushButton:hover { background: #F7E9EF; }
@@ -134,7 +134,12 @@ QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; }
134134
QDialog, QMessageBox { background: #FFFFFF; color: #2B1E2F; border-radius: 12px; border: 1px solid #EBD6DE; }
135135
QDialog QLabel, QMessageBox QLabel { color: #2B1E2F; }
136136
QDialogButtonBox QPushButton, QMessageBox QPushButton {
137-
background: #FFFFFF; color: #2B1E2F; border: 1px solid #EBD6DE; border-radius: 12px; padding: 6px 12px; min-width: 90px;
137+
background: #FFFFFF;
138+
color: #2B1E2F;
139+
border: 1px solid #EBD6DE;
140+
border-radius: 10px;
141+
padding: 6px 12px;
142+
min-width: 90px;
138143
}
139144
QDialogButtonBox QPushButton:hover, QMessageBox QPushButton:hover { background: #F7E9EF; }
140145
QDialogButtonBox QPushButton:pressed, QMessageBox QPushButton:pressed { background: #F1DEE6; }

themes/divory.qss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@ QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; }
133133
QDialog, QMessageBox { background: #FFFFFF; color: #1F2A3C; border-radius: 12px; border: 1px solid #E4E0CF; }
134134
QDialog QLabel, QMessageBox QLabel { color: #1F2A3C; }
135135
QDialogButtonBox QPushButton, QMessageBox QPushButton {
136-
background: #FFFFFF; color: #1F2A3C; border: 1px solid #E4E0CF; border-radius: 10px; padding: 6px 12px; min-width: 90px;
136+
background: #FFFFFF;
137+
color: #1F2A3C;
138+
border: 1px solid #E4E0CF;
139+
border-radius: 10px;
140+
padding: 6px 12px;
141+
min-width: 90px;
137142
}
138143
QDialogButtonBox QPushButton:hover, QMessageBox QPushButton:hover { background: #F3F0E4; }
139144
QDialogButtonBox QPushButton:pressed, QMessageBox QPushButton:pressed { background: #ECE7D9; }

themes/light.qss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ QPushButton {
4646
color: #1c1f26;
4747
border: 1px solid #D6D9DF;
4848
border-radius: 10px;
49-
padding: 8px 16px;
49+
padding: 8px 14px;
5050
font-size: 10pt;
5151
}
5252
QPushButton:hover {
@@ -192,7 +192,7 @@ QDialogButtonBox QPushButton, QMessageBox QPushButton {
192192
background: #ffffff;
193193
color: #1c1f26;
194194
border: 1px solid #D6D9DF;
195-
border-radius: 8px;
195+
border-radius: 10px;
196196
padding: 6px 12px;
197197
min-width: 90px;
198198
}

themes/misty_forest.qss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal { width: 0; }
135135
QDialog, QMessageBox { background: #263238; color: #A7B8B0; border-radius: 12px; border: 1px solid #2A3A2F; }
136136
QDialog QLabel, QMessageBox QLabel { color: #A7B8B0; }
137137
QDialogButtonBox QPushButton, QMessageBox QPushButton {
138-
background: #1E2B22; color: #FFFFFF; border: 1px solid #2A3A2F; border-radius: 12px; padding: 6px 12px; min-width: 90px;
138+
background: #1E2B22;
139+
color: #FFFFFF;
140+
border: 1px solid #2A3A2F;
141+
border-radius: 10px;
142+
padding: 6px 12px;
143+
min-width: 90px;
139144
}
140145
QDialogButtonBox QPushButton:hover, QMessageBox QPushButton:hover { background: #2A3A2F; }
141146
QDialogButtonBox QPushButton:pressed, QMessageBox QPushButton:pressed { background: #1A261E; }

0 commit comments

Comments
 (0)