Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correction de la mise en forme des icones et photo thumbnail #472

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: black
language_version: python3
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.1
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
Expand Down
16 changes: 8 additions & 8 deletions lacommunaute/static/stylesheets/itou_communaute.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
}
}

.topiclist .card-header {
.card-header {
.topic-thumbnail {
display: flex;
align-items: end;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
Expand Down Expand Up @@ -70,8 +70,8 @@

.btn-post-reply[aria-expanded='true'] {
color: #fff !important;
background-color: #b3b4c3 !important;
border-color: #b3b4c3 !important;
background-color: var(--bs-disabled-color) !important;
border-color: var(--bs-disabled-color) !important;
}

.btn-poster {
Expand All @@ -87,7 +87,7 @@

blockquote {
padding: 1rem;
border: 0px solid #3f3e62;
border: 0px solid var(--bs-secondary);
border-radius: 0.25rem;
margin-bottom: 1rem;
font-size: 1rem;
Expand Down Expand Up @@ -120,7 +120,7 @@ span.highlighted {
margin: 0;
padding: 0;
text-align: center;
color: #fff;
color: var(--bs-white);

&:before,
&:after {
Expand All @@ -132,7 +132,7 @@ span.highlighted {
width: 0;
border-left: 0;
border-right: 0;
border-bottom: 450px solid white;
border-bottom: 450px solid var(--bs-white);
}

&:before {
Expand Down Expand Up @@ -164,7 +164,7 @@ span.highlighted {
}

&:nth-child(1) {
color: #000638;
color: var(--bs-primary);
background-color: #d8ede3;
}

Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/forum_conversation/topic_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="col-12">
<div id="{{ topic.pk }}" class="card post mb-3">
<div class="card-header mb-1 d-flex flex-column flex-md-row align-items-md-center">
<div class="topic-thumbnail bg-light d-none d-md-block">
<div class="topic-thumbnail bg-light d-none d-md-flex">
{% if topic.poster.forum_profile.avatar %}
<img src="{{ topic.poster.forum_profile.avatar.url }}" alt="{{ topic.poster.forum_profile.user.get_full_name }}" />
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="col-12">
<div id="{{ topic.pk }}" class="card post mb-3">
<div class="card-header mb-1 d-flex align-items-center">
<div class="topic-thumbnail bg-light d-none d-md-block">
<div class="topic-thumbnail bg-light d-none d-md-flex">
<i class="ri-newspaper-line ri-xl me-1" aria-hidden="true"></i>
</div>
<p class="h4 mb-0 flex-grow-1">
Expand Down
106 changes: 50 additions & 56 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ django-permissions-policy = "^4.15.0"


[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
black = "^23.3.0, !=23.12.0"
flake8 = "^6.0.0"
isort = "^5.12"
pylint = "^2.15.2"
Expand Down
Loading