-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
146 lines (143 loc) · 5.5 KB
/
index.html
File metadata and controls
146 lines (143 loc) · 5.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Pulse</title>
<link href="../style.css" rel="stylesheet" type="text/css" />
<link href="../pulse.css" rel="stylesheet" type="text/css" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400&display=swap" rel="stylesheet">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,1,0" />
<script src="https://cdn.jsdelivr.net/npm/ripplet.js@1.1.0"></script>
</head>
<body x-data="{ icon: 'material-symbols-rounded' }">
<nav id="navigation"></nav>
<main>
<section class="banner box-alt">
<div class="hero">
<span class="wrapper">
<h1>Pulse UI</h1>
</span>
<p>Pulse is a professional design system for web development. It supports pure HTML and CSS components.</p>
</div>
<div class="graphic">
<span :class="icon">draw</span>
</div>
</section>
<section>
<div class="content box-alt">
<span class="panel evenly">
<button class="btn">
<span>Trailing</span>
<span :class="icon">star</span>
</button>
<button class="btn">
<span :class="icon">flag</span>
<span>Leading</span>
</button>
<button class="btn subtle">
<span :class="icon">temp_preferences_custom</span>
<span>Subtle</span>
</button>
<button class="btn" disabled="disabled">
<span>Disabled</span>
</button>
<div class="text">
<input type="text" required>
<label>Name</label>
</div>
<div class="text-wrapper" x-data="{ visible: false, password: '' }">
<div class="text">
<span :class="icon" x-text="(visible) ? 'visibility' : 'visibility_off'"
@click="visible = !visible">visibility</span>
<input :type="(visible) ? 'text' : 'password'" x-model="password" required>
<label>Password</label>
</div>
<div class="info">
<span class="error" :class="{ 'red': password.length < 8 }"
x-text="(password.length < 8) ? 'Password is too short!' : 'Good password!'"></span>
<span class="counter" x-text="password.length"></span>
</div>
</div>
</span>
<span class="read">
<h2>Introduction</h2>
<p>This is an introduction to Pulse UI.</p>
</span>
</div>
</section>
<section>
<div class="content box-alt">
<span class="panel evenly">
<form class="form">
<span class="form-title">Pizza Order</span>
<div class="form-group row">
<div class="text">
<input type="text" required>
<label>Full Name</label>
</div>
</div>
<div class="form-group column">
<div class="radios">
<span class="radio">
<input type="radio" onclick="emit(this)" value="0">
<div class="radio-circles">
<span class="radio-outer"></span>
<span class="radio-inner"></span>
<div class="touch"></div>
</div>
<label>Thin Base</label>
</span>
<span class="radio">
<input type="radio" onclick="emit(this)" value="1">
<div class="radio-circles">
<span class="radio-outer"></span>
<span class="radio-inner"></span>
<div class="touch"></div>
</div>
<label>Thick Base</label>
</span>
</div>
</div>
<div class="form-group column">
<div class="checkboxes">
<span class="checkbox">
<input type="checkbox" onclick="toggle(this)" value="0">
<div class="check">
<svg class="checkmark" viewBox="-4 -4 32 32">
<path class="tick" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59" />
</svg>
<div class="touch"></div>
</div>
<label>Cheese</label>
</span>
<span class="checkbox">
<input type="checkbox" onclick="toggle(this)" value="1">
<div class="check">
<svg class="checkmark" viewBox="-4 -4 32 32">
<path class="tick" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59" />
</svg>
<div class="touch"></div>
</div>
<label>Mayo</label>
</span>
</div>
</div>
<input type="submit" value="Submit" class="btn">
</form>
</span>
<span class="read">
<h2>Input Styles</h2>
<p>Pulse attempts to restyle the classic input elements because they look ugly on modern websites!</p>
</span>
</div>
</section>
</main>
<script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
<script src="../script.js"></script>
</body>
</html>