mirror of https://github.com/gmbrax/Pilgrim.git
Add the css for the new modals
This commit is contained in:
parent
40a2e727f8
commit
d1afd3a7ef
|
|
@ -623,4 +623,83 @@ Screen.-modal {
|
||||||
.ConfirmDeleteModal-Button {
|
.ConfirmDeleteModal-Button {
|
||||||
margin: 0 1;
|
margin: 0 1;
|
||||||
width: 1fr;
|
width: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.DeleteYesConfirmationModal-DeleteModalContainer,
|
||||||
|
.DeleteDiaryModal-MainContainer {
|
||||||
|
align: center middle;
|
||||||
|
layout: vertical;
|
||||||
|
margin: 2;
|
||||||
|
padding: 2;
|
||||||
|
background: $primary-background;
|
||||||
|
height: auto;
|
||||||
|
width: auto;
|
||||||
|
min-width: 80%;
|
||||||
|
max-width: 95%;
|
||||||
|
border: solid $primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Labels de texto */
|
||||||
|
.DeleteYesConfirmationModal-DeleteModalContainer > Label,
|
||||||
|
.DeleteDiaryModal-MainContainer > Label {
|
||||||
|
margin: 1 0;
|
||||||
|
padding: 0 1;
|
||||||
|
color: $error;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Input fields */
|
||||||
|
.DeleteYesConfirmationModal-DeleteModalContainer > Input,
|
||||||
|
.DeleteDiaryModal-MainContainer > Input {
|
||||||
|
margin: 1 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Container dos botões */
|
||||||
|
.DeleteYesConfirmationModal-DeleteButtonContainer,
|
||||||
|
.DeleteDiaryModal-ButtonContainer {
|
||||||
|
layout: horizontal;
|
||||||
|
align: center middle;
|
||||||
|
margin: 2 0 0 0;
|
||||||
|
height: auto;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Botões individuais */
|
||||||
|
.DeleteYesConfirmationModal-DeleteButtonContainer > Button,
|
||||||
|
.DeleteDiaryModal-ButtonContainer > Button {
|
||||||
|
width: 45%;
|
||||||
|
margin: 0 1;
|
||||||
|
height: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Botão de delete (primeiro botão) */
|
||||||
|
.DeleteYesConfirmationModal-DeleteButtonContainer > Button:first-child,
|
||||||
|
.DeleteDiaryModal-ButtonContainer > Button:first-child {
|
||||||
|
background: $error-darken-1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Botão de cancel */
|
||||||
|
.DeleteYesConfirmationModal-DeleteButtonContainer > Button:last-child,
|
||||||
|
.DeleteDiaryModal-ButtonContainer > Button:last-child {
|
||||||
|
background: $surface;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Estados disabled para botões de delete */
|
||||||
|
.DeleteYesConfirmationModal-DeleteButtonContainer > Button:first-child:disabled,
|
||||||
|
.DeleteDiaryModal-ButtonContainer > Button:first-child:disabled {
|
||||||
|
background: $surface-lighten-1;
|
||||||
|
color: $text-muted;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Espaçamento específico para labels secundários */
|
||||||
|
#DeleteYesConfirmationModal-SecondHeadText {
|
||||||
|
margin: 1 0;
|
||||||
|
padding: 0 1;
|
||||||
|
color: $warning;
|
||||||
|
text-align: center;
|
||||||
|
text-style: italic;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue