phanpy/src/pages/status.css

71 lines
1.3 KiB
CSS
Raw Normal View History

2024-01-16 15:45:57 +08:00
.status-deck {
header {
white-space: nowrap;
}
header h1 {
min-width: 0;
flex-grow: 1;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
align-self: stretch;
}
header h1 .deck-back {
2024-08-04 13:32:30 +08:00
margin-inline-start: -16px;
2024-01-16 15:45:57 +08:00
}
.button-refresh .icon {
animation: spin 1s linear;
}
.button-refresh:is(:hover, :focus) .icon {
transition: transform 1s linear;
transform: rotate(360deg);
}
}
.hero-heading {
2023-03-08 17:17:23 +08:00
font-size: var(--text-size);
display: inline-block;
}
2022-12-29 11:47:10 +08:00
.hero-heading .icon {
vertical-align: middle;
color: var(--text-insignificant-color);
}
.hero-heading .insignificant {
font-weight: normal;
}
.ancestors-indicator {
font-size: 70% !important;
2023-10-19 01:13:37 +08:00
2023-10-20 22:10:55 +08:00
& > .avatar ~ .avatar {
2024-08-04 13:32:30 +08:00
margin-inline-start: -4px;
2023-10-19 01:13:37 +08:00
}
}
2023-09-12 11:22:01 +08:00
.ancestors-indicator:not([hidden]) {
animation: slide-up-smooth 0.3s both var(--spring-timing-funtion) 0.3s;
2023-09-12 11:22:01 +08:00
}
.ancestors-indicator[hidden] {
opacity: 0;
pointer-events: none;
}
2023-02-19 14:49:53 +08:00
.post-status-banner {
position: sticky;
2023-02-18 01:28:10 +08:00
bottom: 16px;
bottom: max(16px, env(safe-area-inset-bottom));
font-size: 90%;
2023-02-19 14:49:53 +08:00
background-color: var(--bg-faded-color);
padding: 16px;
2023-02-19 14:49:53 +08:00
margin: 0 16px;
2023-02-18 01:28:10 +08:00
border-radius: 16px;
white-space: pre-wrap;
line-height: 1.2;
2023-02-18 01:28:10 +08:00
max-width: var(--main-width);
z-index: 1;
}
2023-02-19 14:49:53 +08:00
.post-status-banner > p:first-of-type {
margin-top: 0;
padding-top: 0;
}