small fixes, remove tabs

This commit is contained in:
Jean-Baptiste Pasquier 2020-06-01 12:42:35 +02:00
parent 623c715892
commit 5c361bdef9
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
5 changed files with 61 additions and 66 deletions

View File

@ -27,9 +27,6 @@ details#user-controls.notLoggedIn
if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users)) if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users))
li li
sib-link(next='my-profile') Mon profil sib-link(next='my-profile') Mon profil
//-li
sib-link(next='user-settings') Settings
sib-link(next='profile') Mon profil
li li
sib-link(next='admin') Administration sib-link(next='admin') Administration
li li

View File

@ -17,7 +17,6 @@ html(lang="en")
header#header(role='banner') header#header(role='banner')
include header.pug include header.pug
main.notLoggedIn main.notLoggedIn
include menu-left.pug include menu-left.pug
div#viewport div#viewport
@ -52,7 +51,9 @@ html(lang="en")
#admin(hidden).with-sidebar #admin(hidden).with-sidebar
include page-admin.pug include page-admin.pug
include page-about.pug
#about.no-sidebar.with-padding
include page-about.pug
if (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.uploads || (endpoints.post && endpoints.post.uploads)) && (endpoints.users || (endpoints.post && endpoints.post.users)) if (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.uploads || (endpoints.post && endpoints.post.uploads)) && (endpoints.users || (endpoints.post && endpoints.post.users))
#profile(hidden).no-sidebar #profile(hidden).no-sidebar

View File

@ -54,7 +54,6 @@ nav#main__menu.jsLeftMenu
div.menu-label Tableau de bord div.menu-label Tableau de bord
div.menu-icon.icon-home div.menu-icon.icon-home
div.divider div.divider
sib-route(name='about', hidden)
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
sib-route.menu(name='members') sib-route.menu(name='members')
div.menu-label Annuaire des membres div.menu-label Annuaire des membres
@ -139,3 +138,4 @@ nav#main__menu.jsLeftMenu
sib-route(name='admin', hidden) sib-route(name='admin', hidden)
sib-route.menu(name='profile', hidden) sib-route.menu(name='profile', hidden)
sib-route(name='about', hidden)

View File

@ -1,16 +1,14 @@
#about.no-sidebar.with-padding .views-container
.views-container h2 A propos
h2 A propos div.flex-content-white
div.flex-content-white div
div h3 Cette application est développé par Startin'blox
h3 Cette application est développé par Startin'blox p Ici un paragraphe qui explique ce qu'est SIB
p Ici un paragraphe qui explique ce qu'est SIB
a(href="https://startinblox.com/fr" target="_blank") https://startinblox.com/fr a(href="https://startinblox.com/fr" target="_blank") https://startinblox.com/fr
div div
h3 Contacte-nous h3 Contacte-nous
p Tu veux contribuer, nous remonter un bug, nous suggérer une amélioration, travailler avec nous ? p Tu veux contribuer, nous remonter un bug, nous suggérer une amélioration, travailler avec nous ?
sib-link.main-cta a(href="https://startinblox.com/fr" target="_blank").main-cta Contact
p Contact

View File

@ -1,51 +1,50 @@
#about{ #about{
$main-color: rgb(236, 94, 92); $main-color: rgb(236, 94, 92);
$second-color: white; $second-color: white;
h2,h3{ h2,h3{
text-transform: uppercase; text-transform: uppercase;
} }
.flex-content-white{ .flex-content-white{
display: flex; display: flex;
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
flex-direction: column; flex-direction: column;
} }
>div{ >div{
padding: 4.2em 4.7em; padding: 4.2em 4.7em;
text-align: center; text-align: center;
margin: 0 3em 3em 0; margin: 0 3em 3em 0;
background: white; background: white;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.11); box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.11);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
}
>div:first-child{
width: 60%;
}
>div:last-child{
width: 35%;
@media only screen and (max-width: 768px) {
width: 60%;
}
}
}
} .main-cta{
>div:first-child{ background: $second-color none repeat scroll 0% 0%;
width: 60%; border: 1px solid $main-color;
} border-radius: 55px;
>div:last-child{ color: $main-color;
width: 35%; cursor: pointer;
@media only screen and (max-width: 768px) { font-weight: bold;
width: 60%; text-transform: uppercase;
} width: 25%;
} font-size: 1rem;
} }
.main-cta{ .main-cta:hover{
background: $second-color none repeat scroll 0% 0%; background: $main-color none repeat scroll 0% 0%;
border: 1px solid $main-color; border : 1px solid $second-color;
border-radius: 55px; color: $second-color;
color: $main-color; }
cursor: pointer;
font-weight: bold;
text-transform: uppercase;
width: 25%;
font-size: 1rem;
}
.main-cta:hover{
background: $main-color none repeat scroll 0% 0%;
border : 1px solid $second-color;
color: $second-color;
}
} }