Sha256: 80a1bad5e19962198a9d0c06e18c7ef18bb5714e4a731ad943dad87f42deafde

Contents?: true

Size: 1.91 KB

Versions: 3

Compression:

Stored size: 1.91 KB

Contents

/* Table of Contents
==================================================
# Missive
# Colors
# Media Queries */

/* # Missive
================================================== */
.missive {
  background: $color-white;
  border: 1px solid $color-haze;
  border-radius: 3px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.missive-icon,
.missive-content {
  box-sizing: border-box;
  float: left;
}
.missive-icon {
  color: $color-dark-haze;
  font-size: 84px;
  line-height: 120px;
  text-align: center;
  width: 100px;
}
.missive-content {
  color: $color-light-gray;
  padding: 20px 15px 20px 0;
  width: calc(100% - 100px);
}
.missive-content {
  font-size: 14px;
  line-height: 22px;
}
.missive-content > p:last-child { margin-bottom: 0; }

/* # Colors
================================================== */
.missive-dark {
  background: $color-black;
  border-color: $color-dark-black;
}
.missive-dark .missive-icon { color: $color-light-black; }
.missive-dark .missive-content { color: $color-dark-gray; }
.missive-light {
  background: $color-light-haze;
  border-color: $color-dark-haze;
}

/* # Media Queries
================================================== */
@media only screen and (min-width: 960px) and (max-width: 1365px) {
  .missive-icon {
    font-size: 54px;
    line-height: 100px;
    width: 70px;
  }
  .missive-content { width: calc(100% - 70px); }
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .missive-icon {
    font-size: 34px;
    line-height: 80px;
    width: 50px;
  }
  .missive-content { width: calc(100% - 50px); }
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
  .missive { border-width: 0.5px; }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_frontend-11.1.0 vendor/assets/stylesheets/_missive.scss
active_frontend-11.0.0 vendor/assets/stylesheets/_missive.scss
active_frontend-10.3.0 vendor/assets/stylesheets/_missive.scss