/******************************************************************************/
/*                                                                            */
/* 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                                    */
/* 20251109         use rexx-dark as template for vim colorschemes            */
/*                                                                            */
/******************************************************************************/

/******************************************************************************/
/******************************************************************************/
/* BASE SELECTOR: highlight-rexx-vim-dark-blue */
/******************************************************************************/
/******************************************************************************/
/*   Format: "highlight-rexx-vim-dark-blue                                           */
/*   It will apply to the whole CSS file                                      */
/******************************************************************************/

.highlight-rexx-vim-dark-blue {

/******************************************************************************/
/* Default settings                                                           */
/* ================                                                           */
/*                                                                            */
/*   The "rexx" class is used as a fallback when no suitable class is found   */
/*                                                                            */

/******************************************************************************/

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

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

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

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

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

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

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

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

  /*--------------------------------------------------------------------------*/        /* The (optional) exponent sign       */

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

/******************************************************************************/
/* Special characters and 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                                          */
/******************************************************************************/

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

}

/******************************************************************************/

.highlight-rexx-vim-dark-blue pre, .highlight-rexx-vim-dark-blue .rexx {
    /* %NORMAL%     */ background-color: #000087 ; color: #ffdf00 ;            /* vim: background and foreground */
  }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-lineno  {                         /* ANSI Driver only                   */
    /* %LINENR%     */ color: #5fffff ;
  }

/* ========================                                                   */

.highlight-rexx-vim-dark-blue .rx-linebar {                         /* ANSI Driver only                   */
    /* %LINENR%     */ color: #5fffff ;
  }

/* Support for line numbers                                                   */

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

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

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

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

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

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

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

.highlight-rexx-vim-dark-blue pre.number-lines code:before{
      content: attr(lineno) " | ";
      position:absolute;
      left:10px;
      width:50px;
      text-align:right;
      /* %LINENR%     */ color: #5fffff ;
    }

/* .rx-ws, .rx-cont { color: #cc0; } */

.highlight-rexx-vim-dark-blue .rx-cont { /* %WILDMENU%   */ background-color: #ffdf00 ; color: #000087 ; }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-cm,                               
  .highlight-rexx-vim-dark-blue .rx-lncm {                            /* Line comments                      */
    /* %COMMENT%    */ color: #878787 ;font-weight: bold;
  }

/******************************************************************************/

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

                                        /* Default values (for "block"..      */
                                        /* ..highlighting.                    */
    /* %COMMENT%    */ color: #878787 ;font-weight: bold;
  }

.highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-armature,          
    .highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-whitespace,          
    .highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-main-description,          
    .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-armature,          
    .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-whitespace,          
    .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-main-description {
        /* %COMMENT%    */ color: #878787 ;font-weight: bold;
    }

.highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-summary, .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-summary {          /* Initial summary statement.         */
        /* %COMMENT%    */ color: #878787 ;font-weight: bold;
    }

.highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-tag, .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-tag {              /* @block-tag                         */
        /* %COMMENT%    */ color: #878787 ;font-weight: bold;
    }

.highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-tag-value, .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-tag-value {        /* As the name in "@param name".      */
        /* %COMMENT%    */ color: #878787 ;font-weight: bold;
    }

.highlight-rexx-vim-dark-blue .rx-doc-comment.rx-doc-comment-tag-description, .highlight-rexx-vim-dark-blue .rx-doc-comment-markdown.rx-doc-comment-tag-description {  /* Text after @deprecated.            */
        /* %COMMENT%    */ color: #878787 ;font-weight: bold;
    }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-shb { /* %SPECIAL%    */ color: #d787d7 ; }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-kw,                               
  .highlight-rexx-vim-dark-blue .rx-skw,                               
  .highlight-rexx-vim-dark-blue .rx-asg                               /* Assignment sequences (incl. "=")   */
  {
    /* %STATEMENT%  */ color: #ffffff ; /* %_KEYWORD_% */
  }

/* ========================================================                   */

.highlight-rexx-vim-dark-blue .rx-dkw,                              
  .highlight-rexx-vim-dark-blue .rx-dskw,                              
  .highlight-rexx-vim-dark-blue .rx-dir                               /* The directive start "::" sequence  */
  {
    /* %PREPROC%    */ color: #00ff00 ; /* %_TYPE_% */
  }

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

.highlight-rexx-vim-dark-blue .rx-dkw, .highlight-rexx-vim-dark-blue .rx-dskw { /* %NONE% */ }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-str, .highlight-rexx-vim-dark-blue .rx-bstr, .highlight-rexx-vim-dark-blue .rx-xstr, .highlight-rexx-vim-dark-blue .rx-ystr, .highlight-rexx-vim-dark-blue .rx-pstr, .highlight-rexx-vim-dark-blue .rx-gstr, .highlight-rexx-vim-dark-blue .rx-tstr, .highlight-rexx-vim-dark-blue .rx-ustr { /* TUTOR Unicode strings */
    /* %STRING%     */ color: #5fffff ;   /* Quotes                             */
  }

/* the inner part of the string       */

.highlight-rexx-vim-dark-blue .rx-str.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-bstr.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-xstr.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-ystr.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-pstr.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-gstr.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-tstr.rx-ssuf,            .highlight-rexx-vim-dark-blue .rx-ustr.rx-ssuf            { /* %STRING%     */ color: #5fffff ; }

/* String suffix                      */

.highlight-rexx-vim-dark-blue .rx-str.rx-oquo, .highlight-rexx-vim-dark-blue .rx-str.rx-cquo, .highlight-rexx-vim-dark-blue .rx-bstr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-bstr.rx-cquo, .highlight-rexx-vim-dark-blue .rx-xstr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-xstr.rx-cquo, .highlight-rexx-vim-dark-blue .rx-ystr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-ystr.rx-cquo, .highlight-rexx-vim-dark-blue .rx-pstr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-pstr.rx-cquo, .highlight-rexx-vim-dark-blue .rx-gstr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-gstr.rx-cquo, .highlight-rexx-vim-dark-blue .rx-tstr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-tstr.rx-cquo, .highlight-rexx-vim-dark-blue .rx-ustr.rx-oquo, .highlight-rexx-vim-dark-blue .rx-ustr.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/* Taken constants that are strings                                         */

.highlight-rexx-vim-dark-blue .rx-const {   /* Quotes                             */
  }

.highlight-rexx-vim-dark-blue .rx-const.rx-ssuf            { /* %SPECIAL%    */ color: #d787d7 ; /* %_STRING_% */ }

/* String suffix                      */

.highlight-rexx-vim-dark-blue .rx-const.rx-oquo, .highlight-rexx-vim-dark-blue .rx-const.rx-cquo { /* %SPECIAL%    */ color: #d787d7 ; /* %_STRING_% */ }

/*--------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-int,                              
  .highlight-rexx-vim-dark-blue .rx-deci,                              
  .highlight-rexx-vim-dark-blue .rx-exp {                             /* Exponentials (w/ or w/o a dot)     */
    /* %NUMBER%     */ color: #5fffff ;
  }

/*--------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-nsign { /* %NUMBER%     */ color: #5fffff ; }

/* Number sign (for strings only)     */

.highlight-rexx-vim-dark-blue .rx-ipart,                            
  .highlight-rexx-vim-dark-blue .rx-fpart,                            
  .highlight-rexx-vim-dark-blue .rx-expon                             /* The exponent itself                */
  {
    /* %NUMBER%     */ color: #5fffff ;
  }

/* Detailed highlighting (includes non X and B strings that are numbers)    */

.highlight-rexx-vim-dark-blue .rx-dpoint { /* %NUMBER%     */ color: #5fffff ; }

/* The decimal point                  */

.highlight-rexx-vim-dark-blue .rx-emark  { /* %NUMBER%     */ color: #5fffff ; }

/* The exponent mark ("E" or "e")     */

.highlight-rexx-vim-dark-blue .rx-esign  { /* %NUMBER%     */ color: #5fffff ; }

/* Set a common color for all variables                                     */

.highlight-rexx-vim-dark-blue .rx-var, .highlight-rexx-vim-dark-blue .rx-xvar, .highlight-rexx-vim-dark-blue .rx-stem, .highlight-rexx-vim-dark-blue .rx-xstem, .highlight-rexx-vim-dark-blue .rx-cmp, .highlight-rexx-vim-dark-blue .rx-xcmp { /* %IDENTIFIER% */ color: #bcbcbc ; }

/* Additionally, exposed variables will be italicized                       */

.highlight-rexx-vim-dark-blue .rx-xvar, .highlight-rexx-vim-dark-blue .rx-xstem, .highlight-rexx-vim-dark-blue .rx-xcmp { /* %IDENTIFIER% */ color: #bcbcbc ; }

/* Environment symbols                                                      */

.highlight-rexx-vim-dark-blue .rx-env { /* %PREPROC%    */ color: #00ff00 ; /* %_NONTEXT_% */ }

/* Const symbols that are not environment symbols                           */

.highlight-rexx-vim-dark-blue .rx-lit { /* %SPECIAL%    */ color: #d787d7 ; /* %_NONTEXT_% */ }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-spe, .highlight-rexx-vim-dark-blue .rx-op { /* %OPERATOR%   */ color: #ffffff ; }

/******************************************************************************/

.highlight-rexx-vim-dark-blue .rx-const {

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

    /* %STATEMENT%  */ color: #ffffff ;

    /*------------------------------------------------------------------------*/
    /* 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                                                              */
    /*------------------------------------------------------------------------*/

  }

/*------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-const.rx-bif-func, .highlight-rexx-vim-dark-blue .rx-const.rx-bif-proc {
      /* %FUNCTION%   */ color: #ffdf00 ;          /* Suffix (for strings)               */
    }

/* Color (symbols and strings)        */

.highlight-rexx-vim-dark-blue .rx-const.rx-bif-func.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-bif-proc.rx-ssuf { /* %STRING%     */ color: #5fffff ;   }

.highlight-rexx-vim-dark-blue .rx-const.rx-bif-func.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-bif-func.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-bif-proc.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-bif-proc.rx-cquo { /* %STRING%     */ color: #5fffff ;   }

/*------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-const.rx-int-func, .highlight-rexx-vim-dark-blue .rx-const.rx-int-proc, .highlight-rexx-vim-dark-blue .rx-const.rx-block, .highlight-rexx-vim-dark-blue .rx-const.rx-label {
      /* %FUNCTION%   */ color: #ffdf00 ;            /* Suffix (for strings)               */
    }

/* Color (symbols and strings)        */

.highlight-rexx-vim-dark-blue .rx-const.rx-int-func.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-int-proc.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-block.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-label.rx-ssuf { /* %STRING%     */ color: #5fffff ; }

.highlight-rexx-vim-dark-blue .rx-const.rx-int-func.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-int-func.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-int-proc.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-int-proc.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-block.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-block.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-label.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-label.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/*------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-const.rx-routine, .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-func, .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-proc, .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-func, .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-proc {
      /* %FUNCTION%   */ color: #ffdf00 ;            /* Suffix (for strings)               */
    }

/* Color (symbols and strings)        */

.highlight-rexx-vim-dark-blue .rx-const.rx-routine.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-func.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-proc.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-func.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-proc.rx-ssuf { /* %STRING%     */ color: #5fffff ; }

.highlight-rexx-vim-dark-blue .rx-const.rx-routine.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-routine.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-func.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-func.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-proc.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-pkg-proc.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-func.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-func.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-proc.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-pkg-proc.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/*------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-const.rx-ext-func, .highlight-rexx-vim-dark-blue .rx-const.rx-ext-proc {
      /* %FUNCTION%   */ color: #ffdf00 ;                        /* Color (symbols and strings)        */            /* Suffix (for strings)               */
    }

/* Italic (symbols and strings)       */

.highlight-rexx-vim-dark-blue .rx-const.rx-ext-func.rx-ssuf, .highlight-rexx-vim-dark-blue .rx-const.rx-ext-proc.rx-ssuf { /* %STRING%     */ color: #5fffff ; }

.highlight-rexx-vim-dark-blue .rx-const.rx-ext-func.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-func.rx-cquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-proc.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-ext-proc.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/*------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-const.rx-method {
      /* %TAG%        */ color: #ffffff ;                             /* Color (symbols and strings)        */            /* Suffix (for strings)               */
    }

/* Italic (symbols and strings)       */

.highlight-rexx-vim-dark-blue .rx-const.rx-method.rx-ssuf { /* %STRING%     */ color: #5fffff ; }

.highlight-rexx-vim-dark-blue .rx-const.rx-method.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-method.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/*------------------------------------------------------------------------*/

.highlight-rexx-vim-dark-blue .rx-const.rx-namespace {
      /* %STATUSLINE% */ background-color: #5fffff ; color: #000087 ;            /* Suffix (for strings)               */
    }

/* Color (symbols and strings)        */

.highlight-rexx-vim-dark-blue .rx-const.rx-namespace.rx-ssuf { /* %STRING%     */ color: #5fffff ; }

.highlight-rexx-vim-dark-blue .rx-const.rx-namespace.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-namespace.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/* Resource name                                                          */

.highlight-rexx-vim-dark-blue .rx-const.rx-resource {
      /* %PREPROC%    */ color: #00ff00 ;            /* Suffix (for strings)               */
    }

/* Color (symbols and strings)        */

.highlight-rexx-vim-dark-blue .rx-const.rx-resource.rx-ssuf { /* %STRING%     */ color: #5fffff ; }

.highlight-rexx-vim-dark-blue .rx-const.rx-resource.rx-oquo,                        
      .highlight-rexx-vim-dark-blue .rx-const.rx-resource.rx-cquo { /* %STRING%     */ color: #5fffff ; }

/* Resource delimiter                                                     */

.highlight-rexx-vim-dark-blue .rx-const.rx-res-delimiter {
      /* %PREPROC%    */ color: #00ff00 ;
    }

/* Resource data                                                            */

.highlight-rexx-vim-dark-blue .rx-res-data {
   /* %STRING%     */ color: #5fffff ;
  }

/* Resource ignored stuff                                                   */

.highlight-rexx-vim-dark-blue .rx-res-ignore {
   /* %COMMENT%    */ color: #878787 ;font-weight: bold;
  } /* <--- END OF highlight-rexx-vim-dark-blue                                        */

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