aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/presentationview/PresElementBox.scss
blob: 8370af4902381005561cace22baa6f87fa8126aa (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
.presElementBox-item {
    padding: 10px;
    display: inline-block;
    background-color: #eeeeee;
    pointer-events: all;
    width: 100%;
    height: 100%;
    outline-color: maroon;
    outline-style: dashed;
    border-radius: 6px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all .1s; 
    padding: 0px;
    padding-left: 5px;
    padding-bottom: 3px;
    .documentView-node {
        position: absolute;
        z-index: 1;
    }
}

.presElementBox-item-above {
    border-top: black 2px solid;
}

.presElementBox-item-below {
    border-bottom: black 2px solid;
}

.presElementBox-item:hover {
    transition: all .1s;
    background: #AAAAAA;
    border-radius: 6px;
}

.presElementBox-selected {
    background: gray;
    color: black;
    border-radius: 6px;
    box-shadow: black 2px 2px 5px;
}

.presElementBox-closeIcon {
    border-radius: 20px;
    transform:scale(0.7);
    position: absolute;
    right: 0;
    top: 0;
    padding: 8px;
}

.presElementBox-interaction {
    color: gray;
    float: left;
    padding: 0px;
    width: 20px;
    height: 20px;
}

.presElementBox-interaction-selected {
    color: white;
    float: left;
    padding: 0px;
    width: 22px;
    height: 22px;
}

.presElementBox-name {
    font-size: 12pxππ;
    position: absolute;
    display: inline-block;
    width: calc(100% - 45px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: pre;
}

.presElementBox-embedded {
    position: relative;
    margin-top: 22;
    display: flex;
    width: auto;
    justify-content: center;
    .contentFittingDocumentView {
        position: absolute;
        height: 100%;
    }
}

.presElementBox-embeddedMask {
    width:100%;
    height:100%;
    position: absolute;
    left:0;
    top:0;
    background: transparent;
    z-index:2;
}