aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/DashFieldView.scss
blob: d79df42724da6396ab2ae47ec76bfabf93628d0a (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
@import '../../global/globalCssVariables.module.scss';

.dashFieldView-active,
.dashFieldView {
    position: relative;
    display: inline-flex;
    align-items: center;

    .dashFieldView-enumerables {
        width: 10px;
        height: 10px;
        position: relative;
        display: inline-block;
        background: dimgray;
    }
    .dashFieldView-fieldCheck {
        min-width: 12px;
        position: relative;
        display: inline-block;
        margin: 0;
        transform: scale(0.7);
        background-color: rgba(155, 155, 155, 0.24);
    }
    .dashFieldView-labelSpan {
        position: relative;
        display: inline-block;
        font-weight: normal;
        background: rgba(0, 0, 0, 0.1);
        cursor: default;
    }
    .dashFieldView-fieldSpan {
        min-width: 8px;
        margin-left: 2px;
        margin-right: 5px;
        padding-left: 2px;
        display: inline-block;
        background-color: rgba(155, 155, 155, 0.24);
        span {
            user-select: all;
            min-width: 100%;
            display: inline-block;
        }
    }
}

.dashFieldView,
.dashFieldView-active {
    .dashFieldView-select {
        height: 10p;
        font-size: 12px;
        background: transparent;
        opacity: 0;
        width: 5px;
    }
}

.dashFieldView {
    &:hover {
        .dashFieldView-select {
            opacity: unset;
            width: 15px !important;
        }
    }
}

.ProseMirror-selectedNode {
    outline: solid 1px $light-blue !important;
}