diff --git a/core/core_imports.txt b/core/core_imports.txt index 52944d9d..3f32002a 100644 --- a/core/core_imports.txt +++ b/core/core_imports.txt @@ -13,6 +13,5 @@ pyflakes pygments python_runner sentry_sdk -six.py snoop stack_data \ No newline at end of file diff --git a/frontend/src/App.js b/frontend/src/App.js index 56e54f9a..51131bb7 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -250,7 +250,7 @@ const Assistant = (assistant) => { - {terms.requirements} + {terms.requirements} } >

@@ -269,7 +269,7 @@ const Assistant = (assistant) => { classParentString="assistant-assessment card" contentInnerClassName="assistant-content card-body" trigger={

- {terms.assessment}   + {terms.assessment}   {newMessages && {terms.new}}
} > @@ -278,7 +278,7 @@ const Assistant = (assistant) => { - {terms.hints_and_solution} + {terms.hints_and_solution} } > diff --git a/frontend/src/css/main.scss b/frontend/src/css/main.scss index da5d1daa..7be386ac 100644 --- a/frontend/src/css/main.scss +++ b/frontend/src/css/main.scss @@ -468,10 +468,22 @@ .assistant { margin-top: 1em; + .card-header { + padding: .75rem 3.25rem; + background: rgba(0,0,0,0); + } + .card__trigger { font-size: larger; position: relative; + cursor: pointer; + background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1)); + + :hover { + background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15)); + } + // Font awesome icons svg { width: 2em; @@ -482,8 +494,8 @@ font-family: 'Tahoma', sans-serif; content: '^'; position: absolute; - right: 20px; - top: 10px; + left: 20px; + top: 12px; display: block; transition: transform 300ms; } diff --git a/poetry.lock b/poetry.lock index 3a461600..31c7d088 100644 --- a/poetry.lock +++ b/poetry.lock @@ -13,21 +13,18 @@ files = [ [[package]] name = "asttokens" -version = "2.4.1" +version = "3.0.0" description = "Annotate AST trees with source code positions" optional = false -python-versions = "*" +python-versions = ">=3.8" files = [ - {file = "asttokens-2.4.1-py2.py3-none-any.whl", hash = "sha256:051ed49c3dcae8913ea7cd08e46a606dba30b79993209636c4875bc1d637bc24"}, - {file = "asttokens-2.4.1.tar.gz", hash = "sha256:b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0"}, + {file = "asttokens-3.0.0-py3-none-any.whl", hash = "sha256:e3078351a059199dd5138cb1c706e6430c05eff2ff136af5eb4790f9d28932e2"}, + {file = "asttokens-3.0.0.tar.gz", hash = "sha256:0dcd8baa8d62b0c1d118b399b2ddba3c4aff271d0d7a9e0d4c1681c79035bbc7"}, ] -[package.dependencies] -six = ">=1.12.0" - [package.extras] -astroid = ["astroid (>=1,<2)", "astroid (>=2,<4)"] -test = ["astroid (>=1,<2)", "astroid (>=2,<4)", "pytest"] +astroid = ["astroid (>=2,<4)"] +test = ["astroid (>=2,<4)", "pytest", "pytest-cov", "pytest-xdist"] [[package]] name = "attrs"