From ec84f060dea045b39894ac0c92fc6801b0aa8d2f Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 13 Nov 2018 16:03:23 -0500 Subject: [PATCH 1/2] Input width --- skins/nordic/floater.css | 4 +++ .../scripts/floaters/add_edit_activity.php | 6 ++-- .../scripts/floaters/add_edit_customer.php | 34 +++++++++---------- .../scripts/floaters/add_edit_project.php | 8 ++--- 4 files changed, 28 insertions(+), 24 deletions(-) diff --git a/skins/nordic/floater.css b/skins/nordic/floater.css index 7fd6d0f64..be37a1084 100644 --- a/skins/nordic/floater.css +++ b/skins/nordic/floater.css @@ -80,6 +80,10 @@ border-radius: 4px; } +#floater_innerwrap .input-width { + width: calc(100% - 125px); +} + #floater_innerwrap .errorMessage { color: white; text-align: center; diff --git a/templates/scripts/floaters/add_edit_activity.php b/templates/scripts/floaters/add_edit_activity.php index 1c27673d7..4b64ea35e 100644 --- a/templates/scripts/floaters/add_edit_activity.php +++ b/templates/scripts/floaters/add_edit_activity.php @@ -45,7 +45,7 @@ @@ -131,7 +131,7 @@ 'cols' => 30, 'rows' => 5, 'class' => 'comment', - 'style' => 'width:620px' + 'class' => 'input-width' ]); ?> diff --git a/templates/scripts/floaters/add_edit_customer.php b/templates/scripts/floaters/add_edit_customer.php index 727101bef..86e4546b0 100644 --- a/templates/scripts/floaters/add_edit_customer.php +++ b/templates/scripts/floaters/add_edit_customer.php @@ -50,11 +50,11 @@ @@ -81,30 +81,30 @@ @@ -113,23 +113,23 @@ @@ -142,7 +142,7 @@ 'id' => 'customerGroups', 'multiple' => 'multiple', 'size' => 5, - 'style' => 'width:620px' + 'class' => 'input-width' ], $this->groups); ?> @@ -155,7 +155,7 @@ 'cols' => 30, 'rows' => 5, 'class' => 'comment', - 'style' => 'width:620px' + 'class' => 'input-width' ]); ?> diff --git a/templates/scripts/floaters/add_edit_project.php b/templates/scripts/floaters/add_edit_project.php index 7706cd6ed..238374d38 100644 --- a/templates/scripts/floaters/add_edit_project.php +++ b/templates/scripts/floaters/add_edit_project.php @@ -49,10 +49,10 @@
@@ -154,7 +154,7 @@ 'cols' => 30, 'rows' => 5, 'class' => 'comment', - 'style' => 'width:620px' + 'class' => 'input-width' ]); ?> From 585698a81b487f1ce97fe5d4bbfd21f4c06d8fa7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 13 Nov 2018 16:09:47 -0500 Subject: [PATCH 2/2] Only updating standard skin CSS, other skins may differ --- skins/nordic/floater.css | 4 ---- skins/standard/floater.css | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/skins/nordic/floater.css b/skins/nordic/floater.css index be37a1084..7fd6d0f64 100644 --- a/skins/nordic/floater.css +++ b/skins/nordic/floater.css @@ -80,10 +80,6 @@ border-radius: 4px; } -#floater_innerwrap .input-width { - width: calc(100% - 125px); -} - #floater_innerwrap .errorMessage { color: white; text-align: center; diff --git a/skins/standard/floater.css b/skins/standard/floater.css index ca7e6ba08..c86b52004 100644 --- a/skins/standard/floater.css +++ b/skins/standard/floater.css @@ -67,6 +67,10 @@ border: 3px double #bbb; } +#floater_innerwrap .input-width { + width: calc(100% - 125px); +} + #floater_innerwrap select[disabled], #floater_innerwrap input[disabled], #floater_innerwrap button[disabled],