blob: f5a58904602312dccf8a6ce9c2605727c3d7b103 [file] [log] [blame]
Adrià Vilanova Martínez7ad72fe2023-11-02 21:54:41 +01001ec-thread-list ul.thread-group {
2 background-color: var(--TWPT-primary-background)!important;
3}
4
5ec-thread-list ec-bulk-actions, ec-thread-list ec-thread-summary material-expansionpanel {
6 border-bottom-color: var(--TWPT-subtle-border)!important;
7}
8
9ec-thread-list .no-results,
10 ec-thread-list .finished-results {
11 color: var(--TWPT-secondary-text)!important;
12}
13
14ec-thread-summary material-expansionpanel.read:not(.checked) {
15 background-color: var(--TWPT-thread-read-background)!important;
16}
17
18ec-thread-summary material-expansionpanel.read .title span:not(.icon) {
19 opacity: 0.8;
20}
21
22ec-thread-summary material-expansionpanel.read .title .icon {
23 opacity: 0.48!important;
24}
25
26ec-thread-summary material-expansionpanel.checked {
27 background-color: #2c4b77!important;
28}
29
30ec-thread-summary material-expansionpanel .title {
31 color: var(--TWPT-primary-text)!important;
32}
33
34ec-thread-summary material-expansionpanel ec-second-summary-line,
35 material-expansionpanel .header-content,
36 material-expansionpanel ec-thread-counts > span:not(.recommended-answers),
37 material-expansionpanel .duplicate-label {
38 color: #928e89!important;
39}
40
41material-expansionpanel .removed-label {
42 color: var(--TWPT-bad-text)!important;
43}
44
45ec-thread-summary material-expansionpanel ec-safe-html.body,
46 material-expansionpanel .issue-tracking-work-state {
47 color: var(--TWPT-primary-text)!important;
48}
49
50ec-thread-list material-fab.trigger {
51 background: rgba(124, 172, 248, 0.239)!important;
52 color: var(--TWPT-interop-blue)!important;
53}
54
55.popup-wrapper:has(.actions > .action-wrapper > material-fab.themeable) {
56 background-color: unset!important;
57}
58
59.popup-wrapper .actions > .action-wrapper > material-fab.themeable {
60 background-color: var(--TWPT-button-background)!important;
61 color: var(--TWPT-interop-blue)!important;
62}
63
64// The following section changes the styles of the checkboxes in thread lists,
65// based in the styles defined in the "Checkbox input" section.
66ec-thread-summary material-expansionpanel .action material-button:not(.starred),
67 ec-thread-list material-checkbox material-icon,
68 ec-thread-summary material-expansionpanel .star-button:not(.starred),
69 ec-thread-summary material-expansionpanel .mdc-button.mdc-icon-button material-icon {
70 color: #696867!important; // Custom value to match previous behavior
71 opacity: 1!important;
72}
73
74ec-thread-summary material-expansionpanel .action material-button.starred {
75 color: var(--TWPT-starred)!important;
76}
77
78ec-thread-list material-checkbox material-icon.filled {
79 color: #62a5ff!important; // Custom value to contrast well with the background
80}
81
82// .gm-icons is added by the SMEI_GOOGLE_MATERIAL_ICONS experiment.
83ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon,
84 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon,
85 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon,
86 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon {
87 color: #807d7c!important; // custom value
88}
89
90ec-thread-list material-checkbox:focus:not(.disabled).gm-icons .icon.filled,
91 .gm-icons ec-thread-list material-checkbox:focus:not(.disabled) .icon.filled,
92 ec-thread-list material-checkbox:hover:not(.disabled).gm-icons .icon.filled,
93 .gm-icons ec-thread-list material-checkbox:hover:not(.disabled) .icon.filled {
94 color: #92c1ff!important; // custom value
95}