706 lines
No EOL
15 KiB
CSS
706 lines
No EOL
15 KiB
CSS
@import url('fonts/nunito.css');
|
|
@import url('fonts/lexend.css');
|
|
|
|
html {
|
|
color: rgba(53,53,53,1)!important;
|
|
font-size: 1rem;
|
|
line-height: 1.15;
|
|
font-kerning: normal;
|
|
overflow-x: hidden;
|
|
}
|
|
:root{
|
|
--background: rgb(240,240,240);
|
|
--background-wrapper: rgb(250,250,250);
|
|
--primary: rgb(103,103,103);
|
|
--secondary: rgb(220,220,220);
|
|
/* --accent:253,195,20; /* rgb */
|
|
--accent:45,98%; /* hsl */
|
|
--accent-normal: hsl(var(--accent), 54%);
|
|
--accent-light: hsl(var(--accent), 75%);
|
|
--bs-btn-hover-bg: rgb(242, 135, 5);
|
|
--bs-link-color: rgb(242, 135, 5);
|
|
--bs-body-font-family: 'Nunito', Arial, Tahoma, sans-serif;
|
|
--bs-ttl-font-family: 'Lexend', Arial, Tahoma, sans-serif;
|
|
--top-bar: 6.125rem;
|
|
--bottom-bar: 5em;
|
|
--div-padding: 3em;
|
|
--bs-navbar-color: rgba(242, 135, 5, .15);
|
|
}
|
|
body {
|
|
font-family: var(--bs-body-font-family);
|
|
background-color: var(--background);
|
|
overflow-x: hidden;
|
|
letter-spacing: .125px;
|
|
font-variant-ligatures: no-common-ligatures;
|
|
margin: 0;
|
|
}
|
|
h1, h2, h3, h4, h5{
|
|
font-family: var(--bs-ttl-font-family);
|
|
}
|
|
.navbar-toggler{
|
|
color: var(--bs-btn-hover-bg);
|
|
}
|
|
.custom-toggler.navbar-toggler-icon {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(245,135,5,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
|
}
|
|
.top-bar{
|
|
height: var(--top-bar);
|
|
border-bottom: 1px solid var(--accent-normal);
|
|
background-color:white;
|
|
}
|
|
.top-bar > div{
|
|
height: 100%;
|
|
}
|
|
/* navbar */
|
|
.navbar-brand img{
|
|
height: calc(var(--top-bar) - 1.5em);
|
|
}
|
|
#mainNav, .offcanvas-backdrop{
|
|
top: var(--top-bar);
|
|
}
|
|
.offcanvas-header, .offcanvas-body{
|
|
padding: 1.625rem;
|
|
}
|
|
.offcanvas.offcanvas-end{
|
|
border-left: none;
|
|
}
|
|
.wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: auto;
|
|
min-height: calc(100vh - var(--top-bar));
|
|
margin-top: var(--top-bar);
|
|
}
|
|
/* Screens */
|
|
[data-screen="search"] .container-fluid > .row, [data-screen="profile"] .container-fluid > .row, [data-screen="invitations"] .container-fluid > .row, [data-screen="documents"] .container-fluid > .row{
|
|
justify-content: center;
|
|
}
|
|
|
|
/* left side menu */
|
|
.nav-item .badge{
|
|
background-color: var(--bs-link-color);
|
|
}
|
|
.side-menu .nav-link{
|
|
color: black;
|
|
padding: 0.725rem 1rem;
|
|
border-radius: 0.25rem;
|
|
background: white;
|
|
border-left: 0px solid #f28705;
|
|
transition: all ease-in 0.25s;
|
|
}
|
|
.side-menu .nav-link.active{
|
|
background-color: #f28705;
|
|
font-weight: 700;
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
|
|
.side-menu .nav-link:focus{
|
|
color: black;
|
|
background-color: #fdc314;
|
|
font-weight: 600;
|
|
}
|
|
.side-menu li:not(:first-child){
|
|
margin-top: 0.35rem;
|
|
}
|
|
.separator{
|
|
margin-top: 1.5rem;
|
|
border-bottom: 2px solid #f28705;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
/* heros */
|
|
.hero{
|
|
/* background-image: linear-gradient(to right bottom, #f28705, #f69602, #f9a502, #fbb409, #fdc314); */
|
|
background-image: linear-gradient(to right bottom, rgb(242,135,5), rgb(246,150,2), rgb(249,165,2), rgb(251,180,9), rgb(253,155,20));
|
|
margin-top: var(--top-bar);
|
|
height: auto;
|
|
border-bottom-left-radius: 1rem;
|
|
border-bottom-right-radius: 1rem;
|
|
}
|
|
.hero > div{
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.hero .row{
|
|
justify-content: center !important;
|
|
align-items: flex-end !important;
|
|
}
|
|
.hero div:not(.bottom-anchored){
|
|
margin-top: auto !important;
|
|
margin-bottom: auto !important;
|
|
}
|
|
.hero-primary, .hero-secondary{
|
|
padding: var(--div-padding)
|
|
}
|
|
#lead{
|
|
display: flex;
|
|
height: 100%;
|
|
}
|
|
|
|
/* screens */
|
|
.form-sign{
|
|
background-color: white;
|
|
padding: var(--div-padding);
|
|
border-radius: 0.5rem;
|
|
}
|
|
.panel{
|
|
background: white;
|
|
padding: var(--div-padding);
|
|
border-radius: 0.5rem;
|
|
}
|
|
#profile label{
|
|
font-weight: 700;
|
|
}
|
|
#userVisibility{
|
|
margin-left: auto;
|
|
}
|
|
#userProfileActivation, #userVisibilityExtend{
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
#userProfileActivation{
|
|
/* padding: 1.5em;
|
|
background-color: var(--accent-light); */
|
|
}
|
|
#userProfileInfos label{
|
|
min-width: 6em;
|
|
}
|
|
.form-check.form-switch{
|
|
margin-bottom: 0;
|
|
}
|
|
.form-switch:not(.form-check-reverse) input, .form-switch.form-check-reverse input{
|
|
margin-right: .75rem;
|
|
margin-top: 0;
|
|
width: 3rem;
|
|
height: 1.5rem;
|
|
}
|
|
.form-switch.form-check-reverse input{
|
|
margin-left: .75rem;
|
|
margin-right: 0;
|
|
}
|
|
.form-switch + a[data-bs-toggle="tooltip"]{
|
|
margin-left: 0.25rem;
|
|
}
|
|
#tandemMeet .col{
|
|
text-align: center;
|
|
padding: 1.5rem;
|
|
transition: all ease-out 0.3s;
|
|
}
|
|
#tandemMeet .col img{
|
|
margin-bottom: 1rem;
|
|
}
|
|
#tandemMeet .col label{
|
|
font-weight: initial;
|
|
}
|
|
#tandemExplanations{
|
|
padding-top: 5rem;
|
|
padding-bottom: 5rem;
|
|
background-color: var(--background-wrapper);
|
|
}
|
|
#tandemExplanations header{
|
|
display: grid;
|
|
justify-items: center;
|
|
text-align: center;
|
|
padding: 0 3rem;
|
|
}
|
|
#tandemExplanations header p{
|
|
color: rgb(100,100,100);
|
|
}
|
|
#tandemExplanations article{
|
|
display: grid;
|
|
justify-items: center;
|
|
margin-top: 2rem;
|
|
border-radius: 1rem;
|
|
background-color: var(--accent-light);
|
|
padding: var(--div-padding);
|
|
}
|
|
#tandemMethod{
|
|
background-image: linear-gradient(to right bottom, rgb(242,135,5), rgb(246,150,2), rgb(249,165,2), rgb(251,180,9), rgb(253,155,20));
|
|
}
|
|
.bottom-anchored{
|
|
margin-bottom: calc(var(--div-padding) * -1);
|
|
}
|
|
article li:not(:first-of-type){
|
|
margin-top: 0.5rem;
|
|
}
|
|
#partners .container-fluid{
|
|
background-color: white;
|
|
min-height: 5vh;
|
|
}
|
|
/* user profile */
|
|
.profile{
|
|
background: white;
|
|
padding: calc(var(--div-padding) / 2);
|
|
border-radius: 0.25rem;
|
|
margin-top: 1rem;
|
|
position: relative;
|
|
}
|
|
.profile:not(:first-child){
|
|
margin-top: 2.25rem;
|
|
}
|
|
.profile:not(:first-child):before {
|
|
content: '•••';
|
|
display: flex;
|
|
position: absolute;
|
|
top: -1.625rem;
|
|
width: 100%;
|
|
left: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 1.2em;
|
|
line-height: .425em;
|
|
color: darkgray;
|
|
letter-spacing: .25em;
|
|
}
|
|
.profile .user-avatar{
|
|
text-align: center;
|
|
}
|
|
.user-avatar img{
|
|
width: 9rem;
|
|
height: 9rem;
|
|
object-fit: cover;
|
|
object-position: top;
|
|
border: 2px solid white;
|
|
border-radius: 50%;
|
|
}
|
|
.profile .label, #signalModal label{
|
|
font-weight: 700;
|
|
}
|
|
.user-description{
|
|
margin-top: 1.5em;
|
|
}
|
|
.profile-options{
|
|
margin-top: 2em;
|
|
justify-content: end;
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
#avatarContainer{
|
|
align-items: center;
|
|
}
|
|
|
|
/* invitations */
|
|
#invitationsResults ul{
|
|
padding-left: 0;
|
|
margin-bottom: 0
|
|
}
|
|
.invitation{
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
border-top: 1px dotted var(--bs-gray-400);
|
|
padding-top: .75rem;
|
|
}
|
|
.invitation .user-pseudo{
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
.invitation:not(:first-of-type){
|
|
margin-top: .75rem;
|
|
}
|
|
.invitation .user-avatar img{
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
.invitation p{
|
|
margin-bottom: 0;
|
|
}
|
|
.invitation .date{
|
|
font-size: 0.8em;
|
|
color: var(--bs-gray-600);
|
|
}
|
|
.invitation-options{
|
|
margin-left: auto;
|
|
align-self: center;
|
|
}
|
|
|
|
/* documents */
|
|
#documentsResults ul{
|
|
padding-left: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
#documentsResults ul li{
|
|
list-style-type: none;
|
|
}
|
|
|
|
/* search filters */
|
|
#searchFilters{
|
|
border: 1px solid white;
|
|
background-color: rgba(255,255,255,.5);
|
|
margin-top: 0.5rem;
|
|
}
|
|
#searchFilters form{
|
|
padding: calc(var(--div-padding) / 3);
|
|
}
|
|
#advancedFilters{
|
|
align-self: flex-end;
|
|
}
|
|
|
|
/* btn */
|
|
.btn{
|
|
font-weight: 600;
|
|
}
|
|
.btn-primary{
|
|
background-color: #f28705;
|
|
border-color: #f28705;
|
|
}
|
|
.btn-hero-primary{
|
|
background-color: white;
|
|
color: var(--primary);
|
|
padding: 0.5em 1.5em;
|
|
border: none;
|
|
}
|
|
.btn-hero-secondary{
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
.btn-cta{
|
|
background-color: var(--primary);
|
|
color: white;
|
|
padding: 0.5em 1.5em;
|
|
}
|
|
.btn-cta, .btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary{
|
|
font-size: 1em;
|
|
}
|
|
.btn-link, .text-link, .btn-icon{
|
|
color: var(--bs-link-color);
|
|
text-decoration: none;
|
|
}
|
|
.btn-link{
|
|
padding: .725rem 1rem;
|
|
}
|
|
.btn-icon{
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.btn-icon .icon-ui{
|
|
margin-right: 0.5rem;
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
}
|
|
.btn-link:focus-visible, .text-link:focus-visible{
|
|
text-decoration: underline;
|
|
color: var(--bs-link-color);
|
|
background-color: transparent;
|
|
text-underline-offset: 0.375em;
|
|
}
|
|
.btn:disabled, .btn.disabled{
|
|
background: var(--bs-gray-400);
|
|
color: var(--bs-gray-600);
|
|
border-color: var(--bs-gray-500);
|
|
}
|
|
.btn-stack{
|
|
display: inline-flex;
|
|
justify-content: flex-start;
|
|
gap: 1rem;
|
|
}
|
|
/* forms */
|
|
.lang-select{
|
|
max-width: 12em;
|
|
}
|
|
label[for="lang"]{
|
|
font-size: 0.9em;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
#searchFilters label{
|
|
font-weight: 600;
|
|
}
|
|
#tandemList > .row{
|
|
justify-content: space-between;
|
|
gap: .5rem;
|
|
}
|
|
|
|
/* autocomplete */
|
|
|
|
.autocomplete-suggestions{
|
|
max-height: calc((1.5rem * 5) + .25rem * 11);
|
|
overflow-y: auto;
|
|
margin-top: 0.25rem;
|
|
background: var(--accent-light);
|
|
border-radius: 0.25rem;
|
|
}
|
|
.autocomplete-suggestion{
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
padding: .25rem .725rem;
|
|
}
|
|
.autocomplete-suggestion:hover{
|
|
background-color: var(--bs-link-color);
|
|
}
|
|
/* overrides */
|
|
ul, ol{
|
|
padding-left: 1rem;
|
|
}
|
|
/* helpers */
|
|
.rounded{
|
|
--bs-border-radius: 2rem;
|
|
}
|
|
.emphasis{
|
|
color: var(--bs-link-color);
|
|
}
|
|
sup.emphasis{
|
|
margin-left: 0.125rem;
|
|
margin-right: 0.125rem;
|
|
}
|
|
.validated{
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.validated::before{
|
|
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon-ui"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg>');
|
|
margin-right: 0.5rem;
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
display: inline-flex;
|
|
}
|
|
.form-check-input:checked {
|
|
background-color: var(--bs-link-color);
|
|
border-color: var(--bs-link-color);
|
|
}
|
|
|
|
/* modals */
|
|
.modal{
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
.modal-header{
|
|
border-bottom: none;
|
|
}
|
|
.modal-title{
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* footer */
|
|
footer{
|
|
background-color: rgb(220,220,220);
|
|
padding: calc(var(--div-padding) / 2);
|
|
}
|
|
footer .container-fluid{
|
|
justify-content: space-between;
|
|
}
|
|
footer a img{
|
|
max-height: 3.5em;
|
|
}
|
|
|
|
/* partners logos */
|
|
#partners{
|
|
padding: var(--div-padding);
|
|
border-top: 1px solid var(--accent-normal);
|
|
border-bottom: 1px solid var(--secondary);
|
|
}
|
|
.partners-logo-grid{
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
|
|
grid-auto-rows: auto;
|
|
grid-gap: 2em;
|
|
margin: 0 auto;
|
|
max-width: 100%;
|
|
justify-items: center;
|
|
}
|
|
.partner-logo{
|
|
display: flex;
|
|
/* justify-content: center; */
|
|
align-items: center;
|
|
}
|
|
.partner-logo img, .partner-logo svg{
|
|
max-width: 7em;
|
|
max-height: 3em;
|
|
min-height: 2.5em;
|
|
}
|
|
.ui-btn{
|
|
display: inline-flex;
|
|
background-color: white;
|
|
border-radius: 0.5rem;
|
|
}
|
|
.icon-ui{
|
|
width: 1.25em;
|
|
height: 1.25em;
|
|
margin-right: 0.65em;
|
|
}
|
|
.icon-ui-md{
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
}
|
|
nav .icon-ui{
|
|
display: inline-flex;
|
|
margin-right: .75rem;
|
|
}
|
|
/* media queries */
|
|
@media only screen and (width <= 576px) {
|
|
:root{
|
|
--div-padding: 2em;
|
|
--bottom-bar: 40px;
|
|
}
|
|
.navbar-brand{
|
|
margin-left: 1rem;
|
|
}
|
|
.lead{
|
|
hyphens: none;
|
|
}
|
|
.lang-select{
|
|
max-width: none;
|
|
}
|
|
footer a img{
|
|
height: 100%;
|
|
max-height: 2.5em;
|
|
}
|
|
.partners-logo-grid{
|
|
grid-template-columns: repeat(auto-fit, minmax(6em, 1fr));
|
|
}
|
|
.user-avatar img{
|
|
width: 6rem;
|
|
height: 6rem;
|
|
}
|
|
.profile .user-avatar, .profile .user-pseudo, .offcanvas .user-avatar{
|
|
margin: 0 auto;
|
|
text-align: center
|
|
}
|
|
.profile .user-pseudo{
|
|
margin: .5em auto;
|
|
}
|
|
.invitation{
|
|
gap: 1rem;
|
|
}
|
|
.invitation .user-pseudo{
|
|
text-align: left;
|
|
}
|
|
}
|
|
@media only screen and (width <= 992px) {
|
|
:root{
|
|
--top-bar: 5rem;
|
|
}
|
|
h1, h2, h3, h4{
|
|
text-align: center;
|
|
}
|
|
#avatarContainer{
|
|
text-align: center;
|
|
}
|
|
.profile-options, .invitation-options{
|
|
display: grid;
|
|
gap: 0 .5rem;
|
|
width: fit-content;
|
|
margin: calc(var(--div-padding) / 3) auto 0;
|
|
}
|
|
.invitation-options{
|
|
margin: 0;
|
|
}
|
|
.offcanvas .user-avatar{
|
|
margin: 0 auto;
|
|
text-align: center
|
|
}
|
|
.offcanvas .user-avatar img{
|
|
width: 5rem;
|
|
height: 5rem;
|
|
}
|
|
.offcanvas-body{
|
|
padding: 0;
|
|
background: rgb(253, 195, 20);
|
|
}
|
|
.offcanvas-body nav{
|
|
margin-top: calc(var(--div-padding) / 2);
|
|
}
|
|
.offcanvas .nav{
|
|
padding-left: calc(var(--div-padding) / 2);
|
|
margin-bottom: auto !important;
|
|
flex-direction: column !important;
|
|
}
|
|
.offcanvas .nav-link{
|
|
display: flex;
|
|
align-items: center;
|
|
background: none;
|
|
padding: var(--bs-nav-link-padding-y) calc(var(--div-padding) / 2);
|
|
border-radius: 0;
|
|
color: black;
|
|
width: 100%;
|
|
}
|
|
.offcanvas .nav-link.active{
|
|
background-color: rgba(255,255,255,.5);
|
|
font-weight: 700;
|
|
pointer-events: none;
|
|
cursor: default;
|
|
border-top-left-radius: 2rem;
|
|
border-bottom-left-radius: 2rem;
|
|
}
|
|
.offcanvas .nav-link:focus{
|
|
color: white;
|
|
background-color: #fdc314;
|
|
font-weight: 600;
|
|
}
|
|
.offcanvas li:not(:first-child){
|
|
margin-top: initial;
|
|
}
|
|
.offcanvas .user-pseudo{
|
|
font-weight: 700;
|
|
margin-top: .5em;
|
|
}
|
|
#sideLang{
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: var(--div-padding);
|
|
}
|
|
.separator.menu-admin{
|
|
margin-top: .5rem;
|
|
padding-left: 2rem;
|
|
padding-bottom: 0;
|
|
}
|
|
.separator.menu-admin > .btn-link{
|
|
padding: .725rem 1rem .725rem 0;
|
|
}
|
|
.invitation-options button span{
|
|
display: none;
|
|
}
|
|
.invitation-options button .icon-ui{
|
|
margin: 0;
|
|
}
|
|
}
|
|
@media only screen and (576px <= width <= 992px) {
|
|
.btn-stack{
|
|
justify-content: center;
|
|
}
|
|
.partners-logo-grid{
|
|
grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
|
|
}
|
|
div:not(#userLanguage) h1, div:not(#userLanguage) h2, div:not(#userLanguage) h3, div:not(#userLanguage) h4{
|
|
text-align: left;
|
|
}
|
|
}
|
|
@media only screen and (hover: hover) {
|
|
.btn-cta:hover{
|
|
background-color: var(--accent-normal);
|
|
color: white;
|
|
border: 1px solid white;
|
|
}
|
|
.btn-hero-primary:hover{
|
|
background-color: var(--primary);
|
|
color: white;
|
|
}
|
|
.btn-link:hover, .text-link:hover{
|
|
text-decoration: underline;
|
|
color: var(--bs-link-color);
|
|
background-color: transparent;
|
|
text-underline-offset: 0.375em;
|
|
}
|
|
.btn-icon:hover{
|
|
border: 1px solid var(--bs-link-color);
|
|
color: var(--bs-link-color);
|
|
background-color: transparent;
|
|
}
|
|
#tandemMeet .col:hover{
|
|
background-color: var(--accent-light);
|
|
border-radius: 0.5rem;
|
|
transition: all ease-out 0.3s;
|
|
}
|
|
#tandemMeet .col:hover .form-check-input{
|
|
--bs-border-color: var(--primary);
|
|
}
|
|
.side-menu .nav-link:not(.active):hover{
|
|
color: black;
|
|
background: #fdc314;
|
|
border-left: 6px solid #f28705;
|
|
transition: all ease-in 0.25s;
|
|
}
|
|
} |