_cards.scss 21 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078
  1. /* Card */
  2. .card, .card-light {
  3. border-radius: 5px;
  4. background-color: $white-color;
  5. margin-bottom: 30px;
  6. -webkit-box-shadow: 2px 6px 15px 0px rgba(69,65,78,.1);
  7. -moz-box-shadow: 2px 6px 15px 0px rgba(69,65,78,.1);
  8. box-shadow: 2px 6px 15px 0px rgba(69,65,78,.1);
  9. border: 0px;
  10. .card-header {
  11. padding: 1rem 1.25rem;
  12. background-color: $transparent-bg;
  13. border-bottom: 1px solid #ebecec !important;
  14. &:first-child {
  15. border-radius: 0px
  16. }
  17. .card-head-row{
  18. display: flex;
  19. align-items: center;
  20. .card-tools{
  21. margin-left: auto;
  22. float: right;
  23. padding-left: 15px;
  24. }
  25. }
  26. }
  27. .separator-solid {
  28. border-top: 1px solid #ebecec;
  29. margin: 15px 0;
  30. }
  31. .separator-dashed {
  32. border-top: 1px dashed #ebecec;
  33. margin: 15px 0;
  34. }
  35. .separator-dot {
  36. border-top: 1px dotted #ebecec;
  37. margin: 15px 0;
  38. }
  39. .full-width-separator {
  40. margin: 15px -20px 15px;
  41. }
  42. .b-b1 {
  43. border-bottom: 1px solid rgba(255, 255, 255, .3);
  44. }
  45. .card-body {
  46. padding: 1.25rem;
  47. }
  48. .card-footer {
  49. background-color: $transparent-bg;
  50. line-height: 30px;
  51. border-top: 1px solid #ebecec !important;
  52. font-size: 13px;
  53. }
  54. .pull-in {
  55. margin-left: -1.25rem;
  56. margin-right: -1.25rem;
  57. &.sparkline-fix {
  58. margin-left: -1.35rem;
  59. margin-right: -1.35rem;
  60. margin-bottom: -3px;
  61. }
  62. }
  63. .chart-as-background {
  64. position: absolute;
  65. bottom: 0;
  66. width: calc(100% + 2px);
  67. }
  68. .card-action {
  69. padding: 30px;
  70. background-color: $transparent-bg;
  71. line-height: 30px;
  72. border-top: 1px solid #ebecec !important;
  73. font-size: 14px;
  74. }
  75. .card-footer {
  76. hr {
  77. margin-top: 5px;
  78. margin-bottom: 5px;
  79. }
  80. .legend {
  81. display: inline-block;
  82. }
  83. }
  84. }
  85. @media screen and (max-width: 476px) {
  86. .card {
  87. .card-header {
  88. .card-head-row:not(.card-tools-still-right) {
  89. flex-direction: column;
  90. align-items: unset;
  91. .card-tools {
  92. margin-left: 0px;
  93. float: left;
  94. padding-left: 0px;
  95. padding-top: 10px;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. .card {
  102. &.full-height {
  103. height: calc(100% - 30px);
  104. }
  105. }
  106. .card-space {
  107. padding: 0 30px;
  108. > .card-header, > .card-body, > .card-footer, > .card-action{
  109. padding-left: 0px !important;
  110. padding-right: 0px !important;
  111. }
  112. }
  113. .card-with-nav{
  114. .card-header{
  115. border-bottom: 0px !important;
  116. padding-top: 0px !important;
  117. padding-bottom: 0px !important;
  118. }
  119. .card-body{
  120. padding: 15px 25px !important;
  121. }
  122. }
  123. .card-list{
  124. padding: 10px 0;
  125. .item-list{
  126. display: flex;
  127. flex-direction: row;
  128. padding: 10px 0;
  129. align-items: center;
  130. .info-user {
  131. flex: 1;
  132. .username, a.username {
  133. color: $primary-color;
  134. font-size: 13px;
  135. margin-bottom: 5px;
  136. font-weight: $font-weight-normal;
  137. }
  138. .status{
  139. font-size: 11px;
  140. color: #7d7b7b;
  141. }
  142. }
  143. }
  144. }
  145. .card-title {
  146. margin: 0;
  147. color: $body-text-color;
  148. font-size: 20px;
  149. font-weight: $font-weight-normal;
  150. line-height: 1.6;
  151. a, a:hover, a:focus {
  152. color: $body-text-color;
  153. text-decoration: none;
  154. }
  155. }
  156. .card-sub {
  157. display: block;
  158. margin: 5px 0 10px 0;
  159. font-size: .9rem;
  160. background: #f7f8fa;
  161. color: $body-text-color;
  162. padding: 0.85rem 1.5rem;
  163. border-radius: 4px;
  164. line-height: 1.82;
  165. }
  166. .card-category {
  167. margin-top: 8px;
  168. font-size: 14px;
  169. color: #8d9498;
  170. margin-bottom: 0px;
  171. word-break: normal;
  172. }
  173. label {
  174. font-size: 14px;
  175. font-weight: $font-weight-normal;
  176. color: #8d9498;
  177. margin-bottom: 0px;
  178. }
  179. .card-transparent{
  180. background: $transparent-bg !important;
  181. box-shadow: none;
  182. border-color: $transparent-bg !important;
  183. }
  184. /* Card Stats */
  185. .card-stats {
  186. .card-body{
  187. padding: 15px !important;
  188. }
  189. .card-title{
  190. margin-bottom: 0px !important;
  191. }
  192. .card-category {
  193. margin-top: 0px;
  194. }
  195. .col-icon {
  196. width: 65px;
  197. height: 65px;
  198. margin-left: 15px;
  199. }
  200. .icon-big {
  201. width: 100%;
  202. height: 100%;
  203. font-size: 2.2em;
  204. min-height: 64px;
  205. display: flex;
  206. align-items: center;
  207. justify-content: center;
  208. &.icon-default, &.icon-primary, &.icon-secondary, &.icon-success, &.icon-info, &.icon-warning, &.icon-danger{
  209. border-radius: 5px;
  210. i{
  211. color: $white-color !important;
  212. }
  213. }
  214. &.icon-default {
  215. background: $dark-color;
  216. }
  217. &.icon-primary {
  218. background: $primary-color;
  219. }
  220. &.icon-secondary {
  221. background: $secondary-color;
  222. }
  223. &.icon-success {
  224. background: $success-color;
  225. }
  226. &.icon-warning {
  227. background: $warning-color;
  228. }
  229. &.icon-info {
  230. background: $info-color;
  231. }
  232. &.icon-danger {
  233. background: $danger-color;
  234. }
  235. &.round {
  236. border-radius: 50% !important;
  237. }
  238. }
  239. .col-stats{
  240. align-items: center;
  241. display: flex;
  242. padding-left: 15px;
  243. }
  244. }
  245. /* Card Task */
  246. .card-tasks {
  247. .table {
  248. margin-bottom: 0px;
  249. .form-check {
  250. padding: 0 0 0 0.75rem !important;
  251. label {
  252. margin-bottom: 0px !important;
  253. }
  254. }
  255. tbody td:first-child, thead th:first-child {
  256. padding-left: 15px;
  257. padding-right: 15px;
  258. }
  259. tbody td:last-child, thead th:last-child {
  260. padding-right: 15px;
  261. }
  262. tbody tr:last-child td {
  263. border-bottom-width: 0px !important;
  264. }
  265. }
  266. .card-body {
  267. padding-top: 0px;
  268. padding-bottom: 0px;
  269. .table td {
  270. font-size: 13px;
  271. .btn {
  272. font-size: 15px;
  273. opacity: 0.7;
  274. transition: all .3s;
  275. }
  276. &:hover .btn {
  277. opacity: 1;
  278. }
  279. }
  280. }
  281. .form-button-action {
  282. display: block !important;
  283. }
  284. }
  285. /* Card States */
  286. .card-dark, .card-default, .card-primary, .card-secondary, .card-info, .card-success, .card-warning, .card-danger {
  287. color: $white-color;
  288. border: 0px;
  289. }
  290. .card-dark .card-header, .card-default .card-header, .card-primary .card-header, .card-secondary .card-header, .card-info .card-header, .card-success .card-header, .card-warning .card-header, .card-danger .card-header {
  291. border-bottom: $transparent-bg !important;
  292. }
  293. .card-dark .card-category, .card-default .card-category, .card-primary .card-category, .card-secondary .card-category, .card-info .card-category, .card-success .card-category, .card-warning .card-category, .card-danger .card-category, .card-dark .card-title, .card-default .card-title, .card-primary .card-title, .card-secondary .card-title, .card-info .card-title, .card-success .card-title, .card-warning .card-title, .card-danger .card-title, .card-dark label, .card-default label, .card-primary label, .card-info label, .card-success label, .card-warning label, .card-danger label {
  294. color: $white-color;
  295. }
  296. .card-dark .icon-big > i, .card-default .icon-big > i, .card-primary .icon-big > i, .card-secondary .icon-big > i, .card-info .icon-big > i, .card-success .icon-big > i, .card-warning .icon-big > i, .card-danger .icon-big > i {
  297. color: $white-color !important;
  298. }
  299. .card-dark .card-footer, .card-default .card-footer, .card-primary .card-footer, .card-secondary .card-footer, .card-info .card-footer, .card-success .card-footer, .card-warning .card-footer, .card-danger .card-footer {
  300. border-top: $transparent-bg !important;
  301. }
  302. .card-default {
  303. background: $dark-color !important;
  304. }
  305. .card-primary {
  306. background: $primary-color !important;
  307. }
  308. .card-secondary {
  309. background: $secondary-color !important;
  310. }
  311. .card-info {
  312. background: $info-color !important;
  313. }
  314. .card-success {
  315. background: $success-color !important;
  316. }
  317. .card-warning {
  318. background: $warning-color !important;
  319. }
  320. .card-danger {
  321. background: $danger-color !important;
  322. }
  323. .card-round{
  324. border-radius: 5px;
  325. }
  326. /* Progress Card */
  327. .progress-card {
  328. margin-bottom: 25px;
  329. .progress-status{
  330. display: flex;
  331. margin-bottom: 10px;
  332. -webkit-box-pack: justify!important;
  333. -ms-flex-pack: justify!important;
  334. justify-content: space-between!important;
  335. }
  336. }
  337. /* Card Posts */
  338. .card-post {
  339. .info-post {
  340. .username {
  341. margin-bottom: 0px;
  342. font-weight: $font-weight-bold;
  343. }
  344. .date{
  345. margin-bottom: 0px;
  346. }
  347. }
  348. }
  349. /* Card Pricing */
  350. .card-pricing{
  351. padding: 20px 5px;
  352. text-align: center;
  353. border-radius: 5px;
  354. .card-header {
  355. border-bottom: 0px !important;
  356. }
  357. .card-footer{
  358. border-top: 0px !important;
  359. padding: 15px 15px 10px 15px;
  360. }
  361. .card-title{
  362. font-weight: $font-weight-normal;
  363. font-size: 20px;
  364. }
  365. .card-price{
  366. .price{
  367. font-size: 36px;
  368. font-weight: $font-weight-normal;
  369. }
  370. .text{
  371. font-size: 18px;
  372. font-weight: $font-weight-normal;
  373. color: #d1d7e3;
  374. }
  375. }
  376. .specification-list {
  377. list-style: none;
  378. padding-left: 0px;
  379. li {
  380. padding: 8px 0 12px;
  381. border-bottom: 1px solid #eee;
  382. text-align: left;
  383. font-size: 12px;
  384. margin-bottom: 5px;
  385. .name-specification{
  386. color: #83848a;
  387. }
  388. .status-specification{
  389. margin-left: auto;
  390. float: right;
  391. font-weight: $font-weight-normal;
  392. }
  393. }
  394. }
  395. &.card-pricing-focus{
  396. padding: 40px 5px;
  397. }
  398. &.card-default, &.card-primary, &.card-secondary, &.card-info, &.card-success, &.card-danger, &.card-warning{
  399. .name-specification{
  400. color: $white-color !important;
  401. }
  402. }
  403. &.card-primary {
  404. .specification-list{
  405. li {
  406. border-color: #2f8bff !important;
  407. }
  408. }
  409. .btn-light {
  410. color: $primary-color !important;
  411. }
  412. }
  413. &.card-success {
  414. .specification-list{
  415. li {
  416. border-color: #64e069 !important;
  417. }
  418. }
  419. .btn-light {
  420. color: $success-color !important;
  421. }
  422. }
  423. &.card-secondary {
  424. .specification-list{
  425. li {
  426. border-color: #7f77dc !important;
  427. }
  428. }
  429. .btn-light {
  430. color: $secondary-color !important;
  431. }
  432. }
  433. &.card-default {
  434. .specification-list{
  435. li {
  436. border-color: #6f8996 !important;
  437. }
  438. }
  439. .btn-light {
  440. color: $dark-color !important;
  441. }
  442. }
  443. &.card-info {
  444. .specification-list{
  445. li {
  446. border-color: #11c0e4 !important;
  447. }
  448. }
  449. .btn-light {
  450. color: $info-color !important;
  451. }
  452. }
  453. &.card-danger {
  454. .specification-list{
  455. li {
  456. border-color: #ff6972 !important;
  457. }
  458. }
  459. .btn-light {
  460. color: $danger-color !important;
  461. }
  462. }
  463. &.card-warning {
  464. .specification-list{
  465. li {
  466. border-color: #ffbc67 !important;
  467. }
  468. }
  469. .btn-light {
  470. color: $warning-color !important;
  471. }
  472. }
  473. }
  474. .card-pricing2 {
  475. padding-bottom: 10px;
  476. background: #fff !important;
  477. border-bottom: 7px solid;
  478. text-align: center;
  479. overflow: hidden;
  480. position: relative;
  481. border-radius: 5px;
  482. -webkit-box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  483. -moz-box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  484. box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  485. &:before {
  486. content: "";
  487. width: 100%;
  488. height: 350px;
  489. position: absolute;
  490. top: -150px;
  491. left: 0;
  492. transform: skewY(-20deg);
  493. }
  494. .price-value {
  495. &:after, &:before {
  496. content: "";
  497. left: 50%;
  498. transform: translateX(-50%) scaleY(0.5) rotate(45deg);
  499. }
  500. }
  501. .value {
  502. &:after, &:before {
  503. content: "";
  504. left: 50%;
  505. transform: translateX(-50%) scaleY(0.5) rotate(45deg);
  506. }
  507. }
  508. .pricing-header {
  509. padding: 20px 20px 60px;
  510. text-align: left;
  511. position: relative;
  512. }
  513. .sub-title {
  514. display: block;
  515. font-size: 16px;
  516. }
  517. .value {
  518. background: #fff;
  519. }
  520. .price-value {
  521. display: inline-block;
  522. width: 170px;
  523. height: 110px;
  524. padding: 15px;
  525. border: 2px solid;
  526. border-top: none;
  527. border-bottom: none;
  528. position: relative;
  529. &:after, &:before {
  530. width: 121px;
  531. height: 121px;
  532. border: 3px solid;
  533. border-right: none;
  534. border-bottom: none;
  535. position: absolute;
  536. top: -60px;
  537. }
  538. &:after {
  539. border-top: none;
  540. border-left: none;
  541. border-bottom: 3px solid;
  542. border-right: 3px solid;
  543. top: auto;
  544. bottom: -60px;
  545. }
  546. }
  547. .value {
  548. width: 100%;
  549. height: 100%;
  550. border: 2px solid;
  551. border-top: none;
  552. border-bottom: none;
  553. z-index: 1;
  554. position: relative;
  555. &:after, &:before {
  556. width: 97px;
  557. height: 97px;
  558. background: #fff;
  559. border: 3px solid;
  560. border-bottom: none;
  561. border-right: none;
  562. position: absolute;
  563. top: -48px;
  564. z-index: -1;
  565. }
  566. &:after {
  567. border-right: 3px solid;
  568. border-bottom: 3px solid;
  569. border-top: none;
  570. border-left: none;
  571. top: auto;
  572. bottom: -48px;
  573. }
  574. }
  575. .currency {
  576. display: inline-block;
  577. font-size: 30px;
  578. margin-top: 7px;
  579. vertical-align: top;
  580. }
  581. .amount {
  582. display: inline-block;
  583. font-size: 40px;
  584. font-weight: 600;
  585. line-height: 65px;
  586. span {
  587. display: inline-block;
  588. font-size: 30px;
  589. font-weight: 400;
  590. vertical-align: top;
  591. margin-top: -7px;
  592. }
  593. }
  594. .month {
  595. display: block;
  596. font-size: 16px;
  597. line-height: 0;
  598. }
  599. .pricing-content {
  600. padding: 50px 0 0 80px;
  601. margin-bottom: 20px;
  602. list-style: none;
  603. text-align: left;
  604. transition: all .3s ease 0s;
  605. li {
  606. padding: 7px 0;
  607. font-size: 13px;
  608. color: grey;
  609. position: relative;
  610. &.disable:before, &:before {
  611. content: "\f00c";
  612. font-family: 'Font Awesome 5 Solid';
  613. font-weight: 900;
  614. width: 20px;
  615. height: 20px;
  616. line-height: 20px;
  617. border-radius: 50%;
  618. background: #98c458;
  619. text-align: center;
  620. color: #fff;
  621. position: absolute;
  622. left: -50px;
  623. font-size: 9px;
  624. }
  625. &.disable:before {
  626. content: "\f00d";
  627. background: #fe6c6c;
  628. }
  629. }
  630. }
  631. @mixin pricing-card2-state-style($color) {
  632. .price-value:before, .value:before {
  633. border-left-color: $color;
  634. border-top-color: $color;
  635. }
  636. .price-value, .value {
  637. border-right-color: $color;
  638. &:after {
  639. border-right-color: $color;
  640. }
  641. }
  642. border-bottom-color: $color;
  643. .price-value:after, .value:after {
  644. border-bottom-color: $color;
  645. }
  646. .value {
  647. color: $color;
  648. }
  649. &:before {
  650. background: $color;
  651. }
  652. .price-value, .value {
  653. border-left-color: $color;
  654. }
  655. }
  656. &.card-default {
  657. @include pricing-card2-state-style($dark-color);
  658. }
  659. &.card-primary {
  660. @include pricing-card2-state-style($primary-color);
  661. }
  662. &.card-secondary {
  663. @include pricing-card2-state-style($secondary-color);
  664. }
  665. &.card-info {
  666. @include pricing-card2-state-style($info-color);
  667. }
  668. &.card-success {
  669. @include pricing-card2-state-style($success-color);
  670. }
  671. &.card-warning {
  672. @include pricing-card2-state-style($warning-color);
  673. }
  674. &.card-danger {
  675. @include pricing-card2-state-style($danger-color);
  676. }
  677. }
  678. /* Card Product */
  679. .row-cardProduct {
  680. padding: 0 5px;
  681. white-space: nowrap;
  682. overflow-x: auto;
  683. display: block !important;
  684. margin-right: -2rem;
  685. width: unset !important;
  686. }
  687. .col-cardProduct {
  688. width: 225px;
  689. padding: 0 10px;
  690. display: inline-block;
  691. }
  692. .card-product {
  693. background: #fff;
  694. border-radius: 5px;
  695. overflow: hidden;
  696. box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.12);
  697. margin-bottom: 15px;
  698. .product-summary {
  699. padding: 15px;
  700. }
  701. }
  702. @media screen and (max-width: 768px) {
  703. .col-cardProduct {
  704. width: 175px;
  705. }
  706. .card-product {
  707. .title-product {
  708. font-size: 14px;
  709. }
  710. .price-product {
  711. font-size: 18px;
  712. }
  713. }
  714. }
  715. /* Card Shadow */
  716. .skew-shadow {
  717. position: relative;
  718. overflow: hidden;
  719. &:before {
  720. content: '';
  721. position: absolute;
  722. background: rgba(255, 255, 255, 0.1);
  723. width: 50%;
  724. min-width: 150px;
  725. height: 100%;
  726. top: 0;
  727. right: -25%;
  728. transform: skewX(-32.5deg);
  729. }
  730. }
  731. .bubble-shadow {
  732. position: relative;
  733. overflow: hidden;
  734. &:before {
  735. position: absolute;
  736. top: -10%;
  737. right: -140px;
  738. width: 300px;
  739. height: 300px;
  740. content: "";
  741. border-radius: 50%;
  742. background: rgba(255,255,255,.05);
  743. }
  744. &:after {
  745. position: absolute;
  746. top: -65px;
  747. right: 80px;
  748. width: 150px;
  749. height: 150px;
  750. content: "";
  751. border-radius: 50%;
  752. background: rgba(255, 255, 255, 0.05);
  753. }
  754. }
  755. .curves-shadow {
  756. position: relative;
  757. overflow: hidden;
  758. &:before {
  759. content: '';
  760. position: absolute;
  761. background: url(../img/img-shadow.png);
  762. background-size: cover;
  763. width: 100%;
  764. height: 100%;
  765. top: 0;
  766. left: 0;
  767. }
  768. }
  769. @media only screen and (max-width: 990px) {
  770. .card-pricing2 {
  771. margin-bottom: 30px;
  772. }
  773. }
  774. @media only screen and (max-width: 767px) {
  775. .card-pricing2 {
  776. &:before {
  777. transform: skewY(-15deg);
  778. }
  779. }
  780. }
  781. /* Card Annoucement */
  782. .card-annoucement {
  783. .card-body {
  784. padding: 50px 25px;
  785. }
  786. .card-opening {
  787. font-size: 20px;
  788. font-weight: $font-weight-normal;
  789. letter-spacing: 0.01em;
  790. }
  791. .card-desc {
  792. padding: 15px 0;
  793. font-size: 16px;
  794. line-height: 1.65;
  795. font-weight: $font-weight-light;
  796. }
  797. &.card-primary {
  798. .btn-light {
  799. color: $primary-color !important;
  800. }
  801. }
  802. &.card-success {
  803. .btn-light {
  804. color: $success-color !important;
  805. }
  806. }
  807. &.card-secondary {
  808. .btn-light {
  809. color: $secondary-color !important;
  810. }
  811. }
  812. &.card-default {
  813. .btn-light {
  814. color: $dark-color !important;
  815. }
  816. }
  817. &.card-info {
  818. .btn-light {
  819. color: $info-color !important;
  820. }
  821. }
  822. &.card-danger {
  823. .btn-light {
  824. color: $danger-color !important;
  825. }
  826. }
  827. &.card-warning {
  828. .btn-light {
  829. color: $warning-color !important;
  830. }
  831. }
  832. }
  833. /* Card Profile */
  834. .card-profile {
  835. color: $body-text-color;
  836. .profile-picture{
  837. text-align: center;
  838. position: absolute;
  839. margin: 0 auto;
  840. left: 0;
  841. right: 0;
  842. bottom: -41px;
  843. width: 100%;
  844. box-sizing: border-box;
  845. }
  846. .user-profile{
  847. .name{
  848. font-size: 20px;
  849. font-weight: $font-weight-normal;
  850. margin-bottom: 5px;
  851. }
  852. .job {
  853. color: #83848a;
  854. margin-bottom: 5px;
  855. }
  856. .desc{
  857. color: #bbb;
  858. margin-bottom: 15px;
  859. }
  860. .social-media{
  861. margin-bottom: 20px;
  862. .btn{
  863. padding: 5px !important;
  864. i {
  865. font-size: 22px !important;
  866. }
  867. }
  868. }
  869. }
  870. .user-stats {
  871. margin-bottom: 10px;
  872. [class^="col"]{
  873. border-right: 1px solid #ebebeb;
  874. }
  875. [class^="col"]:last-child{
  876. border-right: 0px;
  877. }
  878. .number {
  879. font-weight: $font-weight-normal;
  880. font-size: 15px;
  881. }
  882. .title {
  883. color: #7d7b7b;
  884. }
  885. }
  886. .card-header {
  887. border-bottom: 0px;
  888. height: 100px;
  889. position: relative;
  890. }
  891. .card-body{
  892. padding-top: 60px;
  893. }
  894. .card-footer{
  895. border-top: 0px;
  896. }
  897. &.card-secondary{
  898. .card-header {
  899. background: $secondary-color;
  900. }
  901. }
  902. }
  903. /* Row Card No Padding */
  904. .row-card-no-pd {
  905. border-radius: 5px;
  906. margin-left: 0;
  907. margin-right: 0;
  908. background: $white-color;
  909. margin-bottom: 30px;
  910. padding-top: 15px;
  911. padding-bottom: 15px;
  912. position: relative;
  913. -webkit-box-shadow: 2px 6px 15px 0px rgba(69,65,78,.1);
  914. -moz-box-shadow: 2px 6px 15px 0px rgba(69,65,78,.1);
  915. box-shadow: 2px 6px 15px 0px rgba(69,65,78,.1);
  916. border: 0px;
  917. .card {
  918. margin-bottom: 0px;
  919. border-width: 0px;
  920. box-shadow: none;
  921. position: unset;
  922. .card-header{
  923. padding-left: 0px !important;
  924. padding-top: 0px !important;
  925. padding-right: 0px !important;
  926. }
  927. }
  928. [class*=col] .card:before {
  929. position: absolute;
  930. height: calc(100%);
  931. width: 1px;
  932. background: #eee;
  933. content: '';
  934. right: 0px;
  935. }
  936. [class*=col]:last-child .card:before {
  937. width: 0px;
  938. }
  939. }
  940. /* Accordion */
  941. .accordion {
  942. .card{
  943. border-radius: 5px !important;
  944. background: #f7f7f7 !important;
  945. color: $body-text-color !important;
  946. border: 0;
  947. box-shadow: none;
  948. .span-icon{
  949. font-size: 22px;
  950. padding-left: 15px;
  951. padding-right: 15px;
  952. }
  953. > .card-header{
  954. border: 0px !important;
  955. display: flex;
  956. flex-direction: row;
  957. align-items: center;
  958. cursor: pointer;
  959. border-radius: 0 !important;
  960. > .span-mode{
  961. margin-left: auto;
  962. &:before {
  963. content: "\f068" !important;
  964. font-family: 'Font Awesome 5 Solid';
  965. font-weight: 900;
  966. font-size: 16px;
  967. }
  968. }
  969. &.collapsed {
  970. > .span-mode{
  971. &:before {
  972. content: "\f067" !important;
  973. }
  974. }
  975. }
  976. }
  977. .card-body{
  978. border-top: 1px solid #ebebeb;
  979. padding: 30px;
  980. }
  981. }
  982. %accordion-fontsize {
  983. font-size: 14px;
  984. }
  985. @mixin accordion-style($color) {
  986. .card-header{
  987. color: $color;
  988. @extend %accordion-fontsize;
  989. .btn-link{
  990. color: $color !important;
  991. @extend %accordion-fontsize;
  992. }
  993. }
  994. }
  995. &.accordion-default{
  996. .card{
  997. @include accordion-style($dark-color);
  998. }
  999. }
  1000. &.accordion-primary{
  1001. .card{
  1002. @include accordion-style($primary-color);
  1003. }
  1004. }
  1005. &.accordion-secondary{
  1006. .card{
  1007. @include accordion-style($secondary-color);
  1008. }
  1009. }
  1010. &.accordion-info{
  1011. .card{
  1012. @include accordion-style($info-color);
  1013. }
  1014. }
  1015. &.accordion-success{
  1016. .card{
  1017. @include accordion-style($success-color);
  1018. }
  1019. }
  1020. &.accordion-warning{
  1021. .card{
  1022. @include accordion-style($warning-color);
  1023. }
  1024. }
  1025. &.accordion-danger{
  1026. .card{
  1027. @include accordion-style($danger-color);
  1028. }
  1029. }
  1030. }
  1031. .border-transparent {
  1032. border-color: transparent !important;
  1033. }