Advertisement
Guest User

HMM Dark Cyberpanel Theme

a guest
Apr 28th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.95 KB | Source Code | 0 0
  1. /* Dark Theme version of HMM NEXT */
  2. @import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:[email protected]&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");
  3. html {
  4. scroll-behaviour: smooth !important;
  5. }
  6.  
  7. /* -- Color Variables: Adjust these for global theming -- */
  8. :root {
  9. --theme-color-0: #4a90e2; /* A lighter blue for highlights */
  10. --theme-color-1: #3a3f58; /* Main dark blue/indigo color */
  11. --theme-color-2: #1f2233; /* Darker background or hover state */
  12. --theme-color-3: #0f121d; /* Even darker for active or deep shadows */
  13. --background-color: #121320; /* Main background dark */
  14. --panel-background: #1e202f; /* Slightly lighter than main bg for contrast */
  15. --text-color-primary: #e0e0e8; /* Main text color for readability */
  16. --text-color-secondary: #a3a5b9; /* Secondary/less important text */
  17. --input-background: #2b2f45; /* Inputs background */
  18. --input-border: #444a75; /* Border for inputs */
  19. --scrollbar-track: #2b2f45;
  20. --scrollbar-thumb: #3a3f58;
  21. --scrollbar-thumb-hover: #4a90e2;
  22. --button-background: var(--theme-color-1);
  23. --button-hover-background: var(--theme-color-2);
  24. --button-active-background: var(--theme-color-3);
  25. }
  26.  
  27. ::-webkit-scrollbar {
  28. width: 6px;
  29. }
  30.  
  31. ::-webkit-scrollbar-track {
  32. background: var(--scrollbar-track);
  33. }
  34.  
  35. ::-webkit-scrollbar-thumb {
  36. background: var(--scrollbar-thumb);
  37. border-radius: 10px;
  38. cursor: default;
  39. }
  40.  
  41. ::-webkit-scrollbar-thumb:hover {
  42. background: var(--scrollbar-thumb-hover);
  43. }
  44.  
  45. body {
  46. font-family: "Be Vietnam Pro", sans-serif !important;
  47. font-weight: 400 !important;
  48. font-size: 15px !important;
  49. transition: all 0.3s ease;
  50. background: var(--background-color) !important;
  51. color: var(--text-color-primary) !important;
  52. }
  53.  
  54. #page-content {
  55. background: var(--background-color) !important;
  56. }
  57.  
  58. p,
  59. a,
  60. b,
  61. strong,
  62. input,
  63. textarea {
  64. font-family: "Be Vietnam Pro", sans-serif !important;
  65. font-size: 15px !important;
  66. color: var(--text-color-primary) !important;
  67. }
  68.  
  69. /* Subtle secondary text colors */
  70. #page-title > p {
  71. font-size: 17px !important;
  72. margin-top: 13px !important;
  73. color: var(--text-color-secondary) !important;
  74. }
  75.  
  76. .toggle.btn {
  77. border-radius: 50px !important;
  78. font-family: "Be Vietnam Pro", sans-serif !important;
  79. font-size: 15px !important;
  80. }
  81.  
  82. button.btn:not(.btn-link),
  83. a.btn:not(.btn-link) {
  84. display: flex;
  85. border-radius: 10px !important;
  86. outline: 0 !important;
  87. cursor: pointer;
  88. min-height: 42px !important;
  89. height: 42px !important;
  90. max-height: 42px !important;
  91. min-width: 140px !important;
  92. color: #fff !important; /* White text on buttons */
  93. font-family: "Be Vietnam Pro", sans-serif !important;
  94. font-size: 15px !important;
  95. align-content: center;
  96. justify-content: center;
  97. align-items: center;
  98. background-color: var(--button-background) !important;
  99. transition: background-color 0.3s ease;
  100. }
  101.  
  102. button.btn:not(.btn-link):hover,
  103. a.btn:not(.btn-link):hover,
  104. button.btn:not(.btn-link):focus,
  105. a.btn:not(.btn-link):focus {
  106. background-color: var(--button-hover-background) !important;
  107. outline: 0 !important;
  108. }
  109.  
  110. button.btn:not(.btn-link):active {
  111. background-color: var(--button-active-background) !important;
  112. }
  113.  
  114. textarea,
  115. input,
  116. select {
  117. border: 1.5px solid var(--input-border) !important;
  118. background: var(--input-background) !important;
  119. padding: 10px 15px !important;
  120. min-height: 42px !important;
  121. border-radius: 10px !important;
  122. color: var(--text-color-primary) !important;
  123. transition: border-color 0.3s ease;
  124. }
  125.  
  126. textarea:focus,
  127. input:focus,
  128. select:focus {
  129. border-color: var(--theme-color-0) !important;
  130. box-shadow: none !important;
  131. background: var(--input-background) !important;
  132. color: var(--text-color-primary) !important;
  133. }
  134.  
  135. /* Sidebar IP address styling */
  136. #sidebar-menu-item-server-ip-address span {
  137. color: var(--text-color-primary) !important;
  138. font-weight: 600 !important;
  139. }
  140.  
  141. /* Page and headers */
  142. h1,
  143. h2,
  144. h3,
  145. h4,
  146. h5,
  147. h6,
  148. #page-title > h2 {
  149. font-family: "Outfit", sans-serif !important;
  150. font-weight: 700 !important;
  151. color: var(--text-color-primary) !important;
  152. }
  153.  
  154. .btn:not(.toggle) {
  155. border-width: 0px;
  156. }
  157.  
  158. /* Primary buttons */
  159. .btn-primary {
  160. border-width: 0px;
  161. background-color: var(--button-background);
  162. color: #fff !important;
  163. }
  164.  
  165. .btn-primary:hover,
  166. .btn-primary:focus,
  167. .btn-primary:active:focus {
  168. background-color: var(--button-hover-background);
  169. outline: 0 !important;
  170. }
  171.  
  172. .btn-primary:active {
  173. background-color: var(--button-active-background);
  174. outline: 0 !important;
  175. }
  176.  
  177. /* Header section - darker background with lighter text */
  178. #header-nav-right .header-btn {
  179. border-color: rgba(255, 255, 255, 0.2);
  180. border-radius: 100px !important;
  181. background: #2a2d3a !important;
  182. transition: all 0.3s ease;
  183. }
  184.  
  185. #header-nav-right .header-btn:hover {
  186. border-color: var(--theme-color-0);
  187. }
  188.  
  189. #header-nav-right .header-btn i {
  190. color: var(--text-color-primary) !important;
  191. }
  192.  
  193. #page-header {
  194. background: var(--panel-background);
  195. border-bottom: 1.5px solid var(--input-border);
  196. }
  197.  
  198. /* Sidebar styles */
  199. .sidebar-submenu {
  200. margin: 0px !important;
  201.  
  202. }
  203.  
  204. .sidebar-submenu li {
  205. list-style: none;
  206. margin: 1px 0 !important;
  207. transition: all 0.05s ease;
  208. width:105%;
  209. }
  210.  
  211. #page-sidebar li ul li a:before {
  212. display: none !important;
  213. }
  214.  
  215. #header-logo {
  216. background: var(--theme-color-1);
  217. padding: 0;
  218. }
  219.  
  220. /* Sidebar menu */
  221. #sidebar-menu > li > a {
  222. border-width: 0;
  223. color: var(--text-color-primary) !important;
  224. padding: 8px 20px;
  225. font-size: 15px !important;
  226. }
  227.  
  228. /* Smaller sidebar submenu font */
  229. #page-sidebar li ul li a {
  230. font-size: 13.5px !important;
  231. color: var(--text-color-secondary) !important;
  232. }
  233.  
  234. /* Sidebar header category */
  235. #page-sidebar ul li.header {
  236. color: #fff !important;
  237. padding:
  238. 20px 15px !important;
  239. margin:
  240. 10px -10px 0px -10px !important;
  241. border-top:
  242. 10px solid #1e202f !important;
  243. border-radius:
  244. 22px !important;
  245. background:
  246. #2b2d4d !important;
  247. border-left:
  248. 10px solid #1e202f;
  249. border-right:
  250. 10px solid #1e202f;
  251. border-bottom:
  252. 10px solid #1e202f;
  253. }
  254.  
  255. #page-sidebar ul li.divider {
  256. display: none !important;
  257. }
  258.  
  259. #page-sidebar ul li a .glyph-icon {
  260. display: none !important;
  261. }
  262.  
  263. #sidebar-menu li {
  264. padding: 5px 15px !important;
  265. border-radius: 10px !important;
  266. }
  267.  
  268. /* Sidebar links */
  269. #sidebar-menu li a {
  270. padding: unset !important;
  271. text-decoration: none !important;
  272. font-weight: 600 !important;
  273. color: var(--text-color-primary) !important;
  274. }
  275.  
  276. #sidebar-menu li:hover,
  277. #sidebar-menu li.sfHover,
  278. #page-sidebar li:nth-child(2):not([class]) {
  279. background: var(--theme-color-1) !important;
  280. cursor: pointer !important;
  281. color: #fff !important;
  282. }
  283.  
  284. /* Sidebar background and border */
  285. #sidebar-menu {
  286. background: var(--panel-background) !important;
  287. border-right: 1.5px solid var(--input-border) !important;
  288. padding: 0 10px !important;
  289. }
  290.  
  291. /* Sidebar submenu */
  292. .sidebar-submenu {
  293. padding: 10px 0 5px 0 !important;
  294. background: var(--theme-color-1) !important;
  295. border-radius: 10px !important;
  296. margin: 0 !important;
  297. border: none !important;
  298. }
  299.  
  300. #sidebar-menu .sidebar-submenu ul li a {
  301. display: block !important;
  302. padding: inherit !important;
  303. text-decoration: none !important;
  304. border: none !important;
  305. color: var(--text-color-primary) !important;
  306. background: transparent !important;
  307. font-weight: 400 !important;
  308. }
  309.  
  310. #sidebar-menu .sidebar-submenu ul li {
  311. padding: 3px 15px !important; /* Set consistent vertical padding */
  312. transition: background-color 0.09s ease, color 0.09s ease, border-radius 0.09s ease;
  313. border: none !important;
  314. border-radius: 0 !important;
  315. margin: 0 !important;
  316. }
  317.  
  318.  
  319. #sidebar-menu .sidebar-submenu ul li:hover {
  320. background-color: var(--theme-color-0) !important;
  321. border-radius: 2px !important;
  322. color: #fff !important;
  323. margin: 0 !important;
  324. }
  325.  
  326. #sidebar-menu li .sidebar-submenu > ul > li > a.sfActive {
  327. background: var(--theme-color-0) !important;
  328. border-radius: 0px !important;
  329. padding: 3px 15px !important;
  330. color: #fff !important;
  331. height: 38px !important;
  332. margin: 0 -15px !important;
  333. transition: all 0.1s ease;
  334. }
  335.  
  336. #sidebar-menu .sidebar-submenu li:hover a {
  337. color: #fff !important;
  338.  
  339. }
  340. #sidebar-menu .sidebar-submenu ul li:hover > a { /* Target the link inside the hovered li */
  341. color: #fff !important;
  342. }
  343.  
  344. /* Sidebar scroll margin */
  345. .scroll-sidebar {
  346. margin-top: -15px !important;
  347. }
  348.  
  349. /* Tile box shortcut - brighter color on dark background */
  350. .tile-box-shortcut {
  351. color: #fff !important;
  352. border-radius: 10px;
  353. transition: all 0.3s ease;
  354. font-size: 18px !important;
  355. font-weight: 600 !important;
  356. }
  357.  
  358. .tile-box-shortcut:hover {
  359. transform: scale(1.0);
  360. background:#3967a1
  361. }
  362.  
  363. /* Panel styles: dark background and subtle border */
  364. .panel {
  365. border-radius: 10px !important;
  366. border: 1px solid var(--input-border) !important;
  367. padding: 0 !important;
  368. background: var(--panel-background) !important;
  369. }
  370.  
  371. .panel-body {
  372. padding: 15px !important;
  373. color: var(--text-color-primary) !important;
  374. }
  375.  
  376. .content-box-header {
  377. padding: 15px !important;
  378. font-size: 16px !important;
  379. margin: unset !important;
  380. color: var(--text-color-primary) !important;
  381. }
  382.  
  383. body .panel .panel-body p:first-child {
  384. padding: 0 0 0 7px !important;
  385. }
  386.  
  387. /* Tile box shortcut header */
  388. .tile-box-shortcut .tile-header {
  389. font-weight: 600 !important;
  390. left: 2.75em !important;
  391. bottom: -4px !important;
  392. display: block !important;
  393. }
  394.  
  395. /* Sidebar close icon color to light */
  396. #close-sidebar .icon-angle-left {
  397. color: #fff !important;
  398. }
  399.  
  400. /* Alerts with dark background and lighter text */
  401. .alert {
  402. border-radius: 8px !important;
  403. padding: 10px 15px !important;
  404. margin-bottom: 35px !important;
  405. background: #2a2d3a !important;
  406. color: var(--text-color-primary) !important;
  407. border: 1px solid var(--input-border) !important;
  408. }
  409.  
  410. /* Textarea with monospace font and dark background */
  411. textarea[id="appendthemedata"] {
  412. font-family: "Source Code Pro", monospace !important;
  413. min-height: 550px !important;
  414. background: var(--input-background) !important;
  415. color: var(--text-color-primary) !important;
  416. border: 1.5px solid var(--input-border) !important;
  417. }
  418.  
  419. /* Page title padding and text color */
  420. #page-title {
  421. padding: 0 0 25px 10px !important;
  422. color: var(--text-color-primary) !important;
  423. }
  424.  
  425. /* Badges and labels positioning and style */
  426. #sidebar-menu > li > a .bs-badge,
  427. #sidebar-menu > li > a .bs-label {
  428. right: unset !important;
  429. left: 137px !important;
  430. border-radius: 30px !important;
  431. background-color: var(--theme-color-0) !important;
  432. color: #fff !important;
  433. }
  434.  
  435. /* Domain heading */
  436. h2[ng-bind="web.domain"] {
  437. font-size: 19px !important;
  438. font-weight: 500 !important;
  439. transition: all 0.3s ease;
  440. color: var(--text-color-primary) !important;
  441. }
  442.  
  443. h2[ng-bind="web.domain"]:hover {
  444. text-decoration: underline !important;
  445. }
  446.  
  447. /* Logo content */
  448. .logo-content-big {
  449. background: url("https://cyberpanel.net/wp-content/uploads/2024/01/logo.svg") !important;
  450. background-size: contain !important;
  451. background-repeat: no-repeat !important;
  452. height: 48px !important;
  453. top: 38% !important;
  454. }
  455.  
  456. /* Links inside panel body on hover */
  457. .panel-body a .h4:hover {
  458. text-decoration: underline !important;
  459. color: var(--theme-color-0) !important;
  460. }
  461.  
  462. /* Select dropdown */
  463. select[ng-model="branchSelect"] {
  464. color: var(--text-color-primary) !important;
  465. background: var(--input-background) !important;
  466. border: 1.5px solid var(--input-border) !important;
  467. }
  468.  
  469. label {
  470. color:#fff;
  471. }
  472.  
  473. .current-pack {
  474. color:#fff;
  475. }
  476.  
  477. #sidebar-menu li.header {
  478. font-size: 19px;
  479. text-align: center;
  480. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement