Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 1 | @media (max-width: 700px) { |
| 2 | /* |
| 3 | * == THREAD LIST VIEW == |
| 4 | **/ |
| 5 | |
| 6 | /* Hide work state label when thread row is collapsed */ |
| 7 | ec-thread-summary .thread-summary:not(.expanded) .issue-tracking-work-state { |
| 8 | display: none!important; |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | @media (max-width: 599px) { |
| 13 | /* |
| 14 | * == THREAD LIST VIEW == |
| 15 | **/ |
| 16 | |
| 17 | /* Squeeze all elements in each row */ |
| 18 | ec-thread-summary .issue-tracking-work-state { |
| 19 | display: none!important; |
| 20 | } |
| 21 | |
| 22 | ec-thread-summary .title, |
| 23 | ec-thread-summary ec-second-summary-line .properties, |
| 24 | ec-thread-summary ec-second-summary-line ec-relative-time { |
| 25 | margin-inline-start: 0!important; |
| 26 | margin-inline-end: 8px!important; |
| 27 | } |
| 28 | |
| 29 | ec-thread-summary ec-thread-counts, |
| 30 | ec-thread-summary ec-second-summary-line .icons { |
| 31 | width: auto!important; |
| 32 | } |
| 33 | |
| 34 | ec-thread-list ec-bulk-actions { |
| 35 | padding-inline-start: 4px!important; |
| 36 | padding-inline-end: 0!important; |
| 37 | } |
| 38 | |
| 39 | ec-thread-summary .panel { |
| 40 | padding-inline: 4px!important; |
| 41 | } |
| 42 | |
| 43 | ec-thread-summary .panel > .main-header > .header.header { |
| 44 | padding-inline: 0!important; |
| 45 | } |
| 46 | |
| 47 | body:not(.TWPT-threadlistavatars-enabled) ec-thread-summary div.header div.header-content { |
| 48 | width: calc(100% - 68px)!important; |
| 49 | } |
| 50 | |
| 51 | body.TWPT-threadlistavatars-enabled ec-thread-summary div.header div.header-content { |
| 52 | width: calc(100% - 134px)!important; |
| 53 | } |
| 54 | |
| 55 | .TWPT-avatars { |
| 56 | min-width: 62px!important; |
| 57 | margin-inline-start: 4px!important; |
| 58 | } |
| 59 | |
| 60 | .TWPT-avatars .TWPT-avatar:first-child { |
| 61 | margin-inline-start: 2px!important; |
| 62 | } |
| 63 | |
| 64 | .TWPT-avatars .TWPT-avatar, |
| 65 | .TWPT-avatars .TWPT-avatar-private-placeholder { |
| 66 | height: 22px!important; |
| 67 | width: 22px!important; |
| 68 | } |
| 69 | |
| 70 | ec-thread-summary .header.header .checkbox { |
| 71 | min-width: 32px!important; |
| 72 | } |
| 73 | |
| 74 | ec-thread-summary .header.header .checkbox material-checkbox { |
| 75 | margin: 8px 4px!important; |
| 76 | } |
| 77 | |
| 78 | ec-thread-summary .header.header .star-button { |
| 79 | margin-inline-start: 0!important; |
| 80 | margin-inline-end: 4px!important; |
| 81 | } |
| 82 | |
| 83 | ec-thread-summary .header.header .star-button .content { |
| 84 | padding: 8px 4px!important; |
| 85 | } |
| 86 | |
| 87 | ec-thread-summary .action .expand-container { |
| 88 | padding-inline: 0!important; |
| 89 | } |
| 90 | |
| 91 | ec-thread-summary .action .expand-container .expand-button { |
| 92 | width: 32px; |
| 93 | } |
| 94 | |
| 95 | ec-thread-summary .action .expand-container .expand-button > .content { |
| 96 | padding: 8px 4px!important; |
| 97 | } |
| 98 | |
| 99 | ec-thread-summary .thread-summary.expanded .main.main .content-wrapper { |
| 100 | margin: 0 12px 16px!important; |
| 101 | } |
| 102 | |
| 103 | ec-thread-summary .thread-summary.expanded .main.main .content-wrapper > .content > .content { |
| 104 | padding-inline: 56px 30px!important; |
| 105 | padding-block: 0!important; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | @media (min-width: 37.5rem) { |
| 110 | /* |
| 111 | * == THREAD VIEW == |
| 112 | **/ |
| 113 | .scTailwindThreadQuestionQuestioncardcontent { |
| 114 | padding: 2rem 3rem 1.5rem 3rem!important; |
| 115 | } |
avm99963 | 5f5acdc | 2022-08-22 18:34:23 +0200 | [diff] [blame] | 116 | |
| 117 | /* |
| 118 | * == SIDEBAR == |
| 119 | * Make the items more compact, like before, but only in large screens. |
| 120 | */ |
| 121 | :is(ec-forum-drawer-item, ec-filter-drawer-item) > material-list-item { |
| 122 | height: 40px!important; |
| 123 | } |
| 124 | |
| 125 | ec-filter-drawer-item > material-list-item { |
| 126 | line-height: 32px!important; |
| 127 | } |
| 128 | |
| 129 | ec-forum-drawer-item > material-list-item > material-menu > material-button > .content { |
| 130 | padding: 8px!important; |
| 131 | } |
| 132 | |
| 133 | ec-filter-drawer-item > material-menu { |
| 134 | top: 0!important; |
| 135 | } |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 136 | } |