﻿/* custom-ckeditor-theme.css */

/* Editör ana gövde */
body {
    background-color: #1e1e1e;
    color: #ffffff;
}

.cke {
    background-color: #1e1e1e;
    border: 1px solid #444;
}

.cke_source {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
    font-family: monospace;
    padding: 10px;
}

/* =========================
   CKEDITOR DIALOG HARD FIX
   Link / Resim / Tablo / URL popup inputları
========================= */

.cke_dialog,
.cke_dialog *,
.cke_reset_all,
.cke_reset_all *,
.cke_reset_all input,
.cke_reset_all textarea,
.cke_reset_all select {
    box-sizing: border-box;
}

/* Dialog genel yazıları */
.cke_dialog_body,
.cke_dialog_contents,
.cke_dialog_page_contents,
.cke_dialog_ui_vbox,
.cke_dialog_ui_hbox,
.cke_dialog_ui_vbox_child,
.cke_dialog_ui_hbox_child,
.cke_dialog_ui_labeled_content,
.cke_dialog_ui_labeled_label,
.cke_dialog_ui_html,
.cke_dialog_ui_text,
.cke_dialog_ui_checkbox label,
.cke_dialog_ui_radio label {
    color: #111111 !important;
    text-shadow: none !important;
}

/* Dialog başlık ve tab yazıları */
.cke_dialog_title,
.cke_dialog_tabs a,
.cke_dialog_tab,
.cke_dialog_tab span {
    color: #222222 !important;
    text-shadow: none !important;
}

/* Input, textarea, select alanları */
.cke_dialog input,
.cke_dialog textarea,
.cke_dialog select,
.cke_reset_all input,
.cke_reset_all textarea,
.cke_reset_all select,
.cke_dialog_ui_input_text input,
.cke_dialog_ui_input_password input,
.cke_dialog_ui_input_tel input,
.cke_dialog_ui_input_textarea textarea,
.cke_dialog_ui_input_select select {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 1px solid #b9b9b9 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Focus halinde de siyah kalsın */
.cke_dialog input:focus,
.cke_dialog textarea:focus,
.cke_dialog select:focus,
.cke_reset_all input:focus,
.cke_reset_all textarea:focus,
.cke_reset_all select:focus,
.cke_dialog_ui_input_text input:focus,
.cke_dialog_ui_input_password input:focus,
.cke_dialog_ui_input_tel input:focus,
.cke_dialog_ui_input_textarea textarea:focus,
.cke_dialog_ui_input_select select:focus {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    caret-color: #111111 !important;
    outline: 1px solid #4d90fe !important;
}

/* Placeholder */
.cke_dialog input::placeholder,
.cke_dialog textarea::placeholder,
.cke_reset_all input::placeholder,
.cke_reset_all textarea::placeholder {
    color: #777777 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #777777 !important;
}

/* Disabled / readonly */
.cke_dialog input[disabled],
.cke_dialog textarea[disabled],
.cke_dialog select[disabled],
.cke_dialog input[readonly],
.cke_dialog textarea[readonly],
.cke_reset_all input[disabled],
.cke_reset_all textarea[disabled],
.cke_reset_all select[disabled],
.cke_reset_all input[readonly],
.cke_reset_all textarea[readonly] {
    background: #eeeeee !important;
    color: #444444 !important;
    -webkit-text-fill-color: #444444 !important;
}

/* Select option yazıları */
.cke_dialog select option,
.cke_reset_all select option {
    background: #ffffff !important;
    color: #111111 !important;
}

/* OK / Cancel butonları */
.cke_dialog_ui_button,
.cke_dialog_ui_button span {
    text-shadow: none !important;
}

/* OK butonu yeşil olduğu için beyaz kalsın */
.cke_dialog_ui_button_ok,
.cke_dialog_ui_button_ok span {
    color: #ffffff !important;
}

/* Cancel vb. açık butonlar siyah olsun */
.cke_dialog_ui_button_cancel,
.cke_dialog_ui_button_cancel span {
    color: #111111 !important;
}