Lukeetah commited on
Commit
daeeb1a
·
verified ·
1 Parent(s): 4af38fd

Create static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +112 -0
static/style.css ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* --- Reset y Fuentes --- */
2
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');
3
+ :root {
4
+ --primary-bg: #121212;
5
+ --secondary-bg: #1E1E1E;
6
+ --primary-text: #E0E0E0;
7
+ --accent-color: #4CAF50;
8
+ --nudge-eco: rgba(76, 175, 80, 0.2);
9
+ --nudge-stress: rgba(3, 169, 244, 0.15);
10
+ }
11
+ * { box-sizing: border-box; margin: 0; padding: 0; }
12
+ body {
13
+ font-family: 'Inter', sans-serif;
14
+ background-color: var(--primary-bg);
15
+ color: var(--primary-text);
16
+ overflow: hidden;
17
+ height: 100vh;
18
+ width: 100vw;
19
+ transition: background-color 0.8s ease-in-out;
20
+ }
21
+
22
+ /* --- Pantalla de Bienvenida --- */
23
+ #welcome-screen {
24
+ display: flex;
25
+ justify-content: center;
26
+ align-items: center;
27
+ height: 100%;
28
+ text-align: center;
29
+ flex-direction: column;
30
+ }
31
+ .welcome-content { max-width: 80%; }
32
+ .logo { width: 80px; margin-bottom: 20px; }
33
+ h1 { font-size: 2.5em; margin-bottom: 10px; }
34
+ .privacy-note { font-size: 0.9em; color: #aaa; margin-top: 20px; }
35
+ #user-creation input { background: var(--secondary-bg); border: 1px solid #444; color: var(--primary-text); padding: 10px; border-radius: 5px; margin-top: 10px; }
36
+ #user-creation button { background: var(--accent-color); color: white; border: none; padding: 10px 15px; border-radius: 5px; cursor: pointer; margin-left: 5px; }
37
+
38
+ /* --- Contenedor Principal --- */
39
+ #app-container {
40
+ display: flex;
41
+ flex-direction: column;
42
+ height: 100vh;
43
+ }
44
+ header {
45
+ display: flex;
46
+ justify-content: space-between;
47
+ align-items: center;
48
+ padding: 15px;
49
+ background-color: rgba(30, 30, 30, 0.8);
50
+ backdrop-filter: blur(5px);
51
+ }
52
+ main { flex-grow: 1; position: relative; }
53
+ #camera-container {
54
+ position: absolute;
55
+ top: 0; left: 0; width: 100%; height: 100%;
56
+ }
57
+ #camera-feed { width: 100%; height: 100%; object-fit: cover; }
58
+ #output-container {
59
+ position: absolute;
60
+ bottom: 0;
61
+ left: 0;
62
+ width: 100%;
63
+ background: linear-gradient(to top, rgba(18, 18, 18, 0.9), transparent);
64
+ padding: 60px 20px 20px;
65
+ text-align: center;
66
+ font-size: 1.1em;
67
+ }
68
+ footer {
69
+ display: flex;
70
+ justify-content: space-around;
71
+ padding: 15px;
72
+ background-color: rgba(30, 30, 30, 0.8);
73
+ backdrop-filter: blur(5px);
74
+ }
75
+ .control-btn {
76
+ background: var(--secondary-bg);
77
+ color: var(--primary-text);
78
+ border: 1px solid #444;
79
+ padding: 12px 20px;
80
+ border-radius: 20px;
81
+ cursor: pointer;
82
+ transition: background-color 0.3s;
83
+ }
84
+ .control-btn.active { background-color: var(--accent-color); border-color: var(--accent-color); }
85
+
86
+ /* --- Espejo de la Conciencia --- */
87
+ #consciousness-mirror {
88
+ position: fixed;
89
+ top: 0; left: 0;
90
+ width: 100%; height: 100%;
91
+ background-color: rgba(0, 0, 0, 0.9);
92
+ backdrop-filter: blur(10px);
93
+ z-index: 100;
94
+ transform: translateY(100%);
95
+ transition: transform 0.5s ease-in-out;
96
+ }
97
+ #consciousness-mirror.visible { transform: translateY(0); }
98
+ .mirror-header { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid #444; }
99
+ #close-mirror-btn { background: none; border: none; color: white; font-size: 1.5em; cursor: pointer; }
100
+ #mirror-log { padding: 20px; overflow-y: auto; height: calc(100% - 70px); }
101
+ .log-entry {
102
+ background: var(--secondary-bg);
103
+ padding: 15px;
104
+ border-radius: 8px;
105
+ margin-bottom: 15px;
106
+ border-left: 4px solid var(--accent-color);
107
+ }
108
+ .log-entry strong { display: block; margin-bottom: 5px; color: var(--accent-color); }
109
+
110
+ /* --- Nudges Visuales --- */
111
+ body.eco-nudge { background-color: var(--nudge-eco); }
112
+ body.serenity-nudge { background-color: var(--nudge-stress); }