-
Notifications
You must be signed in to change notification settings - Fork 2k
/
dashboard.less
115 lines (113 loc) · 2.23 KB
/
dashboard.less
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
#followee-filter {
.btn {
.clearfix();
span,
strong {
display: block;
float: left;
line-height: 1.5;
}
span {
font-weight: normal;
}
strong {
margin: 0 5px;
white-space: nowrap;
max-width: 90px;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
.dashboard-context {
position: relative;
margin-bottom: 20px;
padding: 20px;
border-bottom: 1px solid #DCDCDC;
background-color: @moduleHeadingBackgroundColor;
.border-radius(3px 0 0 0);
h2 {
margin-bottom: 10px;
}
.arrow {
position: absolute;
content: ' ';
top: 70px;
right: -10px;
width: 10px;
height: 21px;
background: transparent url("@{imagePath}/dashboard-followee-related.png");
}
}
.popover-followee {
.popover-title {
display: none;
}
.popover-content {
padding: 0;
.border-radius(3px);
}
.empty {
padding: 10px;
}
.popover-header {
.clearfix();
background-color: whiteSmoke;
padding: 5px;
border-bottom: 1px solid @inputBorder;
.border-radius(3px 3px 0 0);
.input-prepend {
margin-bottom: 0;
}
.add-on,
input {
float: left;
margin: 0;
}
.add-on {
padding: 4px 8px 4px 12px;
border-right-width: 0;
.border-radius(100px 0 0 100px);
}
input {
padding: 4px 12px 4px 8px;
font-size: 13px;
width: 208px;
.border-radius(0 100px 100px 0);
}
}
.nav {
padding: 0;
margin: 0;
max-height: 205px;
overflow: auto;
.border-radius(0 0 3px 3px);
li {
a {
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 7px 10px 7px 15px;
margin: 0;
.border-radius(0);
i {
background-color: @layoutLinkColor;
color: @inputBackground;
margin-right: 11px;
padding: 3px 5px;
line-height: 1;
.border-radius(100px);
.box-shadow(inset 0 1px 2x rgba(0, 0, 0, 0.2));
}
&:hover i {
background-color: #000;
}
}
&.active a i {
color: @layoutLinkColor;
background-color: @inputBackground;
}
}
}
}