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))
li
sib-link(next='my-profile') Mon profil
//-li
sib-link(next='user-settings') Settings
sib-link(next='profile') Mon profil
li
sib-link(next='admin') Administration
li

View File

@ -17,7 +17,6 @@ html(lang="en")
header#header(role='banner')
include header.pug
main.notLoggedIn
include menu-left.pug
div#viewport
@ -52,7 +51,9 @@ html(lang="en")
#admin(hidden).with-sidebar
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))
#profile(hidden).no-sidebar

View File

@ -54,7 +54,6 @@ nav#main__menu.jsLeftMenu
div.menu-label Tableau de bord
div.menu-icon.icon-home
div.divider
sib-route(name='about', hidden)
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
sib-route.menu(name='members')
div.menu-label Annuaire des membres
@ -139,3 +138,4 @@ nav#main__menu.jsLeftMenu
sib-route(name='admin', 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
h2 A propos
div.flex-content-white
div
h3 Cette application est développé par Startin'blox
p Ici un paragraphe qui explique ce qu'est SIB
.views-container
h2 A propos
div.flex-content-white
div
h3 Cette application est développé par Startin'blox
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
h3 Contacte-nous
p Tu veux contribuer, nous remonter un bug, nous suggérer une amélioration, travailler avec nous ?
div
h3 Contacte-nous
p Tu veux contribuer, nous remonter un bug, nous suggérer une amélioration, travailler avec nous ?
sib-link.main-cta
p Contact
a(href="https://startinblox.com/fr" target="_blank").main-cta Contact

View File

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