-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
152 lines (133 loc) · 6.05 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./vendor/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="./dist/css/move.css">
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="./menu.css">
<link rel="stylesheet" href="./main.css">
<title>Move.CSS</title>
</head>
<body>
<!-- <div>
<button class="mv-button alert">alerta</button>
<button class="mv-button error">erro</button>
<button class="mv-button default">padrão</button>
<button class="mv-button success">sucesso</button>
<button class="mv-button submit" type="submit" id="ok">
enviar ok
</button>
<button class="mv-button submit" type="submit" id="error">enviar errado</button>
<br><br>
<div class="row">
<div class="col-md-3">
<div class="mv-input-container">
<input type="text" class="mv-input" id="k" placeholder="Ex: José"/>
<span class="input-border"></span>
<label class="mv-label" for="k">Nome</label>
</div>
</div>
<div class="col-md-3">
<div class="mv-input-container">
<input type="text" class="mv-input"/>
<span class="input-border"></span>
<label class="mv-label" for="f">Sobrenome</label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="mv-input-container">
<input type="email" class="mv-input"/>
<span class="input-border"></span>
<label class="mv-label" for="f">Email</label>
</div>
</div>
<div class="col-md-3">
<div class="mv-input-container">
<input type="password" class="mv-input" id="pass"/>
<span class="input-border"></span>
<object class="mv-password-reveal" data="./assets/eye.svg" id="revealPass" type="image/svg+xml"></object>
<span class="mv-password-strength">forte</span>
<label class="mv-label" for="pass">Senha</label>
</div>
</div>
</div>
<br><br>
<div class="row">
<div class="col-md-6">
<div class="mv-input-container">
<input type="checkbox" class="mv-input" id="cb" name="cb"/><label class="mv-label" for="cb">checkbox</label>
</div>
</div>
</div>
</div> -->
<div id="home">
<nav id="headNavbar" class="head-navbar">
<div class="navbar-logo">
<a class="js-scroll-trigger" href="#home"><img src="./assets/move-logo-icon--grey-05.svg"/></a>
</div>
<ul class="head-menu">
<li><a class="js-scroll-trigger" href="docs/intro.html">Documentação</a></li>
<li><a class="js-scroll-trigger" href="example/example.html" target="_blank">Exemplo</a></li>
</ul>
<div class="head-download-button">
<a href="https://github.com/bdongr/movecss" target="_blank"><img class="github-logo" src="./assets/github-logo-04.svg"/></a>
<a href="movecss.zip"><button class="mv-button">Download</button></a>
</div>
</nav>
<div class="head-background">
<div class="head-container">
<div class="head-content">
<img class="logo" src="./assets/move-logotype-horizontal--grey-03.svg"/>
<span class="desc">É uma biblioteca de componentes web open source que disponibiliza código HTML, CSS e JavaScript para desenvolvimento de interfaces de usuário usando componentes com princípios básicos de animação.</span>
<div class="row action-button">
<div class="col-md-6">
<a href="movecss.zip"><button class="mv-button">Download</button></a>
</div>
</div>
</div>
<div class="head-content">
<img class='logo-animation' src="./assets/move-logo-icon--grey-05 - Copia.svg"/>
</div>
</div>
</div>
</div>
<script src="./vendor/jquery/jquery.min.js"></script>
<script src="./vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="./dist/js/move.min.js"></script>
<script src="./assets/scripts/jquery.easing.min.js"></script>
<script src="./assets/scripts/jquery.scrollTo.min.js"></script>
<script src="./index.js"></script>
<script>
// var strongPasswordIndicator = '<span class="mv-password-strengh-indicator">forte</span>';
// var strongPassword = new RegExp("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})");
// $("#pass").keyup(function(evt) {
// if(strongPassword.test(evt.target.value)){
// $(this).parent().addClass('mv-input-success');
// var passParent = $(this).parent('.mv-input-container');
// $(strongPasswordIndicator).insertAfter(passParent);
// console.log($(passParent).children());
// // if($(passParent).children(".mv-password-strengh-indicator")){
// // } else{
// // }
// }
// })
$('#ok').click(function() {
$(this).trigger('submitting');
setTimeout(() => {
$(this).trigger('submitedSuccess');
}, 3000);
})
$('#error').click(function() {
$(this).trigger('submitting');
setTimeout(() => {
$(this).trigger('submitedError');
}, 3000);
})
</script>
</body>
</html>