cp.styles.css 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337
  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. /* Control panel skeleton */
  505. body.cp {
  506. 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";
  507. background: initial;
  508. background-color: #fff;
  509. font-size: 1rem;
  510. font-weight: 400;
  511. line-height: 1.5;
  512. color: #444;
  513. width: 100%;
  514. height: 100%;
  515. overflow: hidden;
  516. }
  517. body.cp nav.main {
  518. height: 3.5rem;
  519. box-shadow: 0 0 5px 4px rgba(0, 0, 0, 0.25);
  520. }
  521. body.cp nav.main.bg-dark {
  522. background: #205081 url(/assets/sys/bg.png) repeat 0 0 !important;
  523. }
  524. body.cp nav.main a.navbar-brand {
  525. font-weight: bold;
  526. }
  527. body.cp .wrap {
  528. width: 100%;
  529. height: 100%;
  530. display: table;
  531. align-items: stretch;
  532. }
  533. body.cp .wrap .sidebar,
  534. body.cp .wrap .content {
  535. display: table-cell;
  536. position: relative;
  537. padding-top: 3.5rem;
  538. vertical-align: top;
  539. }
  540. body.cp .wrap .sidebar.sidebar-right {
  541. display: none !important;
  542. }
  543. body.cp .wrap .sidebar-right .padd,
  544. body.cp .wrap .content .padd {
  545. padding: 1rem 1rem;
  546. }
  547. body.cp .wrap .scroll {
  548. height: 100%;
  549. overflow: hidden;
  550. overflow-y: auto;
  551. }
  552. body.cp .wrap .sidebar {
  553. width: 15.4rem;
  554. background: #eee;
  555. box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, .3);
  556. }
  557. body.cp .wrap .sidebar .dropdown-divider {
  558. border-color: #d6d6d6;
  559. margin: 0px;
  560. }
  561. body.cp .wrap .sidebar.sidebar-left ul.nav {
  562. padding: 1rem 0px;
  563. }
  564. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-separator {
  565. height: 1rem;
  566. }
  567. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item a {
  568. color: #444;
  569. }
  570. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active {
  571. background-color: #417cb9;
  572. }
  573. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active a {
  574. color: #fff;
  575. }
  576. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:hover {
  577. background-color: #e7e7e7;
  578. }
  579. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item.active:hover {
  580. background-color: #417cb9;
  581. }
  582. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav {
  583. background: #eee;
  584. padding-top: 0px;
  585. }
  586. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item a {
  587. color: #444;
  588. padding-left: 2rem;
  589. }
  590. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item.active {
  591. background-color: #e7e7e7;
  592. }
  593. body.cp .wrap .sidebar.sidebar-left ul.nav ul.nav li.nav-item.active a {
  594. color: #417cb9;
  595. }
  596. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item:last-child ul {
  597. padding-bottom: 0px;
  598. }
  599. body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item svg.sicon {
  600. fill: currentColor;
  601. margin-right: 0.3rem;
  602. margin-bottom: 1px;
  603. }
  604. /* SVG colors */
  605. .svg-green svg {
  606. fill: currentColor;
  607. color: #28a745;
  608. }
  609. .svg-red svg {
  610. fill: currentColor;
  611. color: #d9534f;
  612. }
  613. .svg-yellow svg {
  614. fill: currentColor;
  615. color: #f0ad4e;
  616. }
  617. /* Pagination */
  618. ul.pagination {
  619. margin-top: 1rem;
  620. }
  621. /* Admin table */
  622. .data-table {
  623. margin-bottom: 0px;
  624. }
  625. .data-table.table-hover tbody tr:hover {
  626. background-color: #fffbdf;
  627. }
  628. .data-table a svg {
  629. fill: currentColor;
  630. color: #007bff;
  631. }
  632. .data-table a:hover svg {
  633. color: #0056b3;
  634. }
  635. .data-table a.ico.delete svg {
  636. color: #d9534f;
  637. }
  638. .data-table a.ico.delete:hover svg {
  639. color: #c9302c;
  640. }
  641. .data-table td.col_action a.ico {
  642. display: inline-block;
  643. width: 1rem;
  644. height: 1rem;
  645. margin-right: 0.6rem;
  646. }
  647. .data-table td.col_action a.ico:last-child {
  648. margin-right: 0px;
  649. }
  650. .data-table thead tr {
  651. background-color: #e9ecef;
  652. }
  653. .data-table.table-bordered td,
  654. .data-table.table-bordered th {
  655. border: none;
  656. border-top: 1px solid #dee2e6;
  657. }
  658. .data-table.table-bordered td .parent,
  659. .data-table.table-bordered td .parent a {
  660. color: #adafb2;
  661. }
  662. /* Admin table: table_pages */
  663. .data-table.table_pages .col_datetime {
  664. width: 8rem;
  665. }
  666. .data-table.table_pages .col_active {
  667. width: 5rem;
  668. }
  669. .data-table.table_pages .col_action {
  670. width: 6rem;
  671. text-align: right;
  672. }
  673. /* Admin table: table_blog_posts */
  674. .data-table.table_blog_posts .col_datetime {
  675. width: 8rem;
  676. }
  677. .data-table.table_blog_posts .col_active {
  678. width: 5rem;
  679. }
  680. .data-table.table_blog_posts .col_action {
  681. width: 6rem;
  682. text-align: right;
  683. }
  684. /* Admin table: table_blog_cats */
  685. .data-table.table_blog_cats .col_action {
  686. width: 6rem;
  687. text-align: right;
  688. }
  689. /* Admin table: table_shop_products */
  690. .data-table.table_shop_products .col_price {
  691. width: 8rem;
  692. }
  693. .data-table.table_shop_products .col_datetime {
  694. width: 8rem;
  695. }
  696. .data-table.table_shop_products .col_active {
  697. width: 5rem;
  698. }
  699. .data-table.table_shop_products .col_action {
  700. width: 6rem;
  701. text-align: right;
  702. }
  703. .data-table.table_shop_products .col_quantity {
  704. width: 8rem;
  705. }
  706. .data-table.table_shop_products .col_total {
  707. width: 8rem;
  708. }
  709. /* Admin table: table_shop_cats */
  710. .data-table.table_shop_cats .col_action {
  711. width: 6rem;
  712. text-align: right;
  713. }
  714. /* Admin table: table_shop_filters */
  715. .data-table.table_shop_filters .col_action {
  716. width: 6rem;
  717. text-align: right;
  718. }
  719. /* Admin table: table_shop_currencies */
  720. .data-table.table_shop_currencies .col_coefficient {
  721. width: 7rem;
  722. }
  723. .data-table.table_shop_currencies .col_action {
  724. width: 6rem;
  725. text-align: right;
  726. }
  727. /* Admin table: table_users */
  728. .data-table.table_users .col_active,
  729. .data-table.table_users .col_admin {
  730. width: 5rem;
  731. }
  732. .data-table.table_users .col_action {
  733. width: 6rem;
  734. text-align: right;
  735. }
  736. /* Admin table: table_pages */
  737. .data-table.table_notify_mail .col_datetime {
  738. width: 8rem;
  739. }
  740. .data-table.table_notify_mail .col_status {
  741. width: 5rem;
  742. }
  743. /* Admin table: table_shop_orders */
  744. .data-table.table_shop_orders .col_id {
  745. width: 7rem;
  746. }
  747. .data-table.table_shop_orders .col_create_datetime {
  748. width: 8rem;
  749. }
  750. .data-table.table_shop_orders .col_client_email {
  751. width: 8rem;
  752. }
  753. /* Admin data form */
  754. .data-form label {
  755. font-weight: bold;
  756. margin-top: .45rem;
  757. margin-bottom: .45rem;
  758. }
  759. .data-form small {
  760. color: #aeb8bc;
  761. }
  762. .data-form > div:nth-last-child(2) {
  763. margin-bottom: 0px;
  764. }
  765. .data-form textarea {
  766. min-height: 5.4rem;
  767. }
  768. /* Checkbox style iOS */
  769. .checkbox-ios {
  770. display: inline-block;
  771. }
  772. .checkbox-ios input[type=checkbox] {
  773. max-height: 0;
  774. max-width: 0;
  775. opacity: 0;
  776. position: absolute;
  777. }
  778. .checkbox-ios input[type=checkbox] + label {
  779. display: block;
  780. position: relative;
  781. box-shadow: inset 0 0 0 1px #ced4da;
  782. background: #ced4da;
  783. text-indent: -5000px;
  784. height: 30px;
  785. width: 60px;
  786. border-radius: 1.5rem;
  787. cursor: pointer;
  788. margin-top: 0px;
  789. margin-bottom: 0px;
  790. }
  791. .checkbox-ios input[type=checkbox] + label:before {
  792. content: "";
  793. position: absolute;
  794. display: block;
  795. height: 30px;
  796. width: 30px;
  797. top: 0px;
  798. left: 0px;
  799. border-radius: 1.5rem;
  800. background: rgba(19, 191, 17, 0);
  801. -moz-transition: .10s ease-in-out;
  802. -webkit-transition: .10s ease-in-out;
  803. transition: .10s ease-in-out;
  804. }
  805. .checkbox-ios input[type=checkbox] + label:after {
  806. content: "";
  807. position: absolute;
  808. display: block;
  809. height: 26px;
  810. width: 26px;
  811. top: 2px;
  812. left: 2px;
  813. border-radius: 1.5rem;
  814. background: #fff;
  815. -moz-transition: .10s ease-in-out;
  816. -webkit-transition: .10s ease-in-out;
  817. transition: .10s ease-in-out;
  818. }
  819. .checkbox-ios input[type=checkbox]:checked + label:before {
  820. width: 60px;
  821. background: #1a73e8;
  822. }
  823. .checkbox-ios input[type=checkbox]:checked + label:after {
  824. left: 32px;
  825. }
  826. /* Checkbox style clickable */
  827. .checkbox-clickable {
  828. display: inline-block;
  829. -webkit-touch-callout: none;
  830. -webkit-user-select: none;
  831. -khtml-user-select: none;
  832. -moz-user-select: none;
  833. -ms-user-select: none;
  834. user-select: none;
  835. margin-right: 0.5rem;
  836. }
  837. .checkbox-clickable:last-child {
  838. margin-right: 0;
  839. }
  840. .checkbox-clickable input[type=checkbox] {
  841. max-height: 0;
  842. max-width: 0;
  843. opacity: 0;
  844. position: absolute;
  845. }
  846. .checkbox-clickable input[type=checkbox] + label {
  847. display: block;
  848. position: relative;
  849. box-shadow: inset 0 0 0 1px #ced4da;
  850. background: #e9ecef;
  851. height: 28px;
  852. border-radius: 1.5rem;
  853. cursor: pointer;
  854. margin-top: 0.1rem;
  855. margin-bottom: 0.1rem;
  856. padding: 0px 1rem;
  857. line-height: 1.8rem;
  858. font-size: 14px;
  859. color: #abb3bb;
  860. }
  861. .checkbox-clickable input[type=checkbox]:checked + label {
  862. box-shadow: inset 0 0 0 1px #1a73e8;
  863. background: #1a73e8;
  864. color: #fff;
  865. }
  866. /* Admin dynamic fields */
  867. .list-wrapper {
  868. background: #e9ecef;
  869. padding: 1rem;
  870. border-radius: .25rem;
  871. }
  872. .btn-dynamic-remove {
  873. position: absolute;
  874. top: 0px;
  875. right: 0px;
  876. }
  877. /* Duplicate product */
  878. .product-copy,
  879. .product-another {
  880. position: relative;
  881. }
  882. .product-copy a,
  883. .product-another a {
  884. position: absolute;
  885. right: 0px;
  886. padding: 12px 18px;
  887. background: #e9ecef;
  888. color: #6c757d;
  889. border-radius: 0 .25rem .25rem 0;
  890. }
  891. .product-another a {
  892. right: 52px;
  893. }
  894. .product-copy a svg,
  895. .product-another a svg {
  896. fill: currentColor;
  897. }
  898. .product-copy a:hover,
  899. .product-another a:hover {
  900. color: #417cb9;
  901. }
  902. /* Product images */
  903. #list-images {
  904. display: block;
  905. }
  906. #list-images .attached-img {
  907. display: inline-block;
  908. padding: 1rem;
  909. background: white;
  910. margin-right: 1rem;
  911. margin-bottom: 1rem;
  912. border-radius: .25rem;
  913. position: relative;
  914. vertical-align: top;
  915. }
  916. #list-images .attached-img a {
  917. display: block;
  918. }
  919. #list-images .attached-img a img {
  920. width: 84px;
  921. height: 84px;
  922. }
  923. #list-images .attached-img a.remove {
  924. position: absolute;
  925. width: 24px;
  926. height: 24px;
  927. top: -12px;
  928. right: -12px;
  929. border-radius: 12px;
  930. background: #d9534f;
  931. text-align: center;
  932. cursor: pointer;
  933. }
  934. #list-images .attached-img a.remove:hover {
  935. background: #c9302c;
  936. }
  937. #list-images .attached-img a.remove svg {
  938. color: #fff;
  939. fill: currentColor;
  940. }
  941. #list-images .attached-img.sortable-ghost {
  942. opacity: 0.1;
  943. }
  944. #list-images.loading .attached-img {
  945. opacity: 0.1;
  946. }
  947. #list-images.loading .attached-img a.remove {
  948. display: none;
  949. }
  950. #upload-msg {
  951. position: absolute;
  952. background: white;
  953. width: 100%;
  954. height: 100%;
  955. border: 1px solid #ced4da;
  956. border-radius: .25rem;
  957. padding: .375rem .75rem;
  958. display: none;
  959. }
  960. /* Fix for bootstrap select */
  961. .dropdown.bootstrap-select {
  962. position: relative;
  963. }
  964. .dropdown.bootstrap-select select {
  965. position: static !important;
  966. }
  967. .dropdown.bootstrap-select button.dropdown-toggle {
  968. position: absolute;
  969. top: 0px;
  970. left: 0px;
  971. }
  972. /* Bootstrap fixes */
  973. #sys-modal-user-settings {
  974. padding-right: 0px !important;
  975. }
  976. /* Wysiwyg */
  977. textarea.form-control.wysiwyg {
  978. min-height: 340px;
  979. }
  980. div.wysiwyg.focused {
  981. background-color: #fff;
  982. border-color: #80bdff;
  983. outline: 0;
  984. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
  985. }
  986. /* CodeMirror */
  987. .CodeMirror {
  988. border: 1px solid #eee;
  989. height: auto;
  990. }
  991. .CodeMirror pre > * {
  992. text-indent: 0px;
  993. }
  994. /* Bootstrap buttons */
  995. .btn-primary {
  996. background-color: #1a73e8;
  997. border-color: #1a73e8;
  998. color: #fff;
  999. }
  1000. .btn-primary:hover {
  1001. background: rgba(26, 115, 232, 0.761);
  1002. }
  1003. .btn-secondary {
  1004. background: transparent;
  1005. border-color: #dadce0;
  1006. color: #1a73e8;
  1007. font-weight: 500;
  1008. }
  1009. .btn-secondary:hover {
  1010. background: rgba(66, 133, 244, 0.04);
  1011. border-color: #d2e3fc;
  1012. color: #1a73e8;
  1013. }
  1014. /* Bootstrap select */
  1015. .bs-searchbox,
  1016. .bs-actionsbox,
  1017. .bs-donebutton {
  1018. padding: 0px 8px 8px 8px;
  1019. }
  1020. .bootstrap-select button.btn {
  1021. outline: 0;
  1022. border-color: #ced4da;
  1023. }
  1024. .bootstrap-select button.btn:active,
  1025. .bootstrap-select button.btn:hover,
  1026. .bootstrap-select button.btn:focus {
  1027. outline: 0 !important;
  1028. }
  1029. .bootstrap-select ul.dropdown-menu li {
  1030. background-color: transparent;
  1031. }
  1032. .bootstrap-select.form-control.show {
  1033. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
  1034. }
  1035. .bootstrap-select.form-control.show button.btn {
  1036. border-color: #80bdff;
  1037. background-color: #fff;
  1038. }
  1039. .bootstrap-select .dropdown-menu li a.selected {
  1040. background-color: #007bff;
  1041. color: #fff;
  1042. }
  1043. .bootstrap-select .dropdown-menu.show {
  1044. padding-bottom: 0px !important;
  1045. }
  1046. /* Mobile fixes */
  1047. @media (min-width: 992px) {
  1048. body.cp.cp-sidebar-right .wrap .sidebar.sidebar-right.d-lg-table-cell {
  1049. display: table-cell !important;
  1050. }
  1051. .data-form .row .sys-messages .alert {
  1052. margin-top: 1rem;
  1053. margin-bottom: 0px;
  1054. }
  1055. .data-form .form-group.last {
  1056. margin-bottom: 0px;
  1057. }
  1058. .data-form.index-add .form-group.n8,
  1059. .data-form.index-modify .form-group.n8 {
  1060. margin-bottom: 0px;
  1061. }
  1062. .data-form.blog-add .form-group.n8,
  1063. .data-form.blog-modify .form-group.n8 {
  1064. margin-bottom: 0px;
  1065. }
  1066. .data-form.blog-categories-add .form-group.n4,
  1067. .data-form.blog-categories-modify .form-group.n4 {
  1068. margin-bottom: 0px;
  1069. }
  1070. .data-form.shop-add .form-group.n15,
  1071. .data-form.shop-modify .form-group.n15 {
  1072. margin-bottom: 0px;
  1073. }
  1074. .data-form.shop-categories-add .form-group.n4,
  1075. .data-form.shop-categories-modify .form-group.n4 {
  1076. margin-bottom: 0px;
  1077. }
  1078. .data-form.shop-attributes-add .form-group.n4,
  1079. .data-form.shop-attributes-modify .form-group.n4 {
  1080. margin-bottom: 0px;
  1081. }
  1082. .data-form.shop-currencies-add .form-group.n5,
  1083. .data-form.shop-currencies-modify .form-group.n5 {
  1084. margin-bottom: 0px;
  1085. }
  1086. .data-form.users-add .form-group.n7,
  1087. .data-form.users-modify .form-group.n7 {
  1088. margin-bottom: 0px;
  1089. }
  1090. .data-form.settings-pagination .form-group.n2 {
  1091. margin-bottom: 0px;
  1092. }
  1093. }
  1094. @media (max-width: 575px) {
  1095. /* Less then 576px */
  1096. body.cp {
  1097. height: auto;
  1098. overflow: scroll;
  1099. }
  1100. body.cp .wrap .sidebar {
  1101. width: auto;
  1102. box-shadow: none;
  1103. }
  1104. body.cp .wrap .content {
  1105. padding-top: 0rem;
  1106. }
  1107. }
  1108. @media (max-width: 767px) {
  1109. /* Less then 768px */
  1110. .navbar-expand-md .navbar-collapse {
  1111. padding: 1rem;
  1112. background: #417cb9;
  1113. box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, .3);
  1114. border-radius: .25rem;
  1115. }
  1116. }