summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/css/ext.translate.groupselector.less
blob: 025dfa851ed295dd399af847e7479711e79af9e5 (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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
@import 'mediawiki.mixins';

/**
 * Group selector
 */
.tux-groupselector {
	position: absolute;
	top: 14px;
	right: 0;
	z-index: 1000;
	display: none;
	margin-top: 13px;
	width: 600px;
	padding: 0;
	border: 1px solid #a2a9b1;
	background-color: #f0f0f0;
	border-radius: 5px;
	box-shadow: 0 5px 10px rgba( 0, 0, 0, 0.2 );
}

/* The triangle shaped callout */
.tux-groupselector:before {
	border-bottom: 7px solid #a2a9b1;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	content: '';
	display: inline-block;
	left: 99px;
	position: absolute;
	top: -7px;
}

.tux-groupselector:after {
	border-bottom: 6px solid #f0f0f0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	content: '';
	display: inline-block;
	left: 100px;
	position: absolute;
	top: -6px;
}

/* Remove the triangle shaped callout */
.tux-groupselector.removecallout:before,
.tux-groupselector.removecallout:after {
	content: none;
}

.tux-groupselector__filter {
	padding-top: 10px;
}

.tux-groupselector__filter__search__input {
	font-size: 14px;
	width: 100%;
	height: 28px;
	border: 1px solid #c9c9c9;
	padding: 2px;
	margin: 0;
}

.tux-groupselector__filter__search__icon {
	.background-image( '../images/search.svg' );
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 25px;
	height: 28px;
}

/*
 * Group tab
 */
.tux-grouptab {
	color: #222;
	line-height: 30px;
	height: 30px;
	cursor: pointer;
	padding: 2px 5px;
	margin: 0 4px;
	display: inline-block;
}

.tux-grouptab--selected {
	border-bottom: 2px solid #0645ad;
}

/*
 * Group list
 */
.tux-grouplist {
	max-height: 400px;
	overflow-y: auto;
	overflow-x: hidden;
	background-color: #fff;
	min-height: 200px;
	border-radius: 0 0 5px 5px;
}

.tux-grouplist__item {
	position: relative;
	border-bottom: 1px solid #eee;
	height: 50px;
	cursor: pointer;

	&:hover {
		background-color: #f8f8f8;
	}
}

.grid .tux-grouplist__item__label {
	padding-bottom: 0; /* grid override */
	padding-left: 15px; /* grid override */
	line-height: 32px;
	cursor: pointer;
	white-space: nowrap;
}

.tux-grouplist__item__label .tux-statsbar {
	position: absolute;
	bottom: 0;
	width: 150px;
}

.tux-grouplist__item__icon {
	.background-image( '../images/project.svg' );
	background-repeat: no-repeat;
	background-position: right center;
	/* Keep this in sync with js! */
	background-size: 32px;
	height: 50px;
}

.grid .row .tux-grouplist__item__subgroups {
	color: #72777d;
	position: absolute; /* grid override */
	padding: 0 15px 2px 0; /* grid override */
	line-height: 1.25em;
	bottom: 0;
	right: 0;
	text-align: right;
	font-size: 10pt;
}