summaryrefslogtreecommitdiffstats
path: root/web_src/less/_explore.less
blob: ad9adc70e073d78bfd175c2de7f6861347782699 (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
.explore {
    padding-top: 15px;

    .navbar {
        justify-content: center;
        padding-top: 15px !important;
        margin-top: -15px !important;
        margin-bottom: 15px !important;
        background-color: #fafafa !important;
        border-width: 1px !important;

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

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

        &:not(:first-child) {
            border-top: 1px solid #eeeeee;
            padding-top: 25px;
        }

        .ui.header {
            font-size: 1.5rem;
            padding-bottom: 10px;

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

            .metas {
                color: #888888;
                font-size: 14px;
                font-weight: normal;

                span:not(:last-child) {
                    margin-right: 5px;
                }
            }
        }

        .time {
            font-size: 12px;
            color: #808080;
        }

        .ui.tags {
            margin-bottom: 1em;
        }

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

.ui.repository.branches {
    .info {
        font-size: 12px;
        color: #808080;
        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 #eeeeee;
            padding-top: 25px;
        }

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

        .description {
            margin-top: 5px;

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

            a {
                color: #333333;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}