designcraft-studio / style.css
itacaiunas's picture
Crie um editor gráfico online semelhante ao Polotno Studio
92abb9b verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #6366f1;
--primary-light: #818cf8;
--primary-dark: #4f46e5;
--secondary: #f59e0b;
--secondary-light: #fbbf24;
--secondary-dark: #d97706;
}
* {
font-family: 'Inter', sans-serif;
box-sizing: border-box;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a1a1a1;
}
.dark ::-webkit-scrollbar-track {
background: #2d3748;
}
.dark ::-webkit-scrollbar-thumb {
background: #4a5568;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #718096;
}
/* Konva canvas styling */
#stage-container {
background-color: white;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.dark #stage-container {
background-color: #1f2937;
}
/* Tooltip styling */
[tooltip] {
position: relative;
}
[tooltip]::before {
content: attr(tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 0.25rem 0.5rem;
background-color: #333;
color: white;
border-radius: 0.25rem;
font-size: 0.75rem;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
z-index: 50;
}
[tooltip]:hover::before {
opacity: 1;
}
.dark [tooltip]::before {
background-color: #f3f4f6;
color: #111827;
}