Adrià Vilanova Martínez | 840bdaa | 2022-09-03 20:52:16 +0200 | [diff] [blame] | 1 | /* |
| 2 | * == THREAD VIEW == |
| 3 | **/ |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 4 | .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ínez | fcaf5b6 | 2023-03-03 21:31:40 +0100 | [diff] [blame] | 13 | .scTailwindThreadQuestionQuestioncardhero { |
| 14 | margin: 1rem calc(-2*1.5rem) 0!important; |
| 15 | } |
| 16 | |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 17 | .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 | |
| 30 | sc-tailwind-thread-post-header { |
| 31 | margin-bottom: 0!important; |
| 32 | } |
| 33 | |
Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 34 | /** |
| 35 | * When flattening threads, we hide the reply button (in fact the entire blue |
| 36 | * footer), so we will reduce the padding moderately. |
| 37 | */ |
| 38 | body.TWPT-flattenthreads-enabled .scTailwindThreadMessageMessagelistmessage-card { |
| 39 | padding-bottom: 1rem!important; |
| 40 | } |
| 41 | body:not(.TWPT-flattenthreads-enabled) .scTailwindThreadMessageMessagelistmessage-card { |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 42 | padding-bottom: 0.75rem!important; |
| 43 | } |
| 44 | |
| 45 | h3.scTailwindThreadMessageMessagelistheading { |
| 46 | margin: 1rem 0!important; |
| 47 | } |
| 48 | |
Adrià Vilanova Martínez | 8885497 | 2022-08-28 11:57:12 +0200 | [diff] [blame] | 49 | .scTailwindThreadMorebuttonroot, |
| 50 | .scTailwindThreadMessagegaproot { |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 51 | 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ínez | 840bdaa | 2022-09-03 20:52:16 +0200 | [diff] [blame] | 68 | |
| 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 | } |