UNPKG

@randstad-design/orbit-multitheme

Version:

multitheme Front-end code based on Randstad Human Forward components

552 lines (508 loc) 17.7 kB
.body-copy { overflow-anchor: none; } .body-copy h1, .body-copy h2, .body-copy h3, .body-copy h4, .body-copy h5, .body-copy h6 { color: #ff661a; } .body-copy h2 { font-family: Montserrat-SemiBold, arial, sans-serif; font-size: 26px; text-transform: none; line-height: 30px; margin-bottom: 20px; } .body-copy h2 + ol, .body-copy h2 + ul { margin-top: 30px; } .body-copy h3 { font-family: Montserrat-SemiBold, arial, sans-serif; font-size: 20px; text-transform: none; line-height: 30px; margin-bottom: 10px; } .body-copy h3 + ol, .body-copy h3 + ul { margin-top: 20px; } .body-copy h4 { font-family: Montserrat, arial, sans-serif; font-size: 18px; text-transform: none; line-height: 30px; margin-bottom: 10px; } .body-copy h4 + ol, .body-copy h4 + ul { margin-top: 20px; } .body-copy .title--s { font-family: Montserrat-SemiBold, arial, sans-serif; font-size: 26px; text-transform: none; line-height: 30px; margin-bottom: 20px; } .body-copy .title--s + ol, .body-copy .title--s + ul { margin-top: 30px; } .body-copy .title--xxs, .body-copy .title--xs { margin-bottom: 10px; } .body-copy .title--xxs + ol, .body-copy .title--xxs + ul, .body-copy .title--xs + ol, .body-copy .title--xs + ul { margin-top: 20px; } .body-copy ol, .body-copy ul { margin-bottom: 30px; } .body-copy ol + ol, .body-copy ol + ul, .body-copy ul + ol, .body-copy ul + ul { margin-top: 50px; } .body-copy li { padding-left: 35px; } .body-copy li::before { color: #ff661a; display: inline-block; margin-left: -35px; min-width: 31px; } .body-copy li + li { margin-top: 10px; } .body-copy ul:not(.list--checks) li::before { content: '\2022'; font-size: 1.2em; padding-left: 5px; } .body-copy ol { counter-reset: li; list-style: none; } .body-copy ol li { counter-increment: li; } .body-copy ol li::before { content: counter(li) "." " "; position: relative; } .body-copy p:last-child, .body-copy ul:last-child, .body-copy ol:last-child { margin-bottom: 0; } .body-copy a { -webkit-text-decoration: underline solid currentColor; text-decoration: underline solid currentColor; } .body-copy a:hover { -webkit-text-decoration: underline solid transparent; text-decoration: underline solid transparent; } .my-environment-container .avatar-info { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .my-environment-container .avatar-info__name { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 20px; text-transform: none; line-height: 30px; } @media (min-width: 941px) { .my-environment-container .avatar-info__name { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 26px; text-transform: uppercase; line-height: 30px; } } @media (min-width: 941px) { .my-environment-container .avatar-info { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; } } .my-environment-container .view-more-link { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .my-environment-container + .my-environment-container { margin-top: 30px; } .my-environment-container .my-environment--empty-state { width: 100%; } @media (min-width: 941px) { .my-environment-container + .my-environment-container { margin-top: 50px; } } .my-environment-container .my-environment__controls .icon { color: #ff661a; } .my-environment-container .my-environment__controls .icon:hover { color: #2e2e2e; } .my-environment-container .dashboard-card.cards__item { background: #fff0e8; background: var(--color-brand-primary-tint-7); } .my-environment-container .dashboard-card.cards__item--top, .my-environment-container .dashboard-card.cards__item--bottom { color: #4d4d4d; } .my-environment-container .dashboard-card.cards__item--middle { color: #ff661a; } .my-environment-container .dashboard-card.cards__item .cards__link { color: #2e2e2e; } .my-environment-container .my-environment-header { color: #ff661a; } .my-environment-container .my-environment-item__card { background: #fff0e8; } .my-environment__controls { -webkit-align-self: start; -ms-flex-item-align: start; align-self: start; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .my-environment__controls button:nth-child(n+2) { margin-left: 22px; } .my-environment__controls .button--clean { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; } .my-environment__controls .icon { cursor: pointer; } .my-environment__controls--list { -webkit-align-self: center; -ms-flex-item-align: center; align-self: center; margin-left: auto; -webkit-box-ordinal-group: 4; -webkit-order: 3; -ms-flex-order: 3; order: 3; } .my-environment__controls .icon { color: #ff661a; } .my-environment__controls .icon:hover { color: #2e2e2e; } .dashboard-card.cards__item { background: #fff0e8; background: var(--color-brand-primary-tint-7); } .dashboard-card.cards__item--top, .dashboard-card.cards__item--bottom { color: #4d4d4d; } .dashboard-card.cards__item--middle { color: #ff661a; } .dashboard-card.cards__item .cards__link { color: #2e2e2e; } .my-environment-header { color: #ff661a; } .my-environment-item__card { background: #fff0e8; } .dashboard-cards { display: grid; grid-template-columns: repeat(2, calc((13/28) * 100%)); grid-gap: 80px calc((2/28) * 100%); row-gap: 20px; } .dashboard-cards .dashboard-card { border-radius: 8px; overflow: hidden; overflow-wrap: break-word; width: auto; } .dashboard-cards .dashboard-card--top { font-family: Montserrat, arial, sans-serif; font-size: 16px; text-transform: none; line-height: 25px; } @media (min-width: 941px) { .dashboard-cards .dashboard-card--top { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 20px; text-transform: none; line-height: 30px; } } .dashboard-cards .dashboard-card--middle { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 40px; text-transform: uppercase; line-height: 45px; overflow: hidden; } @media (min-width: 941px) { .dashboard-cards .dashboard-card--middle { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 60px; text-transform: uppercase; line-height: 60px; } } .dashboard-cards .dashboard-card--bottom { font-family: Montserrat, arial, sans-serif; font-size: 12px; text-transform: none; line-height: 15px; } @media (min-width: 941px) { .dashboard-cards .dashboard-card--bottom { font-family: Montserrat, arial, sans-serif; font-size: 16px; text-transform: none; line-height: 25px; } } .dashboard-cards .dashboard-card--profile { z-index: 0; } .dashboard-cards .dashboard-card.cards__item { min-height: unset; } @media (min-width: 941px) { .dashboard-cards { grid-template-columns: repeat(4, calc((13/58) * 100%)); grid-gap: 80px calc((2/58) * 100%); } } @media only screen and (min-width: 941px) and (max-width: 1280px) { .dashboard-cards .dashboard-card--profile .dashboard-card--middle { margin: 25px 0; } } @media (min-width: 1281px) { .dashboard-cards .dashboard-card--profile .dashboard-card--middle { margin: 25px 0 10px; } .dashboard-cards .dashboard-card--profile .rating-readonly, .dashboard-cards .dashboard-card--profile .rating-readonly__icon--wrapper, .dashboard-cards .dashboard-card--profile .icon--filled { height: 30px; } .dashboard-cards .dashboard-card--profile .rating-readonly.rating--m .rating-readonly__icon--wrapper, .dashboard-cards .dashboard-card--profile .rating-readonly.rating--m .icon--filled:before { width: 160px; } .dashboard-cards .dashboard-card--profile .icon--filled { background-size: 40px 30px; } .dashboard-cards .dashboard-card--profile .icon--filled:before { background-size: 40px 30px; width: 160px; } .dashboard-cards .dashboard-card--profile .dashboard-card--bottom { padding-top: 20px; } } .bg-brand--light-grey .icon--filled { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 5 45 20' width='30' height='20' fill='%23ff661a'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A"); } .bg-brand--light-grey .icon--filled:before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 5 45 20' width='30' height='20' fill='%23fff'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A"); -webkit-filter: invert(100%); filter: invert(100%); opacity: 0.1; } .my-environment__controls .icon { color: #ff661a; } .my-environment__controls .icon:hover { color: #2e2e2e; } .dashboard-card.cards__item { background: #fff0e8; background: var(--color-brand-primary-tint-7); } .dashboard-card.cards__item--top, .dashboard-card.cards__item--bottom { color: #4d4d4d; } .dashboard-card.cards__item--middle { color: #ff661a; } .dashboard-card.cards__item .cards__link { color: #2e2e2e; } .my-environment-header { color: #ff661a; } .my-environment-item__card { background: #fff0e8; } .my-environment-header { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } .my-environment-header__title--ml { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 20px; text-transform: none; line-height: 30px; } @media (min-width: 941px) { .my-environment-header__title--ml { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 26px; text-transform: uppercase; line-height: 30px; } } .my-environment-header__title--m { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 20px; text-transform: none; line-height: 30px; } .my-environment-header__title--s { font-family: Montserrat, arial, sans-serif; font-size: 18px; text-transform: none; line-height: 30px; } @media (min-width: 941px) { .my-environment-header__title--s { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 20px; text-transform: none; line-height: 30px; } } .my-environment-action-header__title { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 26px; text-transform: uppercase; line-height: 30px; } .my-environment-action-header ~ .view-more-button { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .my-environment-action-header + .view-more-button .button { margin-top: unset; } .my-environment-container h1 { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 26px; text-transform: uppercase; line-height: 30px; } @media (min-width: 941px) { .my-environment-container h1 { font-family: Montserrat-ExtraBold, arial, sans-serif; font-size: 40px; text-transform: uppercase; line-height: 45px; } } .my-environment__controls .icon { color: #ff661a; } .my-environment__controls .icon:hover { color: #2e2e2e; } .dashboard-card.cards__item { background: #fff0e8; background: var(--color-brand-primary-tint-7); } .dashboard-card.cards__item--top, .dashboard-card.cards__item--bottom { color: #4d4d4d; } .dashboard-card.cards__item--middle { color: #ff661a; } .dashboard-card.cards__item .cards__link { color: #2e2e2e; } .my-environment-header { color: #ff661a; } .my-environment-item__card { background: #fff0e8; } .my-environment-item__description { font-family: Montserrat, arial, sans-serif; font-size: 16px; text-transform: none; line-height: 25px; } .my-environment-item__description.body-copy li { padding-left: 25px; } .my-environment-item__description.body-copy li:before { margin-left: -25px; min-width: 25px; } .my-environment-item__description.body-copy li + li { margin-top: 5px; } .my-environment-item__content--cta, .my-environment-item__description { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .my-environment-item__content--cta a, .my-environment-item__description a { max-width: -webkit-max-content; max-width: -moz-max-content; max-width: max-content; } @media (min-width: 941px) { .my-environment-item__content--cta { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; } .my-environment-item__content--cta a { -webkit-align-self: flex-end; -ms-flex-item-align: end; align-self: flex-end; } } @media (min-width: 501px) { .navigation.my-environment .popover:before { right: 80px; } } @media (min-width: 941px) { .navigation.my-environment .popover:before { right: 20px; } } @media (min-width: 1281px) { .navigation.my-environment .popover:before { right: 60px; } } .my-environment-item__list { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .my-environment-item__list-title { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-align-self: stretch; -ms-flex-item-align: stretch; align-self: stretch; width: calc(100% - 65px); } .my-environment-item__list-content { -webkit-box-ordinal-group: 5; -webkit-order: 4; -ms-flex-order: 4; order: 4; width: 100%; } .my-environment-header + .my-environment-item__list { margin-top: 20px; } .my-environment-item__list.closable--closed, .my-environment-item__list.closable--closed > * { margin: 0; padding: 0; border: 0 solid transparent; -webkit-transition: max-height 0.3s 0.3s, padding 0.3s 0.3s, margin 0.3s 0.3s; transition: max-height 0.3s 0.3s, padding 0.3s 0.3s, margin 0.3s 0.3s; } @media (min-width: 941px) { .my-environment-item__list { -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } .my-environment-item__list-details { padding-top: 0; } .my-environment-item__list-details:not(last-of-type) { padding-bottom: 0; } .my-environment-item__list-title { width: calc((17/43) * 100%); } .my-environment-item__list-content { margin-top: unset; -webkit-box-ordinal-group: 3; -webkit-order: 2; -ms-flex-order: 2; order: 2; width: calc((20/43) * 100%); } .my-environment-header + .my-environment-item__list { margin-top: 30px; } .my-environment-item__list + .my-environment-container { padding-top: 20px; } } .my-environment-item__card { border-radius: 8px; max-height: unset; visibility: visible; opacity: 1; } .my-environment__controls .icon { color: #ff661a; } .my-environment__controls .icon:hover { color: #2e2e2e; } .dashboard-card.cards__item { background: #fff0e8; background: var(--color-brand-primary-tint-7); } .dashboard-card.cards__item--top, .dashboard-card.cards__item--bottom { color: #4d4d4d; } .dashboard-card.cards__item--middle { color: #ff661a; } .dashboard-card.cards__item .cards__link { color: #2e2e2e; } .my-environment-header { color: #ff661a; } .my-environment-item__card { background: #fff0e8; } /*# sourceMappingURL=my-environment.css.map */