cp.styles.css 28 KB

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