From 734d869fa1eecfa9ad4d8d9ca7a3940231932938 Mon Sep 17 00:00:00 2001 From: connors Date: Sun, 13 Jan 2013 15:27:18 -0800 Subject: [PATCH] Adjusting the docs to show the modals demo for mobile devices. --- docs/css/docs.css | 19 +++++++++++++++---- docs/index.html | 17 +++++++++++++++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/docs/css/docs.css b/docs/css/docs.css index 8cb6847..b4057d4 100644 --- a/docs/css/docs.css +++ b/docs/css/docs.css @@ -649,10 +649,21 @@ h6 { } /* Modal example */ -.iphone .iphone-content .modal { position: absolute; } -.iphone .iphone-content .modal .content { margin-top: 44px; } -#myModal.active { background: #cecece; } -#modalsInPhone #iwindow > .button { margin: 10px; } +.component-example .modal { + left: 0; + z-index: 10001; +} +.iphone .iphone-content .modal { + position: absolute; +} +.component-example .modal .content, +.iphone .iphone-content .modal .content { + margin-top: 44px; +} +#modalsInPhone #iwindow > .button { + margin: 10px; +} + /* Slider examples */ .component-example-fullbleed .slider, diff --git a/docs/index.html b/docs/index.html index fd2a413..cc3d0cb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -983,9 +983,22 @@ document

Modals

- + Open modal +
+
 <a href="#myModal" class="button">Open modal</a>
 
@@ -998,7 +1011,7 @@ document
   </header>
   
   <div class="content content-padded">
-    <p>The contents of my modal</p>
+    <p>The contents of my modal.</p>
   </div>
 </div>