@import "../helpers/mixins"; @import "../helpers/variables"; @import "../helpers/functions"; // // People // -------------------------------------------------- //## People grid. .view-people-directory { margin-bottom: 40px; h3 { text-transform: uppercase; } .row { display: flex; @media (max-width: 768px) { display: block; } } .view-header { margin-bottom: 20px; padding-bottom: 20px; border-bottom: solid #979797 3px; } .people-row { font-size: 14px; line-height: 1.6; display: flex; @media (max-width: 768px) { display: block; } .inner-people-grid { flex: 1; background: #F9F9F9; padding: 20px; margin-bottom: 30px; @media (max-width: 768px) { flex: none; } .views-field-user-picture { margin-bottom: 10px; } .views-field-nothing-1 { img { width: 100%; } } .views-field-field-first-name, .views-field-field-last-name { font-weight: bold; font-size: 16px; a { &:hover { color: $red-base; } } } } } .square-opic { max-width: 220px; max-height: 220px; overflow: hidden; position: relative; &:after { content: ""; display: block; padding-bottom: 100%; } @media (max-width: 768px) { max-width: 100%; max-height: 630px; } } .square-opic-content { position: absolute; width: 100%; height: 100%; } } // -------------------------------------------------- //## Siderbar and Filters form. .block-views-exposed-filter-blockpeople-directory-page-1 { padding: 20px 0px; } #views-exposed-form-people-directory-page-1 { .form-item { width: 100%; } .form-checkbox { -webkit-appearance: none; -moz-appearance: none; -ie-appearance: none; background-color: #fafafa; border: 1px solid #cacece; box-shadow: 0 1px 2px rgba(0,0,0,0.05); padding: 9px; border-radius: 3px; display: inline-block; position: relative; top: 4px; &:active, &:checked:active { box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1); } &:checked { background-color: #442369; border: 1px solid #adb8c0; box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1); color: #99a1a7; } &:checked:after { content: '\2713'; font-size: 14px; position: absolute; top: 0px; left: 3px; color: $white; } } .form-wrapper { margin-top: 20px; legend { text-transform: uppercase; color: #4A4A4A; font-weight: bold; font-size: 18px; border-bottom: none; margin-bottom: 5px; } } label { width: 90%; margin-left: 28px; input { margin-left: -28px; margin-right: 8px; } } } // -------------------------------------------------- //## Mobile View. #views-exposed-form-people-directory-page-2 { background: #D8D8D8; padding: 10px; details { background: #ffffff; padding: 5px 10px; border-radius: 8px; margin: 10px 0; } .ppl-filter-heading { color: #225D62; margin: 5px 0; text-transform: capitalize; } .ppl-taxon-heading { margin-top: 20px; } .form-checkbox { -webkit-appearance: none; -moz-appearance: none; -ie-appearance: none; background-color: #fafafa; border: 1px solid #cacece; box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05); padding: 9px; border-radius: 3px; display: inline-block; position: relative; top: 4px; margin-right: 5px; &:active, &:checked:active { box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1); } &:checked { background-color: #442369; border: 1px solid #adb8c0; box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1); color: #99a1a7; } &:checked:after { content: '\2713'; font-size: 14px; position: absolute; top: 0px; left: 3px; color: $white; } } #edit-submit-people-directory { text-transform: uppercase; } #edit-reset { text-transform: uppercase; } } // -------------------------------------------------- //## Bio. .path-user .page-header { display: none; } .bio-header-top { background: #F9F9F9; .bio-top-right { img { padding: 15px 0; width: 100%; } } .field--name-field-google-map-location { .field--item { padding: 20px 0; .geolocation-formatter-map-wrapper { border: solid 2px #979797; } } } .bio-top-left { h1 { margin-bottom: 0; } .bio-pronoun { font-size: 14px; font-style: italic; } } } .bio-header { width: 100%; float: left; margin: 0 0 20px; } .bio-btm-left { margin-bottom: 40px; h2 { font-size: 22px; } .carousel { height: auto; overflow: hidden; width: 100%; .field--name-field-media-image { padding-bottom: 0; .img-responsive { width: 100%; } } @media (max-width: 1030px) { height: auto; } } .bio-exp { padding-left: 0; } .taxonomy-people-heading { float: left; width: 100%; padding-top: 15px; h2 { line-height: 0; font-size: 18px; } } } .bio-btm-right { h3 { font-size: 18px; padding-top: 20px; } }