-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsorteio_full.html
More file actions
117 lines (112 loc) · 4.02 KB
/
sorteio_full.html
File metadata and controls
117 lines (112 loc) · 4.02 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sorteio Elas@Conectam</title>
<script type="text/javascript" src="https://unpkg.com/vis-network/dist/vis-network.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start; /* Alinha ao topo */
height: 100vh;
margin: 0;
padding: 20px;
background-color: #F8E5E5; /* Mesma cor de fundo do grafo principal */
color: #333;
box-sizing: border-box; /* Inclui padding na altura */
}
h2 {
color: #a30161;
margin-bottom: 20px;
}
button {
background-color: #a30161;
color: white;
border: none;
padding: 12px 25px;
font-size: 1.1em;
cursor: pointer;
border-radius: 8px;
transition: background-color 0.3s ease;
margin-bottom: 20px;
}
button:hover {
background-color: #700041;
}
#sorteio-info {
font-size: 1.2em; /* Essas propriedades ainda serão aplicadas, mas o elemento não será renderizado */
color: white;
font-weight: bold;
margin-bottom: 20px;
text-align: center;
display: none; /* <--- ADICIONE ESTA LINHA AQUI */
}
#password-container {
margin-bottom: 20px;
display: flex;
gap: 10px;
/* align-items: center; REMOVA ESTA LINHA */
align-items: stretch; /* Garante que os itens se estiquem para a mesma altura */
}
#password-input {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1em;
width: 200px;
/* Adicione estas linhas para alinhamento vertical do texto dentro do input */
height: 40px; /* Defina uma altura fixa para o input */
box-sizing: border-box; /* Inclui padding e border na altura */
}
#auth-btn {
background-color: #700041;
color: white;
border: none;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 8px;
transition: background-color 0.3s ease;
/* Adicione esta linha para garantir a mesma altura do input */
height: 40px; /* Defina a mesma altura fixa para o botão */
box-sizing: border-box; /* Inclui padding e border na altura */
display: flex; /* Transforma o botão em flex container para centralizar o texto */
align-items: center; /* Centraliza o texto verticalmente dentro do botão */
justify-content: center; /* Centraliza o texto horizontalmente dentro do botão */
}
#auth-btn:hover {
background-color: #9e2e71;
}
#sorteio-resultado {
margin-top: 15px;
font-size: 1.3em;
color: #700041;
font-weight: bold;
text-align: center;
}
#mynetwork-sorteio {
width: 100%;
height: 500px; /* Altura do grafo do sorteio */
border: 1px solid #ccc;
margin-top: 20px;
background-color: white; /* Fundo branco para o grafo */
}
</style>
</head>
<body>
<h2>Sorteio de Duplas</h2>
<div id="password-container">
<input type="password" id="password-input" placeholder="Digite a senha de admin">
<button id="auth-btn">Autenticar</button>
</div>
<button id="sortear-btn" style="display: none;">Sortear Dupla</button>
<div id="sorteio-info"></div>
<div id="sorteio-resultado"></div>
<div id="mynetwork-sorteio"></div>
<script src="sorteio_init.js"></script>
</body>
</html>