blob: ff08fe7ee1f5bf24874ead27ce246ec089e8e824 [file] [log] [blame]
Adrià Vilanova Martínez7e8796c2022-01-23 21:46:46 +01001.TWPT-extrainfo-container {
Adrià Vilanova Martínez7e8796c2022-01-23 21:46:46 +01002 display: flex;
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +01003 align-items: center;
4 flex-wrap: wrap;
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +01005 gap: 0.25rem;
Adrià Vilanova Martínez7e8796c2022-01-23 21:46:46 +01006}
7
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +01008.TWPT-extrainfo-chip {
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +01009 color: #444746;
10 font-family: "Google Sans Text", "Roboto", "Arial", sans-serif;
11 font-size: .875rem;
12 line-height: 1.25rem;
13 letter-spacing: .018em;
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010014
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010015 height: 2rem;
16 border: 1px solid #ababab;
17 border-radius: 8rem;
18 padding-inline-start: 0.5rem;
19 padding-inline-end: 0.75rem;
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010020
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010021 display: flex;
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010022 justify-content: flex-start;
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010023 align-items: center;
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010024 gap: 0.375rem;
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010025}
26
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010027.TWPT-extrainfo-chip .TWPT-badge {
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010028 --icon-size: 14px;
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010029}
30
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010031.TWPT-extrainfo-chip span[aria-describedby] {
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010032 cursor: help;
33}
34
35
Adrià Vilanova Martínez7e8796c2022-01-23 21:46:46 +010036/* Specific styles inside context */
37
38ec-unified-user .scTailwindUser_profileUsercardmain {
39 display: flex;
40 flex-direction: column;
41}
42
43ec-unified-user .TWPT-extrainfo-container {
44 margin-top: 16px;
45 align-self: end;
46}
Adrià Vilanova Martínez74a25202022-01-23 23:36:58 +010047
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010048/* This overrides the CC styles */
49sc-tailwind-thread-question-state-chips .scTailwindThreadQuestionStatechipsroot {
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010050 align-items: center;
51 flex-wrap: wrap;
52}
53
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010054sc-tailwind-thread-question-state-chips .TWPT-extrainfo-chip {
55 font-weight: 500;
56}
57
58sc-tailwind-thread-message-message-card .TWPT-extrainfo-chip,
Adrià Vilanova Martínez80f1c732023-11-16 00:52:56 +010059 sc-tailwind-thread-message-comment-card .TWPT-extrainfo-chip,
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010060 ec-thread-summary .main .toolbelt .TWPT-extrainfo-chip {
61 height: 30px;
62 font-size: 12px;
Adrià Vilanova Martínez6e4a68d2022-01-24 21:44:32 +010063 color: var(--TWPT-secondary-text, #6c6c6c);
64}
65
Adrià Vilanova Martínez854cb912022-02-02 16:18:23 +010066ec-thread-summary .main .toolbelt .TWPT-extrainfo-container {
67 margin-inline-start: 115px;
68 margin-bottom: 16px;
Adrià Vilanova Martínez854cb912022-02-02 16:18:23 +010069}
70
Adrià Vilanova Martínez4b0f3ea2023-11-15 23:59:10 +010071/* This overrides the CC styles */
Adrià Vilanova Martínez5d0a12e2022-02-07 23:19:47 +010072ec-thread-summary .author-line .removed-label {
73 width: auto!important;
74 min-width: 72px!important;
75}
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010076
Adrià Vilanova Martínez6e4a68d2022-01-24 21:44:32 +010077/* Special styles for good/bad labels */
78.TWPT-extrainfo-good {
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010079 color: var(--TWPT-good-text-lightbg, #198639)!important;
Adrià Vilanova Martínez6e4a68d2022-01-24 21:44:32 +010080}
81
82.TWPT-extrainfo-warning {
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010083 color: var(--TWPT-warning-text-lightbg, orange)!important;
Adrià Vilanova Martínez6e4a68d2022-01-24 21:44:32 +010084}
85
86.TWPT-extrainfo-bad {
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010087 color: var(--TWPT-bad-text-lightbg, #d50000)!important;
Adrià Vilanova Martínez6e4a68d2022-01-24 21:44:32 +010088}
89
Adrià Vilanova Martínez74a25202022-01-23 23:36:58 +010090
Adrià Vilanova Martínez09b3bdb2022-02-05 00:15:05 +010091/* Special component for the thread list statuses */
Adrià Vilanova Martínez854cb912022-02-02 16:18:23 +010092ec-thread-summary .header-content .TWPT-label {
93 display: flex;
94 align-items: center;
95 padding-inline-end: 10px;
96 font-weight: 500;
97}
98
99ec-thread-summary .header-content .TWPT-label .TWPT-badge {
100 --icon-size: 9.5px;
101 margin-right: 2px;
102}