Skip to content

Commit 17b8905

Browse files
author
RafiBomb
committed
adds radius container class
1 parent 40ae143 commit 17b8905

12 files changed

+52
-443
lines changed

scss/grid/_grid.scss

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ $grid-column-count: 12 !default;
1414
/// @type Number
1515
$column-padding-bottom: $global-padding !default;
1616

17+
/// Default border radius for the container.
18+
/// @type Number
19+
$container-radius: 50px !default;
20+
1721
//For viewing email in browser
1822
@media only screen {
1923
html {
@@ -160,3 +164,9 @@ th.expander {
160164
width: 0;
161165
padding: 0 !important;
162166
}
167+
168+
// adds radius to container
169+
table.container.radius {
170+
border-radius: $container-radius;
171+
border-collapse: separate;
172+
}

test/visual/pages/alignment.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h4 class="text-left">Left Text</h4>
3333
<img src="http://placehold.it/200?text=center" alt="">
3434
</center>
3535
<br/>
36-
<p>Center on all clients except Outlook 20017, 10, 13</p>
36+
<p>Center on all clients except Outlook 2007, 10, 13</p>
3737
<img class="float-center" src="http://placehold.it/200?text=center" alt="">
3838
<img class="float-right" src="http://placehold.it/200?text=right" alt="">
3939
<img class="float-left" src="http://placehold.it/200?text=left" alt="">
@@ -120,4 +120,6 @@ <h3 class="small-text-center">Presentations<span>8</span></h3>
120120
</columns>
121121
</row>
122122

123+
<button class="success" href="https://litmus.com/checklist/emails/public/120ca5f">Passing Tests</button>
124+
123125
</container>

test/visual/pages/basic.html

-45
This file was deleted.

test/visual/pages/block-inky.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.block-grid p {
33
background: dodgerblue;
44
text-align: center !important;
5+
color: white !important;
56
}
67
</style>
78

test/visual/pages/block.html

-69
This file was deleted.

test/visual/pages/button-expanded.html

-9
This file was deleted.

test/visual/pages/button-inky.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}
55
</style>
66
<container>
7-
<a href="https://litmus.com/checklist/emails/public/52b6fb8">Test Results - Passing 6/8/1016</a>
7+
<a href="https://litmus.com/checklist/emails/public/52b6fb8">Test Results - Passing 6/28/2016</a>
88
<row>
99
<columns small="12" large="12">
1010
<center>
@@ -76,6 +76,7 @@
7676
</row>
7777
<row>
7878
<columns small="12" large="12">
79+
Radius and round edges except Outlook 2007, 10, 13
7980
<button href="http://zurb.com" class="radius">I have a radius</button>
8081
</columns>
8182
</row>

0 commit comments

Comments
 (0)