templatemo-style


SUBMITTED BY: saiwara

DATE: March 15, 2019, 3:25 a.m.

FORMAT: Text only

SIZE: 13.0 kB

HITS: 589

  1. /*
  2. Product Admin CSS Template
  3. https://templatemo.com/tm-524-product-admin
  4. */
  5. html {
  6. font-size: 16px;
  7. overflow-x: hidden;
  8. }
  9. body {
  10. font-family: Roboto, Helvetica, Arial, sans-serif;
  11. background-color: #4e657a;
  12. overflow-x: hidden;
  13. }
  14. a {
  15. transition: all 0.3s ease;
  16. }
  17. a:focus,
  18. a:hover {
  19. text-decoration: none;
  20. }
  21. button:focus {
  22. outline: 0;
  23. }
  24. .navbar-brand {
  25. display: flex;
  26. align-items: center;
  27. }
  28. .tm-site-icon {
  29. color: #656565;
  30. }
  31. .tm-site-title {
  32. display: inline-block;
  33. text-transform: uppercase;
  34. font-size: 1.3rem;
  35. font-weight: 700;
  36. color: #fff;
  37. }
  38. .navbar {
  39. height: 100px;
  40. background-color: #567086;
  41. padding: 0;
  42. }
  43. .navbar .container {
  44. position: relative;
  45. }
  46. .tm-logout-icon {
  47. font-size: 1.5em;
  48. }
  49. .tm-mt-big {
  50. margin-top: 57px;
  51. }
  52. .tm-mb-big {
  53. margin-bottom: 60px;
  54. }
  55. .tm-mt-small {
  56. margin-top: 20px;
  57. }
  58. .tm-block-col {
  59. margin-bottom: 30px;
  60. }
  61. .tm-block {
  62. padding: 40px;
  63. -webkit-box-shadow: 1px 1px 5px 0 #455c71;
  64. -moz-box-shadow: 1px 1px 5px 0 #455c71;
  65. box-shadow: 1px 1px 5px 0 #455c71;
  66. min-height: 350px;
  67. height: 100%;
  68. max-height: 450px;
  69. }
  70. .tm-block-avatar,
  71. .tm-block-settings {
  72. max-height: none;
  73. }
  74. .tm-block-avatar {
  75. height: auto;
  76. }
  77. .tm-block-h-auto {
  78. min-height: 1px;
  79. max-height: none;
  80. height: auto;
  81. }
  82. .tm-block-scroll {
  83. overflow-y: scroll;
  84. }
  85. .tm-block-overflow {
  86. overflow: hidden;
  87. }
  88. .tm-block-title {
  89. font-size: 1.1rem;
  90. font-weight: 700;
  91. color: #fff;
  92. margin-bottom: 30px;
  93. }
  94. .nav-link {
  95. color: #fff;
  96. height: 100%;
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. flex-direction: column;
  101. font-size: 90%;
  102. }
  103. .nav-link > i {
  104. margin-bottom: 10px;
  105. margin-right: 0;
  106. font-size: 1.5rem;
  107. }
  108. .dropdown-item,
  109. .nav-link {
  110. padding: 15px 20px;
  111. }
  112. .dropdown-menu {
  113. font-size: 90%;
  114. color: #fff;
  115. background-color: #567086;
  116. border-radius: 0;
  117. padding-top: 10px;
  118. padding-bottom: 10px;
  119. min-width: auto;
  120. }
  121. .dropdown-item {
  122. color: #fff;
  123. padding: 15px 30px;
  124. }
  125. .navbar-nav .active > .nav-link,
  126. .navbar-nav .nav-link.active {
  127. background-color: #f5a623;
  128. color: #fff;
  129. }
  130. .navbar-nav .nav-link.active i {
  131. color: #fff;
  132. }
  133. .dropdown-item:focus,
  134. .dropdown-item:hover {
  135. background-color: #567086;
  136. }
  137. .navbar-nav a:hover,
  138. .navbar-nav a:hover i {
  139. color: #f5a623;
  140. }
  141. .nav-item {
  142. text-align: center;
  143. }
  144. .nav-item:last-child {
  145. margin-right: 0;
  146. }
  147. .dropdown-toggle::after {
  148. display: none;
  149. }
  150. .dropdown-menu {
  151. margin-top: 0;
  152. border: 0;
  153. }
  154. .tm-content-row {
  155. justify-content: space-between;
  156. margin-left: -20px;
  157. margin-right: -20px;
  158. }
  159. .tm-col {
  160. padding-left: 20px;
  161. padding-right: 20px;
  162. margin-bottom: 50px;
  163. }
  164. .tm-col-big {
  165. width: 39%;
  166. }
  167. .tm-col-small {
  168. width: 21.95%;
  169. }
  170. .tm-gray-circle {
  171. width: 80px;
  172. height: 80px;
  173. background-color: #aaa;
  174. border-radius: 50%;
  175. margin-right: 15px;
  176. }
  177. .tm-notification-items {
  178. overflow-y: scroll;
  179. height: 90%;
  180. }
  181. .tm-notification-item {
  182. padding: 15px;
  183. background-color: #4e657a;
  184. color: #fff;
  185. font-size: 95%;
  186. margin-bottom: 15px;
  187. }
  188. .tm-notification-item:last-child {
  189. margin-bottom: 0;
  190. }
  191. .tm-notification-link {
  192. color: #f5a623;
  193. }
  194. .tm-text-color-secondary {
  195. color: #bdcbd8;
  196. }
  197. .tm-small {
  198. font-size: 90%;
  199. }
  200. .table {
  201. background-color: #50697f;
  202. color: #fff;
  203. font-size: 85%;
  204. margin-bottom: 0;
  205. }
  206. thead {
  207. background-color: #486177;
  208. color: #fff;
  209. }
  210. .table thead th {
  211. border-bottom: 0;
  212. }
  213. .tm-status-circle {
  214. display: inline-block;
  215. margin-right: 5px;
  216. vertical-align: middle;
  217. width: 5px;
  218. height: 5px;
  219. border-radius: 50%;
  220. margin-top: -3px;
  221. }
  222. .moving {
  223. background-color: #9be64d;
  224. box-shadow: 0 0 8px #9be64d, inset 0 0 8px #9be64d;
  225. }
  226. .pending {
  227. background-color: #efc54b;
  228. box-shadow: 0 0 8px #efc54b, inset 0 0 8px #efc54b;
  229. }
  230. .cancelled {
  231. background-color: #da534f;
  232. box-shadow: 0 0 8px #da534f, inset 0 0 8px #da534f;
  233. }
  234. .tm-avatar {
  235. width: 345px;
  236. }
  237. .tm-avatar-container {
  238. position: relative;
  239. cursor: pointer;
  240. display: flex;
  241. align-items: center;
  242. flex-direction: column;
  243. }
  244. .tm-avatar-delete-link {
  245. position: absolute;
  246. left: 50%;
  247. top: 50%;
  248. margin-left: -25px;
  249. margin-top: -25px;
  250. z-index: 1000;
  251. padding: 14px;
  252. border-radius: 50%;
  253. background-color: rgba(57, 78, 100, 0.7);
  254. display: inline-block;
  255. width: 50px;
  256. height: 50px;
  257. text-align: center;
  258. display: none;
  259. transition: all 0.2s ease;
  260. }
  261. .tm-avatar-container:hover .tm-avatar-delete-link {
  262. display: block;
  263. }
  264. .tm-col-avatar {
  265. max-width: 425px;
  266. width: 37%;
  267. padding-left: 15px;
  268. padding-right: 15px;
  269. }
  270. .tm-col-account-settings {
  271. max-width: 822px;
  272. width: 63%;
  273. padding-left: 15px;
  274. padding-right: 15px;
  275. }
  276. .form-control {
  277. background-color: #54657d;
  278. color: #fff;
  279. border: 0;
  280. }
  281. .form-control:focus {
  282. background-color: #60738e;
  283. color: #fff;
  284. border-color: transparent;
  285. box-shadow: 0 0 0 0.1rem rgb(180, 206, 233, 0.5);
  286. }
  287. .form-group label {
  288. color: #fff;
  289. margin-bottom: 10px;
  290. }
  291. .tm-hide-sm {
  292. display: block;
  293. }
  294. .tm-list-group {
  295. counter-reset: myOrderedListItemsCounter;
  296. padding-left: 0;
  297. }
  298. .tm-list-group > li {
  299. list-style-type: none;
  300. position: relative;
  301. cursor: pointer;
  302. transition: all 0.3s ease;
  303. padding: 8px;
  304. }
  305. .tm-list-group > li:hover {
  306. color: #0266c4;
  307. }
  308. .tm-list-group > li:before {
  309. counter-increment: myOrderedListItemsCounter;
  310. content: counter(myOrderedListItemsCounter) ".";
  311. margin-right: 0.5em;
  312. }
  313. .tm-list {
  314. padding-left: 30px;
  315. }
  316. .tm-list > li {
  317. margin-bottom: 20px;
  318. }
  319. .form-control {
  320. padding: 19px 18px;
  321. border-radius: 0;
  322. height: 50px;
  323. }
  324. .form-group {
  325. margin-bottom: 15px;
  326. }
  327. .btn {
  328. border-radius: 0;
  329. padding: 13px 28px;
  330. transition: all 0.2s ease;
  331. max-width: 100%;
  332. }
  333. .btn-small {
  334. padding: 10px 24px;
  335. }
  336. .btn-primary {
  337. color: #fff;
  338. background-color: #f5a623;
  339. border: 2px solid #f5a623;
  340. font-size: 90%;
  341. font-weight: 600;
  342. }
  343. .btn-primary:active,
  344. .btn-primary:hover {
  345. color: #f5a623;
  346. background-color: transparent;
  347. border: 2px solid #f5a623;
  348. }
  349. .custom-file-input {
  350. cursor: pointer;
  351. }
  352. .custom-file-label {
  353. border-radius: 0;
  354. }
  355. .table td,
  356. .table th {
  357. border-top: 1px solid #415a70;
  358. padding: 15px 25px;
  359. vertical-align: middle;
  360. }
  361. .tm-table-small td,
  362. .tm-table-small th {
  363. padding-left: 12px;
  364. padding-right: 12px;
  365. }
  366. .table-hover tbody tr {
  367. transition: all 0.2s ease;
  368. }
  369. .table-hover tbody tr:hover {
  370. color: #a0c0de;
  371. }
  372. .tm-bg-primary-dark {
  373. background-color: #435c70;
  374. }
  375. .tm-bg-gray {
  376. background-color: rgba(0, 0, 0, 0.05);
  377. }
  378. .tm-table-mt {
  379. margin-top: 66px;
  380. }
  381. .page-item:first-child .page-link {
  382. border-top-left-radius: 0;
  383. border-bottom-left-radius: 0;
  384. }
  385. .page-item:last-child .page-link {
  386. border-top-right-radius: 0;
  387. border-bottom-right-radius: 0;
  388. }
  389. .page-link {
  390. padding: 12px 18px;
  391. }
  392. .page-link,
  393. .page-link:hover {
  394. color: #000;
  395. }
  396. .page-item {
  397. margin-right: 18px;
  398. }
  399. .page-item:last-child {
  400. margin-right: 0;
  401. }
  402. .page-item.active .page-link {
  403. background-color: #e9ecef;
  404. border-color: #dee2e6;
  405. color: #000;
  406. }
  407. input[type="checkbox"] {
  408. cursor: pointer;
  409. -webkit-appearance: none;
  410. appearance: none;
  411. background-color: #394e64;
  412. background-position: center;
  413. border-radius: 50%;
  414. box-sizing: border-box;
  415. position: relative;
  416. box-sizing: content-box;
  417. width: 24px;
  418. height: 24px;
  419. transition: all 0.1s linear;
  420. }
  421. input[type="checkbox"]:checked {
  422. background: url(../img/check-mark.png) #394e64 center no-repeat;
  423. }
  424. input[type="checkbox"]:focus {
  425. outline: 0 none;
  426. box-shadow: none;
  427. }
  428. .tm-block-products {
  429. min-height: 725px;
  430. }
  431. .tm-block-product-categories {
  432. min-height: 650px;
  433. }
  434. .tm-product-table-container {
  435. max-height: 465px;
  436. margin-bottom: 15px;
  437. overflow-y: scroll;
  438. }
  439. .tm-product-table tr {
  440. font-weight: 600;
  441. }
  442. .tm-product-name {
  443. font-size: 0.95rem;
  444. font-weight: 600;
  445. }
  446. .tm-product-delete-icon {
  447. font-size: 1.1rem;
  448. color: #fff;
  449. }
  450. .tm-product-delete-link {
  451. padding: 10px;
  452. border-radius: 50%;
  453. background-color: #394e64;
  454. display: inline-block;
  455. width: 40px;
  456. height: 40px;
  457. text-align: center;
  458. }
  459. .tm-product-delete-link:hover .tm-product-delete-icon {
  460. color: #6d8ca6;
  461. }
  462. .custom-select {
  463. width: 100%;
  464. border: none;
  465. color: #acc6de;
  466. height: 50px;
  467. -webkit-appearance: none;
  468. -moz-appearance: none;
  469. -ms-appearance: none;
  470. -o-appearance: none;
  471. appearance: none;
  472. -webkit-border-radius: 0;
  473. -moz-border-radius: 0;
  474. -ms-border-radius: 0;
  475. -o-border-radius: 0;
  476. border-radius: 0;
  477. padding: 15px;
  478. background: url(../img/arrow-down.png) 98% no-repeat #50657b;
  479. }
  480. .custom-select:focus {
  481. outline: 0;
  482. }
  483. .tm-trash-icon {
  484. color: #6e6c6c;
  485. cursor: pointer;
  486. }
  487. .tm-trash-icon:hover {
  488. color: #9f1321;
  489. }
  490. .tm-footer {
  491. background-color: #567086;
  492. padding-top: 30px;
  493. padding-bottom: 30px;
  494. -webkit-box-shadow: 0 -3px 5px 0 rgba(69, 92, 113, 0.59);
  495. -moz-box-shadow: 0 -3px 5px 0 rgba(69, 92, 113, 0.59);
  496. box-shadow: 0 -3px 5px 0 rgba(69, 92, 113, 0.59);
  497. }
  498. .custom-select {
  499. height: 50px;
  500. border-radius: 0;
  501. }
  502. .tm-product-img-dummy {
  503. max-width: 100%;
  504. height: 240px;
  505. display: flex;
  506. align-items: center;
  507. justify-content: center;
  508. color: #fff;
  509. background: #aaa;
  510. }
  511. .tm-product-img-edit {
  512. max-width: 100%;
  513. position: relative;
  514. }
  515. .tm-product-img-edit i {
  516. display: none;
  517. position: absolute;
  518. }
  519. .tm-product-img-edit:hover i {
  520. display: block;
  521. }
  522. .tm-upload-icon {
  523. background: #455c71;
  524. width: 55px;
  525. height: 55px;
  526. border-radius: 50%;
  527. text-align: center;
  528. padding-top: 15px;
  529. font-size: 22px;
  530. }
  531. .tm-login-col {
  532. max-width: 470px;
  533. }
  534. .navbar-toggler {
  535. border-color: #708da8;
  536. box-shadow: rgba(255, 255, 255, 0.1) 0 1px 1px 2px;
  537. border-radius: 0;
  538. padding: 10px 15px;
  539. transition: all 0.2s ease;
  540. }
  541. .navbar-toggler:hover {
  542. border-color: #f5a623;
  543. color: #f5a623;
  544. }
  545. .tm-nav-icon {
  546. color: #fff;
  547. }
  548. .navbar-toggler:hover .tm-nav-icon {
  549. color: #f5a623;
  550. }
  551. ::-webkit-scrollbar {
  552. width: 8px;
  553. height: 8px;
  554. }
  555. ::-webkit-scrollbar-track {
  556. background: #394f62;
  557. }
  558. ::-webkit-scrollbar-thumb {
  559. background: #6d8da6;
  560. }
  561. ::-webkit-scrollbar-thumb:hover {
  562. background: #8ab5d6;
  563. }
  564. .tm-footer-link {
  565. color: white;
  566. }
  567. .tm-footer-link:hover,
  568. .tm-footer-link:focus {
  569. color: #aacbea;
  570. }
  571. @media (min-width: 1200px) {
  572. .navbar-expand-xl .navbar-nav .nav-link {
  573. padding-left: 28px;
  574. padding-right: 28px;
  575. }
  576. .navbar-collapse {
  577. height: 100%;
  578. }
  579. }
  580. @media (min-width: 992px) {
  581. .navbar-expand-lg .navbar-nav .nav-link {
  582. padding: 15px 20px;
  583. }
  584. }
  585. @media (max-width: 1275px) and (min-width: 1200px) {
  586. .nav-item {
  587. margin-right: 15px;
  588. }
  589. }
  590. @media (max-width: 1350px) {
  591. .nav-item {
  592. margin-right: 1px;
  593. }
  594. }
  595. @media (max-width: 1199px) {
  596. .tm-col-big,
  597. .tm-col-small {
  598. width: 49.65%;
  599. }
  600. .navbar-collapse {
  601. padding: 0;
  602. box-shadow: rgba(255, 255, 255, 0.1) 0 1px 1px 1px;
  603. position: absolute;
  604. top: 72px;
  605. right: 20px;
  606. width: 200px;
  607. z-index: 1000;
  608. }
  609. .dropdown-menu {
  610. text-align: center;
  611. }
  612. .nav-link {
  613. color: #fff;
  614. background-color: #567086;
  615. padding: 15px;
  616. flex-direction: row;
  617. }
  618. .nav-link > i {
  619. font-size: 1rem;
  620. margin-right: 10px;
  621. margin-bottom: 0;
  622. }
  623. .nav-item {
  624. margin-right: 0;
  625. }
  626. .tm-block-taller {
  627. max-height: 520px;
  628. }
  629. }
  630. @media (max-width: 1199.98px) {
  631. .navbar-expand-xl > .container,
  632. .navbar-expand-xl > .container-fluid {
  633. padding-left: 15px;
  634. padding-right: 15px;
  635. }
  636. .navbar-collapse {
  637. right: 15px;
  638. }
  639. }
  640. @media (max-width: 991px) {
  641. .tm-col-big,
  642. .tm-col-small {
  643. width: 100%;
  644. min-height: 383px;
  645. height: auto;
  646. }
  647. .tm-block {
  648. padding: 30px;
  649. }
  650. }
  651. @media (max-width: 767px) {
  652. .tm-col-account-settings,
  653. .tm-col-avatar {
  654. width: 100%;
  655. max-width: 100%;
  656. }
  657. .tm-block-avatar {
  658. display: flex;
  659. flex-direction: column;
  660. }
  661. .tm-avatar {
  662. align-self: center;
  663. }
  664. .tm-hide-sm {
  665. display: none;
  666. }
  667. }
  668. @media (max-width: 633px) {
  669. .page-item {
  670. margin-top: 10px;
  671. }
  672. .custom-select {
  673. background-position: 96%;
  674. }
  675. }
  676. @media (max-width: 574px) {
  677. .navbar-collapse {
  678. top: 47px;
  679. }
  680. .navbar {
  681. height: 50px;
  682. }
  683. .tm-site-title {
  684. font-size: 1.4rem;
  685. margin-left: 7px;
  686. }
  687. .tm-site-icon {
  688. font-size: 2em;
  689. }
  690. }
  691. @media (max-width: 480px) {
  692. .tm-mt-big {
  693. margin-top: 45px;
  694. }
  695. .tm-mb-big {
  696. margin-bottom: 45px;
  697. }
  698. #barChart,
  699. #lineChart {
  700. max-height: 350px;
  701. }
  702. }

comments powered by Disqus