summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/mailer_client_specific.scss
blob: 41bedecf90f3cb78ca49e558e56e8de4d1d2749d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* CLIENT-SPECIFIC STYLES */

// These are client-specific rules, ignore some linting rules
//
// stylelint-disable property-no-vendor-prefix, property-no-unknown, length-zero-no-unit
// scss-lint:disable PropertySpelling, ZeroUnit

body,
table,
td,
a {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

table,
td {
  mso-table-lspace: 0pt;
  mso-table-rspace: 0pt;
}

img {
  -ms-interpolation-mode: bicubic;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

/* iOS BLUE LINKS */
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* ANDROID MARGIN HACK */
div[style*='margin: 16px 0'] {
  margin: 0 !important;
}

@media only screen and (max-width: 639px) {
  body,
  #body {
    min-width: 320px !important;
  }

  table.wrapper {
    width: 100% !important;
    min-width: 320px !important;
  }

  table.wrapper td.wrapper-cell {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}