WebJamApps/CollegeLutheran

View on GitHub
static/styles.scss

Summary

Maintainability
Test Coverage
@import 'config';
@import 'menu';
@import 'footer';
@import 'tables';
@import 'home';
@import 'materialui';
@import 'mobile';
@import 'slideshow';

/* General */
* {
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

p {
  margin-top: 0;
}

#content {
  left: auto;
  width: 1000px;
  margin: auto;
}

.elevation2 {
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  padding: 10px;
  height: 500px;
  max-height: 500px;
  max-width: 500px;
  margin: auto;
}

.elevation3 {
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.4);
}

/* Headers */

h1 {
  font-size: 34pt;
}

h2 {
  font-size: 30pt;
}

h3 {
  font-weight: bold;
  font-size: 24pt;
}

h3.au-target.header-text.ohaf-header {
  padding: 0;
}

h4 {
  font-size: 18pt;
}

h5 {
  font-size: 16pt;
  margin-bottom: 20px;
  margin-top: 0;
}

h6 {
  text-align: center;
  font-weight: bold;
  color: black;
  font-style: italic;
  font-family: 'PT Sans Caption';
}

h1, h2, h3, h4, h5 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-family: 'PT Sans Caption';
}

/* Forms Generic */

form {
  max-width: 350px;
  margin: 0 auto;
  margin-top: 0;
}

input {
  min-width: 3in;
  padding-left: 5px;
}

label {
  /* font-size: 11pt; */
  padding-top: 25px;
  margin-bottom: 0;
  padding-bottom: 0;
  display: block;
  width: 100%;
}

select {
  width: 120px;
}

/* Home Header and Menu */

.headercontent {
  top: 2px;
  box-shadow: 0 2px 2px 0
  rgba(0, 0, 0, 0.14), 0 1px 5px 0
  rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  border-radius: 2px;
}

.headercontent img {
  position: relative;
  left: 0px;
}

.headercontent h3 {
  margin: 0 !important;
  padding: 0 !important;
}

.header-text {
  color: white;
  font-size: 19pt;
  font-weight: 500;
  font-family: 'TrajanProRegular', Times, 'Times New Roman', serif;
}

.header-text-card {
  left: 10px;
  top: -32px;
  text-align: center;
}

.home-sidebar {
  background-color: #c0c0c0;
}

.home-header {
  background-color: #2a222a;
  /* margin: 0; */
  height: 91px;
}

.home-header-image {
  width: 85px;
}

.home-menu-toggle {
  color: #333;
}

.flex-header {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-left: 5px;
  padding: 0;
  width: 85%;
}

.subTitle {
  max-width: 80%;
  font-weight: bold;
  font-size: 16px;
  color: #999999;
  font-family: 'Trebuchet MS', 'ChivoBlack', Arial, Helvetica, sans-serif;
}

/* splash is in the index.ejs file, used for the initial page load animation */

.splash {
  text-align: center;
  margin: 10% 0 0;
  box-sizing: border-box;
}

.splash .message {
  font-size: 72px;
  line-height: 72px;
  text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.splash .fa-spinner {
  text-align: center;
  display: inline-block;
  font-size: 72px;
  margin-top: 50px;
}

/* Links */

a:not([href]):not([tabindex]) {
  text-decoration: underline;
  color: #007bff;
}

a:not([href]):not([tabindex]):hover {
  text-decoration: underline;
  color: #0056b3;
}

p, a, label {
  font-family: 'Trebuchet MS', 'ChivoBlack', Arial, Helvetica, sans-serif;
  font-size: 12pt;
}

a {
  text-decoration: underline;
  text-align: center;
  cursor: pointer;
  border: none !important;
}

a:hover {
  color: #0056b3;
}

.regularLink {
  text-decoration: underline;
}

/* Buttons */

button {
  cursor: pointer;
}

button:hover {
  background-color: #ddffcc;

}

button:disabled {
  background-color: #f2f2f2;
  cursor: none
}

.button-lib {
  height: 0.35in;
  text-transform: none;
  margin: 20px 6cm 0;
  background-color: #c0c0c0;
  border-width: thin;
  border-style: outset;
  border-color: #8c8c8c;
}

.button-checkout {
  height: 0.35in;
  width: 0.95in;
  text-transform: none;
  background-color: black;
  border-width: thin;
  border-style: outset;
  border-color: #737373;
  color: white;
}

.button-checkin {
  height: 0.35in;
  width: 0.95in;
  text-transform: none;
  background-color: #88bde6;
  border-width: thin;
  border-style: outset;
  border-color: #2d8bd2;
  color: black;
}

/* Keyframes */

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
}

/* @media print { */
  div.page-host {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
}
/* } */
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* animation definitions */
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/* App/404 */

div.fof {
  height: 80vh;
}

/* App/Giving */

.giving-iframe {
  width: 800px;
  height: 750px;
  border: 1px solid #d3d3d3;
}

/* App/Staff */

.staffPicture {
  width: 288px;
  display: block;
  margin: auto;
  text-align: center;
}

.staffDescription {
  text-align: left;
  max-width: 8in;
  margin: auto;
  margin-top: 15px;
}

/* components/elcaLogo */

div.familyELCA, div.youthELCA, div.givingELCA, div.beliefsELCA, div.newsELCA {
  text-align: center;
  margin: auto;
  padding-top: 0;
}

.staffElca {
  text-align: left;
  margin-bottom: -30px;
  margin-top: 20px;
  display: none;
}

.twitch-container {
  height: 100vh;
  display: grid;
  grid-auto-flow: column;
}

.horiz-scroll {
    white-space: nowrap;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
}