@x47base/ch-finance-engine
Version:
This package is an finance and accounting engine specificly made based on the swiss system.
54 lines (47 loc) • 999 B
CSS
.account-input {
position: relative;
width: 100%;
max-width: 400px;
margin: 0 auto;
}
.account-input input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
box-sizing: border-box;
}
.account-options {
position: absolute;
width: 100%;
max-height: 200px;
overflow-y: auto;
background-color: #fff;
border: 1px solid #ccc;
border-top: none;
border-radius: 0 0 4px 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 1000;
box-sizing: border-box;
}
.account-options li {
padding: 10px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.account-options li.selected {
background-color: #f0f0f0;
}
.account-options li:hover {
background-color: #e0e0e0;
}
.account-name {
font-weight: bold;
}
.account-code {
font-size: 12px;
color: #888;
}