Lines Matching refs:theme
159 $theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme();
160 $themeStyles = $this->getSidebarThemeStyles($theme);
161 $themeClass = 'calendar-theme-' . $theme;
164 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
203 …'" data-year="' . $year . '" data-month="' . $month . '" data-theme="' . $theme . '" data-theme-st…
531 $html .= $this->renderEventDialog($calId, $namespace, $theme);
534 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
561 $theme = $themeOverride;
563 $theme = $this->getSidebarTheme();
565 $themeStyles = $this->getSidebarThemeStyles($theme);
588 $themeClass = 'static-theme-' . $theme;
838 $theme = $this->getSidebarTheme();
839 $themeStyles = $this->getSidebarThemeStyles($theme);
841 $theme = $this->getSidebarTheme();
1290 …$theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme(); $themeStyles =…
1319 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
1331 …) . '" data-exclude="' . htmlspecialchars($exclude) . '" data-theme="' . $theme . '" data-theme-st…
1425 $html .= $this->renderEventDialog($calId, $namespace, $theme);
1428 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
1645 $theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme();
1646 $themeStyles = $this->getSidebarThemeStyles($theme);
1647 $isDark = in_array($theme, ['matrix', 'purple', 'pink']);
1648 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
1651 $themeClass = 'eventlist-theme-' . $theme;
1923 private function renderEventDialog($calId, $namespace, $theme = null) { argument
1925 if ($theme === null) {
1926 $theme = $this->getSidebarTheme();
1928 $themeStyles = $this->getSidebarThemeStyles($theme);
2187 …private function renderMonthPicker($calId, $year, $month, $namespace, $theme = 'matrix', $themeSty… argument
2190 $themeStyles = $this->getSidebarThemeStyles($theme);
2193 $themeClass = 'calendar-theme-' . $theme;
2235 $theme = $this->getSidebarTheme();
2236 $themeStyles = $this->getSidebarThemeStyles($theme);
2683 $theme = !empty($themeOverride) ? $themeOverride : $this->getSidebarTheme();
2684 $themeStyles = $this->getSidebarThemeStyles($theme);
2685 $themeClass = 'sidebar-' . $theme;
2691 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
2720 if ($theme === 'pink') {
2920 $addBtnTextColor = ($theme === 'professional' || $theme === 'wiki') ?
2922 $addBtnShadow = ($theme === 'professional' || $theme === 'wiki') ?
2924 $addBtnHoverShadow = ($theme === 'professional' || $theme === 'wiki') ?
2928 $addBtnTextShadow = ($theme === 'pink') ? '0 0 3px ' . $addBtnTextColor : 'none';
2933 $html .= $this->renderWeekGrid($weekEvents, $weekStart, $themeStyles, $theme);
2937 if ($theme === 'matrix') {
2941 } else if ($theme === 'purple') {
2945 } else if ($theme === 'pink') {
2949 } else if ($theme === 'professional') {
2966 $itineraryTextColor = ($theme === 'professional' || $theme === 'wiki') ?
2968 $itineraryShadow = ($theme === 'professional' || $theme === 'wiki') ?
2970 $itineraryHoverShadow = ($theme === 'professional' || $theme === 'wiki') ?
2972 $itineraryTextShadow = ($theme === 'pink') ? '0 0 3px ' . $itineraryTextColor : 'none';
2992 …SidebarSection('Today', $todayEvents, $todayColor, $calId, $themeStyles, $theme, $importantNsList);
2997 …ction('Tomorrow', $tomorrowEvents, $tomorrowColor, $calId, $themeStyles, $theme, $importantNsList);
3002 …ortant Events', $importantEvents, $importantColor, $calId, $themeStyles, $theme, $importantNsList);
3068 $html .= $this->renderEventDialog($calId, $namespace, $theme);
3116 private function renderWeekGrid($weekEvents, $weekStart, $themeStyles, $theme) { argument
3145 if ($theme === 'pink') {
3148 } else if ($theme === 'matrix') {
3151 } else if ($theme === 'purple') {
3168 $dayLetterColor = $theme === 'professional' ? '#7f8c8d' : $themeStyles['text_primary'];
3180 …$barShadow = $theme === 'professional' ? '0 1px 2px rgba(0,0,0,0.2)' : '0 0 3px ' . htmlspecialcha…
3186 … $moreTextColor = $theme === 'professional' ? '#7f8c8d' : $themeStyles['text_primary'];
3199 $panelShadow = ($theme === 'professional' || $theme === 'wiki') ?
3202 $panelContentBg = ($theme === 'professional') ? 'rgba(255, 255, 255, 0.95)' :
3203 ($theme === 'wiki' ? $themeStyles['cell_bg'] : 'rgba(36, 36, 36, 0.5)');
3204 …$panelHeaderShadow = ($theme === 'professional' || $theme === 'wiki') ? '0 2px 4px rgba(0, 0, 0, 0…
3207 …$panelHeaderColor = ($theme === 'matrix' || $theme === 'purple' || $theme === 'pink') ? $themeStyl…
3208 (($theme === 'wiki') ? $themeStyles['text_primary'] : '#fff');
3210 …lay:none; margin:8px 4px; border-left:3px solid ' . $panelBorderColor . ($theme === 'wiki' ? '' : …
3211 if ($theme === 'wiki') {
3235 … 'text_shadow' => ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $themeStyles['text_primary'] :
3236 …((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $themeStyles['text_primary'] …
3237 'event_bg' => $theme === 'professional' ? 'rgba(255, 255, 255, 0.5)' :
3238 ($theme === 'wiki' ? $themeStyles['cell_bg'] : 'rgba(36, 36, 36, 0.3)'),
3239 'border_color' => $theme === 'professional' ? 'rgba(0, 0, 0, 0.1)' :
3240 ($theme === 'purple' ? 'rgba(155, 89, 182, 0.2)' :
3241 ($theme === 'pink' ? 'rgba(255, 20, 147, 0.3)' :
3242 … ($theme === 'wiki' ? $themeStyles['grid_border'] : 'rgba(0, 204, 7, 0.2)'))),
3243 'bar_shadow' => $theme === 'professional' ? '0 1px 2px rgba(0,0,0,0.2)' :
3244 ($theme === 'wiki' ? '0 1px 2px rgba(0,0,0,0.15)' : '0 0 3px')
3355 …enderSidebarSection($title, $events, $accentColor, $calId, $themeStyles, $theme, $importantNsList … argument
3408 $sectionShadow = ($theme === 'professional' || $theme === 'wiki') ?
3412 if ($theme === 'wiki') {
3423 …$headerShadow = ($theme === 'professional' || $theme === 'wiki') ? '0 2px 4px rgba(0, 0, 0, 0.15)'…
3424 …$headerTextColor = ($theme === 'matrix' || $theme === 'purple' || $theme === 'pink') ? $themeStyle…
3425 (($theme === 'wiki') ? $themeStyles['text_primary'] : '#fff');
3426 if ($theme === 'wiki') {
3440 …enderSidebarEvent($event, $calId, $showDate, $accentColor, $themeStyles, $theme, $importantNsList);
3445 if ($theme === 'wiki') {
3455 …alId, $showDate = false, $sectionColor = '#00cc07', $themeStyles = null, $theme = 'matrix', $impor… argument
3477 $textShadow = ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $titleColor . ';' :
3478 … ((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $titleColor . ';' : '');
3502 switch ($theme) {
3532 … $barShadow = ($theme === 'professional') ? '0 1px 2px rgba(0,0,0,0.2)' : '0 0 3px ' . $eventColor;
3573 $dateShadow = ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $dateColor . ';' :
3574 … ((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $dateColor . ';' : '');
3746 $theme = trim(file_get_contents($configFile));
3747 if (in_array($theme, ['matrix', 'purple', 'professional', 'pink', 'wiki'])) {
3748 return $theme;
3848 private function getSidebarThemeStyles($theme) { argument
3850 if ($theme === 'wiki') {
3976 return isset($themes[$theme]) ? $themes[$theme] : $themes['matrix'];