forked from hackthedev/dcts-shipping
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprompt.css
91 lines (75 loc) · 1.7 KB
/
prompt.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
#prompt-container {
background-color: #36393F;
color: white;
padding: 16px;
border-radius: 10px;
border: 1px solid #677073;
max-width: 50%;
display: block;
justify-content: center;
position: fixed;
-webkit-box-shadow: 29px 41px 29px -1px rgba(0,0,0,0.75);
-moz-box-shadow: 29px 41px 29px -1px rgba(0,0,0,0.75);
box-shadow: 29px 41px 29px -1px rgba(0,0,0,0.75);
z-index: 99999;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
animation: fadein 0.5s;
}
#prompt-content-container {
display: flex;
}
#prompt-img-container {
float: left;
background-color: transparent;
margin: auto;
margin-right: 8px;
display: block;
width: 50px;
}
#prompt-text-container {
float: right;
background-color: transparent;
/* width: calc(100% - 50px - 16px); */
padding: 0 8px 0 8px;
}
#prompt-container #prompt-icon {
width: 50px;
height: 50px;
border-radius: 50%;
}
#prompt-container #prompt-title {
background-color: transparent;
display: inline-block;
font-weight: bold;
margin-top: 0px;
}
#prompt-container #prompt-text {
background-color: transparent;
display: block;
display: inline-block;
margin-bottom: 0;
word-break: break-all;
}
#prompt-input-container input {
outline: none;
padding: 2px 4px 2px 4px;
margin: 4px;
background-color: #36393F;
color: white;
border: 1px solid white;
border-radius: 4px;
}
#prompt-input-container {
background-color: transparent;
float: left;
margin-top: 8px;
}
#prompt-input-container button {
margin-top: 16px;
margin-right: 4px;
float: left;
}