blob: 2ae4fd8c46315fb6a11fb1b8cc0f456bd536fb84 [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
13.scTailwindThreadQuestionQuestioncardsub-content {
14 padding: 0 1rem 1rem!important;
15}
16
17.scTailwindThreadMessageMessagecardcontent,
18 .scTailwindThreadMessageMessagecardnested-reply {
19 padding: 1rem!important;
20}
21
22.scTailwindThreadMessagegapmore-nested-replies {
23 padding: 0.25rem 1rem!important;
24}
25
26sc-tailwind-thread-post-header {
27 margin-bottom: 0!important;
28}
29
Adrià Vilanova Martínez2d9be8d2022-12-28 00:50:14 +010030/**
31 * When flattening threads, we hide the reply button (in fact the entire blue
32 * footer), so we will reduce the padding moderately.
33 */
34body.TWPT-flattenthreads-enabled .scTailwindThreadMessageMessagelistmessage-card {
35 padding-bottom: 1rem!important;
36}
37body:not(.TWPT-flattenthreads-enabled) .scTailwindThreadMessageMessagelistmessage-card {
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020038 padding-bottom: 0.75rem!important;
39}
40
41h3.scTailwindThreadMessageMessagelistheading {
42 margin: 1rem 0!important;
43}
44
Adrià Vilanova Martínez88854972022-08-28 11:57:12 +020045.scTailwindThreadMorebuttonroot,
46 .scTailwindThreadMessagegaproot {
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020047 margin: 0 0 0.75rem 0!important;
48}
49
50@media (min-width: 37.5rem) {
51 .scTailwindThreadMessageMessagecardcontent,
52 .scTailwindThreadMessageMessagecardnested-reply {
53 padding: 1rem 3rem!important;
54 }
55
56 .scTailwindThreadMessagegapmore-nested-replies {
57 padding: 0.25rem 3rem!important;
58 }
59
60 .scTailwindThreadQuestionQuestioncardsub-content {
61 padding: 0 3rem 1rem!important;
62 }
63}
Adrià Vilanova Martínez840bdaa2022-09-03 20:52:16 +020064
65/*
66 * == REPLY DIALOG ==
67 **/
68.scTailwindThreadReplydialogtop-row {
69 padding-top: 0!important;
70 padding-bottom: 0!important;
71}
72
73.scTailwindSharedRichtexteditortoolbar {
74 margin-top: 1rem!important;
75}
76
77.scSharedSearchablemenusearch {
78 padding-top: 0.75rem!important;
79 padding-bottom: 0.75rem!important;
80}
81
82.scSharedSearchablemenuitem {
83 min-height: 2.5rem!important;
84}