/* Tmavý režim správy (sb-admin 2 / BS3): invertuje celú stránku, obrázky a farebné vzorky vráti späť.
   Zapína sa podľa systému, prepínač v hornej lište (data-theme na <html>, localStorage 'sn-admin-theme').
   ponytail: filter invert, nie paleta tmavých farieb — vlastná dark téma až keď invert niekde zjavne zlyhá. */
html[data-theme="dark"] {
	background: #fff;
	filter: invert(1) hue-rotate(180deg); /* presne 1: revert nižšie potom vráti pôvodné farby (0.88 robil z červenej magentu) */
}
html[data-theme="dark"] img,
html[data-theme="dark"] video,
html[data-theme="dark"] iframe,
html[data-theme="dark"] canvas,
html[data-theme="dark"] svg image,
html[data-theme="dark"] [style*="background-image"],
html[data-theme="dark"] .colorpicker-element .input-group-addon i,
html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .btn-danger,
html[data-theme="dark"] .label-danger {
	filter: invert(1) hue-rotate(180deg);
}
/* logo má tmavý text: nechať invertované s hlavičkou; obrázky v ľavom menu sú už vrátené cez .sidebar */
html[data-theme="dark"] .navbar-brand img,
html[data-theme="dark"] .sidebar img { filter: none; }
/* riadky s inline farbou typu akcie: pred inverziou zosvetliť a stmaviť text = po inverzii tmavý riadok so svetlým textom */
html[data-theme="dark"] tr[style*="background-color"] > td { background: rgba(255,255,255,.4); color: #000; }
/* pred inverziou svetlosivá = po inverzii tmavosivá namiesto čistej čiernej */
html[data-theme="dark"] body, html[data-theme="dark"] #page-wrapper { background: #e6e6e6; }
#theme-toggle { cursor: pointer; }
