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 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 22 | ec-thread-summary .title, |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 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 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 34 | ec-thread-summary .TWPT-label > span { |
| 35 | max-width: 95px; |
| 36 | overflow: hidden; |
| 37 | white-space: nowrap; |
| 38 | text-overflow: ellipsis; |
| 39 | } |
| 40 | |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 41 | ec-thread-list ec-bulk-actions { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 42 | padding-inline-start: 1px!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 43 | padding-inline-end: 0!important; |
| 44 | } |
| 45 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 46 | ec-thread-list ec-bulk-actions ec-work-state-picker { |
| 47 | display: none!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 48 | } |
| 49 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 50 | ec-thread-summary .panel > .main-header > .action > .header.header { |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 51 | padding-inline: 0!important; |
| 52 | } |
| 53 | |
avm99963 | d08c37e | 2022-09-25 20:41:58 +0200 | [diff] [blame] | 54 | body:not(.TWPT-threadlistavatars-enabled) ec-thread-summary div.header a.header-content { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 55 | width: calc(100% - 112px)!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 56 | } |
| 57 | |
avm99963 | d08c37e | 2022-09-25 20:41:58 +0200 | [diff] [blame] | 58 | body.TWPT-threadlistavatars-enabled ec-thread-summary div.header a.header-content { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 59 | width: calc(100% - 146px)!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 60 | } |
| 61 | |
| 62 | .TWPT-avatars { |
| 63 | min-width: 62px!important; |
| 64 | margin-inline-start: 4px!important; |
| 65 | } |
| 66 | |
| 67 | .TWPT-avatars .TWPT-avatar:first-child { |
| 68 | margin-inline-start: 2px!important; |
| 69 | } |
| 70 | |
| 71 | .TWPT-avatars .TWPT-avatar, |
| 72 | .TWPT-avatars .TWPT-avatar-private-placeholder { |
| 73 | height: 22px!important; |
| 74 | width: 22px!important; |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 75 | line-height: 22px!important; |
| 76 | font-size: 18px!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 77 | } |
| 78 | |
| 79 | ec-thread-summary .header.header .checkbox { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 80 | min-width: 40px!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | ec-thread-summary .header.header .checkbox material-checkbox { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 84 | width: 40px!important; |
| 85 | margin: 0!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 86 | } |
| 87 | |
| 88 | ec-thread-summary .header.header .star-button { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 89 | display: none; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 90 | } |
| 91 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 92 | ec-thread-summary .action .expand-button { |
| 93 | min-width: 40px; |
| 94 | width: 40px; |
| 95 | margin-inline-start: 0; |
| 96 | padding: 0; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 97 | } |
| 98 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 99 | ec-thread-summary .action .expand-button > .mdc-icon-button__touch { |
| 100 | width: 40px; |
| 101 | height: 40px; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 102 | } |
| 103 | |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 104 | ec-thread-summary .action .expand-button > material-ripple, |
| 105 | ec-thread-summary .action .expand-button::after { |
| 106 | top: 4px; |
| 107 | height: Calc(100% - 8px); |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 108 | } |
| 109 | |
| 110 | ec-thread-summary .thread-summary.expanded .main.main .content-wrapper { |
| 111 | margin: 0 12px 16px!important; |
| 112 | } |
| 113 | |
| 114 | ec-thread-summary .thread-summary.expanded .main.main .content-wrapper > .content > .content { |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 115 | padding-inline: 28px 30px!important; |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 116 | padding-block: 0!important; |
| 117 | } |
Adrià Vilanova Martínez | 3d66614 | 2024-03-03 21:33:16 +0100 | [diff] [blame] | 118 | |
| 119 | ec-thread-summary .thread-summary.expanded .main.main .toolbelt .TWPT-extrainfo-container { |
| 120 | margin-inline-start: 40px!important; |
| 121 | } |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | @media (min-width: 37.5rem) { |
| 125 | /* |
| 126 | * == THREAD VIEW == |
| 127 | **/ |
| 128 | .scTailwindThreadQuestionQuestioncardcontent { |
| 129 | padding: 2rem 3rem 1.5rem 3rem!important; |
| 130 | } |
avm99963 | 5f5acdc | 2022-08-22 18:34:23 +0200 | [diff] [blame] | 131 | |
| 132 | /* |
| 133 | * == SIDEBAR == |
| 134 | * Make the items more compact, like before, but only in large screens. |
| 135 | */ |
Adrià Vilanova Martínez | 33f2768 | 2022-09-29 22:43:38 +0200 | [diff] [blame] | 136 | :is(ec-forum-drawer-item, ec-filter-drawer-item) material-list-item { |
avm99963 | 5f5acdc | 2022-08-22 18:34:23 +0200 | [diff] [blame] | 137 | height: 40px!important; |
| 138 | } |
| 139 | |
Adrià Vilanova Martínez | 33f2768 | 2022-09-29 22:43:38 +0200 | [diff] [blame] | 140 | ec-filter-drawer-item material-list-item { |
avm99963 | 5f5acdc | 2022-08-22 18:34:23 +0200 | [diff] [blame] | 141 | line-height: 32px!important; |
| 142 | } |
| 143 | |
Adrià Vilanova Martínez | 33f2768 | 2022-09-29 22:43:38 +0200 | [diff] [blame] | 144 | :is(ec-forum-drawer-item, ec-filter-drawer-item) material-menu > material-button > .content { |
avm99963 | 5f5acdc | 2022-08-22 18:34:23 +0200 | [diff] [blame] | 145 | padding: 8px!important; |
| 146 | } |
| 147 | |
| 148 | ec-filter-drawer-item > material-menu { |
| 149 | top: 0!important; |
| 150 | } |
Adrià Vilanova Martínez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 151 | } |