.hero-widget {
margin-bottom: 10px;
box-shadow: 0 0 15px var(--base-shadow-color-a20);
&__img {
width: 100%;
position: relative;
overflow: hidden;
border-radius: 4px 4px 0 0;
background: var(--base-shadow-color);
img {
object-fit: cover;
display: block;
width: 100%;
height: 100%;
margin: 0;
border-radius: 4px 4px 0 0;
}
}
&__text {
background: var(--ui-base-color);
padding: 20px;
border-radius: 0 0 4px 4px;
font-size: 15px;
color: var(--darker-text-color);
line-height: 20px;
word-wrap: break-word;
font-weight: 400;
.emojione {
width: 20px;
height: 20px;
margin: -3px 0 0;
}
p {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
em {
display: inline;
margin: 0;
padding: 0;
font-weight: 700;
background: transparent;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: var(--darker-text-color-lighten-10);
}
a {
color: var(--secondary-text-color);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
@media screen and (max-width: 1175px) {
display: none;
}
}
.endorsements-widget {
margin-bottom: 10px;
padding-bottom: 10px;
h4 {
padding: 10px;
text-transform: uppercase;
font-weight: 700;
font-size: 13px;
color: var(--darker-text-color);
}
.account {
padding: 10px 0;
&:last-child {
border-bottom: 0;
}
.account__display-name {
display: flex;
align-items: center;
}
}
.trends__item {
padding: 10px;
}
}
.trends-widget {
h4 {
color: var(--darker-text-color);
}
}
.placeholder-widget {
padding: 16px;
border-radius: 4px;
border: 2px dashed var(--dark-text-color);
text-align: center;
color: var(--darker-text-color);
margin-bottom: 10px;
}
.moved-account-widget {
padding: 15px;
padding-bottom: 20px;
border-radius: 4px;
background: var(--ui-base-color);
box-shadow: 0 0 15px var(--base-shadow-color-a20);
color: var(--secondary-text-color);
font-weight: 400;
margin-bottom: 10px;
strong,
a {
font-weight: 500;
&:is(:lang(ja), :lang(ko), :lang(zh-CN), :lang(zh-HK), :lang(zh-TW)) {
font-weight: 700;
}
}
a {
color: inherit;
text-decoration: underline;
&.mention {
text-decoration: none;
span {
text-decoration: none;
}
&:focus,
&:hover,
&:active {
text-decoration: none;
span {
text-decoration: underline;
}
}
}
}
&__message {
margin-bottom: 15px;
.fa {
margin-inline-end: 5px;
color: var(--darker-text-color);
}
}
&__card {
.detailed-status__display-avatar {
position: relative;
cursor: pointer;
}
.detailed-status__display-name {
margin-bottom: 0;
text-decoration: none;
span {
font-weight: 400;
}
}
}
}
.memoriam-widget {
padding: 20px;
border-radius: 4px;
background: var(--base-shadow-color);
box-shadow: 0 0 15px var(--base-shadow-color-a20);
font-size: 14px;
color: var(--darker-text-color);
margin-bottom: 10px;
}
.directory {
background: var(--ui-base-color);
border-radius: 4px;
box-shadow: 0 0 15px var(--base-shadow-color-a20);
&__tag {
box-sizing: border-box;
margin-bottom: 10px;
& > a,
& > div {
display: flex;
align-items: center;
justify-content: space-between;
background: var(--ui-base-color);
border-radius: 4px;
padding: 15px;
text-decoration: none;
color: inherit;
box-shadow: 0 0 15px var(--base-shadow-color-a20);
}
& > a {
&:hover,
&:active,
&:focus {
background: var(--ui-base-color-lighten-8);
}
}
&.active > a {
background: var(--ui-highlight-color);
cursor: default;
}
&.disabled > div {
opacity: 0.5;
cursor: default;
}
h4 {
flex: 1 1 auto;
font-size: 18px;
font-weight: 700;
color: var(--primary-text-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
.fa {
color: var(--darker-text-color);
}
small {
display: block;
font-weight: 400;
font-size: 15px;
margin-top: 8px;
color: var(--darker-text-color);
}
}
&.active h4 {
&,
.fa,
small {
color: var(--primary-text-color);
}
}
.avatar-stack {
flex: 0 0 auto;
width: 120px;
}
&.active .avatar-stack .account__avatar {
border-color: var(--ui-highlight-color);
}
}
}
.accounts-table {
width: 100%;
.account {
padding: 0;
border: 0;
}
strong {
font-weight: 700;
}
thead th {
text-align: center;
text-transform: uppercase;
color: var(--darker-text-color);
font-weight: 700;
padding: 10px;
&:first-child {
text-align: start;
}
}
tbody td {
padding: 15px 0;
vertical-align: middle;
border-bottom: 1px solid var(--ui-base-color-lighten-8);
}
tbody tr:last-child td {
border-bottom: 0;
}
&__count {
width: 120px;
text-align: center;
font-size: 15px;
font-weight: 500;
color: var(--primary-text-color);
small {
display: block;
color: var(--darker-text-color);
font-weight: 400;
font-size: 14px;
}
}
tbody td.accounts-table__extra {
width: 120px;
text-align: end;
color: var(--darker-text-color);
padding-inline-end: 16px;
a {
text-decoration: none;
color: inherit;
&:focus,
&:hover,
&:active {
text-decoration: underline;
}
}
}
&__comment {
width: 50%;
vertical-align: initial !important;
}
&__interrelationships {
width: 21px;
}
.fa {
font-size: 16px;
&.active {
color: var(--highlight-text-color);
}
&.passive {
color: var(--passive-text-color);
}
&.active.passive {
color: var(--active-passive-text-color);
}
}
@media screen and (max-width: 1175px) {
tbody td.optional {
display: none;
}
}
}
.moved-account-widget,
.memoriam-widget,
.directory {
@media screen and (max-width: 1175px) {
margin-bottom: 0;
box-shadow: none;
border-radius: 0;
}
}
.placeholder-widget {
a {
text-decoration: none;
font-weight: 500;
color: var(--ui-highlight-color);
&:hover,
&:focus,
&:active {
text-decoration: underline;
}
}
}