diff --git a/.gitignore b/.gitignore index 54a9f15..14cdd48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .idea +.vscode .gitignore .DS_Store backups/* -php_errors.log \ No newline at end of file +php_errors.log diff --git a/config/constants.php b/config/constants.php index ba70de5..894a92b 100644 --- a/config/constants.php +++ b/config/constants.php @@ -12,7 +12,7 @@ // You should not change anything below unless you know what you are doing! define("EXTERNAL_PATH", defined('MYWEBSQL_COMPACT_DIST') ? $_SERVER["SCRIPT_NAME"] : str_replace(basename($_SERVER["SCRIPT_NAME"]), "", $_SERVER["SCRIPT_NAME"])); - define('APP_VERSION', '3.9'); + define('APP_VERSION', '3.95'); define('PROJECT_SITEURL', 'http://mywebsql.net'); define("DEVELOPER_EMAIL", "support@mywebsql.net"); define("COOKIE_LIFETIME", 1440); // in hours diff --git a/index.php b/index.php index d46e99d..66d973f 100644 --- a/index.php +++ b/index.php @@ -155,7 +155,7 @@
- +
diff --git a/js/query.js b/js/query.js index abedccd..94cdec8 100644 --- a/js/query.js +++ b/js/query.js @@ -425,7 +425,7 @@ function vwBlb(obj, num, btype) { fi = getFieldInfo(span.parent('td').index() - (editTableName == "" ? 1 : 2)); name = fi['name']; tr = span.parent().parent(); - taskbar.openModal("blob-editor", "?q=wrkfrm&type=viewblob&id="+num+"&name="+name+"&blobtype="+btype+"&query="+queryID, 500, 300); + taskbar.openModal("blob-editor", "?q=wrkfrm&type=viewblob&id="+num+"&name="+name+"&blobtype="+btype+"&query="+queryID, 800, 400); } function vwTxt(obj, len, btype) { msg = str_replace('{{SIZE}}', len, __('Text Data [{{SIZE}}]')); diff --git a/themes/_base/default.css b/themes/_base/default.css index f18721c..feede32 100644 --- a/themes/_base/default.css +++ b/themes/_base/default.css @@ -389,7 +389,7 @@ div#info-div { right: 0; } #object-filter-text { - height: 14px; + height: 22px; padding: 1px 3px; width: 97%; } @@ -435,6 +435,9 @@ div#popup_buttons select option { } #blob-data { padding: 20px 60px 20px 20px; + white-space: pre-wrap; + font-size: 10pt; + line-height: 1.8; } #screen-wait { z-index: 10000; diff --git a/themes/_base/treeview.css b/themes/_base/treeview.css index 5d4b287..4269d8b 100644 --- a/themes/_base/treeview.css +++ b/themes/_base/treeview.css @@ -26,7 +26,8 @@ } .filetree li span.file a { margin-left: -16px; - padding-left: 19px; + padding: 2px 5px 3px 19px; + display: inline-block; } .filetree span a { text-decoration: none; diff --git a/themes/default/alerts.css b/themes/default/alerts.css index e486f59..d4a5866 100644 --- a/themes/default/alerts.css +++ b/themes/default/alerts.css @@ -5,7 +5,7 @@ border: solid 3px #aed0ea; box-shadow: 1px 1px 10px #5e5e5e; color: #000; - font-family: Verdana,Arial,sans-serif; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } @@ -13,7 +13,7 @@ background: #d0e5f5 url(themes/default/images/ui-bg_glass_75_d0e5f5_1x400.png) repeat-x scroll 50% 50%; border: 1px solid #aed0ea; color: #222; - font-family: Tahoma,Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 700; } @@ -24,6 +24,6 @@ } #popup_message { - font-family: sans-serif,arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } \ No newline at end of file diff --git a/themes/default/default.css b/themes/default/default.css index 7ebe9f8..8a97983 100644 --- a/themes/default/default.css +++ b/themes/default/default.css @@ -9,7 +9,7 @@ #tab-history { color: #000; - font-family: verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; } @@ -17,7 +17,7 @@ background: transparent; border: none; color: #222; - font-family: Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; } @@ -27,13 +27,13 @@ border: 1px solid #a6c9e2; border-radius: 3px; color: #000; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 400; } #inplace-text { - background-color: #dfeffc; + background-color: #d1eeff; border: 1px solid #a6c9e2; border-radius: 3px; color: #000; @@ -45,7 +45,7 @@ #main_header .title .main { color: #009c16; - font-family: segoe ui,tahoma; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 700; text-shadow: 3px 3px 2px #ccc; @@ -53,7 +53,7 @@ #main_header .title .version { color: #fd36cb; - font-family: tahoma; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 7pt; font-weight: 700; } @@ -61,7 +61,7 @@ #main_header .info { background: #fff; color: #5e5e5e; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 11px; font-weight: 400; } @@ -83,7 +83,7 @@ #commandEditor,#commandEditor2,#commandEditor3 { border: 0; - font-family: courier new,verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; } @@ -93,7 +93,7 @@ border-bottom: 1px solid #dcdcdc; border-top: 1px solid #dcdcdc; color: #1d5987; - font-family: Tahoma,Trebuchet MS,Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 700; } @@ -102,14 +102,14 @@ background: #d0e5f5; border-bottom: 1px solid #1d5987; color: #1d5987; - font-family: Tahoma,Trebuchet MS,Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 700; } .label { color: #000; - font-family: Trebuchet MS,Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; } @@ -121,7 +121,7 @@ .info { background: #fff; color: #000; - font-family: Trebuchet MS,Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; } @@ -132,7 +132,7 @@ div.code-editor { textarea.text-editor { border: none; - font-family: verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } @@ -152,13 +152,13 @@ hr { .CodeMirror-line-numbers { background-color: #fff; color: #aaa; - font-family: courier new; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; } a.btn { color: green; - font-family: tahoma; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 700; } @@ -179,7 +179,7 @@ a.btn { #screen-wait div span { color: #79b7e7; - font-family: segoe ui; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 700; } @@ -195,7 +195,7 @@ a.btn { #dialog-text-editor #text-editor { border: 5px solid #fff; - font-family: verdana,arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 13px; } @@ -212,7 +212,7 @@ a.btn { } .ui-layout-resizer-south:hover { - background: #dfeffc; + background: #d1eeff; } .ui-data-resizer-south:hover { @@ -248,7 +248,7 @@ a.btn { } #sql-history tr:hover { - background: #dfeffc; + background: #d1eeff; } #sql-history .hst { @@ -269,7 +269,7 @@ input.blur { } * { - font-family: Tahoma; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 400; } @@ -283,7 +283,7 @@ input.blur { } #dblist option { - font-family: Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; } @@ -293,23 +293,23 @@ input.blur { } #inplace-text textarea { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 400; } #sql-history tr td { - font-family: verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } div.sql-text { - font-family: Courier New; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; } #main_header .updates { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 400; } @@ -319,7 +319,7 @@ div.sql-text { } .cm-s-default span { - font-family: courier new; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; } @@ -328,16 +328,16 @@ div#rec_pager { } #object-filter-text { - font-size: 11px; + font-size: 10pt; } div#popup_buttons select { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; } div#popup_buttons select option { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; } @@ -347,22 +347,22 @@ div#popup_buttons select option { } b { - font-family: verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; } span.webdings { - font-family: webdings; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; } pre.blob { - font-family: verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } textarea.blobeditor { - font-family: verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } diff --git a/themes/default/editor.css b/themes/default/editor.css index 45999f4..7983940 100644 --- a/themes/default/editor.css +++ b/themes/default/editor.css @@ -1,7 +1,7 @@ .editbox { color: #494949; font-family: monospace; - font-size: 12pt; + font-size: 11pt; } span.sql-keyword { diff --git a/themes/default/grid.css b/themes/default/grid.css index 9169c0c..561eae9 100644 --- a/themes/default/grid.css +++ b/themes/default/grid.css @@ -1,39 +1,61 @@ #popup_contents div.input select { - border: 1px solid #ddd; - font-family: Arial; + border: 1px solid #cbd5e0; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 400; + padding: 6px 8px; + border-radius: 4px; + transition: all 0.2s ease; + background-color: #ffffff; +} + +#popup_contents div.input select:hover { + border-color: #4299e1; + box-shadow: 0 2px 4px rgba(0,0,0,0.08); +} + +#popup_contents div.input select:focus { + border-color: #4299e1; + box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2); + outline: none; } #table_grid tr th { - background: linear-gradient(top,#f9f9f9); - background: -moz-linear-gradient(top,#f9f9f9); - background: -webkit-gradient(linear,left); - background: -webkit-linear-gradient(top,#f9f9f9); - background: -o-linear-gradient(top,#f9f9f9); - background: -ms-linear-gradient(top,#f9f9f9); - background: linear-gradient(top,#f9f9f9); - background: -moz-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#f9f9f9),color-stop(100%,#e3e4e6)); - background: -webkit-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: -o-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: -ms-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - border-color: #c5c5c5; + background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%); + border-color: #3182ce; border-style: solid; border-width: 1px 1px 1px 0; - color: #555; - font-family: arial; + color: #ffffff; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; - text-shadow: 0 1px 0 rgba(255,255,255,0.3); + padding: 10px 12px; + text-shadow: 0 1px 2px rgba(0,0,0,0.2); + box-shadow: 0 2px 4px rgba(0,0,0,0.1); + position: relative; } #table_grid tr td { - border-bottom: 1px solid #cdcdcd; - border-right: 1px solid #cdcdcd; - font-family: arial; + border-bottom: 1px solid #e2e8f0; + border-right: 1px solid #e2e8f0; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; + padding: 8px 10px; + transition: all 0.2s ease; + background-color: #ffffff; +} + +#table_grid tr:nth-child(even) td { + background-color: #f7fafc; +} + +#table_grid tr:hover td { + background-color: #edf2f7; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); +} + +#table_grid tr:hover td.current { + background-color: #90cdf4; } #table_grid span.check { @@ -51,67 +73,111 @@ } #table_grid tr td input.cell_editor { - border: 1px solid #888; - box-shadow: 0 0 3px #777; - color: #131313; - font-family: arial; + border: 2px solid #4299e1; + box-shadow: 0 0 8px rgba(66, 153, 225, 0.4); + color: #2d3748; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; + padding: 4px 6px; + border-radius: 4px; + background-color: #ffffff; } #table_grid select.cell_combo { - border: 1px solid #888; - box-shadow: 0 0 3px #777; - color: #131313; - font-family: arial; + border: 2px solid #4299e1; + box-shadow: 0 0 8px rgba(66, 153, 225, 0.4); + color: #2d3748; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; + padding: 4px 6px; + border-radius: 4px; + background-color: #ffffff; } #grid-messages { - color: green; - font-family: tahoma; + color: #2f855a; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 700; + padding: 8px 12px; + background-color: #c6f6d5; + border-radius: 4px; + margin: 8px 0; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); } #popup_contents .error { - background-color: #fcccf1; + background-color: #fee2e2; + border: 1px solid #fca5a5; + border-radius: 4px; + padding: 8px; + box-shadow: 0 2px 4px rgba(220, 38, 38, 0.1); } #table_grid td.current { - background-color: #ececec; + background-color: #bee3f8; + box-shadow: inset 0 0 0 2px #4299e1; } #grid-messages.error { - color: red; + color: #c53030; + background-color: #fee2e2; } #popup_contents div.input option { - font-family: Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; + padding: 4px 8px; } #table_grid tr td span { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; + color: #2d3748; } #dialog-list select { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 400; + padding: 6px 8px; + border: 1px solid #cbd5e0; + border-radius: 4px; + transition: all 0.2s ease; +} + +#dialog-list select:hover { + border-color: #4299e1; + box-shadow: 0 2px 4px rgba(0,0,0,0.08); } #dialog-list select option { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 400; + padding: 4px 8px; } #dialog-list input[type=text] { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 400; + padding: 6px 8px; + border: 1px solid #cbd5e0; + border-radius: 4px; + transition: all 0.2s ease; +} + +#dialog-list input[type=text]:hover { + border-color: #4299e1; + box-shadow: 0 2px 4px rgba(0,0,0,0.08); +} + +#dialog-list input[type=text]:focus { + border-color: #4299e1; + box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2); + outline: none; } \ No newline at end of file diff --git a/themes/default/help.css b/themes/default/help.css index 4e46e71..b74fead 100644 --- a/themes/default/help.css +++ b/themes/default/help.css @@ -1,6 +1,6 @@ div.docinfo { border-bottom: 1px solid #555; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 12px; } @@ -10,7 +10,7 @@ ul.links { ul.links li a { color: #000; - font-family: Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; } @@ -27,21 +27,21 @@ div.content { div.content div.heading { background-color: #c2e2f8; - font-family: Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; } div.content div.subheading { background-color: #c2e2f8; - font-family: Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 8pt; font-weight: 700; } div.docinfo a { color: green; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 700; } @@ -52,7 +52,7 @@ ul.links li.current { div.content a { color: green; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 700; } @@ -62,19 +62,19 @@ div.content a:hover { } ul.links li { - font-family: Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; font-weight: 700; } div.content div,div.content table tr td { - font-family: Verdana; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; } div.content ul li { - font-family: Arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 10pt; font-weight: 400; } \ No newline at end of file diff --git a/themes/default/images/ui-bg_flat_0_aaaaaa_40x100.png b/themes/default/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2..0000000 Binary files a/themes/default/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/themes/default/images/ui-bg_flat_55_fbec88_40x100.png b/themes/default/images/ui-bg_flat_55_fbec88_40x100.png deleted file mode 100644 index 47acaad..0000000 Binary files a/themes/default/images/ui-bg_flat_55_fbec88_40x100.png and /dev/null differ diff --git a/themes/default/images/ui-bg_glass_75_d0e5f5_1x400.png b/themes/default/images/ui-bg_glass_75_d0e5f5_1x400.png deleted file mode 100644 index 9fb564f..0000000 Binary files a/themes/default/images/ui-bg_glass_75_d0e5f5_1x400.png and /dev/null differ diff --git a/themes/default/images/ui-bg_glass_85_dfeffc_1x400.png b/themes/default/images/ui-bg_glass_85_dfeffc_1x400.png deleted file mode 100644 index 7c448c5..0000000 Binary files a/themes/default/images/ui-bg_glass_85_dfeffc_1x400.png and /dev/null differ diff --git a/themes/default/images/ui-bg_glass_95_fef1ec_1x400.png b/themes/default/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100644 index 4443fdc..0000000 Binary files a/themes/default/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/themes/default/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png b/themes/default/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png deleted file mode 100644 index 81ecc36..0000000 Binary files a/themes/default/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png and /dev/null differ diff --git a/themes/default/images/ui-bg_inset-hard_100_f5f8f9_1x100.png b/themes/default/images/ui-bg_inset-hard_100_f5f8f9_1x100.png deleted file mode 100644 index 4f3faf8..0000000 Binary files a/themes/default/images/ui-bg_inset-hard_100_f5f8f9_1x100.png and /dev/null differ diff --git a/themes/default/images/ui-bg_inset-hard_100_fcfdfd_1x100.png b/themes/default/images/ui-bg_inset-hard_100_fcfdfd_1x100.png deleted file mode 100644 index 38c3833..0000000 Binary files a/themes/default/images/ui-bg_inset-hard_100_fcfdfd_1x100.png and /dev/null differ diff --git a/themes/default/menu.css b/themes/default/menu.css index 4a0255a..0439cb0 100644 --- a/themes/default/menu.css +++ b/themes/default/menu.css @@ -3,15 +3,15 @@ ul.dropdown li { } ul.dropdown li a { - color: #2779aa; - font-family: segoe ui,arial,verdana; + color: #4299e1; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 400; } ul.dropdown li.hover,ul.dropdown li:hover { - background: #fafafa; - border: 1px solid #aed0ea; + background: #f7fafc; + border: 1px solid #90cdf4; } ul.dropdown > li:hover:after { @@ -20,11 +20,11 @@ ul.dropdown > li:hover:after { } ul.dropdown ul { - -moz-box-shadow: 2px 2px 4px #5e5e5e; - -webkit-box-shadow: 2px 2px 4px #5e5e5e; - background: #fafafa url(themes/default/images/cmenu-bg.gif) repeat-y scroll left top; - border: 1px solid #aed0ea; - box-shadow: 2px 2px 4px #5e5e5e; + -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.1); + -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1); + background: #ffffff url(themes/default/images/cmenu-bg.gif) repeat-y scroll left top; + border: 1px solid #cbd5e0; + box-shadow: 0 2px 6px rgba(0,0,0,0.1); } ul.dropdown ul li { @@ -79,7 +79,7 @@ ul.context > li:hover,ul.dropdown > li.right:hover { } ul.dropdown a:hover { - color: #2779aa; + color: #3182ce; } ul.dropdown li.right:hover { @@ -91,17 +91,17 @@ ul.dropdown li.hover a { } ul.dropdown ul li:hover { - background: url(themes/default/images/ui-bg_glass_75_d0e5f5_1x400.png) repeat-x scroll 50% 54% #dbeefa; - border: 1px solid #aed0ea; - color: #2779aa; + background: url(themes/default/images/ui-bg_glass_75_d0e5f5_1x400.png) repeat-x scroll 50% 54% #e0f2fe; + border: 1px solid #90cdf4; + color: #3182ce; } ul.dropdown ul li a:hover { - color: #2779aa; + color: #3182ce; } ul.dropdown ul li:hover a { - color: #2779aa; + color: #3182ce; } ul.dropdown ul ul li a:hover { diff --git a/themes/default/results.css b/themes/default/results.css index 0316a8e..c0e8978 100644 --- a/themes/default/results.css +++ b/themes/default/results.css @@ -1,19 +1,15 @@ table.results > thead > tr > th { - background: linear-gradient(top,#f9f9f9); - background: -moz-linear-gradient(top,#f9f9f9); - background: -webkit-gradient(linear,left); - background: -webkit-linear-gradient(top,#f9f9f9); - background: -o-linear-gradient(top,#f9f9f9); - background: -ms-linear-gradient(top,#f9f9f9); - background: linear-gradient(top,#f9f9f9); - border-color: #c5c5c5; + background: #d1eeff; + border-color: #b3c4d4; border-style: solid; border-width: 1px 1px 1px 0; - color: #555; - font-family: arial; - font-size: 9pt; - font-weight: 700; - text-shadow: 0 1px 0 rgba(255,255,255,0.3); + color: #545454; + font-size: 8.8pt; + font-weight: 600; + padding: 6px 10px; + text-shadow: none; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); + position: relative; } table.results > thead > tr > th span.pk { @@ -27,18 +23,27 @@ table.results > thead > tr > th span.uk { } table.results > tbody > tr > td { - border-bottom: 1px solid #cdcdcd; - border-right: 1px solid #cdcdcd; - font-family: arial; + border-bottom: 1px solid #e2e8f0; + border-right: 1px solid #e2e8f0; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; + padding: 4px 10px; + transition: all 0.2s ease; + background-color: #ffffff; +} + +table.results > tbody > tr > td span { + font-size: 100%; } table.results > tbody > tr > td.tj { - background: #efefef; + background: #f7fafc; + font-weight: 600; } table.results > tbody > tr > td.tnl { - color: red; + color: #e53e3e; + font-style: italic; } table.results > tbody > tr > td span.blob { @@ -50,16 +55,43 @@ table.results > tbody > tr > td form.cell_editor_form { } table.results > tbody > tr > td input.cell_editor { - border: 2px solid #888; - box-shadow: 0 0 3px #777; - color: #131313; - font-family: arial; + border: 1px solid #4299e1; + box-shadow: 0 0 8px rgba(66, 153, 225, 0.4); + color: #2d3748; font-size: 9pt; font-weight: 400; + padding: 4px 6px; + border-radius: 4px; + background-color: #ffffff; + box-sizing: border-box; +} + +table.results > tbody > tr:nth-child(even) > td { + background-color: #f7fafc; +} + +table.results > tbody > tr:hover > td { + background-color: #c1dbea; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); +} + +table.results > tbody > tr.ui-state-active > td { + background-color: #38a0dc; + color: white; +} + + +table.results > tbody > tr:hover > td.tj { + background-color: #e2e8f0; } -table.results tr:nth-child(even) { - background-color: #fcfcfc; +table.results > tbody > tr > td.current { + background-color: #bee3f8; + box-shadow: inset 0 0 0 2px #4299e1; +} + +table.results > tbody > tr:hover > td.current { + background-color: #90cdf4; } table.results > tbody > tr > td span.text { @@ -91,26 +123,76 @@ table.results > tbody > tr > td span.ser { } table.results > tbody > tr > td .cell_editlist { - background: #fff; - border: 2px solid #888; - box-shadow: 0 0 3px #777; + background: #ffffff; + border: 2px solid #4299e1; + box-shadow: 0 4px 6px rgba(66, 153, 225, 0.3); + border-radius: 4px; + padding: 6px 7px 7px 7px; } table.results > thead > tr > th div { - font-weight: 700; + font-weight: 600; + font-size: 100%; } -table.results > tbody > tr > td span.i { - font-family: arial; - font-size: 9pt; - font-weight: 400; +table.results th { + background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%); } -table.results th { - background: -moz-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#f9f9f9),color-stop(100%,#e3e4e6)); - background: -webkit-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: -o-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: -ms-linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); - background: linear-gradient(top,#f9f9f9 0%,#e3e4e6 100%); +/* Results div container styling */ +div#results-div { + background-color: #ffffff; + box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); + border-radius: 4px; +} + +/* Pager styling */ +div#rec_pager { + background: linear-gradient(to bottom, #ffffff 0%, #f7fafc 100%); + border-top: 1px solid #e2e8f0; + padding: 0; + box-shadow: 0 -2px 4px rgba(0,0,0,0.05); + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; +} + +div#rec_pager a { + color: #4299e1; + text-decoration: none; + padding: 4px 8px; + margin: 0 2px; + border-radius: 4px; + transition: all 0.2s ease; +} + +div#rec_pager a:hover { + background-color: #bee3f8; + color: #2c5282; +} + +div#rec_pager span.page { + padding: 4px 8px; + margin: 0 2px; + border-radius: 4px; + background-color: #4299e1; + color: #ffffff; + font-weight: 600; +} + +div#rec_pager select { + border: 1px solid #cbd5e0; + border-radius: 4px; + padding: 4px 8px; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; + transition: all 0.2s ease; +} + +div#rec_pager select:hover { + border-color: #4299e1; + box-shadow: 0 2px 4px rgba(0,0,0,0.08); +} + +div#rec_pager select:focus { + border-color: #4299e1; + box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2); + outline: none; } \ No newline at end of file diff --git a/themes/default/theme.css b/themes/default/theme.css index 88a685f..611a624 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -140,7 +140,7 @@ button.ui-button::-moz-focus-inner { } .ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default { - background: #dfeffc url(themes/default/images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; + background: #d1eeff url(themes/default/images/ui-bg_glass_85_d1eeff_1x400.png) 50% 50% repeat-x; border: 1px solid #c5dbec; color: #2e6e9e; font-weight: 700; @@ -990,8 +990,8 @@ button.ui-button::-moz-focus-inner { } .ui-widget { - font-family: Tahoma; - font-size: 8pt; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; + font-size: 9pt; } .ui-widget .ui-widget { @@ -999,7 +999,7 @@ button.ui-button::-moz-focus-inner { } .ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button { - font-family: Tahoma; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1em; } @@ -1017,6 +1017,7 @@ button.ui-button::-moz-focus-inner { .ui-menu .ui-menu-item a { font-weight: 400; + padding: 4px; } .ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active { diff --git a/themes/default/treeview.css b/themes/default/treeview.css index 85994b6..3e4458b 100644 --- a/themes/default/treeview.css +++ b/themes/default/treeview.css @@ -13,13 +13,14 @@ .filetree li span { background: url(themes/default/images/objects.png) no-repeat; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } .filetree li span.file a { background: url(themes/default/images/objects.png) no-repeat; - background-position: -8px -176px; + background-position: -6px -174px; + font-size: 10pt; } .filetree span a:visited { @@ -28,7 +29,7 @@ .dblist a,.dblist a:visited { color: #000; - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } @@ -126,6 +127,6 @@ } .filetree span a { - font-family: arial; + font-family: sans-serif, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 9pt; } \ No newline at end of file