andela/eventx

View on GitHub
app/assets/stylesheets/welcome.scss.erb

Summary

Maintainability
Test Coverage
// Place all the styles related to the welcome controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/


html, body {
  height: 100%;
  width: 100%;
}

.parallax-container {
  height: 640px;
  width: 100%;
  background-color: rgba(0,0,0,0.45);
}

#event {
  position: absolute;
  height: inherit;
  width: 100%;
  text-align: center;
  margin: auto;
  background-color: rgba(0,0,0,0.4);
}

.home_app_title {
  color: #fff !important;
  text-shadow: 2px 1px 1px black;
  font-family: 'Roboto', cursive;
  margin:0;
  padding: 25px 0;
  font-size: 3rem;
}

.home_user_options .home_sign_in_or_up { display: inline; }

.home_user_options .home_sign_in_or_up .btn_a_tag {
  text-decoration: none;
  color: #fff;
}

.home_app_tag {
  width: 20%;
  font-size: 1.5rem;
  color: #fff;
  margin: auto;
}

.btn-large.home_button {
  font-size: 1.25em;
  border-style: solid #EED8AE;
  border-radius: 6px;
  background-color: #00897b;
  color: #ffffff
}

.home_tag {
  position: relative;
  top: 12%;
  bottom: 12%;
}

.search_form {
  position: relative;
  background-color: rgba(0, 0, 0, 0.64);
  bottom: 0 !important;

  select {
    width: 80%;
    margin-left: 20%;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    border-bottom: 1px solid #fff;
    -webkit-appearance: none !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -moz-appearance: none !important;
    text-decoration: none !important;
    border-radius: none !important;
    
    &:focus {
      outline: none;
    }
  }
}

.white_text { color: #fff; }

.black_text { color: black; }

.red_text { color: #F44336; }

.orange_text { color: #FC4A1A; }

.yellow_text { color: #F7B733; }

.blue_text { color: #2196F3; }

.teal_text { color: #4ABDAC; }

.yellow_bg { background: #F7B733; }

.orange_bg { background: #FC4A1A; }

.teal_bg { background: #4ABDAC; }

.aliceblue_bg { background:#e3efef; }

input[type=text]:focus:not([readonly]) {
  border-bottom: 1px solid #fff;
  box-shadow: 0 1px 0 0 #EED8AE;
}

.content-set { margin: 40px; }

.event-section { background:#F7F7F7; }

.card-shadow { box-shadow: 0 1px 0 0 rgba(0,0,0,.1); }

.card .card-content .card-title {
  line-height: 0px;
  width: 15px;
}

.card .card-title{
  font-size: 15px;
  background-color: rgba(0,0,0, 0.32 );
}

.about-card-title {
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: 300;
  letter-spacing: 1px;
}

.card .card-action {
  border-top: 1px solid rgba(160, 160, 160, 0.2);
  padding: 10px 20px;
}

.pointer { cursor: pointer; }

.Amount {
  text-transform: uppercase;
  background-color: #EED8AE;
  font-size: 12px;
  line-height: 20px;
  color: #222;
  box-shadow: 2px 2px 2px #000;
  box-sizing: border-box;
  padding: 2px 10px;
  position: absolute;
  display: inline-block;
  top: 10px;
  right: 10px;
  z-index: 50;
}

.profile-card {
  transition: box-shadow .25s;
  text-align: center;
  border-radius: 2px;
}

.why-choose-row {
  text-align: center;
  padding: 50px 0;

  .bubble {
    display: inline-block;
    padding: 20px;
    width: 280px;
    height: 280px;
    opacity: 0.7;
    border-radius: 50%;
  }

  .bubble-header {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    display: inline-block;
    height: 40px;
    width: 40px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
  }
}

@media only screen and (max-width : 768px) {
  .why-choose-row {
    padding: 20px 0;
    .bubble {
      padding: 20px;
      width: 180px;
      height: 180px;
      font-size: 80%;
    }

    .bubble-header {
      font-size: 16px;
      margin-bottom: 5px;
      display: inline-block;
      height: 25px;
      width: 25px;
      padding: 1px;
    }

    .padding-side-25 p.card-title {
      font-size: 14px;
    }
  }

  .about .community-row {
     margin: 0; 
  }
}

.community-row {
  text-align: center;
  margin: 60px;

  img {
    max-height: 200px;
    max-width: 100%;
  }
}

.card .card-reveal {
  padding: 20px;
  position: absolute;
  background-color: #fff;
  width: 100%;
  overflow-y: auto;
  top: 100%;
  height: 100%;
  z-index: 51;
  display: none;
}

.remove-margin { margin: 0; }

.tabs .indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: #FFE0A6;
  will-change: left, right;
}

.tabs .tab a {
  color: rgb(140, 131, 131);
  display: block;
  width: 100%;
  height: 100%;
  font-weight: bolder;
  -webkit-transition: color 0.28s ease;
  -moz-transition: color 0.28s ease;
  -o-transition: color 0.28s ease;
  -ms-transition: color 0.28s ease;
  transition: color 0.28s ease;
}

.tabs .tab a:hover { color: #f9c9cb; }

footer.page-footer {
  position: relative;
  z-index: 40;
  margin-top: 0px;
  padding-top: 20px;
  background-color: #333333;
  border-top: 5px solid #666666;

  a { color: #666; }

  nav {
    color: #fff;
    background-color: #333333;
    width: 100%;
    height: 56px;
    line-height: 56px;
    border-bottom: #000000 2px solid;
  }
}

.hideme { opacity:0; }

i.when_icon {
  color: white;
  position: absolute;
  left: 5px;
}

.btn-large.bottom_btn {
  background-color: #EED8AE;
  color: #000000;
}

nav.custom_nav {
  background-color: rgba(0, 0, 0, 0.0);
  width: 100%;
  color: white !important;
  top: 0;
  position: absolute;
  z-index: 10;
  box-shadow: none;
}

.sso_option .btn { width: 100% !important; }

.profile_pic.circle {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border: solid 3px rgba(255,255,255, 0.6);
}

.our-center { margin:0 auto !important; }

.alert-scroll-under {
  display: inline-block;
  vertical-align: middle;
  height: 2%;
  width: 2%;
  background-position: 0 -1865px;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 15;
  bottom: 2.625rem;
  left: 50%;
  margin-left: -0.375rem;
}

.drop { color: #6B5936; }

.slider .slides li .caption {
  color: #26a69a;
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  opacity: 0.50;
}

.slid-box {
  font-size: 40px !important;
  text-transform: capitalize;
  margin: 1.46rem 0 1.168rem 0;
  background: #fff;
  width: 100%;
  opacity: 0.80;
}

.slid-desc-box {
  font-size: 1.62rem;
  text-transform: capitalize;
  background: #26a69a;
  width: 70%;
  margin-left: 30%;
  color: #fff;
  opacity: 0.90;
}

.remove-position {
  color: #9e9e9e;
  position: relative !important;
  top: 0.02rem !important;
  left: 0.75rem;
  font-size: 1rem;
  cursor: text;
}

.transform-text { text-transform: capitalize !important; }

a.remove-text { color: #ffffff !important; }

.about-top {
  position: relative;
  background-image: url('<%= asset_path('about_bg.jpg') %>');
  background-size: 100%;
  padding: 20px;
  height: 250px;
}

.about-header-content {
  width: 70%;
  margin: auto;
  font-size: 65px;
  font-weight: 200;
  color: #fff;
  position: relative;
  top: 60px;
  text-align: center;
}

@media only screen and (max-width : 992px) {
  .about-header-content { font-size: 40px; }
}

@media only screen and (min-width: 0) {
  .about { padding: 50px; }
}

@media (min-width: 1200px) {
  .about {
    padding: 75px;
    min-height: 100vh;
  }
}

.about-content {
  padding-bottom: 70px;
  margin: auto;
  font-size: 1.5em;
  font-weight: 200;
}

.about-content h4 {
  padding: 10px;
  padding-left: 0;
}

.no-margin {
  display: inline-block;
  float: left;
  width: 25%;
}

.stat-group { margin-top: 1rem; }

.about-stats { margin: auto; }

.about-stats-div { background: #e3efef; }

.row.card-group {
  padding: 0 30px;
  margin-top: 200px;
  margin-bottom: 200px;
}

.profile-card .card-image img { height: 200px; }

.col.padding-side-25 { padding: 10px 35px; }

.col.padding-side-25 p { font-size: 20px; }

.col.padding-side-25 h3 {
  font-weight: 300;
  text-align: center;
}

.milestones {
  padding: 35px 10px 20px;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  -webkit-box-shadow: 0 8px 6px -6px black;
  -moz-box-shadow: 0 8px 6px -6px black;
  box-shadow: 0 8px 6px -6px black;
}

.milestones .stats-large {
  font-size: 40px;
  font-weight: 300;
}

.feature-details {
  bottom: 0;
  color: #000;
  text-align: center;
  padding: 10px 10px 2px;
  background: transparent;
}

.feature-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: -10px;
}

.card.feature-card {
  margin-left: -12px;
  margin-right: -10px;
}

#faq-row {
  background: url(/assets/nearfooter.png);
  padding: 20px 0;
  margin-top: 9px;
}

#faq {
  width: 65%;
  margin: auto;
}

h2.brand-logo.logo-property {
  padding-left: 20px;
  font-family: 'Great Vibes', cursive;
  margin: 1.2rem 0;
}

.divider {
  background-color: rgba(0, 128, 128, 0.6);
  width: 100%;
  height: 100px;
  margin: auto;
}

nav ul a:hover {
  background-color: rgba(74, 189, 172, 0.4);
  font-size: 1.03rem;
  font-weight: 500;
  color: #fff;
}