forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dialog.css
121 lines (95 loc) · 2.21 KB
/
dialog.css
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
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, Jupyter Development Team.
|
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
.jp-Dialog {
position: absolute;
z-index: 10000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
top: 0px;
left: 0px;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.25);
color: var(--jp-ui-font-color1);
}
.jp-Dialog-content {
display: flex;
flex-direction: column;
margin-left: auto;
margin-right: auto;
background: #FAFAFA;
padding: 24px;
padding-bottom: 12px;
min-width: 300px;
min-height: 150px;
max-width: 500px;
max-height: 500px;
box-sizing: border-box;
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.5);
word-wrap: break-word;
}
.jp-Dialog-header {
flex: 0 0 auto;
padding-bottom: 12px;
font-size: var(--jp-ui-font-size3);
font-weight: 400;
color: var(--jp-ui-font-color0);
}
.jp-Dialog-body {
display: flex;
flex-direction: column;
flex: 1 1 auto;
font-size: var(--jp-ui-font-size2);
background: #FAFAFA;
overflow: auto;
max-width: 252px;
}
.jp-Dialog-footer {
display: flex;
flex-direction: row;
justify-content: flex-end;
flex: 0 0 auto;
margin-top: 12px;
margin-left: -12px;
margin-right: -12px;
padding: 12px;
}
.jp-Dialog-title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
button.jp-mod-styled.jp-mod-accept {
background: var(--jp-brand-color1);
color: var(--jp-inverse-ui-font-color0);
}
button.jp-mod-styled.jp-mod-reject {
background: #9E9E9E;
margin-right: 12px;
color: var(--jp-inverse-ui-font-color0);
}
button.jp-mod-styled.jp-mod-warn {
background: var(--jp-error-color1);
color: var(--jp-inverse-ui-font-color0);
}
.jp-Dialog-body > .jp-select-wrapper {
width: 252px;
border: var(--jp-border-width) solid var(--jp-border-color1);
}
.jp-Dialog-body > button {
padding: 0px 16px;
}
.jp-Dialog-body > label {
padding-top: 4px;
padding-bottom: 4px;
line-height: 1.4;
font-size: var(--jp-ui-font-size1);
color: var(--md-grey-700);
}