Files
initpage/web/styles.css

266 lines
5.9 KiB
CSS

:root {
--accent-color: #3b82f6;
--accent-hover: #2563eb;
--modal-panel-bg: linear-gradient(180deg, rgba(30, 27, 75, 0.94), rgba(15, 18, 38, 0.96));
--modal-panel-border: rgba(139, 124, 219, 0.18);
}
/* Modal: fundo coerente com glassmorphism do projeto */
.modal-panel {
background: rgba(15, 23, 42, 0.92);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.14);
box-shadow: 0 40px 90px -20px rgba(2, 6, 23, 0.95);
}
/* Limitar texto em até 2 linhas */
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Limitar texto em até 3 linhas */
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Scrollbars elegantes */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.4);
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Estilos Glassmorphism */
.glass-panel {
background: rgba(15, 23, 42, 0.78);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(255, 255, 255, 0.12);
}
.glass-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.glass-card:hover {
border-color: rgba(255, 255, 255, 0.28);
transform: translateY(-3px);
box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.5);
}
.glass-translucent {
background: rgba(15, 23, 42, 0.38) !important;
backdrop-filter: blur(16px) !important;
-webkit-backdrop-filter: blur(16px) !important;
border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
/* Botão de sidebar */
.sidebar-btn {
width: 36px;
height: 36px;
border-radius: 12px;
display: flex;
align-items: center;
color: rgba(226, 232, 255, 0.9);
transition: all 0.2s ease;
flex-shrink: 0;
background: transparent;
}
.sidebar-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
transform: scale(1.05);
}
.sidebar-btn:active {
transform: scale(0.95);
}
/* Sidebar/barra de navegação */
#app-sidebar {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 20px 60px -20px rgba(2, 6, 23, 0.9);
}
/* Checklist item */
.check-item {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 8px;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 10px;
}
.check-item input[type="checkbox"] {
accent-color: var(--accent-color);
width: 14px;
height: 14px;
cursor: pointer;
flex-shrink: 0;
}
.check-item.completed .check-item-text {
text-decoration: line-through;
color: rgba(148, 163, 184, 0.8);
}
.check-item input.check-item-text-input {
flex: 1;
background: transparent;
border: none;
outline: none;
color: white;
font-size: 11px;
padding: 0 4px;
}
/* Linha do calendário com ponto de tarefa */
.cal-day-cell {
position: relative;
padding: 5px 4px;
}
.cal-task-dot {
position: absolute;
bottom: 2px;
left: 50%;
transform: translateX(-50%);
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--accent-color);
pointer-events: none;
}
/* Botão de layout selecionado */
.layout-btn.selected {
background: var(--accent-color) !important;
border-color: transparent !important;
color: #ffffff;
font-weight: 700;
}
/* Aba ativa */
.tab-btn.selected {
background: var(--accent-color) !important;
color: #ffffff;
font-weight: 700;
box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
}
/* Ícone do atalho preenche toda a caixa (desktop e mobile), sem bordas */
.shortcut-icon-box {
padding: 0 !important;
overflow: hidden !important;
border: none !important;
}
.shortcut-icon-box img {
object-fit: cover !important;
}
/* Estilos do Drag and Drop */
.card-dragging {
opacity: 0.35 !important;
transform: scale(0.95) !important;
border: 2px dashed var(--accent-color) !important;
}
.card-drag-over {
border: 2px solid var(--accent-color) !important;
transform: scale(1.02) !important;
box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}
.tab-drag-over {
background: rgba(255, 255, 255, 0.25) !important;
border-color: var(--accent-color) !important;
transform: scale(1.05);
}
/* Transição suave do contêiner */
#shortcuts-container {
transition: opacity 0.18s ease, transform 0.18s ease;
}
#shortcuts-container.switching {
opacity: 0;
transform: scale(0.985);
}
/* Otimizações Mobile */
@media (max-width: 768px) {
.glass-panel {
background: rgba(15, 23, 42, 0.95) !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
.glass-card, .glass-translucent {
background: rgba(30, 41, 59, 0.92) !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
transform: none !important;
}
.glass-card:hover {
transform: none !important;
}
.animate-slide-up, .animate-fade-in {
animation: none !important;
opacity: 1 !important;
transform: none !important;
}
#app-sidebar {
height: 48px;
opacity: 0.95;
transition: none;
overflow: visible;
flex-direction: row;
align-items: center;
left: 0;
right: 0;
border-left: 0;
border-right: 0;
}
.sidebar-btn {
width: 32px;
height: 32px;
}
.card-actions button {
padding: 8px;
}
.card-actions button i {
width: 16px !important;
height: 16px !important;
}
}