botserver/web/app/tablesv2/tables.css

86 lines
1.2 KiB
CSS
Raw Normal View History

/* Tables Component Styles */
.app-container {
display: flex;
flex-direction: column;
height: 100vh;
background: var(--background);
}
.content-container {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.header {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: white;
padding: 15px 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header h1 {
font-size: 24px;
margin-bottom: 5px;
}
.header .subtitle {
font-size: 12px;
opacity: 0.9;
}
.spreadsheet-content {
display: flex;
flex-direction: column;
height: 100%;
}
/* Spreadsheet specific styles */
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
position: sticky;
top: 0;
}
.selected {
background-color: #e6f2ff;
outline: 2px solid #4d90fe;
}
.editing input {
width: 100%;
height: 100%;
border: none;
padding: 0;
margin: 0;
font: inherit;
}
.resizable-container {
display: flex;
flex: 1;
overflow: hidden;
}
.resizable-panel {
overflow: auto;
}
.resizable-handle {
width: 10px;
background: #f0f0f0;
cursor: col-resize;
}