Files
seedit/src/components/post/post.module.css
2024-07-06 09:21:49 +02:00

256 lines
3.9 KiB
CSS

.content {
display: flex;
flex-direction: column;
padding-bottom: 8px;
}
.row {
display: flex;
align-items: flex-start;
}
.leftcol {
flex-shrink: 0;
}
.midcol {
width: 37px;
font-weight: bold;
font-size: small;
float: left;
padding-right: 7px;
background: transparent;
overflow: hidden;
}
.arrowWrapper {
padding-left: 11px;
padding-top: 2px;
}
.arrowCommon {
width: 15px;
height: 14px;
display: block;
cursor: pointer;
}
.arrowUp {
background-image: url("/public/assets/buttons/arrow-up.png");
}
.upvoted {
background-image: url("/public/assets/buttons/arrow-upvoted.png") !important;
}
.arrowDown {
background-image: url("/public/assets/buttons/arrow-down.png");
}
.downvoted {
background-image: url("/public/assets/buttons/arrow-downvoted.png") !important;
}
.score {
text-align: center;
color: var(--icon);
}
.entry {
flex-grow: 1;
overflow: visible;
padding: 0;
overflow: hidden;
}
.title {
font-size: 16px;
font-weight: normal;
}
.blur {
filter: blur(4px);
}
.link {
text-decoration: none;
color: var(--link);
}
.link:visited {
color: var(--link-visited);
}
.internalLink {
color: var(--link);
text-decoration: none;
}
.internalLink:visited {
color: var(--link);
}
.externalLink {
color: var(--link);
text-decoration: none;
}
.externalLink:visited {
color: var(--link-visited);
}
.pinnedLink {
color: var(--green) !important;
font-weight: bold !important;
}
.announcement {
color: var(--green) !important;
}
.domain {
color: var(--text-info);
font-size: 10px;
white-space: nowrap;
vertical-align: middle;
display: inline-block;
padding-bottom: 2px;
}
.domain a {
color: var(--text-info);
display: inline-block;
overflow: hidden;
white-space: nowrap;
vertical-align: middle;
text-decoration: none;
}
.domain a:hover {
text-decoration: underline;
}
.tagline a {
color: var(--text-primary);
text-decoration: none;
}
.timeEdit {
text-transform: lowercase;
font-style: italic;
}
.subplebbit:hover, .author:hover span {
text-decoration: underline;
}
.authorAddressWrapper {
display: inline-block;
overflow-x: clip;
}
/* use the crypto name as the width of the html element, but hide it and display the verified author address instead */
.authorAddressHidden {
visibility: hidden;
user-select: none;
}
.authorAddressVisible {
float: left;
width: 0;
/* sometimes the text wraps with float left */
white-space: nowrap;
}
@keyframes authorAddressChangedAnimation {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.authorAddressChanged {
animation-name: authorAddressChangedAnimation;
animation-duration: 0.2s;
animation-timing-function: ease-out;
animation-delay: 0s;
animation-iteration-count: 1;
}
.moderator, .admin, .owner {
color: var(--green) !important;
}
.displayName {
color: var(--text-primary);
}
.hidden {
display: none;
}
.visible {
display: block;
}
.hiddenPost {
overflow: hidden;
border: 1px dashed var(--gray-light);
padding: 12px 16px;
}
.hiddenPostText {
font-size: 14px;
color: var(--text)
}
.undoHiddenPost {
display: inline-block;
color: #888;
font-weight: bold;
font-size: 10px;
cursor: pointer;
}
.lastClicked {
border: 1px dashed gray;
}
.subscribeButton {
position: absolute;
border: none;
background: none;
background-repeat: no-repeat;
height: 12px;
width: 12px;
background-size: 12px;
}
.buttonSubscribe {
background-image: url("/public/assets/buttons/all_feed_subscribe.png");
cursor: pointer;
}
.buttonSubscribe:hover {
background-image: url("/public/assets/buttons/all_feed_subscribe_hover.png");
cursor: pointer;
}
.buttonSubscribed {
background-image: url("/public/assets/buttons/all_feed_subscribed.png");
}
.greenSubplebbitAddress {
color: var(--green-bright) !important;
}
.subscribeButtonWrapper:hover + .subplebbit {
color: var(--green-bright) !important;
}
.subscribeButtonWrapper {
padding-right: 14px;
}