Spaces:
Running
Running
/* Paleta de cores */ | |
:root { | |
--primary-color: #4A90E2; /* Azul suave */ | |
--secondary-color: #50C878; /* Verde esmeralda */ | |
--background-color: #F7F9FC; /* Cinza claro */ | |
--text-color: #333333; /* Preto suave */ | |
--accent-color: #F5A623; /* Laranja vibrante */ | |
--border-color: #DDE4E9; /* Cinza claro */ | |
--hover-color: #357ABD; /* Azul mais escuro */ | |
} | |
/* Estilo geral */ | |
body { | |
background-color: var(--background-color); | |
color: var(--text-color); | |
font-family: 'Arial', sans-serif; | |
padding: 20px; | |
} | |
/* Cabeçalho */ | |
.header-container { | |
display: flex; | |
align-items: center; | |
padding: 15px 25px; | |
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); | |
color: white; | |
border-radius: 10px; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
margin-bottom: 20px; | |
} | |
.logo img { | |
width: 50px; | |
margin-right: 20px; | |
} | |
.header-text h1 { | |
margin: 0; | |
font-size: 28px; | |
font-weight: bold; | |
} | |
.header-text p { | |
margin: 5px 0 0; | |
font-size: 14px; | |
} | |
.header-text a { | |
color: var(--accent-color); | |
text-decoration: none; | |
transition: color 0.3s; | |
} | |
.header-text a:hover { | |
color: white; | |
} | |
/* Abas */ | |
.gr-tabs { | |
background-color: white; | |
border-radius: 10px; | |
padding: 15px; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | |
} | |
/* Acordeões */ | |
.config-accordion, .instructions-accordion { | |
border: 1px solid var(--border-color); | |
border-radius: 8px; | |
padding: 10px; | |
background-color: #fff; | |
} | |
.config-accordion h3, .instructions-accordion h3 { | |
color: var(--primary-color); | |
font-size: 18px; | |
} | |
/* Entrada e Saída */ | |
.upload-box { | |
border: 2px dashed var(--primary-color); | |
border-radius: 8px; | |
padding: 15px; | |
background-color: #fafafa; | |
transition: border-color 0.3s; | |
} | |
.upload-box:hover { | |
border-color: var(--hover-color); | |
} | |
.api-key-input, .prompt-input { | |
border: 1px solid var(--border-color); | |
border-radius: 6px; | |
padding: 10px; | |
font-size: 14px; | |
transition: border-color 0.3s; | |
} | |
.api-key-input:focus, .prompt-input:focus { | |
border-color: var(--primary-color); | |
outline: none; | |
} | |
.generate-btn { | |
background-color: var(--secondary-color); | |
color: white; | |
border: none; | |
padding: 12px 25px; | |
border-radius: 6px; | |
font-weight: bold; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
} | |
.generate-btn:hover { | |
background-color: #45b065; | |
} | |
.gr-button.secondary { | |
background-color: #e0e0e0; | |
color: var(--text-color); | |
padding: 12px 25px; | |
border-radius: 6px; | |
} | |
.gr-button.secondary:hover { | |
background-color: #d0d0d0; | |
} | |
/* Galeria e texto de saída */ | |
.output-gallery { | |
border: 1px solid var(--border-color); | |
border-radius: 8px; | |
padding: 10px; | |
background-color: #fff; | |
min-height: 200px; | |
} | |
.output-text { | |
border: 1px solid var(--border-color); | |
border-radius: 6px; | |
padding: 10px; | |
min-height: 100px; | |
font-size: 14px; | |
background-color: #fafafa; | |
} | |
/* Exemplos */ | |
.gr-examples-header { | |
color: var(--primary-color); | |
font-size: 22px; | |
margin: 20px 0 10px; | |
text-align: center; | |
} | |
#examples-grid { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
gap: 15px; | |
padding: 10px; | |
background-color: white; | |
border-radius: 8px; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | |
} | |
/* Tooltips (personalizado) */ | |
.gr-tooltip { | |
position: relative; | |
display: inline-block; | |
} | |
.gr-tooltip:hover::after { | |
content: attr(tooltips); | |
position: absolute; | |
bottom: 100%; | |
left: 50%; | |
transform: translateX(-50%); | |
background-color: #333; | |
color: white; | |
padding: 5px 10px; | |
border-radius: 4px; | |
font-size: 12px; | |
white-space: nowrap; | |
z-index: 10; | |
} |