aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/less/init/tables.less
blob: 17e230ce1681f14ba8c04c1f1fa17876a6aa63ca (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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
/*
 * SonarQube
 * Copyright (C) 2009-2017 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
@import (reference) "../variables";
@import (reference) "../mixins";

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.table > thead > tr > th {
  border-top: 0 none;
  font-weight: bold;
  vertical-align: bottom;
  line-height: 16px;
  padding: 4px 5px;
  vertical-align: bottom;
}

.table > tbody > tr > td {
  line-height: 16px;
  padding: 4px 5px;
  vertical-align: top;
}

.table > tfoot > tr > td {
  font-size: 93%;
  color: #777;
  padding: 4px 5px;
}

.table > tfoot > tr > td a {
  color: #777;
}

.odd {
  background-color: #fff;
}

.even {
  background-color: #f5f5f5;
}

.odd.selected,
.even.selected,
.odd.selected a,
.even.selected a,
.even.selected span:not(.rating),
.odd.selected span:not(.rating) {
  background-color: #d9edf7;
  color: @baseFontColor;
}

table.data, table.spaced {
  width: 100%;
}

table.data > thead:after {
  display: block;
  line-height: 5px;
  content: "\200C";
}

table.data > thead > tr > th {
  vertical-align: top;
  line-height: 18px;
  padding: 8px 10px;
  border-bottom: 1px solid @barBorderColor;
  font-weight: 600;

  & > .small {
    display: block;
    line-height: 1.4;
    font-weight: 400;
  }
}

table.data > tfoot > tr > td {
  font-size: 93%;
  color: #777;
  padding: 5px;
}

table.data > tbody > tr > td {
  padding: 8px 10px;
  vertical-align: text-top;
  line-height: 16px;

  &.text-middle {
    vertical-align: middle;
  }
}

table.data td.small, table.data th.small {
  padding: 0;
  white-space: nowrap;
}

table.data.zebra > tbody > tr:nth-child(even) {
  background-color: #f5f5f5;
}

table.data.zebra-hover > tbody > tr:hover {
  background-color: #ecf6fe !important;
}

table.data.zebra > tbody > tr.selected {
  background-color: #d9edf7 !important;
}

table.data.condensed > tbody > tr > td {
  padding-top: 5px;
  padding-bottom: 5px;
}

table.data.no-outer-padding > thead > tr {
  > th:first-child {
    padding-left: 0
  }

  > th:last-child {
    padding-right: 0
  }
}

table.data.no-outer-padding > tbody > tr {
  > td:first-child {
    padding-left: 0
  }

  > td:last-child {
    padding-right: 0
  }
}

.data thead tr.total {
  background-color: #EFEFEF;
  font-weight: normal;
  border: 1px solid #DDD;
}

.data thead tr.total th {
  font-weight: normal;
}

.data tr.blank,
.data tr.blank > td {
  background-color: #fff !important;
  line-height: 15px;
}

.data tr.highlight {
  background-color: @lightBlue;
}

.data input, .data select, .data button {
  vertical-align: middle;
}

.hoverable:hover {
  background-color: #CAE3F2;
}

.hoverable:hover a {
  color: #111;
}

table.spaced th {
  font-weight: bold;
  color: #333;
  padding: 4px 5px;
}

table.spaced td, table.matrix tfoot td {
  padding: 3px 5px;
  line-height: 18px;
}

table.spaced td img {
  vertical-align: text-bottom;
}

table.spacedicon th {
  font-weight: bold;
  color: #333;
  padding: 4px 5px;
}

table.spacedicon td {
  padding: 0 5px;
  height: 24px;
}

.thin {
  width: 1%;
}

td.sep {
  width: 10px;
}

.spacer {
  width: 5px;
  display: inline-block;
}

.formError {
  display: inline-block;
  background-color: #ed7d20;
  color: #000;
  padding: 0 5px;
}

table.form td{
  padding: 2px 5px;
  vertical-align: top;
}

table.form th {
  padding: 2px 5px;
  font-weight: 600;
}

table.form td.keyCell {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  vertical-align: top;
}

table.form td img {
  vertical-align: bottom;
}

.admin hr {
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px dashed #FFD324;
  height: 1px;
}

table#project-history tr > td {
  vertical-align: top;
}