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