NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name OkayCMS Black Admin Theme // @version 0.6.1 // @description Заменяет цвета админ-панели OkayCMS версий 2.3.4 и 4.0 PRO на тёмные для более приятной работы // @author https://vk.com/nikitasb // @run-at: document-end // @license MIT // ==/UserScript== //(function() { // 'use strict'; function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle('a.link, .box_heading, .heading_box, .heading_label, .tab_navigation_link.selected, .text_dark, .okay_list_order_number a, .okay_list_boding a, .switch_label, .form-control, .variant_input, .form-control::placeholder, .feature_input, .bootstrap-select, .dropdown-toggle, .dropdown-menu li a, .boxed, .boxed__content { color: white !important; font-size: 15px;}'); addGlobalStyle('.cur_settings, .setting_icon, .setting_icon, .input_group, .pagination li a, .checkbox_label { color: black !important; }'); //addGlobalStyle('{ color: white !important; }'); addGlobalStyle('.page-container, .navbar, .boxed, .main {background-color: #21252d; border-color: #21252d;}'); //Dropdown Menu addGlobalStyle('.dropdown-menu > li.active > a, .dropdown-menu > li:hover > a, .dropdown-menu li.disabled {background-color: #3D4554 !important; border-color: #3D4554 !important;}'); addGlobalStyle('.navbar, .okay_list_row, .okay_list, .products_list, .fn_sort_list, .fn_row, .okay_list_body_item, .fn_sort_item, .dropzone_block { border-color: #2b303b !important; }'); addGlobalStyle('.fn_dropzone, .okay_disabled, .form-control, .feature_input, .variant_input, .bootstrap-select, .input-group-addon, .permission_block, .tab_navigation_link.selected, .form-control { background-color: #2b303b !important; border-color: #2b303b !important}'); addGlobalStyle('.feature_name { background-color: #3E434D; padding: 7px 10px; font-size: 15px;}'); addGlobalStyle('.okay_list_boding a { font-weight: bold; }'); addGlobalStyle('.btn-info { background-color: #478d00; border-color: #478d00; }'); addGlobalStyle('.btn-info:hover { background-color: #376c02; border-color: #376c02;}'); addGlobalStyle('.heading_label { min-height: 29px !important;}'); addGlobalStyle('.input-group-addon, .product_category_item { background-color: #3E434D; color: white;}'); //**IMPORTANT**// addGlobalStyle('.dropdown-toggle, .dropdown-menu, .okay_list_body_item:hover, .form-control:focus, .feature_input:focus, .variant_input:focus, .form-control[readonly] { background-color: #2b303b !important; border-color: #2b303b }'); addGlobalStyle('.heading_page { font-size: 28px !important; color: white !important}'); //})();