aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-02-21 16:07:12 +0300
committerCrystalwarrior <varsash@gmail.com>2021-02-21 16:07:12 +0300
commit354fbd239c203d0ed3f9d98bd32bef6f6dbe26d6 (patch)
treee569a44131064d2d418830f81fce01a3f4cd4fb8 /src
parent37011fc22d2d821f5370e21b626dc295a002defa (diff)
Stop hardcoding stylesheets so the behavior is more consistent finally (and courtorom_stylesheets.css is more useful)
Diffstat (limited to 'src')
-rw-r--r--src/courtroom.cpp10
-rw-r--r--src/evidence.cpp2
2 files changed, 1 insertions, 11 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 94d7ab8e..b7d8a074 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -687,11 +687,6 @@ void Courtroom::set_widgets()
set_size_and_pos(ui_ic_chat_message, "ao2_ic_chat_message");
set_size_and_pos(ui_ic_chat_name, "ao2_ic_chat_name");
- ui_ic_chat_message->setStyleSheet(
- "QLineEdit{background-color: rgba(100, 100, 100, 255);}");
- ui_ic_chat_name->setStyleSheet(
- "QLineEdit{background-color: rgba(180, 180, 180, 255);}");
-
ui_vp_chatbox->set_image("chatblank");
ui_vp_chatbox->hide();
@@ -714,15 +709,12 @@ void Courtroom::set_widgets()
ui_muted->set_image("muted");
ui_muted->setToolTip(tr("Oops, you're muted!"));
- set_size_and_pos(ui_ooc_chat_message, "ooc_chat_message");
- ui_ooc_chat_message->setStyleSheet("background-color: rgba(0, 0, 0, 0);");
+ set_size_and_pos(ui_ooc_chat_message, "ooc_chat_message");;
set_size_and_pos(ui_ooc_chat_name, "ooc_chat_name");
- ui_ooc_chat_name->setStyleSheet("background-color: rgba(0, 0, 0, 0);");
// set_size_and_pos(ui_area_password, "area_password");
set_size_and_pos(ui_music_search, "music_search");
- ui_music_search->setStyleSheet("background-color: rgba(0, 0, 0, 0);");
set_size_and_pos(ui_emote_dropdown, "emote_dropdown");
ui_emote_dropdown->setToolTip(
diff --git a/src/evidence.cpp b/src/evidence.cpp
index b97607ba..8825753c 100644
--- a/src/evidence.cpp
+++ b/src/evidence.cpp
@@ -41,8 +41,6 @@ void Courtroom::initialize_evidence()
"evidence and send them to server."));
ui_evidence_description = new AOTextEdit(ui_evidence_overlay);
- ui_evidence_description->setStyleSheet("background-color: rgba(0, 0, 0, 0);"
- "color: white;");
ui_evidence_description->setFrameStyle(QFrame::NoFrame);
ui_evidence_description->setToolTip(
tr("Double-click to edit. Press [X] to update your changes."));