aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PresBox.scss
blob: 9f6af1bde4772de68be4ba158651fcc4c2328045 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
.presBox-cont {
    position: absolute;
    pointer-events: inherit;
    z-index: 2;
    box-shadow: #AAAAAA .2vw .2vw .4vw;
    width: 100%;
    min-width: 20px;
    height: 100%;
    min-height: 41px;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.7s opacity ease;

    .presBox-listCont {
        position: absolute;
        height: calc(100% - 25px);
        width: 100%;
    }

    .presBox-buttons {
        width: 100%;
        background: gray;
        padding-top: 5px;
        padding-bottom: 5px;
        display: grid;
        grid-column-end: 4;
        grid-column-start: 1;

        .presBox-viewPicker {
            height: 25;
            position: relative;
            display: inline-block;
            grid-column: 1/2;
            min-width: 15px;
        }

        select {
            background: #323232;
            color: white;
        }

        .presBox-button {
            margin-right: 2.5%;
            margin-left: 2.5%;
            height: 25px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            background: #323232;
            color: white;

            svg {
                margin: auto;
            }
        }

        .collectionViewBaseChrome-viewPicker {
            min-width: 50;
            width: 5%;
            height: 25;
            position: relative;
            display: inline-block;
        }
    }

    .presBox-backward,
    .presBox-forward {
        width: 25px;
        border-radius: 5px;
        top: 50%;
        position: absolute;
        display: inline-block;
    }

    .presBox-backward {
        left: 5;
    }

    .presBox-forward {
        right: 5;
    }
}

// CSS adjusted for mobile devices
@media only screen and (max-device-width: 480px) {
    .presBox-cont .presBox-buttons {
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, 0);
        width: max-content;
        height: 15%;
        z-index: 2;
        align-items: center;
        background: rgba(0, 0, 0, 0);
        display: inline-flex;

        .presBox-button {
            margin-top: 5%;
            height: 250;
            width: 300;
            font-size: 100;
            display: flex;
            align-items: center;
            background: #323232;
            color: white;
        }

        .presBox-viewPicker {
            top: -70;
            left: 2.5%;
            height: 50;
            width: 95%;
            font-size: 30px;
            position: absolute;
            min-width: 50px;
        }
    }

    .presBox-cont .presBox-listCont {
        top: 50;
        height: calc(100% - 80px);
    }

    .input,
    .select {
        font-size: 100%;
    }
}