aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/presentationview/PresElementBox.scss
blob: f1bdb773796a482e44a7c3b9b327e750ca4b90fd (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
$light-blue: #AEDDF8;
$dark-blue: #5B9FDD;
$light-background: #ececec;
$slide-background: #d5dce2;
$slide-hover: #98b7da;
$slide-active: #5B9FDD;

.presItem-container {
    cursor: grab;
    display: grid;
    grid-template-columns: 20px auto;
    font-family: Roboto;
    letter-spacing: normal;
    position: relative;
    pointer-events: all;
    width: 100%;
    height: 100%;
    font-weight: 400;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-items: center;

    .presItem-number {
        margin-top: 7px;
        font-size: 12px;
        font-weight: 700;
        text-align: center;
        justify-self: center;
        align-self: flex-start;
        position: relative;
        display: inline-block;
        overflow: hidden;
    }


}

.presItem-slide {
    position: relative;
    background-color: #d5dce2;
    border-radius: 5px;
    height: calc(100% - 7px);
    width: calc(100% - 5px);
    display: grid;
    grid-template-rows: 23px auto;
    grid-template-columns: max-content max-content max-content max-content auto;

    .presItem-name {
        z-index: 300;
        align-self: center;
        font-size: 13px;
        font-family: Roboto;
        font-weight: 500;
        position: relative;
        top: 1px;
        padding-left: 10px;
        padding-right: 10px;
        letter-spacing: normal;
        width: max-content;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: pre;
    }

    .presItem-time {
        align-self: center;
        position: relative;
        top: 2px;
        padding-right: 10px;
        font-size: 10;
        font-weight: 300;
        font-family: Roboto;
        z-index: 300;
        letter-spacing: normal;
    }
    
    .presItem-embedded {
        overflow: hidden;
        grid-column: 1/8;
        position: relative;
        display: flex;
        width: auto;
        justify-content: center;
        margin: auto;
        margin-bottom: 2px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    
    .presItem-embeddedMask {
        width: 100%;
        height: 100%;
        position: absolute;
        border-radius: 3px;
        top: 0;
        left: 0;
        z-index: 1;
        overflow: hidden;
    }


    .presItem-slideButtons {
        display: flex;
        grid-column: 7;
        width: 60px;
        justify-self: right;
        justify-content: flex-end;

        .slideButton {
            cursor: pointer;
            position: relative;
            border-radius: 100%;
            z-index: 300;
            width: 15px;
            height: 15px;
            display: flex;
            font-size: 10px;
            justify-self: center;
            align-self: center;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            justify-content: center;
            align-items: center;
            transition: 0.2s;
            margin-right: 3px;
        }

        .slideButton:hover {
            background-color: rgba(0, 0, 0, 1);
            transform: scale(1.15);
        }
    }
}

.presItem-slide.active {
    box-shadow: 0 0 0px 1.5px $dark-blue;
}

// .presItem-slide:hover {
//     background: $slide-hover;
// }