92 lines
1.9 KiB
CSS
Raw Normal View History

2021-06-03 14:15:17 +08:00
/* Dialogs */
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
2023-01-13 15:13:44 +08:00
window {
padding: 0 !important;
}
2021-06-03 14:15:17 +08:00
/* Browser dialog prompts center */
2023-01-13 15:13:44 +08:00
.dialogOverlay {
display: grid;
place-content: center;
justify-content: center;
grid-auto-rows: min(90%, var(--doc-height-px));
}
.dialogOverlay[topmost="true"]:not(.dialogOverlay-window-modal-dialog-subdialog), #window-modal-dialog::backdrop {
background-color: rgba(0, 0, 0, .5) !important;
}
#window-modal-dialog {
margin-top: auto !important;
2021-06-03 14:15:17 +08:00
}
/* Dialog */
.dialogBox {
2023-01-13 15:13:44 +08:00
border-radius: 12px !important;
2021-06-03 14:15:17 +08:00
margin-top: 0 !important;
}
2023-01-13 15:13:44 +08:00
window[role="dialog"] {
background: var(--gnome-toolbar-background) !important;
2021-06-03 14:15:17 +08:00
border: 0 !important;
2023-01-13 15:13:44 +08:00
box-shadow: var(--gnome-menu-shadow) !important;
2021-06-03 14:15:17 +08:00
padding: 0 !important;
}
dialog {
padding: 0 !important;
}
/* Content */
2023-01-13 15:13:44 +08:00
.dialog-content-box,
#dialogGrid {
2021-06-03 14:15:17 +08:00
padding: 24px;
2023-01-13 15:13:44 +08:00
padding-bottom: 0;
2021-06-03 14:15:17 +08:00
}
#titleContainer {
2023-01-13 15:13:44 +08:00
padding: 6px !important;
margin-top: 6px !important;
2021-06-03 14:15:17 +08:00
justify-content: center !important;
}
2023-01-13 15:13:44 +08:00
.titleIcon {
background-color: transparent !important;
}
2021-06-03 14:15:17 +08:00
2023-01-31 21:50:58 +08:00
#bookmarkpropertiesdialog #editBookmarkPanelContent {
padding-inline: 6px !important;
margin-inline: 6px !important;
}
2021-06-03 14:15:17 +08:00
/* Buttons */
.dialog-button-box {
display: flex !important;
2023-01-13 15:13:44 +08:00
border-top: 1px solid var(--gnome-menu-border-color) !important;
padding: 3px !important;
2021-06-03 14:15:17 +08:00
}
.dialog-button-box button:not(#hack) {
height: auto !important;
max-height: unset !important;
padding: 10px 14px !important;
2023-01-13 15:13:44 +08:00
margin: 3px !important;
border-radius: 6px !important;
2021-06-03 14:15:17 +08:00
flex: 1;
}
/* Buttons borders - only suppor for cancel/ok */
2023-01-13 15:13:44 +08:00
/*.dialog-button-box button[dlgtype="accept"] {*/
/* border-right: 0 !important;*/
/* border-left: 0 !important;*/
/*}*/
/*.dialog-button-box button[dlgtype="cancel"]:not(#hack) {*/
/* border-left: 0 !important;*/
/*}*/
/* Hadler dialog */
#os-default-handler image {
display: none !important;
2021-06-03 14:15:17 +08:00
}
2023-01-13 15:13:44 +08:00
#os-default-handler .name {
font-weight: normal !important;
2021-06-03 14:15:17 +08:00
}