From c6e4325b34ad9a84f144d1e8ec4bedd413407054 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Wed, 13 May 2020 15:04:54 +0200 Subject: [PATCH] update: h3 used instead of a class --- src/styles/base/main.scss | 8 ++++++++ src/styles/layout/circle/circle-admin.scss | 9 --------- src/views/admin/page-admin-circles.pug | 2 +- src/views/admin/page-admin-projects.pug | 2 +- src/views/admin/page-admin-users.pug | 2 +- 5 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 src/styles/layout/circle/circle-admin.scss diff --git a/src/styles/base/main.scss b/src/styles/base/main.scss index 57636ab..464db80 100644 --- a/src/styles/base/main.scss +++ b/src/styles/base/main.scss @@ -143,6 +143,7 @@ h2, .h2-like { h3 { color: var(--color-title); font-size: 1.7rem; + margin: 0; } h4 { @@ -269,6 +270,13 @@ h5 { } } +.admin-header { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5rem; +} + .backlink { @include icon('arrow-left-circle'); color: var(--color-backlink); diff --git a/src/styles/layout/circle/circle-admin.scss b/src/styles/layout/circle/circle-admin.scss deleted file mode 100644 index d3241dc..0000000 --- a/src/styles/layout/circle/circle-admin.scss +++ /dev/null @@ -1,9 +0,0 @@ -.admin-header { - display: flex; - justify-content: space-between; - margin-bottom: 5rem; - - .admin-header__title { - @extend h3; - } -} \ No newline at end of file diff --git a/src/views/admin/page-admin-circles.pug b/src/views/admin/page-admin-circles.pug index 20502e6..b79853f 100644 --- a/src/views/admin/page-admin-circles.pug +++ b/src/views/admin/page-admin-circles.pug @@ -30,7 +30,7 @@ div.admin-header - div.admin-header__title Canaux + h3 Canaux sib-link( class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus' diff --git a/src/views/admin/page-admin-projects.pug b/src/views/admin/page-admin-projects.pug index 405b9dd..fb3ee37 100644 --- a/src/views/admin/page-admin-projects.pug +++ b/src/views/admin/page-admin-projects.pug @@ -15,7 +15,7 @@ div.content-box__info div.admin-header - div.admin-header__title Projets + h3 Projets sib-link( class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus' next='admin-project-create' diff --git a/src/views/admin/page-admin-users.pug b/src/views/admin/page-admin-users.pug index 98db225..f737ba4 100644 --- a/src/views/admin/page-admin-users.pug +++ b/src/views/admin/page-admin-users.pug @@ -20,7 +20,7 @@ #admin-users-list(hidden) div.content-box__info div.admin-header - div.admin-header__title Utilisateurs + h3 Utilisateurs sib-ac-checker(data-src=`${endpoints.users || endpoints.post.users}`, permission='acl:Append') sib-link( class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'