├── .gitignore ├── .npmignore ├── README.md ├── bower.json ├── codebase ├── dhtmlxscheduler.css ├── dhtmlxscheduler.d.ts ├── dhtmlxscheduler.es.d.ts ├── dhtmlxscheduler.es.js ├── dhtmlxscheduler.es.js.map ├── dhtmlxscheduler.js ├── dhtmlxscheduler.js.map └── sources │ ├── dhtmlxscheduler.css │ ├── dhtmlxscheduler.es.js │ ├── dhtmlxscheduler.es.js.map │ ├── dhtmlxscheduler.js │ ├── dhtmlxscheduler.js.map │ └── less │ ├── package.json │ ├── scripts.js │ ├── src │ ├── agenda.less │ ├── agenda_legacy.less │ ├── base.less │ ├── buttons.less │ ├── columns_event.less │ ├── columns_view.less │ ├── datepicker.less │ ├── grid_view.less │ ├── iconfont │ │ ├── dhx-scheduler-icons.woff │ │ └── dhx-scheduler-icons.woff2 │ ├── icons.less │ ├── imgs │ │ ├── alert.svg │ │ ├── arrow │ │ │ ├── down.svg │ │ │ ├── left.svg │ │ │ ├── right.svg │ │ │ └── up.svg │ │ ├── calendar.svg │ │ ├── cancel.svg │ │ ├── check.svg │ │ ├── chevron │ │ │ ├── down.svg │ │ │ ├── left.svg │ │ │ ├── right.svg │ │ │ └── up.svg │ │ ├── clock.svg │ │ ├── close.svg │ │ ├── delete.svg │ │ ├── details.svg │ │ ├── dots │ │ │ ├── h.svg │ │ │ └── v.svg │ │ ├── drag.svg │ │ ├── drag_horizontal.svg │ │ ├── drag_vertical.svg │ │ ├── edit.svg │ │ ├── form.svg │ │ ├── iclose.svg │ │ ├── loading.svg │ │ ├── menu.svg │ │ ├── menu │ │ │ ├── down.svg │ │ │ └── right.svg │ │ ├── ok.svg │ │ ├── plus.svg │ │ ├── save.svg │ │ └── sort │ │ │ ├── asc.svg │ │ │ └── desc.svg │ ├── index.less │ ├── layout.less │ ├── lightbox.less │ ├── misc.less │ ├── modals.less │ ├── month_event.less │ ├── month_view.less │ ├── quick_info.less │ ├── themes │ │ ├── contrast_black.less │ │ ├── contrast_white.less │ │ ├── dark.less │ │ ├── flat.less │ │ ├── index.less │ │ ├── material.less │ │ └── variables.less │ ├── timeline.less │ ├── tooltip.less │ ├── week_agenda_view.less │ └── year_view.less │ └── theme.less ├── license.txt ├── package.json └── whatsnew.md /.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | codebase/connector 2 | .gitignore 3 | .idea -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # dhtmlxScheduler # 2 | 3 | [![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/) 4 | [![npm: v.7.2.5](https://img.shields.io/badge/npm-v.7.2.5-blue.svg)](https://www.npmjs.com/package/dhtmlx-scheduler) 5 | [![License: GPL v2](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) 6 | 7 | [DHTMLX Scheduler](https://dhtmlx.com/docs/products/dhtmlxScheduler) is a JavaScript library that allows you to add a Google-like scheduler to your web app or website. 8 | 9 | Intuitive drag-and-drop interface allows end users to quickly manage events and appointments in 10 different views, including Day, Week, Month, Year, Agenda, Timeline, etc. The Scheduler also supports integration with Google Maps so users can assign a location to the particular calendar events. Moreover, they can create recurring and multiday events. 10 | 11 | ![DHTMLX Scheduler Demo](https://github.com/plazarev/media/blob/master/javascript-scheduler-dhtmlx.png?raw=true) 12 | 13 | ==> [See more samples](https://docs.dhtmlx.com/scheduler/samples/index.html) 14 | 15 | 16 | ## Getting started ## 17 | 18 | Add files: 19 | ~~~html 20 | 21 | 22 | ~~~ 23 | 24 | Add markup: 25 | ~~~html 26 |
27 |
28 |
 
29 |
 
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 | ~~~ 40 | 41 | And initialize: 42 | ~~~js 43 | scheduler.config.first_hour = 6; 44 | scheduler.config.last_hour = 19; 45 | scheduler.init('scheduler_here', new Date(2024, 3, 20), "week"); 46 | scheduler.parse([ 47 | { id:1, start_date: "2024-04-15 09:00", end_date: "2024-04-15 12:00", text:"English lesson" }, 48 | { id:2, start_date: "2024-04-16 10:00", end_date: "2024-04-16 16:00", text:"Math exam" }, 49 | { id:3, start_date: "2024-04-16 10:00", end_date: "2024-04-21 16:00", text:"Science lesson" }, 50 | { id:4, start_date: "2024-04-17 16:00", end_date: "2024-04-17 17:00", text:"English lesson" }, 51 | { id:5, start_date: "2024-04-18 09:00", end_date: "2024-04-18 17:00", text:"Usual event" } 52 | ]); 53 | ~~~ 54 | 55 | ==> [Check the live demo](https://snippet.dhtmlx.com/jb8mc2c7?text=scheduler) 56 | 57 | ## Complete guides ## 58 | 59 | - [Vue.js](https://dhtmlx.com/blog/use-dhtmlx-scheduler-vue-js-framework-demo/) 60 | - [Angular](https://dhtmlx.com/blog/angular-dhtmlxscheduler-tutorial/) 61 | - [Node](https://docs.dhtmlx.com/scheduler/howtostart_nodejs.html) 62 | - ASP.NET 63 | - [ASP.NET Core](https://docs.dhtmlx.com/scheduler/howtostart_dotnet_core.html) 64 | - [ASP.NET MVC](https://docs.dhtmlx.com/scheduler/howtostart_dotnet.html) 65 | - PHP 66 | - [Plain PHP](https://docs.dhtmlx.com/scheduler/howtostart_plain_php.html) 67 | - [Laravel](https://docs.dhtmlx.com/scheduler/howtostart_php_laravel.html) 68 | - [Slim framework](https://docs.dhtmlx.com/scheduler/howtostart_php_slim4.html) 69 | - [Ruby on Rails](https://docs.dhtmlx.com/scheduler/howtostart_ruby.html) 70 | 71 | ==> [Check all tutorials](https://docs.dhtmlx.com/scheduler/howtostart_guides.html) 72 | 73 | ## Features ## 74 | 75 | - Responsive design and full support for touch screens 76 | 77 | - Support for all modern browsers: Google Chrome, Safari, Firefox and MS Edge 78 | 79 | - Configurable options - color shapes, time scales, custom form for recurring events, 25 languages, and RTL support 80 | 81 | ![RTL support](https://dhtmlx.com/blog/wp-content/uploads/2019/09/Scheduler-RTL-views.gif) 82 | 83 | - Export service to XML, iCal, JSON, PDF, PNG, MS Project 84 | 85 | - Dynamic loading 86 | - PHP, ASP.NET, Java, CF [connectors](https://dhtmlx.com/docs/products/dhtmlxConnector/) 87 | 88 | ## License ## 89 | 90 | dhtmlxScheduler v.7.2.5 Standard 91 | 92 | To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com 93 | 94 | (c) XB Software Ltd. 95 | 96 | 97 | ## Useful links ## 98 | 99 | - [Documentation](https://docs.dhtmlx.com/scheduler/) 100 | - [Online samples](https://docs.dhtmlx.com/scheduler/samples/index.html) 101 | - [Video tutorials](https://www.youtube.com/playlist?list=PLKS_XdyIGP4M1Jtg1qyjdJtCsqU1bqGsc) 102 | - [DHTMLX Scheduler product page](https://dhtmlx.com/docs/products/dhtmlxScheduler/) 103 | - [List of available integrations](https://dhtmlx.com/docs/products/integrations/) 104 | - [Export services](https://dhtmlx.com/docs/products/dhtmlxScheduler/export.shtml) 105 | - [Support forum](https://forum.dhtmlx.com/c/scheduler-all/scheduler) 106 | 107 | ## Follow us ## 108 | 109 | Star our GitHub repo :star: 110 | 111 | Take a [survey](https://docs.google.com/forms/d/e/1FAIpQLSee5YV4WBfZ17RJ-H1TpkBYYcXsZTr0xqNpOrhGrCLiaQeOJQ/viewform) to help us understand your needs :memo: 112 | 113 | Read us on [Medium](https://medium.com/@dhtmlx) :newspaper: 114 | 115 | Follow us on [Twitter](https://twitter.com/dhtmlx) :bird: 116 | 117 | Like our page on [Facebook](https://www.facebook.com/dhtmlx/) :+1: 118 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "scheduler", 3 | "version": "7.2.5", 4 | "homepage": "https://dhtmlx.com/docs/products/dhtmlxScheduler/", 5 | "description": "JavaScript event calendar. Allows to manage events and appointments in different views", 6 | "main": [ 7 | "codebase/dhtmlxscheduler.js", 8 | "codebase/dhtmlxscheduler_material.css" 9 | ], 10 | "keywords": [ 11 | "calendar", 12 | "scheduler", 13 | "dhtmlx", 14 | "agenda", 15 | "month", 16 | "day", 17 | "week", 18 | "year" 19 | ], 20 | "license": "<%= pkg.licenseName %>" 21 | } 22 | -------------------------------------------------------------------------------- /codebase/sources/less/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dhtmlx-scheduler-skins", 3 | "version": "7.2.5", 4 | "description": "Less sources and a build tool for DHTMLXScheduler skins", 5 | "scripts": { 6 | "build": "node scripts.js --file=theme", 7 | "watch": "npm-watch build" 8 | }, 9 | "watch":{ 10 | "build": { 11 | "patterns":["./"], 12 | "extensions": "less" 13 | } 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "https://github.com/DHTMLX/scheduler" 18 | }, 19 | "author": "XB Software Ltd.", 20 | "license": "GPL-2.0", 21 | "homepage": "https://dhtmlx.com", 22 | "dependencies": { 23 | "less": "^3.0.4", 24 | "minimist": "^1.2.6", 25 | "npm-watch": "^0.11.0", 26 | "postcss": "^8.4.14", 27 | "postcss-url": "^10.1.3" 28 | }, 29 | "devDependencies": {} 30 | } 31 | -------------------------------------------------------------------------------- /codebase/sources/less/scripts.js: -------------------------------------------------------------------------------- 1 | const less = require('less'); 2 | const path = require("path"); 3 | const postcss = require('postcss') 4 | const url = require("postcss-url") 5 | const fs = require('fs') 6 | 7 | const argv = require('minimist')(process.argv.slice(2)); 8 | 9 | let themeArg = argv.file; 10 | 11 | if (!themeArg) { 12 | throw new Error("Theme root file not specified"); 13 | } 14 | 15 | const theme = String(themeArg).trim(); 16 | const inputFolder = `./`; 17 | const inputPath = `${inputFolder}${theme}.less`; 18 | const outputPath = `./${theme}.css`; 19 | 20 | 21 | if (!theme.match(/^[a-zA-Z0-9_\-]+$/)) { 22 | throw new Error(`Invalid theme root file: ${theme}, a local less file is expected.`); 23 | } 24 | 25 | if (!fs.existsSync(inputPath)) { 26 | throw new Error(`Theme file is not found: ${theme}`); 27 | } 28 | 29 | console.log(`Building: ${theme}`); 30 | 31 | less.render(fs.readFileSync(inputPath, "utf-8"), { rewriteUrls: "all" }) 32 | .then(function (output) { 33 | runPostCss(output.css, 34 | inputPath, 35 | outputPath 36 | ) 37 | }, 38 | function (error) { 39 | }); 40 | 41 | function runPostCss(css, from, to) { 42 | postcss() 43 | .use(url({ 44 | url: 'inline' 45 | })) 46 | .process(css, { 47 | from: from, 48 | to: to 49 | }).then(result => { 50 | fs.writeFileSync(outputPath, result.css); 51 | console.log(`Finished: ${theme} -> ${path.resolve(outputPath)}`); 52 | }); 53 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/agenda.less: -------------------------------------------------------------------------------- 1 | .dhx_scheduler_agenda .dhx_cal_header{ 2 | display: none; 3 | } 4 | 5 | .dhx_cal_agenda_day{ 6 | 7 | --dhx-scheduler-agenda-date-width: 110px; 8 | --dhx-scheduler-agenda-event-date-width: 120px; 9 | display: flex; 10 | flex-direction: row; 11 | flex-wrap: nowrap; 12 | border-bottom: var(--dhx-scheduler-default-border); 13 | &_header{ 14 | padding: 8px 12px; 15 | display: flex; 16 | flex-direction: column; 17 | gap: 8px; 18 | flex-grow: 0; 19 | flex-shrink: 0; 20 | width: var(--dhx-scheduler-agenda-date-width); 21 | border-right: var(--dhx-scheduler-default-border); 22 | } 23 | 24 | &_events{ 25 | padding: 8px 12px; 26 | flex: 1 27 | } 28 | } 29 | 30 | .dhx_agenda_day_date{ 31 | font-weight: 500; 32 | } 33 | 34 | .dhx_agenda_day_dow { 35 | 36 | } 37 | 38 | .dhx_cal_agenda_event_line{ 39 | display: flex; 40 | align-items: center; 41 | justify-content: start; 42 | gap: 16px; 43 | padding: calc( var(--dhx-scheduler-base-padding)* 2); 44 | &_selected{ 45 | background-color: var(--dhx-scheduler-base-colors-select); 46 | } 47 | 48 | &_marker{ 49 | .dhx_cal_event_marker(); 50 | 51 | } 52 | 53 | &_time{ 54 | font-weight: 500; 55 | min-width: var(--dhx-scheduler-agenda-event-date-width); 56 | text-align: center; 57 | } 58 | 59 | &_text{ 60 | 61 | } 62 | } 63 | 64 | .dhx_cal_agenda_no_events{ 65 | width: 100%; 66 | height: 100%; 67 | display: flex; 68 | justify-content: center; 69 | align-items: center; 70 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/agenda_legacy.less: -------------------------------------------------------------------------------- 1 | .dhx_scheduler_map .dhx_cal_header, 2 | .dhx_scheduler_agenda .dhx_cal_header { 3 | height: auto; 4 | } 5 | 6 | .dhx_agenda_line_header { 7 | clear: both; 8 | overflow: hidden; 9 | } 10 | 11 | .dhx_agenda_line, .dhx_map_line { 12 | 13 | height: var(--dhx-scheduler-list-line-height); 14 | line-height: var(--dhx-scheduler-list-line-height); 15 | overflow: hidden; 16 | display: flex; 17 | 18 | .dhx_agenda_event_time, .dhx_map_event_time { 19 | flex-shrink: 0; 20 | width: 188px; 21 | text-align: center; 22 | border-right: var(--dhx-scheduler-default-border); 23 | } 24 | 25 | .dhx_event_icon { 26 | height: 33px; 27 | width: 33px; 28 | display: flex; 29 | align-items: center; 30 | justify-content: center; 31 | 32 | path { 33 | fill: var(--dhx-scheduler-base-colors-primary); 34 | } 35 | } 36 | 37 | >div:first-child { 38 | width: var(--dhx-scheduler-agenda-date-column-width); 39 | text-align: center; 40 | } 41 | } 42 | 43 | .dhx_agenda_line:nth-child(even), 44 | .dhx_map_line:nth-child(even) { 45 | background: var(--dhx-scheduler-base-colors-select); 46 | } 47 | 48 | .dhx_map_area{ 49 | height:100%; 50 | } 51 | 52 | .dhx_map_head{ 53 | display: flex; 54 | height: 100%; 55 | } 56 | 57 | .dhx_map_head > div { 58 | display: flex; 59 | justify-content: center; 60 | align-items: center; 61 | padding: 0 var(--dhx-scheduler-base-padding); 62 | } 63 | 64 | .dhx_v_border{ 65 | position: absolute; 66 | height: 100%; 67 | border-left: var(--dhx-scheduler-default-border); 68 | top:0; 69 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/base.less: -------------------------------------------------------------------------------- 1 | .dhx_unselectable, 2 | .dhx_unselectable div { 3 | user-select: none; 4 | } 5 | 6 | .dhx_cal_container { 7 | position: relative; 8 | overflow: hidden; 9 | font-family: var(--dhx-scheduler-font-family); 10 | font-size: var(--dhx-scheduler-font-size); 11 | line-height: 110%; 12 | display: flex; 13 | flex-direction: column; 14 | 15 | background-color: var(--dhx-scheduler-container-background); 16 | color: var(--dhx-scheduler-container-color); 17 | 18 | text-rendering: optimizeLegibility; 19 | -webkit-font-smoothing: antialiased; 20 | 21 | div[role="button"] { 22 | cursor: pointer; 23 | } 24 | 25 | &.dhx_cal_container_rtl { 26 | direction: rtl; 27 | } 28 | } 29 | 30 | .dhx_cal_container, 31 | .dhx_cal_container * { 32 | box-sizing: border-box; 33 | } 34 | 35 | .dhx_cal_container div { 36 | user-select: none; 37 | } 38 | 39 | .dhx_cal_data, 40 | .dhx_cal_event, 41 | .dhx_cal_event_clear, 42 | .dhx_cal_event_line { 43 | touch-action: pan-y; 44 | } 45 | 46 | .dhx_cal_navline { 47 | position: relative; 48 | display: flex; 49 | align-items: center; 50 | flex-wrap: wrap; 51 | row-gap: 8px; 52 | justify-content: space-between; 53 | font-weight: var(--dhx-scheduler-important-font-weight); 54 | padding: 12px; 55 | min-height: var(--dhx-scheduler-toolbar-height); 56 | color: var(--dhx-scheduler-navline-font-color); 57 | } 58 | 59 | 60 | .dhx_cal_navline_flex { 61 | .dhx_cal_navbar_rows_container { 62 | display: flex; 63 | align-items: center; 64 | flex-direction: column; 65 | box-sizing: border-box; 66 | flex-grow: 1; 67 | gap:12px; 68 | height: 100%; 69 | } 70 | 71 | .dhx_cal_date { 72 | width: auto; 73 | margin-left: auto; 74 | margin-right: auto; 75 | } 76 | 77 | .dhx_cal_today_button { 78 | order: unset; 79 | } 80 | 81 | .dhx_cal_navbar_row { 82 | display: flex; 83 | flex-direction: row; 84 | flex-wrap: wrap; 85 | align-items: center; 86 | padding: 0 1vw; 87 | box-sizing: border-box; 88 | height: 100%; 89 | width: 100%; 90 | flex-grow: 1; 91 | flex-shrink: 1; 92 | } 93 | 94 | .dhx_cal_line_spacer { 95 | display: block; 96 | width: auto; 97 | flex-grow: 1; 98 | } 99 | } 100 | 101 | @media only screen and (max-width: 1023px) { 102 | 103 | .dhx_cal_navline_flex { 104 | 105 | .dhx_cal_next_button, 106 | .dhx_cal_prev_button, 107 | .dhx_cal_tab, 108 | .dhx_cal_tab.active, 109 | .dhx_cal_today_button { 110 | height: 2.5vw; 111 | line-height: 2.5vw; 112 | } 113 | } 114 | } 115 | 116 | @media only screen and (max-width: 840px) { 117 | 118 | .dhx_cal_navline_flex { 119 | --dhx-scheduler-btn-padding: 0 12px; 120 | .dhx_cal_next_button, 121 | .dhx_cal_prev_button, 122 | .dhx_cal_tab, 123 | .dhx_cal_tab.active, 124 | .dhx_cal_today_button { 125 | height: 4vw; 126 | line-height: 4vw; 127 | } 128 | } 129 | } 130 | 131 | @media only screen and (max-width: 480px) { 132 | 133 | .dhx_cal_navline_flex { 134 | --dhx-scheduler-btn-padding: 0 4px; 135 | .dhx_cal_next_button, 136 | .dhx_cal_prev_button { 137 | width: 2rem; 138 | } 139 | } 140 | } 141 | 142 | @media only screen and (max-width: 480px) { 143 | 144 | .dhx_cal_navline_flex { 145 | 146 | .dhx_cal_next_button, 147 | .dhx_cal_prev_button, 148 | .dhx_cal_tab, 149 | .dhx_cal_tab.active, 150 | .dhx_cal_today_button { 151 | height: 6vw; 152 | line-height: 6vw; 153 | } 154 | } 155 | } 156 | 157 | .dhx_cal_tab, 158 | .dhx_cal_tab_standalone, 159 | .dhx_cal_today_button { 160 | &:not(.active) { 161 | .button-outline; 162 | } 163 | } 164 | 165 | .dhx_cal_tab { 166 | // border-left-color: transparent; 167 | // border-radius: 0; 168 | } 169 | 170 | .dhx_cal_tab_segmented { 171 | border-left-style: none; 172 | border-radius: 0; 173 | } 174 | 175 | .dhx_cal_tab_segmented.dhx_cal_tab_first { 176 | border-left-style: solid; 177 | border-radius: var(--dhx-scheduler-border-radius) 0px 0px var(--dhx-scheduler-border-radius); 178 | margin-left: 4px; 179 | } 180 | 181 | .dhx_cal_tab_segmented.dhx_cal_tab_last { 182 | border-radius: 0px var(--dhx-scheduler-border-radius) var(--dhx-scheduler-border-radius) 0px; 183 | margin-right: 4px; 184 | } 185 | 186 | .dhx_cal_container_rtl { 187 | .dhx_cal_tab_segmented.dhx_cal_tab_first { 188 | border-left-style: none; 189 | border-radius: 0px var(--dhx-scheduler-border-radius) var(--dhx-scheduler-border-radius) 0px; 190 | margin-right: 4px; 191 | margin-left: unset; 192 | } 193 | 194 | .dhx_cal_tab_segmented.dhx_cal_tab_last { 195 | border-radius: var(--dhx-scheduler-border-radius) 0px 0px var(--dhx-scheduler-border-radius); 196 | border-left-style: solid; 197 | margin-right: unset; 198 | margin-left: 4px; 199 | } 200 | 201 | .dhx_cal_date { 202 | margin-right: unset; 203 | margin-left: auto; 204 | } 205 | 206 | .dhx_cal_header { 207 | border-left: var(--dhx-scheduler-default-border); 208 | border-right: none; 209 | } 210 | } 211 | 212 | .dhx_cal_tab_first {} 213 | 214 | .dhx_cal_tab_last {} 215 | 216 | .dhx_cal_tab_standalone { 217 | border-radius: var(--dhx-scheduler-border-radius); 218 | margin: 0 4px; 219 | } 220 | 221 | .dhx_cal_header { 222 | height: 21px; 223 | border-top: var(--dhx-scheduler-header-border); 224 | border-right: var(--dhx-scheduler-header-border); 225 | position: relative; 226 | overflow: hidden; 227 | } 228 | 229 | .dhx_scale_bar { 230 | position: absolute; 231 | } 232 | 233 | .dhx_cal_date { 234 | text-align: center; 235 | position: relative; 236 | margin-right: auto; 237 | font-size: var(--dhx-scheduler-heading-font-size); 238 | line-height: 150%; 239 | font-weight: var(--dhx-scheduler-heading-font-weight); 240 | flex-shrink: 0; 241 | } 242 | 243 | 244 | .dhx_cal_data { 245 | position: relative; 246 | flex: 1; 247 | overflow-y: auto; 248 | overflow-x: hidden; 249 | border-top: var(--dhx-scheduler-default-border); 250 | } 251 | 252 | .dhx_scale_holder { 253 | position: absolute; 254 | } 255 | 256 | .dhx_cal_today_button { 257 | margin-right: 5px; 258 | order: -1; 259 | } 260 | 261 | 262 | .dhx_cal_prev_button, 263 | .dhx_cal_next_button { 264 | order: 0; 265 | width: 20px; 266 | height: 20px; 267 | 268 | .button(); 269 | .button-icon(); 270 | .scheduler_icon(); 271 | 272 | font-size: 24px; 273 | } 274 | 275 | .dhx_cal_prev_button { 276 | .scheduler_icon.arrow_left(); 277 | } 278 | 279 | .dhx_cal_next_button { 280 | .scheduler_icon.arrow_right(); 281 | } 282 | 283 | .dhx_cal_container_rtl { 284 | .dhx_cal_prev_button { 285 | .scheduler_icon.arrow_right(); 286 | } 287 | 288 | .dhx_cal_next_button { 289 | .scheduler_icon.arrow_left(); 290 | } 291 | } 292 | 293 | 294 | .scheduler_container_resize_watcher { 295 | background: transparent; 296 | width: 100%; 297 | height: 100%; 298 | position: absolute; 299 | top: 0px; 300 | left: 0px; 301 | z-index: -1; 302 | pointer-events: none; 303 | border: 0; 304 | box-sizing: border-box; 305 | opacity: 0; 306 | } 307 | 308 | .dhx_title_datepicker_container { 309 | z-index: 2; 310 | position: absolute; 311 | } 312 | 313 | 314 | .scheduler-event-marker() { 315 | content: ""; 316 | width: 4px; 317 | height: 4px; 318 | border-radius: 50%; 319 | position: absolute; 320 | bottom: 2px; 321 | left: 50%; 322 | transform: translateX(-50%); 323 | background: var(--dhx-scheduler-event-marker-color); 324 | } 325 | 326 | .dhx_expand_icon { 327 | position: absolute; 328 | top: 0px; 329 | right: 2px; 330 | cursor: pointer; 331 | z-index: 4; 332 | } 333 | 334 | /* marked timespans */ 335 | 336 | .dhx_marked_timespan { 337 | position: absolute; 338 | width: 100%; 339 | margin-left: 0;/* fix bootstrap conflict [class*="span"] */ 340 | display: flex; 341 | justify-content: center; 342 | align-items: center; 343 | } 344 | 345 | .dhx_time_block { 346 | 347 | position: absolute; 348 | width: 100%; 349 | background: var(--dhx-scheduler-blocked-time-background); 350 | z-index: 1; 351 | opacity: 0.6; 352 | } 353 | 354 | .dhx_time_block_reset { 355 | opacity: 1; 356 | } 357 | 358 | .dhx_scheduler_month .dhx_marked_timespan { 359 | display: none; 360 | } 361 | 362 | .dhx_mini_calendar .dhx_marked_timespan { 363 | display: none; 364 | } 365 | 366 | .dhx_timeline_table_wrapper { 367 | .dhx_marked_timespan { 368 | z-index: 1; 369 | } 370 | 371 | .dhx_time_block { 372 | z-index: 2; 373 | } 374 | 375 | .dhx_cal_event_line { 376 | z-index: 1; 377 | } 378 | 379 | .dhx_timeline_scrollable_data { 380 | overflow-x: auto; 381 | } 382 | } 383 | 384 | .dhx_now_time { 385 | 386 | width: 100%; 387 | height: 2px; 388 | background: var(--dhx-scheduler-today-marker-color); 389 | opacity: 0.5; 390 | box-shadow: 0 1px 0 1px var(--dhx-scheduler-today-marker-color); 391 | } 392 | 393 | .dhx_matrix_now_time{ 394 | background: var(--dhx-scheduler-today-marker-color); 395 | opacity: 0.5; 396 | } 397 | 398 | .dhx_minical_icon{ 399 | .button(); 400 | .button-icon(); 401 | cursor: pointer; 402 | // .button(); 403 | // .button-link(); 404 | .scheduler_icon(); 405 | .scheduler_icon.calendar(); 406 | font-size: 24px; 407 | } 408 | 409 | .dhx_scale_ignore { 410 | display: none !important; 411 | } 412 | 413 | .dhx_drag_placeholder{ 414 | font-family: var(--dhx-scheduler-font-family); 415 | font-size: var(--dhx-scheduler-font-size); 416 | } 417 | 418 | .dhx_hidden { 419 | display: none !important; 420 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/buttons.less: -------------------------------------------------------------------------------- 1 | .button { 2 | 3 | background: var(--dhx-scheduler-btn-background); 4 | color: var(--dhx-scheduler-btn-color); 5 | border: 1px solid var(--dhx-scheduler-btn-border-color); 6 | border-radius: var(--dhx-scheduler-border-radius); 7 | height: var(--dhx-scheduler-control-height); 8 | padding: var(--dhx-scheduler-btn-padding, 0 20px); 9 | display: flex; 10 | justify-content: center; 11 | align-items: center; 12 | box-sizing: border-box; 13 | gap: 4px; 14 | flex-shrink: 0; 15 | font-weight: 500; 16 | 17 | font-size: var(--dhx-scheduler-font-size); 18 | font-family: var(--dhx-scheduler-font-family); 19 | font-weight: var(--dhx-scheduler-btn-font-weight, normal); 20 | line-height: 142%; 21 | 22 | text-transform: var(--dhx-scheduler-btn-text-transform); 23 | cursor: pointer; 24 | 25 | &:hover { 26 | background: var(--dhx-scheduler-btn-background-hover); 27 | color: var(--dhx-scheduler-btn-color-hover); 28 | border-color: var(--dhx-scheduler-btn-border-hover); 29 | } 30 | 31 | &:active { 32 | background: var(--dhx-scheduler-btn-background-active); 33 | color: var(--dhx-scheduler-btn-color-active); 34 | border-color: var(--dhx-scheduler-btn-border-active); 35 | } 36 | 37 | &:disabled{ 38 | background: var(--dhx-scheduler-btn-background-disabled); 39 | color: var(--dhx-scheduler-btn-color-disabled); 40 | border-color: var(--dhx-scheduler-btn-border-disabled); 41 | } 42 | } 43 | 44 | 45 | .button-outline{ 46 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-btn-color); 47 | 48 | 49 | --dhx-scheduler-btn-background: var(--dhx-scheduler-btn-outline-background); 50 | --dhx-scheduler-btn-color: var(--dhx-scheduler-btn-outline-color); 51 | --dhx-scheduler-btn-border-color: var(--dhx-scheduler-btn-outline-border-color); 52 | 53 | --dhx-scheduler-btn-background-hover: var(--dhx-scheduler-btn-outline-background-hover); 54 | --dhx-scheduler-btn-color-hover: var(--dhx-scheduler-btn-outline-color-hover); 55 | --dhx-scheduler-btn-border-hover: var(--dhx-scheduler-btn-outline-border-hover); 56 | 57 | --dhx-scheduler-btn-background-active: var(--dhx-scheduler-btn-outline-background-active); 58 | --dhx-scheduler-btn-color-active: var(--dhx-scheduler-btn-outline-color-active); 59 | --dhx-scheduler-btn-border-active: var(--dhx-scheduler-btn-outline-border-active); 60 | 61 | --dhx-scheduler-btn-background-disabled: var(--dhx-scheduler-btn-outline-background-disabled); 62 | --dhx-scheduler-btn-color-disabled: var(--dhx-scheduler-btn-outline-color-disabled); 63 | --dhx-scheduler-btn-border-color-disabled: var(--dhx-scheduler-btn-outline-border-color-disabled); 64 | } 65 | 66 | 67 | 68 | .button-danger{ 69 | --dhx-scheduler-btn-background: var(--dhx-scheduler-base-colors-error); 70 | --dhx-scheduler-btn-color: var(--dhx-scheduler-base-colors-error-text); 71 | --dhx-scheduler-btn-border-color: var(--dhx-scheduler-base-colors-error); 72 | 73 | --dhx-scheduler-btn-background-hover: var(--dhx-scheduler-base-colors-error-hover); 74 | --dhx-scheduler-btn-border-hover: var(--dhx-scheduler-base-colors-error-hover); 75 | 76 | --dhx-scheduler-btn-background-active: var(--dhx-scheduler-base-colors-error-active); 77 | --dhx-scheduler-btn-border-active: var(--dhx-scheduler-base-colors-error-active); 78 | } 79 | 80 | .button-danger-outline{ 81 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-btn-color); 82 | 83 | 84 | --dhx-scheduler-btn-background: transparent; 85 | --dhx-scheduler-btn-color: var(--dhx-scheduler-base-colors-error); 86 | --dhx-scheduler-btn-border-color: var(--dhx-scheduler-base-colors-error); 87 | 88 | --dhx-scheduler-btn-background-hover: var(--dhx-scheduler-base-colors-error-lighter); 89 | --dhx-scheduler-btn-color-hover: var(--dhx-scheduler-base-colors-error-hover); 90 | --dhx-scheduler-btn-border-hover: var(--dhx-scheduler-base-colors-error-hover); 91 | 92 | --dhx-scheduler-btn-background-active: var(--dhx-scheduler-base-colors-error-active); 93 | --dhx-scheduler-btn-color-active: var(--dhx-scheduler-base-colors-error-active); 94 | --dhx-scheduler-btn-border-active: var(--dhx-scheduler-base-colors-error-active); 95 | 96 | --dhx-scheduler-btn-background-disabled: transparent; 97 | --dhx-scheduler-btn-color-disabled: var(--dhx-scheduler-base-colors-icons); 98 | --dhx-scheduler-btn-border-color-disabled: var(--dhx-scheduler-base-colors-icons); 99 | } 100 | 101 | .button-danger-link{ 102 | padding: 6px 0; 103 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-base-colors-error); 104 | 105 | --dhx-scheduler-btn-background: transparent; 106 | --dhx-scheduler-btn-color: var(--dhx-scheduler-base-colors-error); 107 | --dhx-scheduler-btn-border-color: transparent; 108 | 109 | --dhx-scheduler-btn-background-hover: transparent; 110 | --dhx-scheduler-btn-color-hover: var(--dhx-scheduler-base-colors-error-hover); 111 | --dhx-scheduler-btn-border-hover: transparent; 112 | 113 | --dhx-scheduler-btn-background-active: transparent; 114 | --dhx-scheduler-btn-color-active: var(--dhx-scheduler-base-colors-error-active); 115 | --dhx-scheduler-btn-border-active: transparent; 116 | 117 | --dhx-scheduler-btn-background-disabled: transparent; 118 | --dhx-scheduler-btn-color-disabled: var(--dhx-scheduler-base-colors-icons); 119 | --dhx-scheduler-btn-border-color-disabled: transparent; 120 | } 121 | 122 | .button-link { 123 | padding: 6px 0; 124 | --dhx-scheduler-btn-background: transparent; 125 | --dhx-scheduler-btn-color: var(--dhx-scheduler-base-colors-primary); 126 | --dhx-scheduler-btn-border-color: transparent; 127 | 128 | --dhx-scheduler-btn-background-hover: transparent; 129 | --dhx-scheduler-btn-color-hover: var(--dhx-scheduler-base-colors-primary-hover); 130 | --dhx-scheduler-btn-border-hover: transparent; 131 | 132 | --dhx-scheduler-btn-background-active: transparent; 133 | --dhx-scheduler-btn-color-active: var(--dhx-scheduler-base-colors-primary-active); 134 | --dhx-scheduler-btn-border-active: transparent; 135 | 136 | --dhx-scheduler-btn-background-disabled: transparent; 137 | --dhx-scheduler-btn-color-disabled: var(--dhx-scheduler-base-colors-icons); 138 | --dhx-scheduler-btn-border-color-disabled: transparent; 139 | } 140 | 141 | .button-icon{ 142 | padding: 8px; 143 | min-width: 32px; 144 | height: 32px; 145 | border-radius: 50%; 146 | 147 | &:hover { 148 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-base-colors-icons-hover); 149 | } 150 | 151 | &:active { 152 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-base-colors-icons-active); 153 | } 154 | 155 | &:disabled{ 156 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-btn-color-disabled); 157 | } 158 | .button-link(); 159 | } 160 | 161 | .dhx_cal_btn, 162 | .dhx_cal_btn_danger, 163 | .dhx_cal_btn_outline, 164 | .dhx_cal_btn_danger_outline, 165 | .dhx_cal_btn_danger_link, 166 | .dhx_btn_set, 167 | .dhx_cal_tab, 168 | .dhx_qi_big_icon, 169 | .dhx_cal_today_button, 170 | .dhx_cal_tab_standalone{ 171 | .button(); 172 | } 173 | 174 | 175 | 176 | .scheduler_popup_button{ 177 | .button(); 178 | } 179 | 180 | .scheduler_popup_button:not(.scheduler_ok_button):not(.scheduler_rec_ok_button){ 181 | .button-outline(); 182 | } 183 | 184 | .scheduler_ok_button{ 185 | .button-danger(); 186 | } 187 | 188 | .dhx_cal_btn_outline, 189 | .dhx_cal_btn_danger_outline{ 190 | .button-outline(); 191 | } 192 | 193 | .dhx_cal_button_danger{ 194 | .button-danger(); 195 | } 196 | .dhx_cal_button_danger_outline{ 197 | .button-danger(); 198 | } 199 | 200 | .dhx_cal_button_link, 201 | .dhx_qi_big_icon{ 202 | .button-link(); 203 | } 204 | -------------------------------------------------------------------------------- /codebase/sources/less/src/columns_event.less: -------------------------------------------------------------------------------- 1 | .dhx_scheduler_event_base { 2 | background: var(--dhx-scheduler-event-background); 3 | color: var(--dhx-scheduler-event-color); 4 | display: flex; 5 | 6 | padding: 2px var(--dhx-scheduler-base-module); 7 | border: var(--dhx-scheduler-event-border); 8 | position: absolute; 9 | box-sizing: border-box; 10 | font-size: var(--dhx-scheduler-event-text-font-size); 11 | line-height: var(--dhx-scheduler-event-text-line-height); 12 | font-weight: var(--dhx-scheduler-event-text-font-weight); 13 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-event-color); 14 | } 15 | 16 | .dhx_title{ 17 | overflow: hidden; 18 | text-overflow: ellipsis; 19 | white-space: nowrap; 20 | } 21 | 22 | .dhx_cal_event { 23 | 24 | display: flex; 25 | flex-direction: column; 26 | border-radius: var(--dhx-scheduler-border-radius); 27 | flex-direction: column; 28 | .dhx_scheduler_event_base(); 29 | 30 | 31 | .dhx_title { 32 | font-size: var(--dhx-scheduler-event-title-font-size); 33 | line-height: var(--dhx-scheduler-event-title-line-height); 34 | max-height: 21px; 35 | } 36 | 37 | .dhx_body { 38 | font-size: var(--dhx-scheduler-event-text-font-size); 39 | line-height: var(--dhx-scheduler-event-text-line-height); 40 | flex: 1; 41 | gap: 4px; 42 | overflow: hidden; 43 | text-overflow: ellipsis; 44 | } 45 | 46 | .dhx_event_move.dhx_header { 47 | display: none; 48 | } 49 | 50 | .dhx_event_resize { 51 | cursor: ns-resize; 52 | } 53 | 54 | .dhx_resize_denied { 55 | display: none !important; 56 | } 57 | 58 | .dhx_header {} 59 | 60 | .dhx_footer { 61 | position: absolute; 62 | bottom: 2px; 63 | opacity: 0; 64 | } 65 | 66 | .dhx_menu_icon { 67 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-event-text); 68 | } 69 | 70 | .dhx_menu_icon.icon_delete { 71 | margin-left: -2px; 72 | } 73 | 74 | &.dhx_cal_select_menu { 75 | padding: 2px; 76 | padding-top: 8px; 77 | padding-bottom: 8px; 78 | box-shadow: var(--dhx-scheduler-box-shadow-s); 79 | --dhx-scheduler-event-background: var(--dhx-scheduler-event-menu-background); 80 | --dhx-scheduler-event-color: var(--dhx-scheduler-event-menu-color); 81 | 82 | .dhx_body { 83 | display: flex; 84 | flex-direction: column; 85 | gap: 4px; 86 | align-items: center; 87 | } 88 | } 89 | 90 | textarea.dhx_cal_editor { 91 | width: 100%; 92 | height: 100%; 93 | padding: 0; 94 | margin: 0; 95 | overflow: auto; 96 | font-family: var(--dhx-scheduler-font-family); 97 | font-size: var(--dhx-scheduler-font-size); 98 | } 99 | } 100 | 101 | .dhx_cal_event_cascade{ 102 | --dhx-scheduler-event-border: 1px solid rgba(0,0,0, 0.05); 103 | } 104 | 105 | .dhx_cal_editor { 106 | z-index: 10; 107 | } 108 | 109 | 110 | .dhx_cal_event { 111 | 112 | .dhx_footer, 113 | .dhx_select_menu_footer { 114 | height: calc(var(--dhx-scheduler-base-module) * 2); 115 | border-width: 0; 116 | position: relative; 117 | margin-left: auto; 118 | margin-right: auto; 119 | .scheduler_icon(); 120 | .scheduler_icon.dots_h(); 121 | } 122 | 123 | 124 | &.dhx_cal_event_drag, 125 | &.dhx_cal_event_selected, 126 | &:hover { 127 | .dhx_event_resize.dhx_footer { 128 | opacity: 1; 129 | background-color: transparent; 130 | } 131 | } 132 | 133 | } 134 | 135 | .dhx_cal_event_line { 136 | .dhx_scheduler_event_base(); 137 | 138 | --dhx-scheduler-event-text-font-size: var(--dhx-scheduler-event-bar-font-size); 139 | --dhx-scheduler-event-text-line-height: var(--dhx-scheduler-event-bar-line-height); 140 | cursor: pointer; 141 | align-items: center; 142 | z-index: 1; 143 | overflow: hidden; 144 | padding-left: 12px; 145 | white-space: nowrap; 146 | 147 | &.dhx_cal_event_line_end { 148 | border-top-right-radius: var(--dhx-scheduler-border-radius); 149 | border-bottom-right-radius: var(--dhx-scheduler-border-radius); 150 | } 151 | 152 | &.dhx_cal_event_line_start { 153 | border-top-left-radius: var(--dhx-scheduler-border-radius); 154 | border-bottom-left-radius: var(--dhx-scheduler-border-radius); 155 | } 156 | 157 | &.dhx_cal_event--small{ 158 | padding-left: 8px; 159 | } 160 | &.dhx_cal_event--xsmall{ 161 | padding-left: 4px; 162 | } 163 | } 164 | 165 | .dhx_cal_container_rtl { 166 | .dhx_cal_event_line{ 167 | border-top-right-radius: unset; 168 | border-bottom-right-radius: unset; 169 | border-top-left-radius: unset; 170 | border-bottom-left-radius: unset; 171 | &.dhx_cal_event_line_end { 172 | border-top-left-radius: var(--dhx-scheduler-border-radius); 173 | border-bottom-left-radius: var(--dhx-scheduler-border-radius); 174 | } 175 | 176 | &.dhx_cal_event_line_start { 177 | border-top-right-radius: var(--dhx-scheduler-border-radius); 178 | border-bottom-right-radius: var(--dhx-scheduler-border-radius); 179 | } 180 | } 181 | } 182 | 183 | .dhx_cal_event{ 184 | &.dhx_cal_event--xsmall, 185 | &.dhx_cal_event--small { 186 | 187 | flex-direction: row-reverse; 188 | justify-content: space-between; 189 | --dhx-scheduler-event-title-font-size: var(--dhx-scheduler-event-bar-font-size); 190 | --dhx-scheduler-event-title-line-height: var(--dhx-scheduler-event-bar-line-height); 191 | --dhx-scheduler-event-text-font-size: var(--dhx-scheduler-event-bar-font-size); 192 | --dhx-scheduler-event-text-line-height: var(--dhx-scheduler-event-bar-line-height); 193 | 194 | gap: 4px; 195 | padding-top: 2px; 196 | padding-bottom: 1px; 197 | 198 | .dhx_title { 199 | display: flex; 200 | justify-content: end; 201 | } 202 | 203 | .dhx_body { 204 | flex-grow: 2; 205 | } 206 | 207 | .dhx_footer, 208 | .dhx_select_menu_footer { 209 | position: absolute; 210 | bottom: 0; 211 | left: 4px; 212 | width: 100%; 213 | transform: translateY(50%); 214 | } 215 | } 216 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/columns_view.less: -------------------------------------------------------------------------------- 1 | .dhx_scale_text_styles { 2 | font-size: var(--dhx-scheduler-caption-font-size); 3 | font-weight: var(--dhx-scheduler-caption-font-weight); 4 | color: var(--dhx-scheduler-scale-color); 5 | line-height: 133%; 6 | } 7 | 8 | .dhx_scale_bar { 9 | .dhx_scale_text_styles(); 10 | display: flex; 11 | box-sizing: border-box; 12 | height: 100%; 13 | justify-content: center; 14 | align-items: baseline; 15 | 16 | padding: var(--dhx-scheduler-base-padding); 17 | border-left: var(--dhx-scheduler-header-border); 18 | overflow: hidden; 19 | } 20 | 21 | .dhx_scale_holder { 22 | border-right: var(--dhx-scheduler-default-border); 23 | background: var(--dhx-scheduler-timescale-background); 24 | box-sizing: border-box; 25 | 26 | &_now { 27 | --dhx-scheduler-timescale-background: var(--dhx-scheduler-timescale-today-background); 28 | position: absolute; 29 | } 30 | } 31 | 32 | .dhx_cal_container_rtl { 33 | .dhx_scale_bar { 34 | border-left: none; 35 | border-right: var(--dhx-scheduler-header-border); 36 | } 37 | 38 | .dhx_scale_holder { 39 | border-right: none; 40 | border-left: var(--dhx-scheduler-default-border); 41 | } 42 | } 43 | 44 | .dhx_scale_hour { 45 | .dhx_scale_text_styles(); 46 | 47 | font-size: var(--dhx-scheduler-hours-font-size); 48 | font-weight: var(--dhx-scheduler-hours-font-weight); 49 | border-bottom: var(--dhx-scheduler-default-border); 50 | display: flex; 51 | flex-direction: column; 52 | align-items: center; 53 | justify-content: start; 54 | box-sizing: border-box; 55 | padding: var(--dhx-scheduler-base-padding); 56 | box-sizing: border-box; 57 | 58 | } 59 | 60 | .dhx_scale_time_slot { 61 | 62 | 63 | box-sizing: border-box; 64 | border-bottom: var(--dhx-scheduler-default-border); 65 | 66 | 67 | &.dhx_scale_time_slot_hour_start { 68 | border-bottom: var(--dhx-scheduler-halfhour-border); 69 | } 70 | } 71 | 72 | .dhx_drag_marker { 73 | width: 100%; 74 | opacity: .5; 75 | background-color: var(--dhx-scheduler-base-colors-border); 76 | position: absolute; 77 | box-sizing: border-box; 78 | border-top: var(--dhx-scheduler-default-border); 79 | ; 80 | border-bottom: var(--dhx-scheduler-default-border); 81 | ; 82 | } 83 | 84 | .dhx_multi_day { 85 | position: relative; 86 | // border-bottom: var(--dhx-scheduler-default-border); 87 | border-top: var(--dhx-scheduler-default-border); 88 | } 89 | 90 | .dhx_multi_day_icon, 91 | .dhx_multi_day_icon_small { 92 | background-position: 50%; 93 | font-size: 32px; 94 | border-bottom: var(--dhx-scheduler-default-border); 95 | border-right: var(--dhx-scheduler-default-border); 96 | background-repeat: no-repeat; 97 | display: flex; 98 | justify-content: center; 99 | align-items: center; 100 | 101 | .scheduler_icon(); 102 | .scheduler_icon.clock(); 103 | } 104 | 105 | .dhx_multi_day_icon_small { 106 | font-size: 16px; 107 | } 108 | 109 | .dhx_cal_container_rtl { 110 | 111 | .dhx_multi_day_icon, 112 | .dhx_multi_day_icon_small { 113 | border-right: none; 114 | border-left: var(--dhx-scheduler-default-border); 115 | } 116 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/datepicker.less: -------------------------------------------------------------------------------- 1 | .dhx_cal_datepicker { 2 | font-size: var(--dhx-scheduler-datepicker-font-size); 3 | font-family: var(--dhx-scheduler-datepicker-family); 4 | line-height: 142%; 5 | font-weight: 400; 6 | // width: var(--dhx-scheduler-datepicker-width); 7 | border: var(--dhx-scheduler-popup-border); 8 | background: var(--dhx-scheduler-popup-background); 9 | color: var(--dhx-scheduler-popup-color); 10 | box-shadow: var(--dhx-scheduler-box-shadow-s); 11 | border-radius: var(--dhx-scheduler-popup-border-radius); 12 | padding: 16px; 13 | 14 | } 15 | 16 | .dhx_cal_datepicker, 17 | .dhx_cal_datepicker *, 18 | .dhx_mini_calendar, 19 | .dhx_mini_calendar * { 20 | box-sizing: border-box; 21 | } 22 | 23 | .dhx_cal_datepicker_arrow { 24 | border: none; 25 | background: none; 26 | cursor: pointer; 27 | } 28 | 29 | .dhx_cal_datepicker_arrow:focus { 30 | outline: none; 31 | } 32 | 33 | .dhx_cal_datepicker_data, 34 | .dhx_year_grid { 35 | display: flex; 36 | flex-direction: column; 37 | justify-content: space-between; 38 | height: 100%; 39 | padding: var(--dhx-scheduler-datepicker-padding); 40 | gap: 8px; 41 | color: var(--dhx-scheduler-month-header-color); 42 | } 43 | 44 | .dhx_cal_datepicker_done { 45 | display: flex; 46 | justify-content: center; 47 | align-items: center; 48 | } 49 | 50 | .dhx_cal_datepicker_header { 51 | color: var(--dhx-scheduler-base-colors-primary); 52 | display: flex; 53 | justify-content: space-between; 54 | align-items: center; 55 | padding: var(--dhx-scheduler-datepicker-padding); 56 | } 57 | 58 | .dhx_cal_datepicker_title { 59 | font-weight: var(--dhx-scheduler-datepicker-header-font-size); 60 | font-size: var(--dhx-scheduler-datepicker-header-font-size); 61 | .button; 62 | .button-link; 63 | } 64 | 65 | .dhx_cal_datepicker_days { 66 | display: grid; 67 | grid-template-columns: repeat(var(--dhx-scheduler-week-length, 7), 1fr); 68 | gap: 4px; 69 | } 70 | 71 | .dhx_cal_datepicker_dayname, 72 | .dhx_cal_datepicker_date { 73 | display: flex; 74 | align-items: center; 75 | justify-content: center; 76 | position: relative; 77 | transition: all 0.3s; 78 | margin-left: auto; 79 | margin-right: auto; 80 | } 81 | 82 | .dhx_cal_datepicker_dayname { 83 | color: var(--dhx-scheduler-base-colors-icons); 84 | } 85 | 86 | .dhx_cal_datepicker_date { 87 | border-radius: 50%; 88 | width: var(--dhx-scheduler-datepicker-cell-size); 89 | height: var(--dhx-scheduler-datepicker-cell-size); 90 | color: var(--dhx-scheduler-datepicker-cell-color); 91 | background: var(--dhx-scheduler-datepicker-cell-background); 92 | &.dhx_now { 93 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-timescale-today-background); 94 | } 95 | } 96 | 97 | .dhx_cal_datepicker_weekend { 98 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-datepicker-weekend-color); 99 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-datepicker-weekend-background); 100 | } 101 | 102 | 103 | .dhx_cal_datepicker_date.dhx_before, 104 | .dhx_cal_datepicker_date.dhx_after { 105 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-datepicker-prevnext-color); 106 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-datepicker-prevnext-background); 107 | } 108 | 109 | 110 | .dhx_cal_datepicker_current { 111 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-datepicker-today-color); 112 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-datepicker-today-background); 113 | } 114 | 115 | .dhx_cal_datepicker_date:not(.dhx_before, 116 | .dhx_after):hover, 117 | .dhx_cal_datepicker_month:hover, 118 | .dhx_cal_datepicker_year:hover { 119 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-datepicker-hover-color); 120 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-datepicker-hover-background); 121 | } 122 | 123 | .dhx_cal_datepicker_months, 124 | .dhx_cal_datepicker_years { 125 | display: grid; 126 | grid-template-columns: repeat(4, 1fr); 127 | gap: 8px; 128 | } 129 | 130 | .dhx_cal_datepicker_months{ 131 | column-gap: 12px; 132 | } 133 | 134 | .dhx_cal_datepicker_years { 135 | column-gap: 4px; 136 | } 137 | 138 | .dhx_cal_datepicker_month, 139 | .dhx_cal_datepicker_year { 140 | display: flex; 141 | align-items: center; 142 | justify-content: center; 143 | height: var(--dhx-scheduler-datepicker-cell-size); 144 | border-radius: 10px; 145 | padding: 4px 8px; 146 | transition: background 0.3s; 147 | position: relative; 148 | color: var(--dhx-scheduler-datepicker-cell-color); 149 | background: var(--dhx-scheduler-datepicker-cell-background); 150 | } 151 | 152 | .dhx_cal_datepicker_done_btn { 153 | .button; 154 | .button-link; 155 | } 156 | .dhx_datepicker_date_wrapper{ 157 | position: relative; 158 | 159 | .scheduler_icon(); 160 | .scheduler_icon.calendar(); 161 | 162 | &:before { 163 | position: absolute; 164 | right: 4px; 165 | top: 8px; 166 | font-size: 20px; 167 | } 168 | } 169 | 170 | .dhx_cal_datepicker_event { 171 | 172 | &.dhx_cal_datepicker_current, 173 | &:hover { 174 | --dhx-scheduler-event-marker-color: var(--dhx-scheduler-datepicker-hover-color); 175 | } 176 | } 177 | 178 | .dhx_cal_datepicker_event::after { 179 | .scheduler-event-marker(); 180 | } 181 | 182 | 183 | /* minical */ 184 | .dhx_minical_popup { 185 | position: absolute; 186 | z-index: 15; 187 | } 188 | 189 | .dhx_mini_calendar { 190 | 191 | font-size: var(--dhx-scheduler-datepicker-font-size); 192 | font-family: var(--dhx-scheduler-datepicker-family); 193 | line-height: 142%; 194 | font-weight: 400; 195 | // width: var(--dhx-scheduler-datepicker-width); 196 | border: var(--dhx-scheduler-popup-border); 197 | background: var(--dhx-scheduler-popup-background); 198 | color: var(--dhx-scheduler-popup-color); 199 | box-shadow: var(--dhx-scheduler-box-shadow-m); 200 | border-radius: var(--dhx-scheduler-popup-border-radius); 201 | 202 | --dhx-scheduler-datepicker-font-size: var(--dhx-scheduler-caption-font-size); 203 | --dhx-scheduler-header-border: none; 204 | 205 | .dhx_cal_month_row { 206 | height: 35px !important; 207 | } 208 | 209 | .dhx_year_week { 210 | border-bottom: var(--dhx-scheduler-default-border); 211 | } 212 | 213 | .dhx_scale_bar { 214 | position: static; 215 | } 216 | 217 | .dhx_year_month { 218 | font-weight: 500; 219 | font-size: var(--dhx-scheduler-font-size); 220 | } 221 | 222 | .dhx_month_body { 223 | display: none; 224 | } 225 | 226 | .dhx_cal_month_cell { 227 | display: flex; 228 | justify-content: center; 229 | align-items: center; 230 | border-radius: 50%; 231 | border: none; 232 | background: var(--dhx-scheduler-popup-background); 233 | } 234 | 235 | .dhx_month_head { 236 | border-radius: 50%; 237 | color: var(--dhx-scheduler-datepicker-cell-color); 238 | background: var(--dhx-scheduler-datepicker-cell-background); 239 | width: 30px !important; 240 | height: 30px !important; 241 | padding: 4px; 242 | justify-content: center; 243 | align-items: center; 244 | cursor: pointer; 245 | } 246 | 247 | div.dhx_month_head.dhx_year_event { 248 | background-color: rgba(2, 136, 209, .2); 249 | color: #0288d1; 250 | font-weight: 500; 251 | } 252 | 253 | div.dhx_month_head.dhx_calendar_click { 254 | background-color: #e5e5e5; 255 | color: rgba(0, 0, 0, .75); 256 | font-weight: 500; 257 | } 258 | 259 | .dhx_now .dhx_month_head { 260 | background-color: #f7f7f7; 261 | } 262 | 263 | .dhx_after .dhx_month_head, 264 | .dhx_before .dhx_month_head { 265 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-inactive-month-color); 266 | } 267 | } 268 | 269 | .dhx_minical_input_wrapper{ 270 | position: relative; 271 | 272 | .scheduler_icon(); 273 | .scheduler_icon.calendar(); 274 | 275 | &:before { 276 | pointer-events: none; 277 | position: absolute; 278 | right: 5px; 279 | top: 7px; 280 | font-size: 20px; 281 | } 282 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/grid_view.less: -------------------------------------------------------------------------------- 1 | .dhx_grid_event { 2 | height: var(--dhx-scheduler-list-line-height); 3 | line-height: var(--dhx-scheduler-list-line-height); 4 | background: var(--dhx-scheduler-grid-event-background); 5 | color: var(--dhx-scheduler-grid-event-text); 6 | } 7 | 8 | .dhx_grid_event:nth-child(even) { 9 | --dhx-scheduler-grid-event-background: var(--dhx-scheduler-base-colors-select); 10 | } 11 | 12 | .dhx_grid_event.dhx_grid_event_selected{ 13 | --dhx-scheduler-grid-event-background: var(--dhx-scheduler-base-colors-icons); 14 | } 15 | 16 | .dhx_grid_area td, 17 | .dhx_grid_line>div { 18 | padding-left: 8px; 19 | padding-right: 8px; 20 | } 21 | 22 | .dhx_grid_line>div { 23 | text-align: center; 24 | } 25 | 26 | .dhx_grid_area>table { 27 | border-collapse: collapse; 28 | width: 100%; 29 | table-layout: fixed; 30 | } 31 | 32 | .dhx_grid_area td { 33 | table-layout: fixed; 34 | text-align: center; 35 | height: var(--dhx-scheduler-list-line-height); 36 | line-height: var(--dhx-scheduler-list-line-height); 37 | } 38 | 39 | .dhx_cal_header > .dhx_grid_line { 40 | display: flex; 41 | } 42 | 43 | 44 | .dhx_grid_v_border { 45 | position: absolute; 46 | border-right: var(--dhx-scheduler-default-border); 47 | width: 1px; 48 | height: 100%; 49 | } 50 | 51 | .dhx_grid_view_sort { 52 | 53 | position: absolute; 54 | top: 5px; 55 | 56 | width: 0; 57 | height: 0; 58 | border-left: 5px solid transparent; 59 | border-right: 5px solid transparent; 60 | border-top: 10px solid var(--dhx-scheduler-base-colors-text-light); 61 | } 62 | 63 | .dhx_grid_sort_asc .dhx_grid_view_sort { 64 | border-top: none; 65 | border-left: 5px solid transparent; 66 | border-right: 5px solid transparent; 67 | border-bottom: 10px solid var(--dhx-scheduler-base-colors-text-light); 68 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/iconfont/dhx-scheduler-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DHTMLX/scheduler/40b7d9b858bd6888b93124091f742742d610c3d8/codebase/sources/less/src/iconfont/dhx-scheduler-icons.woff -------------------------------------------------------------------------------- /codebase/sources/less/src/iconfont/dhx-scheduler-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DHTMLX/scheduler/40b7d9b858bd6888b93124091f742742d610c3d8/codebase/sources/less/src/iconfont/dhx-scheduler-icons.woff2 -------------------------------------------------------------------------------- /codebase/sources/less/src/icons.less: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "dhx-scheduler-icons"; 3 | /* src: url("./dhx-scheduler-icons.woff?7d3dc8d31762f76ad3c385c23e9afbc6") format("woff"), 4 | url("./dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("woff2"); */ 5 | 6 | src: url("./iconfont/dhx-scheduler-icons.woff") format("woff"), 7 | url("./iconfont/dhx-scheduler-icons.woff2") format("woff2"); 8 | } 9 | 10 | .scheduler_icon, 11 | .dhx_menu_icon { 12 | &:before{ 13 | font-family: dhx-scheduler-icons !important; 14 | font-style: normal; 15 | font-weight: normal !important; 16 | font-variant: normal; 17 | text-transform: none; 18 | -webkit-font-smoothing: antialiased; 19 | -moz-osx-font-smoothing: grayscale; 20 | display: flex; 21 | justify-content: center; 22 | align-items: center; 23 | color: var(--dhx-scheduler-base-colors-icons); 24 | } 25 | } 26 | 27 | .scheduler_icon.alert, 28 | .dhx_menu_icon.icon_alert { 29 | &:before{ 30 | content: "\f101"; 31 | } 32 | } 33 | .scheduler_icon.arrow_down, 34 | .dhx_menu_icon.icon_arrow_down { 35 | &:before{ 36 | content: "\f102"; 37 | } 38 | } 39 | .scheduler_icon.arrow_left, 40 | .dhx_menu_icon.icon_arrow_left { 41 | &:before{ 42 | content: "\f103"; 43 | font-size: 24px; 44 | } 45 | } 46 | .scheduler_icon.arrow_right, 47 | .dhx_menu_icon.icon_arrow_right { 48 | &:before{ 49 | content: "\f104"; 50 | font-size: 24px; 51 | } 52 | } 53 | .scheduler_icon.arrow_up, 54 | .dhx_menu_icon.icon_arrow_up { 55 | &:before{ 56 | content: "\f105"; 57 | } 58 | } 59 | .scheduler_icon.calendar, 60 | .dhx_menu_icon.icon_calendar { 61 | &:before{ 62 | content: "\f106"; 63 | } 64 | } 65 | .scheduler_icon.cancel, 66 | .dhx_menu_icon.icon_cancel { 67 | &:before{ 68 | content: "\f107"; 69 | } 70 | } 71 | .scheduler_icon.check, 72 | .dhx_menu_icon.icon_check { 73 | &:before{ 74 | content: "\f108"; 75 | } 76 | } 77 | .scheduler_icon.chevron_down, 78 | .dhx_menu_icon.icon_chevron_down { 79 | &:before{ 80 | content: "\f109"; 81 | font-size: 24px; 82 | } 83 | } 84 | .scheduler_icon.chevron_left, 85 | .dhx_menu_icon.icon_chevron_left { 86 | &:before{ 87 | content: "\f10a"; 88 | font-size: 24px; 89 | } 90 | } 91 | .scheduler_icon.chevron_right, 92 | .dhx_menu_icon.icon_chevron_right { 93 | &:before{ 94 | content: "\f10b"; 95 | font-size: 24px; 96 | } 97 | } 98 | .scheduler_icon.chevron_up, 99 | .dhx_menu_icon.icon_chevron_up { 100 | &:before{ 101 | content: "\f10c"; 102 | font-size: 24px; 103 | } 104 | } 105 | .scheduler_icon.clock, 106 | .dhx_menu_icon.icon_clock { 107 | &:before{ 108 | content: "\f10d"; 109 | } 110 | } 111 | .scheduler_icon.close, 112 | .dhx_menu_icon.icon_close { 113 | &:before{ 114 | content: "\f10e"; 115 | } 116 | } 117 | .scheduler_icon.delete, 118 | .dhx_menu_icon.icon_delete { 119 | &:before{ 120 | content: "\f10f"; 121 | font-size: 18px; 122 | } 123 | } 124 | .scheduler_icon.details, 125 | .dhx_menu_icon.icon_details { 126 | &:before{ 127 | content: "\f110"; 128 | } 129 | } 130 | .scheduler_icon.dots_h, 131 | .dhx_menu_icon.icon_dots_h { 132 | &:before{ 133 | content: "\f111"; 134 | } 135 | } 136 | .scheduler_icon.dots_v, 137 | .dhx_menu_icon.icon_dots_v { 138 | &:before{ 139 | content: "\f112"; 140 | } 141 | } 142 | .scheduler_icon.drag_horizontal, 143 | .dhx_menu_icon.icon_drag_horizontal { 144 | &:before{ 145 | content: "\f113"; 146 | } 147 | } 148 | .scheduler_icon.drag_vertical, 149 | .dhx_menu_icon.icon_drag_vertical { 150 | &:before{ 151 | content: "\f114"; 152 | } 153 | } 154 | .scheduler_icon.drag, 155 | .dhx_menu_icon.icon_drag { 156 | &:before{ 157 | content: "\f115"; 158 | } 159 | } 160 | .scheduler_icon.edit, 161 | .dhx_menu_icon.icon_edit { 162 | &:before{ 163 | content: "\f116"; 164 | } 165 | } 166 | .scheduler_icon.form, 167 | .dhx_menu_icon.icon_form { 168 | &:before{ 169 | content: "\f117"; 170 | } 171 | } 172 | .scheduler_icon.iclose, 173 | .dhx_menu_icon.icon_iclose { 174 | &:before{ 175 | content: "\f118"; 176 | } 177 | } 178 | .scheduler_icon.loading, 179 | .dhx_menu_icon.icon_loading { 180 | &:before{ 181 | content: "\f119"; 182 | } 183 | } 184 | .scheduler_icon.menu, 185 | .dhx_menu_icon.icon_menu { 186 | &:before{ 187 | content: "\f11a"; 188 | } 189 | } 190 | .scheduler_icon.menu_down, 191 | .dhx_menu_icon.icon_menu_down { 192 | &:before{ 193 | content: "\f11b"; 194 | } 195 | } 196 | .scheduler_icon.menu_right, 197 | .dhx_menu_icon.icon_menu_right { 198 | &:before{ 199 | content: "\f11c"; 200 | } 201 | } 202 | .scheduler_icon.ok, 203 | .dhx_menu_icon.icon_ok { 204 | &:before{ 205 | content: "\f11d"; 206 | } 207 | } 208 | .scheduler_icon.plus, 209 | .dhx_menu_icon.icon_plus { 210 | &:before{ 211 | content: "\f11e"; 212 | } 213 | } 214 | .scheduler_icon.save, 215 | .dhx_menu_icon.icon_save { 216 | &:before{ 217 | content: "\f11f"; 218 | } 219 | } 220 | .scheduler_icon.sort_asc, 221 | .dhx_menu_icon.icon_sort_asc { 222 | &:before{ 223 | content: "\f120"; 224 | } 225 | } 226 | .scheduler_icon.sort_desc, 227 | .dhx_menu_icon.icon_sort_desc { 228 | &:before{ 229 | content: "\f121"; 230 | } 231 | } 232 | 233 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/alert.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/arrow/down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/arrow/left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/arrow/right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/arrow/up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/calendar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/cancel.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/check.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/chevron/down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/chevron/left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/chevron/right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/chevron/up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/clock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/delete.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/details.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/dots/h.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/dots/v.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/drag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/drag_horizontal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/drag_vertical.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/edit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/form.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/iclose.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/loading.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/menu.svg: -------------------------------------------------------------------------------- 1 | menu -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/menu/down.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/menu/right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/ok.svg: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/save.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/sort/asc.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/imgs/sort/desc.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codebase/sources/less/src/index.less: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); 4 | 5 | @import "./themes/index"; 6 | @import "./icons"; 7 | @import "./buttons"; 8 | @import "./base"; 9 | @import "./lightbox"; 10 | @import "./columns_view"; 11 | @import "./columns_event"; 12 | @import "./month_view"; 13 | @import "./month_event"; 14 | @import "./quick_info"; 15 | @import "./year_view"; 16 | @import "./timeline"; 17 | @import "./agenda_legacy"; 18 | @import "./week_agenda_view"; 19 | @import "./grid_view"; 20 | @import "./agenda"; 21 | @import "./datepicker"; 22 | @import "./modals"; 23 | @import "./tooltip"; 24 | @import "./misc"; -------------------------------------------------------------------------------- /codebase/sources/less/src/layout.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DHTMLX/scheduler/40b7d9b858bd6888b93124091f742742d610c3d8/codebase/sources/less/src/layout.less -------------------------------------------------------------------------------- /codebase/sources/less/src/lightbox.less: -------------------------------------------------------------------------------- 1 | .common_input { 2 | border-radius: 2px; 3 | background-color: var(--dhx-scheduler-lightbox-background); 4 | color: var(--dhx-scheduler-lightbox-color); 5 | border: var(--dhx-scheduler-lightbox-control-border); 6 | font-size: var(--dhx-scheduler); 7 | padding: 6px 8px; 8 | box-sizing: border-box; 9 | margin-top: 0; 10 | margin-bottom: 0; 11 | 12 | &:focus, 13 | &:focus-visible { 14 | border-color: var(--dhx-scheduler-base-colors-primary); 15 | outline: none; 16 | } 17 | 18 | &:disabled{ 19 | background-color: var(--dhx-scheduler-base-colors-disabled); 20 | color: var(--dhx-scheduler-base-colors-icons); 21 | } 22 | } 23 | 24 | .one_line_input { 25 | height: var(--dhx-scheduler-control-height); 26 | } 27 | 28 | .dhx_cal_cover, 29 | .dhx_cal_cover * { 30 | box-sizing: border-box; 31 | } 32 | 33 | .dhx_cal_cover { 34 | width: 100%; 35 | height: 100%; 36 | position: fixed; 37 | z-index: 14; 38 | top: 0; 39 | left: 0; 40 | background-color: rgba(0, 0, 0, 0.4); 41 | display: flex; 42 | justify-content: center; 43 | align-items: center; 44 | overflow: auto; 45 | } 46 | 47 | .dhx_cal_light { 48 | margin-top: auto; 49 | margin-bottom: auto; 50 | 51 | width: max-content; 52 | max-width: var(--dhx-scheduler-lightbox-width); 53 | height: auto; 54 | -webkit-tap-highlight-color: transparent; 55 | background-color: var(--dhx-scheduler-lightbox-background); 56 | color: var(--dhx-scheduler-lightbox-color); 57 | position: absolute; 58 | z-index: 15; 59 | font-family: var(--dhx-scheduler-lightbox_font-family); 60 | font-size: var(--dhx-scheduler-lightbox-font-size); 61 | font-weight: var(--dhx-scheduler-lightbox-font-weight); 62 | line-height: 142%; 63 | border: var(--dhx-scheduler-lightbox-border); 64 | border-radius: var(--dhx-scheduler-popup-border-radius); 65 | 66 | &.dhx_cal_light_wide { 67 | --dhx-scheduler-lightbox-width: var(--dhx-scheduler-lightbox-wide-max-width); 68 | } 69 | 70 | textarea, 71 | input, 72 | select { 73 | .common_input(); 74 | } 75 | 76 | input, 77 | select { 78 | .one_line_input(); 79 | } 80 | 81 | input[type="select"], 82 | input[type="checkbox"] { 83 | height: var(--dhx-scheduler-checkbox-height); 84 | } 85 | 86 | .dhx_time{ 87 | display: none; 88 | } 89 | 90 | 91 | } 92 | 93 | .dhx_cal_ltitle { 94 | 95 | font-size: var(--dhx-scheduler-lightbox-title-font-size); 96 | font-weight: var(--dhx-scheduler-heading-font-weight); 97 | line-height: 142%; 98 | 99 | background: var(--dhx-scheduler-lightbox-title-background); 100 | color: var(--dhx-scheduler-lightbox-title-color); 101 | 102 | border-bottom: var(--dhx-scheduler-default-border); 103 | 104 | padding: calc(var(--dhx-scheduler-base-padding) * 3) calc(var(--dhx-scheduler-base-padding) * 3); 105 | overflow: hidden; 106 | white-space: nowrap; 107 | display: flex; 108 | flex-direction: row; 109 | justify-content: space-between; 110 | gap: calc(var(--dhx-scheduler-base-padding) * 2); 111 | border-top-right-radius: var(--dhx-scheduler-popup-border-radius); 112 | border-top-left-radius: var(--dhx-scheduler-popup-border-radius); 113 | 114 | .dhx_mark { 115 | display: none; 116 | } 117 | 118 | .dhx_cal_ltitle_descr{ 119 | overflow: hidden; 120 | text-overflow: ellipsis; 121 | } 122 | 123 | .dhx_cal_ltitle_controls{ 124 | cursor: pointer; 125 | } 126 | } 127 | 128 | .dhx_cal_larea { 129 | border: none; 130 | padding: 0 12px 4px; 131 | // overflow: hidden; 132 | height: auto; 133 | 134 | gap: calc(var(--dhx-scheduler-base-padding) * 2); 135 | 136 | } 137 | 138 | .dhx_btn_inner.dhx_delete_btn { 139 | display: block !important; 140 | 141 | 142 | .scheduler_icon(); 143 | .scheduler_icon.delete(); 144 | } 145 | 146 | .dhx_cal_light_rtl { 147 | direction: rtl; 148 | } 149 | 150 | .dhx_cal_light_wide.dhx_cal_light_rtl { 151 | .dhx_custom_button { 152 | right: auto; 153 | left: calc(var(--dhx-scheduler-base-padding) * 2); 154 | } 155 | } 156 | 157 | .dhx_lightbox_time_select{ 158 | min-width: 80px; 159 | } 160 | .dhx_lightbox_day_select{ 161 | min-width: 60px; 162 | } 163 | .dhx_lightbox_month_select{ 164 | min-width: 110px; 165 | } 166 | .dhx_lightbox_year_select{ 167 | min-width: 77px; 168 | } 169 | 170 | .dhx_cal_light_wide { 171 | 172 | .dhx_cal_larea { 173 | display: flex; 174 | flex-direction: column; 175 | padding-top: 12px; 176 | gap: 12px; 177 | } 178 | 179 | .dhx_wrap_section { 180 | display: flex; 181 | flex: 0; 182 | position: relative 183 | } 184 | 185 | .dhx_cal_lsection { 186 | width: 120px; 187 | justify-content: start; 188 | align-items: start; 189 | flex-shrink: 0; 190 | margin-top: 0; 191 | margin-bottom: 0; 192 | padding: 4px 8px; 193 | } 194 | 195 | .dhx_custom_button { 196 | position: absolute; 197 | left: auto; 198 | right: calc(var(--dhx-scheduler-base-padding) * 2); 199 | } 200 | 201 | .dhx_cal_ltext { 202 | flex: 1; 203 | } 204 | 205 | .dhx_section_time { 206 | justify-content: start; 207 | } 208 | 209 | .dhx_fullday { 210 | margin-left: unset; 211 | } 212 | } 213 | 214 | .dhx_cal_lcontrols { 215 | display: flex; 216 | flex-direction: row-reverse; 217 | gap: calc(var(--dhx-scheduler-base-padding)*2); 218 | padding: 12px; 219 | 220 | .dhx_btn_set { 221 | display: flex; 222 | flex-direction: row; 223 | gap: var(--dhx-scheduler-base-padding); 224 | 225 | // &.dhx_save_btn_set { 226 | // .button-primary; 227 | // } 228 | 229 | &.dhx_delete_btn_set { 230 | .button-danger-link; 231 | } 232 | 233 | &:not(.dhx_save_btn_set, .dhx_delete_btn_set) { 234 | .button-outline; 235 | } 236 | 237 | .dhx_btn_inner { 238 | display: none; 239 | } 240 | } 241 | 242 | .dhx_cal_lcontrols_push_right { 243 | margin-left: auto; 244 | } 245 | } 246 | 247 | .dhx_cal_ltext { 248 | textarea { 249 | width: 100%; 250 | height: 100%; 251 | resize: none; 252 | font-family: var(--dhx-scheduler-lightbox_font-family); 253 | font-size: var(--dhx-scheduler-lightbox-font-size); 254 | font-weight: var(--dhx-scheduler-lightbox-font-weight); 255 | line-height: 142%; 256 | } 257 | } 258 | .dhx_section_time_spacer, 259 | .dhx_lightbox_minical_spacer { 260 | visibility: hidden; 261 | flex-basis: 100%; 262 | height: 0; 263 | } 264 | .dhx_section_time { 265 | --dhx-scheduler-lightbox-time-font-size: var(--dhx-scheduler-important-font-size); 266 | --dhx-scheduler-lightbox-time-font-weight: var(--dhx-scheduler-important-font-weight); 267 | 268 | font-size: var(--dhx-scheduler-lightbox-time-font-size); 269 | font-weight: var(--dhx-scheduler-lightbox-time-font-weight); 270 | line-height: 142%; 271 | 272 | display: flex; 273 | flex-wrap: wrap; 274 | align-items: center; 275 | gap: calc(var(--dhx-scheduler-base-padding) * 2); 276 | row-gap: var(--dhx-scheduler-base-padding); 277 | 278 | 279 | 280 | .dhx_section_time_icon { 281 | width: calc(var(--dhx-scheduler-base-module) * 2); 282 | height: calc(var(--dhx-scheduler-base-module) * 2); 283 | border-radius: 2px; 284 | background: var(--dhx-scheduler-base-colors-primary); 285 | } 286 | } 287 | 288 | .dhx_fullday { 289 | margin-left: auto; 290 | } 291 | 292 | .dhx_cal_light_rtl { 293 | .dhx_fullday { 294 | margin-left: unset; 295 | margin-right: auto; 296 | } 297 | } 298 | 299 | .dhx_cal_lsection label { 300 | font-weight: var(--dhx-scheduler-heading-font-weight); 301 | display: flex; 302 | align-items: center; 303 | gap: 4px; 304 | } 305 | 306 | .dhx_cal_lsection { 307 | display: flex; 308 | margin-top: 12px; 309 | margin-bottom: 4px; 310 | 311 | .dhx_custom_button { 312 | .button(); 313 | .button-outline(); 314 | order: 1; 315 | margin-left: auto; 316 | margin-right: unset; 317 | } 318 | } 319 | 320 | .dhx_cal_light_rtl { 321 | .dhx_custom_button { 322 | margin-left: unset; 323 | margin-right: auto; 324 | } 325 | } 326 | 327 | /* checkbox */ 328 | 329 | .dhx_cal_checkbox { 330 | display: flex; 331 | align-items: center; 332 | gap: var(--dhx-scheduler-base-padding); 333 | } 334 | 335 | .dhx_cal_wide_checkbox { 336 | padding: 4px 0; 337 | } 338 | 339 | /* radio */ 340 | 341 | // .dhx_cal_radio label { 342 | // font-size: var(--dhx-scheduler-caption-font-size); 343 | // font-weight: var(--dhx-scheduler-caption-font-weight); 344 | // } 345 | 346 | .dhx_cal_radio input { 347 | margin: var(--dhx-scheduler-base-padding); 348 | } 349 | 350 | .dhx_cal_radio_item { 351 | display: flex; 352 | gap: var(--dhx-scheduler-base-padding); 353 | align-items: center; 354 | } 355 | 356 | .dhx_cal_radio { 357 | display: flex; 358 | gap: 4px; 359 | } 360 | 361 | .dhx_cal_radio_vertical { 362 | flex-direction: column; 363 | overflow: auto; 364 | 365 | --dhx-scheduler-control-height: 20px; 366 | } 367 | 368 | /* select */ 369 | 370 | .dhx_multi_select_control { 371 | display: flex; 372 | gap: 4px; 373 | } 374 | 375 | .dhx_multi_select_control_vertical { 376 | flex-direction: column; 377 | } 378 | 379 | .dhx_multi_select_control label { 380 | display: flex; 381 | align-items: center; 382 | gap: 4px; 383 | } 384 | 385 | .dhx_cal_select {} 386 | 387 | .dhx_cal_template { 388 | position: relative; 389 | padding-top: 4px; 390 | padding-bottom: 4px; 391 | } 392 | 393 | /* recurring */ 394 | 395 | .dhx_form_repeat { 396 | overflow: hidden; 397 | flex-grow: 1; 398 | 399 | form { 400 | display: flex; 401 | flex-direction: column; 402 | gap: 12px; 403 | padding: 12px; 404 | } 405 | 406 | input, 407 | select { 408 | .common_input(); 409 | margin-left: 4px; 410 | margin-right: 4px; 411 | } 412 | 413 | label { 414 | display: inline-flex; 415 | align-items: center; 416 | vertical-align: top; 417 | gap: 4px; 418 | } 419 | 420 | #dhx_repeat_year, 421 | #dhx_repeat_month, 422 | #dhx_repeat_week, 423 | #dhx_repeat_day, 424 | .dhx_repeat_right { 425 | display: flex; 426 | flex-direction: column; 427 | gap: 4px; 428 | } 429 | 430 | #dhx_repeat_month>div, 431 | #dhx_repeat_week>div { 432 | display: flex; 433 | gap: 8px; 434 | } 435 | 436 | } 437 | 438 | .dhx_repeat_left { 439 | display: flex; 440 | flex-wrap: wrap; 441 | gap: 12px; 442 | } 443 | 444 | .dhx_repeat_divider { 445 | background: var(--dhx-scheduler-base-colors-border); 446 | height: 1px; 447 | } 448 | 449 | .dhx_repeat_text { 450 | width: 28px; 451 | .common_input(); 452 | } 453 | 454 | .dhx_repeat_date, 455 | .dhx_form_repeat select { 456 | .common_input(); 457 | } 458 | 459 | .dhx_cal_light .dhx_readonly { 460 | color: var(--dhx-scheduler-base-colors-readonly); 461 | } 462 | 463 | .dhx_lightbox_minical { 464 | display: flex; 465 | gap: 8px; 466 | align-items: center; 467 | 468 | .dhx_lightbox_minical_spacer { 469 | display: flex; 470 | align-items: center; 471 | justify-content: center; 472 | } 473 | 474 | .dhx_minical_input { 475 | max-width: 165px; 476 | } 477 | 478 | .dhx_lightbox_time_select { 479 | width: 95px; 480 | } 481 | } 482 | 483 | .dhx_form_rrule { 484 | display: flex; 485 | flex-direction: column; 486 | gap: 8px; 487 | 488 | .dhx_form_repeat_custom, 489 | .dhx_form_repeat_ends, 490 | .dhx_form_repeat_ends_extra { 491 | display: flex; 492 | flex-direction: column; 493 | gap: 8px; 494 | } 495 | 496 | .dhx_form_repeat_ends_options { 497 | display: flex; 498 | gap: 8px; 499 | } 500 | 501 | label { 502 | display: inline-flex; 503 | align-items: center; 504 | vertical-align: top; 505 | gap: 4px; 506 | } 507 | 508 | input[type="number"] { 509 | width: 80px; 510 | } 511 | 512 | .dhx_form_repeat_custom_week { 513 | display: flex; 514 | flex-wrap: wrap; 515 | gap: 8px; 516 | } 517 | } 518 | 519 | 520 | .scheduler-recurring_mode{ 521 | --dhx_scheduler-radio-size: 20px; 522 | --dhx_scheduler-radio-border-color: #4c84f1; 523 | --dhx_scheduler-radio-checked-color: #4c84f1; 524 | --dhx_scheduler-radio-checked-inner-size: 10px; 525 | --dhx_scheduler-font-size: 14px; 526 | --dhx_scheduler-label-margin: 10px; 527 | 528 | .dhtmlx_popup_title{ 529 | padding-top: 16px; 530 | padding-bottom: 0; 531 | } 532 | 533 | .scheduler_popup_text{ 534 | justify-content: flex-start; 535 | } 536 | 537 | .scheduler_popup_controls{ 538 | justify-content:center; 539 | padding-bottom: 16px; 540 | } 541 | .scheduler_popup_button { 542 | min-width: 110px; 543 | } 544 | 545 | label.dhx_styled_radio { 546 | display: flex; 547 | align-items: center; 548 | cursor: pointer; 549 | padding-right: 4px; 550 | } 551 | 552 | .dhx_edit_recurrence_options{ 553 | display: flex; 554 | flex-direction: column; 555 | gap: var(--dhx_scheduler-label-margin); 556 | } 557 | 558 | 559 | .dhx_styled_radio > input[type="radio"] { 560 | appearance: none; 561 | width: var(--dhx_scheduler-radio-size); 562 | height: var(--dhx_scheduler-radio-size); 563 | border: 2px solid var(--dhx_scheduler-radio-border-color); 564 | border-radius: 50%; 565 | outline: none; 566 | margin: 2px 10px 2px 5px; 567 | display: inline-block; 568 | position: relative; 569 | background-color: transparent; 570 | } 571 | 572 | .dhx_styled_radio >input[type="radio"]:checked { 573 | background-color: transparent; 574 | } 575 | 576 | .dhx_styled_radio > input[type="radio"]:checked::after { 577 | content: ''; 578 | width: var(--dhx_scheduler-radio-checked-inner-size); 579 | height: var(--dhx_scheduler-radio-checked-inner-size); 580 | background-color: var(--dhx_scheduler-radio-checked-color); 581 | border-radius: 50%; 582 | position: absolute; 583 | top: 50%; 584 | left: 50%; 585 | transform: translate(-50%, -50%); 586 | } 587 | 588 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/misc.less: -------------------------------------------------------------------------------- 1 | /* key nav */ 2 | .dhx_focus_slot { 3 | background: var(--dhx-scheduler-base-colors-select); 4 | position: absolute; 5 | pointer-events: none; 6 | opacity: 0.5; 7 | } 8 | 9 | .dhx_cal_container *:focus { 10 | outline-style: solid; 11 | /*not visible focus outline in ie11*/ 12 | outline-style: auto; 13 | outline-color: var(--dhx-scheduler-base-colors-select); 14 | } 15 | 16 | /* key nav end*/ 17 | 18 | .dhx_no_select { 19 | user-select: none; 20 | } 21 | 22 | .dhx_drag_placeholder { 23 | z-index: 10; 24 | opacity: 0.8; 25 | } 26 | 27 | .dhx_drag_placeholder .dhx_cal_select_menu { 28 | display: none; 29 | } 30 | 31 | /* readonly */ 32 | 33 | .dhx_cal_light_readonly { 34 | .dhx_section_time { 35 | display: block; 36 | 37 | .dhx_section_time_spacer { 38 | visibility: visible; 39 | } 40 | } 41 | 42 | .dhx_cal_lsection+div { 43 | padding-top: 4px; 44 | padding-bottom: 4px; 45 | } 46 | } 47 | 48 | 49 | /* undo delete */ 50 | 51 | .scheduler-info.scheduler-popup_after_delete{ 52 | cursor: default ; 53 | border-radius: var(--dhx-scheduler-border-radius); 54 | padding: 0; 55 | width: 225px; 56 | --dhx-scheduler-info-background: var(--dhx-scheduler-undo-delete-background); 57 | --dhx-scheduler-info-color: var(--dhx-scheduler-undo-delete-color); 58 | } 59 | 60 | .dhx_info_message{ 61 | display: flex; 62 | justify-content: space-between; 63 | align-items: center; 64 | padding: 8px 12px; 65 | } 66 | 67 | .undo_popup_text{ 68 | text-align: center; 69 | } 70 | 71 | .undo_button{ 72 | .button; 73 | .button-link; 74 | } 75 | 76 | /* drag_highlight */ 77 | 78 | .dhx_scheduler_month .dhx_marked_timespan.dhx_scheduler_dnd_marker { 79 | display:block; 80 | margin-top: -4px; 81 | } 82 | 83 | .dhx_marked_timespan.dhx_scheduler_dnd_marker { 84 | justify-content: flex-start; 85 | align-items: flex-start; 86 | } 87 | 88 | .dhx_scheduler_dnd_marker{ 89 | opacity: 0.5; 90 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/modals.less: -------------------------------------------------------------------------------- 1 | .scheduler_message_area{ 2 | position:fixed; 3 | right:5px; 4 | width:250px; 5 | z-index:11; 6 | } 7 | 8 | .scheduler-info { 9 | min-width: 120px; 10 | padding: 12px; 11 | font-family:var(--dhx-scheduler-font-family); 12 | font-size: var(--dhx-scheduler-regular-font-size); 13 | font-weight: var(--dhx-scheduler-regular-font-weight); 14 | line-height: var(--dhx-scheduler-regular-line-height); 15 | z-index: 14; 16 | overflow: hidden; 17 | margin:5px; 18 | margin-bottom:10px; 19 | 20 | transition: all .5s ease; 21 | 22 | background: var(--dhx-scheduler-info-background); 23 | color: var(--dhx-scheduler-info-color); 24 | border:var(--dhx-scheduler-info-border); 25 | box-shadow:var(--dhx-scheduler-info-shadow); 26 | } 27 | 28 | .scheduler-info.hidden{ 29 | height:0px; 30 | padding:0px; 31 | border-width:0px; 32 | margin:0px; 33 | overflow:hidden; 34 | } 35 | 36 | .scheduler_modal_box { 37 | 38 | overflow:hidden; 39 | position:fixed; 40 | min-width: 300px; 41 | width: var(--dhx-scheduler-modal-width); 42 | background: var(--dhx-scheduler-modal-background); 43 | box-shadow: var(--dhx-scheduler-box-shadow-l); 44 | border: var(--dhx-scheduler-modal-border); 45 | border-radius: var(--dhx-scheduler-modal-border-radius); 46 | z-index:18; 47 | border-radius: var(--dhx-scheduler-modal-border-radius); 48 | font-family: var(--dhx-scheduler-font-family); 49 | font-size: var(--dhx-scheduler-font-size); 50 | line-height: 150%; 51 | } 52 | 53 | 54 | .scheduler_popup_text { 55 | color: var(--dhx-scheduler-base-colors-text-base); 56 | } 57 | 58 | .scheduler_popup_title { 59 | border-top-left-radius:var(--dhx-scheduler-modal-border-radius); 60 | border-top-right-radius:var(--dhx-scheduler-modal-border-radius); 61 | color: var(--dhx-scheduler-base-colors-text-base); 62 | font-size: var(--dhx-scheduler-heading-font-size); 63 | font-weight: var(--dhx-scheduler-heading-font-weight); 64 | padding: calc(var(--dhx-scheduler-modal-padding)/2) var(--dhx-scheduler-modal-padding); 65 | display: flex; 66 | justify-content: center; 67 | align-items: center; 68 | } 69 | 70 | .scheduler_popup_text{ 71 | padding: var(--dhx-scheduler-modal-padding); 72 | display: flex; 73 | justify-content: center; 74 | align-items: center; 75 | } 76 | 77 | .scheduler_popup_controls{ 78 | display: flex; 79 | flex-direction: row-reverse; 80 | padding: calc(var(--dhx-scheduler-modal-padding)/2) var(--dhx-scheduler-modal-padding); 81 | 82 | align-items: center; 83 | gap: 12px; 84 | } 85 | 86 | .scheduler-info, .scheduler_popup_button, .scheduler_button{ 87 | user-select: none; 88 | cursor:pointer; 89 | } 90 | 91 | .scheduler_popup_text{ 92 | overflow:hidden; 93 | } 94 | 95 | div.dhx_modal_cover { 96 | background: #44494E; 97 | 98 | opacity: 0.2; 99 | position: fixed; 100 | z-index:17; 101 | left: 0px; top: 0px; 102 | width: 100%; height: 100%; 103 | border: none; 104 | } 105 | 106 | // BUTTONS ********************************************* 107 | 108 | .scheduler_popup_controls { 109 | border-radius: var(--dhx-scheduler-border-radius); 110 | 111 | } 112 | 113 | .scheduler_message_area{ 114 | .scheduler-error{ 115 | --dhx-scheduler-info-background: var(--dhx-scheduler-base-colors-error); 116 | --dhx-scheduler-info-color: var(--dhx-scheduler-base-colors-white); 117 | } 118 | 119 | .scheduler-warning{ 120 | --dhx-scheduler-info-background: var(--dhx-scheduler-base-colors-warning); 121 | 122 | } 123 | } 124 | 125 | .scheduler_modal_box.scheduler-error { 126 | .scheduler_popup_title { 127 | background: #d81b1b; 128 | border:1px solid #ff3c3c; 129 | color: #FFF; 130 | } 131 | } 132 | 133 | .scheduler_modal_box.scheduler-error { 134 | .scheduler_popup_title { 135 | background: #FFAB00; 136 | border:1px solid #FFAB00; 137 | } 138 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/month_event.less: -------------------------------------------------------------------------------- 1 | .dhx_cal_event_clear { 2 | box-sizing: border-box; 3 | padding: var(--dhx-scheduler-base-padding) calc(var(--dhx-scheduler-base-padding) * 2); 4 | font-size: var(--dhx-scheduler-caption-font-size); 5 | font-weight: var(--dhx-scheduler-caption-font-weight); 6 | 7 | 8 | display: flex; 9 | justify-content: start; 10 | align-items: center; 11 | gap: var(--dhx-scheduler-base-padding); 12 | 13 | cursor: pointer; 14 | flex-wrap: nowrap; 15 | white-space: nowrap; 16 | overflow: hidden; 17 | text-overflow: ellipsis; 18 | 19 | &_date { 20 | font-weight: bold; 21 | } 22 | } 23 | 24 | .dhx_cal_event_line_content { 25 | white-space: nowrap; 26 | overflow: hidden; 27 | text-overflow: ellipsis; 28 | } 29 | 30 | .dhx_cal_event_marker { 31 | display: block; 32 | flex-shrink: 0; 33 | 34 | 35 | 36 | border-radius: var(--dhx-scheduler-month-event-marker-size); 37 | width: var(--dhx-scheduler-month-event-marker-size); 38 | height: var(--dhx-scheduler-month-event-marker-size); 39 | background: var(--dhx-scheduler-event-background); 40 | margin-top: -1px; 41 | } 42 | 43 | .dhx_cal_event_clear::before { 44 | content: ''; 45 | .dhx_cal_event_marker(); 46 | } 47 | 48 | .dhx_cal_event_line .dhx_event_resize { 49 | cursor: ew-resize; 50 | .scheduler_icon(); 51 | .scheduler_icon.dots_v(); 52 | position: absolute; 53 | top: 0; 54 | height: 100%; 55 | display: none; 56 | justify-content: center; 57 | align-items: center; 58 | } 59 | 60 | 61 | .dhx_cal_event_line:hover { 62 | .dhx_event_resize { 63 | display: flex; 64 | } 65 | } 66 | 67 | .dhx_event_resize_end { 68 | right: 0; 69 | } 70 | 71 | .dhx_event_resize_start { 72 | left: 0; 73 | } 74 | 75 | .dhx_cal_container_rtl .dhx_event_resize_start { 76 | left:auto; 77 | left:unset; 78 | right: 0; 79 | } 80 | 81 | .dhx_cal_container_rtl .dhx_event_resize_end { 82 | right: auto; 83 | right: unset; 84 | left: 0; 85 | } 86 | -------------------------------------------------------------------------------- /codebase/sources/less/src/month_view.less: -------------------------------------------------------------------------------- 1 | .dhx_cal_month_table { 2 | overflow: hidden; 3 | } 4 | 5 | .dhx_cal_month_row{ 6 | display: flex; 7 | } 8 | 9 | .dhx_cal_month_cell { 10 | box-sizing: border-box; 11 | background: var(--dhx-scheduler-timescale-background); 12 | 13 | border-right: var(--dhx-scheduler-default-border); 14 | border-bottom: var(--dhx-scheduler-default-border); 15 | 16 | display: flex; 17 | flex-direction: column; 18 | 19 | &.dhx_now { 20 | --dhx-scheduler-timescale-background: var(--dhx-scheduler-timescale-today-background); 21 | } 22 | } 23 | 24 | 25 | .dhx_month_body_border, 26 | .dhx_month_head_border{ 27 | border-left: var(--dhx-scheduler-default-border); 28 | } 29 | 30 | .dhx_cal_container_rtl { 31 | .dhx_cal_month_cell { 32 | border-left: var(--dhx-scheduler-default-border); 33 | border-right: none; 34 | } 35 | 36 | .dhx_month_body_border, 37 | .dhx_month_head_border{ 38 | border-left: none; 39 | border-right: var(--dhx-scheduler-default-border); 40 | } 41 | 42 | } 43 | 44 | 45 | .dhx_month_head { 46 | box-sizing: border-box; 47 | display: flex; 48 | 49 | flex-shrink: 0; 50 | color: var(--dhx-scheduler-month-header-color); 51 | justify-content: end; 52 | align-items: flex-start; 53 | align-self: stretch; 54 | padding: var(--dhx-scheduler-month-day-header-padding); 55 | } 56 | 57 | .dhx_month_body { 58 | flex-grow: 1; 59 | padding: var(--dhx-scheduler-base-padding) calc(var(--dhx-scheduler-base-padding) * 2); 60 | box-sizing: border-box; 61 | position: relative; 62 | } 63 | 64 | .dhx_before, 65 | .dhx_after { 66 | --dhx-scheduler-month-header-color: var(--dhx-scheduler-inactive-month-color); 67 | } 68 | 69 | /*view more link in month view*/ 70 | 71 | .dhx_month_link{ 72 | position: absolute; 73 | text-align: right; 74 | cursor: pointer; 75 | padding-right: 10px; 76 | } 77 | 78 | .dhx_month_link a{ 79 | // color: @daybox-month-link-font-color; 80 | } 81 | 82 | .dhx_month_link a:hover{ 83 | text-decoration: underline; 84 | // color: darken(@daybox-month-link-font-color, 15); 85 | } 86 | 87 | .dhx_global_tip{ 88 | 89 | font-family: var(--dhx-scheduler-font-family); 90 | line-height: 110%; 91 | background-color: var(--dhx-scheduler-container-background); 92 | color: var(--dhx-scheduler-container-color); 93 | text-align:center; 94 | font-size:20px; 95 | position:fixed; 96 | top:60px; right:20px; 97 | z-index:14; 98 | padding:20px 30px; width:190px; 99 | 100 | background: var(--dhx-scheduler-popup-background); 101 | color: var(--dhx-scheduler-popup-color); 102 | border: var(--dhx-scheduler-popup-border); 103 | box-shadow: var(--dhx-scheduler-box-shadow-m); 104 | 105 | } 106 | 107 | @media (-moz-touch-enabled) { 108 | .dhx_cal_container{ 109 | user-select:none; 110 | -moz-user-select:none; 111 | } 112 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/quick_info.less: -------------------------------------------------------------------------------- 1 | .dhx_cal { 2 | &_quick_info { 3 | 4 | --dhx-scheduler-quick-info-font-size: var(--dhx-regular-font-size); 5 | 6 | position: absolute; 7 | z-index: 8; 8 | 9 | font-size: var(--dhx-scheduler-quick-info-font-size); 10 | background: var(--dhx-scheduler-popup-background); 11 | color: var(--dhx-scheduler-popup-color); 12 | border: var(--dhx-scheduler-popup-border); 13 | padding: calc(var(--dhx-scheduler-base-padding)*2) calc(var(--dhx-scheduler-base-padding)*3); 14 | border-radius: var(--dhx-scheduler-border-radius); 15 | width: 300px; 16 | 17 | display: flex; 18 | flex-direction: column; 19 | box-shadow: var(--dhx-scheduler-box-shadow-s); 20 | transition: left 0.5s ease, right 0.5s ease; 21 | } 22 | 23 | &_qi_tcontrols{ 24 | display: flex; 25 | justify-content: end; 26 | height: 8px; 27 | 28 | .dhx_cal_qi_close_btn{ 29 | .button-icon(); 30 | width:unset; 31 | min-width: unset; 32 | 33 | padding: 2px; 34 | font-size: 18px; 35 | cursor: pointer; 36 | 37 | height: 20px; 38 | position: relative; 39 | z-index: 1; 40 | } 41 | } 42 | 43 | 44 | &_qi_title, 45 | &_qi_controls, 46 | &_qi_content { 47 | padding: 0 calc(var(--dhx-scheduler-base-padding) * 3); 48 | } 49 | 50 | &_qi_title { 51 | display: flex; 52 | flex-direction: column; 53 | gap: 12px; 54 | padding-right: 14px; 55 | } 56 | 57 | 58 | &_qi_tcontent { 59 | font-size: var(--dhx-scheduler-heading-font-size); 60 | font-weight: var(--dhx-scheduler-heading-font-weight); 61 | line-height: 150%; 62 | position: relative; 63 | display: flex; 64 | flex-direction: row; 65 | justify-content: start; 66 | align-items: center; 67 | gap: 8px; 68 | 69 | overflow: hidden; 70 | 71 | flex-grow: 0; 72 | text-overflow: ellipsis; 73 | white-space: nowrap; 74 | 75 | > span { 76 | text-overflow: ellipsis; 77 | overflow: hidden; 78 | } 79 | } 80 | 81 | &_qi_tcontent::before { 82 | display: var(--dhx-scheduler-quick-info-dot-display, block); 83 | content: ''; 84 | flex-shrink: 0; 85 | width: var(--dhx-scheduler-month-event-marker-size); 86 | height: var(--dhx-scheduler-month-event-marker-size); 87 | border-radius: 2px; 88 | background: var(--dhx-scheduler-base-colors-primary); 89 | } 90 | 91 | &_qi_tdate { 92 | font-size: var(--dhx-scheduler-important-font-size); 93 | font-weight: var(--dhx-scheduler-important-font-weight); 94 | line-height: var(--dhx-scheduler-important-line-height); 95 | } 96 | 97 | &_qi_content{ 98 | padding-top: 16px; 99 | padding-bottom: 8px; 100 | } 101 | 102 | &_qi_controls { 103 | display: flex; 104 | flex-direction: row; 105 | justify-content: start; 106 | align-items: center; 107 | padding-top:8px; 108 | gap: 12px; 109 | color: var(--dhx-scheduler-base-colors-primary); 110 | 111 | > div:first-child { 112 | margin-left: -3px; 113 | } 114 | 115 | } 116 | } 117 | 118 | .dhx_qi_big_icon { 119 | // display: flex; 120 | // align-items: center; 121 | // justify-content: center; 122 | // gap: var(--dhx-scheduler-base-padding); 123 | // padding-top: 6px; 124 | // padding-bottom: 6px; 125 | 126 | 127 | } 128 | .dhx_menu_icon { 129 | width: 20px; 130 | height: 20px; 131 | display: flex; 132 | align-items: center; 133 | justify-content: center; 134 | 135 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-btn-color); 136 | } 137 | 138 | /* 139 | .dhx_menu_icon.icon_details { 140 | background: url("./imgs/icon-edit.svg") center no-repeat; 141 | } 142 | 143 | .dhx_menu_icon.icon_delete { 144 | background: url("./imgs/icon-delete.svg") center no-repeat; 145 | }*/ -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/contrast_black.less: -------------------------------------------------------------------------------- 1 | :root[data-scheduler-theme='contrast-black'] { 2 | --dhx-scheduler-theme: contrast-black; 3 | --dhx-scheduler-base-colors-disabled: #3d3d3d; 4 | --dhx-scheduler-base-colors-text-light: #cfcfcf; 5 | --dhx-scheduler-base-colors-text-base: #FFFFFFCC; 6 | --dhx-scheduler-base-colors-background: #141414; 7 | --dhx-scheduler-base-colors-border: rgba(255, 255, 255, 0.80); 8 | 9 | --dhx-scheduler-base-colors-primary: #A395FF; 10 | --dhx-scheduler-base-colors-primary-hover: #C5BCFF; 11 | --dhx-scheduler-base-colors-primary-active: #C5BCFF; 12 | --dhx-scheduler-base-colors-primary-lighter: #C5BCFF; 13 | 14 | --dhx-scheduler-event-background: #A395FF; 15 | --dhx-scheduler-event-color: #141414; 16 | --dhx-scheduler-event-border: 1px solid rgba(0,0,0, 0.1); 17 | 18 | --dhx-scheduler-base-colors-warning: #694E02; 19 | --dhx-scheduler-base-colors-success: #115700; 20 | 21 | --dhx-scheduler-base-colors-error: #FFA7A0; 22 | --dhx-scheduler-base-colors-error-hover: #fb9891; 23 | --dhx-scheduler-base-colors-error-active: #fe8b83; 24 | --dhx-scheduler-base-colors-error-lighter: #ffa6a03e; 25 | --dhx-scheduler-base-colors-error-text: #141414; 26 | 27 | --dhx-scheduler-btn-color: #141414; 28 | --dhx-scheduler-btn-color-hover: #141414; 29 | --dhx-scheduler-btn-color-active: #141414; 30 | 31 | --dhx-scheduler-base-colors-select: #2A2A2A; 32 | --dhx-scheduler-base-colors-hover-color: #2A2A2A; 33 | 34 | --dhx-scheduler-base-colors-icons: #AAAAAA; 35 | 36 | --dhx-scheduler-scale-color: var(--dhx-scheduler-base-colors-text-light); 37 | 38 | --dhx-scheduler-popup-background: #1B1B1C; 39 | --dhx-scheduler-undo-delete-background: var(--dhx-scheduler-popup-background); 40 | --dhx-scheduler-undo-delete-color: var(--dhx-scheduler-base-colors-text-base); 41 | // --dhx-scheduler-popup-color: var(--dhx-scheduler-base-colors-text-base); 42 | --dhx-scheduler-popup-border: 1px solid #4B4B4B; 43 | 44 | 45 | --dhx-scheduler-font-size: 16px; 46 | --dhx-scheduler-heading-font-size: 24px; 47 | --dhx-scheduler-important-font-size: 16px; 48 | --dhx-scheduler-regular-font-size: 16px; 49 | --dhx-scheduler-caption-font-size: 16px; 50 | 51 | --dhx-scheduler-btn-outline-color-hover:#141414; 52 | --dhx-scheduler-btn-outline-color-active:#141414; 53 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/contrast_white.less: -------------------------------------------------------------------------------- 1 | :root[data-scheduler-theme='contrast-white'] { 2 | --dhx-scheduler-theme: contrast-white; 3 | --dhx-scheduler-base-colors-disabled: #C2C2C2; 4 | --dhx-scheduler-base-colors-text-light: #303030; 5 | --dhx-scheduler-base-colors-text-base: #303030; 6 | --dhx-scheduler-base-colors-background: #FFFFFF; 7 | --dhx-scheduler-base-colors-border: #4D595B; 8 | 9 | --dhx-scheduler-base-colors-primary: #0A47CD; 10 | --dhx-scheduler-base-colors-primary-hover: #093fb3; 11 | --dhx-scheduler-base-colors-primary-active: #08379b; 12 | --dhx-scheduler-base-colors-primary-lighter: #0A47CD; 13 | 14 | --dhx-scheduler-event-background: #0A47CD; 15 | --dhx-scheduler-event-color: #FFF; 16 | --dhx-scheduler-event-border: 1px solid rgba(0,0,0, 0.1); 17 | 18 | --dhx-scheduler-base-colors-warning: #FCBA2E; 19 | --dhx-scheduler-base-colors-success: #77D257; 20 | 21 | --dhx-scheduler-base-colors-error: #FFA7A0; 22 | --dhx-scheduler-base-colors-error-hover: #d88d88; 23 | --dhx-scheduler-base-colors-error-active: #cd8984; 24 | --dhx-scheduler-base-colors-error-lighter: #FFA7A0; 25 | --dhx-scheduler-base-colors-error-text: #141414; 26 | 27 | --dhx-scheduler-btn-color: #FFFFFF; 28 | --dhx-scheduler-btn-color-hover: #FFFFFF; 29 | --dhx-scheduler-btn-color-active: #FFFFFF; 30 | 31 | --dhx-scheduler-base-colors-select: #E7E5E5; 32 | --dhx-scheduler-base-colors-hover-color: #E7E5E5; 33 | 34 | --dhx-scheduler-base-colors-icons: #303030; 35 | 36 | --dhx-scheduler-scale-color: var(--dhx-scheduler-base-colors-text-light); 37 | 38 | --dhx-scheduler-popup-background: #FFF; 39 | // --dhx-scheduler-popup-color: var(--dhx-scheduler-base-colors-text-base); 40 | --dhx-scheduler-popup-border: 1px solid #4D595B; 41 | 42 | 43 | --dhx-scheduler-font-size: 16px; 44 | --dhx-scheduler-heading-font-size: 24px; 45 | --dhx-scheduler-important-font-size: 16px; 46 | --dhx-scheduler-regular-font-size: 16px; 47 | --dhx-scheduler-caption-font-size: 16px; 48 | 49 | --dhx-scheduler-btn-outline-color-hover:#FFFFFF; 50 | --dhx-scheduler-btn-outline-color-active:#FFFFFF; 51 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/dark.less: -------------------------------------------------------------------------------- 1 | :root[data-scheduler-theme='dark'] { 2 | --dhx-scheduler-theme: dark; 3 | --dhx-scheduler-base-colors-disabled: #3d3d3d; 4 | --dhx-scheduler-base-colors-text-light: #AAA; 5 | --dhx-scheduler-base-colors-text-base: rgba(255, 255, 255, 0.90); 6 | --dhx-scheduler-base-colors-background: #000000; 7 | --dhx-scheduler-base-colors-border: #4B4B4B; 8 | 9 | --dhx-scheduler-navline-font-color: var(--dhx-scheduler-base-colors-text-base); 10 | 11 | 12 | --dhx-scheduler-base-colors-primary: #3B72F8; 13 | --dhx-scheduler-base-colors-primary-hover: #1D5AEE; 14 | --dhx-scheduler-base-colors-primary-active: #0e50ea; 15 | --dhx-scheduler-base-colors-primary-lighter: #3B72F833; 16 | 17 | --dhx-scheduler-base-colors-error: #EB284F; 18 | --dhx-scheduler-base-colors-error-hover: #D9264A; 19 | --dhx-scheduler-base-colors-error-active: #ba0a24; 20 | --dhx-scheduler-base-colors-error-lighter: #EB284F33; 21 | 22 | --dhx-scheduler-base-colors-select: #2A2A2A; 23 | --dhx-scheduler-base-colors-hover-color: #2A2A2A; 24 | 25 | --dhx-scheduler-base-colors-icons: #AAAAAA; 26 | 27 | --dhx-scheduler-scale-color: var(--dhx-scheduler-base-colors-text-light); 28 | 29 | --dhx-scheduler-popup-background: #1B1B1C; 30 | // --dhx-scheduler-popup-color: var(--dhx-scheduler-base-colors-text-base); 31 | --dhx-scheduler-popup-border: 1px solid #4B4B4B; 32 | 33 | --dhx-scheduler-btn-font-weight: 600; 34 | --dhx-scheduler-undo-delete-background: var(--dhx-scheduler-popup-background); 35 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/flat.less: -------------------------------------------------------------------------------- 1 | :root[data-scheduler-theme='flat'] { 2 | --dhx-scheduler-theme: flat; 3 | --dhx-scheduler-font-family: Segoe UI,Arial,san-serif; 4 | 5 | --dhx-scheduler-base-colors-primary: #0288D1; 6 | --dhx-scheduler-base-colors-primary-hover: #007cbf; 7 | --dhx-scheduler-base-colors-primary-active: #00659b; 8 | --dhx-scheduler-base-colors-primary-lighter: #edf8ff; 9 | 10 | --dhx-scheduler-event-background: var(--dhx-scheduler-base-colors-primary); 11 | 12 | --dhx-scheduler-base-colors-border: #cecece; 13 | --dhx-scheduler-halfhour-border: 1px solid #e8e8e8; 14 | --dhx-scheduler-event-title-font-size: 12px; 15 | 16 | --dhx-scheduler-event-text-font-size: 14px; 17 | --dhx-scheduler-event-text-font-weight: 500; 18 | 19 | --dhx-scheduler-heading-font-size: 22px; 20 | --dhx-scheduler-heading-font-weight: 300; 21 | --dhx-scheduler-caption-font-size: 14px; 22 | --dhx-scheduler-caption-font-weight: 400; 23 | 24 | --dhx-scheduler-hours-font-size: 12px; 25 | 26 | --dhx-scheduler-scale-color: #767676; 27 | 28 | --dhx-scheduler-border-radius:0; 29 | 30 | --dhx-scheduler-timeline-folder-background: #ebeced; 31 | 32 | --dhx-scheduler-box-shadow-s: 0 3px 5px 0 rgba(0,0,0,.1);; 33 | --dhx-scheduler-box-shadow-m: 0px 4px 24px 0px rgba(44, 47, 60, 0.36); 34 | 35 | --dhx-scheduler-box-shadow-l: 0px 4px 24px 0px rgba(44, 47, 60, 0.56); 36 | 37 | .dhx_cal_navline{ 38 | --dhx-scheduler-btn-outline-border-color: transparent; 39 | --dhx-scheduler-btn-outline-border-hover: transparent; 40 | --dhx-scheduler-btn-outline-border-color-disabled: transparent; 41 | } 42 | 43 | .dhx_scale_hour{ 44 | justify-content: center; 45 | } 46 | 47 | .dhx_cal_tab { 48 | min-width: 90px; 49 | } 50 | 51 | .dhx_cal_navline{ 52 | & > div { 53 | order: 1 54 | } 55 | 56 | .dhx_cal_next_button{ 57 | order: 6; 58 | } 59 | .dhx_cal_today_button{ 60 | order: 5; 61 | border-color: transparent; 62 | } 63 | .dhx_cal_prev_button{ 64 | order: 4; 65 | } 66 | 67 | .dhx_cal_date{ 68 | order: 3; 69 | } 70 | 71 | .dhx_cal_date{ 72 | margin-left: auto; 73 | margin-right: auto; 74 | } 75 | } 76 | 77 | .dhx_data_table.folder .dhx_matrix_cell { 78 | border-right: 0; 79 | } 80 | 81 | .dhx_timeline_scale_header{ 82 | border-right: none; 83 | } 84 | 85 | .dhx_cal_container_rtl .dhx_timeline_scale_header { 86 | border-left: unset; 87 | } 88 | 89 | .dhx_scale_hour{ 90 | display: flex; 91 | flex-direction: row; 92 | .dhx_scale_h { 93 | font-size: 22px; 94 | line-height: 44px; 95 | font-weight: lighter; 96 | } 97 | .dhx_scale_m { 98 | font-size: 11px; 99 | line-height: 35px; 100 | align-self: end; 101 | font-weight: lighter; 102 | transform: translateY(-2px); 103 | } 104 | } 105 | 106 | .scheduler_popup_title { 107 | text-transform: uppercase; 108 | } 109 | 110 | --dhx-scheduler-config-form_wide: 1; 111 | --dhx-scheduler-xy-scale_height: 35px; 112 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/index.less: -------------------------------------------------------------------------------- 1 | @import "./variables"; 2 | @import "./dark"; 3 | @import "./flat"; 4 | @import "./material"; 5 | @import "./contrast_white"; 6 | @import "./contrast_black"; -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/material.less: -------------------------------------------------------------------------------- 1 | :root[data-scheduler-theme='material'] { 2 | --dhx-scheduler-theme: material; 3 | --dhx-scheduler-font-family: Roboto, Helvetica, Arial, sans-serif; 4 | 5 | --dhx-scheduler-base-colors-primary: #0288D1; 6 | --dhx-scheduler-base-colors-primary-hover: #007cbf; 7 | --dhx-scheduler-base-colors-primary-active: #00659b; 8 | --dhx-scheduler-base-colors-primary-lighter: #edf8ff; 9 | 10 | --dhx-scheduler-event-background: var(--dhx-scheduler-base-colors-primary); 11 | 12 | --dhx-scheduler-base-colors-border: #e0e0e0; 13 | --dhx-scheduler-event-title-font-size: calc(var(--dhx-scheduler-font-size) - 2px); 14 | 15 | --dhx-scheduler-event-text-font-size: var(--dhx-scheduler-font-size); 16 | --dhx-scheduler-event-text-font-weight: 500; 17 | 18 | --dhx-scheduler-heading-font-size: 20px; 19 | --dhx-scheduler-caption-font-size: var(--dhx-scheduler-font-size); 20 | --dhx-scheduler-caption-font-weight: 500; 21 | --dhx-scheduler-btn-font-weight: 500; 22 | --dhx-scheduler-heading-font-weight: 500; 23 | 24 | --dhx-scheduler-hours-font-size: calc(var(--dhx-scheduler-font-size) - 2px); 25 | 26 | --dhx-scheduler-base-colors-text-base: rgba(0,0,0,.75); 27 | 28 | 29 | --dhx-scheduler-header-border: 1px solid transparent; 30 | --dhx-scheduler-scale-color: rgba(0,0,0,.54); 31 | 32 | --dhx-scheduler-border-radius:0; 33 | 34 | --dhx-scheduler-btn-text-transform: uppercase; 35 | --dhx-scheduler-btn-padding: 1px 20px 0; 36 | 37 | --dhx-scheduler-halfhour-border: none; 38 | 39 | --dhx-scheduler-timeline-folder-background: #ebeced; 40 | 41 | --dhx-scheduler-box-shadow-s: 0 3px 5px 0 rgba(0,0,0,.1);; 42 | --dhx-scheduler-box-shadow-m: 0px 4px 24px 0px rgba(44, 47, 60, 0.36); 43 | 44 | --dhx-scheduler-box-shadow-l: 0px 4px 24px 0px rgba(44, 47, 60, 0.56); 45 | 46 | --dhx-scheduler-lightbox-title-background: var(--dhx-scheduler-base-colors-primary); 47 | --dhx-scheduler-lightbox-title-color: #FFFFFF; 48 | --dhx-scheduler-lightbox-title-font-size: var(--dhx-scheduler-font-size); 49 | 50 | --dhx-scheduler-lightbox-wide-max-width: 540px; 51 | 52 | .dhx_scale_hour{ 53 | justify-content: center; 54 | } 55 | 56 | .dhx_cal_tab { 57 | min-width: 90px; 58 | } 59 | 60 | .dhx_cal_navline{ 61 | & > div { 62 | order: 1 63 | } 64 | 65 | .dhx_cal_next_button{ 66 | order: 6; 67 | } 68 | .dhx_cal_today_button{ 69 | order: 5; 70 | border-color: transparent; 71 | } 72 | .dhx_cal_prev_button{ 73 | order: 4; 74 | } 75 | 76 | .dhx_cal_date{ 77 | order: 3; 78 | } 79 | 80 | .dhx_cal_date{ 81 | margin-left: auto; 82 | margin-right: auto; 83 | } 84 | } 85 | 86 | .dhx_data_table.folder .dhx_matrix_cell { 87 | border-right: 0; 88 | } 89 | 90 | .dhx_timeline_scale_header{ 91 | border-right: none; 92 | } 93 | .dhx_cal_container_rtl .dhx_timeline_scale_header { 94 | border-left: unset; 95 | } 96 | 97 | .dhx_cal_scale_placeholder{ 98 | position: absolute; 99 | z-index: 2; 100 | box-shadow: 0 3px 5px 0 rgba(0,0,0,.1); 101 | left: 0; 102 | pointer-events: none; 103 | } 104 | 105 | .dhx_year_box { 106 | 107 | .dhx_year_month { 108 | font-weight: 500; 109 | color: var(--dhx-scheduler-base-colors-primary); 110 | } 111 | 112 | .dhx_month_head.dhx_year_event::after { 113 | content:none; 114 | } 115 | 116 | .dhx_year_event { 117 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-datepicker-hover-color); 118 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-datepicker-hover-background); 119 | } 120 | 121 | } 122 | 123 | .dhx_cal_ltitle{ 124 | font-weight: 400; 125 | text-transform: uppercase; 126 | 127 | } 128 | .dhx_cal_ltitle_controls{ 129 | --dhx-scheduler-base-colors-icons: var(--dhx-scheduler-lightbox-title-color); 130 | } 131 | 132 | .dhx_timeline_scale_header { 133 | .dhx_scale_text_styles(); 134 | } 135 | 136 | .scheduler_popup_title { 137 | text-transform: uppercase; 138 | } 139 | 140 | 141 | --dhx-scheduler-config-form_wide: 1; 142 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/themes/variables.less: -------------------------------------------------------------------------------- 1 | /* default terrace theme is here */ 2 | 3 | :root { 4 | --dhx-scheduler-theme: terrace; 5 | --dhx-scheduler-font-family: Inter, Helvetica, Arial, sans-serif; 6 | --dhx-scheduler-font-size: 14px; 7 | 8 | --dhx-scheduler-heading-font-size: calc(var(--dhx-scheduler-font-size) + 2px); 9 | --dhx-scheduler-heading-font-weight: 600; 10 | 11 | --dhx-scheduler-important-font-size: var(--dhx-scheduler-font-size); 12 | --dhx-scheduler-important-line-height: 142%; 13 | --dhx-scheduler-important-font-weight: 500; 14 | --dhx-scheduler-regular-font-size: var(--dhx-scheduler-font-size); 15 | --dhx-scheduler-regular-font-weight: 400; 16 | --dhx-scheduler-regular-line-height: 142%; 17 | 18 | --dhx-scheduler-caption-font-size: calc(var(--dhx-scheduler-font-size) - 2px); 19 | --dhx-scheduler-caption-font-weight: 400; 20 | --dhx-scheduler-caption-line-height: 132%; 21 | 22 | --dhx-scheduler-base-colors-primary: #537CFA; 23 | --dhx-scheduler-base-colors-primary-hover: #4269E0; 24 | --dhx-scheduler-base-colors-primary-active: #3365fb; 25 | --dhx-scheduler-base-colors-primary-lighter: #537cfa33; 26 | 27 | --dhx-scheduler-base-colors-warning: #FAB936; 28 | --dhx-scheduler-base-colors-error: #E3334E; 29 | --dhx-scheduler-base-colors-error-hover: #D3233E; 30 | --dhx-scheduler-base-colors-error-active: #C3132E; 31 | --dhx-scheduler-base-colors-error-lighter: #E3334E33; 32 | --dhx-scheduler-base-colors-error-text: #FFFFFF; 33 | --dhx-scheduler-base-colors-success: #1BC297; 34 | 35 | --dhx-scheduler-base-colors-secondary: rgba(0, 0, 0, 0.04); 36 | --dhx-scheduler-base-colors-secondary-hover: rgba(0, 0, 0, 0.1); 37 | 38 | --dhx-scheduler-base-colors-white: #FFFFFF; 39 | --dhx-scheduler-base-colors-select: #EFF3FF; 40 | --dhx-scheduler-base-colors-hover-color: #e0e0e0; 41 | --dhx-scheduler-base-colors-border: #D0DBE3; 42 | --dhx-scheduler-base-colors-icons: #A1A4A6; 43 | --dhx-scheduler-base-colors-icons-active: #8b8e90; 44 | --dhx-scheduler-base-colors-icons-hover: #76787a; 45 | 46 | --dhx-scheduler-base-colors-disabled: #E9E9E9; 47 | --dhx-scheduler-base-colors-readonly: var(--dhx-scheduler-base-colors-icons); 48 | --dhx-scheduler-base-colors-text-light: #44494E; 49 | --dhx-scheduler-base-colors-text-base: #23272A; 50 | --dhx-scheduler-base-colors-background: #FFFFFF; 51 | 52 | --dhx-scheduler-container-background: var(--dhx-scheduler-base-colors-background); 53 | --dhx-scheduler-container-color: var(--dhx-scheduler-base-colors-text-base); 54 | --dhx-scheduler-container-background-alt: rgba(0, 0, 0, 0.4); 55 | 56 | --dhx-scheduler-base-transition: 0.2s ease; 57 | 58 | --dhx-scheduler-box-shadow-s: 0px 4px 24px 0px rgba(44, 47, 60, 0.08); 59 | --dhx-scheduler-box-shadow-m: 0px 4px 24px 0px rgba(44, 47, 60, 0.36); 60 | 61 | --dhx-scheduler-box-shadow-l: 0px 4px 24px 0px rgba(44, 47, 60, 0.56); 62 | 63 | --dhx-scheduler-base-module: 4px; 64 | --dhx-scheduler-base-padding: 4px; 65 | --dhx-scheduler-border-radius: var(--dhx-scheduler-base-module); 66 | 67 | --dhx-scheduler-event-colors-primary: #537CFA; 68 | --dhx-scheduler-event-text-primary: rgba(255, 255, 255, 0.90); 69 | 70 | --dhx-scheduler-toolbar-height: 40px; 71 | --dhx-scheduler-transition: all 0.3s; 72 | 73 | --dhx-scheduler-navline-font-color: var(--dhx-scheduler-base-colors-text-light); 74 | 75 | --dhx-scheduler-default-border: 1px solid var(--dhx-scheduler-base-colors-border); 76 | --dhx-scheduler-header-border: var(--dhx-scheduler-default-border); 77 | --dhx-scheduler-halfhour-border: 1px dotted var(--dhx-scheduler-base-colors-border); 78 | 79 | /* events */ 80 | 81 | --dhx-scheduler-event-background-primary: var(--dhx-scheduler-base-colors-primary); 82 | 83 | --dhx-scheduler-event-blue: linear-gradient(180deg, #527CFF 0%, #9751FC 100%); 84 | --dhx-scheduler-event-green: linear-gradient(180deg, #12D979 0%, #1ECDEB 100%); 85 | --dhx-scheduler-event-violet: linear-gradient(180deg, #D071EF 0%, #EE71D5 100%); 86 | --dhx-scheduler-event-yellow: linear-gradient(180deg, #FFB725 0%, #FFBB25 31.25%, #FAEA27 100%); 87 | 88 | --dhx-scheduler-event-title-font-size: var(--dhx-scheduler-caption-font-size); 89 | --dhx-scheduler-event-title-line-height: var(--dhx-scheduler-caption-line-height); 90 | 91 | --dhx-scheduler-event-text-font-size: var(--dhx-scheduler-regular-font-size); 92 | --dhx-scheduler-event-text-line-height: var(--dhx-scheduler-regular-line-height); 93 | --dhx-scheduler-event-text-font-weight: var(--dhx-scheduler-regular-font-weight); 94 | --dhx-scheduler-event-bar-font-size: var(--dhx-scheduler-caption-font-size); 95 | --dhx-scheduler-event-bar-line-height: var(--dhx-scheduler-caption-line-height); 96 | ; 97 | 98 | --dhx-scheduler-event-menu-background: var(--dhx-scheduler-popup-background); 99 | --dhx-scheduler-event-menu-color: var(--dhx-scheduler-base-colors-primary); 100 | 101 | --dhx-scheduler-event-background: var(--dhx-scheduler-event-blue); 102 | --dhx-scheduler-event-border: none; 103 | --dhx-scheduler-event-color: var(--dhx-scheduler-event-text-primary); 104 | --dhx-scheduler-event-line-text: var(--dhx-scheduler-container-color); 105 | 106 | --dhx-scheduler-event-marker-color: var(--dhx-scheduler-event-background); 107 | 108 | --dhx-scheduler-popup-background: var(--dhx-scheduler-container-background); 109 | --dhx-scheduler-popup-color: var(--dhx-scheduler-container-color); 110 | --dhx-scheduler-popup-border: none; 111 | --dhx-scheduler-popup-border-radius: var(--dhx-scheduler-border-radius); 112 | /* form */ 113 | 114 | --dhx-scheduler-control-height: 32px; 115 | --dhx-scheduler-checkbox-height: 20px; 116 | 117 | --dhx-scheduler-lightbox_font-family: var(--dhx-scheduler-font-family); 118 | --dhx-scheduler-lightbox-font-size: var(--dhx-scheduler-important-font-size); 119 | --dhx-scheduler-lightbox-font-weight: var(--dhx-scheduler-important-font-weight); 120 | 121 | --dhx-scheduler-lightbox-background: var(--dhx-scheduler-popup-background); 122 | --dhx-scheduler-lightbox-border: var(--dhx-scheduler-popup-border); 123 | --dhx-scheduler-lightbox-control-border: var(--dhx-scheduler-default-border); 124 | --dhx-scheduler-lightbox-color: var(--dhx-scheduler-popup-color); 125 | 126 | --dhx-scheduler-lightbox-title-background: var(--dhx-scheduler-base-colors-select); 127 | --dhx-scheduler-lightbox-title-color: var(--dhx-scheduler-lightbox-color); 128 | --dhx-scheduler-lightbox-title-font-size: var(--dhx-scheduler-heading-font-size); 129 | 130 | --dhx-scheduler-lightbox-max-width: 496px; 131 | --dhx-scheduler-lightbox-wide-max-width: 738px; 132 | --dhx-scheduler-lightbox-width: var(--dhx-scheduler-lightbox-max-width); 133 | 134 | /* week */ 135 | 136 | --dhx-scheduler-scale-color: var(--dhx-scheduler-container-color); 137 | --dhx-scheduler-timescale-background: var(--dhx-scheduler-container-background); 138 | --dhx-scheduler-timescale-today-background: var(--dhx-scheduler-base-colors-select); 139 | 140 | --dhx-scheduler-hours-font-size: var(--dhx-scheduler-caption-font-size); 141 | --dhx-scheduler-hours-font-weight: var(--dhx-scheduler-caption-font-weight); 142 | /* month */ 143 | --dhx-scheduler-inactive-month-color: var(--dhx-scheduler-base-colors-icons); 144 | --dhx-scheduler-month-header-color: var(--dhx-scheduler-container-color); 145 | 146 | --dhx-scheduler-month-day-header-padding: var(--dhx-scheduler-base-padding) calc(var(--dhx-scheduler-base-padding) * 2); 147 | --dhx-scheduler-month-event-marker-size: calc(var(--dhx-scheduler-base-module) * 2); 148 | /* year */ 149 | 150 | 151 | /* agenda */ 152 | 153 | --dhx-scheduler-list-line-height: 36px; 154 | --dhx-scheduler-agenda-date-column-width: 188px; 155 | 156 | 157 | /* grid */ 158 | 159 | --dhx-scheduler-grid-event-background: transparent; 160 | --dhx-scheduler-grid-event-text: initial; 161 | 162 | /* timeline */ 163 | --dhx-scheduler-timeline-folder-background: var(--dhx-scheduler-base-colors-disabled); 164 | --dhx-scheduler-timeline-folder-color: var(--dhx-scheduler-base-colors-primary); 165 | --dhx-scheduler-treetimeline-level-padding: 16px; 166 | 167 | /* markers */ 168 | 169 | --dhx-scheduler-blocked-time-background: var(--dhx-scheduler-base-colors-disabled); 170 | --dhx-scheduler-today-marker-color: var(--dhx-scheduler-base-colors-error); 171 | 172 | /* datepicker */ 173 | 174 | --dhx-scheduler-datepicker-width: 250px; 175 | --dhx-scheduler-datepicker-font-size: var(--dhx-scheduler-font-size); 176 | --dhx-scheduler-datepicker-family: var(--dhx-scheduler-font-family); 177 | --dhx-scheduler-datepicker-cell-size: 28px; 178 | --dhx-scheduler-datepicker-header-font-size: var(--dhx-scheduler-font-size); 179 | --dhx-scheduler-datepicker-header-font-weight: 500; 180 | --dhx-scheduler-datepicker-padding: 5px; 181 | --dhx-scheduler-datepicker-inactive-month-color: var(--dhx-scheduler-inactive-month-color); 182 | 183 | 184 | --dhx-scheduler-datepicker-cell-color: var(--dhx-scheduler-popup-color); 185 | --dhx-scheduler-datepicker-cell-background: var(--dhx-scheduler-popup-background); 186 | 187 | --dhx-scheduler-datepicker-today-color: var(--dhx-scheduler-base-colors-white); 188 | --dhx-scheduler-datepicker-today-background: var(--dhx-scheduler-base-colors-primary); 189 | 190 | --dhx-scheduler-datepicker-weekend-color: var(--dhx-scheduler-base-colors-primary); 191 | --dhx-scheduler-datepicker-weekend-background: var(--dhx-scheduler-popup-background); 192 | 193 | --dhx-scheduler-datepicker-disabled-color: var(--dhx-scheduler-base-colors-icons); 194 | --dhx-scheduler-datepicker-disabled-background: var(--dhx-scheduler-base-colors-disabled); 195 | 196 | --dhx-scheduler-datepicker-hover-color: var(--dhx-scheduler-base-colors-white); 197 | --dhx-scheduler-datepicker-hover-background: var(--dhx-scheduler-base-colors-primary-hover); 198 | 199 | --dhx-scheduler-datepicker-prevnext-color: var(--dhx-scheduler-inactive-month-color); 200 | --dhx-scheduler-datepicker-prevnext-background: var(--dhx-scheduler-popup-background); 201 | 202 | /* buttons */ 203 | 204 | --dhx-scheduler-btn-background: var(--dhx-scheduler-base-colors-primary); 205 | --dhx-scheduler-btn-color: var(--dhx-scheduler-base-colors-white); 206 | --dhx-scheduler-btn-border-color: var(--dhx-scheduler-base-colors-primary); 207 | 208 | --dhx-scheduler-btn-color-hover: var(--dhx-scheduler-base-colors-white); 209 | --dhx-scheduler-btn-background-hover: var(--dhx-scheduler-base-colors-primary-hover); 210 | --dhx-scheduler-btn-border-hover: var(--dhx-scheduler-base-colors-primary-hover); 211 | 212 | --dhx-scheduler-btn-color-active: var(--dhx-scheduler-base-colors-white); 213 | --dhx-scheduler-btn-background-active: var(--dhx-scheduler-base-colors-primary-active); 214 | --dhx-scheduler-btn-border-active: var(--dhx-scheduler-base-colors-primary-active); 215 | 216 | --dhx-scheduler-btn-background-disabled: var(--dhx-scheduler-base-colors-disabled); 217 | --dhx-scheduler-btn-color-disabled: var(--dhx-scheduler-base-colors-icons); 218 | --dhx-scheduler-btn-border-color-disabled: var(--dhx-scheduler-base-colors-disabled); 219 | 220 | --dhx-scheduler-btn-outline-background: transparent; 221 | --dhx-scheduler-btn-outline-color: var(--dhx-scheduler-base-colors-primary); 222 | --dhx-scheduler-btn-outline-border-color: var(--dhx-scheduler-base-colors-primary); 223 | 224 | --dhx-scheduler-btn-outline-background-hover: var(--dhx-scheduler-base-colors-primary-lighter); 225 | --dhx-scheduler-btn-outline-color-hover: var(--dhx-scheduler-base-colors-primary-hover); 226 | --dhx-scheduler-btn-outline-border-hover: var(--dhx-scheduler-base-colors-primary-hover); 227 | 228 | --dhx-scheduler-btn-outline-background-active: var(--dhx-scheduler-base-colors-primary-active); 229 | --dhx-scheduler-btn-outline-color-active: var(--dhx-scheduler-base-colors-white); 230 | --dhx-scheduler-btn-outline-border-active: var(--dhx-scheduler-base-colors-primary-active); 231 | 232 | --dhx-scheduler-btn-outline-background-disabled: transparent; 233 | --dhx-scheduler-btn-outline-color-disabled: var(--dhx-scheduler-base-colors-icons); 234 | --dhx-scheduler-btn-outline-border-color-disabled: var(--dhx-scheduler-base-colors-icons); 235 | 236 | --dhx-scheduler-btn-text-transform: none; 237 | 238 | /* scheduler.xy values */ 239 | --dhx-scheduler-xy-scale_width: 50px; 240 | --dhx-scheduler-xy-bar_height: 24; 241 | --dhx-scheduler-xy-month_head_height: 26; 242 | 243 | --dhx-scheduler-xy-scale_height: 24px; 244 | --dhx-scheduler-xy-scroll_width: 18px; 245 | 246 | 247 | 248 | /* modals */ 249 | 250 | --dhx-scheduler-info-background: var(--dhx-scheduler-popup-background); 251 | --dhx-scheduler-info-color: var(--dhx-scheduler-popup-color); 252 | --dhx-scheduler-info-border: var(--dhx-scheduler-popup-border); 253 | --dhx-scheduler-info-shadow: var(--dhx-scheduler-box-shadow-m); 254 | 255 | 256 | 257 | --dhx-scheduler-modal-background: var(--dhx-scheduler-popup-background); 258 | --dhx-scheduler-modal-color: var(--dhx-scheduler-popup-color); 259 | --dhx-scheduler-modal-border: var(--dhx-scheduler-popup-border); 260 | --dhx-scheduler-modal-padding: 16px; 261 | --dhx-scheduler-modal-width: 320px; 262 | --dhx-scheduler-modal-border-radius: var(--dhx-scheduler-popup-border-radius); 263 | 264 | /* undo delete */ 265 | --dhx-scheduler-undo-delete-background: var(--dhx-scheduler-base-colors-text-base); 266 | --dhx-scheduler-undo-delete-color: var(--dhx-scheduler-event-color); 267 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/timeline.less: -------------------------------------------------------------------------------- 1 | .dhx_timeline_scale_header { 2 | position: absolute; 3 | overflow: hidden; 4 | background-color: var(--dhx-scheduler-container-background); 5 | display: flex; 6 | justify-content: center; 7 | align-items: center; 8 | border-right: var(--dhx-scheduler-header-border); 9 | border-top: var(--dhx-scheduler-header-border); 10 | } 11 | 12 | .dhx_cal_container_rtl .dhx_timeline_scale_header { 13 | border-right: unset; 14 | border-left: var(--dhx-scheduler-header-border); 15 | } 16 | 17 | 18 | .dhx_timeline_label_wrapper { 19 | z-index: 1; 20 | } 21 | 22 | .dhx_timeline_label_col { 23 | position: relative; 24 | } 25 | 26 | .dhx_timeline_label_row { 27 | position: absolute; 28 | left: 0; 29 | } 30 | 31 | .dhx_matrix_scell { 32 | overflow: hidden; 33 | text-align: center; 34 | border-bottom: var(--dhx-scheduler-default-border); 35 | border-right: var(--dhx-scheduler-default-border); 36 | color: var(--dhx-scheduler-scale-color); 37 | } 38 | 39 | .dhx_timeline_data_wrapper { 40 | position: absolute; 41 | z-index: 0; 42 | left: 0; 43 | top: 0; 44 | width: 100%; 45 | } 46 | 47 | .dhx_timeline_data_row {} 48 | 49 | .dhx_matrix_cell, 50 | .dhx_matrix_scell { 51 | overflow: hidden; 52 | text-align: center; 53 | vertical-align: middle; 54 | border-bottom: var(--dhx-scheduler-default-border); 55 | border-right: var(--dhx-scheduler-default-border); 56 | font-weight: 500; 57 | 58 | } 59 | 60 | .dhx_cal_container_rtl{ 61 | .dhx_matrix_cell, 62 | .dhx_matrix_scell { 63 | border-right: none; 64 | border-left: var(--dhx-scheduler-default-border); 65 | } 66 | } 67 | 68 | .dhx_matrix_cell div, 69 | .dhx_matrix_scell div { 70 | overflow: hidden; 71 | text-align: center; 72 | height: auto; 73 | } 74 | 75 | .dhx_timeline_data_cell { 76 | position: absolute; 77 | top: 0; 78 | height: 100%; 79 | } 80 | 81 | .dhx_timeline_label_wrapper{ 82 | position: absolute; 83 | overflow: hidden; 84 | background: var(--dhx-scheduler-container-background); 85 | } 86 | 87 | /* Tree view */ 88 | .dhx_matrix_scell.folder, .dhx_data_table.folder .dhx_matrix_cell{ 89 | background-color: var(--dhx-scheduler-timeline-folder-background); 90 | cursor: pointer; 91 | } 92 | 93 | .dhx_matrix_scell.folder{ 94 | border-right-color: transparent; 95 | font-weight: 700; 96 | text-align: left; 97 | } 98 | 99 | .dhx_matrix_scell .dhx_scell_level{ 100 | padding-left: var(--dhx-scheduler-treetimeline-level-padding-value); 101 | } 102 | 103 | .dhx_cal_container_rtl{ 104 | .dhx_matrix_scell.folder { 105 | border-right: var(--dhx-scheduler-default-border); 106 | border-left-color: transparent; 107 | } 108 | } 109 | 110 | .dhx_cal_container_rtl{ 111 | .dhx_matrix_scell .dhx_scell_level{ 112 | padding-left:0; 113 | padding-right: var(--dhx-scheduler-treetimeline-level-padding-value); 114 | } 115 | } 116 | 117 | .dhx_matrix_line{ 118 | overflow: hidden 119 | } 120 | 121 | .dhx_matrix_scell.folder .dhx_scell_expand{ 122 | .scheduler_icon; 123 | .scheduler_icon.chevron_down(); 124 | } 125 | 126 | .dhx_matrix_scell.folder.closed .dhx_scell_expand{ 127 | transform:rotate(-90deg); 128 | } 129 | 130 | .dhx_matrix_scell.folder, 131 | .dhx_timeline_label_row.dhx_row_folder { 132 | overflow: visible; 133 | } 134 | 135 | .dhx_matrix_scell.folder > div { 136 | display: flex; 137 | align-items: center; 138 | height: inherit; 139 | } 140 | 141 | .dhx_matrix_scell.folder .dhx_scell_expand{ 142 | position: relative; 143 | flex-shrink: 0; 144 | } 145 | 146 | .dhx_matrix_scell.folder .dhx_scell_name{ 147 | width: auto; 148 | color: var(--dhx-scheduler-timeline-folder-color); 149 | text-transform: uppercase; 150 | font-weight: 500; 151 | max-height: 100%; 152 | } 153 | 154 | .dhx_matrix_scell.item .dhx_scell_name{ 155 | padding-left:16px; 156 | text-align: left; 157 | } 158 | 159 | .dhx_cal_container_rtl { 160 | 161 | .dhx_matrix_scell.folder .dhx_scell_expand{ 162 | padding-right:0; 163 | padding-left:4px; 164 | } 165 | 166 | .dhx_matrix_scell.folder .dhx_scell_name{ 167 | } 168 | 169 | .dhx_matrix_scell.item .dhx_scell_name{ 170 | padding-left:0; 171 | padding-right:12px; 172 | text-align: right; 173 | } 174 | 175 | } 176 | 177 | .dhx_matrix_scell.dhx_matrix_scell_columns, .dhx_timeline_scale_header { 178 | display: flex; 179 | justify-content: center; 180 | align-items: center; 181 | } 182 | 183 | .dhx_matrix_scell_columns.dhx_treetimeline { 184 | .dhx_scell_name{ 185 | display: flex; 186 | } 187 | .dhx_scell_level { 188 | flex-shrink:0; 189 | } 190 | 191 | .dhx_timeline_label_column_first{ 192 | flex-shrink:1; 193 | border-left-color: transparent; 194 | } 195 | 196 | } 197 | 198 | .dhx_second_scale_bar { 199 | border-bottom: var(--dhx-scheduler-header-border); 200 | } 201 | 202 | 203 | div.dhx_timeline_label_column, 204 | div.dhx_timeline_label_column_header{ 205 | display: flex; 206 | justify-content: center; 207 | align-items: center; 208 | box-sizing: border-box; 209 | flex-grow: 0; 210 | flex-shrink: 0; 211 | height: 100%; 212 | white-space: nowrap; 213 | 214 | .dhx_timeline_label_content_wrapper{ 215 | display: inline-block; 216 | text-align: left; 217 | } 218 | } 219 | 220 | .dhx_timeline_label_column{ 221 | border-left: var(--dhx-scheduler-header-border); 222 | } 223 | 224 | .dhx_timeline_label_column_header{ 225 | border-left-color: transparent; 226 | } 227 | 228 | .dhx_timeline_label_column:first-child{ 229 | border-left:0; 230 | } 231 | 232 | .dhx_cal_container_rtl { 233 | 234 | .dhx_timeline_label_column{ 235 | border-left: none; 236 | border-right: var(--dhx-scheduler-header-border); 237 | } 238 | 239 | .dhx_timeline_label_column_header{ 240 | border-right-color: transparent; 241 | } 242 | 243 | .dhx_timeline_label_column:first-child{ 244 | border-right:0; 245 | } 246 | 247 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/tooltip.less: -------------------------------------------------------------------------------- 1 | 2 | .dhtmlXTooltip.tooltip{ 3 | box-shadow: var(--dhx-scheduler-box-shadow-m); 4 | background-color: var(--dhx-scheduler-popup-background); 5 | color: var(--dhx-scheduler-popup-color); 6 | border: var(--dhx-scheduler-popup-border); 7 | cursor:default; 8 | padding:12px; 9 | position:fixed; 10 | z-index:9; 11 | opacity: 1; 12 | font-family: var(--dhx-scheduler-font-family); 13 | font-size: var(--dhx-scheduler-regular-font-size); 14 | line-height: var(--dhx-scheduler-regular-line-height); 15 | font-weight: var(--dhx-scheduler-regular-font-weight); 16 | } 17 | 18 | .dhtmlXTooltip_rtl{ 19 | direction: rtl; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /codebase/sources/less/src/week_agenda_view.less: -------------------------------------------------------------------------------- 1 | .dhx_week_agenda_wrapper{ 2 | width: 100%; 3 | height: 100%; 4 | display: flex; 5 | } 6 | 7 | .dhx_wa_column{ 8 | flex: 1; 9 | display: flex; 10 | flex-direction: column; 11 | border-right: var(--dhx-scheduler-default-border); 12 | } 13 | 14 | .dhx_wa_day_cont{ 15 | flex-grow: 0; 16 | flex-shrink: 0; 17 | flex-basis: calc(100% / 3); 18 | display: flex; 19 | flex-direction: column; 20 | 21 | 22 | overflow-y: auto; 23 | } 24 | 25 | .dhx_wa_column:last-child{ 26 | .dhx_wa_day_cont:nth-last-child(1), 27 | .dhx_wa_day_cont:nth-last-child(2) { 28 | flex-shrink: 1; 29 | } 30 | } 31 | 32 | .dhx_wa_scale_bar{ 33 | --dhx-scheduler-week-agenda-scale-height: 35px; 34 | --dhx-scheduler-week-agenda-scale-font-size: var(--dhx-scheduler-important-font-size); 35 | --dhx-scheduler-week-agenda-scale-font-weight: var(--dhx-scheduler-heading-font-weight); 36 | 37 | font-size: var(--dhx-scheduler-week-agenda-scale-font-size); 38 | font-weight: var(--dhx-scheduler-week-agenda-scale-font-weight); 39 | 40 | height: var(--dhx-scheduler-week-agenda-scale-height); 41 | line-height: var(--dhx-scheduler-week-agenda-scale-height); 42 | 43 | flex: 0; 44 | 45 | background: var(--dhx-scheduler-base-colors-select); 46 | border-top: var(--dhx-scheduler-default-border); 47 | border-bottom: var(--dhx-scheduler-default-border); 48 | padding: 4px; 49 | 50 | 51 | display: flex; 52 | align-items: center; 53 | } 54 | .dhx_wa_day_data{ 55 | flex: 1; 56 | overflow: auto; 57 | } 58 | 59 | .dhx_wa_ev_body{ 60 | border-bottom: var(--dhx-scheduler-default-border); 61 | padding: 4px; 62 | } 63 | 64 | .dhx_wa_ev_body_rtl { 65 | direction: rtl; 66 | } 67 | 68 | .dhx_wa_dnd { 69 | font-family: var(--dhx-scheduler-font-family); 70 | position: absolute; 71 | color: #000000AA; 72 | background-color: #FAEA27; 73 | border: 1px solid #00000033; 74 | min-width: 300px; 75 | } 76 | 77 | .dhx_wa_ev_body.dhx_cal_event_selected{ 78 | background-color: var(--dhx-scheduler-base-colors-select); 79 | 80 | } -------------------------------------------------------------------------------- /codebase/sources/less/src/year_view.less: -------------------------------------------------------------------------------- 1 | .dhx_scheduler_year { 2 | .dhx_cal_header { 3 | display: none; 4 | } 5 | 6 | .dhx_cal_data{ 7 | padding: 40px; 8 | } 9 | } 10 | 11 | .dhx_year_wrapper { 12 | display: flex; 13 | gap: 40px; 14 | padding: 12px; 15 | justify-content: center; 16 | align-items: baseline; 17 | flex-wrap: wrap; 18 | } 19 | 20 | .dhx_year_box { 21 | 22 | // --dhx-scheduler-year_box_width: 260px; 23 | // width: var(--dhx-scheduler-year_box_width); 24 | .dhx_scale_bar { 25 | position: relative; 26 | width: var(--dhx-scheduler-datepicker-cell-size); 27 | } 28 | 29 | .dhx_month_head { 30 | position: relative; 31 | } 32 | 33 | --dhx-scheduler-month-day-header-padding: 8px 12px; 34 | 35 | .dhx_month_head.dhx_year_event::after { 36 | .scheduler-event-marker(); 37 | } 38 | 39 | .dhx_month_body { 40 | display: none; 41 | } 42 | } 43 | 44 | .dhx_year_month { 45 | text-align: center; 46 | padding: 12px 0; 47 | 48 | 49 | } 50 | 51 | .dhx_year_week { 52 | display: flex; 53 | } 54 | 55 | .dhx_year_tooltip { 56 | position: absolute; 57 | padding: 12px; 58 | font-family: var(--dhx-scheduler-font-family); 59 | font-size: var(--dhx-scheduler-event-title-font-size); 60 | background: var(--dhx-scheduler-popup-background); 61 | border-radius: var(--dhx-scheduler-popup-border-radius); 62 | border: var(--dhx-scheduler-popup-border); 63 | color: var(--dhx-scheduler-popup-color); 64 | box-shadow: var(--dhx-scheduler-box-shadow-m); 65 | display: flex; 66 | flex-direction: column; 67 | width: 300px; 68 | gap: 4px; 69 | } 70 | 71 | .dhx_tooltip_line { 72 | 73 | border-radius: var(--dhx-scheduler-border-radius); 74 | background: var(--dhx-scheduler-event-background); 75 | color: var(--dhx-scheduler-event-color); 76 | padding: 4px; 77 | display: flex; 78 | cursor: pointer; 79 | } 80 | 81 | .dhx_tooltip_rtl { 82 | direction: rtl; 83 | } 84 | -------------------------------------------------------------------------------- /codebase/sources/less/theme.less: -------------------------------------------------------------------------------- 1 | 2 | @import "./src/index"; -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | 294 | Copyright (C) 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | , 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dhtmlx-scheduler", 3 | "version": "7.2.5", 4 | "description": "JavaScript event calendar. Allows to manage events and appointments in different views", 5 | "main": "codebase/dhtmlxscheduler.es.js", 6 | "types": "codebase/dhtmlxscheduler.es.d.ts", 7 | "repository": { 8 | "type": "git", 9 | "url": "git+https://github.com/DHTMLX/scheduler.git" 10 | }, 11 | "keywords": [ 12 | "calendar", 13 | "scheduler", 14 | "dhtmlx", 15 | "dhtmlxscheduler", 16 | "event", 17 | "recurring events", 18 | "appointment", 19 | "agenda", 20 | "month", 21 | "day", 22 | "week", 23 | "year", 24 | "browser" 25 | ], 26 | "author": "DHTMLX", 27 | "license": "GPL-2.0", 28 | "bugs": { 29 | "url": "https://github.com/DHTMLX/scheduler/issues" 30 | }, 31 | "homepage": "https://github.com/DHTMLX/scheduler#readme" 32 | } -------------------------------------------------------------------------------- /whatsnew.md: -------------------------------------------------------------------------------- 1 | ### 7.2.5 2 | 3 | Ensure that the Lightbox time control displays the correct number of days for each month in the day selectors 4 | Fix the script error occurring in the trial build in Salesforce 5 | Fix the regression introduced in Scheduler v7.2 where the "Today" cell was not highlighted in the Month view 6 | Fix the issue with incorrect end_date calculation when resizing events with round_position enabled 7 | Fix the issue where the Tooltip shifted off-screen when displaying long content 8 | 9 | ### 7.2.4 10 | 11 | Fix the incorrect behavior of the ignore_timeline setting when moving or resizing events in the Timeline view 12 | Fix the issue with incorrect end_date calculation when creating new events with ignore_timeline enabled 13 | Fix the issue where lightbox button configurations were mixed up after being saved to storage 14 | Fix the issue where the container_autoresize plugin unexpectedly increased container size in an empty Agenda view 15 | Fix the script error in the Units view that occurred with certain values of the size setting with the mark_now config enabled 16 | Fix the incorrect behavior of horizontal scroll in the Timeline view when smart_rendering is set to false 17 | 18 | ### 7.2.3 19 | 20 | Fix the issue where grid cells were not focused when tasks were outside the chart's visible time range 21 | Fix the issue in the multiUserBackend extension that caused incorrect behavior when editing all events in a recurring series 22 | Fix the issue where the timeline_scalex_class added the class twice in the Timeline view 23 | Fix the issue where scrollTo({section: x}) did not scroll to the first section in the Timeline view 24 | Fix the issue where the section height setting in the lightbox was not applied correctly 25 | Fix the issue where the Mini Calendar ignored the rtl configuration 26 | Fix the issue where smart rendering worked only in the first Timeline view when multiple timelines were used with smart_rendering:true and scrollable:false 27 | Fix the issue where using first_hour/last_hour with round_position caused incorrect dates of events when dragging events in the Timeline view 28 | 29 | ### 7.2.2 30 | 31 | Fix the issue where filtering did not work correctly for modified occurrences of recurring events 32 | Ensure the month_date template properly affects the Year view 33 | Fix the incorrect behavior when using multisection events in the Timeline view with round_position: true 34 | Prevent recurring events occurrences from being cut off when they fall outside the visible range of the Timeline view 35 | Fix issues with editing recurring events using the "current and the following" option 36 | 37 | ### 7.2.1 38 | 39 | Prevent recurring occurrences from disappearing during daylight saving time (DST) transitions. 40 | Fix the script error that occurred when editing newly created recurring events. 41 | Fix the incorrect display of occurrences after loading data from the back-end. 42 | Fix the error encountered when adjusting the size property in the Units view that exceeds the available columns. 43 | Ensure multi-level folders in the Tree Timeline view display correctly at all nesting levels. 44 | Fix the issue with the readonly_form configuration option causing errors when opening the lightbox for recurring events. 45 | Fix the issue with recurring patterns when modifying "the current and the following" occurrences of weekly recurring events that span certain weekdays. 46 | 47 | ### 7.2.0 48 | 49 | Ability to edit the current and the following recurring events 50 | New Live-Update module for collaborative editing 51 | Improved display of overnight events 52 | Updated event handlers for the Mini Calendar 53 | Date functions are now non-mutating 54 | Fix the issue with the container resize listeners in the LWC environment 55 | Fix the issue with events' drag and drop when the event's end date is past the scheduler_last_hour configuration 56 | Fix the incorrect display of events in the cascade_event_display mode 57 | Fix the incorrect behavior of drag-resize when a new event is resized to the bottom of the day column while the all_timed extension is active 58 | Fix the incorrect behavior of vertical scrolling in the scrollable Timeline view when smart rendering is disabled 59 | Fix the incorrect display of scroll buttons in the Units view 60 | Fix the incorrect display of unassigned events in the Units view when the skip_incorrect setting is set to false 61 | 62 | ### 7.1.3 63 | 64 | Fix the issue where the initial position of events was not highlighted during drag and drop in the Timeline and Units views 65 | Fix the issue where the last_hour setting caused incorrect behavior of drag and drop in the Timeline view 66 | Prevent recurring occurrences from disappearing in certain time zones during DST transitions 67 | Fix repeated end date increments when toggling Full day in the Mini Calendar control of the lightbox 68 | Restore functionality of the ignore_year and ignore_agenda methods 69 | 70 | ### 7.1.2 71 | 72 | Fix the incorrect position of events pasted using Ctrl+C/Ctrl+V when the multisection extension is enabled 73 | Ensure the Collision extension works properly with new recurring events 74 | Correct the sections' height after calling scheduler.updateCollection() when smart rendering enabled in the Timeline view 75 | Resolve the issue where smart rendering hides parts of new multisection events when onBeforeLightbox is canceled 76 | Fix incorrect behavior of the getEvents method with recurring events 77 | Correct the handling of recurring events with custom daily properties 78 | 79 | ### 7.1.1 80 | 81 | Fix the issue where the DataProcessor did not allow sending false values 82 | Fix the issue where the Tooltip disappeared on mobile devices after a click 83 | Fix the Tooltip position issue during page scroll 84 | Fix the issue where the container_autoresize plugin hid the multiday section 85 | Fix the issue where the Quick Info popup appeared outside of the container 86 | Fix the issue where unconfirmed events disappeared during scrolling with smart rendering enabled in the Timeline view 87 | Fix the incorrect sections height in the Timeline view after calling scheduler.updateCollection() with active smart rendering 88 | 89 | ### 7.1.0 90 | 91 | Storing recurring events in the RRULE format 92 | Map view supports different map providers 93 | The ability to undo an event's deletion 94 | The batchUpdate method for updating multiple events at once 95 | Scheduler highlights the original position of a calendar event during the drag and drop 96 | Fix the incorrect height of the Timeline view section when event_dy is set to "full" 97 | Fix the issue when dynamically changing the x_date property of the Timeline view did not affect the template 98 | Fix the header misalignment in the multiday Units view 99 | Fix the script error that occurred after the destructor is called when the drag_between extension is active 100 | Fix the incorrect behavior of the limit extension, which prevented editing recurring series 101 | Fix the performance issue with events drag and drop in the Tree Timeline view when the show_unassigned option is set to true 102 | Fix the incorrect behavior of the scrollable Timeline view when smart_rendering is set to false 103 | Fix the incorrect scroll position after a view change in a scrollable Timeline view 104 | 105 | ### 7.0.5 106 | 107 | Fix the incorrect height of the Timeline sections when the event_dy:"full" setting is used 108 | Fix the missing "today" marker in the Year view 109 | Correct the positioning of events in the Day/Week views 110 | 111 | ### 7.0.4 112 | 113 | Add the placeholder setting for the textarea control 114 | Fix incorrect cell selection in Keyboard Navigation 115 | Fix the Quick Info popup in Agenda view 116 | Fix type definitions for the Agenda view templates 117 | Fix the incorrect display of multi-day events in Month view when start_on_monday is disabled and several columns are hidden from the view 118 | 119 | ### 7.0.3 120 | 121 | Issue with textColor property not applying in the Month view has been resolved 122 | Fix for the color property not functioning in the Agenda view 123 | Corrected an error that occurred when using Keyboard Navigation in Day Timeline view. 124 | 125 | ### 7.0.2 126 | 127 | Compatibility regressions with DHTMLX Suite 128 | The regression affecting the mark_now marker in the Timeline view 129 | The theme initialization problem that resulted in the incorrect Scheduler layout display in some scenarios 130 | The issue where selected events in the Grid view lost their selection styling after sorting 131 | The issue in the Timeline's smart rendering mode that caused events appearing twice during drag and drop 132 | Corrections in the Greek locale 133 | Fixes of memory leaks to ensure Scheduler instances are properly released upon calling the destructor 134 | 135 | ### 7.0.1 136 | 137 | Regression in the Units view that caused layout issues when a scheduler was displayed on the current date 138 | Position of the Quick Info popup in the scrollable timeline is corrected 139 | Incorrect positioning of the selected time slot by the Keyboard Navigation module when the RTL mode is active 140 | The issue that prevented the creation of multi-day events in the Month view after performing a drag-resize action in the Day/Week views 141 | The height of the multi-day section in the Day/Week views is now limited to 200px by default 142 | 143 | ### 7.0.0 144 | 145 | Skins customization with CSS variables 146 | New Dark skin is introduced 147 | New Agenda view is added 148 | Terrace skin is updated 149 | Ability to install the professional versions of the Scheduler via npm 150 | Enhanced ability to customize markers in the Map View 151 | Improvements in the default display for short events in the Day/Week/Units views 152 | Day/Week/Units views don't use images for the background grid any more 153 | Bluebird Promise library is removed from the core library 154 | Various improvements for scaling on high-definition screens and responsiveness on smaller screens 155 | Columns of the Day/Week/Units views are now able to reserve free space 156 | Updated type definitions 157 | The export API is included into scheduler.plugins and no longer requires adding additional JS file. Check the Migration article 158 | Display issues of the recurring form when the French locale is used 159 | Incorrect duration of events after drag-and-drop actions in the Timeline view when using the first_hour/last_hour settings 160 | Unexpected scroll behavior when using the mouse wheel over the left-hand panel of the Timeline view 161 | Visual lag during vertical scrolling in the Timeline view on high-definition screens with Smart Rendering enabled 162 | Non-functional drag-and-drop in the Units view when the all_timed extension is active 163 | The Multiselect plugin in GPL builds is restored 164 | 165 | ### 6.0.5 166 | 167 | Fix the issue where the lightbox was not functioning in SalesForce LWC 168 | Fix for the container_autoresize issue that occurred with ignore_week when the week started on a hidden day 169 | Updated type definitions to include scheduler.form_blocks 170 | 171 | ### 6.0.4 172 | 173 | Fix the incorrect work of the dataProcessor when an instance of the Recurring series is edited. 174 | Fix the issue that caused Recurring series to lose custom properties assigned to them. 175 | Fix the script error that happens after scheduler.destructor() call when the container_autoresize extension is enabled. 176 | Fix the regression in the Timeline view that prevented autoscroll during event drag and drop. 177 | The attached onContextMenu event handler now prevents the default context automatically. 178 | 179 | ### 6.0.3 180 | 181 | Fix the regression in the Year view which caused incorrect date arguments for the 'onEmptyClick' event handler 182 | Fix work of the 'height' property of the 'time' section of the lightbox 183 | Fix the issue with the incorrect height of the time scale in the timeline view when the 'second_scale' was specified 184 | Fix the value of the new event flag in the 'onEventCancel' event arguments (the flag must have a boolean value) 185 | Fix the script error which happened on scroll in the Tree Timeline view when 'smart_rendering' was enabled and sections were initially loaded in the 'closed' state 186 | 187 | ### 6.0.2 188 | 189 | Fix the regression in scripts for building Custom Skins 190 | Fix the script errors occurred on pages with enabled Content Security Policy 191 | Fix the incorrect work of the DataProcessor when it is initialized with the router object 192 | Fix the typo in the name of the DOM attribute for cells of the Year view 193 | 194 | ### 6.0.1 195 | 196 | - Fix compatibility with Salesforce LWC 197 | - Fix the incorrect placement of the Tooltip that caused tooltip to be cut in some cases 198 | - Fix the display of columns in the Tree Timeline view 199 | - Disabling the show_quick_info config now stops the Quick Info from appearing after the mouse click on an event, but allows opening the popup via calling the showQuickInfo() method 200 | - Fix the incorrect work of the repeat_date config in some cases 201 | 202 | ### 6.0.0 203 | 204 | - This update brings some changes in the structure of the Scheduler package and behavior of functionality. Be sure to check Migration notes to be on the safe side. 205 | 206 | - Destructors for Scheduler and DataProcessor instances 207 | - Ability to specify the height of Timeline sections 208 | - Ability to specify multiple columns in the left-hand panel of Timeline View 209 | - New resolvePosition, dateFromPos, getEventTop methods of the Timeline object 210 | - All extensions must be activated now via the plugins() method 211 | - Locale files were removed from the package, new API for the Scheduler localization is added 212 | - Scheduler.getSchedulerInstance now can take a configuration object while creating a new Scheduler instance 213 | - The CSP extension was removed from the package, the csp mode is enabled by default 214 | - The settings object as the third parameter of the attachEvent() method is added 215 | - Routing options for DataProcessor 216 | - Ability to import dhtmlxScheduler as an ES6 module 217 | - New week_agenda_date template 218 | - The ajax, env, i18n objects are added 219 | - New Promise method 220 | - New destructor() method and onDestroy event 221 | - Debug helpers are added: assert() method, show_errors property, onError event 222 | - New methods are added: bind(), copy(), defined(), mixin() 223 | - The constructor function of the dataProcessor has moved from the global scope to the scheduler object (window.dataProcessor -> scheduler.DataProcessor) 224 | - New createDataProcessor() method 225 | - Public helpers for popup messages has moved from the dhtml to scheduler object 226 | - New serialize() method 227 | - New overwrite_marked_timespans property 228 | 229 | ### 5.3.14 230 | 231 | Fix the incorrect work of drag and drop for recurring events that was added via the scheduler.addEvent()method 232 | Fix the script error that was thrown from scheduler.formSection() when recurring events were enabled 233 | Fix the issue that caused the scheduler to display events that shouldn't be visible due to the value of the first_hour config 234 | Removed the unexpected call of the onEventUnselected event that fired on every empty click when no events were previously selected 235 | Now the onEventUnselected event will fire when the selected event is deleted 236 | 237 | ### 5.3.13 238 | 239 | Fix the issue that caused the edited recurring series to disappear after closing Lightbox via scheduler.hideLightbox 240 | Fix the issue with disabling the auto_end_date config dynamically 241 | Fix the incorrect work of modified instances of a recurring series when the start_date of the series event contains non-empty milliseconds part 242 | Fix the issue with the Keyboard Navigation module that changed the scroll position of the scheduler when resizing an event in some cases 243 | Now, when Keyboard Navigation is enabled, "trap modal focus" of the Lightbox and dhtmlx.modalbox should respect the tabindex of elements 244 | Now, when the "Today" button is pressed, the Keyboard Navigation focuses on the first cell of the Today column rather than the first cell of the first column of the Week View 245 | Fix the incorrect work of scheduler.showEvent in the Timeline view when the Smart Rendering is enabled 246 | 247 | ### 5.3.12 248 | 249 | - Fix the issue with Tree Timeline view which caused it to enter an infinite loop when the list of sections contains duplicated keys 250 | - Fix the incorrect work of the monthly recurring events when After N occurrences limitation is used 251 | - Fix the incorrect work of the recurring_overflow_instances config in the lastDay mode which caused the event instance to lose the minutes/seconds part of its date 252 | - Fix the issue with blocking the dragged event from being moved out of the scheduler when returning false from the onBeforeEventDragOut event 253 | - The default CSS of Tree Timeline section labels is changed to prevent unexpected line break when the label is too long for the cell 254 | 255 | ### 5.3.11 256 | 257 | - Fix the script error occurred when changing dates in the scheduler when the Cookie extension is enabled 258 | - Fix the incorrect value of the Content-Type header when the transaction mode of dataProcessor is set to "JSON" 259 | - CSS corrections for the Lightbox on mobile devices when the Terrace skin is used 260 | - Fix issues with recurring events that caused some events to transfer to the next month when the target month doesn't have the appropriate date and "monthly" recurrence is used 261 | - Fix the issue that caused the modal overlay to stay visible after the Lightbox was closed via calling scheduler.updateCollection() 262 | - The onBeforeEventPasted API event is added in order to allow validation or modifying the position of the pasted event 263 | - New recurring_overflow_instances configuration option is added 264 | 265 | ### 5.3.10 266 | 267 | - Fix the incorrect work of column_width when some units are hidden 268 | - Fix touch support on iPad on Safari 269 | - Fix the incorrect work of the onDblClick and onClick events when handling false result in Grid view 270 | - Fix the incorrect work of drag and drop in Timeline view which caused events to move to the next section after clicking on the bottom border of the event bar 271 | 272 | ### 5.3.9 273 | 274 | - Fix the incorrect display of a scrollable timeline after scrolling it down and dragging and dropping the last row 275 | - Fix the incorrect display of events which happened after switching between two scrollable timelines 276 | - Fix script error that fired when a timeline was scrolled on touch devices 277 | - Fix the incorrect Content-Type of POST/PUT/DELETE requests sent by dataProcessor when custom headers are specified 278 | - The timeline_row_class template for CSS class of a timeline row is added 279 | 280 | ### 5.3.8 281 | 282 | - Fix the incorrect height of the modal overlay of the Lightbox 283 | - Fix the incorrect sizes of the scheduler when the scheduler is initialized inside Bootstrap modals 284 | - Scheduler now automatically tracks the container resizes and adjusts its own sizes accordingly 285 | - Add Mini Calendar control for the header config 286 | 287 | ### 5.3.7 288 | 289 | - Fix incorrect work of Container Autoresize extension with the scrollable timeline 290 | - Fix the incorrect work of show_unassigned option of the Timeline view 291 | 292 | ### 5.3.6 293 | 294 | - Fix the incorrect displaying of events in the Day Timeline view when scrollable:true or smart_rendering:true is used 295 | - Fix the script error which happened in the Day Timeline view after dragging a new event when scrollable:true was used together with dataProcessor 296 | - Fix the script error which was thrown if no date element was included in the header config 297 | - Fix styling of the day tab in the Material skin when the header config does not contain a week or month tab 298 | 299 | 300 | ### 5.3.5 301 | 302 | - Fix styling of the 'next' button on the right side of the navigation panel in Terrace skin when the scheduler is initialized using header config 303 | - Fix the incorrect work of the URL extension which failed to highlight events by url in some cases 304 | - Fix the incorrect work of the Material skin when scheduler styles are loaded using the @import command 305 | - If neither header config nor default markup is specified while initializing the scheduler, a default value for the scheduler header will be auto-generated to escape a script error 306 | 307 | ### 5.3.4 308 | 309 | - Fix the incorrect work of the vertical scroll in a scrollable timeline when the mouse pointer is over the sections column 310 | - Fix the incorrect serialization of nested objects by the dataProcessor 311 | - Fix the script error which fired when creating a new event using a custom lightbox 312 | 313 | ### 5.3.3 314 | 315 | - More informative error messages for common misconfigurations are added 316 | - HTML markup of some public samples is cleaned up 317 | 318 | ### 5.3.2 319 | 320 | - Fix incorrect work of the click handler in the Mini Calendar when a custom calendar_date template is defined 321 | - Fix rounding of the end date of an event when it is resized in Day/Week views 322 | 323 | ### 5.3.1 324 | 325 | - Disable responsive lightbox by default 326 | 327 | ### 5.3.0 328 | 329 | - RTL support 330 | - Improved mobile responsiveness 331 | - Integration with DHTMLX Suite 6 Layout 332 | - The year range setting is added to the Date/Time lightbox control 333 | - Changing Scheduler dates by horizontal swipe is disabled by default 334 | - Add a way to set scheduler header from config rather than from the markup 335 | - The render method is added as a more intuitive alias for setCurrentView() and updateView() 336 | - The hideLightbox method is added to the public API 337 | - Fix vertical config of multiselect control, which didn't work in the Material skin 338 | 339 | ### 5.2.5 340 | 341 | - Fix regression of ext/dhtmlxscheduler_tooltip.js introduced in 5.2.4 342 | 343 | ### 5.2.4 344 | 345 | - Fix the issue with the readonly form which didn't allow changing the configuration of the lightbox after initialization of Scheduler 346 | - Fix the issue with Angular 8 compatibility 347 | 348 | ### 5.2.3 349 | 350 | - Fix incorrect animation of event bars in the scrollable Timeline during drag and drop 351 | - Fix the issue in Day View / Week View which caused event to jump to the multiday section when moved to the end of a day 352 | - Fix a regression in scroll_position setting of the scrollable Timeline 353 | - Fix the issue which caused chunks of multi-section events to obtain incorrect position after the mouse click 354 | - Fix the script error fired from the tooltip in cell mode of the Timeline view when scheduler.ignore_timeline is used 355 | 356 | ### 5.2.2 357 | 358 | - Add more helpful error messages for common misconfigurations 359 | - Fix the script error which was thrown from a double click on any label in a readonly form 360 | - Fix incorrect displaying of the Timeline view when smart_rendering:true is used together with section_autoheight:false 361 | - Fix the script error which was thrown from the Year view when days containing events were hidden using the scheduler.ignore_year method 362 | 363 | ### 5.2.1 364 | 365 | - Fix the issue with scheduler.load data type detection in IE11 366 | - Fix timeline.scrollTo method in timeline without horizontal scrollbar 367 | - Fix not working scheduler.showEvent method in the Timeline view 368 | - Fix incorrect behavior of vertical scroll in scrollable timeline with smart_rendering:false 369 | - Fix incorrect event position in the multiday units view with the multisection extension when the step option is specified 370 | - Fix incorrect size of some events in Daily Timeline 371 | 372 | ### 5.2.0 373 | 374 | - Custom HTML content for timeline cells (PRO version) 375 | - Drag-n-drop of events by the body 376 | - The data format parameter of load and parse became optional, scheduler now detects format automatically 377 | - Date-to-string functions can now auto-detect the date strings format, if it doesn't match the provided one 378 | - dhtmlxConnector library is no longer shipped with the dhtmlxScheduler package 379 | - dhtmlxScheduler package samples no longer require a php/apache server to work 380 | - New methods for the timeline object 381 | - The Multiselect control allows loading options in the JSON format 382 | - onLoadStart, onBeforeParse, onParse, onLoadEnd are introduced instead of the deprecated - onXLS and onXLE events 383 | - Fix incorrect behavior which happened when clearAll was called before scheduler.endLightbox(false) while creating a new event 384 | - Fix flickering issue with timeline horizontal scroll on iPad 385 | - Fix various display issues with scrollable timeline 386 | - The Units view {unitsName}_scale_text now provides a section date in arguments 387 | - Fix script error which was thrown from the Units view during an event creation if no sections are loaded 388 | - The Multiselect control now expects only boolean values for vertical property vertical:false - string values as in vertical:"false" will be interpreted as boolean true 389 | 390 | ### 5.1.6 391 | 392 | - Fix incorrect position of events scheduled on Sat-Sun with start_on_monday = false in Month view 393 | - Fix script error in a scrollable timeline with the current time marker 394 | - Fix incorrect argument value of the `onYScaleClick` handler in a scrollable timeline after horizontal scrolling 395 | - Fix the bug that caused a scrollable timeline to be rendered empty until the next refresh after reloading sections 396 | - Fix the bug with a scrollable timeline which caused some cells of Tree timeline folders not being rendered after horizontal scrolling 397 | - Fix unexpected behavior of event resize with the 'all_timed' extension, only the last event chunk should be resizeable 398 | - Fix event disappearing during resize in the all_timed="short" mode 399 | 400 | ### 5.1.1 401 | 402 | - Fix keyboard navigation focus not being highlighted in the timeline 403 | - Fix incorrect initial height of timeline_scale_header if second_scale specified 404 | - Fix bug with event_min_dy not affecting section height if only one event is located inside a section 405 | - Fix bug with quick info popup self-closing if the same event is clicked multiple times 406 | - Fix script error which fired after deleting event in year view 407 | - Fix incorrect initial display of scrolled timeline if no events loaded into the scheduler 408 | - Fix ability to enable smart rendering for non-scrollable timelines 409 | - Fix issue with scroll position resetting on date change when key_nav extension is enabled in the timeline 410 | - Fix incorrect value 'olddate' argument of onBeforeViewChange event in some cases 411 | - Fix incorrect display of a scrollable timeline with ignored time cells 412 | - Fix incorrect behavior if scrolling happened during drag-create of new events 413 | - Fix onAfterSchedulerResize event not firing in Timeline view 414 | - Performance improvement for event rendering in week view 415 | 416 | ### 5.1 417 | 418 | - Horizontal scroll in the Timeline view 419 | - Smart rendering and performance update for the Timeline view 420 | - New API of the Timeline object 421 | - Autoscroll in the Timeline view 422 | - Ability to add a label into the header of the column with sections 423 | - Fix false-positive onEventCollision trigger on editing of recurring events 424 | - Fix bug when mousewheel canceled creation of new event via click and drag 425 | - Fix incorrect placement of multi-day events in multi-day units view 426 | 427 | ### 5.0 428 | 429 | - New Material skin 430 | - Classic and Glossy skins are removed 431 | - Major css overhaul 432 | - Updated REST api integration options and documentation 433 | - Updated touch support for Microsoft devices 434 | - Fix compatibility issues with es6/ts imports 435 | - Add Hebrew locale for recurring form 436 | - Fixes in keyboard navigation support 437 | - Add onLoadError for network and server errors 438 | - Minor bugfixes 439 | 440 | ### 4.4.0 441 | 442 | - High contrast color themes 443 | - Full-featured keyboard navigation 444 | - WAI-ARIA support 445 | - Add initial support of Content Security Policy 446 | - Various bugfixes 447 | 448 | - Ability to enable markTimespan for the Month view 449 | - Ability to remove recurring marker from a specific date added 450 | - Ability to skip days in the Year view added 451 | - Delimiter option of the Multiselect control 452 | - Compatibility of external drag-n-drop with the latest dhtmlxSuite updated 453 | - Merge CSP-improvements request from public repo 454 | 455 | - Fix return value of addEventNow method 456 | - Fix dataprocessor state after scheduler.clearAll 457 | - JS errors in event handlers from SVG elements fixed 458 | - Various bugs with Tooltip extension fixed 459 | - Various issues with container_autosize extension fixed 460 | - Multiple minor fixes 461 | 462 | ### 4.3.0 463 | 464 | - "Days" mode for Timeline view was added 465 | - Ability to present units for multiple days in the Units view 466 | - Add ability to link events using URL extension 467 | - Several new API events and settings 468 | - Fixes for DST issues 469 | - Fixed bug with creating new events on touch devices in Timeline 470 | 471 | - Week Agenda, Grid View, Timeline view, Units View, Multisection events are available in Commercial and Enterprise editions only 472 | 473 | ### 4.2.0 474 | 475 | - Ability to customize the layout of recurring form 476 | - Updated dhtmlxDataProcessor - REST mode and support of JSON response format 477 | - Updated D'n'D of the multisection events 478 | - Add API events for handling Ajax and server errors 479 | - Improved performance of the Timeline view 480 | - Add config option for delayed rendering mode 481 | - Improved data export to iCal and Excel 482 | - Fixed compatibility with DHTMLX Suite 4.0 483 | - Multiple minor fixes 484 | 485 | ### 4.1.0 486 | 487 | - New 'Flat' skin 488 | - Highlight event position on the time scale during D'n'D 489 | - Support for multisection events in Units and Timeline views 490 | - Ability to resize events in Month view 491 | - Ability to D'n'D between schedulers, and drag event outside the scheduler (PRO version only) 492 | - New PDF/PNG online export service 493 | - Updated configuration of a Grid view 494 | - Updated touch support, fixed multiple issues with Windows touch devices 495 | 496 | ### 4.0.1 497 | 498 | - Minor regression, which was introduced in 4.0, are fixed 499 | 500 | ### 4.0 501 | 502 | - Flexible time scales - some days, hours can be removed from time scale 503 | - Ability to show "more events" links in month view 504 | - jQuery integration 505 | - Backbone Integration 506 | - Default skin changed to "terrace", multi-day events are visible by default 507 | - Alternative start-date logic for recurring events 508 | - Documentation greatly improved 509 | 510 | ### 3.7 511 | 512 | - Touch support ( tablets and touch monitors ) 513 | - Romanian locale added 514 | 515 | ### 3.6 516 | 517 | - Windows8 edition added 518 | - Extended date format configuration for lightbox form 519 | - Sub-day navigation in timeline view 520 | - Ability to define custom sorting in timeline view 521 | - Multi-page export to PDF 522 | 523 | ### 3.5 524 | 525 | - Ability to show multiple scheduler's per page (PRO version only) 526 | - Supports loading JSON directly from Connectors 527 | - Custom events rendering 528 | - Timeline view improved (support for drag, resize, event height control) 529 | - New 'dhx_terrace' skin 530 | - New options for blocking dates 531 | - Marking time intervals 532 | - Highlighting time intervals 533 | - New API methods: updateView, showEvent, getRenderedEvent, getActionData 534 | - JSMessage included 535 | - Grid view 536 | - New configuration options 537 | - Simplified access to lightbox section objects 538 | 539 | ### 3.0 540 | 541 | - Version of scheduler for touch phones 542 | - WeekAgenda view 543 | - Netbook friendly lightbox form 544 | - Cascade event display 545 | - Simple way to define a color for event 546 | - Drag and drop of the details form 547 | - Custom buttons for the details form 548 | - Current time marker in day and week view 549 | - Multiline header for timeline view 550 | - Configurable work-time bounds 551 | - API to access lightbox values 552 | 553 | ### 2.3 554 | 555 | - Map view was added 556 | - Cell mode for Timeline view was added 557 | - Tree mode for Timeline view was added 558 | - Tooltips for all views were added 559 | - Abbility to create new events by double click or by drag-and-drop in Timeline mode 560 | - Abbility to move events by drop-and-drag in Timeline mode 561 | - Abbility to create new events by external drag and drop 562 | - Multiselect section for details form 563 | - Checkbox, combo, radio - sections for details form 564 | - Api of mini-calendar extension extended 565 | - Custom form implementation simplified 566 | --------------------------------------------------------------------------------