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…
445 $html .= $this->renderEventDialog($calId, $namespace, $theme);
448 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
475 $theme = $themeOverride;
477 $theme = $this->getSidebarTheme();
479 $themeStyles = $this->getSidebarThemeStyles($theme);
502 $themeClass = 'static-theme-' . $theme;
752 $theme = $this->getSidebarTheme();
753 $themeStyles = $this->getSidebarThemeStyles($theme);
755 $theme = $this->getSidebarTheme();
1204 …$theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme(); $themeStyles =…
1233 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
1245 …) . '" data-exclude="' . htmlspecialchars($exclude) . '" data-theme="' . $theme . '" data-theme-st…
1339 $html .= $this->renderEventDialog($calId, $namespace, $theme);
1342 $html .= $this->renderMonthPicker($calId, $year, $month, $namespace, $theme, $themeStyles);
1532 $theme = !empty($data['theme']) ? $data['theme'] : $this->getSidebarTheme();
1533 $themeStyles = $this->getSidebarThemeStyles($theme);
1534 $isDark = in_array($theme, ['matrix', 'purple', 'pink']);
1535 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
1538 $themeClass = 'eventlist-theme-' . $theme;
1810 private function renderEventDialog($calId, $namespace, $theme = null) { argument
1812 if ($theme === null) {
1813 $theme = $this->getSidebarTheme();
1815 $themeStyles = $this->getSidebarThemeStyles($theme);
2074 …private function renderMonthPicker($calId, $year, $month, $namespace, $theme = 'matrix', $themeSty… argument
2077 $themeStyles = $this->getSidebarThemeStyles($theme);
2080 $themeClass = 'calendar-theme-' . $theme;
2122 $theme = $this->getSidebarTheme();
2123 $themeStyles = $this->getSidebarThemeStyles($theme);
2570 $theme = !empty($themeOverride) ? $themeOverride : $this->getSidebarTheme();
2571 $themeStyles = $this->getSidebarThemeStyles($theme);
2572 $themeClass = 'sidebar-' . $theme;
2578 $btnTextColor = ($theme === 'professional') ? '#fff' : $themeStyles['bg'];
2607 if ($theme === 'pink') {
2807 $addBtnTextColor = ($theme === 'professional' || $theme === 'wiki') ?
2809 $addBtnShadow = ($theme === 'professional' || $theme === 'wiki') ?
2811 $addBtnHoverShadow = ($theme === 'professional' || $theme === 'wiki') ?
2815 $addBtnTextShadow = ($theme === 'pink') ? '0 0 3px ' . $addBtnTextColor : 'none';
2820 $html .= $this->renderWeekGrid($weekEvents, $weekStart, $themeStyles, $theme);
2824 if ($theme === 'matrix') {
2828 } else if ($theme === 'purple') {
2832 } else if ($theme === 'pink') {
2836 } else if ($theme === 'professional') {
2853 $itineraryTextColor = ($theme === 'professional' || $theme === 'wiki') ?
2855 $itineraryShadow = ($theme === 'professional' || $theme === 'wiki') ?
2857 $itineraryHoverShadow = ($theme === 'professional' || $theme === 'wiki') ?
2859 $itineraryTextShadow = ($theme === 'pink') ? '0 0 3px ' . $itineraryTextColor : 'none';
2879 …SidebarSection('Today', $todayEvents, $todayColor, $calId, $themeStyles, $theme, $importantNsList);
2884 …ction('Tomorrow', $tomorrowEvents, $tomorrowColor, $calId, $themeStyles, $theme, $importantNsList);
2889 …ortant Events', $importantEvents, $importantColor, $calId, $themeStyles, $theme, $importantNsList);
2955 $html .= $this->renderEventDialog($calId, $namespace, $theme);
3003 private function renderWeekGrid($weekEvents, $weekStart, $themeStyles, $theme) { argument
3032 if ($theme === 'pink') {
3035 } else if ($theme === 'matrix') {
3038 } else if ($theme === 'purple') {
3055 $dayLetterColor = $theme === 'professional' ? '#7f8c8d' : $themeStyles['text_primary'];
3067 …$barShadow = $theme === 'professional' ? '0 1px 2px rgba(0,0,0,0.2)' : '0 0 3px ' . htmlspecialcha…
3073 … $moreTextColor = $theme === 'professional' ? '#7f8c8d' : $themeStyles['text_primary'];
3086 $panelShadow = ($theme === 'professional' || $theme === 'wiki') ?
3089 $panelContentBg = ($theme === 'professional') ? 'rgba(255, 255, 255, 0.95)' :
3090 ($theme === 'wiki' ? $themeStyles['cell_bg'] : 'rgba(36, 36, 36, 0.5)');
3091 …$panelHeaderShadow = ($theme === 'professional' || $theme === 'wiki') ? '0 2px 4px rgba(0, 0, 0, 0…
3094 …$panelHeaderColor = ($theme === 'matrix' || $theme === 'purple' || $theme === 'pink') ? $themeStyl…
3095 (($theme === 'wiki') ? $themeStyles['text_primary'] : '#fff');
3097 …lay:none; margin:8px 4px; border-left:3px solid ' . $panelBorderColor . ($theme === 'wiki' ? '' : …
3098 if ($theme === 'wiki') {
3122 … 'text_shadow' => ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $themeStyles['text_primary'] :
3123 …((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $themeStyles['text_primary'] …
3124 'event_bg' => $theme === 'professional' ? 'rgba(255, 255, 255, 0.5)' :
3125 ($theme === 'wiki' ? $themeStyles['cell_bg'] : 'rgba(36, 36, 36, 0.3)'),
3126 'border_color' => $theme === 'professional' ? 'rgba(0, 0, 0, 0.1)' :
3127 ($theme === 'purple' ? 'rgba(155, 89, 182, 0.2)' :
3128 ($theme === 'pink' ? 'rgba(255, 20, 147, 0.3)' :
3129 … ($theme === 'wiki' ? $themeStyles['grid_border'] : 'rgba(0, 204, 7, 0.2)'))),
3130 'bar_shadow' => $theme === 'professional' ? '0 1px 2px rgba(0,0,0,0.2)' :
3131 ($theme === 'wiki' ? '0 1px 2px rgba(0,0,0,0.15)' : '0 0 3px')
3242 …enderSidebarSection($title, $events, $accentColor, $calId, $themeStyles, $theme, $importantNsList … argument
3295 $sectionShadow = ($theme === 'professional' || $theme === 'wiki') ?
3299 if ($theme === 'wiki') {
3310 …$headerShadow = ($theme === 'professional' || $theme === 'wiki') ? '0 2px 4px rgba(0, 0, 0, 0.15)'…
3311 …$headerTextColor = ($theme === 'matrix' || $theme === 'purple' || $theme === 'pink') ? $themeStyle…
3312 (($theme === 'wiki') ? $themeStyles['text_primary'] : '#fff');
3313 if ($theme === 'wiki') {
3327 …enderSidebarEvent($event, $calId, $showDate, $accentColor, $themeStyles, $theme, $importantNsList);
3332 if ($theme === 'wiki') {
3342 …alId, $showDate = false, $sectionColor = '#00cc07', $themeStyles = null, $theme = 'matrix', $impor… argument
3364 $textShadow = ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $titleColor . ';' :
3365 … ((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $titleColor . ';' : '');
3389 switch ($theme) {
3419 … $barShadow = ($theme === 'professional') ? '0 1px 2px rgba(0,0,0,0.2)' : '0 0 3px ' . $eventColor;
3460 $dateShadow = ($theme === 'pink') ? 'text-shadow:0 0 2px ' . $dateColor . ';' :
3461 … ((in_array($theme, ['matrix', 'purple'])) ? 'text-shadow:0 0 1px ' . $dateColor . ';' : '');
3633 $theme = trim(file_get_contents($configFile));
3634 if (in_array($theme, ['matrix', 'purple', 'professional', 'pink', 'wiki'])) {
3635 return $theme;
3735 private function getSidebarThemeStyles($theme) { argument
3737 if ($theme === 'wiki') {
3863 return isset($themes[$theme]) ? $themes[$theme] : $themes['matrix'];