From 4f21377e6f9b2f975d9e41315102f2bcdaef3086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Chac=C3=B3n?= Date: Wed, 20 Feb 2019 12:46:06 -0600 Subject: [PATCH 1/3] Use inline-block instead of inline Use inline-block instead of inline in #QuickMenuDiv li to displays elements as an inline-level block container (with height and width). --- css/WEBootstrap/default.css | 2 +- css/aguapop/default.css | 4 ++-- css/default/default.css | 26 +++++++++++++------------- css/fluid/default.css | 13 +++++++++++-- css/fresh/default.css | 2 +- css/gel/default.css | 2 +- css/professional-rtl/default.css | 2 +- css/professional/default.css | 2 +- css/silverwolf/default.css | 2 +- css/wood/default.css | 2 +- css/xenos/default.css | 15 +++++++-------- 11 files changed, 40 insertions(+), 32 deletions(-) diff --git a/css/WEBootstrap/default.css b/css/WEBootstrap/default.css index 477e45d24..d35afc2cb 100644 --- a/css/WEBootstrap/default.css +++ b/css/WEBootstrap/default.css @@ -389,7 +389,7 @@ select.selecterror { filter:progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#C3C3C3'); } #QuickMenuDiv li { - display:inline-block; /* items are inline */ + display:inline-block; height:38px; } diff --git a/css/aguapop/default.css b/css/aguapop/default.css index 74238e3f9..d319d4797 100644 --- a/css/aguapop/default.css +++ b/css/aguapop/default.css @@ -305,9 +305,9 @@ li { list-style:none; float:right; } -#QuickMenuDiv ul li { +#QuickMenuDiv li { + display:inline-block; float:left; - display:inline; margin:0px 3px; } diff --git a/css/default/default.css b/css/default/default.css index c01581425..72aa1473b 100644 --- a/css/default/default.css +++ b/css/default/default.css @@ -21,11 +21,11 @@ button img { } a { - color:blue; + color:#0000ff; text-decoration:none; } a:hover { - color:blue; + color:#0000ff; background-color:transparent; text-decoration:underline; /* Tag selector for mouse over link. */ @@ -34,7 +34,7 @@ a:hover { img { border:none; vertical-align:middle; -} +}color:#ffffff; p.bad { color:red; font-weight:bold; @@ -59,7 +59,7 @@ table.selection { th { background-color:#b06161; - color:white; + color:#ffffff; font-weight:normal; } @@ -230,7 +230,7 @@ tr.striped_row:nth-of-type(odd) { .tableheader { font-weight:normal; background-color:#800000; - color:white; + color:#ffffff; } .notavailable { @@ -271,7 +271,7 @@ textarea.texterror { .OsRow { background-color:#234567; - color:white; + color:#ffffff; } /*** CANVAS ***/ @@ -283,13 +283,13 @@ textarea.texterror { /*** HEADER ***/ #HeaderDiv { - color:white; + color:#ffffff; /*background:#588BB6;*/ /*overflow:hidden;*/ } #HeaderDiv a { - color:white; + color:#ffffff; } #HeaderDiv a:hover { @@ -327,8 +327,8 @@ textarea.texterror { } #QuickMenuDiv li { - display:inline; border-left:thin ridge #588BB6; + display:inline-block; padding:14px 12px; } @@ -384,7 +384,7 @@ textarea.texterror { } .main_menu_selected { - background-color:white; + background-color:#ffffff; padding:2px; } @@ -411,11 +411,11 @@ textarea.texterror { } #SubMenuDiv a { - color:blue; + color:#0000ff; } #SubMenuDiv a:hover { - color:blue; + color:#0000ff; text-decoration:underline; } @@ -433,7 +433,7 @@ textarea.texterror { } .menu_group_item { - background-color:white; + background-color:#ffffff; padding:2px; } diff --git a/css/fluid/default.css b/css/fluid/default.css index 916bf77d5..3a9c85348 100644 --- a/css/fluid/default.css +++ b/css/fluid/default.css @@ -282,7 +282,12 @@ list-style-image:url(bullet.gif); #QuickMenuDiv {float:right;} #QuickMenuDiv ul {list-style:none;margin:0;padding:0;} -#QuickMenuDiv li {display:inline;float:left;margin:2px 0;padding:0;} +#QuickMenuDiv li { + display:inline-block; + float:left; + margin:2px 0; + padding:0; +} #QuickMenuDiv li a { background:#aae; border:1px outset #aae; @@ -311,7 +316,11 @@ list-style-image:url(bullet.gif); height:18px; } #MainMenuDiv ul {list-style:none;padding:0;margin:0;} -#MainMenuDiv li {display:inline;float:left;margin:2px 0;padding:0;} +#MainMenuDiv li { + display:inline-block; + float:left; + margin:2px 0; + padding:0;} #MainMenuDiv li a { background:#aae; border:1px outset #aae; diff --git a/css/fresh/default.css b/css/fresh/default.css index 9ddd89577..9ea7764ef 100644 --- a/css/fresh/default.css +++ b/css/fresh/default.css @@ -312,7 +312,7 @@ select.selecterror { list-style:none; /* hide the bullets */ } #QuickMenuDiv li { - display:inline; /* items are inline */ + display:inline-block; } /*** links as buttons!!! clicking anywhere in the button will activate diff --git a/css/gel/default.css b/css/gel/default.css index bc6e79b15..19c68fbda 100644 --- a/css/gel/default.css +++ b/css/gel/default.css @@ -327,7 +327,7 @@ li { /* ??? */ list-style:none; /* hide the bullets */ } #QuickMenuDiv li { - display:inline; /* items are inline */ + display:inline-block; } /*** links as buttons!!! clicking anywhere in the button will activate diff --git a/css/professional-rtl/default.css b/css/professional-rtl/default.css index a3066fce3..181947ccb 100644 --- a/css/professional-rtl/default.css +++ b/css/professional-rtl/default.css @@ -369,7 +369,7 @@ li { list-style:none; /* hide the bullets */ } #QuickMenuDiv li { - display:inline; /* items are inline */ + display:inline-block; float:right; /* right to left */ } diff --git a/css/professional/default.css b/css/professional/default.css index 9fcf066bc..cde9b0dcc 100644 --- a/css/professional/default.css +++ b/css/professional/default.css @@ -352,7 +352,7 @@ textarea.texterror { list-style:none; /* hide the bullets */ } #QuickMenuDiv li { - display:inline; /* items are inline */ + display:inline-block; } /*** links as buttons!!! clicking anywhere in the button will activate diff --git a/css/silverwolf/default.css b/css/silverwolf/default.css index 32eae820e..46d4d808e 100644 --- a/css/silverwolf/default.css +++ b/css/silverwolf/default.css @@ -338,7 +338,7 @@ select.selecterror { /*AccountGroups.php, BankAccounts.php, BOMs.php, Stocks.php list-style:none; /* hide the bullets */ } #QuickMenuDiv li { - display:inline; /* items are inline */ + display:inline-block; } /*** links as buttons!!! clicking anywhere in the button will activate diff --git a/css/wood/default.css b/css/wood/default.css index d31dda59e..5a79037a6 100644 --- a/css/wood/default.css +++ b/css/wood/default.css @@ -355,7 +355,7 @@ select.selecterror { list-style:none; /* hide the bullets */ } #QuickMenuDiv li { - display:inline; /* items are inline */ + display:inline-block; } /* BODY */ diff --git a/css/xenos/default.css b/css/xenos/default.css index da556b2f3..d4a8ed454 100644 --- a/css/xenos/default.css +++ b/css/xenos/default.css @@ -11,13 +11,6 @@ NOTE: This CSS is not yet fully optimized. Some styles maybe redundant and not supported by some browser. ***/ - -button img { - /* Describes how button image should be displayed. */ - height:21px; - width:21px; -} - body { font-family:Arial, Verdana, Helvetica, sans-serif; font-size:10pt; @@ -26,6 +19,12 @@ body { background:#F1F1F1; } +button img { + height:21px; + width:21px; + /* Describes how button image should be displayed. Related with body font-size in px. */ +} + /*** Default Styles ***/ a { color:#0088CD; @@ -405,7 +404,7 @@ select.selecterror { filter:progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#C3C3C3'); } #QuickMenuDiv li { - display:inline-block; /* items are inline */ + display:inline-block; height:38px; } From 6b1770eef538cbe01130ea4efc53ef2f41bed061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Chac=C3=B3n?= Date: Wed, 20 Feb 2019 12:50:23 -0600 Subject: [PATCH 2/3] Use inline-block instead of inline Use inline-block instead of inline in #QuickMenuDiv li to displays elements as an inline-level block container (with height and width). Useful in small devices. --- css/default/default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/default/default.css b/css/default/default.css index 72aa1473b..d6d8e724d 100644 --- a/css/default/default.css +++ b/css/default/default.css @@ -34,7 +34,7 @@ a:hover { img { border:none; vertical-align:middle; -}color:#ffffff; +} p.bad { color:red; font-weight:bold; From d94de8426a781da39fa79429b3898f63263b35e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Chac=C3=B3n?= Date: Wed, 20 Feb 2019 12:55:53 -0600 Subject: [PATCH 3/3] Use inline-block instead of inline Use inline-block instead of inline in #QuickMenuDiv li to displays elements as an inline-level block container (with height and width). Useful in small devices. --- css/fluid/default.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/fluid/default.css b/css/fluid/default.css index 3a9c85348..cb4980839 100644 --- a/css/fluid/default.css +++ b/css/fluid/default.css @@ -317,7 +317,7 @@ list-style-image:url(bullet.gif); } #MainMenuDiv ul {list-style:none;padding:0;margin:0;} #MainMenuDiv li { - display:inline-block; + display:inline; float:left; margin:2px 0; padding:0;} @@ -479,4 +479,4 @@ list-style-image:url(bullet.gif); @media only screen and (min-device-width:1200px) { /* Style for new browser in a device with a rendering width greater than 1200px (lg - Large devices - Larger desktops). */ -} \ No newline at end of file +}