Skip to content

Commit

Permalink
small color changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbence2002 committed Sep 26, 2023
1 parent 420b3bd commit ac0dc8a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/container/TagListFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function LinkTag({ data }) {
return (
<Link
to={data.href}
className="w-28 text-center truncate whitespace-nowrap cursor-pointer text-sm px-2 py-1 border border-bordercol rounded bg-grey-725 hover:bg-indigo-200 hover:border-indigo-300 dark:hover:bg-indigo-600 dark:hover:border-transparent">
className="w-28 tag text-center hover:bg-indigo-200 hover:border-indigo-300 dark:hover:bg-indigo-600 dark:hover:border-transparent">
{t(data.text)}
</Link>
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/input/TagDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Tag({ title, onClick }) {
}`}>
{title}
<span
className={`relative ml-3 rounded-full w-5 h-5 hover:bg-red-700 dark:hover:bg-red-800`}
className={`relative ml-3 rounded-full w-[1.1rem] h-[1.1rem] hover:bg-red-700 dark:hover:bg-red-800`}
onMouseOver={() => setHovered(true)}
onMouseLeave={() => setHovered(false)}
onClick={handleClick}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/util/copy/CopyButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function CopyButton({ text }) {
};
return (
<button
className={`relative h-9 w-9 bg-grey-775 rounded-md hover:bg-grey-750 border border-bordercol`}
className={`relative h-9 w-9 bg-grey-775 rounded-md hover:bg-grey-750 border border-grey-625`}
aria-label="Copy"
onClick={handleCopy}>
<FontAwesomeIcon
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
@apply border border-bordercol;
}
.tag {
@apply whitespace-nowrap cursor-pointer text-sm px-2 py-1 border rounded m-1 bg-grey-725 hover:bg-grey-700 border-grey-625 truncate;
@apply whitespace-nowrap cursor-pointer text-sm px-2 py-1 border rounded m-1 bg-grey-750 hover:bg-grey-725 border-grey-625 truncate;
}
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/problem/ProblemStatement.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ function ProblemLastSubmissions({ submissions, maxScore }) {
{item.verdictType === 2 && (
<FontAwesomeIcon
icon="fa-check"
className="w-4 h-4 highlight-green mr-2"
className="w-4 h-4 highlight-yellow mr-2"
/>
)}
{item.verdictType === 3 && (
<FontAwesomeIcon
icon="fa-check"
className="w-4 h-4 highlight-yellow mr-2"
className="w-4 h-4 highlight-green mr-2"
/>
)}
<span className="truncate">{item.verdictName}</span>
Expand Down

0 comments on commit ac0dc8a

Please sign in to comment.