Add fullscreen prompt for chat with enter/exit logic and styling adjustments
This commit is contained in:
@@ -1,3 +1,53 @@
|
||||
.fullscreen-prompt-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 10000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
background: rgb(0 0 0 / 70%);
|
||||
}
|
||||
|
||||
.fullscreen-prompt {
|
||||
width: min(420px, 100%);
|
||||
padding: 24px;
|
||||
border-radius: 14px;
|
||||
background: #1f1f1f;
|
||||
color: #ffffff;
|
||||
box-shadow: 0 20px 60px rgb(0 0 0 / 45%);
|
||||
text-align: center;
|
||||
|
||||
h2 {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 22px;
|
||||
color: rgb(255 255 255 / 75%);
|
||||
}
|
||||
}
|
||||
|
||||
.fullscreen-prompt-actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
padding: 10px 16px;
|
||||
background: #4f8cff;
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
|
||||
&.secondary {
|
||||
background: rgb(255 255 255 / 14%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-layout {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
Reference in New Issue
Block a user