mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-24 11:06:14 +00:00
155 lines
3.7 KiB
SCSS
155 lines
3.7 KiB
SCSS
// Access to Bootstrap variables and mixins
|
|
@import '~ChillMainAssets/module/bootstrap/shared';
|
|
|
|
/*
|
|
* PERSON CONTEXT
|
|
*/
|
|
div.banner {
|
|
div#header-person-name {
|
|
background: none repeat scroll 0 0 $chill-green-dark;
|
|
color: $white;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
div#header-person-details {
|
|
background: none repeat scroll 0 0 $chill-green;
|
|
color: $white;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
div.contact {
|
|
& > * {
|
|
margin-right: 1em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div.person-view {
|
|
figure.person-details {
|
|
h2 {
|
|
font-family: 'Open Sans';
|
|
font-weight: 600;
|
|
margin-bottom: 0.3em;
|
|
font-variant: small-caps;
|
|
}
|
|
dl {
|
|
margin-top: 0.3em;
|
|
}
|
|
dt {
|
|
font-family: 'Open Sans';
|
|
font-weight: 600;
|
|
}
|
|
dd {
|
|
margin-left: 0;
|
|
}
|
|
/*
|
|
a.sc-button { background-color: $black; padding-top: 0.2em; padding-bottom: 0.2em; }
|
|
*/
|
|
}
|
|
/* custom fields on the home page */
|
|
div.custom-fields {
|
|
figure.person-details {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
div.cf_title_box:nth-child(4n+1) h2 {
|
|
@extend .chill-red !optional;
|
|
}
|
|
div.cf_title_box:nth-child(4n+2) h2 {
|
|
@extend .chill-green !optional;
|
|
}
|
|
div.cf_title_box:nth-child(4n+3) h2 {
|
|
@extend .chill-orange !optional;
|
|
}
|
|
div.cf_title_box:nth-child(4n+4) h2 {
|
|
@extend .chill-blue !optional;
|
|
}
|
|
div.cf_title_box:nth-child(2n+1) {
|
|
width: 50%;
|
|
margin-right: 40px;
|
|
}
|
|
div.cf_title_box:nth-child(2n+2) {
|
|
width: calc(50% - 40px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
* ACCOMPANYING_COURSE CONTEXT
|
|
* Header custom for Accompanying Course
|
|
*/
|
|
$chill-accourse-context: #718596;
|
|
|
|
div.banner {
|
|
div#header-accompanying_course-name {
|
|
background: none repeat scroll 0 0 $chill-accourse-context;
|
|
color: $white;
|
|
h1 {
|
|
margin: 0.4em 0;
|
|
}
|
|
span {
|
|
a {
|
|
color: $white;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
div#header-accompanying_course-details {
|
|
background: none repeat scroll 0 0 tint-color($chill-accourse-context, 20%);
|
|
color: $white;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* HOUSEHOLD CONTEXT
|
|
* Header custom for Household
|
|
*/
|
|
$chill-household-context: #929d69;
|
|
|
|
div.banner {
|
|
div#header-household-name {
|
|
background: none repeat scroll 0 0 $chill-household-context;
|
|
color: $white;
|
|
h1 {
|
|
margin: 0.4em 0;
|
|
}
|
|
span {
|
|
a {
|
|
color: $white;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
div.household-members {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
span.badge-member {
|
|
flex-shrink: 0; flex-grow: 0; flex-basis: auto;
|
|
color: $white;
|
|
border: 1px solid #ffffff3b;
|
|
border-radius: 8px;
|
|
padding: 0.4em 0.8em;
|
|
margin-bottom: 0.2em;
|
|
margin-right: 0.3em;
|
|
&.holder { order: -1; }
|
|
&.child { order: 2; }
|
|
}
|
|
}
|
|
}
|
|
div#header-household-details {
|
|
background: none repeat scroll 0 0 tint-color($chill-household-context, 15%);
|
|
color: $white;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
span.current-members-explain {
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|