2021-05-17 20:34:14 +00:00
|
|
|
@import '../variables.less';
|
|
|
|
@import '../mixins.less';
|
|
|
|
|
|
|
|
.citizen-typeahead {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 101;
|
|
|
|
top: 100%;
|
|
|
|
display: none;
|
2021-05-17 21:58:48 +00:00
|
|
|
overflow: auto;
|
2021-05-17 20:34:14 +00:00
|
|
|
width: 100%;
|
2021-05-17 21:58:48 +00:00
|
|
|
max-height: ~'calc( 100vh - var( --height-header ) )';
|
2021-05-17 20:34:14 +00:00
|
|
|
box-sizing: border-box;
|
2022-04-28 19:18:41 +00:00
|
|
|
padding-top: 12px;
|
|
|
|
margin-top: -12px;
|
|
|
|
//border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium );
|
|
|
|
.citizen-card;
|
2021-05-17 20:34:14 +00:00
|
|
|
|
|
|
|
&-suggestion {
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
|
|
|
|
&__thumbnail {
|
|
|
|
overflow: hidden;
|
|
|
|
height: 60px;
|
2021-08-31 17:13:49 +00:00
|
|
|
background-color: #eaecf0;
|
2022-04-28 19:18:41 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
2021-05-17 20:34:14 +00:00
|
|
|
|
|
|
|
img,
|
|
|
|
source {
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
&__highlight {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__description {
|
|
|
|
margin-top: 0.1rem;
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title,
|
|
|
|
&__description {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-footer {
|
2021-05-27 14:35:21 +00:00
|
|
|
padding-top: var( --border-radius--large );
|
|
|
|
padding-bottom: var( --border-radius--large );
|
2021-05-17 20:34:14 +00:00
|
|
|
border-top: 1px solid var( --border-color-base );
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: 0 0 var( --border-radius--large ) var( --border-radius--large );
|
2021-05-17 20:34:14 +00:00
|
|
|
font-size: @content-monospace-size;
|
|
|
|
font-weight: 450;
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
height: var( --size-icon );
|
|
|
|
}
|
2021-05-17 21:55:52 +00:00
|
|
|
|
2021-05-17 21:55:00 +00:00
|
|
|
&__text {
|
|
|
|
strong {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
}
|
2021-05-17 20:34:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-option {
|
|
|
|
&--active {
|
|
|
|
background-color: var( --background-color-primary--hover );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-right: 12px;
|
|
|
|
padding-left: 12px;
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
picture {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 70px;
|
|
|
|
margin-right: 12px;
|
|
|
|
|
|
|
|
img,
|
|
|
|
source {
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--expanded {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Use to hide rounded corner from searchbox
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
width: var( --width-search-bar );
|
2021-05-27 14:35:21 +00:00
|
|
|
height: var( --border-radius--small );
|
2021-05-27 15:08:33 +00:00
|
|
|
margin-top: ~'calc( var( --border-radius--small ) * -1 )';
|
2021-05-17 20:34:14 +00:00
|
|
|
margin-left: -1px;
|
2021-07-25 23:16:05 +00:00
|
|
|
background: var( --color-surface-1 );
|
2021-05-17 20:34:14 +00:00
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|