Plugin Directory

Changeset 3410001


Ignore:
Timestamp:
12/03/2025 07:18:33 PM (3 months ago)
Author:
xllentech
Message:

updated

Location:
xllentech-english-islamic-calendar/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • xllentech-english-islamic-calendar/trunk/includes/class-xllentech-english-islamic-calendar-activator.php

    r3133563 r3410001  
    2525        global $wpdb;
    2626       
    27         $english_month = 8;
    28         $english_year = 2024;
    29         $islamic_day = 26;
    30         $islamic_month = 1;
    31         $islamic_year = 1446;
     27        $english_month = 12;
     28        $english_year = 2025;
     29        $islamic_day = 9;
     30        $islamic_month = 6;
     31        $islamic_year = 1447;
    3232
    3333        $table1_name = $wpdb->prefix . 'month_days';
  • xllentech-english-islamic-calendar/trunk/public/class-xllentech-english-islamic-calendar-public.php

    r2532059 r3410001  
    125125       
    126126        if( $stack > 12 ) {
    127            
    128127            _e( "Xllentech Calendar Error: Islamic Date could not be found in the database. Please contact support or Add islamic date in the database from the Xllentech Calendar Settings -> Troubleshooting page." );
    129128            return;
     
    229228     * @since    2.5.0
    230229     */
    231     public function xc_display_base_header( $english_currentmonth, $english_currentyear, $islamic_firstmonth, $islamic_firstyear ) { 
     230    public function xc_display_base_header( $english_currentmonth, $english_currentyear, $islamic_firstmonth, $islamic_firstyear ) {
    232231   
    233232        $xc_options = get_option("xc_options");
    234        
    235233        ?>
    236234        <table border='1' class='xc_table_<?php esc_attr( $xc_options['xc_color_theme'] ); ?>'>
    237235       
    238 
    239236            <thead>
    240237                <tr class='xllentech-main-nav xllentech_header'>
  • xllentech-english-islamic-calendar/trunk/public/css/xllentech-english-islamic-calendar-public.css

    r1939590 r3410001  
    1 .xllentech-english-month,.xllentech-english-month-LTR,.xllentech-english-month-RTL,.xllentech-islamic-month,.xllentech-islamic-month-LTR,.xllentech-islamic-month-RTL{color:#fff;display:block;width:100%;font-size:13px;font-weight:700}.xllentech-calendar-widget{width:100%;font-size:11px;margin:0 auto;padding:5px 0}.xllentech-calendar-widget table{border-spacing:0;text-transform:uppercase;margin:0;padding:0;width:100%;background-color:transparent;table-layout:fixed}.xllentech-calendar-widget table td,.xllentech-calendar-widget table th{padding:0;text-align:center;vertical-align:top;line-height:20px}.xllentech-calendar-widget tr.xllentech-main-nav{font-size:13px}.xllentech-daybox{padding:0 10%}.xllentech-english-month,.xllentech-english-month-LTR{text-align:right}.xllentech-english-month-RTL,.xllentech-islamic-month,.xllentech-islamic-month-LTR{text-align:left}.xllentech-english-current,.xllentech-english-current-LTR,.xllentech-english-next,.xllentech-english-next-LTR,.xllentech-english-previous,.xllentech-english-previous-LTR,.xllentech-islamic-month-RTL{text-align:right}.xllentech-english-current,.xllentech-english-current-LTR,.xllentech-english-current-RTL,.xllentech-english-next,.xllentech-english-next-LTR,.xllentech-english-next-RTL,.xllentech-english-previous,.xllentech-english-previous-LTR,.xllentech-english-previous-RTL{display:block;width:100%}.xllentech-english-current-RTL,.xllentech-english-next-RTL,.xllentech-english-previous-RTL,.xllentech-islamic-1,.xllentech-islamic-1-LTR,.xllentech-islamic-2,.xllentech-islamic-2-LTR,.xllentech-islamic-3,.xllentech-islamic-3-LTR{text-align:left}.xllentech-english-next,.xllentech-english-next-LTR,.xllentech-english-next-RTL{color:#999}.xllentech-english-current,.xllentech-english-current-LTR,.xllentech-english-current-RTL{color:#676767;font-weight:700}.xllentech-english-previous,.xllentech-english-previous-LTR,.xllentech-english-previous-RTL{color:#999}.xllentech-islamic-1,.xllentech-islamic-1-LTR,.xllentech-islamic-1-RTL{color:#009d00;display:block;font-weight:700;width:100%}.xllentech-islamic-2,.xllentech-islamic-2-LTR,.xllentech-islamic-2-RTL,.xllentech-islamic-3,.xllentech-islamic-3-LTR,.xllentech-islamic-3-RTL{color:#090;width:100%;display:inline-block}.xllentech-islamic-1-RTL,.xllentech-islamic-2-RTL,.xllentech-islamic-3-RTL{text-align:right}.xllentech-month-names{padding-left:10px;padding-right:10px}.xllentech-calendar-widget select.xllentech-main-nav{width:100%;height:40px;font-weight:700;opacity:.5;border:0;padding:0}.xllentech-calendar-widget select{margin:0}.xllentech-spacing{padding:20%;display:block}.xllentech-islamic-today{font-weight:700;font-size:17px}span.xllentech-today-english-date-LTR,span.xllentech-today-islamic-date-RTL{display:block;text-align:right;width:100%}span.xllentech-today-islamic-date-LTR,span.xllentech-today-english-date-RTL{display:block;text-align:left;width:100%}.xllentech-today-spacing{padding:1%;display:block}.xllentech-daybox .tooltip{position:relative;display:inline-block;border-bottom:1px dotted #000}.xllentech-calendar-widget table.xc_table_Default td,.xllentech-calendar-widget table.xc_table_Default th{border:1px solid #e6e6e7}.xllentech-calendar-widget table.xc_table_Default tr.xllentech_header th{background:#5b5c5f}.xllentech-calendar-widget table.xc_table_Default tr.xllentech_subheader th{background:#cdcecf;color:#666;text-align:center}span.xllentech_english_Default{color:#5b5c5f}span.xllentech_islamic_Default{color:#009d00}.xllentech-islamic-today_Default{color:#1982d1}.xllentech-calendar-widget table.xc_table_Blue td,.xllentech-calendar-widget table.xc_table_Blue th{border:1px solid #d9e1ec}.xllentech-calendar-widget table.xc_table_Blue tr.xllentech_header th{background:#354b68}.xllentech-calendar-widget table.xc_table_Blue tr.xllentech_subheader th{background:#b4c3d8;color:#666;text-align:center}span.xllentech_english_Blue{color:#1982d1}span.xllentech_islamic_Blue{color:#009d00}.xllentech-islamic-today_Blue{color:#1982d1}.xllentech-calendar-widget table.xc_table_Green td,.xllentech-calendar-widget table.xc_table_Green th{border:1px solid #b3ffb3}.xllentech-calendar-widget table.xc_table_Green tr.xllentech_header th{background:#005900}.xllentech-calendar-widget table.xc_table_Green tr.xllentech_subheader th{background:#6f6;color:#666;text-align:center}span.xllentech_english_Green{color:#005900}span.xllentech_islamic_Green{color:#009d00}.xllentech-islamic-today_Green{color:#1982d1}.xllentech-calendar-widget table.xc_table_Red td,.xllentech-calendar-widget table.xc_table_Red th{border:1px solid #f3d6d4}.xllentech-calendar-widget table.xc_table_Red tr.xllentech_header th{background:#812a23}.xllentech-calendar-widget table.xc_table_Red tr.xllentech_subheader th{background:#e7ada9;color:#666;text-align:center}span.xllentech_english_Red{color:#812a23}span.xllentech_islamic_Red{color:#009d00}.xllentech-islamic-today_Red{color:#1982d1}.xllentech_islamic_first_Default{background:silver;border-radius:50%}.xllentech_islamic_first_Red{background:#fbb3ae;border-radius:50%}.xllentech_islamic_first_Blue{background:#a6d4fa;border-radius:50%}.xllentech_islamic_first_Green{background:#93cf95;border-radius:50%}.xllentech-update-islamic-days input[type="number"]{color:#777 !important}.xllentech-update-islamic-days table td{padding:10px;}.xllentech-update-islamic-days label{font-weight:bold}
     1/*
     2  Xllentech English Islamic Calendar - Public Styles
     3  Organized for readability and easier editing.
     4  Now uses CSS variables for color management.
     5*/
     6
     7:root {
     8  /* Light mode color variables */
     9  --xc-bg: #fff;
     10  --xc-widget-bg: transparent;
     11  --xc-widget-fg: #000;
     12  --xc-table-bg: transparent;
     13  --xc-table-border: #e6e6e7;
     14  --xc-header-bg: #5b5c5f;
     15  --xc-header-fg: #fff;
     16  --xc-subheader-bg: #cdcecf;
     17  --xc-subheader-fg: #666;
     18  --xc-english-month: #fff;
     19  --xc-english-current: #676767;
     20  --xc-english-next: #999;
     21  --xc-english-prev: #999;
     22  --xc-islamic-1: #009d00;
     23  --xc-islamic-2: #090;
     24  --xc-islamic-3: #090;
     25  --xc-tooltip-border: #000;
     26  --xc-today-fg: #1982d1;
     27  --xc-english-default: #5b5c5f;
     28  --xc-islamic-default: #009d00;
     29  --xc-english-blue: #1982d1;
     30  --xc-islamic-blue: #009d00;
     31  --xc-english-green: #005900;
     32  --xc-islamic-green: #009d00;
     33  --xc-english-red: #812a23;
     34  --xc-islamic-red: #009d00;
     35  --xc-first-default: silver;
     36  --xc-first-red: #fbb3ae;
     37  --xc-first-blue: #a6d4fa;
     38  --xc-first-green: #93cf95;
     39  --xc-admin-input: #777;
     40}
     41
     42@media (prefers-color-scheme: dark) {
     43  :root {
     44    /* Dark mode color variables */
     45    --xc-bg: #1e1e1e;
     46    --xc-widget-bg: #1e1e1e;
     47    --xc-widget-fg: #e0e0e0;
     48    --xc-table-bg: #2d2d2d;
     49    --xc-table-border: #404040;
     50    --xc-header-bg: #404040;
     51    --xc-header-fg: #e0e0e0;
     52    --xc-subheader-bg: #353535;
     53    --xc-subheader-fg: #b0b0b0;
     54    --xc-english-month: #e0e0e0;
     55    --xc-english-current: #e0e0e0;
     56    --xc-english-next: #b0b0b0;
     57    --xc-english-prev: #b0b0b0;
     58    --xc-islamic-1: #00ff00;
     59    --xc-islamic-2: #00dd00;
     60    --xc-islamic-3: #00dd00;
     61    --xc-tooltip-border: #888;
     62    --xc-today-fg: #4db8ff;
     63    --xc-english-default: #b0b0b0;
     64    --xc-islamic-default: #00ff00;
     65    --xc-english-blue: #4db8ff;
     66    --xc-islamic-blue: #00ff00;
     67    --xc-english-green: #66ff66;
     68    --xc-islamic-green: #00ff00;
     69    --xc-english-red: #ff6666;
     70    --xc-islamic-red: #00ff00;
     71    --xc-first-default: #606060;
     72    --xc-first-red: #8b4545;
     73    --xc-first-blue: #4a6b8b;
     74    --xc-first-green: #4a8b4a;
     75    --xc-admin-input: #b0b0b0;
     76  }
     77}
     78
     79/* Month headers */
     80.xllentech-english-month,
     81.xllentech-english-month-LTR,
     82.xllentech-english-month-RTL,
     83.xllentech-islamic-month,
     84.xllentech-islamic-month-LTR,
     85.xllentech-islamic-month-RTL {
     86  color: var(--xc-english-month);
     87    display: block;
     88    width: 100%;
     89    font-size: 13px;
     90    font-weight: 700;
     91}
     92
     93/* Widget container */
     94.xllentech-calendar-widget {
     95    width: 100%;
     96    font-size: 11px;
     97    margin: 0 auto;
     98    padding: 5px 0;
     99  background-color: var(--xc-widget-bg);
     100  color: var(--xc-widget-fg);
     101}
     102
     103/* Table base styles */
     104.xllentech-calendar-widget table {
     105    border-spacing: 0;
     106    text-transform: uppercase;
     107    margin: 0;
     108    padding: 0;
     109    width: 100%;
     110    background-color: var(--xc-table-bg);
     111    table-layout: fixed;
     112}
     113
     114.xllentech-calendar-widget table td,
     115.xllentech-calendar-widget table th {
     116    padding: 0;
     117    text-align: center;
     118    vertical-align: top;
     119    line-height: 20px;
     120    background-color: var(--xc-table-bg);
     121    color: var(--xc-widget-fg);
     122}
     123
     124.xllentech-calendar-widget tr.xllentech-main-nav {
     125    font-size: 13px;
     126}
     127
     128.xllentech-daybox {
     129    padding: 0 10%;
     130}
     131
     132/* Alignment helpers */
     133.xllentech-english-month,
     134.xllentech-english-month-LTR { text-align: right; }
     135
     136.xllentech-english-month-RTL,
     137.xllentech-islamic-month,
     138.xllentech-islamic-month-LTR { text-align: left; }
     139
     140.xllentech-english-current,
     141.xllentech-english-current-LTR,
     142.xllentech-english-next,
     143.xllentech-english-next-LTR,
     144.xllentech-english-previous,
     145.xllentech-english-previous-LTR,
     146.xllentech-islamic-month-RTL { text-align: right; }
     147
     148.xllentech-english-current,
     149.xllentech-english-current-LTR,
     150.xllentech-english-current-RTL,
     151.xllentech-english-next,
     152.xllentech-english-next-LTR,
     153.xllentech-english-next-RTL,
     154.xllentech-english-previous,
     155.xllentech-english-previous-LTR,
     156.xllentech-english-previous-RTL {
     157    display: block;
     158    width: 100%;
     159}
     160
     161.xllentech-english-current-RTL,
     162.xllentech-english-next-RTL,
     163.xllentech-english-previous-RTL,
     164.xllentech-islamic-1,
     165.xllentech-islamic-1-LTR,
     166.xllentech-islamic-2,
     167.xllentech-islamic-2-LTR,
     168.xllentech-islamic-3,
     169.xllentech-islamic-3-LTR { text-align: left; }
     170
     171/* Color semantics */
     172.xllentech-english-next,
     173.xllentech-english-next-LTR,
     174.xllentech-english-next-RTL { color: #999; }
     175.xllentech-english-next,
     176.xllentech-english-next-LTR,
     177.xllentech-english-next-RTL { color: var(--xc-english-next); }
     178
     179.xllentech-english-current,
     180.xllentech-english-current-LTR,
     181.xllentech-english-current-RTL {
     182    color: var(--xc-english-current);
     183    font-weight: 700;
     184}
     185
     186.xllentech-english-previous,
     187.xllentech-english-previous-LTR,
     188.xllentech-english-previous-RTL { color: #999; }
     189.xllentech-english-previous,
     190.xllentech-english-previous-LTR,
     191.xllentech-english-previous-RTL { color: var(--xc-english-prev); }
     192
     193.xllentech-islamic-1,
     194.xllentech-islamic-1-LTR,
     195.xllentech-islamic-1-RTL {
     196    color: var(--xc-islamic-1);
     197    display: block;
     198    font-weight: 700;
     199    width: 100%;
     200}
     201
     202.xllentech-islamic-2,
     203.xllentech-islamic-2-LTR,
     204.xllentech-islamic-2-RTL,
     205.xllentech-islamic-3,
     206.xllentech-islamic-3-LTR,
     207.xllentech-islamic-3-RTL {
     208  color: var(--xc-islamic-2);
     209    width: 100%;
     210    display: inline-block;
     211}
     212
     213.xllentech-islamic-1-RTL,
     214.xllentech-islamic-2-RTL,
     215.xllentech-islamic-3-RTL { text-align: right; }
     216
     217.xllentech-month-names { padding-left: 10px; padding-right: 10px; }
     218
     219/* Selects */
     220.xllentech-calendar-widget select.xllentech-main-nav {
     221    width: 100%;
     222    height: 40px;
     223    font-weight: 700;
     224    opacity: .5;
     225    border: 0;
     226    padding: 0;
     227}
     228
     229.xllentech-calendar-widget select { margin: 0; }
     230
     231/* Spacing helpers */
     232.xllentech-spacing { padding: 20%; display: block; }
     233
     234/* Today widget */
     235.xllentech-islamic-today { font-weight: 700; font-size: 17px; }
     236
     237span.xllentech-today-english-date-LTR,
     238span.xllentech-today-islamic-date-RTL {
     239    display: block;
     240    text-align: right;
     241    width: 100%;
     242}
     243
     244span.xllentech-today-islamic-date-LTR,
     245span.xllentech-today-english-date-RTL {
     246    display: block;
     247    text-align: left;
     248    width: 100%;
     249}
     250
     251.xllentech-today-spacing { padding: 1%; display: block; }
     252
     253/* Tooltip inside day boxes */
     254.xllentech-daybox .tooltip {
     255    position: relative;
     256    display: inline-block;
     257  border-bottom: 1px dotted var(--xc-tooltip-border);
     258}
     259
     260/* Theme: Default */
     261.xllentech-calendar-widget table.xc_table_Default td,
     262.xllentech-calendar-widget table.xc_table_Default th { border: 1px solid #e6e6e7; }
     263.xllentech-calendar-widget table.xc_table_Default td,
     264.xllentech-calendar-widget table.xc_table_Default th { border: 1px solid var(--xc-table-border); }
     265
     266.xllentech-calendar-widget table.xc_table_Default tr.xllentech_header th { background: #5b5c5f; }
     267.xllentech-calendar-widget table.xc_table_Default tr.xllentech_header th { background: var(--xc-header-bg); color: var(--xc-header-fg); }
     268
     269.xllentech-calendar-widget table.xc_table_Default tr.xllentech_subheader th {
     270  background: var(--xc-subheader-bg);
     271  color: var(--xc-subheader-fg);
     272  text-align: center;
     273}
     274
     275span.xllentech_english_Default { color: #5b5c5f; }
     276span.xllentech_english_Default { color: var(--xc-english-default); }
     277span.xllentech_islamic_Default { color: #009d00; }
     278span.xllentech_islamic_Default { color: var(--xc-islamic-default); }
     279.xllentech-islamic-today_Default { color: #1982d1; }
     280.xllentech-islamic-today_Default { color: var(--xc-today-fg); }
     281
     282/* Theme: Blue */
     283.xllentech-calendar-widget table.xc_table_Blue td,
     284.xllentech-calendar-widget table.xc_table_Blue th { border: 1px solid #d9e1ec; }
     285.xllentech-calendar-widget table.xc_table_Blue td,
     286.xllentech-calendar-widget table.xc_table_Blue th { border: 1px solid var(--xc-table-border); }
     287
     288.xllentech-calendar-widget table.xc_table_Blue tr.xllentech_header th { background: #354b68; }
     289.xllentech-calendar-widget table.xc_table_Blue tr.xllentech_header th { background: var(--xc-header-bg); color: var(--xc-header-fg); }
     290
     291.xllentech-calendar-widget table.xc_table_Blue tr.xllentech_subheader th {
     292  background: var(--xc-subheader-bg);
     293  color: var(--xc-subheader-fg);
     294  text-align: center;
     295}
     296
     297span.xllentech_english_Blue { color: #1982d1; }
     298span.xllentech_english_Blue { color: var(--xc-english-blue); }
     299span.xllentech_islamic_Blue { color: #009d00; }
     300span.xllentech_islamic_Blue { color: var(--xc-islamic-blue); }
     301.xllentech-islamic-today_Blue { color: #1982d1; }
     302.xllentech-islamic-today_Blue { color: var(--xc-today-fg); }
     303
     304/* Theme: Green */
     305.xllentech-calendar-widget table.xc_table_Green td,
     306.xllentech-calendar-widget table.xc_table_Green th { border: 1px solid #b3ffb3; }
     307.xllentech-calendar-widget table.xc_table_Green td,
     308.xllentech-calendar-widget table.xc_table_Green th { border: 1px solid var(--xc-table-border); }
     309
     310.xllentech-calendar-widget table.xc_table_Green tr.xllentech_header th { background: #005900; }
     311.xllentech-calendar-widget table.xc_table_Green tr.xllentech_header th { background: var(--xc-header-bg); color: var(--xc-header-fg); }
     312
     313.xllentech-calendar-widget table.xc_table_Green tr.xllentech_subheader th {
     314  background: var(--xc-subheader-bg);
     315  color: var(--xc-subheader-fg);
     316  text-align: center;
     317}
     318
     319span.xllentech_english_Green { color: #005900; }
     320span.xllentech_english_Green { color: var(--xc-english-green); }
     321span.xllentech_islamic_Green { color: #009d00; }
     322span.xllentech_islamic_Green { color: var(--xc-islamic-green); }
     323.xllentech-islamic-today_Green { color: #1982d1; }
     324.xllentech-islamic-today_Green { color: var(--xc-today-fg); }
     325
     326/* Theme: Red */
     327.xllentech-calendar-widget table.xc_table_Red td,
     328.xllentech-calendar-widget table.xc_table_Red th { border: 1px solid #f3d6d4; }
     329.xllentech-calendar-widget table.xc_table_Red td,
     330.xllentech-calendar-widget table.xc_table_Red th { border: 1px solid var(--xc-table-border); }
     331
     332.xllentech-calendar-widget table.xc_table_Red tr.xllentech_header th { background: #812a23; }
     333.xllentech-calendar-widget table.xc_table_Red tr.xllentech_header th { background: var(--xc-header-bg); color: var(--xc-header-fg); }
     334
     335.xllentech-calendar-widget table.xc_table_Red tr.xllentech_subheader th {
     336  background: var(--xc-subheader-bg);
     337  color: var(--xc-subheader-fg);
     338  text-align: center;
     339}
     340
     341span.xllentech_english_Red { color: #812a23; }
     342span.xllentech_english_Red { color: var(--xc-english-red); }
     343span.xllentech_islamic_Red { color: #009d00; }
     344span.xllentech_islamic_Red { color: var(--xc-islamic-red); }
     345.xllentech-islamic-today_Red { color: #1982d1; }
     346.xllentech-islamic-today_Red { color: var(--xc-today-fg); }
     347
     348/* First-day marker variations */
     349.xllentech_islamic_first_Default { background: silver; border-radius: 50%; }
     350.xllentech_islamic_first_Default { background: var(--xc-first-default); border-radius: 50%; }
     351.xllentech_islamic_first_Red { background: #fbb3ae; border-radius: 50%; }
     352.xllentech_islamic_first_Red { background: var(--xc-first-red); border-radius: 50%; }
     353.xllentech_islamic_first_Blue { background: #a6d4fa; border-radius: 50%; }
     354.xllentech_islamic_first_Blue { background: var(--xc-first-blue); border-radius: 50%; }
     355.xllentech_islamic_first_Green { background: #93cf95; border-radius: 50%; }
     356.xllentech_islamic_first_Green { background: var(--xc-first-green); border-radius: 50%; }
     357
     358/* Admin: Islamic days update form */
     359.xllentech-update-islamic-days input[type="number"] { color: #777 !important; }
     360.xllentech-update-islamic-days input[type="number"] { color: var(--xc-admin-input) !important; }
     361.xllentech-update-islamic-days table td { padding: 10px; }
     362.xllentech-update-islamic-days table td { padding: 10px; }
     363.xllentech-update-islamic-days label { font-weight: bold; }
     364.xllentech-update-islamic-days label { font-weight: bold; }
     365
     366/* Dark Mode Support */
     367@media (prefers-color-scheme: dark) {
     368  /* Widget container - ensure background works on dark */
     369  .xllentech-calendar-widget {
     370    background-color: #1e1e1e;
     371    color: #e0e0e0;
     372  }
     373
     374  /* Table cells - add background and adjust borders */
     375  .xllentech-calendar-widget table td,
     376  .xllentech-calendar-widget table th {
     377    background-color: #2d2d2d;
     378    color: #e0e0e0;
     379  }
     380
     381  /* Day box backgrounds */
     382  .xllentech-daybox {
     383    background-color: #2d2d2d;
     384  }
     385
     386  /* English dates - lighter grays for visibility */
     387  .xllentech-english-next,
     388  .xllentech-english-next-LTR,
     389  .xllentech-english-next-RTL { color: #b0b0b0; }
     390
     391  .xllentech-english-current,
     392  .xllentech-english-current-LTR,
     393  .xllentech-english-current-RTL {
     394    color: #e0e0e0;
     395    font-weight: 700;
     396  }
     397
     398  .xllentech-english-previous,
     399  .xllentech-english-previous-LTR,
     400  .xllentech-english-previous-RTL { color: #b0b0b0; }
     401
     402  /* Islamic dates - brighter greens for dark background */
     403  .xllentech-islamic-1,
     404  .xllentech-islamic-1-LTR,
     405  .xllentech-islamic-1-RTL {
     406    color: #00ff00;
     407  }
     408
     409  .xllentech-islamic-2,
     410  .xllentech-islamic-2-LTR,
     411  .xllentech-islamic-2-RTL,
     412  .xllentech-islamic-3,
     413  .xllentech-islamic-3-LTR,
     414  .xllentech-islamic-3-RTL {
     415    color: #00dd00;
     416  }
     417
     418  /* Tooltip in dark mode */
     419  .xllentech-daybox .tooltip {
     420    border-bottom: 1px dotted #888;
     421  }
     422
     423  /* Theme: Default - Dark Mode */
     424  .xllentech-calendar-widget table.xc_table_Default td,
     425  .xllentech-calendar-widget table.xc_table_Default th {
     426    border: 1px solid #404040;
     427    background-color: #2d2d2d;
     428  }
     429
     430  .xllentech-calendar-widget table.xc_table_Default tr.xllentech_header th {
     431    background: #404040;
     432    color: #e0e0e0;
     433  }
     434
     435  .xllentech-calendar-widget table.xc_table_Default tr.xllentech_subheader th {
     436    background: #353535;
     437    color: #b0b0b0;
     438  }
     439
     440  span.xllentech_english_Default { color: #b0b0b0; }
     441  span.xllentech_islamic_Default { color: #00ff00; }
     442  .xllentech-islamic-today_Default { color: #4db8ff; }
     443
     444  /* Theme: Blue - Dark Mode */
     445  .xllentech-calendar-widget table.xc_table_Blue td,
     446  .xllentech-calendar-widget table.xc_table_Blue th {
     447    border: 1px solid #2d4a6b;
     448    background-color: #1a2a3a;
     449  }
     450
     451  .xllentech-calendar-widget table.xc_table_Blue tr.xllentech_header th {
     452    background: #2d4a6b;
     453    color: #e0e0e0;
     454  }
     455
     456  .xllentech-calendar-widget table.xc_table_Blue tr.xllentech_subheader th {
     457    background: #1f3a52;
     458    color: #b0b0b0;
     459  }
     460
     461  span.xllentech_english_Blue { color: #4db8ff; }
     462  span.xllentech_islamic_Blue { color: #00ff00; }
     463  .xllentech-islamic-today_Blue { color: #4db8ff; }
     464
     465  /* Theme: Green - Dark Mode */
     466  .xllentech-calendar-widget table.xc_table_Green td,
     467  .xllentech-calendar-widget table.xc_table_Green th {
     468    border: 1px solid #2d4a2d;
     469    background-color: #1a2a1a;
     470  }
     471
     472  .xllentech-calendar-widget table.xc_table_Green tr.xllentech_header th {
     473    background: #2d4a2d;
     474    color: #e0e0e0;
     475  }
     476
     477  .xllentech-calendar-widget table.xc_table_Green tr.xllentech_subheader th {
     478    background: #1f3a1f;
     479    color: #b0b0b0;
     480  }
     481
     482  span.xllentech_english_Green { color: #66ff66; }
     483  span.xllentech_islamic_Green { color: #00ff00; }
     484  .xllentech-islamic-today_Green { color: #4db8ff; }
     485
     486  /* Theme: Red - Dark Mode */
     487  .xllentech-calendar-widget table.xc_table_Red td,
     488  .xllentech-calendar-widget table.xc_table_Red th {
     489    border: 1px solid #4a2d2d;
     490    background-color: #2a1a1a;
     491  }
     492
     493  .xllentech-calendar-widget table.xc_table_Red tr.xllentech_header th {
     494    background: #4a2d2d;
     495    color: #e0e0e0;
     496  }
     497
     498  .xllentech-calendar-widget table.xc_table_Red tr.xllentech_subheader th {
     499    background: #3a1f1f;
     500    color: #b0b0b0;
     501  }
     502
     503  span.xllentech_english_Red { color: #ff6666; }
     504  span.xllentech_islamic_Red { color: #00ff00; }
     505  .xllentech-islamic-today_Red { color: #4db8ff; }
     506
     507  /* First-day marker variations - Dark Mode */
     508  .xllentech_islamic_first_Default { background: #606060; }
     509  .xllentech_islamic_first_Red { background: #8b4545; }
     510  .xllentech_islamic_first_Blue { background: #4a6b8b; }
     511  .xllentech_islamic_first_Green { background: #4a8b4a; }
     512
     513  /* Admin form in dark mode */
     514  .xllentech-update-islamic-days input[type="number"] {
     515    color: #b0b0b0 !important;
     516    background-color: #2d2d2d;
     517    border-color: #404040;
     518  }
     519
     520  .xllentech-update-islamic-days table td {
     521    background-color: #2d2d2d;
     522    color: #e0e0e0;
     523  }
     524
     525  .xllentech-update-islamic-days label {
     526    color: #e0e0e0;
     527  }
     528}
  • xllentech-english-islamic-calendar/trunk/readme.txt

    r3146720 r3410001  
    44Tags: calendar, islamic calendar, hijri calendar, english islamic calendar, gregorian hijri calendar, xllentech calendar, php
    55Requires at least: 3.0
    6 Tested up to: 6.6
    7 Stable tag: 2.7.3
     6Tested up to: 6.9
     7Stable tag: 2.8.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747- [Contact Author](https://apps.xllentech.com/contact-us/)
    4848
    49 Plugin Developed by:
    50 [IT Support Company Calgary](https://xllentech.com/)
    51 Our Other IT Services:
    52 [IT Services Canada](https://xllentech.com/it-services/ "IT Services Canada")
    53 [Onsite IT Support USA & Canada](https://xllentech.com/about-us/ "Onsite IT Support USA & Canada")
    54 [VoIP Phone System](https://xllentech.com/it-services/voip-phone-system/ "VoIP Phone System")
    55 [Managed IT Services Calgary](https://xllentech.com/it-services/managed-it/ "Managed IT Services Calgary")
    56 [IT Consultancy Calgary](https://xllentech.com/it-services/it-consultancy/ "IT Consultancy Calgary")
    57 [Cyber Security Calgary](https://xllentech.com/it-services/cyber-security-company-calgary/ "Cyber Security Calgary")
    58 [Online Company Letterhead](https://verifiableletter.com/ "Online Company Letterhead")
    59 [Cloud Migration Calgary](https://xllentech.com/it-services/cloud-computing/ "Cloud Migration Calgary")
    60 
    6149
    6250= Extensions galore =
     
    123111
    124112== Changelog ==
     113= 2.8.0 =
     114* Updated: Islamic date for new installs
     115* Updated: Tested 6.9 Compatibility
     116
    125117= 2.7.3 =
    126118* Updated: Islamic date for new installs
  • xllentech-english-islamic-calendar/trunk/xllentech-english-islamic-calendar.php

    r3133563 r3410001  
    1616 * Plugin URI:        https://wordpress.org/plugins/xllentech-english-islamic-calendar/
    1717 * Description:       The Best English Islamic Calendar plugin on Wordpress. It shows calendar with English(gregorian) and Islamic(hijri) dates. No maintenace year to year.
    18  * Version:           2.7.3
     18 * Version:           2.8.0
    1919 * Author:            XllenTech Solutions
    2020 * Author URI:        https://xllentech.com
     
    3030}
    3131
    32 if ( ! defined( "XC_PLUGIN_VERSION" ) )     define( "XC_PLUGIN_VERSION",  "2.7.3");
     32if ( ! defined( "XC_PLUGIN_VERSION" ) )     define( "XC_PLUGIN_VERSION",  "2.8.0");
    3333if ( ! defined( "XC_PLUGIN_DIR" ) ) define( "XC_PLUGIN_DIR", plugin_dir_path( __FILE__ ));
    3434if ( ! defined( 'XC_PLUGIN_URL' ) ) define( 'XC_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.