summaryrefslogtreecommitdiffstats
path: root/web_src/less/_explore.less
blob: aa7dee0f552d7b21c0d1ed8f28d2ddb030bf978c (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
.explore {
  .navbar {
    justify-content: center;
    margin-bottom: 15px !important;
    background-color: var(--color-navbar) !important;
    border-width: 1px !important;

    .svg {
      width: 16px;
      text-align: center;
      margin-right: 5px;
    }
  }
}

.ui.repository.list {
  .item {
    padding-bottom: 1.5rem;

    &:not(:first-child) {
      border-top: 1px solid var(--color-secondary);
      padding-top: 1.5rem;
    }

    .ui.header {
      font-size: 1.5rem;
      margin-bottom: .5rem;

      .name {
        word-break: break-all;
      }

      .metas {
        font-size: 14px;
      }
    }

    .time {
      font-size: 12px;
    }

    .ui.tags {
      margin-bottom: .5rem;
    }
  }
}

.ui.repository.branches {
  .info {
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    white-space: pre;
    .commit-message {
      max-width: 72em;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  .overflow-visible {
    overflow: visible;
  }
}

.ui.user.list {
  .item {
    padding-bottom: 25px;

    &:not(:first-child) {
      border-top: 1px solid var(--color-secondary);
      padding-top: 25px;
    }

    .ui.avatar.image {
      width: 40px;
      height: 40px;
    }

    .description {
      margin-top: 5px;

      .svg:not(:first-child) {
        margin-left: 5px;
      }
    }
  }
}