blob: b34db4e8a2c920e7eaa0fdc80d483b18ada91bcd [file] [log] [blame]
Adrià Vilanova Martínez840bdaa2022-09-03 20:52:16 +02001/*
2 * == THREAD VIEW ==
3 **/
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +02004.scTailwindThreadQuestionQuestioncardtitle-container {
5 gap: 0 1rem!important;
6 margin: 1rem 0!important;
7}
8
9.scTailwindThreadQuestionQuestioncardcontent {
10 padding: 1.5rem 1rem 1rem 1rem!important;
11}
12
Adrià Vilanova Martínezfcaf5b62023-03-03 21:31:40 +010013.scTailwindThreadQuestionQuestioncardhero {
14 margin: 1rem calc(-2*1.5rem) 0!important;
15}
16
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020017.scTailwindThreadQuestionQuestioncardsub-content {
18 padding: 0 1rem 1rem!important;
19}
20
21.scTailwindThreadMessageMessagecardcontent,
22 .scTailwindThreadMessageMessagecardnested-reply {
23 padding: 1rem!important;
24}
25
26.scTailwindThreadMessagegapmore-nested-replies {
27 padding: 0.25rem 1rem!important;
28}
29
30sc-tailwind-thread-post-header {
31 margin-bottom: 0!important;
32}
33
Adrià Vilanova Martínez2d9be8d2022-12-28 00:50:14 +010034/**
35 * When flattening threads, we hide the reply button (in fact the entire blue
36 * footer), so we will reduce the padding moderately.
37 */
38body.TWPT-flattenthreads-enabled .scTailwindThreadMessageMessagelistmessage-card {
39 padding-bottom: 1rem!important;
40}
41body:not(.TWPT-flattenthreads-enabled) .scTailwindThreadMessageMessagelistmessage-card {
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020042 padding-bottom: 0.75rem!important;
43}
44
45h3.scTailwindThreadMessageMessagelistheading {
46 margin: 1rem 0!important;
47}
48
Adrià Vilanova Martínez88854972022-08-28 11:57:12 +020049.scTailwindThreadMorebuttonroot,
50 .scTailwindThreadMessagegaproot {
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020051 margin: 0 0 0.75rem 0!important;
52}
53
54@media (min-width: 37.5rem) {
55 .scTailwindThreadMessageMessagecardcontent,
56 .scTailwindThreadMessageMessagecardnested-reply {
57 padding: 1rem 3rem!important;
58 }
59
60 .scTailwindThreadMessagegapmore-nested-replies {
61 padding: 0.25rem 3rem!important;
62 }
63
64 .scTailwindThreadQuestionQuestioncardsub-content {
65 padding: 0 3rem 1rem!important;
66 }
67}
Adrià Vilanova Martínez840bdaa2022-09-03 20:52:16 +020068
69/*
70 * == REPLY DIALOG ==
71 **/
72.scTailwindThreadReplydialogtop-row {
73 padding-top: 0!important;
74 padding-bottom: 0!important;
75}
76
77.scTailwindSharedRichtexteditortoolbar {
78 margin-top: 1rem!important;
79}
80
81.scSharedSearchablemenusearch {
82 padding-top: 0.75rem!important;
83 padding-bottom: 0.75rem!important;
84}
85
86.scSharedSearchablemenuitem {
87 min-height: 2.5rem!important;
88}