mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
250 lines
5.7 KiB
SCSS
250 lines
5.7 KiB
SCSS
// Access to Bootstrap variables and mixins
|
|
@import '~ChillMainAssets/module/bootstrap/shared';
|
|
|
|
// Complete/override Main generic assets
|
|
@import './scss/mixins';
|
|
@import './scss/render_box.scss';
|
|
@import './scss/flex_table.scss';
|
|
|
|
// Specific templates styles
|
|
@import './scss/accompanying_period_work.scss';
|
|
@import './scss/person_by_phonenumber.scss';
|
|
@import './scss/address_history.scss';
|
|
|
|
|
|
/*
|
|
* PERSON CONTEXT
|
|
* Header custom for Person
|
|
*/
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
abbr.referrer {
|
|
font-size: 70%;
|
|
padding-right: 0.4em;
|
|
align-self: center; // in flex context
|
|
}
|
|
|
|
/*
|
|
* 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 transparentize($white, 0.75);
|
|
border-bottom: 3px solid transparentize( shade-color( $chill-green, 20%), 0.3);
|
|
border-radius: 8px;
|
|
padding: 0.2em 0.7em;
|
|
margin-bottom: 0.2em;
|
|
margin-right: 0.3em;
|
|
|
|
&.holder {
|
|
order: -1;
|
|
.fa-holder .text-success {
|
|
color: transparentize( shade-color( $chill-green, 20%), 0.3) !important;
|
|
}
|
|
}
|
|
&.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: 700;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.household-resume {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
div.col-address {
|
|
font-size: 120%;
|
|
padding-left: 1em;
|
|
|
|
}
|
|
div.col-comment {
|
|
//padding: 0;
|
|
margin-bottom: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
> * > * {
|
|
& > .chill-user-quote {
|
|
margin: 1.5em -1.67em 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
* BADGES, MARKS, PINS
|
|
* for chill person theme
|
|
*/
|
|
|
|
// chill person badges
|
|
span.badge-person,
|
|
span.badge-thirdparty {
|
|
display: inline-block;
|
|
padding: 0 0.5em !important;
|
|
background-color: $white;
|
|
color: $dark;
|
|
border: 1px solid $chill-ll-gray;
|
|
border-bottom-width: 2px;
|
|
border-bottom-style: solid;
|
|
border-radius: 6px;
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
span.badge-person {
|
|
border-bottom-color: $chill-green;
|
|
}
|
|
// todo: move in thirdparty
|
|
span.badge-thirdparty {
|
|
border-bottom-color: shade-color($chill-pink, 10%);
|
|
}
|
|
|
|
// household holder mark
|
|
span.fa-holder {
|
|
width: 1em;
|
|
margin: -10px 0.3em -8px 0;
|
|
i:last-child {
|
|
font-weight: 900;
|
|
color: white;
|
|
font-size: 70%;
|
|
font-family: "Open Sans Extrabold";
|
|
}
|
|
}
|