code.gitea.io/gitea@v1.21.7/web_src/css/features/console.css (about)

     1  /* Based on https://github.com/buildkite/terminal-to-html/blob/697ff23bd8dc48b9d23f11f259f5256dae2455f0/assets/terminal.css */
     2  
     3  .console {
     4    background: var(--color-console-bg);
     5    color: var(--color-console-fg);
     6    font-family: var(--fonts-monospace);
     7    border-radius: var(--border-radius);
     8    word-break: break-word;
     9    overflow-wrap: break-word;
    10  }
    11  
    12  .console img { max-width: 100%; }
    13  
    14  .console a {
    15    color: inherit;
    16    text-decoration: underline;
    17    text-decoration-style: dashed;
    18  }
    19  .console a:hover { color: var(--color-primary); }
    20  
    21  @keyframes blink-animation {
    22    to {
    23      visibility: hidden;
    24    }
    25  }
    26  
    27  /* ansi_up colors used in actions */
    28  
    29  .ansi-black-fg { color: var(--color-ansi-black); }
    30  .ansi-red-fg { color: var(--color-ansi-red); }
    31  .ansi-green-fg { color: var(--color-ansi-green); }
    32  .ansi-yellow-fg { color: var(--color-ansi-yellow); }
    33  .ansi-blue-fg { color: var(--color-ansi-blue); }
    34  .ansi-magenta-fg { color: var(--color-ansi-magenta); }
    35  .ansi-cyan-fg { color: var(--color-ansi-cyan); }
    36  .ansi-white-fg { color: var(--color-ansi-white); }
    37  
    38  .ansi-bright-black-fg { color: var(--color-ansi-bright-black); }
    39  .ansi-bright-red-fg { color: var(--color-ansi-bright-red); }
    40  .ansi-bright-green-fg { color: var(--color-ansi-bright-green); }
    41  .ansi-bright-yellow-fg { color: var(--color-ansi-bright-yellow); }
    42  .ansi-bright-blue-fg { color: var(--color-ansi-bright-blue); }
    43  .ansi-bright-magenta-fg { color: var(--color-ansi-bright-magenta); }
    44  .ansi-bright-cyan-fg { color: var(--color-ansi-bright-cyan); }
    45  .ansi-bright-white-fg { color: var(--color-ansi-bright-white); }
    46  
    47  .ansi-black-bg { background-color: var(--color-ansi-black); }
    48  .ansi-red-bg { background-color: var(--color-ansi-red); }
    49  .ansi-green-bg { background-color: var(--color-ansi-green); }
    50  .ansi-yellow-bg { background-color: var(--color-ansi-yellow); }
    51  .ansi-blue-bg { background-color: var(--color-ansi-blue); }
    52  .ansi-magenta-bg { background-color: var(--color-ansi-magenta); }
    53  .ansi-cyan-bg { background-color: var(--color-ansi-cyan); }
    54  .ansi-white-bg { background-color: var(--color-ansi-white); }
    55  
    56  .ansi-bright-black-bg { background-color: var(--color-ansi-bright-black); }
    57  .ansi-bright-red-bg { background-color: var(--color-ansi-bright-red); }
    58  .ansi-bright-green-bg { background-color: var(--color-ansi-bright-green); }
    59  .ansi-bright-yellow-bg { background-color: var(--color-ansi-bright-yellow); }
    60  .ansi-bright-blue-bg { background-color: var(--color-ansi-bright-blue); }
    61  .ansi-bright-magenta-bg { background-color: var(--color-ansi-bright-magenta); }
    62  .ansi-bright-cyan-bg { background-color: var(--color-ansi-bright-cyan); }
    63  .ansi-bright-white-bg { background-color: var(--color-ansi-bright-white); }
    64  
    65  /* term colors used in console rendering */
    66  
    67  .term-fg2 { color: var(--color-ansi-bright-black); } /* faint (decreased intensity) - same as gray really */
    68  .term-fg3 { font-style: italic; } /* italic */
    69  .term-fg4 { text-decoration: underline; } /* underline */
    70  .term-fg5 { animation: blink-animation 1s steps(3, start) infinite; } /* blink */
    71  .term-fg9 { text-decoration: line-through; } /* crossed-out */
    72  
    73  .term-fg30 { color: var(--color-ansi-black); } /* black (but we can't use black, so a diff color) */
    74  .term-fg31 { color: var(--color-ansi-red); } /* red */
    75  .term-fg32 { color: var(--color-ansi-green); } /* green */
    76  .term-fg33 { color: var(--color-ansi-yellow); } /* yellow */
    77  .term-fg34 { color: var(--color-ansi-blue); } /* blue */
    78  .term-fg35 { color: var(--color-ansi-magenta); } /* magenta */
    79  .term-fg36 { color: var(--color-ansi-cyan); } /* cyan */
    80  
    81  /* high intense colors */
    82  .term-fgi1 { color: var(--color-ansi-bright-green); }
    83  .term-fgi90 { color: var(--color-ansi-bright-black); } /* grey */
    84  .term-fgi91 { color: var(--color-ansi-bright-red); } /* red */
    85  .term-fgi92 { color: var(--color-ansi-bright-green); } /* green */
    86  .term-fgi93 { color: var(--color-ansi-bright-yellow); } /* yellow */
    87  .term-fgi94 { color: var(--color-ansi-bright-blue); } /* blue */
    88  .term-fgi95 { color: var(--color-ansi-bright-magenta); } /* magenta */
    89  .term-fgi96 { color: var(--color-ansi-bright-cyan); } /* cyan */
    90  
    91  /* background colors */
    92  .term-bg40 { background: var(--color-ansi-bright-black); } /* grey */
    93  .term-bg41 { background: var(--color-ansi-red); } /* red */
    94  .term-bg42 { background: var(--color-ansi-green); } /* green */
    95  
    96  /* custom foreground/background combos for readability */
    97  .term-fg31.term-bg40 { color: var(--color-ansi-bright-red); }
    98  
    99  /* xterm colors */
   100  .term-fgx16 { color: #000000; }
   101  .term-fgx17 { color: #00005f; }
   102  .term-fgx18 { color: #000087; }
   103  .term-fgx19 { color: #0000af; }
   104  .term-fgx20 { color: #0000d7; }
   105  .term-fgx21 { color: #0000ff; }
   106  .term-fgx22 { color: #005f00; }
   107  .term-fgx23 { color: #005f5f; }
   108  .term-fgx24 { color: #005f87; }
   109  .term-fgx25 { color: #005faf; }
   110  .term-fgx26 { color: #005fd7; }
   111  .term-fgx27 { color: #005fff; }
   112  .term-fgx28 { color: #008700; }
   113  .term-fgx29 { color: #00875f; }
   114  .term-fgx30 { color: #008787; }
   115  .term-fgx31 { color: #0087af; }
   116  .term-fgx32 { color: #0087d7; }
   117  .term-fgx33 { color: #0087ff; }
   118  .term-fgx34 { color: #00af00; }
   119  .term-fgx35 { color: #00af5f; }
   120  .term-fgx36 { color: #00af87; }
   121  .term-fgx37 { color: #00afaf; }
   122  .term-fgx38 { color: #00afd7; }
   123  .term-fgx39 { color: #00afff; }
   124  .term-fgx40 { color: #00d700; }
   125  .term-fgx41 { color: #00d75f; }
   126  .term-fgx42 { color: #00d787; }
   127  .term-fgx43 { color: #00d7af; }
   128  .term-fgx44 { color: #00d7d7; }
   129  .term-fgx45 { color: #00d7ff; }
   130  .term-fgx46 { color: #00ff00; }
   131  .term-fgx47 { color: #00ff5f; }
   132  .term-fgx48 { color: #00ff87; }
   133  .term-fgx49 { color: #00ffaf; }
   134  .term-fgx50 { color: #00ffd7; }
   135  .term-fgx51 { color: #00ffff; }
   136  .term-fgx52 { color: #5f0000; }
   137  .term-fgx53 { color: #5f005f; }
   138  .term-fgx54 { color: #5f0087; }
   139  .term-fgx55 { color: #5f00af; }
   140  .term-fgx56 { color: #5f00d7; }
   141  .term-fgx57 { color: #5f00ff; }
   142  .term-fgx58 { color: #5f5f00; }
   143  .term-fgx59 { color: #5f5f5f; }
   144  .term-fgx60 { color: #5f5f87; }
   145  .term-fgx61 { color: #5f5faf; }
   146  .term-fgx62 { color: #5f5fd7; }
   147  .term-fgx63 { color: #5f5fff; }
   148  .term-fgx64 { color: #5f8700; }
   149  .term-fgx65 { color: #5f875f; }
   150  .term-fgx66 { color: #5f8787; }
   151  .term-fgx67 { color: #5f87af; }
   152  .term-fgx68 { color: #5f87d7; }
   153  .term-fgx69 { color: #5f87ff; }
   154  .term-fgx70 { color: #5faf00; }
   155  .term-fgx71 { color: #5faf5f; }
   156  .term-fgx72 { color: #5faf87; }
   157  .term-fgx73 { color: #5fafaf; }
   158  .term-fgx74 { color: #5fafd7; }
   159  .term-fgx75 { color: #5fafff; }
   160  .term-fgx76 { color: #5fd700; }
   161  .term-fgx77 { color: #5fd75f; }
   162  .term-fgx78 { color: #5fd787; }
   163  .term-fgx79 { color: #5fd7af; }
   164  .term-fgx80 { color: #5fd7d7; }
   165  .term-fgx81 { color: #5fd7ff; }
   166  .term-fgx82 { color: #5fff00; }
   167  .term-fgx83 { color: #5fff5f; }
   168  .term-fgx84 { color: #5fff87; }
   169  .term-fgx85 { color: #5fffaf; }
   170  .term-fgx86 { color: #5fffd7; }
   171  .term-fgx87 { color: #5fffff; }
   172  .term-fgx88 { color: #870000; }
   173  .term-fgx89 { color: #87005f; }
   174  .term-fgx90 { color: #870087; }
   175  .term-fgx91 { color: #8700af; }
   176  .term-fgx92 { color: #8700d7; }
   177  .term-fgx93 { color: #8700ff; }
   178  .term-fgx94 { color: #875f00; }
   179  .term-fgx95 { color: #875f5f; }
   180  .term-fgx96 { color: #875f87; }
   181  .term-fgx97 { color: #875faf; }
   182  .term-fgx98 { color: #875fd7; }
   183  .term-fgx99 { color: #875fff; }
   184  .term-fgx100 { color: #878700; }
   185  .term-fgx101 { color: #87875f; }
   186  .term-fgx102 { color: #878787; }
   187  .term-fgx103 { color: #8787af; }
   188  .term-fgx104 { color: #8787d7; }
   189  .term-fgx105 { color: #8787ff; }
   190  .term-fgx106 { color: #87af00; }
   191  .term-fgx107 { color: #87af5f; }
   192  .term-fgx108 { color: #87af87; }
   193  .term-fgx109 { color: #87afaf; }
   194  .term-fgx110 { color: #87afd7; }
   195  .term-fgx111 { color: #87afff; }
   196  .term-fgx112 { color: #87d700; }
   197  .term-fgx113 { color: #87d75f; }
   198  .term-fgx114 { color: #87d787; }
   199  .term-fgx115 { color: #87d7af; }
   200  .term-fgx116 { color: #87d7d7; }
   201  .term-fgx117 { color: #87d7ff; }
   202  .term-fgx118 { color: #87ff00; }
   203  .term-fgx119 { color: #87ff5f; }
   204  .term-fgx120 { color: #87ff87; }
   205  .term-fgx121 { color: #87ffaf; }
   206  .term-fgx122 { color: #87ffd7; }
   207  .term-fgx123 { color: #87ffff; }
   208  .term-fgx124 { color: #af0000; }
   209  .term-fgx125 { color: #af005f; }
   210  .term-fgx126 { color: #af0087; }
   211  .term-fgx127 { color: #af00af; }
   212  .term-fgx128 { color: #af00d7; }
   213  .term-fgx129 { color: #af00ff; }
   214  .term-fgx130 { color: #af5f00; }
   215  .term-fgx131 { color: #af5f5f; }
   216  .term-fgx132 { color: #af5f87; }
   217  .term-fgx133 { color: #af5faf; }
   218  .term-fgx134 { color: #af5fd7; }
   219  .term-fgx135 { color: #af5fff; }
   220  .term-fgx136 { color: #af8700; }
   221  .term-fgx137 { color: #af875f; }
   222  .term-fgx138 { color: #af8787; }
   223  .term-fgx139 { color: #af87af; }
   224  .term-fgx140 { color: #af87d7; }
   225  .term-fgx141 { color: #af87ff; }
   226  .term-fgx142 { color: #afaf00; }
   227  .term-fgx143 { color: #afaf5f; }
   228  .term-fgx144 { color: #afaf87; }
   229  .term-fgx145 { color: #afafaf; }
   230  .term-fgx146 { color: #afafd7; }
   231  .term-fgx147 { color: #afafff; }
   232  .term-fgx148 { color: #afd700; }
   233  .term-fgx149 { color: #afd75f; }
   234  .term-fgx150 { color: #afd787; }
   235  .term-fgx151 { color: #afd7af; }
   236  .term-fgx152 { color: #afd7d7; }
   237  .term-fgx153 { color: #afd7ff; }
   238  .term-fgx154 { color: #afff00; }
   239  .term-fgx155 { color: #afff5f; }
   240  .term-fgx156 { color: #afff87; }
   241  .term-fgx157 { color: #afffaf; }
   242  .term-fgx158 { color: #afffd7; }
   243  .term-fgx159 { color: #afffff; }
   244  .term-fgx160 { color: #d70000; }
   245  .term-fgx161 { color: #d7005f; }
   246  .term-fgx162 { color: #d70087; }
   247  .term-fgx163 { color: #d700af; }
   248  .term-fgx164 { color: #d700d7; }
   249  .term-fgx165 { color: #d700ff; }
   250  .term-fgx166 { color: #d75f00; }
   251  .term-fgx167 { color: #d75f5f; }
   252  .term-fgx168 { color: #d75f87; }
   253  .term-fgx169 { color: #d75faf; }
   254  .term-fgx170 { color: #d75fd7; }
   255  .term-fgx171 { color: #d75fff; }
   256  .term-fgx172 { color: #d78700; }
   257  .term-fgx173 { color: #d7875f; }
   258  .term-fgx174 { color: #d78787; }
   259  .term-fgx175 { color: #d787af; }
   260  .term-fgx176 { color: #d787d7; }
   261  .term-fgx177 { color: #d787ff; }
   262  .term-fgx178 { color: #d7af00; }
   263  .term-fgx179 { color: #d7af5f; }
   264  .term-fgx180 { color: #d7af87; }
   265  .term-fgx181 { color: #d7afaf; }
   266  .term-fgx182 { color: #d7afd7; }
   267  .term-fgx183 { color: #d7afff; }
   268  .term-fgx184 { color: #d7d700; }
   269  .term-fgx185 { color: #d7d75f; }
   270  .term-fgx186 { color: #d7d787; }
   271  .term-fgx187 { color: #d7d7af; }
   272  .term-fgx188 { color: #d7d7d7; }
   273  .term-fgx189 { color: #d7d7ff; }
   274  .term-fgx190 { color: #d7ff00; }
   275  .term-fgx191 { color: #d7ff5f; }
   276  .term-fgx192 { color: #d7ff87; }
   277  .term-fgx193 { color: #d7ffaf; }
   278  .term-fgx194 { color: #d7ffd7; }
   279  .term-fgx195 { color: #d7ffff; }
   280  .term-fgx196 { color: #ff0000; }
   281  .term-fgx197 { color: #ff005f; }
   282  .term-fgx198 { color: #ff0087; }
   283  .term-fgx199 { color: #ff00af; }
   284  .term-fgx200 { color: #ff00d7; }
   285  .term-fgx201 { color: #ff00ff; }
   286  .term-fgx202 { color: #ff5f00; }
   287  .term-fgx203 { color: #ff5f5f; }
   288  .term-fgx204 { color: #ff5f87; }
   289  .term-fgx205 { color: #ff5faf; }
   290  .term-fgx206 { color: #ff5fd7; }
   291  .term-fgx207 { color: #ff5fff; }
   292  .term-fgx208 { color: #ff8700; }
   293  .term-fgx209 { color: #ff875f; }
   294  .term-fgx210 { color: #ff8787; }
   295  .term-fgx211 { color: #ff87af; }
   296  .term-fgx212 { color: #ff87d7; }
   297  .term-fgx213 { color: #ff87ff; }
   298  .term-fgx214 { color: #ffaf00; }
   299  .term-fgx215 { color: #ffaf5f; }
   300  .term-fgx216 { color: #ffaf87; }
   301  .term-fgx217 { color: #ffafaf; }
   302  .term-fgx218 { color: #ffafd7; }
   303  .term-fgx219 { color: #ffafff; }
   304  .term-fgx220 { color: #ffd700; }
   305  .term-fgx221 { color: #ffd75f; }
   306  .term-fgx222 { color: #ffd787; }
   307  .term-fgx223 { color: #ffd7af; }
   308  .term-fgx224 { color: #ffd7d7; }
   309  .term-fgx225 { color: #ffd7ff; }
   310  .term-fgx226 { color: #ffff00; }
   311  .term-fgx227 { color: #ffff5f; }
   312  .term-fgx228 { color: #ffff87; }
   313  .term-fgx229 { color: #ffffaf; }
   314  .term-fgx230 { color: #ffffd7; }
   315  .term-fgx231 { color: #ffffff; }
   316  .term-fgx232 { color: #080808; }
   317  .term-fgx233 { color: #121212; }
   318  .term-fgx234 { color: #1c1c1c; }
   319  .term-fgx235 { color: #262626; }
   320  .term-fgx236 { color: #303030; }
   321  .term-fgx237 { color: #3a3a3a; }
   322  .term-fgx238 { color: #444444; }
   323  .term-fgx239 { color: #4e4e4e; }
   324  .term-fgx240 { color: #585858; }
   325  .term-fgx241 { color: #626262; }
   326  .term-fgx242 { color: #6c6c6c; }
   327  .term-fgx243 { color: #767676; }
   328  .term-fgx244 { color: #808080; }
   329  .term-fgx245 { color: #8a8a8a; }
   330  .term-fgx246 { color: #949494; }
   331  .term-fgx247 { color: #9e9e9e; }
   332  .term-fgx248 { color: #a8a8a8; }
   333  .term-fgx249 { color: #b2b2b2; }
   334  .term-fgx250 { color: #bcbcbc; }
   335  .term-fgx251 { color: #c6c6c6; }
   336  .term-fgx252 { color: #d0d0d0; }
   337  .term-fgx253 { color: #dadada; }
   338  .term-fgx254 { color: #e4e4e4; }
   339  .term-fgx255 { color: #eeeeee; }