Skip to content

Commit

Permalink
Using shared stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabriskie committed Dec 29, 2014
1 parent 8e01b27 commit ea31beb
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 24 deletions.
7 changes: 0 additions & 7 deletions examples/basic/app.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
body {
font-family: "Helvetica Neue", Arial;
font-weight: 200;
background: #ccc;
}

.ReactModal__Overlay {
-webkit-perspective: 600;
perspective: 600;
Expand Down Expand Up @@ -32,4 +26,3 @@ body {
-webkit-transform: scale(0.5) rotateX(30deg);
transition: all 150ms ease-in;
}

14 changes: 10 additions & 4 deletions examples/basic/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<!doctype html public "embarassment">
<title>Basic Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link href="app.css" rel="stylesheet"/>
<link rel="stylesheet" href="http://instructure-react.github.io/library/shared.css"/>
<link rel="stylesheet" href="app.css"/>
<body>
<div id="example"></div>
<script src="../__build__/shared.js"></script>
<script src="../__build__/basic.js"></script>
<header class="branding padbox">
<h1>react-modal</h1>
<h2>an accessible React modal dialog component</h2>
</header>
<div id="example" class="padbox"></div>
<a target="_top" href="https://github.com/rackt/react-modal"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<script src="../__build__/shared.js"></script>
<script src="../__build__/basic.js"></script>
8 changes: 1 addition & 7 deletions examples/bootstrap/app.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
body {
font-family: "Helvetica Neue", Arial;
font-weight: 200;
background: #ccc;
}

.ReactModal__Overlay {
-webkit-perspective: 600;
perspective: 600;
Expand Down Expand Up @@ -39,4 +33,4 @@ body {
.ReactModal__Content.modal-dialog {
border: none;
background-color: transparent;
}
}
14 changes: 10 additions & 4 deletions examples/bootstrap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
<title>Bootstrap-Style Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link href="app.css" rel="stylesheet"/>
<link rel="stylesheet" href="http://instructure-react.github.io/library/shared.css"/>
<link rel="stylesheet" href="app.css"/>
<body>
<div id="example"></div>
<script src="../__build__/shared.js"></script>
<script src="../__build__/bootstrap.js"></script>
<header class="branding padbox">
<h1>react-modal</h1>
<h2>an accessible React modal dialog component</h2>
</header>
<div id="example" class="padbox"></div>
<a target="_top" href="https://github.com/rackt/react-modal"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<script src="../__build__/shared.js"></script>
<script src="../__build__/bootstrap.js"></script>
10 changes: 8 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<!doctype html public "embarassment">
<title>Basic Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link href="basic/app.css" rel="stylesheet"/>
<link rel="stylesheet" href="http://instructure-react.github.io/library/shared.css"/>
<link rel="stylesheet" href="basic/app.css"/>
<body>
<div id="example"></div>
<header class="branding padbox">
<h1>react-modal</h1>
<h2>an accessible React modal dialog component</h2>
</header>
<div id="example" class="padbox"></div>
<a target="_top" href="https://github.com/rackt/react-modal"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<script src="__build__/shared.js"></script>
<script src="__build__/basic.js"></script>

0 comments on commit ea31beb

Please sign in to comment.