-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy path_cloud_dialog.scss
More file actions
87 lines (71 loc) · 2.21 KB
/
Copy path_cloud_dialog.scss
File metadata and controls
87 lines (71 loc) · 2.21 KB
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
@use "vars";
@mixin styles {
.plotly-cloud-dialog {
font-family: 'Open Sans', verdana, arial, sans-serif; // Because not all contexts have this specified.
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1001;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.4);
.plotly-cloud-dialog-box {
box-sizing: border-box;
min-width: 300px;
max-width: 420px;
padding: 20px 24px;
background-color: vars.$color-bg-light;
border: 1px solid vars.$color-bg-darker;
border-radius: 4px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
font-size: 13px;
color: #2a3f5f;
}
.plotly-cloud-dialog-title {
font-size: 16px;
font-weight: bold;
margin-bottom: 12px;
}
.plotly-cloud-dialog-message {
line-height: 1.5;
overflow-wrap: break-word;
word-wrap: break-word;
}
.plotly-cloud-dialog-buttons {
display: flex;
justify-content: flex-end;
margin-top: 20px;
}
.plotly-cloud-dialog-btn {
font-family: inherit;
font-size: 13px;
padding: 7px 16px;
margin-left: 8px;
border-radius: 3px;
border: 1px solid transparent;
cursor: pointer;
&:focus-visible {
outline: 2px solid vars.$color-brand-primary;
outline-offset: 1px;
}
}
.plotly-cloud-dialog-btn--cancel {
background-color: vars.$color-bg-light;
border-color: vars.$color-bg-darker;
color: vars.$color-muted-text;
&:hover {
background-color: vars.$color-bg-base;
}
}
.plotly-cloud-dialog-btn--confirm {
background-color: vars.$color-brand-primary;
color: vars.$color-bg-light;
&:hover {
background-color: vars.$color-brand-accent;
}
}
}
}