@@ -373,7 +373,7 @@ ul.frames .icon.application:before {
373373 * Monospace
374374 * --------------------------------------------------------------------- */
375375
376- pre , code , .be-repl input , .be-repl .command-line span , textarea , .code_linenums , .title .name ,
376+ pre , code , .be-repl . command-line input , .be-repl .command-line . prompt , . be-repl . output . command , textarea , .code_linenums , .title .name ,
377377ul .frames li .method {
378378 font-family : menlo, lucida console, monospace;
379379}
@@ -436,7 +436,6 @@ ul.frames li .method {
436436
437437.code , .be-console , .unavailable {
438438 background : # fff ;
439- padding : 5px ;
440439}
441440
442441.code_linenums {
@@ -506,35 +505,65 @@ p.unavailable:before {
506505 animation : highlight 400ms linear 1 ;
507506}
508507
508+ h3 {
509+ background-color : # 38a ;
510+ color : white;
511+ padding : 4px ;
512+ font-size : 8pt ;
513+ margin-top : 1rem ;
514+
515+ -webkit-font-smoothing : antialiased;
516+ }
517+
509518/* REPL shell */
510519.be-console {
511- padding : 0 1px 10px 1px ;
512- border-bottom-left-radius : 2px ;
513- border-bottom-right-radius : 2px ;
514520}
515521
516- .be-console pre {
517- padding : 10px 10px 0 10px ;
518- max-height : 400px ;
522+ .be-console .output {
523+ max-height : 15rem ;
519524 overflow-x : none;
520525 overflow-y : auto;
521- margin-bottom : -3px ;
526+
527+ padding : 8px ;
528+ margin-bottom : 8px ;
529+ border-bottom : 1px solid # ccc ;
530+ }
531+ .be-console .output : not (.used ) {
532+ padding-bottom : 0 ;
533+ border-bottom : 0 ;
534+ margin-bottom : 0 ;
535+ }
536+ @media screen and (min-height : 800px ) {
537+ .be-console .output {
538+ max-height : 25rem ;
539+ }
540+ }
541+
542+ .be-console .output pre , .be-console .output h4 {
543+ font-size : 9pt ;
522544 word-wrap : break-word;
523545 white-space : pre-wrap;
546+ width : 100% ;
547+ }
548+ .be-console .output h4 {
549+ background-color : # ddd ;
550+ padding : 5px 0 ;
551+ margin-top : 10px ;
524552}
525553
526554/* .command-line > span + input */
527555.be-console .command-line {
528556 display : table;
529- width : 100% ;
530557}
531558
532- .be-console .command-line span ,
559+ .be-console .command-line . prompt ,
533560.be-console .command-line input {
534561 display : table-cell;
562+ line-height : 12px ;
563+ font-size : 9pt ;
535564}
536565
537- .be-console .command-line span {
566+ .be-console .command-line . prompt {
538567 width : 1% ;
539568 padding-right : 5px ;
540569 padding-left : 10px ;
@@ -563,26 +592,10 @@ p.unavailable:before {
563592 padding-left : 20px ;
564593}
565594
566- .hint : before {
567- content : '\25b2' ;
568- margin-right : 5px ;
569- opacity : 0.5 ;
570- }
571-
572595/* ---------------------------------------------------------------------
573596 * Variable infos
574597 * --------------------------------------------------------------------- */
575598
576- .variables h3 {
577- background-color : # 38a ;
578- color : white;
579- padding : 4px ;
580- font-size : 8pt ;
581- margin-top : 1rem ;
582-
583- -webkit-font-smoothing : antialiased;
584- }
585-
586599.variables h4 {
587600 margin-top : 5px ;
588601 padding-left : 5px ;
@@ -646,3 +659,34 @@ nav.sidebar:hover::-webkit-scrollbar-thumb {
646659.code : hover ::-webkit-scrollbar-thumb {
647660 background : # 888 ;
648661}
662+
663+ .bold {
664+ font-weight : bold;
665+ }
666+ .black {
667+ color : black;
668+ }
669+ .red {
670+ color : red;
671+ }
672+ .green {
673+ color : green;
674+ }
675+ .yellow {
676+ color : yellow;
677+ }
678+ .blue {
679+ color : blue;
680+ }
681+ .magenta {
682+ color : magenta;
683+ }
684+ .cyan {
685+ color : cyan;
686+ }
687+ .white {
688+ color : white;
689+ }
690+ .green {
691+ color : green;
692+ }
0 commit comments