﻿:root {
    /* Base */

    --ck-color-base-background: #01171b;
    --ck-color-base-foreground: rgba(255, 255, 255, 0.05);
    --ck-color-base-border: rgba(255, 255, 255, 0.10);

    --ck-color-text: #fbf9f9;
    --ck-color-shadow-drop: rgba(0, 0, 0, 0.25);
    --ck-color-shadow-inner: rgba(0, 0, 0, 0.10);


    /* Custom */

    --ck-custom-background: #01171b;
    --ck-custom-background-light: rgba(255, 255, 255, 0.05);
    --ck-custom-background-dark: #001015;

    --ck-custom-border: rgba(255, 255, 255, 0.10);
    --ck-custom-border-focus: #008eb6;

    --ck-custom-primary: #008eb6;
    --ck-custom-primary-dark: #00556a;

    --ck-custom-white: #fbf9f9;
    --ck-custom-muted: #8f979d;


    /* Focus */

    --ck-color-focus-border: #008eb6;
    --ck-color-focus-outer-shadow: rgba(0, 142, 182, 0.10);


    /* Buttons */

    --ck-color-button-default-background: transparent;
    --ck-color-button-default-hover-background: rgba(255, 255, 255, 0.05);
    --ck-color-button-default-active-background: rgba(0, 142, 182, 0.14);
    --ck-color-button-default-active-shadow: none;
    --ck-color-button-default-disabled-background: transparent;

    --ck-color-button-on-background: rgba(0, 142, 182, 0.14);
    --ck-color-button-on-hover-background: rgba(0, 142, 182, 0.20);
    --ck-color-button-on-active-background: rgba(0, 142, 182, 0.24);
    --ck-color-button-on-active-shadow: none;
    --ck-color-button-on-disabled-background: rgba(255, 255, 255, 0.03);

    --ck-color-button-action-background: #008eb6;
    --ck-color-button-action-hover-background: #00556a;
    --ck-color-button-action-active-background: #00556a;
    --ck-color-button-action-active-shadow: none;
    --ck-color-button-action-disabled-background: #00556a;
    --ck-color-button-action-text: #fbf9f9;

    --ck-color-button-save: #0cc32e;
    --ck-color-button-cancel: #ff617d;


    /* Dropdown */

    --ck-color-dropdown-panel-background: #0e1b22;
    --ck-color-dropdown-panel-border: rgba(255, 255, 255, 0.10);


    /* Dialog */

    --ck-color-dialog-background: #0e1b22;
    --ck-color-dialog-form-header-border: rgba(255, 255, 255, 0.10);


    /* Split button */

    --ck-color-split-button-hover-background: rgba(255, 255, 255, 0.05);
    --ck-color-split-button-hover-border: rgba(0, 142, 182, 0.35);


    /* Inputs */

    --ck-color-input-background: #001015;
    --ck-color-input-border: rgba(255, 255, 255, 0.12);
    --ck-color-input-text: #fbf9f9;

    --ck-color-input-disabled-background: rgba(255, 255, 255, 0.03);
    --ck-color-input-disabled-border: rgba(255, 255, 255, 0.06);
    --ck-color-input-disabled-text: #6e7574;


    /* Labeled field */

    --ck-color-labeled-field-label-background: #0e1b22;


    /* Lists */

    --ck-color-list-background: #0e1b22;
    --ck-color-list-button-hover-background: rgba(255, 255, 255, 0.05);
    --ck-color-list-button-on-background: #00556a;
    --ck-color-list-button-on-background-focus: #008eb6;
    --ck-color-list-button-on-text: #fbf9f9;


    /* Panels */

    --ck-color-panel-background: #0e1b22;
    --ck-color-panel-border: rgba(255, 255, 255, 0.10);


    /* Toolbar */

    --ck-color-toolbar-background: rgba(255, 255, 255, 0.03);
    --ck-color-toolbar-border: rgba(255, 255, 255, 0.10);


    /* Tooltip */

    --ck-color-tooltip-background: #001015;
    --ck-color-tooltip-text: #fbf9f9;


    /* Images */

    --ck-color-image-caption-background: #0e1b22;
    --ck-color-image-caption-text: #fbf9f9;


    /* Widgets */

    --ck-color-widget-blurred-border: rgba(255, 255, 255, 0.15);
    --ck-color-widget-hover-border: #008eb6;
    --ck-color-widget-editable-focus-background: #01171b;


    /* Links */

    --ck-color-link-default: #2bb8df;
}


/* ============================================================
   Editor
============================================================ */

.ck.ck-editor {
    color: #fbf9f9;
}


/* Toolbar */

.ck.ck-toolbar {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}


/* Toolbar separator */

.ck.ck-toolbar .ck-toolbar__separator {
    background: rgba(255, 255, 255, 0.08);
}


/* Toolbar buttons */

.ck.ck-button:not(.ck-disabled):hover,
a.ck.ck-button:not(.ck-disabled):hover {
    background: rgba(255, 255, 255, 0.05);
}

.ck.ck-button.ck-on,
a.ck.ck-button.ck-on {
    background: rgba(0, 142, 182, 0.14);
    color: #fbf9f9;
}


/* Editor content */

.ck.ck-editor__main > .ck-editor__editable {
    background: #01171b;
    border-color: rgba(255, 255, 255, 0.10) !important;
    color: #fbf9f9;
}


/* Focus */

.ck.ck-editor__editable.ck-focused {
    border-color: #008eb6 !important;
    box-shadow: 0 0 0 1px rgba(0, 142, 182, 0.20) !important;
}


/* Placeholder */

.ck.ck-editor__editable .ck-placeholder::before,
.ck.ck-editor__editable.ck-placeholder::before {
    color: #6e7574;
}


/* Dropdowns */

.ck.ck-dropdown__panel {
    background: #0e1b22;
    border-color: rgba(255, 255, 255, 0.10);
}


/* Lists */

.ck.ck-list__item > .ck-button:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ck.ck-list__item > .ck-button.ck-on {
    background: #00556a;
}


/* Inputs */

.ck.ck-input {
    background: #001015 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fbf9f9 !important;
}

.ck.ck-input:focus {
    border-color: #008eb6 !important;
    box-shadow: 0 0 0 1px rgba(0, 142, 182, 0.20) !important;
}


/* Balloon */

.ck.ck-balloon-panel {
    background: #0e1b22;
    border-color: rgba(255, 255, 255, 0.10);
}


/* Tooltip */

.ck.ck-tooltip .ck-tooltip__text {
    background: #001015;
    color: #fbf9f9;
}


/* Source editing */

.ck-source-editing-area textarea {
    background-color: #01171b !important;
    color: #fbf9f9 !important;
}


/* Editor scrollbar */

.ck.ck-editor__editable::-webkit-scrollbar {
    width: 5px;
}

.ck.ck-editor__editable::-webkit-scrollbar-track {
    background: #001a21;
}

.ck.ck-editor__editable::-webkit-scrollbar-thumb {
    background: #0d384b;
    border-radius: 10px;
}