Lines Matching refs:theme
124 $theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme();
125 $themeStyles = $this->getSidebarThemeStyles($theme);
126 $themeClass = 'calendar-theme-' . $theme;
129 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
168 …'" data-year="' . $year . '" data-month="' . $month . '" data-theme="' . $theme . '" data-theme-st…
405 $html .= $this->renderEventDialog($calId, $namespace, $theme);
408 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
433 $theme = $themeOverride;
435 $theme = $this->getSidebarTheme();
437 $themeStyles = $this->getSidebarThemeStyles($theme);
460 $themeClass = 'static-theme-' . $theme;
710 $theme = $this->getSidebarTheme();
711 $themeStyles = $this->getSidebarThemeStyles($theme);
713 $theme = $this->getSidebarTheme();
1160 …$theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme(); $themeStyles =…
1189 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
1201 …riginal-namespace="' . htmlspecialchars($namespace) . '" data-theme="' . $theme . '" data-theme-st…
1290 $html .= $this->renderEventDialog($calId, $namespace, $theme);
1293 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
1481 $theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme();
1482 $themeStyles = $this->getSidebarThemeStyles($theme);
1483 $isDark = in_array($theme, ['matrix', 'purple', 'pink']);
1484 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
1487 $themeClass = 'eventlist-theme-' . $theme;
1962 private function renderEventDialog($calId, $namespace, $theme = null) { argument
1964 if ($theme === null) {
1965 $theme = $this->getSidebarTheme();
1967 $themeStyles = $this->getSidebarThemeStyles($theme);
2226 …private function renderMonthPicker($calId, $year, $month, $namespace, $theme = 'matrix', $themeSty… argument
2229 $themeStyles = $this->getSidebarThemeStyles($theme);
2232 $themeClass = 'calendar-theme-' . $theme;
2274 $theme = $this->getSidebarTheme();
2275 $themeStyles = $this->getSidebarThemeStyles($theme);
2691 $theme = !empty($themeOverride) ? $themeOverride : $this->getSidebarTheme();
2692 $themeStyles = $this->getSidebarThemeStyles($theme);
2693 $themeClass = 'sidebar-' . $theme;
2699 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
2728 if ($theme === 'pink') {
3088 $addBtnTextColor = ($theme === 'professional' || $theme === 'wiki') ?
3090 $addBtnShadow = ($theme === 'professional' || $theme === 'wiki') ?
3092 $addBtnHoverShadow = ($theme === 'professional' || $theme === 'wiki') ?
3096 $addBtnTextShadow = ($theme === 'pink') ? '0 0 3px ' . $addBtnTextColor : 'none';
3101 $html .= $this->renderWeekGrid($weekEvents, $weekStart, $themeStyles, $theme);
3105 if ($theme === 'matrix') {
3109 } else if ($theme === 'purple') {
3113 } else if ($theme === 'pink') {
3117 } else if ($theme === 'professional') {
3134 $itineraryTextColor = ($theme === 'professional' || $theme === 'wiki') ?
3136 $itineraryShadow = ($theme === 'professional' || $theme === 'wiki') ?
3138 $itineraryHoverShadow = ($theme === 'professional' || $theme === 'wiki') ?
3140 $itineraryTextShadow = ($theme === 'pink') ? '0 0 3px ' . $itineraryTextColor : 'none';
3160 …SidebarSection('Today', $todayEvents, $todayColor, $calId, $themeStyles, $theme, $importantNsList);
3165 …ction('Tomorrow', $tomorrowEvents, $tomorrowColor, $calId, $themeStyles, $theme, $importantNsList);
3170 …ortant Events', $importantEvents, $importantColor, $calId, $themeStyles, $theme, $importantNsList);
3236 $html .= $this->renderEventDialog($calId, $namespace, $theme);
3284 private function renderWeekGrid($weekEvents, $weekStart, $themeStyles, $theme) { argument
3313 if ($theme === 'pink') {
3316 } else if ($theme === 'matrix') {
3319 } else if ($theme === 'purple') {
3336 $dayLetterColor = $theme === 'professional' ? '#7f8c8d' : $themeStyles['text_primary'];
3348 …$barShadow = $theme === 'professional' ? '0 1px 2px rgba(0,0,0,0.2)' : '0 0 3px ' . htmlspecialcha…
3354 … $moreTextColor = $theme === 'professional' ? '#7f8c8d' : $themeStyles['text_primary'];
3367 $panelShadow = ($theme === 'professional' || $theme === 'wiki') ?
3370 $panelContentBg = ($theme === 'professional') ? 'rgba(255, 255, 255, 0.95)' :
3371 ($theme === 'wiki' ? $themeStyles['cell_bg'] : 'rgba(36, 36, 36, 0.5)');
3372 …$panelHeaderShadow = ($theme === 'professional' || $theme === 'wiki') ? '0 2px 4px rgba(0, 0, 0, 0…
3375 …$panelHeaderColor = ($theme === 'matrix' || $theme === 'purple' || $theme === 'pink') ? $themeStyl…
3376 (($theme === 'wiki') ? $themeStyles['text_primary'] : '#fff');
3378 …lay:none; margin:8px 4px; border-left:3px solid ' . $panelBorderColor . ($theme === 'wiki' ? '' : …
3379 if ($theme === 'wiki') {
3403 … 'text_shadow' => ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $themeStyles['text_primary'] :
3404 …((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $themeStyles['text_primary'] …
3405 'event_bg' => $theme === 'professional' ? 'rgba(255, 255, 255, 0.5)' :
3406 ($theme === 'wiki' ? $themeStyles['cell_bg'] : 'rgba(36, 36, 36, 0.3)'),
3407 'border_color' => $theme === 'professional' ? 'rgba(0, 0, 0, 0.1)' :
3408 ($theme === 'purple' ? 'rgba(155, 89, 182, 0.2)' :
3409 ($theme === 'pink' ? 'rgba(255, 20, 147, 0.3)' :
3410 … ($theme === 'wiki' ? $themeStyles['grid_border'] : 'rgba(0, 204, 7, 0.2)'))),
3411 'bar_shadow' => $theme === 'professional' ? '0 1px 2px rgba(0,0,0,0.2)' :
3412 ($theme === 'wiki' ? '0 1px 2px rgba(0,0,0,0.15)' : '0 0 3px')
3523 …enderSidebarSection($title, $events, $accentColor, $calId, $themeStyles, $theme, $importantNsList … argument
3576 $sectionShadow = ($theme === 'professional' || $theme === 'wiki') ?
3580 if ($theme === 'wiki') {
3591 …$headerShadow = ($theme === 'professional' || $theme === 'wiki') ? '0 2px 4px rgba(0, 0, 0, 0.15)'…
3592 …$headerTextColor = ($theme === 'matrix' || $theme === 'purple' || $theme === 'pink') ? $themeStyle…
3593 (($theme === 'wiki') ? $themeStyles['text_primary'] : '#fff');
3594 if ($theme === 'wiki') {
3608 …enderSidebarEvent($event, $calId, $showDate, $accentColor, $themeStyles, $theme, $importantNsList);
3613 if ($theme === 'wiki') {
3623 …alId, $showDate = false, $sectionColor = '#00cc07', $themeStyles = null, $theme = 'matrix', $impor… argument
3645 $textShadow = ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $titleColor . ';' :
3646 … ((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $titleColor . ';' : '');
3670 switch ($theme) {
3700 … $barShadow = ($theme === 'professional') ? '0 1px 2px rgba(0,0,0,0.2)' : '0 0 3px ' . $eventColor;
3741 $dateShadow = ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $dateColor . ';' :
3742 … ((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $dateColor . ';' : '');
3914 $theme = trim(file_get_contents($configFile));
3915 if (in_array($theme, ['matrix', 'purple', 'professional', 'pink', 'wiki'])) {
3916 return $theme;
4012 private function getSidebarThemeStyles($theme) { argument
4014 if ($theme === 'wiki') {
4140 return isset($themes[$theme]) ? $themes[$theme] : $themes['matrix'];