BigW Consortium Gitlab

devise.scss 2.2 KB
Newer Older
1 2
@import "framework/variables";

3 4 5 6 7 8 9
// NOTE: This stylesheet is for the exclusive use of the `devise_mailer` layout
// used for Devise email templates, and _should not_ be included in any
// application stylesheets.
//
// Styles defined here are embedded directly into the resulting email HTML via
// the `premailer` gem.

10
$body-background-color: #363636;
11 12
$message-background-color: #fafafa;

13 14 15 16
$header-color: #6b4fbb;
$body-color: #444;
$cta-color: #e14329;
$footer-link-color: #7e7e7e;
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

$font-family: Helvetica, Arial, sans-serif;

body {
  background-color: $body-background-color;
  font-family: $font-family;
  margin: 0;
  padding: 0;
}

table {
  -premailer-cellpadding: 0;
  -premailer-cellspacing: 0;

  border: 0;
  border-collapse: separate;

  &#wrapper {
    background-color: $body-background-color;
    width: 100%;
  }

  &#header {
    margin: 0 auto;
    text-align: left;
    width: 600px;
43 44 45 46

    & > td {
      text-align: center;
    }
47 48 49 50
  }

  &#body {
    background-color: $message-background-color;
51
    border: 1px solid $black;
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
    border-radius: 4px;
    margin: 0 auto;
    width: 600px;
  }

  &#footer {
    color: $footer-link-color;
    font-size: 14px;
    text-align: center;
    width: 100%;
  }

  td {
    &#body-container {
      padding: 20px 40px;
    }
  }
}

.center {
  text-align: center;
}

#logo {
  border: none;
  outline: none;
  min-height: 88px;
  width: 134px;
}

#content {
  h2 {
    color: $header-color;
    font-size: 30px;
    font-weight: 400;
    line-height: 34px;
    margin-top: 0;
  }

  p {
    color: $body-color;
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 0;
  }
}

#cta {
  border: 1px solid $cta-color;
  border-radius: 3px;
  display: inline-block;
  margin: 20px 0;
  padding: 12px 24px;

  a {
    background-color: $message-background-color;
    color: $cta-color;
    display: inline-block;
    text-decoration: none;
  }
}

#tanuki {
  padding: 40px 0 0;

  img {
    border: none;
    outline: none;
    width: 37px;
    min-height: 36px;
  }
}

#tagline {
  font-size: 22px;
  font-weight: 100;
  padding: 4px 0 40px;
}

#social {
  padding: 0 10px 20px;
  width: 600px;
  word-spacing: 20px;

  a {
    color: $footer-link-color;
    text-decoration: none;
  }
}