2020-06-02 19:11:01 -07:00
|
|
|
.wtf-panel {
|
2021-10-15 09:07:47 -07:00
|
|
|
@include standard-panel;
|
2020-06-02 19:11:01 -07:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: column;
|
|
|
|
height: auto;
|
|
|
|
box-sizing: border-box;
|
2021-10-15 09:07:47 -07:00
|
|
|
|
|
|
|
@media screen and (max-width: 580px) {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2020-06-02 19:11:01 -07:00
|
|
|
|
2020-08-08 22:29:28 -07:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2020-06-02 19:11:01 -07:00
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wtf-panel-header {
|
|
|
|
display: flex;
|
2021-09-26 22:00:03 -07:00
|
|
|
align-items: center;
|
2020-06-02 19:11:01 -07:00
|
|
|
margin-bottom: 10px;
|
|
|
|
padding: 15px 15px 0;
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
margin-right: 10px;
|
2021-09-26 21:28:45 -07:00
|
|
|
font-size: 20px;
|
2021-09-26 22:00:03 -07:00
|
|
|
|
|
|
|
&.svg-icon {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
flex: 1 1;
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 19px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__list {
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
display: block;
|
|
|
|
padding: 0 15px;
|
2020-06-06 20:55:00 -07:00
|
|
|
color: var(--primary-text-color--faint);
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&__form {
|
|
|
|
display: block;
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
&.button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wtf-panel-list-item {
|
|
|
|
display: block;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
2020-06-06 20:55:00 -07:00
|
|
|
border-bottom: 1px solid var(--brand-color--med);
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
min-height: 46px;
|
|
|
|
margin-left: 58px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__account-block {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
align-items: baseline;
|
|
|
|
padding-right: 10px;
|
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
&__avatar {
|
|
|
|
height: 46px;
|
|
|
|
width: 46px;
|
|
|
|
background-color: #f00;
|
|
|
|
left: -58px;
|
|
|
|
position: absolute;
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
&__name {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 6px;
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 16px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
max-height: 32px; //2 lines of text
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__username {
|
|
|
|
color: var(--highlight-text-color);
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
&__follow-block {
|
|
|
|
margin-left: auto;
|
|
|
|
padding-top: 6px;
|
2020-06-02 19:11:01 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
&__button {
|
|
|
|
display: flex;
|
|
|
|
}
|
2020-06-02 19:11:01 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
&__icon {
|
|
|
|
color: var(--primary-text-color);
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-06-10 10:56:27 -07:00
|
|
|
|
|
|
|
&__expand-btn {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-height: 46px;
|
|
|
|
position: relative;
|
|
|
|
border-top: 1px solid;
|
|
|
|
border-color: var(--brand-color--faint);
|
|
|
|
transition: max-height 150ms ease;
|
|
|
|
overflow: hidden;
|
|
|
|
opacity: 1;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 46px;
|
|
|
|
font-size: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--primary-text-color);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2021-07-26 12:25:55 -07:00
|
|
|
|
|
|
|
&__menu {
|
|
|
|
margin-left: auto;
|
2021-12-14 10:48:18 -08:00
|
|
|
|
|
|
|
> div {
|
|
|
|
height: 18px;
|
|
|
|
}
|
2021-07-26 12:25:55 -07:00
|
|
|
}
|
2020-06-02 19:11:01 -07:00
|
|
|
}
|
2021-10-15 09:07:47 -07:00
|
|
|
|
2021-10-15 20:05:59 -07:00
|
|
|
.column .sub-navigation ~ .wtf-panel {
|
2021-10-15 09:07:47 -07:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|