blob: d83ec52bfe6f5070dd75ca61d9d6326ac02e5991 [file] [log] [blame]
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +02001@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ínez3d666142024-03-03 21:33:16 +010022 ec-thread-summary .title,
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020023 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ínez3d666142024-03-03 21:33:16 +010034 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íneza2f79512022-07-10 15:32:32 +020041 ec-thread-list ec-bulk-actions {
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010042 padding-inline-start: 1px!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020043 padding-inline-end: 0!important;
44 }
45
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010046 ec-thread-list ec-bulk-actions ec-work-state-picker {
47 display: none!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020048 }
49
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010050 ec-thread-summary .panel > .main-header > .action > .header.header {
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020051 padding-inline: 0!important;
52 }
53
avm99963d08c37e2022-09-25 20:41:58 +020054 body:not(.TWPT-threadlistavatars-enabled) ec-thread-summary div.header a.header-content {
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010055 width: calc(100% - 112px)!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020056 }
57
avm99963d08c37e2022-09-25 20:41:58 +020058 body.TWPT-threadlistavatars-enabled ec-thread-summary div.header a.header-content {
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010059 width: calc(100% - 146px)!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020060 }
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ínez3d666142024-03-03 21:33:16 +010075 line-height: 22px!important;
76 font-size: 18px!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020077 }
78
79 ec-thread-summary .header.header .checkbox {
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010080 min-width: 40px!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020081 }
82
83 ec-thread-summary .header.header .checkbox material-checkbox {
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010084 width: 40px!important;
85 margin: 0!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020086 }
87
88 ec-thread-summary .header.header .star-button {
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010089 display: none;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020090 }
91
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010092 ec-thread-summary .action .expand-button {
93 min-width: 40px;
94 width: 40px;
95 margin-inline-start: 0;
96 padding: 0;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +020097 }
98
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +010099 ec-thread-summary .action .expand-button > .mdc-icon-button__touch {
100 width: 40px;
101 height: 40px;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +0200102 }
103
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +0100104 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íneza2f79512022-07-10 15:32:32 +0200108 }
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ínez3d666142024-03-03 21:33:16 +0100115 padding-inline: 28px 30px!important;
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +0200116 padding-block: 0!important;
117 }
Adrià Vilanova Martínez3d666142024-03-03 21:33:16 +0100118
119 ec-thread-summary .thread-summary.expanded .main.main .toolbelt .TWPT-extrainfo-container {
120 margin-inline-start: 40px!important;
121 }
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +0200122}
123
124@media (min-width: 37.5rem) {
125 /*
126 * == THREAD VIEW ==
127 **/
128 .scTailwindThreadQuestionQuestioncardcontent {
129 padding: 2rem 3rem 1.5rem 3rem!important;
130 }
avm999635f5acdc2022-08-22 18:34:23 +0200131
132 /*
133 * == SIDEBAR ==
134 * Make the items more compact, like before, but only in large screens.
135 */
Adrià Vilanova Martínez33f27682022-09-29 22:43:38 +0200136 :is(ec-forum-drawer-item, ec-filter-drawer-item) material-list-item {
avm999635f5acdc2022-08-22 18:34:23 +0200137 height: 40px!important;
138 }
139
Adrià Vilanova Martínez33f27682022-09-29 22:43:38 +0200140 ec-filter-drawer-item material-list-item {
avm999635f5acdc2022-08-22 18:34:23 +0200141 line-height: 32px!important;
142 }
143
Adrià Vilanova Martínez33f27682022-09-29 22:43:38 +0200144 :is(ec-forum-drawer-item, ec-filter-drawer-item) material-menu > material-button > .content {
avm999635f5acdc2022-08-22 18:34:23 +0200145 padding: 8px!important;
146 }
147
148 ec-filter-drawer-item > material-menu {
149 top: 0!important;
150 }
Adrià Vilanova Martíneza2f79512022-07-10 15:32:32 +0200151}