creatumlibre.ui.dialogs.color_adjustment_dialog_css
1MAIN_DIALOG = """ 2 QDialog { 3 background-color: #222831; /* Dark background */ 4 color: white; 5 border-radius: 10px; 6 } 7 QLabel { 8 font-size: 14px; 9 font-weight: bold; 10 padding: 5px; 11 color: #EEEEEE; /* Soft contrast */ 12 } 13 QSlider::groove:horizontal { 14 height: 6px; 15 background: #393E46; /* Groove color */ 16 border-radius: 3px; 17 } 18 QSlider::handle:horizontal { 19 background: #00ADB5; /* Handle color */ 20 width: 14px; 21 height: 14px; 22 margin: -4px 0; 23 border-radius: 7px; 24 } 25 """ 26 27BTN_APPLY = """ 28 QPushButton { 29 background-color: #00ADB5; 30 color: white; 31 border-radius: 5px; 32 height: 30px; 33 padding: 6px; 34 } 35 QPushButton:hover { 36 background-color: #007F8F; 37 } 38 """ 39 40BTN_CANCEL = """ 41 QPushButton { 42 background-color: #F05454; 43 color: white; 44 border-radius: 5px; 45 height: 30px; 46 padding: 6px; 47 } 48 QPushButton:hover { 49 background-color: #D43C3C; 50 } 51 """
MAIN_DIALOG =
'\n QDialog {\n background-color: #222831; /* Dark background */\n color: white;\n border-radius: 10px;\n }\n QLabel {\n font-size: 14px;\n font-weight: bold;\n padding: 5px;\n color: #EEEEEE; /* Soft contrast */\n }\n QSlider::groove:horizontal {\n height: 6px;\n background: #393E46; /* Groove color */\n border-radius: 3px;\n }\n QSlider::handle:horizontal {\n background: #00ADB5; /* Handle color */\n width: 14px;\n height: 14px;\n margin: -4px 0;\n border-radius: 7px;\n }\n '
BTN_APPLY =
'\n QPushButton {\n background-color: #00ADB5;\n color: white;\n border-radius: 5px;\n height: 30px;\n padding: 6px;\n }\n QPushButton:hover {\n background-color: #007F8F;\n }\n '
BTN_CANCEL =
'\n QPushButton {\n background-color: #F05454;\n color: white;\n border-radius: 5px;\n height: 30px;\n padding: 6px;\n }\n QPushButton:hover {\n background-color: #D43C3C;\n }\n '