summaryrefslogtreecommitdiffstats
path: root/public/less/_dashboard.less
blob: 53d3352cbd4e9d7a128aef58edbc5b74be089366 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
.dashboard {
	padding-top: 15px;
	padding-bottom: @footer-margin * 2;

	&.feeds,
	&.issues {
		.context.user.menu {
			z-index: 101;
			min-width: 200px;
			.ui.header {
				font-size: 1rem;
				text-transform: none;
			}
		}
		.filter.menu {
			.item {
				text-align: left;
				.text {
					height: 16px;
					vertical-align: middle;
					&.truncate {
						width: 85%;
					}
				}
				.floating.label {
					top: 7px;
					left: 90%;
					width: 15%;
				}
			}

			// Sort
			.jump.item {
				margin: 1px;
				padding-right: 0;
			}
			.menu {
				max-height: 300px;
				overflow-x: auto;
				right: 0!important;
				left: auto!important;
			}
		}
		.ui.right .head.menu {
			margin-top: -5px;
			.item.active {
				color: #d9453d;
			}
		}
		.head.menu {
			.octicon {
				margin-right: 5px;
			}
		}
	}
}

&.feeds {
	.news {
		.ui.avatar {
			margin-top: 13px;
		}
		p {
			line-height: 1em;
		}
		.time-since {
			font-size: 13px;
		}
		.issue.title {
			line-height: 1.1em;
			width: 80%;
		}
		.push.news .content ul {
			font-size: 13px;
			list-style: none;
			padding-left: 10px;

			img {
				margin-bottom: -2px;
			}
			.text.truncate {
				width: 80%;
				margin-bottom: -5px;
			}
		}
	}

	.list {
		.header {
			padding-top: 10px;
			padding-bottom: 5px;
		}
		ul {
			list-style: none;
			margin: 0;
			padding-left: 0;

			li {
				&:not(:last-child) {
					border-bottom: 1px solid #EAEAEA;
				}

				&.private {
					background-color: #fcf8e9;
				}

				a {
					padding: 6px 1.2em;
					display: block;

					.octicon {
						margin-right: 6px;
						color: #888;
					}
				}
			}
		}
	}
}