2026-01-16 15:58:46 +00:00
|
|
|
:root {
|
|
|
|
|
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
|
|
color-scheme: light dark;
|
2026-01-16 16:53:23 +00:00
|
|
|
color: #1e293b;
|
|
|
|
|
background-color: #f8fafc;
|
|
|
|
|
|
|
|
|
|
--primary: #2563eb;
|
|
|
|
|
--primary-hover: #1d4ed8;
|
|
|
|
|
--success: #10b981;
|
|
|
|
|
--success-hover: #059669;
|
|
|
|
|
--warning: #f59e0b;
|
|
|
|
|
--warning-hover: #d97706;
|
|
|
|
|
--danger: #ef4444;
|
|
|
|
|
--danger-hover: #dc2626;
|
|
|
|
|
--card-bg: #ffffff;
|
|
|
|
|
--border-color: #e2e8f0;
|
|
|
|
|
--text-primary: #0f172a;
|
|
|
|
|
--text-secondary: #64748b;
|
2026-01-16 15:58:46 +00:00
|
|
|
|
|
|
|
|
font-synthesis: none;
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
font-weight: 500;
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--primary);
|
2026-01-16 15:58:46 +00:00
|
|
|
text-decoration: inherit;
|
|
|
|
|
}
|
|
|
|
|
a:hover {
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--primary-hover);
|
2026-01-16 15:58:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
min-width: 320px;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
font-size: 3.2em;
|
|
|
|
|
line-height: 1.1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#app {
|
2026-01-16 20:22:14 +00:00
|
|
|
width: 100%;
|
|
|
|
|
min-height: 100vh;
|
2026-01-16 15:58:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
height: 6em;
|
|
|
|
|
padding: 1.5em;
|
|
|
|
|
will-change: filter;
|
|
|
|
|
transition: filter 300ms;
|
|
|
|
|
}
|
|
|
|
|
.logo:hover {
|
|
|
|
|
filter: drop-shadow(0 0 2em #646cffaa);
|
|
|
|
|
}
|
|
|
|
|
.logo.vanilla:hover {
|
|
|
|
|
filter: drop-shadow(0 0 2em #f7df1eaa);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
padding: 2em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.read-the-docs {
|
|
|
|
|
color: #888;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
padding: 0.6em 1.2em;
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-family: inherit;
|
2026-01-16 16:53:23 +00:00
|
|
|
background-color: var(--primary);
|
|
|
|
|
color: white;
|
2026-01-16 15:58:46 +00:00
|
|
|
cursor: pointer;
|
2026-01-16 16:53:23 +00:00
|
|
|
transition: background-color 0.25s, border-color 0.25s;
|
2026-01-16 15:58:46 +00:00
|
|
|
}
|
|
|
|
|
button:hover {
|
2026-01-16 16:53:23 +00:00
|
|
|
background-color: var(--primary-hover);
|
2026-01-16 15:58:46 +00:00
|
|
|
}
|
|
|
|
|
button:focus,
|
|
|
|
|
button:focus-visible {
|
|
|
|
|
outline: 4px auto -webkit-focus-ring-color;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
|
:root {
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--text-primary);
|
|
|
|
|
background-color: #f8fafc;
|
2026-01-16 15:58:46 +00:00
|
|
|
}
|
|
|
|
|
a:hover {
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--primary-hover);
|
2026-01-16 15:58:46 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-01-16 16:44:16 +00:00
|
|
|
|
|
|
|
|
.login-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-card {
|
2026-01-16 16:53:23 +00:00
|
|
|
background: var(--card-bg);
|
2026-01-16 16:44:16 +00:00
|
|
|
padding: 2.5rem;
|
|
|
|
|
border-radius: 12px;
|
2026-01-16 16:53:23 +00:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
2026-01-16 16:44:16 +00:00
|
|
|
width: 100%;
|
|
|
|
|
max-width: 400px;
|
2026-01-16 16:53:23 +00:00
|
|
|
border: 1px solid var(--border-color);
|
2026-01-16 16:44:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-title {
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--text-primary);
|
2026-01-16 16:44:16 +00:00
|
|
|
margin: 0 0 2rem 0;
|
|
|
|
|
font-size: 1.8rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group label {
|
|
|
|
|
display: block;
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--text-primary);
|
2026-01-16 16:44:16 +00:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.75rem;
|
2026-01-16 16:53:23 +00:00
|
|
|
border: 1px solid var(--border-color);
|
2026-01-16 16:44:16 +00:00
|
|
|
border-radius: 6px;
|
2026-01-16 16:53:23 +00:00
|
|
|
background: #fff;
|
|
|
|
|
color: var(--text-primary);
|
2026-01-16 16:44:16 +00:00
|
|
|
font-size: 1rem;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group input:focus {
|
|
|
|
|
outline: none;
|
2026-01-16 16:53:23 +00:00
|
|
|
border-color: var(--primary);
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
|
2026-01-16 16:44:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.875rem;
|
2026-01-16 16:53:23 +00:00
|
|
|
background-color: var(--primary);
|
2026-01-16 16:44:16 +00:00
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.25s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-button:hover {
|
2026-01-16 16:53:23 +00:00
|
|
|
background-color: var(--primary-hover);
|
2026-01-16 16:44:16 +00:00
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-error {
|
2026-01-16 16:53:23 +00:00
|
|
|
color: var(--danger);
|
2026-01-16 16:44:16 +00:00
|
|
|
text-align: center;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard {
|
|
|
|
|
max-width: 1280px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-header h1 {
|
2026-01-16 20:01:01 +00:00
|
|
|
font-size: 2rem;
|
2026-01-16 16:44:16 +00:00
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-content {
|
2026-01-16 16:53:23 +00:00
|
|
|
background: var(--card-bg);
|
2026-01-16 16:44:16 +00:00
|
|
|
padding: 2rem;
|
|
|
|
|
border-radius: 12px;
|
2026-01-16 16:53:23 +00:00
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
2026-01-16 16:44:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logout-button {
|
2026-01-16 16:53:23 +00:00
|
|
|
background-color: var(--danger);
|
2026-01-16 16:44:16 +00:00
|
|
|
color: white;
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logout-button:hover {
|
2026-01-16 16:53:23 +00:00
|
|
|
background-color: var(--danger-hover);
|
2026-01-16 16:44:16 +00:00
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
2026-01-16 16:53:23 +00:00
|
|
|
|
|
|
|
|
.status-badge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.25rem 0.75rem;
|
|
|
|
|
border-radius: 9999px;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-pending {
|
|
|
|
|
background-color: #fef3c7;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-16 16:53:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-paid {
|
|
|
|
|
background-color: #d1fae5;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-16 16:53:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-overdue {
|
|
|
|
|
background-color: #fee2e2;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-16 16:53:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-draft {
|
|
|
|
|
background-color: #f1f5f9;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-16 16:53:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.amount-display {
|
|
|
|
|
font-family: 'Courier New', monospace;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-stat {
|
|
|
|
|
background: var(--card-bg);
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-stat-label {
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-stat-value {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-stat.positive .card-stat-value {
|
|
|
|
|
color: var(--success);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-stat.negative .card-stat-value {
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
}
|
2026-01-16 20:22:14 +00:00
|
|
|
|
|
|
|
|
/* App Layout with Sidebar */
|
|
|
|
|
.app-layout {
|
|
|
|
|
display: flex;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Sidebar Styles */
|
|
|
|
|
.sidebar {
|
|
|
|
|
width: 250px;
|
|
|
|
|
background-color: var(--card-bg);
|
|
|
|
|
border-right: 1px solid var(--border-color);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
transition: width 0.3s ease, transform 0.3s ease;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-header {
|
|
|
|
|
padding: 1.5rem 1rem;
|
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-header h2 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-toggle {
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-toggle:hover {
|
|
|
|
|
background-color: var(--border-color);
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-nav {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
padding: 1rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-menu {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-menu li {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-link {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: background-color 0.2s, color 0.2s;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-link:hover {
|
|
|
|
|
background-color: var(--border-color);
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-link.active {
|
|
|
|
|
background-color: rgba(37, 99, 235, 0.1);
|
|
|
|
|
color: var(--primary);
|
|
|
|
|
border-left: 3px solid var(--primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-icon {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
margin-right: 0.75rem;
|
|
|
|
|
min-width: 1.5rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-text {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Collapsed Sidebar State */
|
|
|
|
|
.sidebar.collapsed {
|
|
|
|
|
width: 70px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar.collapsed .sidebar-header h2,
|
|
|
|
|
.sidebar.collapsed .sidebar-text {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar.collapsed .sidebar-icon {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Main Content Area */
|
|
|
|
|
.main-content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
background-color: #f8fafc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-content > div {
|
|
|
|
|
max-width: 1280px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Responsive Design */
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.sidebar {
|
|
|
|
|
position: fixed;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
transform: translateX(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar.collapsed {
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
width: 250px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-content {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-23 18:53:02 +00:00
|
|
|
/* Facturas Page Styles */
|
|
|
|
|
.facturas-page {
|
2026-01-16 20:22:14 +00:00
|
|
|
padding: 2rem;
|
2026-01-23 18:53:02 +00:00
|
|
|
max-width: 1600px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.facturas-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.facturas-header h1 {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-new-invoice {
|
|
|
|
|
background-color: var(--primary);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-new-invoice:hover {
|
|
|
|
|
background-color: var(--primary-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.facturas-filters {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input,
|
|
|
|
|
.filter-status {
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
background: var(--card-bg);
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-23 18:53:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
|
flex: 1;
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-status {
|
|
|
|
|
min-width: 200px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoices-table {
|
|
|
|
|
background: var(--card-bg);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoices-header,
|
|
|
|
|
.invoice-item {
|
|
|
|
|
display: grid;
|
2026-01-27 17:51:20 +00:00
|
|
|
grid-template-columns: 40px 150px 120px 120px 120px 120px 120px 120px 80px;
|
2026-01-23 18:53:02 +00:00
|
|
|
gap: 1rem;
|
|
|
|
|
padding: 1rem 1.5rem;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoices-header {
|
|
|
|
|
background: #f8fafc;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-item {
|
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-item:hover {
|
|
|
|
|
background-color: #f8fafc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-item:last-child {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-checkbox input {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-number {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-badge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.4rem 0.8rem;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-draft {
|
|
|
|
|
background: #f3f4f6;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-23 18:53:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-validated {
|
|
|
|
|
background: #dbeafe;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-23 18:53:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-paid {
|
|
|
|
|
background: #d1fae5;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-23 18:53:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-unpaid {
|
|
|
|
|
background: #fee2e2;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-23 18:53:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-canceled {
|
|
|
|
|
background: #f3f4f6;
|
2026-01-27 17:51:20 +00:00
|
|
|
color: #000000;
|
2026-01-23 18:53:02 +00:00
|
|
|
text-decoration: line-through;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-client {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.client-icon {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-date,
|
|
|
|
|
.invoice-total,
|
|
|
|
|
.invoice-remain {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-total,
|
|
|
|
|
.invoice-remain {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-view {
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-view:hover {
|
|
|
|
|
background: var(--primary);
|
|
|
|
|
border-color: var(--primary);
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loading,
|
|
|
|
|
.error,
|
|
|
|
|
.no-invoices {
|
|
|
|
|
padding: 3rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error {
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-27 17:51:20 +00:00
|
|
|
/* Pagination Styles */
|
|
|
|
|
.pagination {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 2rem;
|
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
background: var(--card-bg);
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pagination-info {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pagination-info .current-page,
|
|
|
|
|
.pagination-info .total-pages {
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--primary);
|
|
|
|
|
min-width: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-pagination {
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
background-color: var(--primary);
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-pagination:hover:not(:disabled) {
|
|
|
|
|
background-color: var(--primary-hover);
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-pagination:disabled {
|
|
|
|
|
background-color: #cbd5e1;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-pagination:active:not(:disabled) {
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-23 18:53:02 +00:00
|
|
|
/* Responsive */
|
2026-01-27 17:51:20 +00:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.pagination {
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-pagination {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pagination-info {
|
|
|
|
|
order: 3;
|
|
|
|
|
width: 100%;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-23 18:53:02 +00:00
|
|
|
@media (max-width: 1400px) {
|
|
|
|
|
.invoices-header,
|
|
|
|
|
.invoice-item {
|
|
|
|
|
grid-template-columns: 40px 120px 100px 50px 130px 100px 100px 100px 70px;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
.facturas-page {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoices-header,
|
|
|
|
|
.invoice-item {
|
|
|
|
|
grid-template-columns: 40px 100px 90px 130px 90px 90px 60px;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-id,
|
|
|
|
|
.invoice-remain {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.facturas-filters {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoices-header {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-item {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-item > div {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-item > div::before {
|
|
|
|
|
content: attr(class);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
text-transform: capitalize;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.invoice-checkbox {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 1rem;
|
|
|
|
|
right: 1rem;
|
|
|
|
|
}
|
2026-01-16 20:22:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.test-page h1 {
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.test-content {
|
|
|
|
|
background: var(--card-bg);
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.test-button {
|
|
|
|
|
background-color: var(--success);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.test-button:hover {
|
|
|
|
|
background-color: var(--success-hover);
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Adjust dashboard and login for new layout */
|
|
|
|
|
.login-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2026-02-03 12:44:59 +00:00
|
|
|
/* Create Invoice Page - Ultra Compact */
|
2026-02-02 16:58:52 +00:00
|
|
|
.create-invoice-page {
|
2026-02-03 12:44:59 +00:00
|
|
|
padding: 1rem;
|
|
|
|
|
max-width: 1400px;
|
2026-02-02 16:58:52 +00:00
|
|
|
margin: 0 auto;
|
2026-02-03 12:44:59 +00:00
|
|
|
min-height: 100vh;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.invoice-header-compact {
|
2026-02-02 16:58:52 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2026-02-03 12:44:59 +00:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.invoice-header-compact h1 {
|
2026-02-02 16:58:52 +00:00
|
|
|
margin: 0;
|
2026-02-03 12:44:59 +00:00
|
|
|
font-size: 1.5rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-back {
|
2026-02-03 12:44:59 +00:00
|
|
|
background: transparent;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
border: 1px solid #e2e8f0;
|
|
|
|
|
padding: 0.4rem 0.8rem;
|
|
|
|
|
border-radius: 4px;
|
2026-02-02 16:58:52 +00:00
|
|
|
cursor: pointer;
|
2026-02-03 12:44:59 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 0.9rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-back:hover {
|
|
|
|
|
background: #f1f5f9;
|
2026-02-03 12:44:59 +00:00
|
|
|
color: #475569;
|
|
|
|
|
border-color: #cbd5e1;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.invoice-form-compact {
|
2026-02-02 16:58:52 +00:00
|
|
|
background: var(--card-bg);
|
2026-02-03 12:44:59 +00:00
|
|
|
border-radius: 8px;
|
2026-02-02 16:58:52 +00:00
|
|
|
border: 1px solid var(--border-color);
|
2026-02-03 12:44:59 +00:00
|
|
|
padding: 1rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-grid-compact {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 2fr 1fr 1fr;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.notes-grid-compact {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-bottom: 0.75rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-field-compact {
|
2026-02-02 16:58:52 +00:00
|
|
|
display: flex;
|
2026-02-03 12:44:59 +00:00
|
|
|
flex-direction: column;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-field-compact.full-width {
|
|
|
|
|
grid-column: 1 / -1;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-field-compact label {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
font-size: 0.8rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-field-compact input,
|
|
|
|
|
.form-field-compact select,
|
|
|
|
|
.form-field-compact textarea {
|
|
|
|
|
padding: 0.4rem 0.5rem;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: #000000;
|
|
|
|
|
background: var(--card-bg);
|
|
|
|
|
resize: vertical;
|
|
|
|
|
min-height: 38px;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-field-compact input:focus,
|
|
|
|
|
.form-field-compact select:focus,
|
|
|
|
|
.form-field-compact textarea:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
border-color: var(--primary);
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.lines-section-compact {
|
|
|
|
|
flex: 1;
|
2026-02-02 16:58:52 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-02-03 12:44:59 +00:00
|
|
|
overflow: hidden;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.lines-header-compact {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.lines-header-compact h3 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 0.95rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
color: var(--text-primary);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-add-compact {
|
|
|
|
|
background: #f1f5f9;
|
|
|
|
|
color: var(--text-primary);
|
2026-02-02 16:58:52 +00:00
|
|
|
border: 1px solid var(--border-color);
|
2026-02-03 12:44:59 +00:00
|
|
|
padding: 0.3rem 0.6rem;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
transition: all 0.2s;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-add-compact:hover {
|
|
|
|
|
background: #e2e8f0;
|
|
|
|
|
border-color: #cbd5e1;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.lines-table-compact {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.5rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.line-row-compact {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 4fr 0.8fr 1.2fr 0.8fr 1.2fr auto;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
align-items: center;
|
2026-02-02 16:58:52 +00:00
|
|
|
background: #f8fafc;
|
|
|
|
|
border: 1px solid var(--border-color);
|
2026-02-03 12:44:59 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
|
padding: 0.4rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.line-desc-compact,
|
|
|
|
|
.line-qty-compact,
|
|
|
|
|
.line-price-compact,
|
|
|
|
|
.line-tax-compact {
|
|
|
|
|
padding: 0.35rem 0.4rem;
|
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
background: white;
|
|
|
|
|
color: #000000;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.line-desc-compact {
|
|
|
|
|
width: 100%;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.line-desc-compact:focus,
|
|
|
|
|
.line-qty-compact:focus,
|
|
|
|
|
.line-price-compact:focus,
|
|
|
|
|
.line-tax-compact:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
border-color: var(--primary);
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.line-total-compact {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
text-align: right;
|
|
|
|
|
padding-right: 0.5rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-delete-compact {
|
|
|
|
|
background: transparent;
|
|
|
|
|
color: #94a3b8;
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1.4rem;
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
line-height: 1;
|
2026-02-02 16:58:52 +00:00
|
|
|
display: flex;
|
2026-02-03 12:44:59 +00:00
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
flex-shrink: 0;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-delete-compact:hover {
|
|
|
|
|
color: #64748b;
|
|
|
|
|
background: #f1f5f9;
|
|
|
|
|
border-color: #e2e8f0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-actions-compact {
|
2026-02-02 16:58:52 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
2026-02-03 12:44:59 +00:00
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
padding-top: 0.75rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
border-top: 1px solid var(--border-color);
|
2026-02-03 12:44:59 +00:00
|
|
|
flex-shrink: 0;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-cancel-compact {
|
|
|
|
|
background: #f8fafc;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
border: 1px solid #e2e8f0;
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border-radius: 4px;
|
2026-02-02 16:58:52 +00:00
|
|
|
cursor: pointer;
|
2026-02-03 12:44:59 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 0.9rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-cancel-compact:hover {
|
2026-02-02 16:58:52 +00:00
|
|
|
background: #f1f5f9;
|
2026-02-03 12:44:59 +00:00
|
|
|
color: #475569;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-submit-compact {
|
|
|
|
|
background: #334155;
|
2026-02-02 16:58:52 +00:00
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2026-02-03 12:44:59 +00:00
|
|
|
padding: 0.5rem 1.5rem;
|
|
|
|
|
border-radius: 4px;
|
2026-02-02 16:58:52 +00:00
|
|
|
cursor: pointer;
|
2026-02-03 12:44:59 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
transition: all 0.2s;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-submit-compact:hover {
|
|
|
|
|
background: #475569;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.btn-submit-compact:disabled {
|
|
|
|
|
background: #e2e8f0;
|
|
|
|
|
color: #94a3b8;
|
2026-02-02 16:58:52 +00:00
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.create-invoice-page {
|
2026-02-03 12:44:59 +00:00
|
|
|
padding: 0.5rem;
|
|
|
|
|
height: calc(100vh - 1rem);
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-grid-compact {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
gap: 0.5rem;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.form-field-compact.full-width {
|
|
|
|
|
grid-column: 1;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
|
2026-02-03 12:44:59 +00:00
|
|
|
.line-row-compact {
|
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line-desc-compact {
|
|
|
|
|
grid-column: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line-qty-compact,
|
|
|
|
|
.line-price-compact,
|
|
|
|
|
.line-tax-compact,
|
|
|
|
|
.line-total-compact {
|
|
|
|
|
width: 60px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-delete-compact {
|
|
|
|
|
grid-column: 2;
|
2026-02-02 16:58:52 +00:00
|
|
|
}
|
|
|
|
|
}
|