From 3326758a8cf4fc78fd3a230264edce94b02cbe6c Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 12 Aug 2022 12:33:15 +0200 Subject: [PATCH] Drop pixelegg template from preferences --- preferences/templates/default/app.css | 6 +- preferences/templates/pixelegg/app.css | 233 ------------------------ preferences/templates/pixelegg/app.less | 123 ------------- 3 files changed, 4 insertions(+), 358 deletions(-) delete mode 100755 preferences/templates/pixelegg/app.css delete mode 100755 preferences/templates/pixelegg/app.less diff --git a/preferences/templates/default/app.css b/preferences/templates/default/app.css index 2b74498eda..632658b1b2 100644 --- a/preferences/templates/default/app.css +++ b/preferences/templates/default/app.css @@ -12,11 +12,12 @@ table.prefTable { width: 100%; } table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn { - background-image:url(../../../api/templates/default/images/hint.png); + background-image:url(../../../api/templates/default/images/dialog_info.png); background-repeat: no-repeat; background-position: center; height: 99%; } + tr.prefRow:hover {background-color:#f0f0ff} .prefName .et2_label:first-child { padding-top: 2px; @@ -29,7 +30,7 @@ tr.prefRow > td.prefValueColumn { } /*.prefValueColumn {border-right:none !important;}*/ .prefHelpColumn { - border: none !important; + border-left:1px solid #e6e6e6 !important; padding: 0 !important; } .prefHelp { @@ -70,6 +71,7 @@ span.prefDefault { font-size: 150%; margin-top: 10px; margin-right: 5px; + position: relative; } .prefType{ width:49%; diff --git a/preferences/templates/pixelegg/app.css b/preferences/templates/pixelegg/app.css deleted file mode 100755 index 68c2bdc17c..0000000000 --- a/preferences/templates/pixelegg/app.css +++ /dev/null @@ -1,233 +0,0 @@ -/** - * EGroupware: CSS with less preprocessor - * - * PREFERENCES - * - * Please do NOT change app.css directly, instead change app.less and compile it! - * - * @link http://www.egroupware.org - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License - * @author Stefan Reinhardt - * @package preferences - * @version $Id$ - */ -/** - * EGroupware - CSS Styles used by preferences app - * - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License - * @package preferences - * @link http://www.egroupware.org - * @author Ralf Becker - * @version $Id$ - */ -table.prefTable { - width: 100%; -} -table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn { - background-image: url(../../../api/templates/default/images/hint.png); - background-repeat: no-repeat; - background-position: center; - height: 99%; -} -tr.prefRow:hover { - background-color: #f0f0ff; -} -.prefName .et2_label:first-child { - padding-top: 2px; -} -tr.prefRow > td { - vertical-align: top; -} -tr.prefRow > td.prefValueColumn { - vertical-align: middle; -} -/*.prefValueColumn {border-right:none !important;}*/ -.prefHelpColumn { - border: none !important; - padding: 0 !important; -} -.prefHelp { - position: absolute; - display: none; - width: 255px; - max-height: 99%; - height: calc(99% - 150px); - background-color: #f0f0ff; - padding: 5px; - top: 80px; - overflow-y: auto; - z-index: 1; -} -tr.prefRow:hover .prefHelp { - display: block; - z-index: 10; - /* FF: displays it under next prefName without */ -} -.prefDefault, -.prefValue { - float: left; - display: inline-block; -} -.prefValue { - margin-right: 5px; - width: 99%; -} -span.prefDefault { - overflow-x: hidden; - text-overflow: ellipsis; - padding-bottom: 5px; - color: silver; -} -.prefValue textarea, -textarea.prefValue { - width: 99%; - height: 5em; -} -.prefType, -.prefApp { - font-size: 150%; - margin-top: 10px; - margin-right: 5px; -} -.prefType { - width: 49%; -} -.prefApp { - width: 49.5%; -} -#preferences-password .dialogHeader td { - text-align: center; -} -.et2_selectbox.readonly.prefType { - padding: 5px; -} -.prefValueColumn select.prefValue { - white-space: pre-line; -} -/** - * 2FA setup - */ -.securityHeader { - margin-top: 1em; - font-size: 120%; -} -img.qrCode { - position: relative; - left: -14px; -} -.toptApp { - display: list-item !important; - list-style-type: disc; - list-style-position: inside; - white-space: nowrap; -} -.toptStatus { - margin-top: 1em; - font-style: italic; - font-size: 120%; -} -/* ############################################################################# -// iframe -// Rahmen + padding**/ -/*############################################ -# # # -# # # -# # # -# # # -# # # -# # # -# # # -# # iframge # -# # # -# # # -# # # -# # # -# # # -# # # -##############################################*/ -/*app.css Stylite*/ -table.prefTable { - width: 100%; -} -table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn { - background-image: url(../../../api/templates/default/images/dialog_info.png); -} -.prefHelp { - position: absolute; - display: none; - width: 250px; - max-height: 99%; - height: calc(97% - 150px); - padding: 5px; - top: 100px; - z-index: 1; - border: 2px solid dimgrey; - border-radius: 5px; -} -.prefHelpColumn { - border-left: 1px solid #e6e6e6 !important; -} -tr.prefRow:hover .prefHelp { - display: block; - z-index: 10; - /* FF: displays it under next prefName without */ -} -.prefValue { - margin-right: 5px; -} -.prefValue textarea, -textarea.prefValue { - width: 99%; - height: 5em; -} -.prefType, -.prefApp { - font-size: 150%; - display: inline-block; - padding-bottom: 5px; - position: relative; -} -.prefType, -.prefApp { - /*margin: 0.3em;*/ - -webkit-appearance: button; - /*padding:10px;*/ -} -/*Preferences APP / left */ -/*Preferences APP Settings / right*/ -.prefApp::after, -.prefType::after { - background-image: url(../api/templates/default/images/setup.png); - background-repeat: no-repeat; - background-size: contain; - position: absolute; - right: 32px; - content: " "; - width: 16px; - height: 16px; - top: calc(50% - 16px); -} -/*###############################*/ -/*ADMIN DIALOG*/ -#preferences-settings { - margin: -8px; -} -#preferences-settings .et2_tabs, -#preferences-settings table.egwGridView_grid tbody { - border-bottom: none !important; -} -#preferences-settings div.dialogHeader { - height: 50px; -} -#preferences-settings div.dialogHeader select#preferences-settings_appname { - min-width: 47%; - margin: 5px; - -webkit-appearance: button; - padding: 5px; -} -#preferences-settings div.dialogHeader select#preferences-settings_type { - margin: 5px; - min-width: 48%; - -webkit-appearance: button; - padding: 5px; -} diff --git a/preferences/templates/pixelegg/app.less b/preferences/templates/pixelegg/app.less deleted file mode 100755 index c79d617c23..0000000000 --- a/preferences/templates/pixelegg/app.less +++ /dev/null @@ -1,123 +0,0 @@ -/** - * EGroupware: CSS with less preprocessor - * - * PREFERENCES - * - * Please do NOT change app.css directly, instead change app.less and compile it! - * - * @link http://www.egroupware.org - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License - * @author Stefan Reinhardt - * @package preferences - * @version $Id$ - */ - - -@import (reference) "../../../pixelegg/less/def_buttons.less"; -@import (reference) "../../../pixelegg/less/def_design_pattern_color_font_shadow.less"; -@import (less) "../default/app.css"; - -/* ############################################################################# -// iframe -// Rahmen + padding**/ - -/*############################################ -# # # -# # # -# # # -# # # -# # # -# # # -# # # -# # iframge # -# # # -# # # -# # # -# # # -# # # -# # # -##############################################*/ - - -/*app.css Stylite*/ - -table.prefTable { - width: 100%; -} -table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn { - background-image:url(../../../api/templates/default/images/dialog_info.png); -} -.prefHelp { - position: absolute; - display: none; - width: 250px; - max-height: 99%; - height: ~"calc(97% - 150px)"; - padding: 5px; - top: 100px; - z-index: 1; - border: 2px solid dimgrey; - border-radius: 5px; -} -.prefHelpColumn {border-left:1px solid #e6e6e6 !important;} -tr.prefRow:hover .prefHelp { - display: block; - z-index: 10; /* FF: displays it under next prefName without */ -} -.prefValue { - margin-right: 5px; -} -.prefValue textarea, textarea.prefValue { - width: 99%; - height: 5em; -} -.prefType, .prefApp { - font-size: 150%; - display: inline-block; - padding-bottom: 5px; - position: relative; -} - -.prefType, .prefApp { - /*margin: 0.3em;*/ - -webkit-appearance:button; - /*padding:10px;*/ -} - -/*Preferences APP / left */ /*Preferences APP Settings / right*/ -.prefApp::after, .prefType::after { - background-image: url(../api/templates/default/images/setup.png); - background-repeat: no-repeat; - background-size: contain; - position: absolute; - right: 32px; - content: " "; - width: 16px; - height: 16px; - top: calc(50% - 16px); -} - -/*###############################*/ - /*ADMIN DIALOG*/ -#preferences-settings { - .et2_tabs,table.egwGridView_grid tbody {border-bottom: none !important;} - margin: -8px; - // Header - div.dialogHeader { - height: 50px; - // left - select#preferences-settings_appname { - min-width: 47%; - margin: 5px; - -webkit-appearance:button; - padding:5px; - } - // right - select#preferences-settings_type { - margin: 5px; - min-width: 48%; - -webkit-appearance:button; - padding:5px; - } - } -} \ No newline at end of file