cp.styles.css 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411
  1. /*!
  2. * Bootstrap-select v1.13.9 (https://developer.snapappointments.com/bootstrap-select)
  3. *
  4. * Copyright 2012-2019 SnapAppointments, LLC
  5. * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
  6. */
  7. select.bs-select-hidden,
  8. .bootstrap-select > select.bs-select-hidden,
  9. select.selectpicker {
  10. display: none !important;
  11. }
  12. .bootstrap-select {
  13. width: 220px \0;
  14. /*IE9 and below*/
  15. vertical-align: middle;
  16. }
  17. .bootstrap-select > .dropdown-toggle {
  18. position: relative;
  19. width: 100%;
  20. text-align: right;
  21. white-space: nowrap;
  22. display: -webkit-inline-box;
  23. display: -webkit-inline-flex;
  24. display: -ms-inline-flexbox;
  25. display: inline-flex;
  26. -webkit-box-align: center;
  27. -webkit-align-items: center;
  28. -ms-flex-align: center;
  29. align-items: center;
  30. -webkit-box-pack: justify;
  31. -webkit-justify-content: space-between;
  32. -ms-flex-pack: justify;
  33. justify-content: space-between;
  34. }
  35. .bootstrap-select > .dropdown-toggle:after {
  36. margin-top: -1px;
  37. }
  38. .bootstrap-select > .dropdown-toggle.bs-placeholder,
  39. .bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
  40. .bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
  41. .bootstrap-select > .dropdown-toggle.bs-placeholder:active {
  42. color: #999;
  43. }
  44. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary,
  45. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary,
  46. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success,
  47. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger,
  48. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info,
  49. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark,
  50. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:hover,
  51. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:hover,
  52. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:hover,
  53. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:hover,
  54. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:hover,
  55. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:hover,
  56. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:focus,
  57. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:focus,
  58. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:focus,
  59. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:focus,
  60. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:focus,
  61. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:focus,
  62. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:active,
  63. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:active,
  64. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:active,
  65. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:active,
  66. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:active,
  67. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:active {
  68. color: rgba(255, 255, 255, 0.5);
  69. }
  70. .bootstrap-select > select {
  71. position: absolute !important;
  72. bottom: 0;
  73. left: 50%;
  74. display: block !important;
  75. width: 0.5px !important;
  76. height: 100% !important;
  77. padding: 0 !important;
  78. opacity: 0 !important;
  79. border: none;
  80. z-index: 0 !important;
  81. }
  82. .bootstrap-select > select.mobile-device {
  83. top: 0;
  84. left: 0;
  85. display: block !important;
  86. width: 100% !important;
  87. z-index: 2 !important;
  88. }
  89. .has-error .bootstrap-select .dropdown-toggle,
  90. .error .bootstrap-select .dropdown-toggle,
  91. .bootstrap-select.is-invalid .dropdown-toggle,
  92. .was-validated .bootstrap-select .selectpicker:invalid + .dropdown-toggle {
  93. border-color: #b94a48;
  94. }
  95. .bootstrap-select.is-valid .dropdown-toggle,
  96. .was-validated .bootstrap-select .selectpicker:valid + .dropdown-toggle {
  97. border-color: #28a745;
  98. }
  99. .bootstrap-select.fit-width {
  100. width: auto !important;
  101. }
  102. .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  103. width: 220px;
  104. }
  105. .bootstrap-select > select.mobile-device:focus + .dropdown-toggle,
  106. .bootstrap-select .dropdown-toggle:focus {
  107. outline: thin dotted #333333 !important;
  108. outline: 5px auto -webkit-focus-ring-color !important;
  109. outline-offset: -2px;
  110. }
  111. .bootstrap-select.form-control {
  112. margin-bottom: 0;
  113. padding: 0;
  114. border: none;
  115. }
  116. :not(.input-group) > .bootstrap-select.form-control:not([class*="col-"]) {
  117. width: 100%;
  118. }
  119. .bootstrap-select.form-control.input-group-btn {
  120. float: none;
  121. z-index: auto;
  122. }
  123. .form-inline .bootstrap-select,
  124. .form-inline .bootstrap-select.form-control:not([class*="col-"]) {
  125. width: auto;
  126. }
  127. .bootstrap-select:not(.input-group-btn),
  128. .bootstrap-select[class*="col-"] {
  129. float: none;
  130. display: inline-block;
  131. margin-left: 0;
  132. }
  133. .bootstrap-select.dropdown-menu-right,
  134. .bootstrap-select[class*="col-"].dropdown-menu-right,
  135. .row .bootstrap-select[class*="col-"].dropdown-menu-right {
  136. float: right;
  137. }
  138. .form-inline .bootstrap-select,
  139. .form-horizontal .bootstrap-select,
  140. .form-group .bootstrap-select {
  141. margin-bottom: 0;
  142. }
  143. .form-group-lg .bootstrap-select.form-control,
  144. .form-group-sm .bootstrap-select.form-control {
  145. padding: 0;
  146. }
  147. .form-group-lg .bootstrap-select.form-control .dropdown-toggle,
  148. .form-group-sm .bootstrap-select.form-control .dropdown-toggle {
  149. height: 100%;
  150. font-size: inherit;
  151. line-height: inherit;
  152. border-radius: inherit;
  153. }
  154. .bootstrap-select.form-control-sm .dropdown-toggle,
  155. .bootstrap-select.form-control-lg .dropdown-toggle {
  156. font-size: inherit;
  157. line-height: inherit;
  158. border-radius: inherit;
  159. }
  160. .bootstrap-select.form-control-sm .dropdown-toggle {
  161. padding: 0.25rem 0.5rem;
  162. }
  163. .bootstrap-select.form-control-lg .dropdown-toggle {
  164. padding: 0.5rem 1rem;
  165. }
  166. .form-inline .bootstrap-select .form-control {
  167. width: 100%;
  168. }
  169. .bootstrap-select.disabled,
  170. .bootstrap-select > .disabled {
  171. cursor: not-allowed;
  172. }
  173. .bootstrap-select.disabled:focus,
  174. .bootstrap-select > .disabled:focus {
  175. outline: none !important;
  176. }
  177. .bootstrap-select.bs-container {
  178. position: absolute;
  179. top: 0;
  180. left: 0;
  181. height: 0 !important;
  182. padding: 0 !important;
  183. }
  184. .bootstrap-select.bs-container .dropdown-menu {
  185. z-index: 1060;
  186. }
  187. .bootstrap-select .dropdown-toggle .filter-option {
  188. position: static;
  189. top: 0;
  190. left: 0;
  191. float: left;
  192. height: 100%;
  193. width: 100%;
  194. text-align: left;
  195. overflow: hidden;
  196. -webkit-box-flex: 0;
  197. -webkit-flex: 0 1 auto;
  198. -ms-flex: 0 1 auto;
  199. flex: 0 1 auto;
  200. }
  201. .bs3.bootstrap-select .dropdown-toggle .filter-option {
  202. padding-right: inherit;
  203. }
  204. .input-group .bs3-has-addon.bootstrap-select .dropdown-toggle .filter-option {
  205. position: absolute;
  206. padding-top: inherit;
  207. padding-bottom: inherit;
  208. padding-left: inherit;
  209. float: none;
  210. }
  211. .input-group .bs3-has-addon.bootstrap-select .dropdown-toggle .filter-option .filter-option-inner {
  212. padding-right: inherit;
  213. }
  214. .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  215. overflow: hidden;
  216. }
  217. .bootstrap-select .dropdown-toggle .filter-expand {
  218. width: 0 !important;
  219. float: left;
  220. opacity: 0 !important;
  221. overflow: hidden;
  222. }
  223. .bootstrap-select .dropdown-toggle .caret {
  224. position: absolute;
  225. top: 50%;
  226. right: 12px;
  227. margin-top: -2px;
  228. vertical-align: middle;
  229. }
  230. .input-group .bootstrap-select.form-control .dropdown-toggle {
  231. border-radius: inherit;
  232. }
  233. .bootstrap-select[class*="col-"] .dropdown-toggle {
  234. width: 100%;
  235. }
  236. .bootstrap-select .dropdown-menu {
  237. min-width: 100%;
  238. -webkit-box-sizing: border-box;
  239. -moz-box-sizing: border-box;
  240. box-sizing: border-box;
  241. }
  242. .bootstrap-select .dropdown-menu > .inner:focus {
  243. outline: none !important;
  244. }
  245. .bootstrap-select .dropdown-menu.inner {
  246. position: static;
  247. float: none;
  248. border: 0;
  249. padding: 0;
  250. margin: 0;
  251. border-radius: 0;
  252. -webkit-box-shadow: none;
  253. box-shadow: none;
  254. }
  255. .bootstrap-select .dropdown-menu li {
  256. position: relative;
  257. }
  258. .bootstrap-select .dropdown-menu li.active small {
  259. color: rgba(255, 255, 255, 0.5) !important;
  260. }
  261. .bootstrap-select .dropdown-menu li.disabled a {
  262. cursor: not-allowed;
  263. }
  264. .bootstrap-select .dropdown-menu li a {
  265. cursor: pointer;
  266. -webkit-user-select: none;
  267. -moz-user-select: none;
  268. -ms-user-select: none;
  269. user-select: none;
  270. }
  271. .bootstrap-select .dropdown-menu li a.opt {
  272. position: relative;
  273. padding-left: 2.25em;
  274. }
  275. .bootstrap-select .dropdown-menu li a span.check-mark {
  276. display: none;
  277. }
  278. .bootstrap-select .dropdown-menu li a span.text {
  279. display: inline-block;
  280. }
  281. .bootstrap-select .dropdown-menu li small {
  282. padding-left: 0.5em;
  283. }
  284. .bootstrap-select .dropdown-menu .notify {
  285. position: absolute;
  286. bottom: 5px;
  287. width: 96%;
  288. margin: 0 2%;
  289. min-height: 26px;
  290. padding: 3px 5px;
  291. background: #f5f5f5;
  292. border: 1px solid #e3e3e3;
  293. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  294. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  295. pointer-events: none;
  296. opacity: 0.9;
  297. -webkit-box-sizing: border-box;
  298. -moz-box-sizing: border-box;
  299. box-sizing: border-box;
  300. }
  301. .bootstrap-select .no-results {
  302. padding: 3px;
  303. background: #f5f5f5;
  304. margin: 0 5px;
  305. white-space: nowrap;
  306. }
  307. .bootstrap-select.fit-width .dropdown-toggle .filter-option {
  308. position: static;
  309. display: inline;
  310. padding: 0;
  311. width: auto;
  312. }
  313. .bootstrap-select.fit-width .dropdown-toggle .filter-option-inner,
  314. .bootstrap-select.fit-width .dropdown-toggle .filter-option-inner-inner {
  315. display: inline;
  316. }
  317. .bootstrap-select.fit-width .dropdown-toggle .bs-caret:before {
  318. content: '\00a0';
  319. }
  320. .bootstrap-select.fit-width .dropdown-toggle .caret {
  321. position: static;
  322. top: auto;
  323. margin-top: -1px;
  324. }
  325. .bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  326. position: absolute;
  327. display: inline-block;
  328. right: 15px;
  329. top: 5px;
  330. }
  331. .bootstrap-select.show-tick .dropdown-menu li a span.text {
  332. margin-right: 34px;
  333. }
  334. .bootstrap-select .bs-ok-default:after {
  335. content: '';
  336. display: block;
  337. width: 0.5em;
  338. height: 1em;
  339. border-style: solid;
  340. border-width: 0 0.26em 0.26em 0;
  341. -webkit-transform: rotate(45deg);
  342. -ms-transform: rotate(45deg);
  343. -o-transform: rotate(45deg);
  344. transform: rotate(45deg);
  345. }
  346. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle,
  347. .bootstrap-select.show-menu-arrow.show > .dropdown-toggle {
  348. z-index: 1061;
  349. }
  350. .bootstrap-select.show-menu-arrow .dropdown-toggle .filter-option:before {
  351. content: '';
  352. border-left: 7px solid transparent;
  353. border-right: 7px solid transparent;
  354. border-bottom: 7px solid rgba(204, 204, 204, 0.2);
  355. position: absolute;
  356. bottom: -4px;
  357. left: 9px;
  358. display: none;
  359. }
  360. .bootstrap-select.show-menu-arrow .dropdown-toggle .filter-option:after {
  361. content: '';
  362. border-left: 6px solid transparent;
  363. border-right: 6px solid transparent;
  364. border-bottom: 6px solid white;
  365. position: absolute;
  366. bottom: -4px;
  367. left: 10px;
  368. display: none;
  369. }
  370. .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle .filter-option:before {
  371. bottom: auto;
  372. top: -4px;
  373. border-top: 7px solid rgba(204, 204, 204, 0.2);
  374. border-bottom: 0;
  375. }
  376. .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle .filter-option:after {
  377. bottom: auto;
  378. top: -4px;
  379. border-top: 6px solid white;
  380. border-bottom: 0;
  381. }
  382. .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle .filter-option:before {
  383. right: 12px;
  384. left: auto;
  385. }
  386. .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle .filter-option:after {
  387. right: 13px;
  388. left: auto;
  389. }
  390. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle .filter-option:before,
  391. .bootstrap-select.show-menu-arrow.show > .dropdown-toggle .filter-option:before,
  392. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle .filter-option:after,
  393. .bootstrap-select.show-menu-arrow.show > .dropdown-toggle .filter-option:after {
  394. display: block;
  395. }
  396. .bs-searchbox,
  397. .bs-actionsbox,
  398. .bs-donebutton {
  399. padding: 4px 8px;
  400. }
  401. .bs-actionsbox {
  402. width: 100%;
  403. -webkit-box-sizing: border-box;
  404. -moz-box-sizing: border-box;
  405. box-sizing: border-box;
  406. }
  407. .bs-actionsbox .btn-group button {
  408. width: 50%;
  409. }
  410. .bs-donebutton {
  411. float: left;
  412. width: 100%;
  413. -webkit-box-sizing: border-box;
  414. -moz-box-sizing: border-box;
  415. box-sizing: border-box;
  416. }
  417. .bs-donebutton .btn-group button {
  418. width: 100%;
  419. }
  420. .bs-searchbox + .bs-actionsbox {
  421. padding: 0 8px 4px;
  422. }
  423. .bs-searchbox .form-control {
  424. margin-bottom: 0;
  425. width: 100%;
  426. float: none;
  427. }
  428. /******************************************************************************/
  429. /* Bootstrap scroll fix */
  430. body.cp {
  431. padding-right: 0px !important;
  432. }
  433. /* Bootstrap modal CP padding fix */
  434. .cp .navbar {
  435. padding: .5rem 1rem !important;
  436. }
  437. /* Bootstrap dropdown hover fix */
  438. .dropdown-item:focus, .dropdown-item:hover {
  439. background-color: #f1f1f1;
  440. }
  441. .dropdown-item.active, .dropdown-item:active {
  442. background-color: #007bff;
  443. }
  444. /* Login/MySQL form */
  445. html {
  446. height: 100%;
  447. }
  448. body.cp-login,
  449. body.cp-mysql,
  450. body.cp-first-user {
  451. min-height: 100%;
  452. display: -ms-flexbox;
  453. display: -webkit-box;
  454. display: flex;
  455. -ms-flex-align: center;
  456. -ms-flex-pack: center;
  457. -webkit-box-align: center;
  458. align-items: center;
  459. -webkit-box-pack: center;
  460. justify-content: center;
  461. background-color: #eee;
  462. }
  463. .cp-login .form-signin,
  464. .cp-mysql .form-signin,
  465. .cp-first-user .form-signin {
  466. width: 100%;
  467. max-width: 21rem;
  468. padding: 1.5rem;
  469. margin: 1.5rem;
  470. }
  471. .cp-login .form-signin label,
  472. .cp-mysql .form-signin label,
  473. .cp-first-user .form-signin label {
  474. cursor: pointer;
  475. }
  476. .cp-login .form-signin .form-control,
  477. .cp-mysql .form-signin .form-control,
  478. .cp-first-user .form-signin .form-control {
  479. position: relative;
  480. box-sizing: border-box;
  481. height: auto;
  482. padding: 0.5rem;
  483. font-size: 1.0rem;
  484. }
  485. .cp-login .form-signin .form-control:focus,
  486. .cp-mysql .form-signin .form-control:focus,
  487. .cp-first-user .form-signin .form-control:focus {
  488. z-index: 2;
  489. }
  490. .cp-login .form-signin input[type="email"] {
  491. margin-bottom: -1px;
  492. border-bottom-right-radius: 0;
  493. border-bottom-left-radius: 0;
  494. }
  495. .cp-login .form-signin input[type="password"] {
  496. border-top-left-radius: 0;
  497. border-top-right-radius: 0;
  498. }
  499. .cp-login .sys-messages,
  500. .cp-mysql .sys-messages,
  501. .cp-first-user .sys-messages {
  502. text-align: left;
  503. }
  504. .cp-login .sys-back-link {
  505. padding-top: 1.5rem;
  506. }
  507. /* Control panel skeleton */
  508. body.cp {
  509. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  510. background: initial;
  511. background-color: #fff;
  512. font-size: 1rem;
  513. font-weight: 400;
  514. line-height: 1.5;
  515. color: #444;
  516. width: 100%;
  517. height: 100%;
  518. overflow: hidden;
  519. }
  520. body.cp nav.main {
  521. height: 3.5rem;
  522. box-shadow: 0 0 5px 4px rgba(0, 0, 0, 0.25);
  523. }
  524. body.cp nav.main.bg-dark {
  525. background: #205081 url(/assets/sys/bg.png) repeat 0 0 !important;
  526. }
  527. body.cp nav.main a.navbar-brand {
  528. font-weight: bold;
  529. }
  530. body.cp .wrap {
  531. width: 100%;
  532. height: 100%;
  533. display: table;
  534. align-items: stretch;
  535. }
  536. body.cp .wrap .sidebar,
  537. body.cp .wrap .content {
  538. display: table-cell;
  539. position: relative;
  540. padding-top: 3.5rem;
  541. vertical-align: top;
  542. }
  543. body.cp .wrap .sidebar.sidebar-right {
  544. display: none !important;
  545. }
  546. body.cp .wrap .sidebar-right .padd,
  547. body.cp .wrap .content .padd {
  548. padding: 1rem 1rem;
  549. }
  550. body.cp .wrap .scroll {
  551. height: 100%;
  552. overflow: hidden;
  553. overflow-y: auto;
  554. }
  555. body.cp .wrap .sidebar {
  556. width: 15.4rem;
  557. background: #eee;
  558. box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, .3);
  559. }
  560. body.cp .wrap .sidebar .dropdown-divider {
  561. border-color: #d6d6d6;
  562. margin: 0px;
  563. }
  564. body.cp .wrap .sidebar.sidebar-left ul.nav {
  565. padding: 1rem 0px;
  566. }
  567. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-separator {
  568. height: 1rem;
  569. }
  570. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item a {
  571. color: #444;
  572. }
  573. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.disabled a {
  574. color: #c9302c;
  575. /*text-decoration: line-through;*/
  576. }
  577. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active {
  578. background-color: #417cb9;
  579. }
  580. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active.disabled {
  581. background-color: #c9302c;
  582. /*text-decoration: none;*/
  583. }
  584. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active a {
  585. color: #fff;
  586. }
  587. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:hover {
  588. background-color: #e7e7e7;
  589. }
  590. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active:hover {
  591. background-color: #417cb9;
  592. }
  593. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active.disabled:hover {
  594. background-color: #c9302c;
  595. }
  596. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav {
  597. background: #eee;
  598. padding-top: 0px;
  599. }
  600. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item a {
  601. color: #444;
  602. padding-left: 2rem;
  603. }
  604. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item.active {
  605. background-color: #e7e7e7;
  606. }
  607. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item.active a {
  608. color: #417cb9;
  609. }
  610. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.disabled ul.nav li.nav-item.active a {
  611. color: #c9302c;
  612. }
  613. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:last-child ul {
  614. padding-bottom: 0px;
  615. }
  616. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item svg.sicon {
  617. fill: currentColor;
  618. margin-right: 0.3rem;
  619. margin-bottom: 1px;
  620. }
  621. /* SVG colors */
  622. .svg-green svg {
  623. fill: currentColor;
  624. color: #28a745;
  625. }
  626. .svg-red svg {
  627. fill: currentColor;
  628. color: #d9534f;
  629. }
  630. .svg-yellow svg {
  631. fill: currentColor;
  632. color: #f0ad4e;
  633. }
  634. /* Pagination */
  635. ul.pagination {
  636. margin-top: 1rem;
  637. }
  638. /* Admin table */
  639. .data-table {
  640. margin-bottom: 0px;
  641. }
  642. .data-table.table-hover tbody tr:hover {
  643. background-color: #fffbdf;
  644. }
  645. .data-table a svg {
  646. fill: currentColor;
  647. color: #007bff;
  648. }
  649. .data-table a:hover svg {
  650. color: #0056b3;
  651. }
  652. .data-table a.ico.delete svg {
  653. color: #d9534f;
  654. }
  655. .data-table a.ico.delete:hover svg {
  656. color: #c9302c;
  657. }
  658. .data-table td.col_action a.ico {
  659. display: inline-block;
  660. width: 1rem;
  661. height: 1rem;
  662. margin-right: 0.6rem;
  663. }
  664. .data-table td.col_action a.ico:last-child {
  665. margin-right: 0px;
  666. }
  667. .data-table thead tr {
  668. background-color: #e9ecef;
  669. }
  670. .data-table.table-bordered td,
  671. .data-table.table-bordered th {
  672. border: none;
  673. border-top: 1px solid #dee2e6;
  674. }
  675. .data-table.table-bordered td .parent,
  676. .data-table.table-bordered td .parent a,
  677. .data-table.table-bordered td .template {
  678. color: #adafb2;
  679. }
  680. /* Admin table: table_fave_pages */
  681. .data-table.table_fave_pages .col_datetime {
  682. width: 8rem;
  683. }
  684. .data-table.table_fave_pages .col_active {
  685. width: 5rem;
  686. }
  687. .data-table.table_fave_pages .col_action {
  688. width: 6rem;
  689. text-align: right;
  690. }
  691. /* Admin table: table_fave_blog_posts */
  692. .data-table.table_fave_blog_posts .col_datetime {
  693. width: 8rem;
  694. }
  695. .data-table.table_fave_blog_posts .col_active {
  696. width: 5rem;
  697. }
  698. .data-table.table_fave_blog_posts .col_action {
  699. width: 6rem;
  700. text-align: right;
  701. }
  702. /* Admin table: table_blog_cats */
  703. .data-table.table_fave_blog_cats .col_action {
  704. width: 6rem;
  705. text-align: right;
  706. }
  707. /* Admin table: table_fave_shop_products */
  708. .data-table.table_fave_shop_products .col_price {
  709. width: 8rem;
  710. }
  711. .data-table.table_fave_shop_products .col_datetime {
  712. width: 8rem;
  713. }
  714. .data-table.table_fave_shop_products .col_active {
  715. width: 5rem;
  716. }
  717. .data-table.table_fave_shop_products .col_action {
  718. width: 6rem;
  719. text-align: right;
  720. }
  721. .data-table.table_fave_shop_products .col_quantity {
  722. width: 8rem;
  723. }
  724. .data-table.table_fave_shop_products .col_total {
  725. width: 8rem;
  726. }
  727. /* Admin table: table_fave_shop_cats */
  728. .data-table.table_fave_shop_cats .col_action {
  729. width: 6rem;
  730. text-align: right;
  731. }
  732. /* Admin table: table_fave_shop_filters */
  733. .data-table.table_fave_shop_filters .col_action {
  734. width: 6rem;
  735. text-align: right;
  736. }
  737. /* Admin table: table_fave_shop_currencies */
  738. .data-table.table_fave_shop_currencies .col_coefficient {
  739. width: 7rem;
  740. }
  741. .data-table.table_fave_shop_currencies .col_action {
  742. width: 6rem;
  743. text-align: right;
  744. }
  745. /* Admin table: table_fave_users */
  746. .data-table.table_fave_users .col_active,
  747. .data-table.table_fave_users .col_admin {
  748. width: 5rem;
  749. }
  750. .data-table.table_fave_users .col_action {
  751. width: 6rem;
  752. text-align: right;
  753. }
  754. /* Admin table: table_fave_notify_mail */
  755. .data-table.table_fave_notify_mail .col_datetime {
  756. width: 8rem;
  757. }
  758. .data-table.table_fave_notify_mail .col_status {
  759. width: 5rem;
  760. }
  761. /* Admin table: table_fave_shop_orders */
  762. .data-table.table_fave_shop_orders .col_id {
  763. width: 7rem;
  764. }
  765. .data-table.table_fave_shop_orders .col_create_datetime {
  766. width: 8rem;
  767. }
  768. .data-table.table_fave_shop_orders .col_client_email {
  769. width: 8rem;
  770. }
  771. /* Admin data form */
  772. .data-form label {
  773. font-weight: bold;
  774. margin-top: .45rem;
  775. margin-bottom: .45rem;
  776. }
  777. .data-form small {
  778. color: #aeb8bc;
  779. }
  780. .data-form > div:nth-last-child(2) {
  781. margin-bottom: 0px;
  782. }
  783. .data-form textarea {
  784. min-height: 5.4rem;
  785. }
  786. /* Checkbox style iOS */
  787. .checkbox-ios {
  788. display: inline-block;
  789. }
  790. .checkbox-ios input[type=checkbox] {
  791. max-height: 0;
  792. max-width: 0;
  793. opacity: 0;
  794. position: absolute;
  795. }
  796. .checkbox-ios input[type=checkbox] + label {
  797. display: block;
  798. position: relative;
  799. box-shadow: inset 0 0 0 1px #ced4da;
  800. background: #ced4da;
  801. text-indent: -5000px;
  802. height: 30px;
  803. width: 60px;
  804. border-radius: 1.5rem;
  805. cursor: pointer;
  806. margin-top: 0px;
  807. margin-bottom: 0px;
  808. }
  809. .checkbox-ios input[type=checkbox] + label:before {
  810. content: "";
  811. position: absolute;
  812. display: block;
  813. height: 30px;
  814. width: 30px;
  815. top: 0px;
  816. left: 0px;
  817. border-radius: 1.5rem;
  818. background: rgba(19, 191, 17, 0);
  819. -moz-transition: .10s ease-in-out;
  820. -webkit-transition: .10s ease-in-out;
  821. transition: .10s ease-in-out;
  822. }
  823. .checkbox-ios input[type=checkbox] + label:after {
  824. content: "";
  825. position: absolute;
  826. display: block;
  827. height: 26px;
  828. width: 26px;
  829. top: 2px;
  830. left: 2px;
  831. border-radius: 1.5rem;
  832. background: #fff;
  833. -moz-transition: .10s ease-in-out;
  834. -webkit-transition: .10s ease-in-out;
  835. transition: .10s ease-in-out;
  836. }
  837. .checkbox-ios input[type=checkbox]:checked + label:before {
  838. width: 60px;
  839. background: #1a73e8;
  840. }
  841. .checkbox-ios input[type=checkbox]:checked + label:after {
  842. left: 32px;
  843. }
  844. /* Checkbox style clickable */
  845. .checkbox-clickable {
  846. display: inline-block;
  847. -webkit-touch-callout: none;
  848. -webkit-user-select: none;
  849. -khtml-user-select: none;
  850. -moz-user-select: none;
  851. -ms-user-select: none;
  852. user-select: none;
  853. margin-right: 0.5rem;
  854. }
  855. .checkbox-clickable:last-child {
  856. margin-right: 0;
  857. }
  858. .checkbox-clickable input[type=checkbox] {
  859. max-height: 0;
  860. max-width: 0;
  861. opacity: 0;
  862. position: absolute;
  863. }
  864. .checkbox-clickable input[type=checkbox] + label {
  865. display: block;
  866. position: relative;
  867. box-shadow: inset 0 0 0 1px #ced4da;
  868. background: #e9ecef;
  869. height: 28px;
  870. border-radius: 1.5rem;
  871. cursor: pointer;
  872. margin-top: 0.1rem;
  873. margin-bottom: 0.1rem;
  874. padding: 0px 1rem;
  875. line-height: 1.8rem;
  876. font-size: 14px;
  877. color: #abb3bb;
  878. }
  879. .checkbox-clickable input[type=checkbox]:checked + label {
  880. box-shadow: inset 0 0 0 1px #1a73e8;
  881. background: #1a73e8;
  882. color: #fff;
  883. }
  884. /* Admin dynamic fields */
  885. .list-wrapper {
  886. background: #e9ecef;
  887. padding: 1rem;
  888. border-radius: .25rem;
  889. }
  890. .btn-dynamic-remove {
  891. position: absolute;
  892. top: 0px;
  893. right: 0px;
  894. }
  895. /* Duplicate product */
  896. .product-copy,
  897. .product-another {
  898. position: relative;
  899. }
  900. .product-copy a,
  901. .product-another a {
  902. position: absolute;
  903. right: 0px;
  904. padding: 12px 18px;
  905. background: #e9ecef;
  906. color: #6c757d;
  907. border-radius: 0 .25rem .25rem 0;
  908. }
  909. .product-another a {
  910. right: 52px;
  911. }
  912. .product-copy a svg,
  913. .product-another a svg {
  914. fill: currentColor;
  915. }
  916. .product-copy a:hover,
  917. .product-another a:hover {
  918. color: #417cb9;
  919. }
  920. /* Product images */
  921. #list-images {
  922. display: block;
  923. }
  924. #list-images .attached-img {
  925. display: inline-block;
  926. padding: 1rem;
  927. background: white;
  928. margin-right: 1rem;
  929. margin-bottom: 1rem;
  930. border-radius: .25rem;
  931. position: relative;
  932. vertical-align: top;
  933. }
  934. #list-images .attached-img a {
  935. display: block;
  936. }
  937. #list-images .attached-img a img {
  938. width: 84px;
  939. height: 84px;
  940. }
  941. #list-images .attached-img a.remove {
  942. position: absolute;
  943. width: 24px;
  944. height: 24px;
  945. top: -12px;
  946. right: -12px;
  947. border-radius: 12px;
  948. background: #d9534f;
  949. text-align: center;
  950. cursor: pointer;
  951. }
  952. #list-images .attached-img a.remove:hover {
  953. background: #c9302c;
  954. }
  955. #list-images .attached-img a.remove svg {
  956. color: #fff;
  957. fill: currentColor;
  958. }
  959. #list-images .attached-img.sortable-ghost {
  960. opacity: 0.1;
  961. }
  962. #list-images.loading .attached-img {
  963. opacity: 0.1;
  964. }
  965. #list-images.loading .attached-img a.remove {
  966. display: none;
  967. }
  968. #upload-msg {
  969. position: absolute;
  970. background: white;
  971. width: 100%;
  972. height: 100%;
  973. border: 1px solid #ced4da;
  974. border-radius: .25rem;
  975. padding: .375rem .75rem;
  976. display: none;
  977. }
  978. /* Files manager */
  979. .data-table.table_fm_files .col_name {
  980. max-width: 10rem;
  981. }
  982. .data-table.table_fm_files .col_type {
  983. width: 8rem;
  984. }
  985. .data-table.table_fm_files .col_action {
  986. width: 6rem;
  987. text-align: right;
  988. }
  989. .data-table.table_fm_files .col_name a {
  990. display: block;
  991. }
  992. #sys-modal-files-manager #fmfiles {
  993. display: block;
  994. }
  995. #sys-modal-files-manager button.upload {
  996. display: none;
  997. width: 100%;
  998. }
  999. #sys-modal-files-manager.uploading #fmfiles {
  1000. display: none;
  1001. }
  1002. #sys-modal-files-manager.uploading button.upload {
  1003. display: block;
  1004. }
  1005. .fm-loading {
  1006. min-width: 99px;
  1007. min-height: 99px;
  1008. background: #fff url(/assets/cp/img-load.gif) no-repeat 50% 50% !important;
  1009. }
  1010. /* Fix for bootstrap select */
  1011. .dropdown.bootstrap-select {
  1012. position: relative;
  1013. }
  1014. .dropdown.bootstrap-select select {
  1015. position: static !important;
  1016. }
  1017. .dropdown.bootstrap-select button.dropdown-toggle {
  1018. position: absolute;
  1019. top: 0px;
  1020. left: 0px;
  1021. }
  1022. /* Bootstrap fixes */
  1023. #sys-modal-user-settings {
  1024. padding-right: 0px !important;
  1025. }
  1026. /* Wysiwyg */
  1027. textarea.form-control.wysiwyg {
  1028. min-height: 340px;
  1029. }
  1030. div.wysiwyg.focused {
  1031. background-color: #fff;
  1032. border-color: #80bdff;
  1033. outline: 0;
  1034. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
  1035. }
  1036. /* CodeMirror */
  1037. .CodeMirror {
  1038. border: 1px solid #eee;
  1039. height: auto;
  1040. }
  1041. .CodeMirror pre > * {
  1042. text-indent: 0px;
  1043. }
  1044. /* Bootstrap buttons */
  1045. .btn-primary {
  1046. background-color: #1a73e8;
  1047. border-color: #1a73e8;
  1048. color: #fff;
  1049. }
  1050. .btn-primary:hover {
  1051. background: rgba(26, 115, 232, 0.761);
  1052. }
  1053. .btn-secondary {
  1054. background: transparent;
  1055. border-color: #dadce0;
  1056. color: #1a73e8;
  1057. font-weight: 500;
  1058. }
  1059. .btn-secondary:hover {
  1060. background: rgba(66, 133, 244, 0.04);
  1061. border-color: #d2e3fc;
  1062. color: #1a73e8;
  1063. }
  1064. /* Bootstrap select */
  1065. .bs-searchbox,
  1066. .bs-actionsbox,
  1067. .bs-donebutton {
  1068. padding: 0px 8px 8px 8px;
  1069. }
  1070. .bootstrap-select button.btn {
  1071. outline: 0;
  1072. border-color: #ced4da;
  1073. }
  1074. .bootstrap-select button.btn:active,
  1075. .bootstrap-select button.btn:hover,
  1076. .bootstrap-select button.btn:focus {
  1077. outline: 0 !important;
  1078. }
  1079. .bootstrap-select ul.dropdown-menu li {
  1080. background-color: transparent;
  1081. }
  1082. .bootstrap-select.form-control.show {
  1083. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
  1084. }
  1085. .bootstrap-select.form-control.show button.btn {
  1086. border-color: #80bdff;
  1087. background-color: #fff;
  1088. }
  1089. .bootstrap-select .dropdown-menu li a.selected {
  1090. background-color: #007bff;
  1091. color: #fff;
  1092. }
  1093. .bootstrap-select .dropdown-menu.show {
  1094. padding-bottom: 0px !important;
  1095. }
  1096. /* Dotted text */
  1097. .text-dotted {
  1098. white-space: nowrap;
  1099. overflow: hidden;
  1100. text-overflow: ellipsis;
  1101. display: inline-block;
  1102. max-width: 100%;
  1103. margin-bottom: -0.5rem;
  1104. }
  1105. /* Mobile fixes */
  1106. @media (min-width: 992px) {
  1107. body.cp.cp-sidebar-right .wrap .sidebar.sidebar-right.d-lg-table-cell {
  1108. display: table-cell !important;
  1109. }
  1110. .data-form .row .sys-messages .alert {
  1111. margin-top: 1rem;
  1112. margin-bottom: 0px;
  1113. }
  1114. .data-form .form-group.last {
  1115. margin-bottom: 0px;
  1116. }
  1117. .data-form.index-add .form-group.n9,
  1118. .data-form.index-modify .form-group.n9 {
  1119. margin-bottom: 0px;
  1120. }
  1121. .data-form.blog-add .form-group.n8,
  1122. .data-form.blog-modify .form-group.n8 {
  1123. margin-bottom: 0px;
  1124. }
  1125. .data-form.blog-categories-add .form-group.n4,
  1126. .data-form.blog-categories-modify .form-group.n4 {
  1127. margin-bottom: 0px;
  1128. }
  1129. .data-form.shop-add .form-group.n15,
  1130. .data-form.shop-modify .form-group.n15 {
  1131. margin-bottom: 0px;
  1132. }
  1133. .data-form.shop-categories-add .form-group.n4,
  1134. .data-form.shop-categories-modify .form-group.n4 {
  1135. margin-bottom: 0px;
  1136. }
  1137. .data-form.shop-attributes-add .form-group.n4,
  1138. .data-form.shop-attributes-modify .form-group.n4 {
  1139. margin-bottom: 0px;
  1140. }
  1141. .data-form.shop-currencies-add .form-group.n5,
  1142. .data-form.shop-currencies-modify .form-group.n5 {
  1143. margin-bottom: 0px;
  1144. }
  1145. .data-form.users-add .form-group.n7,
  1146. .data-form.users-modify .form-group.n7 {
  1147. margin-bottom: 0px;
  1148. }
  1149. .data-form.settings-pagination .form-group.n2 {
  1150. margin-bottom: 0px;
  1151. }
  1152. }
  1153. @media (max-width: 575px) {
  1154. /* Less then 576px */
  1155. body.cp {
  1156. height: auto;
  1157. overflow: scroll;
  1158. }
  1159. body.cp .wrap .sidebar {
  1160. width: auto;
  1161. box-shadow: none;
  1162. }
  1163. body.cp .wrap .content {
  1164. padding-top: 0rem;
  1165. }
  1166. }
  1167. @media (max-width: 767px) {
  1168. /* Less then 768px */
  1169. .navbar-expand-md .navbar-collapse {
  1170. padding: 1rem;
  1171. background: #417cb9;
  1172. box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, .3);
  1173. border-radius: .25rem;
  1174. }
  1175. }