-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
228 lines (228 loc) · 9.2 KB
/
index.html
File metadata and controls
228 lines (228 loc) · 9.2 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
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en" data-theme="auto">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="medevod" />
<meta
name="description"
content="Micro css library based on milligram to build minimalist websites and pages efficiency, based on pure css helpers, you can either integrate it to any UI framework like react, nextjs, angularjs, svelte, solidjs, php or in pure html pages like this demo"
/>
<title>MgPlus | A micro CSS library based on milligram</title>
<link rel="icon" href="demo/images/logo.svg" />
<link rel="stylesheet" href="/src/scss/main.scss" />
<link rel="stylesheet" href="/demo/index.css" />
<link rel="stylesheet" href="/demo/icons.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
/>
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/skins/sunburst.css"
/>
</head>
<body>
<header class="grid-bg">
<nav class="mg-fixed-top mg-w-full mg-pad-t1">
<div class="mg-container">
<div class="mg-row mg-x--between">
<div class="mg-group">
<div class="mg-dropdown">
<button
title="theme-switcher"
data-toggle="dropdown"
class="mg-button--small mg-icon-dropdown"
>
<i class="mg-icon svg-icon-darkmode"></i>
</button>
<div class="mg-dropdown--content">
<ul class="mg-nav">
<li data-toggle="theme" data-value="light">Light</li>
<li data-toggle="theme" data-value="dark">Dark</li>
<li data-toggle="theme" data-value="auto">Auto</li>
</ul>
</div>
</div>
<div class="mg-dropdown">
<button
title="controls"
data-toggle="dropdown"
class="mg-button--small mg-icon-dropdown"
>
<i class="mg-icon svg-icon-gears"></i>
</button>
<div class="mg-dropdown--content mg-pad-r3 mg-pad-l1">
<div class="mg-col mg-x--start">
<label for="range2">Control radius</label>
<input
type="range"
min="0"
max="20"
value="2"
id="control-radius-selector"
/>
<label for="range1">Input radius</label>
<input
type="range"
min="0"
max="20"
value="2"
id="input-radius-selector"
/>
</div>
</div>
</div>
<div class="mg-dropdown">
<button
title="color-picker"
data-toggle="dropdown"
class="mg-button--small mg-icon-dropdown"
>
<i class="mg-icon svg-icon-colors"></i>
</button>
<div class="mg-dropdown--content">
<div class="mg-row">
<div id="picker"></div>
</div>
</div>
</div>
</div>
<div class="mg-right mg-dropdown mg-xl-display">
<button
title="menu"
data-toggle="dropdown"
class="mg-w7 mg-icon-dropdown"
>
<i class="mg-icon mg-icon--2xl icon-menu"></i>
</button>
<div class="mg-dropdown--content mg-right">
<ul data-toggle="navlinks" class="mg-nav mg-text-bold"></ul>
</div>
</div>
</div>
</div>
</nav>
<img
alt="logo"
class="logo-animation"
src="./demo/images/logo.svg"
height="120"
/>
<div class="mg-light">
<h1>Mg+</h1>
<span class="mg-text-s mg-badge">$PACKAGE_VERSION</span>
<h2>A micro CSS library</h2>
<p class="mg-text-bold mg-text-l">
Build pretty websites with just a few drops of CSS
</p>
<a class="mg-button" href="#getting-started">Getting started</a>
<a
id="download_button"
data-last-cdn-uri="https://cdn.mgpluscss.com/$PACKAGE_VERSION/mgplus.css"
class="mg-button"
download="cdn"
>Download</a
>
<a class="mg-button" href="https://github.com/mgpluscss/mgplus"
>Github <i class="mg-icon svg-icon-github"></i
></a>
<div class="mg-row mg-gap2 mg-x--center">
<div class="mg-bg-danger mg-text-center mg-pad1 mg-text-bold liquid">
CSS variables
</div>
<div class="mg-bg-warning mg-text-center mg-pad1 mg-text-bold liquid">
Dark mode
</div>
<div class="mg-bg-success mg-text-center mg-pad1 mg-text-bold liquid">
Fully responsive
</div>
<div class="mg-bg-primary mg-text-center mg-pad1 mg-text-bold liquid">
Lightweight
</div>
</div>
</div>
<!--Waves-->
<svg
xmlns="http://www.w3.org/2000/svg"
class="waves"
viewBox="0 24 150 28"
preserveAspectRatio="none"
shape-rendering="auto"
>
<defs>
<path
id="gentle-wave"
d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"
/>
</defs>
<g class="animated-waves">
<use href="#gentle-wave" x="48" y="0" />
<use href="#gentle-wave" x="48" y="3" />
<use href="#gentle-wave" x="48" y="5" />
<use href="#gentle-wave" x="48" y="7" />
</g>
</svg>
</header>
<div
class="mg-fixed mg-top5 mg-right mg-bg-initial mg-rounded mg-border mg-marg-l1 mg-marg-r1 mg-pad1 mg-xl-hidden"
>
<div class="mg-max-h80vh mg-overflow-y-auto">
<ul data-toggle="navlinks" class="mg-nav mg-text-bold"></ul>
</div>
</div>
<main class="mg-container">
<include src="demo/sections/intro-section.html"></include>
<include src="demo/sections/getting-started.html"></include>
<include src="demo/sections/customization-section.html"></include>
<hr />
<p>
Explore the various examples provided in the documentation to see how
you can use Mg+ to build your web interface. Each example demonstrates
the usage of different components and utilities to help you get started
quickly.
</p>
<p>We hope you find Mg+ useful and easy to work with. Happy coding!</p>
<include src="demo/sections/core-section.html"></include>
<include src="demo/sections/alert-section.html"></include>
<include src="demo/sections/badge-section.html"></include>
<include src="demo/sections/check-section.html"></include>
<include src="demo/sections/collapse-section.html"></include>
<include src="demo/sections/colors-section.html"></include>
<include src="demo/sections/dropdown-section.html"></include>
<include src="demo/sections/form-section.html"></include>
<include src="demo/sections/group-section.html"></include>
<include src="demo/sections/helpers-section.html"></include>
<include src="demo/sections/icons-section.html"></include>
<include src="demo/sections/input-section.html"></include>
<include src="demo/sections/loader-section.html"></include>
<include src="demo/sections/modal-section.html"></include>
<include src="demo/sections/nav-section.html"></include>
<include src="demo/sections/progress-section.html"></include>
<include src="demo/sections/radio-section.html"></include>
<include src="demo/sections/range-section.html"></include>
<include src="demo/sections/grid-section.html"></include>
<include src="demo/sections/responsive-display-section.html"></include>
<include src="demo/sections/select-section.html"> </include>
<include src="demo/sections/tab-section.html"></include>
<include src="demo/sections/timeline-section.html"></include>
<include src="demo/sections/toggle-section.html"></include>
</main>
<footer class="mg-container mg-pad3">
<div class="mg-row mg-x--evenly mg-text-m">
<span>Powered by Vite <span class="mg-icon svg-icon-vite"></span></span>
<a href="https://github.com/mgpluscss/mgplus"
>Github <span class="mg-icon svg-icon-github mg-hidden-light"></span>
<span class="mg-icon svg-icon-github-dark mg-hidden-dark"></span
></a>
<a
href="https://raw.githubusercontent.com/mgpluscss/mgplus/master/LICENSE"
>License <span class="mg-icon svg-icon-evo"></span
></a>
</div>
</footer>
<script type="module" src="/demo/index.ts"></script>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/prettify.js?skin=sunburst"></script>
</body>
</html>