update: new class to handle the main padding + HD colors handle for the directory component

This commit is contained in:
gaelle morin
2020-05-23 15:27:01 +02:00
parent caaf843126
commit 28fd228d29
4 changed files with 42 additions and 5 deletions

View File

@ -22,15 +22,15 @@ html(lang="en")
div#viewport
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
#dashboard(hidden).no-sidebar
#dashboard(hidden).no-sidebar.with-padding
include page-dashboard.pug
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
#members(hidden).no-sidebar
#members(hidden).no-sidebar.with-padding
include page-directory.pug
if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
#job-offers(hidden).no-sidebar
#job-offers(hidden).no-sidebar.with-padding
include page-job-offers.pug
if endpoints.projects || (endpoints.get && endpoints.get.projects)

View File

@ -153,7 +153,6 @@ h5 {
}
%padding-main {
/*padding: 5rem;*/
padding: 1.3rem;
}

View File

@ -1,6 +1,9 @@
.no-sidebar {
flex: 1;
@extend %padding-main;
&.with-padding {
@extend %padding-main;
}
}
.with-sidebar {