egroupware_official/pixelegg/css/pixelegg.less

427 lines
15 KiB
Plaintext
Raw Normal View History

2013-11-11 19:45:33 +01:00
/**
* EGroupware: pixelegg standard theme
2013-11-11 19:45:33 +01:00
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Hadi Nategh <hn@stylite.de>
2013-11-11 19:45:33 +01:00
* @package pixelegg
*/
@import "monochrome.less";
@import "../less/app_colors.less";
@import "../../node_modules/bootstrap-icons/font/bootstrap-icons.min.css";
2014-01-14 17:05:31 +01:00
2024-08-14 14:30:07 +02:00
// overwriting Shoelace light theme
:root, :host, .sl-theme-light {
--sl-font-sans: egroupware, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--sl-button-font-size-medium: var(--sl-font-size-medium);
--sl-input-help-text-font-size-medium: var(--sl-font-size-medium);
--sl-spacing-small: 0.1rem;
--et2-button-image-padding-left: .1rem;
2024-08-14 14:30:07 +02:00
--sl-spacing-medium: 0.5rem;
--sl-input-border-radius-small: 2px;
--sl-input-border-radius-medium: 3px;
--sl-input-border-color-focus: #E6E6E6;
--sl-panel-border-color: var(--sl-color-neutral-400);
2024-08-14 14:30:07 +02:00
--indicator-color: #696969;
--sl-input-focus-ring-color: #26537C;
--sl-focus-ring-width: 2px;
--sl-color-gray-150: hsl(240, 4.9%, 92.5%);
--track-width: 3px;
2024-09-19 17:34:52 +02:00
--et2-favorites-left: .4em;
2024-08-14 14:30:07 +02:00
}
2024-08-29 01:48:17 +02:00
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
vertical-align: middle;
}
// Addressbook
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #addressbook_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@addressbook-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @addressbook-color !important;
}
#egw_fw_firstload {
position: absolute;
top: 0;
left: 0;
bottom: 0;
background: white;
height: 100%;
width: 100%;
}
#egw_fw_sidebar {
#egw_fw_sidemenu {
#addressbook_sidebox_content {
.egw_fw_ui_category_active {
background-color: @addressbook-color !important;
}
}
#infolog_sidebox_content {
.egw_fw_ui_category_active {
background-color: @infolog-color !important;
}
}
#mail_sidebox_content {
.egw_fw_ui_category_active {
background-color: @mail-color !important;
}
}
#calendar_sidebox_content {
.egw_fw_ui_category_active {
background-color: @calendar-color !important;
}
}
#tracker_sidebox_content {
.egw_fw_ui_category_active {
background-color: @tracker-color !important;
}
}
#timesheet_sidebox_content {
.egw_fw_ui_category_active {
background-color: @timesheet-color !important;
}
}
#admin_sidebox_content {
.egw_fw_ui_category_active {
background-color: @admin-color !important;
}
}
#resources_sidebox_content {
.egw_fw_ui_category_active {
background-color: @resources-color !important;
}
}
#filemanager_sidebox_content {
.egw_fw_ui_category_active {
background-color: @filemanager-color !important;
}
}
#bookmarks_sidebox_content {
.egw_fw_ui_category_active {
background-color: @bookmarks-color !important;
}
}
#projectmanager_sidebox_content {
.egw_fw_ui_category_active {
background-color: @projectmanager-color !important;
}
}
#ranking_sidebox_content {
.egw_fw_ui_category_active {
background-color: @ranking-color !important;
}
}
2021-03-31 16:56:43 +02:00
#kanban_sidebox_content {
.egw_fw_ui_category_active {
background-color: @kanban-color !important;
}
}
}
}
#addressbook_sidebox_header.egw_fw_ui_sidemenu_entry_header_active{
border-top:4px solid @addressbook-color !important;
2019-05-31 16:20:20 +02:00
border-left:0px !important;
}
#addressbook_sidebox_header {border-left:4px solid @addressbook-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #addressbook-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @addressbook-color;
border-top-width: 4px !important;
}
// Admin
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #admin_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@admin-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @admin-color !important;
}
#admin_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @admin-color !important;
2019-05-31 16:20:20 +02:00
border-left:0px !important;
}
#admin_sidebox_header {border-left:4px solid @admin-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #admin-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @admin-color;
border-top-width: 4px !important;
}
// Bookmarks
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #bookmarks_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@bookmarks-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @bookmarks-color !important;
}
#bookmarks_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @bookmarks-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#bookmarks_sidebox_header {border-left:4px solid @bookmarks-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #bookmarks-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @bookmarks-color;
border-top-width: 4px !important;
}
// Calendar
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #calendar_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@calendar-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @calendar-color !important;
}
#calendar_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @calendar-color !important;
2019-05-31 16:20:20 +02:00
border-left:0px !important;
}
#calendar_sidebox_header {border-left:4px solid @calendar-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #calendar-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @calendar-color;
border-top-width: 4px !important;
}
// Filemanager
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #filemanager_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@filemanager-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @filemanager-color !important;
}
#filemanager_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @filemanager-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#filemanager_sidebox_header {border-left:4px solid @filemanager-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #filemanager-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @filemanager-color;
border-top-width: 4px !important;
}
// Infolog
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #infolog_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@infolog-color, 30%);
border-left:4px solid @infolog-color !important;
}
#infolog_sidebox_header{
border-left:4px solid @infolog-color !important;
}
#infolog_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @infolog-color !important;
border-left: 0px !important;
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #infolog-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @infolog-color;
border-top-width: 4px !important;
}
// Mail
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #mail_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@mail-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @mail-color !important;
}
#mail_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @mail-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#mail_sidebox_header {
border-left:4px solid @mail-color !important;
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #mail-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @mail-color;
border-top-width: 4px !important;
}
// Projectmanager
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #projectmanager_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@projectmanager-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @projectmanager-color !important;
}
#projectmanager_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @projectmanager-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#projectmanager_sidebox_header {border-left:4px solid @projectmanager-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #projectmanager-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @projectmanager-color;
border-top-width: 4px !important;
}
// Resources
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #resources_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@resources-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @resources-color !important;
}
#resources_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @resources-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#resources_sidebox_header {border-left:4px solid @resources-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #resources-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @resources-color;
border-top-width: 4px !important;
}
// Timesheet
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #timesheet_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@timesheet-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @timesheet-color !important;
}
#timesheet_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @timesheet-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#timesheet_sidebox_header {border-left:4px solid @timesheet-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #timesheet-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @timesheet-color;
border-top-width: 4px !important;
}
// Tracker
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #tracker_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@tracker-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @tracker-color !important;
}
#tracker_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @tracker-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#tracker_sidebox_header {border-left:4px solid @tracker-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #tracker-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @tracker-color;
border-top-width: 4px !important;
}
// Wiki
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #wiki_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@wiki-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @wiki-color !important;
}
#wiki_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @wiki-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#wiki_sidebox_header {border-left:4px solid @wiki-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #wiki-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @wiki-color;
border-top-width: 4px !important;
}
2021-03-31 16:56:43 +02:00
//Kanban
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #kanban_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@kanban-color, 30%);
border-left:4px solid @kanban-color !important;
}
#kanban_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @kanban-color !important;
border-left: 0px !important;
}
#kanban_sidebox_header {border-left:4px solid @kanban-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #kanban-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @kanban-color;
border-top-width: 4px !important;
}
// Ranking
2019-05-24 16:11:30 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #ranking_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@ranking-color, 30%);
2019-05-31 16:20:20 +02:00
border-left:4px solid @ranking-color !important;
}
#ranking_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
border-top:4px solid @ranking-color !important;
2019-05-31 16:20:20 +02:00
border-left: 0px !important;
}
#ranking_sidebox_header {border-left:4px solid @ranking-color !important;}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header #ranking-egw_fw_ui_tab_header.egw_fw_ui_tab_header_active {
border-top: 4px solid;
border-top-color: @ranking-color;
border-top-width: 4px !important;
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header img.egw_fw_ui_tab_icon{
filter: none;
width: calc(1em + 2px) !important;
height: calc(1em + 2px) !important;
}
.standartTreeImage {
filter: none;
}
2019-05-31 16:20:20 +02:00
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn {
.egw_fw_ui_scrollarea_outerdiv {
.egw_fw_ui_sidemenu_entry_header_active {
border-top: 0px !important;
margin-left: 3px !important;
padding-top: 6px;
}
}
2019-05-31 16:20:20 +02:00
}
#egw_fw_sidebar {
#egw_fw_sidemenu{
.egw_fw_ui_scrollarea_outerdiv {
2019-03-21 11:53:37 +01:00
.egw_fw_ui_sidemenu_entry_header {
border-left:4px solid @default-color;
}
.egw_fw_ui_sidemenu_entry_icon {
filter: none;
}
.egw_fw_ui_sidemenu_entry_header_active {
border-top: 4px solid @default-color;
border-left: 0px;
}
}
}
}
2019-03-21 11:53:37 +01:00
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header_active {
border-top-color: @default-color;
2019-05-24 16:11:30 +02:00
border-top: 4px solid;
2019-03-21 11:53:37 +01:00
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item td.sub_item_icon img[src*="svg"] {
background-color : transparent;
background-image: none;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item td.sub_item_icon {
}
2020-05-21 22:47:44 +02:00
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
2020-05-21 22:47:44 +02:00
}
body > .egw_menu::part(popup) {
z-index: var(--sl-z-index-dropdown);
}
2024-07-17 18:10:24 +02:00
body > .egw_menu egw-menu-shoelace {
--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 60%);
2024-07-17 18:10:24 +02:00
}
.egwGridView_scrollarea tr.row_category > td:first-child, .select-cat li {
border-left: 4px solid transparent;
}
.egwGridView_scrollarea tr {touch-action:initial;}
.et2_taglist_category span[class*="cat_"]:not([class*="cat_level"]) {width:4px;}
.et2_taglist_category.et2_taglist_single span[class*="cat_"]:not([class*="cat_level"]) {
height: 1.5em;
margin-bottom: -6px;
position: absolute;
margin-left: -8px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
img.et2_button_icon[src*="svg"], img.et2_button_icon[src*="svg"]:hover {
background-color: transparent;
background-image: none;
}
/* set default placeholder color*/
::placeholder {
color: @color_placeholder;
opacity: 1;
}
:-ms-input-placeholder {
color: @color_placeholder;
}
::-ms-input-placeholder{
color: @color_placeholder;
2024-09-19 17:34:52 +02:00
}
.et2_toolbar et2-button:not(.et2_toolbar_onlyCaption):not(.et2_toolbar_hasCaption)::part(base) {
justify-content: center;
--et2-button-image-padding-left: 0;
padding-inline-start: 0;
2022-08-02 15:55:07 +02:00
}