/******************************************************************************/
/*                                                                            */
/* rexx-dark.css - Sample CSS for Rexx highlighting, dark background          */
/* =================================================================          */
/*                                                                            */
/* This program is part of the Rexx Parser package                            */
/* [See https://rexx.epbcn.com/rexx-parser/]                                  */
/*                                                                            */
/* Copyright (c) 2024-2026 Josep Maria Blasco <josep.maria.blasco@epbcn.com>  */
/*                                                                            */
/* License: Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0)  */
/*                                                                            */
/* Version history:                                                           */
/*                                                                            */
/* Date     Version Details                                                   */
/* -------- ------- --------------------------------------------------------- */
/* 20241206    0.1  First public release                                      */
/* 20241209    0.1b New call system                                           */
/* 20241222    0.1c Line number support                                       */
/* 20250103    0.1e Add TUTOR-flavored Unicode classes                        */
/* 20250116    0.1f Add support for sub-keywords                              */
/* 20250328    0.2  Main dir is now rexx-parser instead of rexx[.]parser      */
/* 20250406         Rename fractional numbers to decimal                      */
/* 20250530    0.2c Add support for detailed string highlighting              */
/* 20250624    0.2d Complete refactor to use nesting and "&"                  */
/* 20250630         Add support for doc-comment subelements                   */
/* 20250722         Add styles for rx-dskw                                    */
/* 20251111    0.2e Support customizable line numbers in ANSI                 */
/* 20251213    0.3a (Executor) Add support for named arguments                */
/*                                                                            */
/******************************************************************************/

/******************************************************************************/
/******************************************************************************/
/* BASE SELECTOR: highlight-rexx-dark                                         */
/******************************************************************************/
/******************************************************************************/
/*   Format: "highlight-rexx-<stylename>                                      */
/*   It will apply to the whole CSS file                                      */
/******************************************************************************/

.highlight-rexx-dark {

/******************************************************************************/
/* Default settings                                                           */
/* ================                                                           */
/*                                                                            */
/*   Black background, text at ~80%                                           */
/*   The "rexx" class is used as a fallback when no suitable class is found   */
/*                                                                            */
/******************************************************************************/

/******************************************************************************/
/* Support for line numbers                                                   */
/* ========================                                                   */
/******************************************************************************/

/******************************************************************************/
/* Whitespace and continuations                                               */
/* ============================                                               */
/******************************************************************************/

/******************************************************************************/
/* Standard (non-doc) comments                                                */
/* ===========================                                                */
/******************************************************************************/

/******************************************************************************/
/* Doc-comments                                                               */
/* ============                                                               */
/******************************************************************************/

/******************************************************************************/
/* Shebangs                                                                   */
/* ========                                                                   */
/******************************************************************************/

/******************************************************************************/
/* Keywords and subkeywords, assignment sequences, and "::"                   */
/* ========================================================                   */
/******************************************************************************/

  /* Additionally, directive keywords and subkeywords are underlined          */

/******************************************************************************/
/* Strings (including taken constants that are strings)                       */
/* ====================================================                       */
/******************************************************************************/

  /* Taken constants that are strings                                         */

/******************************************************************************/
/* Numbers                                                                    */
/* =======                                                                    */
/******************************************************************************/

  /*--------------------------------------------------------------------------*/
  /* Simple highlighting classes (not used by the highlighter)                */
  /*--------------------------------------------------------------------------*/

  /*--------------------------------------------------------------------------*/
  /* Detailed highlighting (includes non X and B strings that are numbers)    */
  /*--------------------------------------------------------------------------*/         /* Number sign (for strings only)     */        /* The decimal point                  */        /* The exponent mark ("E" or "e")     */        /* The (optional) exponent sign       */

/******************************************************************************/
/* Variables and constant symbols                                             */
/* ==============================                                             */
/******************************************************************************/

  /* Set a common color for all variables                                     */

  /* Additionally, exposed variables will be italicized                       */

  /* Environment symbols                                                      */

  /* Const symbols that are not environment symbols                           */

/******************************************************************************/
/* Special characters                                                         */
/* ==================                                                         */
/******************************************************************************/

/******************************************************************************/
/* Operators                                                                  */
/* =========                                                                  */
/******************************************************************************/

/******************************************************************************/
/* Taken constants                                                            */
/* ===============                                                            */
/*                                                                            */
/*   I.e., tokens that are "strings or symbols taken as a constant".          */
/*   In the case of strings, quotes and suffixes are assignes styles under    */
/*   "strings".                                                               */
/******************************************************************************/ /* <-- END OF .rx-const                                                   */

/******************************************************************************/
/* ::RESOURCE data and ignored stuff                                          */
/******************************************************************************/

  /* Resource data                                                            */

  /* Resource ignored stuff                                                   */

/******************************************************************************/
/******************************************************************************/
/* END highlight-rexx-dark                                                    */
/******************************************************************************/
/******************************************************************************/

}

.highlight-rexx-dark pre, .highlight-rexx-dark .rexx {
    background-color: black;
    color: #aaa;
  }

.highlight-rexx-dark .rx-lineno  {                         /* ANSI Driver only                   */
    color: #ff0;
    font-style: italic;
  }

.highlight-rexx-dark .rx-linebar {                         /* ANSI Driver only                   */
    color: #ff0;
  }

.highlight-rexx-dark pre.number-lines {
          padding-left: 50px;
  }

.highlight-rexx-dark pre.number-lines.w3 {padding-left: 58px; }

.highlight-rexx-dark pre.number-lines.w3 code:before {width:58px;}

.highlight-rexx-dark pre.number-lines.w4 {padding-left: 65px; }

.highlight-rexx-dark pre.number-lines.w4 code:before {width:65px;}

.highlight-rexx-dark pre.number-lines.w5 {padding-left: 72px; }

.highlight-rexx-dark pre.number-lines.w5 code:before {width:72px;}

.highlight-rexx-dark pre.number-lines code:before{
      content: attr(lineno) " | ";
      position:absolute;
      left:10px;
      width:50px;
      text-align:right;
      color: grey;
    }

.highlight-rexx-dark .rx-ws, .highlight-rexx-dark .rx-cont { color: #cc0; }

.highlight-rexx-dark .rx-cm,                               
  .highlight-rexx-dark .rx-lncm {                            /* Line comments                      */
    color: #0c0;
    font-style: italic;
  }

.highlight-rexx-dark .rx-doc-comment,                      
  .highlight-rexx-dark .rx-doc-comment-markdown {            /* Markdown style doc-comments        */

    color: #93a1ed;                     /* Default values (for "block"..      */
    font-style: italic;                 /* ..highlighting.                    */
  }

.highlight-rexx-dark .rx-doc-comment.rx-doc-comment-armature,          
    .highlight-rexx-dark .rx-doc-comment.rx-doc-comment-whitespace,          
    .highlight-rexx-dark .rx-doc-comment.rx-doc-comment-main-description,          
    .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-armature,          
    .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-whitespace,          
    .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-main-description {
      color: #93a1ed;
      font-style: italic;
    }

.highlight-rexx-dark .rx-doc-comment.rx-doc-comment-summary, .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-summary {          /* Initial summary statement.         */
      color: yellow;
      text-decoration:underline;
      font-style: normal;
    }

.highlight-rexx-dark .rx-doc-comment.rx-doc-comment-tag, .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-tag {              /* @block-tag                         */
      color: pink;
      font-style: normal;
    }

.highlight-rexx-dark .rx-doc-comment.rx-doc-comment-tag-value, .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-tag-value {        /* As the name in "@param name".      */
      color: #f6f;
      font-style: normal;
    }

.highlight-rexx-dark .rx-doc-comment.rx-doc-comment-tag-description, .highlight-rexx-dark .rx-doc-comment-markdown.rx-doc-comment-tag-description {  /* Text after @deprecated.            */
      color: teal;
      font-style: italic;
    }

.highlight-rexx-dark .rx-shb { color: #f55; font-style: italic; }

.highlight-rexx-dark .rx-kw,                               
  .highlight-rexx-dark .rx-skw,                               
  .highlight-rexx-dark .rx-dkw,                               
  .highlight-rexx-dark .rx-dskw,                               
  .highlight-rexx-dark .rx-asg,                               
  .highlight-rexx-dark .rx-dir                               /* The directive start "::" sequence  */
  {
    color: #ddd;
    font-weight: bold;
  }

.highlight-rexx-dark .rx-dkw, .highlight-rexx-dark .rx-dskw { text-decoration:underline; }

.highlight-rexx-dark .rx-str, .highlight-rexx-dark .rx-bstr, .highlight-rexx-dark .rx-xstr, .highlight-rexx-dark .rx-ystr, .highlight-rexx-dark .rx-pstr, .highlight-rexx-dark .rx-gstr, .highlight-rexx-dark .rx-tstr, .highlight-rexx-dark .rx-ustr { /* TUTOR Unicode strings */
    color: #64b02a;                     /* the inner part of the string       */ /* String suffix                      */ /* Quotes                             */
  }

.highlight-rexx-dark .rx-str.rx-ssuf,            .highlight-rexx-dark .rx-bstr.rx-ssuf,            .highlight-rexx-dark .rx-xstr.rx-ssuf,            .highlight-rexx-dark .rx-ystr.rx-ssuf,            .highlight-rexx-dark .rx-pstr.rx-ssuf,            .highlight-rexx-dark .rx-gstr.rx-ssuf,            .highlight-rexx-dark .rx-tstr.rx-ssuf,            .highlight-rexx-dark .rx-ustr.rx-ssuf            {color: #0ff;}

.highlight-rexx-dark .rx-str.rx-oquo, .highlight-rexx-dark .rx-str.rx-cquo, .highlight-rexx-dark .rx-bstr.rx-oquo, .highlight-rexx-dark .rx-bstr.rx-cquo, .highlight-rexx-dark .rx-xstr.rx-oquo, .highlight-rexx-dark .rx-xstr.rx-cquo, .highlight-rexx-dark .rx-ystr.rx-oquo, .highlight-rexx-dark .rx-ystr.rx-cquo, .highlight-rexx-dark .rx-pstr.rx-oquo, .highlight-rexx-dark .rx-pstr.rx-cquo, .highlight-rexx-dark .rx-gstr.rx-oquo, .highlight-rexx-dark .rx-gstr.rx-cquo, .highlight-rexx-dark .rx-tstr.rx-oquo, .highlight-rexx-dark .rx-tstr.rx-cquo, .highlight-rexx-dark .rx-ustr.rx-oquo, .highlight-rexx-dark .rx-ustr.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const { /* String suffix                      */ /* Quotes                             */
  }

.highlight-rexx-dark .rx-const.rx-ssuf            {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-oquo, .highlight-rexx-dark .rx-const.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-int,                              
  .highlight-rexx-dark .rx-deci,                              
  .highlight-rexx-dark .rx-exp {                             /* Exponentials (w/ or w/o a dot)     */
    color:#3cc;
  }

.highlight-rexx-dark .rx-nsign { color: #93a1ed; }

.highlight-rexx-dark .rx-ipart,                            
  .highlight-rexx-dark .rx-fpart,                            
  .highlight-rexx-dark .rx-expon                             /* The exponent itself                */
  {
    color:#3cc;
  }

.highlight-rexx-dark .rx-dpoint { color: #93a1ed; }

.highlight-rexx-dark .rx-emark  { color: #93a1ed; }

.highlight-rexx-dark .rx-esign  { color: #93a1ed; }

.highlight-rexx-dark .rx-var, .highlight-rexx-dark .rx-xvar, .highlight-rexx-dark .rx-stem, .highlight-rexx-dark .rx-xstem, .highlight-rexx-dark .rx-cmp, .highlight-rexx-dark .rx-xcmp { color: #f6f; }

.highlight-rexx-dark .rx-xvar, .highlight-rexx-dark .rx-xstem, .highlight-rexx-dark .rx-xcmp { font-style: italic; }

.highlight-rexx-dark .rx-env { color: #fc0; font-style: italic; }

.highlight-rexx-dark .rx-lit { color: #08f; }

.highlight-rexx-dark .rx-spe { color:#f00; }

.highlight-rexx-dark .rx-op  { color:#4f4; }

.highlight-rexx-dark .rx-const {

    /*------------------------------------------------------------------------*/
    /* Default highlighting                                                   */
    /*------------------------------------------------------------------------*/

    color: #48c;

    /*------------------------------------------------------------------------*/
    /* Named arguments (Executor)                                             */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* Built-in functions and procedures                                      */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* Internal functions and procedures, labels and block instruction names  */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* ::ROUTINE names, ::ROUTINE function and procedure calls,               */
    /* and namespace-qualified ::ROUTINEs                                     */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* External calls                                                         */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* Method names                                                           */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* Namespace names                                                        */
    /*------------------------------------------------------------------------*/

    /*------------------------------------------------------------------------*/
    /* Resources                                                              */
    /*------------------------------------------------------------------------*/

    /* Resource name                                                          */

    /* Resource delimiter                                                     */

  }

.highlight-rexx-dark .rx-const.rx-argument-name {
      color:#ff0;                       /* Color                             */
    }

.highlight-rexx-dark .rx-const.rx-bif-func, .highlight-rexx-dark .rx-const.rx-bif-proc {
      color:#6ad;                       /* Color (symbols and strings)        */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-bif-func.rx-ssuf, .highlight-rexx-dark .rx-const.rx-bif-proc.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-bif-func.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-bif-func.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-bif-proc.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-bif-proc.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const.rx-int-func, .highlight-rexx-dark .rx-const.rx-int-proc, .highlight-rexx-dark .rx-const.rx-block, .highlight-rexx-dark .rx-const.rx-label {
      color:#fa0;                       /* Color (symbols and strings)        */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-int-func.rx-ssuf, .highlight-rexx-dark .rx-const.rx-int-proc.rx-ssuf, .highlight-rexx-dark .rx-const.rx-block.rx-ssuf, .highlight-rexx-dark .rx-const.rx-label.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-int-func.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-int-func.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-int-proc.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-int-proc.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-block.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-block.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-label.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-label.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const.rx-routine, .highlight-rexx-dark .rx-const.rx-pkg-func, .highlight-rexx-dark .rx-const.rx-pkg-proc, .highlight-rexx-dark .rx-const.rx-ext-pkg-func, .highlight-rexx-dark .rx-const.rx-ext-pkg-proc {
      color:#f0a;                       /* Color (symbols and strings)        */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-routine.rx-ssuf, .highlight-rexx-dark .rx-const.rx-pkg-func.rx-ssuf, .highlight-rexx-dark .rx-const.rx-pkg-proc.rx-ssuf, .highlight-rexx-dark .rx-const.rx-ext-pkg-func.rx-ssuf, .highlight-rexx-dark .rx-const.rx-ext-pkg-proc.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-routine.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-routine.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-pkg-func.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-pkg-func.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-pkg-proc.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-pkg-proc.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-pkg-func.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-pkg-func.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-pkg-proc.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-pkg-proc.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const.rx-ext-func, .highlight-rexx-dark .rx-const.rx-ext-proc {
      color:#f0a;                       /* Color (symbols and strings)        */
      font-style: italic;               /* Italic (symbols and strings)       */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-ext-func.rx-ssuf, .highlight-rexx-dark .rx-const.rx-ext-proc.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-ext-func.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-func.rx-cquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-proc.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-ext-proc.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const.rx-method {
      color:bisque;                     /* Color (symbols and strings)        */
      font-style: italic;               /* Italic (symbols and strings)       */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-method.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-method.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-method.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const.rx-namespace {
      color: #cc0;                      /* Color (symbols and strings)        */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-namespace.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-namespace.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-namespace.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const.rx-resource {
    color: #fc0;                        /* Color (symbols and strings)        */          /* Suffix (for strings)               */
    }

.highlight-rexx-dark .rx-const.rx-resource.rx-ssuf {color: #0ff;}

.highlight-rexx-dark .rx-const.rx-resource.rx-oquo,                        
      .highlight-rexx-dark .rx-const.rx-resource.rx-cquo {color: #ff0;}

.highlight-rexx-dark .rx-const .rx-res-delimiter {
      color: #fc0;
      text-decoration:underline;
    }

.highlight-rexx-dark .rx-res-data {
    color: #fc0;
    font-style: italic;
  }

.highlight-rexx-dark .rx-res-ignore {
    color: #ccc;
    font-style: italic;
  } /* <--- END OF highlight-rexx-dark                                          */

/******************************************************************************/
/******************************************************************************/
/* END OF BASE SELECTOR highlight-rexx-dark                                   */
/******************************************************************************/
/******************************************************************************/
