2021-12-19 13:58:41 +09:00
|
|
|
@use '../../partials/text';
|
|
|
|
@use '../../partials/dir';
|
|
|
|
|
2021-07-28 22:15:52 +09:00
|
|
|
.header {
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.side(padding, var(--sp-normal), var(--sp-extra-tight));
|
2021-07-28 22:15:52 +09:00
|
|
|
width: 100%;
|
|
|
|
height: var(--header-height);
|
|
|
|
border-bottom: 1px solid var(--bg-surface-border);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__title-wrapper {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0 var(--sp-tight);
|
2021-12-19 13:58:41 +09:00
|
|
|
|
2021-07-28 22:15:52 +09:00
|
|
|
&:first-child {
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.side(margin, 0, var(--sp-tight));
|
2021-07-28 22:15:52 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
& > .text:first-child {
|
2021-12-19 13:58:41 +09:00
|
|
|
@extend .cp-txt__ellipsis;
|
2021-07-28 22:15:52 +09:00
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
& > .text-b3{
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
margin-top: var(--sp-ultra-tight);
|
2021-12-19 13:58:41 +09:00
|
|
|
@include dir.side(margin, var(--sp-tight), 0);
|
|
|
|
@include dir.side(padding, var(--sp-tight), 0);
|
|
|
|
@include dir.side(border, 1px solid var(--bg-surface-border), none);
|
|
|
|
|
2021-07-28 22:15:52 +09:00
|
|
|
max-height: calc(2 * var(--lh-b3));
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
display: -webkit-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|