]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Added copy/paste note to Inline Styles in getting started
authoranthonytadina <anthony@zurb.com>
Wed, 6 Nov 2013 19:47:18 +0000 (11:47 -0800)
committeranthonytadina <anthony@zurb.com>
Wed, 6 Nov 2013 19:47:18 +0000 (11:47 -0800)
docs/docs.php
images/.DS_Store
images/icons/clipboard.png [new file with mode: 0644]
sass/app.scss
stylesheets/app.css

index 5d51e6eb48976ecccc8a736703c790d875286f41..98dc22093dde8bc523a823b4818bda39d7cfb160 100644 (file)
@@ -70,7 +70,9 @@
     <p>
       If you're applying a background color to your entire email, be sure to attach it to the table with a class of <code>body</code> as well as to the actual <kbd>&lt;body&gt;</kbd> tag, since some clients remove this by default.
     </p>
-    <h6>Inline Styles</h6>
+    <h6>Inline Styles
+      <small class="cp">Copy/Paste</small>
+    </h6>
     <?php code_example(
 '<html>
     
index e8dededbc6d292a538f9f99efc20ddb4c0625a8f..5796e52d3b73daba372717be3c85c4073fcb67d8 100644 (file)
Binary files a/images/.DS_Store and b/images/.DS_Store differ
diff --git a/images/icons/clipboard.png b/images/icons/clipboard.png
new file mode 100644 (file)
index 0000000..53ea757
Binary files /dev/null and b/images/icons/clipboard.png differ
index 713d6d7435a3ea94a263feb69c4803e4be3cbc8f..5bd1fee206773a92695d3639c0bc96335154e9e1 100644 (file)
@@ -550,4 +550,9 @@ ul.sub-nav {
     a { display: block; font-size: emCalc(14px); padding: 5px 0; color: #333; }
     &.active a { color: #CC7691; font-weight: bold; }
   } 
+}
+
+/* copy/paste */
+h6 { position: relative;
+  small.cp { position: absolute; right: 0; background: url(../images/icons/clipboard.png) no-repeat 10px 4px #002b36; background-size: 8px 12px; padding: 12px 10px 10px 24px; font-size: 12px; text-transform: uppercase; color: #FFF; border-radius: 3px; font-family: "Proxima Nova Condensed","proxima-nova-condensed","Helvetica Neue",Helvetica, Arial, sans-serif; }
 }
\ No newline at end of file
index d8b220c4bcdd72f1f8ade6531ec021043241d0b9..90b8fb3f30461fe93dfc67aba9ebf8d3959bbef5 100644 (file)
@@ -12654,3 +12654,22 @@ ul.sub-nav li.active a {
   color: #CC7691;
   font-weight: bold;
 }
+
+/* copy/paste */
+/* line 556, ../sass/app.scss */
+h6 {
+  position: relative;
+}
+/* line 557, ../sass/app.scss */
+h6 small.cp {
+  position: absolute;
+  right: 0;
+  background: url(../images/icons/clipboard.png) no-repeat 10px 4px #002b36;
+  background-size: 8px 12px;
+  padding: 12px 10px 10px 24px;
+  font-size: 12px;
+  text-transform: uppercase;
+  color: #FFF;
+  border-radius: 3px;
+  font-family: "Proxima Nova Condensed","proxima-nova-condensed","Helvetica Neue",Helvetica, Arial, sans-serif;
+}