aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/cgit.less
blob: e8f5558e3fb2e5eb51c6f7d61b175cd4f381a410 (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
@import 'include/common';
@import 'include/components';

.content > table {
  width: 100%;
}

.decoration > a {
  margin-left: 5px;
  display: inline-block;
  padding: 0 5px;
  background-color: #1e2f47;
  color: @dark-foreground;

  &:hover {
    text-decoration: none;
    background-color: #71a3f0;
    color: @dark-background;
  }
}

.main {
  &:extend(.title-header);

  display: block;
}

.logo {
  width: 0;
  padding: 0;

  > a {
    position: absolute;
    top: 10px;
    left: 10px;
  }
}

.pager {
  .listless-list();

  margin: 0;
  padding: 0;
  text-align: center;
  padding-bottom: 5px;

  li {
    padding: 5px 10px;
  }
}

.reposection {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.sub {
  &:extend(.subtitle);

  display: block;
}

.tabs {
  width: 100%;

  a {
    padding: 5px 10px;
    margin: 0;

    &.active {
      background-color: @dark-background-highlight;
    }
  }

  .form {
    width: 0;
    white-space: nowrap;
  }
}

#cgit {
  &:extend(.content-wrapper);

  position: relative;
}

#header {
  width: 100%;

  &, tbody, tr, td {
    display: block;
    margin: 0;
    border: 0;
  }
}