summaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/scripts/directives/page-scroller/page-scroller.less
blob: 14f8568f070db843e2af92d11dee41f407613f92 (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
.sdc-page-scroller {

    /****************** Navigation ***************/
    nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        width: 100px;
        bottom: 0;
        background-color: #000;
        align-items: center;
        justify-content: center;
    }

    nav ul {
        list-style: none;
        text-align: center;
        margin-top: 0;
        padding: 0;
    }

    nav ul li {
        display: block;
        margin-bottom: 15px;

    }

    nav ul li:last-child {

    }

    nav a {
        display: block;
        height: 6px;
        width: 6px;
        border-radius: 50%;
        background-color: #4a4c4d;
    }

    nav a.active {
        position: relative;
    }

    nav a.active::after {
        content: '';
        display: block;
        position: absolute;
        border: 2px solid #0198d1;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        top: -5px;
        left: -5px;
    }

    /****************** Previous Next navigation ***************/
    .go-prev, .go-next {
        cursor: pointer;
        font-weight: bold;
        text-decoration: underline;
    }

    .slides-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow-y: hidden;
        z-index: 10;
    }

    .slide {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .slide .centered {
        width: 60%;
        margin: 200px auto 0;
    }

    .slide .centered h1 {
        text-align: center;
    }

    .slide .centered p {
        text-align: center;
        margin-top: 20px;
        font-size: 20px;
    }

}