aboutsummaryrefslogtreecommitdiff
path: root/www/advanced-search-body.css
blob: 47398ae14e1192aad7e4298575661fa04e3b076b (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
/*
 * Filter form (based on proplist and form-table)
 */
#filter input, #filter select,
#package-version-count, #package-version-count #count
{
  width: 100%;
  margin:0;
}

#filter-btn {padding-left: .4em;}

/*
 * Package version count.
 */
#count
{
  font-size: 1.32em;
  line-height: 1.4em;
  color: #555;

  margin: 1.2em 0 0 0;
}

/*
 * Project, Package, and Version tables.
 */
table.project
{
  margin-top: 1.7em;
  margin-bottom: -1.2em;

  padding-top: .4em;
  padding-bottom: .4em;
}

.package, table.version, #filter
{
  margin-top: .8em;
  margin-bottom: .8em;

  padding-top: .4em;
  padding-bottom: .4em;
}

.package, #project-break
{
  margin-left: -.4rem;
  padding-left: 2.25rem;
}

table.version, #package-break
{
  margin-left: 4rem;
  padding-left: .4rem;
}

table.version
{
  width: calc(100% + .8rem - 4.4rem);
}

table.version:nth-child(odd) {background-color: rgba(0, 0, 0, 0.07);}

table.project th, .package th
{
  width: 5.5em;
}

table.version th, #filter th
{
  width: 7.3em;
}

table.project tr.project td .value,
.package tr.name td .value,
.package tr.summary td .value,
.package tr.license td .value,
table.version tr.version td .value,
table.version tr.depends td .value,
table.version tr.requires td .value,
table.version tr.reviews td .value
{
  /* <code> style. */
  font-family: monospace;
  font-size: 0.94em;
}

table.version tr.reviews td .none {color: #fe7c04;}
table.version tr.reviews td .fail {color: #ff0000;}
table.version tr.reviews td .pass {color: #00bb00;}

#package-break, #project-break
{
  /* <code> style. */
  font-family: monospace;
  font-weight: 500;
}