1 | <!DOCTYPE html>
|
2 | <html>
|
3 | <head>
|
4 |
|
5 | <meta charset="utf-8" />
|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
8 |
|
9 |
|
10 | <title>Theming - Fomantic</title>
|
11 | <link rel="stylesheet" type="text/css" href="../dist/semantic.css">
|
12 |
|
13 | <script src="assets/library/jquery.min.js"></script>
|
14 | <script src="assets/library/iframe.js"></script>
|
15 |
|
16 | <style type="text/css">
|
17 | body > .ui.container {
|
18 | margin-top: 3em;
|
19 | }
|
20 | iframe {
|
21 | border: none;
|
22 | width: calc(100% + 2em);
|
23 | margin: 0em -1em;
|
24 | height: 300px;
|
25 | }
|
26 | iframe html {
|
27 | overflow: hidden;
|
28 | }
|
29 | iframe body {
|
30 | padding: 0em;
|
31 | }
|
32 |
|
33 | .ui.container > h1 {
|
34 | font-size: 3em;
|
35 | text-align: center;
|
36 | font-weight: normal;
|
37 | }
|
38 | .ui.container > h2.dividing.header {
|
39 | font-size: 2em;
|
40 | font-weight: normal;
|
41 | margin: 4em 0em 3em;
|
42 | }
|
43 |
|
44 |
|
45 | .ui.table {
|
46 | table-layout: fixed;
|
47 | }
|
48 | </style>
|
49 | </head>
|
50 | <body>
|
51 |
|
52 | <div class="ui container">
|
53 |
|
54 | <h1>Theming Examples</h1>
|
55 |
|
56 | <h2 class="ui dividing header">Site</h2>
|
57 | <iframe src="components/site.html" width="100%" scrolling="no"></iframe>
|
58 |
|
59 | <h2 class="ui dividing header">Menu</h2>
|
60 | <iframe src="components/menu.html" width="100%" scrolling="no"></iframe>
|
61 |
|
62 | <h2 class="ui dividing header">Buttons</h2>
|
63 | <iframe src="components/button.html" width="100%" scrolling="no"></iframe>
|
64 |
|
65 | <h2 class="ui dividing header">Table</h2>
|
66 | <iframe src="components/table.html" width="100%" scrolling="no"></iframe>
|
67 |
|
68 | <h2 class="ui dividing header">Input</h2>
|
69 | <iframe src="components/input.html" width="100%" scrolling="no"></iframe>
|
70 |
|
71 |
|
72 | <h2 class="ui dividing header">Card</h2>
|
73 | <iframe src="components/card.html" width="100%" scrolling="no"></iframe>
|
74 |
|
75 |
|
76 |
|
77 | </div>
|
78 |
|
79 |
|
80 | <script>
|
81 | $('iframe').iFrameResize({
|
82 | autoResize: true,
|
83 | checkOrigin: false,
|
84 | heightCalculationMethod: 'bodyScroll'
|
85 | });
|
86 | </script>
|
87 | </body>
|
88 |
|
89 | </html>
|