DHEIVER commited on
Commit
d2e7050
·
verified ·
1 Parent(s): 68c4f35

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +115 -110
style.css CHANGED
@@ -1,165 +1,170 @@
1
- /* Paleta de cores */
2
- :root {
3
- --primary-color: #4A90E2;
4
- --secondary-color: #50C878;
5
- --background-color: #F7F9FC;
6
- --text-color: #333333;
7
- --accent-color: #F5A623;
8
- --border-color: #DDE4E9;
9
- --hover-color: #357ABD;
10
- }
11
-
12
- /* Estilo geral */
13
  body {
14
- background-color: var(--background-color);
15
- color: var(--text-color);
16
- font-family: 'Arial', sans-serif;
17
- padding: 20px;
18
  }
19
 
20
  /* Cabeçalho */
21
- .header-container {
22
- display: flex;
23
- align-items: center;
24
- padding: 15px 25px;
25
- background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
26
  color: white;
27
- border-radius: 10px;
28
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
29
- margin-bottom: 20px;
30
  }
31
 
32
- .logo img {
33
- width: 50px;
34
- margin-right: 20px;
 
35
  }
36
 
37
- .header-text h1 {
38
- margin: 0;
39
  font-size: 28px;
40
- font-weight: bold;
 
41
  }
42
 
43
- .header-text p {
44
- margin: 5px 0 0;
45
  font-size: 14px;
 
 
46
  }
47
 
48
- .header-text a {
49
- color: var(--accent-color);
50
- text-decoration: none;
51
- transition: color 0.3s;
 
 
52
  }
53
 
54
- .header-text a:hover {
55
- color: white;
 
 
 
 
 
56
  }
57
 
58
- /* Abas */
59
- .gr-tabs {
60
- background-color: white;
61
- border-radius: 10px;
62
- padding: 15px;
63
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
64
  }
65
 
66
- /* Acordeões */
67
- .config-accordion, .instructions-accordion {
68
- border: 1px solid var(--border-color);
69
  border-radius: 8px;
70
  padding: 10px;
71
- background-color: #fff;
72
- }
73
-
74
- .config-accordion h3, .instructions-accordion h3 {
75
- color: var(--primary-color);
76
- font-size: 18px;
77
  }
78
 
79
- /* Entrada e Saída */
80
- .upload-box {
81
- border: 2px dashed var(--primary-color);
82
  border-radius: 8px;
83
- padding: 15px;
84
- background-color: #fafafa;
85
- transition: border-color 0.3s;
86
- }
87
-
88
- .upload-box:hover {
89
- border-color: var(--hover-color);
90
- }
91
-
92
- .api-key-input, .prompt-input {
93
- border: 1px solid var(--border-color);
94
- border-radius: 6px;
95
- padding: 10px;
96
  font-size: 14px;
 
97
  transition: border-color 0.3s;
98
  }
99
 
100
- .api-key-input:focus, .prompt-input:focus {
101
- border-color: var(--primary-color);
102
  outline: none;
103
  }
104
 
105
- .generate-btn {
106
- background-color: var(--secondary-color);
107
  color: white;
108
  border: none;
109
- padding: 12px 25px;
110
- border-radius: 6px;
111
- font-weight: bold;
112
- cursor: pointer;
113
- transition: background-color 0.3s;
 
 
 
114
  }
115
 
116
- .generate-btn:hover {
117
- background-color: #45b065;
 
 
 
 
 
 
118
  }
119
 
120
- .gr-button.secondary {
121
- background-color: #e0e0e0;
122
- color: var(--text-color);
123
- padding: 12px 25px;
124
- border-radius: 6px;
125
  }
126
 
127
- .gr-button.secondary:hover {
128
- background-color: #d0d0d0;
 
 
 
 
129
  }
130
 
131
- /* Galeria e texto de saída */
132
- .output-gallery {
133
- border: 1px solid var(--border-color);
134
  border-radius: 8px;
135
- padding: 10px;
136
- background-color: #fff;
137
- min-height: 200px;
138
  }
139
 
140
  .output-text {
141
- border: 1px solid var(--border-color);
142
- border-radius: 6px;
143
- padding: 10px;
144
- min-height: 100px;
145
  font-size: 14px;
146
- background-color: #fafafa;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  }
148
 
149
  /* Exemplos */
150
- .gr-examples-header {
151
- color: var(--primary-color);
152
- font-size: 22px;
153
- margin: 20px 0 10px;
154
  text-align: center;
 
 
 
 
155
  }
156
 
157
- #examples-grid {
158
- display: grid;
159
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
160
- gap: 15px;
161
- padding: 10px;
162
- background-color: white;
163
- border-radius: 8px;
164
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
165
  }
 
1
+ /* Reset e Estilo Geral */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
 
 
 
 
 
8
  body {
9
+ font-family: 'Inter', sans-serif;
10
+ background: #f0f2f5;
11
+ color: #1a1a1a;
 
12
  }
13
 
14
  /* Cabeçalho */
15
+ .header {
16
+ text-align: center;
17
+ padding: 20px;
18
+ background: linear-gradient(135deg, #6b48ff, #00ddeb);
 
19
  color: white;
20
+ border-radius: 12px 12px 0 0;
21
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 
22
  }
23
 
24
+ .logo {
25
+ width: 40px;
26
+ vertical-align: middle;
27
+ margin-right: 10px;
28
  }
29
 
30
+ .header h1 {
 
31
  font-size: 28px;
32
+ font-weight: 700;
33
+ display: inline;
34
  }
35
 
36
+ .subtitle {
 
37
  font-size: 14px;
38
+ opacity: 0.9;
39
+ margin-top: 5px;
40
  }
41
 
42
+ /* Container Principal */
43
+ .main-container {
44
+ max-width: 1200px;
45
+ margin: 20px auto;
46
+ display: flex;
47
+ gap: 20px;
48
  }
49
 
50
+ /* Seção de Entrada */
51
+ .input-section {
52
+ background: white;
53
+ padding: 20px;
54
+ border-radius: 12px;
55
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
56
+ transition: transform 0.2s;
57
  }
58
 
59
+ .input-section:hover {
60
+ transform: translateY(-2px);
 
 
 
 
61
  }
62
 
63
+ .image-upload {
64
+ border: 2px dashed #6b48ff;
 
65
  border-radius: 8px;
66
  padding: 10px;
67
+ background: #fafafa;
 
 
 
 
 
68
  }
69
 
70
+ .prompt-box, .api-key-box {
71
+ border: 1px solid #e0e0e0;
 
72
  border-radius: 8px;
73
+ padding: 12px;
 
 
 
 
 
 
 
 
 
 
 
 
74
  font-size: 14px;
75
+ margin-top: 10px;
76
  transition: border-color 0.3s;
77
  }
78
 
79
+ .prompt-box:focus, .api-key-box:focus {
80
+ border-color: #6b48ff;
81
  outline: none;
82
  }
83
 
84
+ .submit-btn {
85
+ background: #6b48ff;
86
  color: white;
87
  border: none;
88
+ padding: 10px 20px;
89
+ border-radius: 8px;
90
+ font-weight: 600;
91
+ transition: background 0.3s;
92
+ }
93
+
94
+ .submit-btn:hover {
95
+ background: #5439cc;
96
  }
97
 
98
+ .clear-btn {
99
+ background: #e0e0e0;
100
+ color: #1a1a1a;
101
+ border: none;
102
+ padding: 10px 20px;
103
+ border-radius: 8px;
104
+ font-weight: 600;
105
+ transition: background 0.3s;
106
  }
107
 
108
+ .clear-btn:hover {
109
+ background: #d0d0d0;
 
 
 
110
  }
111
 
112
+ /* Seção de Saída */
113
+ .output-section {
114
+ background: white;
115
+ padding: 20px;
116
+ border-radius: 12px;
117
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
118
  }
119
 
120
+ .output-image {
 
 
121
  border-radius: 8px;
122
+ overflow: hidden;
123
+ max-height: 400px;
 
124
  }
125
 
126
  .output-text {
127
+ border: 1px solid #e0e0e0;
128
+ border-radius: 8px;
129
+ padding: 12px;
 
130
  font-size: 14px;
131
+ margin-top: 10px;
132
+ background: #fafafa;
133
+ }
134
+
135
+ /* Acordeão de Informações */
136
+ .info-accordion {
137
+ margin: 20px auto;
138
+ max-width: 1200px;
139
+ background: white;
140
+ border-radius: 12px;
141
+ padding: 15px;
142
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
143
+ }
144
+
145
+ .info-accordion a {
146
+ color: #6b48ff;
147
+ text-decoration: none;
148
+ }
149
+
150
+ .info-accordion a:hover {
151
+ text-decoration: underline;
152
  }
153
 
154
  /* Exemplos */
155
+ .examples-header {
 
 
 
156
  text-align: center;
157
+ font-size: 20px;
158
+ font-weight: 600;
159
+ color: #6b48ff;
160
+ margin: 20px 0 10px;
161
  }
162
 
163
+ .gr-examples {
164
+ max-width: 1200px;
165
+ margin: 0 auto;
166
+ background: white;
167
+ padding: 15px;
168
+ border-radius: 12px;
169
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 
170
  }