/* 
    filebrowser-css - a custom stylesheet for filebrowser
    that adds colors and changes some icons
    https://github.com/jniggemann/filebrowser-css

    Copyright (C) 2021-2022 Jan Niggemann
        With kind contributions of
        * Richard Asplin (https://github.com/richneptune)

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

*/


/* remove a bit of padding from the file list entries */
#listing.list .item {
    padding: 0.7em;
}

/* make folders yellow-ish */
#listing .item[data-dir=true] div i {
    color: #ffc84b;
}

/* packed files - colorize and change icon */
#listing .item[aria-label$=".7z"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".7z"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".7z"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".arj"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".arj"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".arj"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".zip"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".zip"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".zip"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".gz"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".gz"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".gz"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".tar"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".tar"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".tar"] .material-icons::before {
    content: "archive";
    visibility: visible;
}


#listing .item[aria-label$=".bz"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".bz"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".bz"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".bz2"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".bz2"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".bz2"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".xz"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".xz"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".xz"] .material-icons::before {
    content: "archive";
    visibility: visible;
}

#listing .item[aria-label$=".tbz"] div i {
    color: #a268a1;
}
#listing .item[aria-label$=".tbz"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".tbz"] .material-icons::before {
    content: "archive";
    visibility: visible;
}


/* office files */
/* PDF - colorize and change icon /*
/* Note: This is yellow because I use SumatraPDF */
#listing .item[aria-label$=".pdf"] div i {
    color: #FFEE00;
}
#listing .item[aria-label$=".pdf"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".pdf"] .material-icons::before {
    content: "picture_as_pdf";
    visibility: visible;
}

/* word processors - colorize and change icon */
/* Word */
#listing .item[aria-label$=".doc"] div i {
    color: #185ABD;
}
#listing .item[aria-label$=".doc"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".doc"] .material-icons::before {
    content: "description";
    visibility: visible;
}

#listing .item[aria-label$=".docx"] div i {
    color: #185ABD;
}
#listing .item[aria-label$=".docx"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".docx"] .material-icons::before {
    content: "description";
    visibility: visible;
}

/* OpenOffice Writer */
#listing .item[aria-label$=".odt"] div i {
    color: #185ABD;
}
#listing .item[aria-label$=".odt"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".odt"] .material-icons::before {
    content: "description";
    visibility: visible;
}

/* LibreOffice Writer */
#listing .item[aria-label$=".sxw"] div i {
    color: #185ABD;
}
#listing .item[aria-label$=".sxw"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".sxw"] .material-icons::before {
    content: "description";
    visibility: visible;
}


/* PowerPoint */
#listing .item[aria-label$=".ppt"] div i {
    color: #D35230;
}
#listing .item[aria-label$=".pptx"] div i {
    color: #D35230;
}
#listing .item[aria-label$=".pps"] div i {
    color: #D35230;
}
/* OpenOffice Impress */
#listing .item[aria-label$=".odp"] div i {
    color: #D35230;
}


/* Excel */
#listing .item[aria-label$=".xls"] div i {
    color: #107C41;
}
#listing .item[aria-label$=".xlsx"] div i {
    color: #107C41;
}
#listing .item[aria-label$=".ods"] div i {
    color: #107C41;
}
#listing .item[aria-label$=".sxc"] div i {
    color: #107C41;
}
#listing .item[aria-label$=".wri"] div i {
    color: #336eff;
}


/* sound files - colorize */
#listing .item[data-type=audio] div i {
    color: #F47900;
}

/* video files - colorize */
#listing .item[data-type=video] div i {
    color: #F47900;
}

/* text files - change icon*/
#listing .item[aria-label$=".txt"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".txt"] .material-icons::before {
    content: "description";
    visibility: visible;
}
#listing .item[aria-label$=".md"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".md"] .material-icons::before {
    content: "description";
    visibility: visible;
}

/* various other files*/
/* iCal - change icon*/
#listing .item[aria-label$=".ics"] .material-icons {
    visibility: hidden;
}
#listing .item[aria-label$=".ics"] .material-icons::before {
    content: "event";
    visibility: visible;
}



import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

#login form {
    font-family: 'Poppins', sans-serif;
}

#login form h1 {
    margin: 0.8em 0 0.8em;
    font-weight: 400;
}

/** Posibility of other image in login screen **/
/* #login form img {
    content: url("./img/isotipo.svg");
    width: 10em;
    height: auto;
} */
:root {
    --background: #1f2330;
    --surfacePrimary: #1f2330;
    --surfaceSecondary: #292d3e;
    --surfaceHover: #383d51;
    --surfaceSelect: #4c5374;
    --divider: #1f2330;
    --icon: #8eb2ff;
    --textPrimary: #dee0ee;
    --textSecondary: #929ac9;
    --radius: 0.7rem;
    --blue: #8eb2ff;
    --dark-blue: rgba(56, 71, 102, 0.5);
    --red: #ef5350;
    --dark-red: rgba(239, 83, 80, 0.15);
    --grey: #6c739a;
    --dark-grey: rgba(108, 115, 154, 0.15);
    --moon-grey: #f2f2f2;
}



/* Base styles from https://github.com/yurividal/filebrowserdarktheme */

.share__box__info {
    padding: 2em 3em;
    background-color: var(--surfaceSecondary);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.share__box__download {
    width: 100%;
    padding: 1em;
    cursor: pointer;
    background: #2c313c;
    color: white;
    font-size: 1.3em;
}

.share__box__title {
    word-wrap: break-word;
}

h1.share__box__title {
    font-size: 1.2em;
}

.card#share ul li input,
.card#share ul li select {
    padding: 0.2em;
    margin-right: 0.5em;
    border: 1px solid #21252b;
    background-color: var(--background);
    color: white;
}

.share__box {
    background: var(--background);
    -webkit-box-shadow: none;
    box-shadow: none;
}

h1 {
    font-size: 1.5em;
    margin: 0.67em 0;
}

#listing .item .name {
    font-weight: 100;
}

.message {
    color: white;
}



/* ############### MAIN THEME ############### */

body {
    background: var(--background);
    color: var(--textPrimary);
}

/* Remove highlight when clicking on mobile */
#listing .item,
.action,
#search.active #result ul li a,
#search .boxes>div>div,
.button,
.file-list li,
.dashboard .card-content.full .small a,
#nav .wrapper a,
.breadcrumbs a,
i.material-icons {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.material-icons {
    color: var(--icon);
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Mosaic view style */
#listing.mosaic .item {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background-color: var(--surfaceSecondary);
    border-radius: var(--radius) !important;
}

#listing.mosaic .item:hover,
#listing.list .item:not(.header):hover {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background-color: var(--surfaceHover);
}

#listing .item[aria-selected="true"] {
    background: var(--surfaceSelect) !important;
    color: var(--textPrimary) !important;
}

#listing h2:nth-of-type(2) {
    padding-top: 0.5em;
}

/* List view style */
#listing.list .item.header {
    border-bottom: none;
}

#listing.list .item {
    border: none;
    border-radius: var(--radius);
}

#listing .item img {
    border-radius: var(--radius);
}

/* Breadcrumb style */
.breadcrumbs {
    border-bottom: none;
    margin-top: 1em;
}

.breadcrumbs span a {
    padding: 0.4em 0.6em;
}

.breadcrumbs a {
    padding: 0.1em 0.6em;
    border-radius: var(--radius);
}

.breadcrumbs a:hover,
.breadcrumbs span a:hover {
    background-color: var(--surfaceHover);
}


/* Header style */
header {
    border-bottom: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0.5em 0 0.5em 0;
    margin: 0 1em 0 1em;
    width: -o-calc(100% - 2em);
    width: calc(100% - 2em);
}

#search #input {
    border-radius: var(--radius);
}

.action .counter {
    border-radius: 0.4rem;
    border-color: var(--blue);
    color: var(--textPrimary);
    background-color: var(--surfacePrimary);
}

@media (max-width: 736px) {
    #dropdown {
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: var(--surfacePrimary) !important;
        border-radius: var(--radius);
        padding: 1em;
    }

    header .overlay {
        background-color: rgba(0, 0, 0, 0.3);
    }

    #dropdown .action span:not(.counter) {
        padding: 0.5em 0.6em 0.4em 0;
    }
}


/* Sidebar style */
nav {
    height: 100%;
    padding: 1em;
}

nav .action:hover {
    background-color: var(--surfaceHover);
}

nav>div {
    border: none;
    margin-top: 1em;
}

@media (max-width: 1024px) {
    nav {
        width: 11em;
    }
}

@media (max-width: 736px) {
    nav {
        border-radius: var(--radius);
        -webkit-box-shadow: none;
        box-shadow: none;
        margin: 1em;
        height: calc(100% - 2em);
        width: 16em;
    }

    nav.active {
        margin: 1em;
        border-radius: var(--radius);
        height: calc(100% - 2em);
    }
}

nav .action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.credits {
    color: var(--textSecondary);
}


/* Card style */
.card {
    border-radius: var(--radius);
    background-color: var(--surfaceSecondary);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.card li {
    margin-top: 0.5em;
}

.card .card-action.full .action {
    padding: 2em;
    border: none;
    margin: 0;
}

.card .card-action.full .action:hover {
    background-color: var(--surfaceHover);
}

.card>div:last-child {
    padding-bottom: 1em;
}

.card .card-action.full {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.card .card-action.full .action {
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
}


/* Button style */
.button {
    background: transparent;
    -webkit-box-shadow: 0 0 0 2px var(--blue);
    box-shadow: 0 0 0 2px var(--blue);
    border: none;
    padding: 0.6em 1em 0.5em 1em;
    color: var(--textPrimary);
}

.button:hover {
    -webkit-box-shadow: 0 0 0 2px var(--blue);
    box-shadow: 0 0 0 2px var(--blue);
    background-color: var(--blue);
    color: var(--surfacePrimary);
}

.button--flat {
    color: var(--blue);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.button--flat:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: var(--dark-blue);
    color: var(--blue);
}

.button--flat:disabled,
.button--flat[disabled] {
    color: var(--grey);
    background-color: transparent;
}

.button,
.button--flat {
    border-radius: var(--radius);
}

.button--flat.button--grey {
    color: var(--grey);
}

.button--flat.button--grey:hover {
    background-color: var(--dark-grey);
}

.button--flat.button--red {
    color: var(--red);
}

.button--flat.button--red:hover {
    background-color: var(--dark-red);
}


/* Action button style */
.action {
    border-radius: var(--radius) !important;
}

.action:hover {
    background-color: rgba(142, 178, 255, 0.15) !important;
}


/* Input style */
input,
.input {
    background-color: var(--surfaceHover);
    border: none;
    border-radius: var(--radius);
}

input:focus,
.input:focus {
    border-color: transparent;
    -webkit-box-shadow: 0 0 0 2px #5f6373;
    box-shadow: 0 0 0 2px #5f6373;
}

#search #input input:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.input--green {
    border-color: transparent;
    -webkit-box-shadow: 0 0 0 2px #147A41;
    box-shadow: 0 0 0 2px #147A41;
}

.input--green:focus {
    -webkit-box-shadow: 0 0 0 2px #84c77d;
    box-shadow: 0 0 0 2px #84c77d;
}


/* Multiple selection style */
#listing #multiple-selection {
    background-color: #2B354B;
    border-radius: var(--radius);
    margin: 0 1em 1em 1em;
    padding: 0.5em 0.7em 0.5em 1em;
    width: -o-calc(100% - 2em);
    width: calc(100% - 2em);
    bottom: -6em;
    height: auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#listing #multiple-selection p {
    color: var(--blue);
}


/* Shell style */
.shell {
    background-color: #30364c;
    border-radius: var(--radius);
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0 1em 1em 1em;
    width: -o-calc(100% - 2em);
    width: calc(100% - 2em);
}

.shell__result {
    border-top: none;
    word-break: break-all;
}


/* File selection style */
@media (max-width: 736px) {
    #file-selection {
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: #30364C !important;
        border-radius: var(--radius);
        padding: 0.5em 1em;
        max-width: 22em;
    }

    #file-selection:empty {
        display: none;
    }
}


/* Move file menu style */
.file-list {
    padding: 0 1em 0 0;
}

.file-list li {
    border-radius: var(--radius);
    padding: 0.5em 1em;
}

.file-list li:hover {
    background: var(--surfaceHover) !important;
}

.file-list li:before {
    color: var(--icon);
}

.file-list li[aria-selected=true] {
    background: var(--surfaceSelect) !important;
}


/* File preview style */
#previewer {
    background-color: rgba(8, 9, 12, 0.9);
}

@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    #previewer {
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        background-color: rgba(8, 9, 12, 0.8) !important;
    }
}

#previewer>button {
    background-color: rgba(142, 178, 255, 0.15);
    border-radius: var(--radius);
}

#previewer>button[aria-label="Previous"],
#previewer>button[aria-label="Anterior"] {
    margin-left: 0.5em;
}

#previewer>button[aria-label="Next"],
#previewer>button[aria-label="Siguiente"] {
    margin-right: 0.5em;
}

#previewer .preview .info .button:hover {
    background-color: rgba(142, 178, 255, 0.15);
}

#previewer .preview .info .title i {
    margin-bottom: 0.2em;
}

#previewer .preview .info div.title {
    color: var(--icon);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#previewer .preview .info div:last-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#previewer .preview .info .button {
    display: block;
    width: 50%;
}

@media (max-width: 736px) {
    #previewer .preview .info div:last-child {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #previewer .preview .info .button {
        width: 100%;
    }
}

#previewer .preview .info div .button div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}


/* Search style */
#search .boxes {
    border-radius: var(--radius);
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 1em 0;
    padding: 1em;
}

#search .boxes>div>div {
    background-color: var(--surfaceSecondary);
    border-radius: var(--radius);
    width: 25%;
    padding: 1em;
    margin: 0;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    color: var(--textPrimary);
}

@media (max-width: 736px) {
    #search .boxes>div>div {
        width: 50%;
    }
}

#search .boxes>div>div:hover {
    background-color: var(--surfaceHover);
}

#search .boxes>div {
    margin: 0;
}

#search.active #input {
    border-bottom: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#search.active input {
    padding-left: 1em;
}

#result p:nth-child(1) {
    display: none;
}

#search #input,
#search.active #input,
#search.active input {
    border-radius: var(--radius);
}

#search #input>.action {
    margin-right: 1em;
}

#search.active #input {
    padding: 0 1em;
}

#search.active input {
    background-color: var(--surfaceSecondary);
    padding: 1em;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

#search.active input:focus {
    -webkit-box-shadow: 0 0 0 2px #5f6373 !important;
    box-shadow: 0 0 0 2px #5f6373 !important;
}

#dropdown .action:hover {
    background-color: var(--surfaceHover);
}

#search.active #result {
    padding: 1em;
}

#search.active #result ul li a {
    border-radius: var(--radius);
    padding: 1em;
}

#search.active #result ul li a:hover {
    background-color: var(--surfaceHover);
}

#search.active #result ul li a span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


/* Editor style */
.ace_gutter-cell {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 19px;
    padding-right: 6px;
    background-color: var(--surfacePrimary);
    background-repeat: no-repeat;
}


/* Settings style */
.dashboard #nav ul li {
    border-radius: var(--radius);
    border-bottom: none;
}

.dashboard #nav ul li:hover {
    background-color: rgba(146, 154, 201, 0.1);
}

.dashboard #nav ul li.active {
    border-color: transparent;
    color: var(--textPrimary);
    background-color: var(--surfaceSelect);
    border-radius: var(--radius);
}

.dashboard #nav ul li.active:before {
    content: inherit;
}

.dashboard #nav .wrapper {
    border-bottom: none;
}

.card .collapsible {
    width: auto;
    margin: 0;
    border-radius: var(--radius);
}

.card .collapsible:hover {
    background-color: rgba(142, 178, 255, 0.15) !important;
}

.collapsible {
    border-top: none;
}

.rules input {
    background-color: var(--surfacePrimary);
    border: none !important;
    border-radius: var(--radius);
    padding: 0.4rem !important;
}

table tr {
    border-bottom: none;
}

.message {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.message span {
    color: var(--icon);
}

.dashboard .card-content.full .small a i {
    padding: 0.5em;
    border-radius: var(--radius);
}

.dashboard .card-content.full .small a i:hover {
    background: var(--dark-blue);
}

.card .card-content.full {
    padding-bottom: 0.5em;
}


/* Notification style */
.noty_theme__mint.noty_type__success,
.noty_theme__mint.noty_type__error {
    border-radius: var(--radius);
}


/* Placeholder style */
::-webkit-input-placeholder {
    color: var(--grey);
}

::-moz-placeholder {
    color: var(--grey);
}

:-ms-input-placeholder {
    color: var(--grey);
}

::-ms-input-placeholder {
    color: var(--grey);
}

::placeholder {
    color: var(--grey);
}


/* Login style */
#login form {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 20em;
    width: 90%;
    background-color: var(--surfaceSecondary);
    padding: 2em;
    border-radius: var(--radius);
}

#login h1 {
    text-align: center;
    font-size: 1.5em;
    margin: 0.4em 0 0.67em;
    word-spacing: 100vw;
}

#login form .button {
    margin-top: 2em;
}

#login .wrong {
    border-radius: var(--radius);
    background: var(--dark-red);
    color: var(--red);
    margin-bottom: 0.5em;
}

/* ############### END MAIN THEME ############### */



/* ############### EDITOR THEME ############### */

/* Default twilight replaced with modified one-dark */
/* https://github.com/ajaxorg/ace/blob/master/lib/ace/theme/one_dark.css */
:root {
    --editor-white: #fff;
    --editor-darkwhite: #e8e8e8;
    /* Darker background */
    --editor-black: #171a24;
    --editor-brown: #747369;
    --editor-grey-1: #abb2bf;
    --editor-grey-2: #6a6f7a;
    --editor-grey-3: #5c6370;
    --editor-grey-4: #3d4350;
    --editor-grey-5: rgba(76, 87, 103, .19);
    --editor-grey-6: #282c34;
    --editor-grey-7: #272b33;
    --editor-nordgrey: rgba(67, 76, 94, 0.7);
    --editor-lightred: #f2777a;
    --editor-red: #e06c75;
    --editor-lightorange: #e5c07b;
    --editor-orange: #d19a66;
    --editor-darkorange: #d27b53;
    --editor-yellow: #c6dbae;
    --editor-green: #98c379;
    --editor-lightblue: #61afef;
    --editor-blue: #528bff;
    --editor-teal: #56b6c2;
    --editor-lightpink: #ffc0cb;
    --editor-pink: #c678dd;
}

.ace-twilight .ace_gutter {
    background: var(--editor-grey-6);
    color: var(--editor-grey-2);
}

.ace-twilight .ace_print-margin {
    width: 1px;
    background: var(--editor-darkwhite);
}

.ace-twilight {
    background-color: var(--editor-black);
    color: var(--editor-grey-1);
}

.ace-twilight .ace_cursor {
    color: var(--editor-blue);
}

.ace-twilight .ace_marker-layer .ace_selection {
    background: var(--editor-grey-4);
}

.ace-twilight.ace_multiselect .ace_selection.ace_start {
    -webkit-box-shadow: 0 0 3px 0 var(--editor-grey-6);
    box-shadow: 0 0 3px 0 var(--editor-grey-6);
    border-radius: 2px;
}

.ace-twilight .ace_marker-layer .ace_step {
    background: var(--editor-yellow);
}

.ace-twilight .ace_marker-layer .ace_bracket {
    margin: -1px 0 0 -1px;
    border: 1px solid var(--editor-brown);
}

.ace-twilight .ace_marker-layer .ace_active-line {
    background: var(--editor-grey-5);
}

.ace-twilight .ace_gutter-active-line {
    background-color: var(--editor-grey-5);
}

.ace-twilight .ace_marker-layer .ace_selected-word {
    border: 1px solid var(--editor-grey-4);
}

.ace-twilight .ace_fold {
    background-color: var(--editor-lightblue);
    border-color: var(--editor-grey-1);
}

.ace-twilight .ace_keyword {
    color: var(--editor-pink);
}

.ace-twilight .ace_keyword.ace_operator {
    color: var(--editor-pink);
}

.ace-twilight .ace_keyword.ace_other.ace_unit {
    color: var(--editor-orange);
}

.ace-twilight .ace_constant.ace_language {
    color: var(--editor-orange);
}

.ace-twilight .ace_constant.ace_numeric {
    color: var(--editor-orange);
}

.ace-twilight .ace_constant.ace_character {
    color: var(--editor-teal);
}

.ace-twilight .ace_constant.ace_other {
    color: var(--editor-teal);
}

.ace-twilight .ace_support.ace_function {
    color: var(--editor-lightblue);
}

.ace-twilight .ace_support.ace_constant {
    color: var(--editor-orange);
}

.ace-twilight .ace_support.ace_class {
    color: var(--editor-lightorange);
}

.ace-twilight .ace_support.ace_type {
    color: var(--editor-lightorange);
}

.ace-twilight .ace_storage {
    color: var(--editor-pink);
}

.ace-twilight .ace_storage.ace_type {
    color: var(--editor-pink);
}

.ace-twilight .ace_invalid {
    color: var(--editor-white);
    background-color: var(--editor-lightred);
}

.ace-twilight .ace_invalid.ace_deprecated {
    color: var(--editor-grey-7);
    background-color: var(--editor-darkorange);
}

.ace-twilight .ace_string {
    color: var(--editor-green);
}

.ace-twilight .ace_string.ace_regexp {
    color: var(--editor-red);
}

.ace-twilight .ace_comment {
    font-style: italic;
    color: var(--editor-grey-3);
}

.ace-twilight .ace_variable {
    color: var(--editor-red);
}

.ace-twilight .ace_variable.ace_parameter {
    color: var(--editor-orange);
}

.ace-twilight .ace_meta.ace_tag {
    color: var(--editor-red);
}

.ace-twilight .ace_entity.ace_other.ace_attribute-name {
    color: var(--editor-red);
}

.ace-twilight .ace_entity.ace_name.ace_function {
    color: var(--editor-lightblue);
}

.ace-twilight .ace_entity.ace_name.ace_tag {
    color: var(--editor-red);
}

.ace-twilight .ace_markup.ace_heading {
    color: var(--editor-green);
}

.ace-twilight .ace_indent-guide {
    background: none;
    -webkit-box-shadow: inset -1px 0 0 0 var(--editor-nordgrey);
    box-shadow: inset -1px 0 0 0 var(--editor-nordgrey);
}

/* ############### END EDITOR THEME ############### */
