aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Ansum/_list-view.rtl.css
blob: 5253bb696747b752404d2deb3a7133688aa03e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*=== Feed articles */
.flux {
	/* border-left: 2px solid #ecf0f1;*/
	background: var(--white);

	transition: all 0.15s ease-in-out;

	.flux_header {
		&:hover {
			background: var(--grey-lighter);

			&:not(.current):hover .item .title {
				background: var(--grey-lighter);
			}
		}
	}

	&.current {
		background: var(--white);
		border-right: 2px solid var(--main-first);
		transition: unset;

		&:not(.active) {
			background: var(--grey-lighter);
		}

		.flux_header {
			background-color: unset;
			margin-right: -2px; /* Compensate increased border-left-width */
		}
	}

	&.not_read:not(.current) {
		background: var(--unread-bg);

		&:hover .item .title {
			background: var(--unread-bg);
		}
	}

	&.not_read {
		.item .title {
			a {
				color: var(--unread-font-color);
			}
		}

		.item.website {
			a {
				color: var(--unread-font-color);
			}
		}

		.item .date {
			color: color-mix(in srgb, var(--unread-font-color) 50%, transparent);
		}
	}

	&.favorite {
		border-right-color: var(--fav-bg);
	}

	&.favorite:not(.current) {
		background: var(--fav-light);

		&:hover .item .title {
			background: var(--fav-light);
		}
	}

	.website {
		a {
			color: var(--main-font-color);
			opacity: 0.75;
		}
	}

	.flux_header .date,
	.flux_content .bottom .date {
		color: color-mix(in srgb, var(--main-font-color) 50%, transparent);
		font-size: 0.85rem;
	}

	.bottom {
		font-size: 1rem;
		text-align: center;
	}
}

.flux_header {
	font-size: 1rem;
	cursor: pointer;
	border-top: 1px solid var(--grey-light);

	.title {
		font-size: 1rem;
	}
}