summaryrefslogtreecommitdiffstats
path: root/web_src/less/_explore.less
blob: b07b33461e1fbc72e35b135b73bd4a510cb77207 (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
.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;
  }
  /* fix alignment of PR popup in branches table */
  table .ui.popup {
    text-align: left;
  }
}

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

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

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

    .description {
      margin-top: 5px;

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

.ui.explore-relevancy-note {
  border-top: 0;
  margin-top: 0;
  max-width: 90%;
}