mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
81fd29c11f
Summary: Add new LazyRenderedList component and updates Table to use it Test Plan: TODO Reviewers: bengotow, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2936
62 lines
1 KiB
Text
62 lines
1 KiB
Text
@import 'ui-variables';
|
|
|
|
@row-highlight-color: #e3effc;
|
|
@row-highlight-text-color: #3a6fa7;
|
|
@row-highlight-border-color: #c9dcf0;
|
|
|
|
.nylas-table {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow-y: hidden;
|
|
overflow-x: scroll;
|
|
|
|
thead, tbody {
|
|
display: block;
|
|
}
|
|
|
|
.table-row {
|
|
|
|
.table-cell {
|
|
border: 1px solid lighten(@border-color-secondary, 5%);
|
|
color: @text-color-very-subtle;
|
|
|
|
&>div {
|
|
min-height: 20px;
|
|
min-width: 100px;
|
|
}
|
|
|
|
input {
|
|
color: inherit;
|
|
border: none;
|
|
&:focus {
|
|
border: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&.selected {
|
|
// TODO
|
|
}
|
|
|
|
&.numbered-cell {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
&.selected {
|
|
background: @row-highlight-color;
|
|
|
|
.table-cell {
|
|
color: @row-highlight-text-color;
|
|
border: 1px double @row-highlight-border-color;
|
|
input {
|
|
color: @row-highlight-text-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|