From d1b7c0816291bfee5129ab652456f76ef34f00d4 Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Fri, 11 Jan 2008 10:03:47 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20le=20button:focus=20cr=E9ait=20un=20d=E9?= =?UTF-8?q?placement=20du=20bouton=20dans=20les=20confirmation=20ajax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/lib_head.js | 2 +- htdocs/theme/auguria/auguria.css.php | 9 +++++++++ htdocs/theme/eldy/eldy.css.php | 10 ++++++++++ htdocs/theme/freelug/freelug.css.php | 14 +++++++++++++- htdocs/theme/yellow/yellow.css.php | 9 +++++++++ 5 files changed, 42 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/lib_head.js b/htdocs/lib/lib_head.js index 550b34a5688..d30054234df 100644 --- a/htdocs/lib/lib_head.js +++ b/htdocs/lib/lib_head.js @@ -692,7 +692,7 @@ function dialogConfirm(linkurl,message,ok,cancel,objectID) { width:300, okLabel: ok, cancelLabel: cancel, - buttonClass: "button", + buttonClass: "buttonajax", id: objectID, destroyOnClose: true, cancel:function(win){}, diff --git a/htdocs/theme/auguria/auguria.css.php b/htdocs/theme/auguria/auguria.css.php index 06aab29f225..12807be0e70 100644 --- a/htdocs/theme/auguria/auguria.css.php +++ b/htdocs/theme/auguria/auguria.css.php @@ -103,6 +103,15 @@ select.flat padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } +.buttonajax +{ + font-size: 100%; + border: 0px; + background-image : url(<?php echo $dolibarr_main_url_root.'/theme/auguria/img/button_bg.png' ?>); + background-position : bottom; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; +} form { padding: 0em 0em 0em 0em; diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index 49c0e6b59df..443a957d67f 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -120,6 +120,16 @@ select.flat padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } +.buttonajax +{ + font-size: 12px; + font-family: helvetica, verdana, arial, sans-serif; + border: 0px; + background-image: url(<?php echo $dolibarr_main_url_root.'/theme/eldy/img/button_bg.png' ?>); + background-position: bottom; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; +} form { padding: 0em 0em 0em 0em; diff --git a/htdocs/theme/freelug/freelug.css.php b/htdocs/theme/freelug/freelug.css.php index 97f74082d48..2286d216043 100644 --- a/htdocs/theme/freelug/freelug.css.php +++ b/htdocs/theme/freelug/freelug.css.php @@ -113,7 +113,19 @@ select.flat background-position: bottom; background-repeat: repeat-x; } - +.buttonajax { + font-size: 11px; + font-family: arial,verdana,heletica, sans-serif; + padding: 0px 2px 0px 2px; + margin: 0px 0px 0px 0px; + border-left: 1px solid #cccccc; + border-right: 1px solid #aaaaaa; + border-top: 1px solid #dddddd; + border-bottom: 1px solid #aaaaaa; + background-image: url(<?php echo $dolibarr_main_url_root.'/theme/freelug/img/button_bg.png' ?>); + background-position: bottom; + background-repeat: repeat-x; +} form { padding: 0px 0px 0px 0px; diff --git a/htdocs/theme/yellow/yellow.css.php b/htdocs/theme/yellow/yellow.css.php index 50a6068747a..4c0acc30c8b 100644 --- a/htdocs/theme/yellow/yellow.css.php +++ b/htdocs/theme/yellow/yellow.css.php @@ -104,6 +104,15 @@ select.flat background-image : url(/theme/yellow/img/button_bg.png); background-position : bottom; } +.buttonajax +{ + font-family: arial,verdana,helvetica, sans-serif; + font-size: 100%; + font-weight: normal; + border: 1px solid #bbbb99; + background-image : url(/theme/yellow/img/button_bg.png); + background-position : bottom; +} form { padding: 0em 0em 0em 0em; -- GitLab