Restyle et2 dialog buttons in mobile theme

This commit is contained in:
Hadi Nategh 2023-02-28 12:08:38 +01:00
parent 5a6da6b5ec
commit 91c9038ba8
2 changed files with 10 additions and 7 deletions

View File

@ -8335,11 +8335,14 @@ table.egwGridView_grid img.et2_appicon {
/* Set header size, color & background */ /* Set header size, color & background */
color: white; color: white;
background: #0c5da5; background: #0c5da5;
height: 5ex; height: 7ex;
padding: 0; padding: 0;
padding-left: 5px; padding-left: 5px;
border-radius: 0; border-radius: 0;
} }
body et2-dialog::part(title) {
line-height: 5ex;
}
body et2-dialog::part(close-button) { body et2-dialog::part(close-button) {
/* Move dialog close button up, change color */ /* Move dialog close button up, change color */
position: absolute; position: absolute;
@ -8352,8 +8355,7 @@ table.egwGridView_grid img.et2_appicon {
border: none; border: none;
} }
body et2-dialog::part(footer) { body et2-dialog::part(footer) {
/* Move footer to top, set background color */ order: 0;
order: -1;
box-shadow: 0px 4px 5px 2px silver; box-shadow: 0px 4px 5px 2px silver;
width: 100%; width: 100%;
margin-top: 0px; margin-top: 0px;

View File

@ -600,12 +600,14 @@
/* Set header size, color & background */ /* Set header size, color & background */
color: white; color: white;
background: #0c5da5; background: #0c5da5;
height: 5ex; height: 7ex;
padding: 0; padding: 0;
padding-left: 5px; padding-left: 5px;
border-radius: 0; border-radius: 0;
} }
et2-dialog::part(title) {
line-height: 5ex;
}
et2-dialog::part(close-button) { et2-dialog::part(close-button) {
/* Move dialog close button up, change color */ /* Move dialog close button up, change color */
position: absolute; position: absolute;
@ -615,8 +617,7 @@
} }
et2-dialog::part(footer) { et2-dialog::part(footer) {
/* Move footer to top, set background color */ order: 0;
order: -1;
box-shadow: 0px 4px 5px 2px silver; box-shadow: 0px 4px 5px 2px silver;
width: 100%; width: 100%;
margin-top: 0px; margin-top: 0px;