Chooser.css 3 Ko
Télécharger le fichier
/* The user and furni choosers of the official client: the search box and a menu on top, a framed
table with its column heads, the number found at the foot, on the cream body of its window. */
.octane-chooser .octane-card-content-shell {
gap: 6px !important;
padding: 8px 6px 7px !important;
background: #e9e9e1 !important;
}
.octane-chooser-bar {
display: flex;
flex: none;
gap: 8px;
align-items: center;
}
.octane-chooser-bar input[type='text'] {
box-sizing: border-box;
width: 100%;
height: 25px;
padding: 0 22px 0 6px;
border: 1px solid #919191 !important;
border-radius: 4px !important;
background: #ffffff !important;
box-shadow: none !important;
color: #000000;
font-size: 12px;
}
.octane-chooser-bar input[type='text']::placeholder {
color: #aaaaaa;
}
/* The menu: a white box with a black outline and, at its right, a square holding the arrow. */
.octane-chooser-filter {
flex: none;
box-sizing: border-box;
width: 100px;
height: 25px;
padding: 0 28px 0 6px;
border: 1px solid #000000;
border-radius: 4px;
appearance: none;
background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='23' viewBox='0 0 24 23'%3E%3Cpath d='M0 0v23' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M6 8h12l-6 8z' fill='%23000'/%3E%3C/svg%3E") no-repeat right center;
color: #000000;
font-size: 12px;
text-overflow: ellipsis;
cursor: pointer;
}
.octane-chooser-filter:disabled {
border-color: #919191;
color: #919191;
cursor: default;
}
.octane-chooser-filter-wide {
width: 137px;
}
.octane-chooser-clear {
position: absolute;
top: 50%;
right: 4px;
width: 18px;
height: 18px;
padding: 0;
transform: translateY(-50%);
border: 0;
background: transparent;
color: #666666;
font-size: 16px;
line-height: 16px;
cursor: pointer;
}
.octane-chooser-clear:hover {
color: #000000;
}
.octane-chooser-table {
display: flex;
flex: 1 1 0;
flex-direction: column;
min-height: 0;
padding: 4px;
border: 1px solid #000000;
border-radius: 6px;
background: #ffffff;
overflow: hidden;
}
.octane-chooser-body {
flex: 1 1 0;
min-height: 0;
}
.octane-chooser-row {
display: flex;
align-items: center;
gap: 4px;
height: 20px;
padding: 0 6px;
color: #000000;
font-size: 12px;
}
.octane-chooser-head {
flex: none;
height: 24px;
margin-bottom: 2px;
border-bottom: 1px solid #c8c8c8;
font-weight: 700;
}
.octane-chooser-item {
cursor: pointer;
}
.octane-chooser-item:nth-child(odd) {
background: #e9e9e9;
}
.octane-chooser-item.is-selected {
background: #c9dfea;
}
.octane-chooser-cell {
flex: none;
min-width: 0;
}
.octane-chooser-cell.grow {
flex: 1 1 0;
}
.octane-chooser-check {
flex: none;
}
.octane-chooser-amount {
flex: none;
padding-left: 2px;
color: #8c8c8c;
font-size: 12px;
}
