aboutsummaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp/res/ecomp/asdc/sequencer/sequencer-editor.scss
blob: da35ba918209f6e88c5dd73135fc1b8bdb1a80b6 (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
.asdcs-control {

    div.asdcs-editor {

        $asdcsEditorResizeWidth: 6px;
        $asdcsEditorToolbarPadding: 4px;

        box-sizing: border-box;
        float: left;
        height: 100%;
        width: $asdcsEditorWidth;
        overflow-x: hidden;
        overflow-y: auto;
        position: relative;
        padding-right: $asdcsEditorResizeWidth;

        div.asdcs-editor-toolbar {

            display: none;

            height: 40px;
            width: 100%;

            background-color: $asdcsColorOneDark;
            text-align: center;

            .asdcs-editor-toolbar-demo {
                padding: $asdcsEditorToolbarPadding;
                display: inline;
                float: left;
            }

            .asdcs-editor-toolbar-toggle {
                padding: $asdcsEditorToolbarPadding;
                display: inline;
                float: right;
            }

            button {

                &.asdcs-button-mode {

                    padding-left: 8px;
                    padding-right: 8px;

                    &.asdcs-button-toggle-left {
                        border-top-right-radius: 0;
                        border-bottom-right-radius: 0;
                        margin-right: -4px;
                    }

                    &.asdcs-button-toggle-right {
                        border-top-left-radius: 0;
                        border-bottom-left-radius: 0;
                        margin-left: -4px;
                    }

                    &.asdcs-button-toggle-center {
                        border-radius: 0;
                        border-right: 1px solid lighten($asdcsColorOneDark, 3%);
                        border-left: 1px solid lighten($asdcsColorOneDark, 3%);
                    }

                    &.asdcs-active {
                        background-color: $asdcsColorButtonBGHover;
                    }

                    &:hover {
                        border-color: transparent;
                        @include transition(border-color $asdcsTransitionTime ease);
                    }
                }

                svg {
                    height: $asdcsSmallIconSize;
                    width: $asdcsSmallIconSize;
                    fill: $asdcsColorWhitish;
                }
            }
        }

        div.asdcs-editor-content {

            height: 100%;
            width: 100%;
            overflow-x: hidden;
            overflow-y: auto;

            div.asdcs-editor-code {
                display:none;
                height: 100%;
                width: 100%;
                background-color: $asdcsColorWhitish;
                textarea {
                    height: 100%;
                }
                .CodeMirror {
                    height: 100%;
                }
            }

            div.asdcs-editor-designer {
                height: 100%;
                width: 100%;

                .asdcs-designer-accordion {
                    height: 100%;
                }
            }

        }

        div.asdcs-editor-resize-handle {
            background-color: $asdcsColorOne;
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: $asdcsEditorResizeWidth;
            cursor: e-resize;
            @include drop-shadow();

        }
    }
}