summaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp/res/ecomp/asdc/sequencer/sequencer-diagram.scss
blob: fe67c9059e7723e8f24f625f7ece53d544574810 (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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
.asdcs-control {

    div.asdcs-diagram {

        width: auto;
        height: 100%;
        overflow: hidden;

        @include noselect();

        div.asdcs-diagram-name {
            height: 40px;
            line-height: 40px;
            font-size: 24px;
            text-align: center;
            background-color: $asdcsColorOneLight;
            @include noselect();
        }

        div.asdcs-diagram-svg {
            height: 100%;
        }

        div.asdcs-diagram-popup {

            @include drop-shadow();

            $asdcsDiagramPopupIconPaneSize: 80px;
            $asdcsDiagramPopupHeaderHeight: 40px;
            $asdcsDiagramPopupFooterHeight: $asdcsDiagramPopupHeaderHeight;
            $asdcsDiagramPopupHeight: 200px;
            $asdcsDiagramPopupWidth: 320px;
            $asdcsDiagramPopupBodyHeight: $asdcsDiagramPopupHeight - ($asdcsDiagramPopupHeaderHeight + $asdcsDiagramPopupFooterHeight);
            $asdcsDiagramPopupNotesIconSize: 64px;

            position: absolute;
            height: $asdcsDiagramPopupHeight;
            width: $asdcsDiagramPopupWidth;
            text-overflow: ellipsis;
            background: $asdcsColorOneLight;
            border: 1px solid $asdcsColorWhitish;
            border-radius: $asdcsPopupBorderRadius;

            .asdcs-diagram-popup-header {
                font-weight: bold;
                font-size: 120%;
                padding: 4px 10px;
                height: $asdcsDiagramPopupHeaderHeight;
                line-height: $asdcsDiagramPopupHeaderHeight;
            }

            .asdcs-diagram-popup-body {

                height: $asdcsDiagramPopupBodyHeight;
                overflow: hidden;

                .asdcs-icon-popup {
                    display: table-cell;
                    text-align: center;
                    vertical-align: middle;
                    height: $asdcsDiagramPopupBodyHeight;
                    width: $asdcsDiagramPopupIconPaneSize;
                    min-width: $asdcsDiagramPopupIconPaneSize;
                    svg {
                        height: $asdcsDiagramPopupNotesIconSize;
                        width: $asdcsDiagramPopupNotesIconSize;
                        .asdcs-icon {
                            fill: $asdcsColorOneDark;
                        }
                    }
                }

                .asdcs-diagram-notes {
                    display: table-cell;
                    width: 100%;
                    vertical-align: middle;
                    overflow: hidden;
                    text-align: left;
                    padding: 0 15px 5px 0;
                    margin-right: 10px;
                }
            }

            .asdcs-diagram-popup-footer {
                height: 0;
            }

            $asdcsPopupBorderColor1: rgba(242, 242, 242, 0);
            $asdcsPopupBorderColor2: rgba(211, 211, 211, 0);

            &.asdcs-diagram-popup-topleft {

                &:after, &:before {
                    border: solid transparent;
                    content: " ";
                    height: 0;
                    width: 0;
                    position: absolute;
                    pointer-events: none;
                    bottom: 100%;
                    left: 50px;
                }

                &:after {
                    border-color: $asdcsPopupBorderColor1;
                    border-width: 6px;
                    border-bottom-color: $asdcsColorOneLight;
                    margin-left: -6px;
                }

                &:before {
                    border-color: $asdcsPopupBorderColor2;
                    border-width: 7px;
                    border-bottom-color: $asdcsColorOneLight;
                    margin-left: -7px;
                }
            }

            &.asdcs-diagram-popup-topright {

                &:after, &:before {
                    border: solid transparent;
                    content: " ";
                    height: 0;
                    width: 0;
                    position: absolute;
                    pointer-events: none;
                    bottom: 100%;
                    right: 50px;
                }

                &:after {
                    border-color: $asdcsPopupBorderColor1;
                    border-width: 6px;
                    border-bottom-color: $asdcsColorOneLight;
                    margin-left: -6px;
                }

                &:before {
                    border-color: $asdcsPopupBorderColor2;
                    border-width: 7px;
                    border-bottom-color: $asdcsColorOneLight;
                    margin-left: -7px;
                }
            }

            &.asdcs-diagram-popup-bottomleft {

                &:after, &:before {
                    border: solid transparent;
                    content: " ";
                    height: 0;
                    width: 0;
                    position: absolute;
                    pointer-events: none;
                    top: 100%;
                    left: 50px;
                }

                &:after {
                    border-color: $asdcsPopupBorderColor1;
                    border-width: 6px;
                    border-top-color: $asdcsColorOneLight;
                    margin-left: -6px;
                }

                &:before {
                    border-color: $asdcsPopupBorderColor2;
                    border-width: 7px;
                    border-top-color: $asdcsColorOneLight;
                    margin-left: -7px;
                }
            }

            &.asdcs-diagram-popup-bottomright {

                &:after, &:before {
                    border: solid transparent;
                    content: " ";
                    height: 0;
                    width: 0;
                    position: absolute;
                    pointer-events: none;
                    top: 100%;
                    right: 50px;
                }

                &:after {
                    border-color: rgba(242, 242, 242, 0);
                    border-width: 6px;
                    border-top-color: $asdcsColorOneLight;
                    margin-left: -6px;
                }

                &:before {
                    border-color: rgba(211, 211, 211, 0);
                    border-width: 7px;
                    border-top-color: $asdcsColorOneLight;
                    margin-left: -7px;
                }
            }
        }

        @import 'sequencer-diagram-svg.scss';
    }
}