2025-01-13 22:32:39 +02:00
|
|
|
@import "../../mixins";
|
|
|
|
|
/* stylelint-disable declaration-no-important */
|
|
|
|
|
|
2025-01-14 19:43:47 +02:00
|
|
|
.quick-action {
|
2025-01-26 22:51:11 +02:00
|
|
|
display: flex;
|
2025-01-18 21:44:46 +02:00
|
|
|
align-items: center;
|
|
|
|
|
height: 1.5em;
|
2025-01-14 19:43:47 +02:00
|
|
|
|
2025-01-18 19:44:12 +02:00
|
|
|
.action-counter {
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
2025-01-26 22:51:11 +02:00
|
|
|
margin-left: 1em;
|
2025-01-18 19:44:12 +02:00
|
|
|
}
|
|
|
|
|
|
2025-01-14 19:43:47 +02:00
|
|
|
.action-button-inner,
|
|
|
|
|
.extra-button {
|
|
|
|
|
margin: -0.5em;
|
|
|
|
|
padding: 0.5em;
|
2025-01-14 01:42:36 +02:00
|
|
|
}
|
|
|
|
|
|
2025-01-15 02:27:32 +02:00
|
|
|
.separator {
|
2025-01-18 21:44:46 +02:00
|
|
|
display: block;
|
|
|
|
|
align-self: stretch;
|
|
|
|
|
width: 1px;
|
|
|
|
|
background-color: var(--icon);
|
2025-01-26 22:51:11 +02:00
|
|
|
margin-left: 1em;
|
2025-01-18 21:44:46 +02:00
|
|
|
margin-right: 0.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.-pin {
|
|
|
|
|
margin: calc(-2px - 0.25em);
|
|
|
|
|
padding: 0.25em;
|
|
|
|
|
border: 2px dashed var(--icon);
|
|
|
|
|
border-radius: var(--roundness);
|
|
|
|
|
grid-template-columns: minmax(max-content, 1fr) auto;
|
2025-01-15 02:27:32 +02:00
|
|
|
|
2025-01-18 21:44:46 +02:00
|
|
|
.extra-button,
|
|
|
|
|
.separator {
|
|
|
|
|
display: none;
|
2025-01-15 02:27:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-14 19:43:47 +02:00
|
|
|
.action-button-inner {
|
2025-01-13 22:32:39 +02:00
|
|
|
display: grid;
|
|
|
|
|
grid-gap: 1em;
|
2025-01-26 22:51:11 +02:00
|
|
|
grid-template-columns: max-content;
|
2025-01-14 19:43:47 +02:00
|
|
|
grid-auto-flow: column;
|
|
|
|
|
grid-auto-columns: max-content;
|
2025-01-13 22:32:39 +02:00
|
|
|
align-items: center;
|
|
|
|
|
}
|
2025-01-14 19:43:47 +02:00
|
|
|
}
|
2025-01-13 22:32:39 +02:00
|
|
|
|
2025-01-14 19:43:47 +02:00
|
|
|
.action-button {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-auto-flow: column;
|
2025-01-18 21:44:46 +02:00
|
|
|
align-items: center;
|
2025-01-14 19:43:47 +02:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
.action-button-inner {
|
|
|
|
|
&:hover,
|
|
|
|
|
&.-active {
|
|
|
|
|
&.reply-button:not(.disabled) {
|
|
|
|
|
.svg-inline--fa {
|
|
|
|
|
color: var(--cBlue);
|
|
|
|
|
}
|
2025-01-13 22:32:39 +02:00
|
|
|
}
|
|
|
|
|
|
2025-01-14 19:43:47 +02:00
|
|
|
&.retweet-button:not(.disabled) {
|
|
|
|
|
.svg-inline--fa {
|
|
|
|
|
color: var(--cGreen);
|
|
|
|
|
}
|
2025-01-13 22:32:39 +02:00
|
|
|
}
|
|
|
|
|
|
2025-01-14 19:43:47 +02:00
|
|
|
&.favorite-button:not(.disabled) {
|
|
|
|
|
.svg-inline--fa {
|
|
|
|
|
color: var(--cOrange);
|
|
|
|
|
}
|
2025-01-13 22:32:39 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include unfocused-style {
|
|
|
|
|
.focus-marker {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.active-marker {
|
|
|
|
|
visibility: visible;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include focused-style {
|
|
|
|
|
.focus-marker {
|
|
|
|
|
visibility: visible;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.active-marker {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|