Files
5chan/src/components/post/post.module.css
T

436 lines
8.7 KiB
CSS
Raw Normal View History

2024-03-22 15:31:02 +01:00
.thread {
clear: both;
}
2024-03-28 12:41:40 +01:00
.hrWrapper hr {
margin: 0; /* margin bugs Virtuoso scrolling */
}
.postDesktop .hrWrapper {
2024-03-28 12:41:40 +01:00
padding: 0.5em 0; /* instead of using margin, wrap with padding */
}
.hideButtonWrapper {
2024-03-29 13:54:11 +01:00
padding-right: 5px;
float: left;
}
.postDesktop .hideButton {
2024-03-29 13:54:11 +01:00
background-repeat: no-repeat;
background-position: center;
width: 18px;
height: 18px;
display: inline-block;
image-rendering: pixelated;
cursor: pointer;
transform: translateY(-1px);
2024-03-29 13:54:11 +01:00
}
/* clearfix to contain float elements */
2024-03-30 15:07:06 +01:00
.postDesktop::after {
content: "";
display: table;
clear: both;
}
2024-03-29 13:54:11 +01:00
.postDesktop .hideThread {
background-image: var(--post-hide-button-background-image);
}
.postDesktop .unhideThread {
background-image: var(--post-unhide-button-background-image);
}
.postDesktop .fileText a {
color: var(--post-link-text-color);
text-decoration: var(--post-link-text-decoration);
}
2024-03-29 13:54:11 +01:00
.postDesktop .fileText a:hover {
color: var(--post-link-text-color-hover);
text-decoration: var(--post-link-text-decoration-hover);
}
.postDesktop .postInfo {
padding-top: 3px;
width: 100%;
}
2024-03-30 18:10:19 +01:00
.postDesktop .checkbox, .replyDesktop .checkbox {
padding: 3px 7px 3px 4px;
filter: var(--filter80);
2024-03-30 18:10:19 +01:00
}
.postDesktop .subject {
color: var(--post-subject-text-color);
font-weight: var(--post-subject-font-weight);
}
2024-03-30 18:10:19 +01:00
.postDesktop .name, .replyDesktop .name {
color: var(--post-name-text-color);
font-weight: var(--post-name-font-weight);
}
2024-03-30 18:10:19 +01:00
.postDesktop .postNumLink a, .postDesktop .postNumLink span, .replyDesktop .postNumLink a, .replyDesktop .postNumLink span {
color: unset;
text-decoration: unset;
}
2024-03-30 18:10:19 +01:00
.postDesktop .postNumLink a:hover, .postDesktop .postNumLink span:hover, .replyDesktop .postNumLink a:hover, .replyDesktop .postNumLink span:hover {
cursor: pointer;
color: var(--button-desktop-text-color-hover);
}
2024-03-30 18:10:19 +01:00
.postDesktop .stickyIconWrapper, .replyDesktop .stickyIconWrapper {
padding-left: 5px;
2024-04-13 16:35:52 +02:00
padding-right: 10px;
}
.postDesktop .closedIconWrapper {
2024-04-13 16:35:52 +02:00
padding-left: 5px;
padding-right: 10px;
}
2024-04-13 16:35:52 +02:00
.postDesktop .addPaddingInBetween {
padding-left: 8px;
}
.stickyIconWrapper img, .closedIconWrapper img {
position: absolute;
width: 16px;
height: 16px;
image-rendering: pixelated;
}
2024-04-13 16:35:52 +02:00
.postDesktop .addPaddingBeforeReply {
padding-right: 15px;
}
2024-04-01 14:24:10 +02:00
.postDesktop .closeMedia {
color: var(--button-desktop-text-color);
text-decoration: underline;
text-transform: capitalize;
}
.postDesktop .closeMedia:hover {
cursor: pointer;
color: var(--button-desktop-text-color-hover);
}
.postDesktop .replyButton {
padding-left: 10px;
}
.postDesktop .replyButton a {
color: var(--button-desktop-text-color);
text-decoration: var(--button-desktop-text-decoration);
text-transform: capitalize;
}
.postDesktop .replyButton a:hover {
cursor: pointer;
color: var(--button-desktop-text-color-hover);
}
2024-04-13 16:35:52 +02:00
.postMenuBtnWrapper {
position: relative;
padding-left: 5px;
2024-04-13 16:35:52 +02:00
}
.replyDesktop .postMenuBtnWrapper {
padding-right: 12px;
}
.replyDesktop .stickyIconWrapper {
padding-right: 18px;
}
.postDesktop .postMenuBtn, .replyDesktop .postMenuBtn {
color: var(--post-menu-button-color);
2024-04-13 16:35:52 +02:00
transition: transform 0.1s;
position: absolute;
}
.replyDesktop .postMenuBtn {
right: -2px;
}
2024-03-30 18:10:19 +01:00
.postDesktop .postMenuBtn:hover, .replyDesktop .postMenuBtn:hover {
cursor: pointer;
color: var(--post-menu-button-color-hover);
}
.postDesktop .spacer {
width: 100%;
padding: 5px;
}
2024-03-30 18:10:19 +01:00
.postDesktop .postMessage, .replyDesktop .postMessage {
2024-03-26 16:58:39 +01:00
padding: 1em 40px;
}
.postDesktop .abbr {
color: var(--post-mobile-abbr-text-color);
font-size: var(--post-mobile-abbr-font-size);
}
.postDesktop .abbr a {
color: var(--post-link-text-color);
text-decoration: var(--post-content-link-text-decoration);
}
.postDesktop .abbr a:hover {
color: var(--post-link-text-color-hover);
text-decoration: var(--post-content-link-text-decoration-hover);
}
.postDesktop .summary {
padding-top: 10px;
padding-left: 23px;
position: relative;
color: var(--post-mobile-abbr-text-color);
}
.postDesktop .summary .expandButtonWrapper {
position: absolute;
top: 8px;
left: 2px;
}
.postDesktop .summary .expandButton {
background-image: var(--post-replies-expand-button-background-image);
background-repeat: no-repeat;
background-position: center;
width: 18px;
height: 18px;
display: inline-block;
image-rendering: pixelated;
cursor: pointer;
}
.postDesktop .summary a {
color: var(--post-link-text-color);
text-decoration: var(--post-content-link-text-decoration);
}
.postDesktop .summary a:hover {
color: var(--post-link-text-color-hover);
text-decoration: var(--post-content-link-text-decoration-hover);
}
/* clearfix to contain float elements */
.postMobile .postOp::after {
content: "";
display: table;
clear: both;
}
.postMobile hr {
padding-bottom: 30px;
}
.postMobile .thread {
border-top: none;
margin: 0;
clear: both;
2024-03-28 12:41:40 +01:00
padding-bottom: 30px;
}
.postMobile .postContainer {
background-color: var(--post-mobile-background-color);
}
.postMobile .postOp {
display: inline;
}
.postMobile .postInfo {
overflow: hidden;
border-bottom: var(--post-mobile-info-border-bottom);
2024-04-03 16:24:57 +02:00
border-top: var(--post-mobile-info-border-top);
2024-03-28 12:41:40 +01:00
background-color: var(--post-mobile-info-background-color);
2024-04-03 16:24:57 +02:00
color: var(--post-mobile-info-text-color);
2024-03-28 12:41:40 +01:00
padding: 5px;
clear: left;
}
.postMobile .postMenuBtn {
color: var(--post-mobile-menu-button-color);
line-height: 1em;
2024-03-30 22:19:49 +01:00
width: 1em;
2024-03-28 12:41:40 +01:00
text-align: center;
transition: transform 0.1s;
transform: rotate(90deg);
-webkit-transform: rotate(90deg);
float: left;
font-weight: 700;
font-size: 16px;
height: 100%;
}
.postMobile .nameBlock {
clear: none;
}
.postMobile .nameBlock .name {
color: var(--post-mobile-name-text-color);
font-weight: var(--post-mobile-name-font-weight);
}
2024-04-13 16:35:52 +02:00
.postMobile .stickyIconWrapper {
padding: 0 5px;
}
.postMobile .closedIconWrapper {
padding: 0 5px;
}
.postMobile .addPaddingInBetween {
padding: 0 13px;
}
2024-03-28 12:41:40 +01:00
.postMobile .nameBlock .subject {
color: var(--post-mobile-subject-text-color);
font-weight: var(--post-mobile-subject-font-weight);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.postMobile .dateTimePostNum {
display: block;
text-align: right;
}
.postMobile .postMessage {
padding: 10px;
font-size: var(--post-mobile-content-font-size);
2024-03-28 12:41:40 +01:00
}
.postMobile .postLink {
clear: both;
background-color: var(--post-mobile-link-background-color);
border-top: var(--post-mobile-link-border-top);
padding: 5px;
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
}
.postMobile .postLink .info {
color: var(--post-mobile-link-info-text-color);
}
.postMobile .abbr {
color: var(--post-mobile-abbr-text-color);
font-size: var(--post-mobile-abbr-font-size);
}
.postMobile .abbr a {
color: var(--post-link-text-color);
text-decoration: var(--post-content-link-text-decoration);
}
.postMobile .abbr a:hover {
color: var(--post-link-text-color-hover);
text-decoration: var(--post-content-link-text-decoration-hover);
}
2024-03-30 18:10:19 +01:00
.replyDesktop {
padding-bottom: 4px;
}
.replyDesktop .sideArrows {
color: var(--side-arrows-color);
float: left;
padding: 0 2px;
}
.replyDesktop .reply {
2024-03-30 22:19:49 +01:00
background-color: var(--reply-desktop-background-color);
border: var(--reply-desktop-border);
2024-03-30 18:10:19 +01:00
border-left: none;
border-top: none;
display: table;
padding: 2px;
}
.replyDesktop .postInfo {
padding: 3px 3px 0 0;
}
2024-04-03 16:24:57 +02:00
.quoteLink {
color: var(--post-quotelink-text-color);
text-decoration: var(--post-quotelink-text-decoration);
}
.quoteLink:hover {
color: var(--post-quotelink-text-color-hover);
text-decoration: var(--post-quotelink-text-decoration-hover);
}
2024-03-30 22:19:49 +01:00
.replyMobile {
padding-top: 7px;
}
.replyMobile .replyContainer {
2024-03-30 22:19:49 +01:00
background-color: var(--post-mobile-background-color);
2024-04-03 16:24:57 +02:00
border-bottom: var(--post-mobile-border-bottom);
2024-03-30 22:19:49 +01:00
}
/* clearfix to contain float elements */
2024-04-02 12:59:33 +02:00
.replyMobile .replyContainer::after {
content: "";
display: table;
clear: both;
}
2024-03-30 22:19:49 +01:00
.replyMobile .postInfo {
padding: 5px;
2024-04-03 16:24:57 +02:00
border-top: var(--post-mobile-info-border-top);
2024-03-30 22:19:49 +01:00
border-bottom: var(--post-mobile-info-border-bottom);
background-color: var(--post-mobile-info-background-color);
2024-04-03 16:24:57 +02:00
color: var(--post-mobile-info-text-color);
2024-03-30 22:19:49 +01:00
}
.replyMobile .postInfo .postMenuBtn {
width: 1em;
}
.replyMobile .nameBlock {
display: inline;
float: left;
}
.replyMobile .dateTimePostNum {
float: right;
text-align: right;
}
2024-04-08 12:33:59 +02:00
.capcodeMod {
color: var(--post-capcode-mod-text-color) !important;
2024-04-08 16:03:32 +02:00
text-transform: capitalize;
2024-04-08 12:33:59 +02:00
}
@media (max-width: 640px) {
.postDesktop {
display: none;
}
2024-03-30 18:10:19 +01:00
.replyDesktop {
display: none;
}
}
2024-04-10 13:16:07 +02:00
@media (min-width: 640px) {
.postMobile {
display: none;
}
2024-03-30 18:10:19 +01:00
.replyMobile {
display: none;
}
}