summaryrefslogtreecommitdiffstats
path: root/webui/src/Components/Timeline/EndNode.scss
blob: 5459c70619f57a66944d5b16383bf3eca5c4f69a (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
@import '../../variables';

.EndNode {
    position: relative;
    height: 4rem;
    display: none;
    @media screen and (min-width : $mobile-min-width) {
        display: block;
    }

    .date {
        $width: 3rem;
        position: absolute;
        top: 0;
        left: calc(92% - #{$width / 2} - #{$line-thickness});
        background-color: $color-blue-gray;
        border-radius: .3rem;
        font-family: 'Roboto', sans-serif;
        border: $line-thickness solid $body-background;
        width: $width;
        height: $width;
        border-radius: $width*2;
        margin: 0;
        color: white;
        font-size: .7rem;
        margin: 0 auto;

        display: none;
        @media screen and (min-width : $mobile-min-width) {
            display: block;
        }

        @media screen and (min-width : $tablet-min-width) {
            left: calc(50% - #{$width / 2} - #{$line-thickness});
        }
    }

    // Horizontal line
    .horizontal-line {
        position: absolute;
        top: 0;
        width: $line-thickness;
        height: 100%;
        background-color: $color-blue-gray;
        content: ' ';
        left: calc(92% - #{$line-thickness / 2});
        display: none;
        @media screen and (min-width : $mobile-min-width) {
            display: block;
        }

        @media screen and (min-width : $tablet-min-width) {
            left: calc(50% - #{$line-thickness / 2});
        }
    }
}