Just the timer dialog gets timesheet color, leave others alone

This commit is contained in:
nathan 2023-02-23 10:12:21 -07:00
parent 06ab864b01
commit ab812c8dec
3 changed files with 13 additions and 4 deletions

View File

@ -443,6 +443,7 @@ egw.extend('timer', egw.MODULE_GLOBAL, function()
{
dialog = undefined;
},
id: "timer_dialog",
title: _title || 'Start & stop timer',
template: egw.webserverUrl + '/timesheet/templates/default/timer.xet',
buttons: [

View File

@ -8332,7 +8332,7 @@ table.egwGridView_grid img.et2_appicon {
}
body et2-dialog::part(header) {
color: white;
background: #330066;
background: #0c5da5;
height: 5ex;
padding: 0;
padding-left: 5px;
@ -8346,7 +8346,7 @@ table.egwGridView_grid img.et2_appicon {
box-shadow: 0px 4px 5px 2px silver;
width: 100%;
margin-top: 0px;
background: #330066;
background: #0c5da5;
}
body et2-dialog et2-button[slot="footer"] {
padding-left: 150%;
@ -8392,6 +8392,10 @@ table.egwGridView_grid img.et2_appicon {
body et2-button.plus_button::part(base) {
display: none;
}
body et2-dialog#timer_dialog::part(header),
body et2-dialog#timer_dialog::part(footer) {
background: #330066;
}
body .et2_nextmatch .nextmatch_sortheader {
padding-right: 0px;
margin-right: 0px;

View File

@ -597,7 +597,7 @@
et2-dialog::part(header) {
color: white;
background: @timesheet-color;
background: #0c5da5;
height: 5ex;
padding: 0;
padding-left: 5px;
@ -614,7 +614,7 @@
width: 100%;
margin-top: 0px;
background: @timesheet-color;
background: #0c5da5;
}
et2-dialog et2-button[slot="footer"] {
@ -662,6 +662,10 @@
display: none;
}
et2-dialog#timer_dialog::part(header), et2-dialog#timer_dialog::part(footer) {
background: @timesheet-color;
}
.et2_nextmatch {
.nextmatch_sortheader {
padding-right: 0px;