2024-08-14 14:30:07 +02:00
|
|
|
/**
|
|
|
|
* EGroupware: "fancy" theme
|
|
|
|
*
|
|
|
|
* @link https://www.egroupware.org
|
|
|
|
* @license https://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @package pixelegg
|
|
|
|
*/
|
|
|
|
@import "pixelegg.less";
|
|
|
|
|
2024-08-28 21:58:28 +02:00
|
|
|
// overwriting pixelegg.less and Shoelace themes
|
|
|
|
:root, :host, .sl-theme-light, .sl-theme-dark {
|
2024-09-13 00:06:41 +02:00
|
|
|
--sl-border-radius-medium: 20px;
|
2024-09-20 00:25:28 +02:00
|
|
|
--sl-border-radius-small: 1rem;
|
2024-09-13 00:06:41 +02:00
|
|
|
--sl-input-border-radius-medium: var(--sl-border-radius-medium);
|
2024-09-19 17:58:57 +02:00
|
|
|
--et2-button-image-padding-left: .6rem;
|
2024-10-30 13:48:39 +01:00
|
|
|
--can-scroll: 1;
|
2024-09-19 17:58:57 +02:00
|
|
|
|
|
|
|
et2-button:not(imageOnly) > et2-image[class*="circle"], et2-button:not(imageOnly) > et2-image[class*="clock"]{
|
|
|
|
--et2-button-image-padding-left: .2rem;
|
|
|
|
}
|
2024-09-13 00:06:41 +02:00
|
|
|
|
2024-11-04 22:15:39 +01:00
|
|
|
et2-button:not([label])::part(base), et2-button-timestamp::part(base) {
|
|
|
|
--sl-input-border-color: transparent;
|
|
|
|
}
|
|
|
|
et2-vfs-select::part(base), et2-link-to::part(button_base) {
|
|
|
|
--sl-input-border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2024-09-13 00:06:41 +02:00
|
|
|
et2-tabbox {
|
|
|
|
--track-width: 0px;
|
|
|
|
|
|
|
|
&::part(tabs) {
|
2024-09-13 19:48:39 +02:00
|
|
|
padding-bottom: var(--sl-spacing-x-small);
|
2024-09-19 17:34:52 +02:00
|
|
|
padding-top: var(--sl-spacing-large);
|
2024-09-13 19:48:39 +02:00
|
|
|
gap: var(--sl-spacing-medium);
|
2024-09-13 00:06:41 +02:00
|
|
|
}
|
|
|
|
|
2024-10-30 11:44:57 +01:00
|
|
|
// left rounded box around the tab content to visually group it
|
2024-10-30 13:48:39 +01:00
|
|
|
//scroll detection detect if scrollbar is available scroll detection only works in chromium not in Firefox or Safari
|
|
|
|
// see https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timeline#browser_compatibility
|
2024-10-30 11:44:57 +01:00
|
|
|
&::part(body){
|
2024-10-30 13:48:39 +01:00
|
|
|
animation: detect-scroll linear;
|
|
|
|
animation-timeline: scroll(self);
|
2024-10-30 11:44:57 +01:00
|
|
|
border: 1px solid var(--sl-color-neutral-300);
|
|
|
|
border-radius: var(--sl-border-radius-medium);
|
2024-10-30 13:48:39 +01:00
|
|
|
border-bottom-right-radius: calc(var(--can-scroll)*var(--sl-border-radius-medium));
|
|
|
|
border-top-right-radius: calc(var(--can-scroll)*var(--sl-border-radius-medium));
|
2024-10-30 11:44:57 +01:00
|
|
|
padding: var(--sl-spacing-medium);
|
|
|
|
}
|
|
|
|
|
2024-09-13 00:06:41 +02:00
|
|
|
et2-tab {
|
|
|
|
&::part(base) {
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: var(--sl-color-neutral-300);
|
|
|
|
border-radius: var(--sl-border-radius-pill);
|
|
|
|
}
|
2024-09-13 21:33:49 +02:00
|
|
|
|
|
|
|
|
2024-09-13 00:06:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
et2-tab[active] {
|
|
|
|
&::part(base) {
|
|
|
|
border-color: var(--sl-color-neutral-900);
|
|
|
|
}
|
|
|
|
}
|
2024-09-13 21:33:49 +02:00
|
|
|
|
|
|
|
.tabLabel {
|
2024-09-19 17:34:52 +02:00
|
|
|
max-height: 1.1em;
|
2024-09-13 21:33:49 +02:00
|
|
|
}
|
2024-09-13 00:06:41 +02:00
|
|
|
|
|
|
|
.et2_toolbar input.et2_textbox, .nextmatch_header_row input.et2_textbox{
|
|
|
|
border-radius: var(--sl-border-radius-pill);
|
|
|
|
}
|
|
|
|
}
|
2024-08-27 19:15:25 +02:00
|
|
|
}
|
|
|
|
|
2024-09-13 19:48:39 +02:00
|
|
|
.et2_required:not(.hasValue){
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
2024-10-30 16:40:20 +01:00
|
|
|
.et2_toolbar {
|
|
|
|
padding: 0;
|
|
|
|
border-bottom: var(--sl-panel-border-width) solid var(--sl-panel-border-color);
|
|
|
|
}
|
|
|
|
|
2024-11-05 22:12:58 +01:00
|
|
|
// Nextmatch
|
|
|
|
.et2_nextmatch .nextmatch_header {
|
|
|
|
border-bottom: var(--sl-panel-border-width) solid var(--sl-panel-border-color);
|
|
|
|
|
|
|
|
.nextmatch_header_row {
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-19 19:27:56 +02:00
|
|
|
//rounded flatpickr
|
|
|
|
div.flatpickr-calendar {
|
|
|
|
border-radius: var(--sl-border-radius-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.flatpickr-calendar .flatpickr-months {
|
|
|
|
border-top-left-radius: var(--sl-border-radius-medium);
|
|
|
|
border-top-right-radius: var(--sl-border-radius-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.flatpickr-calendar .shortcut-buttons-flatpickr-buttons button:first-child {
|
|
|
|
border-bottom-left-radius: var(--sl-border-radius-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.flatpickr-calendar .shortcut-buttons-flatpickr-buttons button:last-child {
|
|
|
|
border-bottom-right-radius: var(--sl-border-radius-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-calendar > .flatpickr-time:first-child{
|
|
|
|
border-top-left-radius: var(--sl-border-radius-medium);
|
|
|
|
border-top-right-radius: var(--sl-border-radius-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flatpickr-calendar > .flatpickr-time:first-child .flatpickr-minute ~ span{
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
//end rounded flatpickr
|
|
|
|
|
|
|
|
|
2024-08-27 19:15:25 +02:00
|
|
|
// styling of legacy NM parts
|
|
|
|
.nextmatch_header .header_count {
|
2024-09-13 00:06:41 +02:00
|
|
|
border-radius: var(--sl-border-radius-medium);
|
2024-09-26 20:04:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//tabs header styling
|
|
|
|
#egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_sidemenu_entry_header_active h1 {
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
|
2024-11-05 19:59:48 +01:00
|
|
|
#egw_fw_header {
|
|
|
|
#egw_divLogo img {
|
|
|
|
margin-top: 2px;
|
|
|
|
height: 41px;
|
|
|
|
}
|
|
|
|
}
|
2024-09-26 20:04:20 +02:00
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header{
|
|
|
|
gap:1em;
|
|
|
|
padding-top: 5px;
|
2024-11-05 21:35:18 +01:00
|
|
|
height: 37px;
|
|
|
|
.egw_fw_ui_tab_header_active {
|
|
|
|
border-bottom-width: 0px !important;
|
|
|
|
}
|
2024-09-26 20:04:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header h1 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header img.egw_fw_ui_tab_icon {
|
|
|
|
width: 40px !important;
|
|
|
|
height: 28px !important;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding-top: .2em;
|
|
|
|
padding-right:.5em;
|
|
|
|
padding-left: .5em;
|
|
|
|
}
|
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header{
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover:not(.egw_fw_ui_tab_header_active){
|
|
|
|
border-top:0;
|
|
|
|
}
|
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover{
|
|
|
|
border-top:0;
|
|
|
|
}
|
|
|
|
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tab_close_button{
|
|
|
|
background-size: 12px 12px;
|
|
|
|
right: 0px;
|
|
|
|
top: 2px
|
2024-09-27 11:57:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//sidebox
|
|
|
|
|
|
|
|
#egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_sidemenu_entry_content .egw_fw_ui_category{
|
|
|
|
border-radius: var(--sl-border-radius-medium);
|
2024-10-28 21:28:44 +01:00
|
|
|
|
|
|
|
.egw_fw_ui_category_content {
|
|
|
|
border-width : 1px ;
|
|
|
|
border-style: solid;
|
|
|
|
border-radius: var(--sl-border-radius-medium);
|
|
|
|
border-top: none;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2024-10-28 22:01:19 +01:00
|
|
|
|
|
|
|
ul li {
|
|
|
|
border-radius: var(--sl-border-radius-medium);
|
|
|
|
}
|
2024-10-28 21:28:44 +01:00
|
|
|
}
|