aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/_list-view.scss
blob: 40fab3c1c56ec0dc2c15fed78de459e5e142446e (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
@use "sass:color";

@use "mixins";

@use "variables";

/*=== Feed articles */
.flux {
	background: variables.$white;

	@include mixins.transition(all, 0.15s, ease-in-out);

	&:hover {
		background: variables.$grey-lighter;

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

	&.current {
		background: variables.$grey-lighter;
		border-left-color: variables.$main-first;
	}

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

		&:hover .item.title {
			background: variables.$unread-bg;
		}
	}

	&.not_read {
		.item.title {
			a {
				color: variables.$unread-font-color;
			}

		}

		.item.website {
			a {
				color: variables.$unread-font-color;
			}
		}

		.item.date {
			color: color.scale(variables.$unread-font-color, $alpha: -50%);
		}
	}

	&.favorite {
		border-left-color: variables.$fav-bg;

		@include mixins.transition(all, 0.15s, ease-in-out);
	}

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

		&:hover .item.title {
			background: variables.$fav-light;
		}
	}

	.website {
		a {
			color: variables.$main-font-color;
			opacity: 0.75;
		}
	}

	.item.date {
		color: color.scale(variables.$main-font-color, $alpha: -50%);
		font-size: 0.85rem;
	}

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

.flux_header {
	font-size: 1rem;
	cursor: pointer;
	border-top: 1px solid variables.$grey-light;

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