aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/scss/plugins.scss
blob: 1673ad7c05773a8a27ddb0cb28c51f94ccb49ec1 (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
.plugin_image {
    text-align: center;
    width: 88px;
    vertical-align: top;
}

.plugin_score {
    white-space: nowrap;
}

.plugin_install {
    text-align: center;
}

.plugin_description {
    a.read_more_link {
        display: none;
    }
}

.plugin_description.short {
    div {
        max-height: 15em;
        overflow: hidden;
        position: relative;

        p.read_more {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4em;
            margin: 0;
            background-image: linear-gradient(to bottom, rgba(255,0,0,0), var(--white))
        }
    }

    .read_more_link {
        @include icon(before, add, clickable);

        span {
            vertical-align: middle;
            padding-top: 3px;
        }
    }

    a {
        display: inline-block;
    }
}


img.plugin_preview {
    height: 60px;
    width: 80px;
}