forked from swagger-api/swagger-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_modal.scss
102 lines (76 loc) · 1.73 KB
/
_modal.scss
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
.dialog-ux
{
position: fixed;
z-index: 9999;
top: 0;
right: 0;
bottom: 0;
left: 0;
.backdrop-ux
{
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba($dialog-ux-backdrop-background-color,.8);
}
.modal-ux
{
position: absolute;
z-index: 9999;
top: 50%;
left: 50%;
width: 100%;
min-width: 300px;
max-width: 650px;
transform: translate(-50%,-50%);
border: 1px solid $dialog-ux-modal-border-color;
border-radius: 4px;
background: $dialog-ux-modal-background-color;
box-shadow: 0 10px 30px 0 rgba($dialog-ux-modal-box-shadow-color,.20);
}
.modal-ux-content
{
overflow-y: auto;
max-height: 540px;
padding: 20px;
p
{
font-size: 12px;
margin: 0 0 5px 0;
color: $dialog-ux-modal-content-font-color;
@include text_body();
}
h4
{
font-size: 18px;
font-weight: 600;
margin: 15px 0 0 0;
@include text_headline();
}
}
.modal-ux-header
{
display: flex;
padding: 12px 0;
border-bottom: 1px solid $dialog-ux-modal-header-border-bottom-color;
align-items: center;
.close-modal
{
padding: 0 10px;
border: none;
background: none;
appearance: none;
}
h3
{
font-size: 20px;
font-weight: 600;
margin: 0;
padding: 0 20px;
flex: 1;
@include text_headline();
}
}
}