-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
205 lines (179 loc) · 8.13 KB
/
index.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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Material Style Starter</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- Material Style CSS -->
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@materialstyle/[email protected]/dist/css/materialstyle.min.css"
integrity="sha384-TveZ4SBMG9Zwu44Pq5aK2bgL+4CaFRTtx6pSSsxmQKWhIRKoONDSRW+k+NA9A0Gk"
crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container py-4 px-3 mx-auto">
<header class="d-flex justify-content-between align-items-md-center pb-3 mb-3 border-bottom">
<h1 class="h4">
<a href="/" class="d-flex align-items-center text-dark text-decoration-none">
<img class="d-inline-block" width="40" height="40" src="https://materialstyle.github.io/assets/images/MSIconNewColorV2.svg" alt="Material Style">
<span>Material Style Starter</span>
</a>
</h1>
<a href="https://github.com/materialstyle/materialstyle-examples/tree/main/3.1/starter/" target="_blank" rel="noopener">View on GitHub</a>
</header>
<h1>Material Style Starter</h1>
<div class="px-0">
<p class="fs-5">
You've successfully loaded the Material Style Starter example!<br>
It includes <a href="https://materialstyle.github.io/">Material Style 3</a> CSS and JS via CDN.<br>
The Primary theme color is updated from blue to purple using CSS variables.
</p>
</div>
<div class="d-flex gap-3 flex-wrap my-4">
<div class="p-3 bg-primary" style="color: var(--bs-text-on-primary);">.bg-primary</div>
<div class="p-3 bg-primary-subtle text-primary-emphasis">.bg-primary-subtle</div>
<div class="p-3 bg-primary bg-gradient" style="color: var(--bs-text-on-primary);">.bg-primary.bg-gradient</div>
<div class="p-3 text-bg-primary">.text-bg-primary</div>
</div>
<div class="d-flex gap-3 flex-wrap my-4">
<label class="text-primary">.text-primary</label>
<label class="text-primary-emphasis">.text-primary-emphasis</label>
<a href="#" class="link-primary">.link-primary</a>
</div>
<div class="d-flex gap-3 flex-wrap my-4">
<div class="col">
<div class="form-floating">
<input type="text" class="form-control" id="firstname"
placeholder="firstname" autocomplete="off">
<label for="firstname">Firstname</label>
</div>
</div>
<div class="col">
<div class="form-floating form-floating-outlined">
<input type="text" class="form-control" id="firstname-outline"
placeholder="firstname" autocomplete="off">
<label for="firstname-outline">Firstname</label>
</div>
</div>
<div class="col">
<div class="form-floating">
<select class="form-select">
<option value="" label="blank option"></option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
</select>
<label>Select One</label>
</div>
</div>
<div class="col">
<div class="form-floating form-floating-outlined">
<select class="form-select">
<option value="" label="blank option"></option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
<option value="4">Option 4</option>
</select>
<label>Select One</label>
</div>
</div>
</div>
<div class="d-flex gap-3 flex-wrap my-4">
<div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="checkbox1">
<label class="form-check-label" for="checkbox1">Checkbox</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="checkbox2" checked>
<label class="form-check-label" for="checkbox2">Checkbox</label>
</div>
</div>
<div>
<div class="form-check">
<input class="form-check-input" type="radio" name="radioSet1" id="radio1">
<label class="form-check-label" for="radio1">Radio</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="radioSet1" id="radio2" checked>
<label class="form-check-label" for="radio2">Radio</label>
</div>
</div>
<div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="switch1">
<label class="form-check-label" for="switch1">Switch</label>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="switch2" checked>
<label class="form-check-label" for="switch2">Switch</label>
</div>
</div>
<div>
<div class="form-check form-switch form-switch-square">
<input class="form-check-input" type="checkbox" id="switch5">
<label class="form-check-label" for="switch5">Switch</label>
</div>
<div class="form-check form-switch form-switch-square">
<input class="form-check-input" type="checkbox" id="switch6" checked>
<label class="form-check-label" for="switch6">Switch</label>
</div>
</div>
<div>
<div class="form-check form-switch form-switch-material">
<input class="form-check-input" type="checkbox" id="switch9">
<label class="form-check-label" for="switch9">Switch</label>
</div>
<div class="form-check form-switch form-switch-material">
<input class="form-check-input" type="checkbox" id="switch10" checked>
<label class="form-check-label" for="switch10">Switch</label>
</div>
</div>
</div>
<div class="alert alert-primary my-4" role="alert">
Primary Alert
</div>
<div class="my-4">
<label for="customRange1" class="form-label">Range</label>
<input type="range" class="form-range" id="customRange1">
</div>
<div class="d-flex gap-3 flex-wrap my-4">
<button type="button" class="btn btn-primary">
Primary button
</button>
<button type="button" class="btn btn-outline-primary">
Outlined button
</button>
<button type="button" class="btn btn-outline-primary border-0">
Text button
</button>
<button type="button" class="btn btn-primary">
Primary button with ripple effect
<span class="ripple-surface"></span>
</button>
<button type="button" class="btn btn-fab btn-primary">
💖
</button>
</div>
<hr class="mt-5 mb-4">
<p class="text-muted">Created and open sourced by the Material Style team. Licensed MIT.</p>
</div>
<!-- Popper JS -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<!-- MDC Ripple JS (Only for Ripple effects) -->
<script src="https://cdn.jsdelivr.net/npm/@material/[email protected]/dist/mdc.ripple.min.js"
integrity="sha384-9QANVmWxL3S8VRs8x1Q+bF1Zzogpy7P/Qw1+y5qHLdC1ig0EuoHg9VbB1SXyecdZ"
crossorigin="anonymous"></script>
<!-- Material Style JS -->
<script src="https://cdn.jsdelivr.net/npm/@materialstyle/[email protected]/dist/js/materialstyle.min.js"
integrity="sha384-rqhP61M9WSmzd7+ssgyoWP2I+R68vVHx7o+UmmIs6/Nxe8Lt1DoF6+0CKptZIXC0"
crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>