Newer
Older
Steven Dale
committed
display: flex;
Steven Dale
committed
}
.modal-header {
width: 100%;
Steven Dale
committed
padding: 0.5rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1.5rem;
font-weight: normal;
color: #8e8f95;
.full-modal-header {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
align-content: center;
box-sizing: border-box;
width: 100%;
background-color: $blue;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1rem;
font-weight: normal;
}
.modal-header-item {
display: flex;
align-items: center;
cursor: pointer;
text-decoration: none;
color: white;
user-select: none;
}
/*
Modal header has 3 items:
|filter title x|
Use the same width for both side item containers,
so that title remains centered
*/
$sides: 20rem;
.header-item-filter {
justify-content: flex-end;
}
.header-item-title {
flex-grow: 1;
/* @todo: make filter component */
.filter-component {
display: flex;
flex-direction: row;
align-content: center;
align-items: center;
padding: $space;
background: rgba(0, 0, 0, 0.10);
border: 1px solid rgba(255, 255, 255, 0.10);
cursor: initial;
}
.filter-icon {
height: 1rem;
width: 1rem;
margin: 0 0.5rem 0 0.75rem;
cursor: initial;
}
.x-icon {
position: relative;
margin: 0 0.75rem 0 0.5rem;
}
.x-icon:hover:before {
position: absolute;
height: 1.25rem;
width: 1.25rem;
background: rgba(255, 255, 255, 0.10);
}
.filter-input {
flex-grow: 1;
line-height: 1.25rem;
background-color: transparent;
font-size: 0.75rem;
letter-spacing: 0.15px;
cursor: text;
}
.filter-input::placeholder {
color: white;
opacity: 0.75;
font-size: 0.75rem;
letter-spacing: 0.15px;
padding: 0 0 0 0.25rem;