ciawalsh/iamME

View on GitHub
app/assets/stylesheets/event_widget.css

Summary

Maintainability
Test Coverage
.widget-container {
  width: 100%;
  height: 150px;
  border-bottom: 1px solid #d4d4d4;
}

.widget-container:hover {
  background-color: #E6E6E6
}

section.widget-small {
  border: 2px solid black;
  padding: 0px;
}

.widget-small {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  z-index: 5;
}

.widget-small .more {
  width: 15%;
  margin: 0% 0 0 0%;
  padding: 0;
  position: absolute;
  top: 5%;
  left: 5%;
  cursor: pointer; cursor: hand;
}

.widget-small .play {
  width: 15%;
  margin: 0% 0 0 0%;
  padding: 0;
  position: absolute;
  top: 15%;
  left: 5%;
  cursor: pointer; cursor: hand;
}

.widget-small .plus {
  width: 15%;
  margin: 0% 0 0 0%;
  padding: 0;
  position: absolute;
  top: 25%;
  left: 5%;
  cursor: pointer; cursor: hand;
}

.widget-small #name-and-location {
  color: black;
  float: left;
  width: 100%;
  height: 50px;
  background: rgba(54, 25, 25, .5);
  position: absolute;
    bottom: 0;
}

.widget-small h1.title {
  font-weight: bold;
  bottom: 30%;
  position: absolute;
  font-size: 1.3em;
  color: white;
  margin: 0 0 3% 0;
  padding-left: 3%;
}

.widget-small h2.location {
  bottom: 1%;
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  color: #CCCCCC;
  font-size: 0.8em;
  font-weight: normal;
  padding-left: 3%;
  margin-bottom: 2%;
}

.widget-small .description {
  display: none;
  position: relative;
}

.widget-small #bottom-section {
  display: none;
}