Skip to content

Commit

Permalink
Close #2084 Enhance email confirmation background color on dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SreyMochOrng committed Nov 25, 2024
1 parent dec68e8 commit 49ecf91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<%= render partial: 'spree_cm_commissioner/order_mailer/mailer_stylesheets' %>
<%= render partial: 'spree_cm_commissioner/order_mailer/mailer_stylesheets' %>
</head>
<body>
<table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation" id="confirm-email">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
.email-body_inner {
background-color: transparent;
padding-top: 2.5rem;
padding-top: 1.5rem;
}
#confirm-email .content-cell {
background: white;
Expand Down Expand Up @@ -240,7 +240,8 @@
.content {
padding: 1.5rem;
border-radius: 0 0 1.5625rem 1.5625rem;
border: 0.0625rem solid #dddfe2; }
border: 0.0625rem solid #dddfe2;
}
.purchase {
width: 100%;
border-collapse: collapse;
Expand All @@ -262,15 +263,9 @@
.align-center-vertical {
vertical-align: middle;
}
@media (prefers-color-scheme: dark) {
#confirm-email .content-cell {
background-color: #333333;
}
}
.mail-icon {
width: 1.5rem;
height: 1.5rem;
margin: auto;
}

</style>

0 comments on commit 49ecf91

Please sign in to comment.