summaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp/res/ecomp/asdc/sequencer/sequencer-dialog.scss
blob: 89a6412dd00c3812b2d0164d2984710e3094288f (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
/*
<div class="asdcs-dialog">
<div class="asdcs-dialog-overlay"></div>
<div class="asdcs-dialog-header"></div>
<div class="asdcs-dialog-body"></div>
<div class="asdcs-dialog-buttonbar">
<button class="asdcs-dialog-button-cancel">Cancel</button>
<button class="asdcs-dialog-button-ok">OK</button>
</div>
</div>
*/

.asdcs-control {

    $asdcsDialogIconSize: 70px;
    $asdcsDialogWidth: 400px;

    .asdcs-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 5;
        background-color: white;
        opacity: 0.25;
        pointer-events: all;
    }

    .asdcs-dialog {

        position: fixed;
        top: 50%;
        left: 50%;
        width: $asdcsDialogWidth;
        margin-left: -($asdcsDialogWidth/2);
        height: 300px;
        margin-top: -150px;
        background: $asdcsColorOneLight;
        border: 1px solid $asdcsColorWhitish;
        border-radius: $asdcsPopupBorderRadius;
        z-index: 10;

        @include drop-shadow();

        .asdcs-dialog-header {
            position: absolute;
            height: 60px;
            line-height: 40px;
            width: 100%;
            box-sizing: border-box;
            font-size: 14px;
            font-weight: bold;
            padding: 10px 15px;
        }

        .asdcs-dialog-close {
            position: absolute;
            top: 15px;
            right: 15px;
            height: $asdcsSmallIconSize;
            width: $asdcsSmallIconSize;
            fill: $asdcsColorGrey;
            cursor: pointer;
            &:hover {
                fill: $asdcsColorEmphasis;
            }
        }

        .asdcs-dialog-buttonbar {

            position: absolute;
            height: 50px;
            width: 100%;
            bottom: 0;
            //background-color: $asdcsColorOne;
            text-align: right;

            button {
                width: 75px;
                border-radius: 4px;
                border: none;
                background-color: $asdcsColorTwo;
                color: $asdcsColorWhite;
                padding: 7px 10px;
                margin: 10px 10px 10px 0px;
                &:hover {
                    background-color: $asdcsColorTwoLight;
                }
            }
        }

        .asdcs-dialog-icon {
            position: absolute;
            top: 80px;
            left: 20px;
            height: $asdcsDialogIconSize;
            width: $asdcsDialogIconSize;
            pointer-events: none;
            fill: $asdcsColorOneDark;

            svg {
                display: none;
            }

            &.asdcs-icon-question {
                svg.asdcs-icon-question {
                    display: block;
                }
            }

            &.asdcs-icon-exclaim {
                svg.asdcs-icon-exclaim {
                    display: block;
                }
            }

            &.asdcs-icon-info {
                svg.asdcs-icon-info {
                    display: block;
                }
            }

            &.asdcs-icon-edit {
                svg.asdcs-icon-edit {
                    display: block;
                }
            }
        }

        .asdcs-dialog-message {
            position: absolute;
            padding: 10px;
            top: 90px;
            height: 100px;
            left: 100px;
            width: $asdcsDialogWidth - 120px;
            display: table-cell;
            vertical-align: middle;
            word-wrap: break-word;
            text-overflow: ellipsis;
        }

        .asdcs-dialog-text {
            position:absolute;
            padding: 10px;
            top:60px;
            height: 150px;
            left:100px;
            width: $asdcsDialogWidth - 130px;
            textarea {
                height:100%;
                width:100%;
                resize: none;
            }
        }
    }
}