cp.styles.css.go 25 KB

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