Merge pull request #16 from LQDJudge/master

Merge from master
This commit is contained in:
Phuoc Dinh Le 2022-02-26 20:11:42 -06:00 committed by GitHub
commit 127284e812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 303 additions and 145 deletions

View file

@ -485,12 +485,8 @@ noscript #noscript {
#contest-info {
font-size: 1.25em;
border: 5px solid $highlight_blue;
border-left: 5px dotted white;
border-radius: 0 $widget_border_radius $widget_border_radius 0;
background: rgba(0, 0, 0, 0.77);
z-index: 100000;
padding: 10px 12px;
color: white;
cursor: move;
position: fixed;
left: 20px;
@ -506,6 +502,34 @@ noscript #noscript {
}
}
#contest-info-main {
border-left: 5px dotted white;
background: rgba(0, 0, 0, 0.77);
padding: 10px 12px;
color: white;
display: inline;
}
#contest-info-toggle {
display: inline;
padding: 10px 12px;
border-radius: 0 10px 10px 0;
cursor: pointer;
}
.contest-info-toggle-mode-on {
background: rgba(0, 205, 0, 0.57);
}
.contest-info-toggle-mode-on:hover {
background: rgba(0, 205, 0, 0.97);
}
.contest-info-toggle-mode-off {
background: rgba(255, 0, 0, 0.57);
}
.contest-info-toggle-mode-off:hover {
background: rgba(255, 0, 0, 0.97);
}
#contest-time-remaining {
display: inline-block;
}

View file

@ -2,6 +2,7 @@
margin: 0;
padding-top: 0.1em;
padding-bottom: 0.1em;
overflow-wrap: anywhere;
}
.chatbtn_remove_mess {
float: right;
@ -60,14 +61,13 @@
#chat-input {
width: 100%;
padding: 0.4em;
padding-bottom: 0.6em;
padding: 0.4em 4em 0.6em 1.2em;
border: 0;
color: black;
border-top-left-radius: 0;
border-top-right-radius: 0;
height: 100%;
font-size: 14px;
font-size: 16px;
}
#chat-online-content {
padding: 0;
@ -172,6 +172,20 @@
cursor: pointer;
margin-top: 0.5em;
}
.message-text {
padding: 0.4em 0.6em 0.5em;
border-radius: 15px;
max-width: 70%;
width: fit-content;
}
.message-text-other {
background: #eeeeee;
color: black;
}
.message-text-myself {
background: rgb(0, 132, 255);
color: white;
}
@media (max-width: 799px) {
#chat-area {