forked from shivendrasaurav/Fluent-Design-For-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsurfaces.html
More file actions
124 lines (124 loc) · 7.32 KB
/
surfaces.html
File metadata and controls
124 lines (124 loc) · 7.32 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<html>
<head>
<title>Fluent Design For Web</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Product+Sans" rel="stylesheet">
<link href="normalize.css" rel="stylesheet" type="text/css">
<link href="fluent.css" rel="stylesheet" type="text/css">
<link href="Icons/css/fluent-icons.css" rel="stylesheet" type="text/css">
<script src="fluent.js"></script>
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script>
function openmod1(){
document.getElementById("mod1").style.display="Block";
document.getElementById("body").style.filter="saturate(125%) blur(10px)";
}
function closemod1(){
document.getElementById("mod1").style.display="None";
document.getElementById("body").style.filter="blur(0px)";
}
function openside1(){
document.getElementById("side1").style.display="Block";
document.getElementById("body").style.filter="saturate(125%) blur(10px)";
}
function closeside1(){
document.getElementById("side1").style.display="None";
document.getElementById("body").style.filter="blur(0px)";
}
function opendialog1(){
document.getElementById("dialog1").style.display="Block";
}
function closedialog1(){
document.getElementById("dialog1").style.display="None";
}
$(function() {
$( ".dialogue_box" ).draggable();
});
</script>
</head>
<body onload="closemod1(); closeside1();">
<div id="body">
<div class="column large12 pivot_container secondary_blue" style="position: fixed;">
<a class="pivot_button icon left" onclick="history.back();">
<i class="ms-Icon ms-Icon--Back" aria-hidden="true"></i>
</a>
<a class="pivot_button icon left" onclick="history.forward();">
<i class="ms-Icon ms-Icon--Forward" aria-hidden="true"></i>
</a>
<span class="small0 pivot_heading">Fluent Design For Web</span>
<a href="controls.html" class="pivot_button right active">Controls</a>
<a href="styles.html" class="pivot_button right">Styles</a>
<a href="index.html" class="pivot_button right">Home</a>
</div><br><br><br><br>
<div class="nav_container column large3 medium3 small0">
<h5>Fabric UI</h5>
<div class="navigation_container">
<span class="navigation_val"><i class="ms-Icon ms-Icon--Chevronright nav_disp"></i>Styles</span><input type="checkbox" class="navigation_button">
<div class="navigation_group">
<a href="typography.html"><li class="navigation_item">Typography</li></a>
<a href="elevation.html"><li class="navigation_item">Elevation</li></a>
<a href="colors.html"><li class="navigation_item">Colors</li></a>
<a href="grid.html"><li class="navigation_item">Grid Layout</li></a>
<a href="Icons/fluent-icons.html"><li class="navigation_item">Icon Pack</li></a>
</div>
</div><br><br>
<div class="navigation_container">
<span class="navigation_val"><i class="ms-Icon ms-Icon--Chevronright nav_disp"></i>Controls</span><input checked type="checkbox" class="navigation_button">
<div class="navigation_group">
<a href="inputs.html"><li class="navigation_item">Inputs</li></a>
<a href="utilities.html"><li class="navigation_item">Utilities</li></a>
<a href="surfaces.html"><li class="navigation_item">Surfaces</li></a>
<a href="listsandtables.html"><li class="navigation_item">List and Tables</li></a>
<a href="nav.html"><li class="navigation_item">Navigations</li></a>
<a href="progress.html"><li class="navigation_item">Progress</li></a>
</div>
</div>
</div>
<div class="page_container column large9 medium9 small12 right" id="body">
<h2>Surfaces</h2>
<h7>Window</h7>
<p>Click On The Button Below To Open Window</p>
<button class="primary_yellow" onclick="openmod1();">Open Window</button><br><br>
<h7>Side Panel</h7>
<p>Click On The Button Below To Open Side Panel On Right</p>
<button class="primary_yellow" onclick="openside1();">Open Side Panel</button><br><br>
<h7>Tooltip</h7>
<p>Hover Over The Button Below To See What Action It Will Perform</p>
<div class="tooltip_container">
<span class="tooltip_info">When you hover over the button, you see me</span>
<button class="primary_yellow">Tooltip</button>
</div><br><br>
<h7>Dialogue</h7>
<p>Click On The Button Below To Open Draggable Dialogue Box</p>
<button class="primary_yellow" onclick="opendialog1();">Open Dialogue Box</button>
<div class="dialogue_box" id="dialog1">
<div class="dialogue_pane large12"><button class="primary_red right ta_center" onclick="closedialog1();" style="padding: 10px; padding-left: 20px; padding-right: 20px;">X</button></div>
<div class="dialogue_content large12">This Is A Dialogue Box</div>
</div>
</div>
</div>
<footer class="column large12 medium12 small12 primary_green">Fork The Project From <a href="https://github.com/shivendrasaurav/Fluent-Design-For-Web/">Github</a></footer>
<div class="modal_container" id="mod1">
<div class="modal_content zi3" id="modct1">
<div class="dialogue_pane large12"><button class="primary_red right ta_center" onclick="closemod1();" style="padding: 10px; padding-left: 20px; padding-right: 20px;">X</button></div>
<div class="page_container">
<h2>This Is Some Content</h2>
</div>
</div>
</div>
<div class="sidepanel_container" id="side1">
<div class="sidepanel_content zi3 right" id="modct1">
<button class="primary_red right ta_center" onclick="closeside1();" style="padding: 10px; padding-left: 20px; padding-right: 20px;">X</button><br><br><br><br>
<div class="page_container">
<div class="large12 panel_item">Panel Item 1</div>
<div class="large12 panel_item">Panel Item 2</div>
<div class="large12 panel_item">Panel Item 3</div>
<div class="large12 panel_item">Panel Item 4</div>
<div class="large12 panel_item">Panel Item 5</div>
<div class="large12 panel_item">Panel Item 6</div>
</div>
</div>
</div>
</body>
</html>