// .scss files will get core functions and variables automatically from build script // page style overrides .page-content h1 { display: none; } .breadcrumb-row { display: none; } main { background: $offwhite; } #page-content>section { padding: 0 0 6rem 0; } .page-hero { height: 100px; background: transparent; } .page-hero .page-hero-heading { color: $purple; font-size: rem(42); } // horizontal nav for directory .horz-nav-row { display: flex; align-items: stretch; margin: 0 auto 2rem auto; //box-shadow: 0 0 3px rgba(black,0.25); >a { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; text-align: center; background: $blue2; color: white; font-size: rem(10); font-weight: bold; line-height: 1em; text-transform: uppercase; padding: 0.5rem; margin-right: 1px; &:before { display: block; margin: 0 auto 0.25em auto; font-size: rem(24); } &:first-child { border-radius: 5px 0 0 5px; } &:last-child { border-radius: 0 5px 5px 0; margin-right: 0; } &:hover { background: $blue3; color: $blue1; } &.horz-nav-selected { background: $blue1; color: $gold; } } @media (min-width: 768px){ max-width: 800px; >a { justify-content: center; align-items: center; flex-direction: row; font-size: rem(18); &:before { display: inline-block; margin: 0 0.5rem 0 0; vertical-align: middle; } } } } .directory { width: 100%; font-family: $sans-alt; font-size: 14px; margin-bottom: 1rem; empty-cells: hide; box-shadow: 0 0 3px rgba(black,0.25); thead th { text-align: left; padding: 10px; background: $purple; color: white; font-family: $heading-font; font-weight: bold; font-size: rem(16); &:nth-child(1){ font-size: rem(24); font-weight: 300; //color: $gold; } &:nth-child(4){ text-align: center; } .staff-directory & { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; } } tbody tr { background: white; border: 0 none; &:nth-child(even) { background: lighten($gray3,5%); } } td { padding: 10px; vertical-align: top; font-size: 14px; &:before { display: none; margin: 0 5px 0 0; } } @media (max-width: 768px){ thead th { font-size: 1.25rem; } tbody tr { display: block; padding: 10px 0; } td { display: block; padding: 0 10px; width: auto !important; &.hide-empty { display: none !important; } &:first-child { padding-top: 0px; } &:last-child { padding-bottom: 0px; } &:empty { visibility: hidden; } &:before { display: inline-block; } } } } .offices-directory #page-content .directory { // title td:nth-child(1) { width: 40%; font-weight: bold; } // phone td:nth-child(2) { width: 20%; } // email td:nth-child(3) { width: 20%; } // mail code td:nth-child(4) { width: 10%; text-align: center; } // staff link td:nth-child(5) { white-space: nowrap; width: 20%; text-align: right; } @media (max-width: 768px){ thead { display: block; } thead th { display: none; font-size: 1.25rem; &:nth-child(1){ display: block; } } // title td:nth-child(1) { font-size: rem(16); padding-top: 0; margin-bottom: 5px; } // mail code td:nth-child(4) { text-align: left; &::before { content: 'Mail Code: '; } } // staff link td:nth-child(5) { text-align: left; } } } .offices-directory #page-content .directory-sorted { margin-bottom: 0; box-shadow: 0 0 0 transparent; thead { display: none; } tbody tr { background: white; &:nth-child(even) { background: white; } } } .contact1 { display: block; &:after { content: '@CalLutheran.edu'; } } .contact2 { display: block; } .building { display: block; } .mailcode { display: block; &:before { content: 'Mail Code: '; } } #name-search { display: block; margin: 0 0 1rem 0; input { width: 100%; } @media (min-width: 768px){ flex: 3 1 auto; margin: 0 20px 0 0; } } #dept-search { display: block; margin: 0 0 2rem 0; span { margin-right: 1rem; } select { width: 100%; height: 34px; } @media (min-width: 768px){ flex: 1 1 auto; margin: 0; span { margin-right: 0; } } } #submit { @media (min-width: 768px){ flex: 0 0 auto; padding: 0.25rem 1rem; margin: 0 0 0 20px; align-self: flex-end; } } // social media .social-media-table { border-top: 1px solid rgba(black, 0.15); margin-top: 4rem; @media (max-width: 768px){ tbody tr { padding: 1rem; } td { padding: 0 5px; &:last-child { padding: 0 5px; } } } } td.name-col { vertical-align: middle; font-size: 1.125rem; font-family: $body-font; width: 60%; @media (max-width: 768px){ padding-top: 0 !important; padding-bottom: 10px; font-size: rem(16); width: 100%; } } td.account-col { text-align: center; vertical-align: middle; width: auto; i { @include circle-icon(40px,40px,1.5rem); background: transparent; color: rgba(0,0,0,0.3); margin: auto; } a { text-decoration: none; i { color: white; &.icon-facebook { background: #4862a3; } &.icon-twitter { background: #2fb0ed; } &.icon-youtube { background: #e6302b; } &.icon-linkedin { background: #4875b4; } &.icon-instagram { background: #ff2f51; } } } @media (max-width: 768px){ display: inline-block !important; } } // alphabet list selector #alphabet-list { justify-content: center; li { flex: 0 0 30px; a { font-size: rem(21); } } } // live search .live-search-container { margin: auto auto 1rem auto; } #live-search-input { font-size: rem(21); width: 100%; } #live-search-clear { font-size: rem(21); height: 1em; &:before { margin: 0; } &:active { outline: 0; } } // directory controls #directory-controls { padding-top: 0; } // back to top .toplink { position: fixed; display: inline-block; background: $green2; box-shadow: 0 1px 3px rgba(black,0.4); bottom: 10%; right: 10%; width: 80px; height: 80px; border-radius: 50%; text-align: center; color: white; font-size: rem(13); line-height: 1em; text-decoration: none; padding: 0 10px; opacity: 0; visibility: hidden; transition: 250ms linear opacity; span { width: 100%; display: block; } i { font-size: rem(36); display: block; margin: 0 auto; } &:hover { color: white; background: $green1; } &.show { opacity: 1; visibility: visible; } @media (max-width: 767px){ transform: translateX(50%); right: 50%; bottom: 1rem; border-radius: 5px; width: auto; height: auto; padding: 0 0.5rem 0.5rem 0.5rem; i { font-size: rem(24); line-height: 1em; } } }