nnnjjj123
2020-11-17 1b2c1edb61190eeb19f465ff031eaa3b2a1b8dbc
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
.gridTypeForm {
    color: white;
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 10px;
}
 
.demoGridPane,
.demoCodePane {
    position: absolute;
    top: 59px;
    bottom: $renderPadding;
    left: $renderPadding;
    right: $renderPadding;
}
 
.demoGridPane {
    color: #95a5a6;
 
    .dgrid {
        height: 100%;
    }
 
    .dgrid-content {
        .dojoDndItem,
        .dojoDndItemOver {
            padding: 0;
            border: 0;
        }
    }
}
 
.demoCodePane {
    textarea {
        background: #EBEBEB;
        border: 0;
        font-family: Consolas, Courier, monospace;
        font-size: 12px;
        height: 100%;
        padding: 5px;
        resize: none;
        width: 100%;
    }
}
 
.render {
    padding-top:13px;
 
    .gridBtn,
    .codeBtn {
        font-size:13px;
        margin:0;
        padding:0.55em 0.75em;
        font-weight: normal;
        cursor: pointer;
        transition: background 0.3s;
 
        i {
            margin-right:0.45em;
            position:relative;
            top:1px;
        }
    }
 
    .gridBtn {
        border-radius: 4px 0 0 4px;
    }
 
    .codeBtn {
        border-radius: 0 4px 4px 0;
    }
 
    &[data-selected-page="code"] {
        .demoGridPane {
            display: none;
        }
 
        .codeBtn {
            background: $resultButtonOnBg;
            color: $resultButtonOnText;
        }
        .gridBtn {
            background: $resultButtonOffBg;
            color: $resultButtonOffText;
            &:hover {
                background: lighten($resultButtonOnBg, 80%);
            }
        }
    }
 
    &[data-selected-page="grid"] {
        .demoCodePane {
            display: none;
        }
        .codeBtn {
            background: $resultButtonOffBg;
            color: $resultButtonOffText;
            &:hover {
                background: lighten($resultButtonOnBg, 80%);
            }
        }
        .gridBtn {
            background: $resultButtonOnBg;
            color: $resultButtonOnText;
        }
    }
}