_boxes.scss 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995
  1. /*box*/
  2. .small-box{
  3. position: relative;
  4. display: block;
  5. margin-bottom: $default-gutter-width;
  6. box-shadow: 0px 2px 5px 0px rgba(19, 23, 38, 0.05);
  7. border-radius: $default-border-radius;
  8. >.inner{
  9. padding: 1.25rem;
  10. }
  11. >.small-box-footer{
  12. position: relative;
  13. text-align: right;
  14. padding: 3px 10px;
  15. color: $white;
  16. color: rgba($white, .8);
  17. display: block;
  18. z-index: 10;
  19. background: rgba($black, .1);
  20. text-decoration: none;
  21. &:hover{
  22. color: $white;
  23. background: rgba($black, .15);
  24. }
  25. }
  26. h3{
  27. font-size: $fs-38;
  28. font-weight: $fw-700;
  29. margin: 0 0 10px;
  30. white-space: nowrap;
  31. padding: 0;
  32. z-index: 5;
  33. }
  34. p{
  35. font-size: $fs-14;
  36. margin-bottom: 10px;
  37. z-index: 5;
  38. >small{
  39. display: block;
  40. color: $light;
  41. font-size: $fs-12;
  42. margin-top: 5px;
  43. }
  44. }
  45. .icon{
  46. -webkit-transition: all .3s linear;
  47. -o-transition: all .3s linear;
  48. transition: all .3s linear;
  49. position: absolute;
  50. top: 5px;
  51. right: 10px;
  52. z-index: 0;
  53. font-size: $fs-72;
  54. color: rgba($black, .15);
  55. }
  56. &:hover{
  57. text-decoration: none;
  58. color: $light;
  59. .icon{
  60. font-size: $fs-78;
  61. }
  62. }
  63. }
  64. @include screen-sm-max{
  65. .small-box{
  66. text-align: center;
  67. .icon{
  68. display: none;
  69. }
  70. p{
  71. font-size: $fs-12;
  72. }
  73. }
  74. }
  75. .box{
  76. position: relative;
  77. margin-bottom: $default-gutter-width;
  78. width: 100%;
  79. background-color: $white;
  80. border-radius: $default-border-radius;
  81. padding: 0px;
  82. -webkit-transition: .5s;
  83. transition: .5s;
  84. display: -ms-flexbox;
  85. display: flex;
  86. -ms-flex-direction: column;
  87. flex-direction: column;
  88. -webkit-box-shadow: 1px 2px 4px 0 rgba(34,41,47, .1);
  89. box-shadow: 1px 2px 4px 0 rgba(34,41,47, .1);
  90. &.collapsed-box{
  91. .box-body{
  92. display: none;
  93. }
  94. .box-footer{
  95. display: none;
  96. }
  97. }
  98. .flex-column{
  99. >li{
  100. border-bottom: 1px solid $light;
  101. margin: 0;
  102. &:last-of-type{
  103. border-bottom: none;
  104. }
  105. }
  106. }
  107. &.height-control{
  108. .box-body{
  109. max-height: 300px;
  110. overflow: auto;
  111. }
  112. }
  113. .border-right{
  114. border-right: 1px solid $light;
  115. }
  116. .border-left {
  117. border-left: 1px solid $light;
  118. }
  119. &.box-solid{
  120. border-top: 0;
  121. overflow: hidden;
  122. &.box-default{
  123. >.box-header{
  124. color: $dark;
  125. background-color: $light;
  126. .btn{
  127. color: $dark;
  128. }
  129. a{
  130. color: $dark;
  131. }
  132. >.box-tools{
  133. .btn{
  134. border: 0;
  135. box-shadow: none;
  136. }
  137. }
  138. }
  139. }
  140. &[class*=bg]{
  141. >.box-header{
  142. color: $white;
  143. .box-title{
  144. color: $white;
  145. }
  146. }
  147. }
  148. }
  149. .box-group{
  150. >.box{
  151. margin-bottom: 5px;
  152. }
  153. }
  154. .knob-label{
  155. text-align: center;
  156. color: $dark;
  157. font-weight: $fw-300;
  158. font-size: $fs-12;
  159. margin-bottom: .3em;
  160. }
  161. >.loading-img, >.overlay{
  162. position: absolute;
  163. top: 0;
  164. left: 0;
  165. width: 100%;
  166. height: 100%
  167. }
  168. .overlay{
  169. z-index: 50;
  170. background: rgba($white, .7);
  171. border-radius: $default-border-radius;
  172. >.fa{
  173. position: absolute;
  174. top: 50%;
  175. left: 50%;
  176. margin-left: -15px;
  177. margin-top: -15px;
  178. color: $black;
  179. font-size: $fs-30;
  180. }
  181. }
  182. .overlay.dark{
  183. background: rgba($black, .5);
  184. }
  185. .box-header{
  186. .box-subtitle{
  187. font-weight: $fw-300;
  188. margin-bottom: 0px;
  189. margin-top: 5px;
  190. color: lighten($dark, 40%);
  191. }
  192. }
  193. .box-subtitle{
  194. font-weight: $fw-300;
  195. margin-bottom: 0px;
  196. margin-top: 5px;
  197. color: lighten($dark, 40%);
  198. }
  199. }
  200. .pull-up{
  201. -webkit-transition: all .25s ease;
  202. -o-transition: all .25s ease;
  203. -moz-transition: all .25s ease;
  204. transition: all .25s ease;
  205. &:hover{
  206. -webkit-transform: translateY(-4px) scale(1.02);
  207. -moz-transform: translateY(-4px) scale(1.02);
  208. -ms-transform: translateY(-4px) scale(1.02);
  209. -o-transform: translateY(-4px) scale(1.02);
  210. transform: translateY(-4px) scale(1.02);
  211. -webkit-box-shadow: 0 14px 24px rgba($black,.2);
  212. box-shadow: 0 14px 24px rgba($black,.2);
  213. z-index: 999;
  214. }
  215. }
  216. .box-inverse{
  217. color: $white !important;
  218. background-color: $dark;
  219. .box-header{
  220. color: $white !important;
  221. }
  222. .box-title{
  223. color: $white !important;
  224. }
  225. h1, h2, h3, h4, h5, h6{
  226. color: rgba($white, 0.8) !important;
  227. }
  228. small{
  229. color: rgba($white, 0.8) !important;
  230. }
  231. .box-controls{
  232. li{
  233. >a{
  234. color: rgba($white, 0.8) !important;
  235. }
  236. }
  237. }
  238. .box-title{
  239. small{
  240. opacity: 0.8;
  241. }
  242. }
  243. .box-btn-more{
  244. @include before-after-state{
  245. border-color: $white;
  246. }
  247. }
  248. .box-header{
  249. border-color: rgba($white, 0.15);
  250. }
  251. .box-footer{
  252. border-color: rgba($white, 0.15);
  253. }
  254. .box-action{
  255. border-color: rgba($white, 0.15);
  256. }
  257. }
  258. .box-secondary{
  259. background-color: lighten($dark, 35%)!important;
  260. .box-bordered{
  261. border-color: lighten($dark, 75%)!important;
  262. }
  263. }
  264. .box-outline-secondary{
  265. background-color: $white;
  266. border: 1px solid lighten($dark, 35%);
  267. }
  268. .box-bordered{
  269. border: 1px solid lighten($black, 65%);
  270. }
  271. .box-shadowed{
  272. -webkit-box-shadow: 0 1px 15px 1px rgba($black,.08);
  273. -moz-box-shadow: 0 1px 15px 1px rgba($black,.08);
  274. box-shadow: 0 1px 15px 1px rgba($black,.08);
  275. &:hover{
  276. -webkit-box-shadow: 0 1px 15px 1px rgba($black,.08);
  277. -moz-box-shadow: 0 1px 15px 1px rgba($black,.08);
  278. box-shadow: 0 1px 15px 1px rgba($black,.08);
  279. }
  280. }
  281. .box-transparent{
  282. background-color: transparent;
  283. }
  284. .box-round{
  285. border-radius: $default-border-radius;
  286. }
  287. .box-header{
  288. color: $dark;
  289. display: block;
  290. padding: $default-gutter-width;
  291. position: relative;
  292. border-bottom: 1px solid rgba($dx-blue,0.16);
  293. border-top-left-radius: $default-border-radius;
  294. border-top-right-radius: $default-border-radius;
  295. &.without-border {
  296. border-bottom: none;
  297. }
  298. &.with-border {
  299. border-bottom-width: 1px;
  300. border-bottom-style: solid;
  301. }
  302. .box-title{
  303. display: inline-block;
  304. margin: 0;
  305. font-weight: $fw-400;
  306. }
  307. >i{
  308. display: inline-block;
  309. margin: 0 5px 0 0;
  310. font-weight: $fw-500;
  311. }
  312. >.box-tools{
  313. position: absolute;
  314. right: $default-gutter-width;
  315. top: $default-gutter-width;
  316. [data-toggle=tooltip]{
  317. position: relative;
  318. }
  319. .dropdown-menu{
  320. >li{
  321. >a{
  322. color: $dark;
  323. }
  324. }
  325. }
  326. }
  327. >.box-controls{
  328. position: absolute;
  329. right: $default-gutter-width;
  330. top: $default-gutter-width;
  331. }
  332. img{
  333. border-top-left-radius: $default-border-radius;
  334. border-top-right-radius: $default-border-radius;
  335. }
  336. }
  337. .box-footer{
  338. border-top: 1px solid rgba($black, 0.07);
  339. padding: $default-gutter-width;
  340. border-bottom-left-radius: $default-border-radius;
  341. border-bottom-right-radius: $default-border-radius;
  342. >*:last-child{
  343. margin-bottom: 0;
  344. }
  345. img{
  346. border-bottom-left-radius: $default-border-radius;
  347. border-bottom-right-radius: $default-border-radius;
  348. }
  349. }
  350. .box-controls{
  351. list-style-type: none;
  352. padding-left: 0;
  353. margin-bottom: 0;
  354. display: -webkit-box;
  355. display: flex;
  356. -webkit-box-orient: horizontal;
  357. -webkit-box-direction: reverse;
  358. flex-direction: row-reverse;
  359. li{
  360. >a{
  361. font-family: themify;
  362. font-size: $fs-12;
  363. display: inline-block;
  364. padding: 0 4px;
  365. margin: 0 4px;
  366. color: lighten($dark, 40%);
  367. opacity: .8;
  368. -webkit-transition: 0.3s linear;
  369. transition: 0.3s linear;
  370. i{
  371. font-family: themify;
  372. font-size: $fs-12;
  373. display: inline-block;
  374. padding: 0 4px;
  375. margin: 0 4px;
  376. color: lighten($dark, 40%);
  377. opacity: .8;
  378. -webkit-transition: 0.3s linear;
  379. transition: 0.3s linear;
  380. }
  381. }
  382. >button{
  383. font-size: $fs-12;
  384. display: inline-block;
  385. padding: 0 4px;
  386. margin: 0 4px;
  387. color: lighten($dark, 40%);
  388. opacity: .8;
  389. -webkit-transition: 0.3s linear;
  390. transition: 0.3s linear;
  391. >i{
  392. font-family: themify;
  393. }
  394. }
  395. &:first-child{
  396. >a{
  397. margin-right: 0;
  398. }
  399. }
  400. }
  401. [data-bs-toggle="dropdown"], .box-btn-reload{
  402. }
  403. }
  404. .box-btn-reload::before {
  405. content: "\e619";
  406. }
  407. .box-btn-close::before {
  408. content: "\e646";
  409. }
  410. .box-btn-slide::before {
  411. content: "\e648";
  412. }
  413. .box-btn-maximize::before {
  414. content: "\e6e8";
  415. }
  416. .box-btn-fullscreen::before {
  417. content: "\e659";
  418. }
  419. .box-btn-prev::before {
  420. content: "\e64a";
  421. }
  422. .box-btn-next::before {
  423. content: "\e649";
  424. }
  425. .control{
  426. position: relative;
  427. }
  428. .box-body{
  429. padding: $default-gutter-width;
  430. -ms-flex: 1 1 auto;
  431. flex: 1 1 auto;
  432. border-radius: $default-border-radius;
  433. .box-title{
  434. display: inline-block;
  435. margin: 0;
  436. margin-bottom: 1rem;
  437. color: $dark;
  438. }
  439. >.table{
  440. margin-bottom: 0;
  441. }
  442. .fc{
  443. margin-top: 0px;
  444. }
  445. .full-width-chart{
  446. margin: -10px;
  447. }
  448. &.no-padding{
  449. .full-width-chart{
  450. margin: -9px;
  451. }
  452. }
  453. .box-pane{
  454. border-radius: 0 0 0 $default-border-radius;
  455. }
  456. .box-pane-right {
  457. border-radius: 0 0 $default-border-radius;
  458. }
  459. >*:last-child{
  460. margin-bottom: 0;
  461. }
  462. ul li{
  463. line-height: 24px;
  464. }
  465. }
  466. .box-title {
  467. z-index: auto;
  468. &.box-title-bold{
  469. font-weight: $fw-900;
  470. }
  471. code{
  472. font-size: $fs-10;
  473. }
  474. }
  475. .overlay-wrapper{
  476. >.loading-img, >.overlay{
  477. position: absolute;
  478. top: 0;
  479. left: 0;
  480. width: 100%;
  481. height: 100%
  482. }
  483. .overlay{
  484. z-index: 50;
  485. background: rgba($white, .7);
  486. border-radius: $default-border-radius;
  487. >.fa{
  488. position: absolute;
  489. top: 50%;
  490. left: 50%;
  491. margin-left: -15px;
  492. margin-top: -15px;
  493. color: $black;
  494. font-size: $fs-30;
  495. }
  496. }
  497. .overlay.dark{
  498. background: rgba($black, .5);
  499. }
  500. }
  501. .collapsed-box{
  502. .box-header.with-border {
  503. border-bottom: none;
  504. }
  505. }
  506. .no-header{
  507. .box-body {
  508. border-top-right-radius: $default-border-radius;
  509. border-top-left-radius: $default-border-radius;
  510. }
  511. }
  512. .box-carousel{
  513. .box-footer{
  514. .carousel-indicators-outside{
  515. padding: 6px 0;
  516. }
  517. }
  518. }
  519. .box-img, .box-img-top, .box-img-bottom {
  520. border-radius: 0;
  521. }
  522. .box-loading{
  523. position: absolute;
  524. top: 0;
  525. left: 0;
  526. right: 0;
  527. bottom: 0;
  528. background-color: rgba($white, 0.8);
  529. display: -webkit-box;
  530. display: flex;
  531. -webkit-box-pack: center;
  532. justify-content: center;
  533. -webkit-box-align: center;
  534. align-items: center;
  535. opacity: 0;
  536. z-index: -1;
  537. -webkit-transition: .5s;
  538. transition: .5s;
  539. .reveal{
  540. opacity: 1;
  541. z-index: auto;
  542. }
  543. }
  544. .box-fullscreen{
  545. position: fixed !important;
  546. top: 0;
  547. left: 0;
  548. right: 0;
  549. bottom: 0;
  550. margin-bottom: 0;
  551. z-index: 9999 !important;
  552. }
  553. .box-slided-up{
  554. .box-content{
  555. display: none;
  556. }
  557. .box-body{
  558. display: none;
  559. }
  560. .box-btn-slide::before{
  561. content: "\e64b";
  562. }
  563. }
  564. .box-header-actions{
  565. display: -webkit-box;
  566. display: flex;
  567. -webkit-box-align: center;
  568. align-items: center;
  569. margin: -4px;
  570. >*{
  571. margin: 4px;
  572. }
  573. }
  574. .box-solid {
  575. .box-body{
  576. background-color: $white !important;
  577. color: lighten($black, 45%);
  578. border-top-left-radius: 0;
  579. border-top-right-radius: 0;
  580. }
  581. .box-controls{
  582. li{
  583. a{
  584. color: $white;
  585. }
  586. }
  587. .dropdown-item{
  588. color: $dark;
  589. }
  590. }
  591. }
  592. .rotate-45 {
  593. display: inline-block;
  594. -webkit-transform: rotate(45deg);
  595. transform: rotate(45deg);
  596. }
  597. .rotate-90 {
  598. display: inline-block;
  599. -webkit-transform: rotate(90deg);
  600. transform: rotate(90deg);
  601. }
  602. .rotate-180 {
  603. display: inline-block;
  604. -webkit-transform: rotate(180deg);
  605. transform: rotate(180deg);
  606. }
  607. /*User card page*/
  608. .fx-element-overlay{
  609. .white-box {
  610. padding: 0px;
  611. }
  612. .fx-card-item{
  613. position: relative;
  614. display: contents;
  615. .fx-card-avatar{
  616. }
  617. .fx-card-content{
  618. text-align: center;
  619. display: block;
  620. margin-top: $default-gutter-width;
  621. margin-bottom: $default-gutter-width;
  622. }
  623. h3{
  624. margin: 0px;
  625. }
  626. a {
  627. color: lighten($black, 45%);
  628. }
  629. .fx-overlay-1{
  630. width: 100%;
  631. height: 100%;
  632. overflow: hidden;
  633. position: relative;
  634. text-align: center;
  635. cursor: default;
  636. img {
  637. display: block;
  638. position: relative;
  639. -webkit-transition: all .4s linear;
  640. -o-transition: all .4s linear;
  641. transition: all .4s linear;
  642. width: 100%;
  643. height: auto;
  644. border-radius: $default-border-radius;
  645. }
  646. .fx-info{
  647. text-decoration: none;
  648. display: inline-block;
  649. text-transform: uppercase;
  650. color: $white;
  651. background-color: transparent;
  652. filter: alpha(opacity=0);
  653. -webkit-transition: all .2s ease-in-out;
  654. -o-transition: all .2s ease-in-out;
  655. transition: all .2s ease-in-out;
  656. padding: 0;
  657. margin: auto;
  658. position: absolute;
  659. top: 50%;
  660. left: 0;
  661. right: 0;
  662. transform: translateY(-50%) translateZ(0);
  663. -webkit-transform: translateY(-50%) translateZ(0);
  664. -ms-transform: translateY(-50%) translateZ(0);
  665. >li{
  666. list-style: none;
  667. display: inline-block;
  668. margin: 0 3px;
  669. a {
  670. border-color: $white;
  671. color: $white;
  672. padding: 12px 15px 10px;
  673. }
  674. }
  675. }
  676. .scrl-dwn{
  677. top: -100%;
  678. }
  679. .scrl-up{
  680. top: 100%;
  681. height: 0px;
  682. }
  683. &:hover{
  684. img {
  685. -ms-transform: scale(1.2) translateZ(0);
  686. -webkit-transform: scale(1.2) translateZ(0);
  687. transform: scale(1.2) translateZ(0);
  688. }
  689. .fx-overlay{
  690. opacity: 1;
  691. filter: alpha(opacity=100);
  692. -webkit-transform: translateZ(0);
  693. -ms-transform: translateZ(0);
  694. transform: translateZ(0);
  695. }
  696. .scrl-dwn{
  697. top: 0px;
  698. }
  699. .scrl-up{
  700. top: 0px;
  701. height: 100%;
  702. }
  703. }
  704. }
  705. .fx-overlay{
  706. width: 100%;
  707. height: 100%;
  708. position: absolute;
  709. overflow: hidden;
  710. top: 0;
  711. left: 0;
  712. opacity: 0;
  713. background-color: rgba($black, 0.7);
  714. -webkit-transition: all .4s ease-in-out;
  715. -o-transition: all .4s ease-in-out;
  716. transition: all .4s ease-in-out;
  717. }
  718. }
  719. }
  720. /*---card---*/
  721. .card{
  722. border-radius: $default-border-radius;
  723. -webkit-box-shadow: 1px 2px 4px 0 rgba(34,41,47, .1);
  724. box-shadow: 1px 2px 4px 0 rgba(34,41,47, .1);
  725. margin-bottom: $default-gutter-width !important;
  726. }
  727. .card-img-top {
  728. border-top-left-radius: $default-border-radius;
  729. border-top-right-radius: $default-border-radius;
  730. }
  731. .card-body {
  732. padding: $default-gutter-width;
  733. .card-title {
  734. margin-bottom: .75rem;
  735. border-bottom: none;
  736. }
  737. }
  738. .card-header{
  739. .card-title {
  740. padding: 0;
  741. border: none;
  742. }
  743. > *:first-child {
  744. margin-left: 0;
  745. }
  746. > *:last-child {
  747. margin-right: 0;
  748. }
  749. > * {
  750. margin-left: 8px;
  751. margin-right: 8px;
  752. }
  753. display: -webkit-box;
  754. display: flex;
  755. -webkit-box-pack: justify;
  756. justify-content: space-between;
  757. -webkit-box-align: center;
  758. align-items: center;
  759. padding: $default-gutter-width;
  760. background-color: transparent;
  761. border-bottom: 1px solid rgba($black, 0.07);
  762. }
  763. .card-title {
  764. margin-bottom: 0;
  765. border-bottom: 1px solid rgba($black, 0.07);
  766. }
  767. .card-controls {
  768. list-style-type: none;
  769. padding-left: 0;
  770. margin-bottom: 0;
  771. display: -webkit-box;
  772. display: flex;
  773. -webkit-box-orient: horizontal;
  774. -webkit-box-direction: reverse;
  775. flex-direction: row-reverse;
  776. }
  777. .card-controls{
  778. [data-bs-toggle="dropdown"], .card-btn-reload{
  779. font-size: $fs-14;
  780. }
  781. li{
  782. >a{
  783. font-size: $fs-12;
  784. display: inline-block;
  785. padding: 0 4px;
  786. margin: 0 4px;
  787. color: lighten($dark, 40%);
  788. opacity: .8;
  789. -webkit-transition: 0.3s linear;
  790. transition: 0.3s linear;
  791. }
  792. }
  793. }
  794. .card-footer {
  795. padding: $default-gutter-width;
  796. background-color: transparent;
  797. }
  798. .card-inverse{
  799. color: $white !important;
  800. background-color: $dark;
  801. h1, h2, h3, h4, h5, h6, .card-title, small, .card-controls li > a{
  802. color: $white !important;
  803. }
  804. }
  805. /*---box-comments---*/
  806. .box-comments {
  807. background-color: $light;
  808. .box-comment {
  809. padding: 8px 0;
  810. border-bottom: 1px solid lighten($black, 80%);
  811. @include before-after-state{
  812. content: " ";
  813. display: table;
  814. }
  815. &:after {
  816. clear: both;
  817. }
  818. &:last-of-type {
  819. border-bottom: 0;
  820. }
  821. &:first-of-type {
  822. padding-top: 0;
  823. }
  824. img {
  825. float: left;
  826. }
  827. }
  828. .comment-text {
  829. margin-left: 40px;
  830. color: lighten($dark, 20%);
  831. }
  832. .username {
  833. color: $dark;
  834. display: block;
  835. font-weight: $fw-600;
  836. }
  837. .text-muted {
  838. font-weight: $fw-300;
  839. font-size: $fs-12;
  840. }
  841. }
  842. /*---info-box---*/
  843. .box-input {
  844. max-width: 200px;
  845. }
  846. .info-box{
  847. display: block;
  848. min-height: 100px;
  849. background-color: $white;
  850. width: 100%;
  851. margin-bottom: $default-gutter-width;
  852. padding: 1.25rem;
  853. border-radius: $default-border-radius;
  854. -webkit-box-shadow: 1px 2px 4px 0 rgba(34,41,47, .1);
  855. box-shadow: 1px 2px 4px 0 rgba(34,41,47, .1);
  856. small {
  857. font-size: $fs-14;
  858. }
  859. .progress {
  860. background: rgba($black, .2);
  861. margin: 5px -10px 5px 0;
  862. height: 2px;
  863. border-radius: 0;
  864. .progress-bar {
  865. border-radius: 0;
  866. background-color: $white;
  867. }
  868. }
  869. }
  870. .info-box-icon{
  871. display: block;
  872. float: left;
  873. height: 70px;
  874. width: 70px;
  875. text-align: center;
  876. font-size: 30px;
  877. line-height: 74px;
  878. &.push-bottom {
  879. margin-top: 20px;
  880. }
  881. >img {
  882. max-width: 100%;
  883. }
  884. }
  885. .info-box-more{
  886. display: block;
  887. }
  888. .info-box-icnumberon{
  889. display: block;
  890. }
  891. .info-box-content {
  892. padding: 10px 10px 10px 0;
  893. margin-left: 90px;
  894. }
  895. .info-box-number {
  896. font-weight: $fw-400;
  897. font-size:$fs-18;
  898. }
  899. .info-box-text, .progress-description {
  900. display: block;
  901. font-size: $fs-16;
  902. white-space: nowrap;
  903. overflow: hidden;
  904. text-overflow: ellipsis;
  905. font-weight: $fw-500;
  906. }
  907. .progress-description {
  908. margin: 0;
  909. }
  910. /*---box group---*/
  911. .box-img-top {
  912. width: 100%;
  913. border-top-left-radius: calc(.25rem - 1px);
  914. border-top-right-radius: calc(.25rem - 1px);
  915. }
  916. .box-group {
  917. .box {
  918. border: 1px solid rgba(0,0,0,0.05);
  919. }
  920. }
  921. .box-deck {
  922. display: -ms-flexbox;
  923. display: flex;
  924. -ms-flex-direction: column;
  925. flex-direction: column;
  926. }
  927. @include screen-sm{
  928. .box-group{
  929. display: -ms-flexbox;
  930. display: flex;
  931. -ms-flex-flow: row wrap;
  932. flex-flow: row wrap;
  933. .box{
  934. -ms-flex: 1 0 0%;
  935. flex: 1 0 0%;
  936. &:first-child{
  937. border-top-left-radius: $default-border-radius;
  938. border-bottom-left-radius: $default-border-radius;
  939. .box-img-top {
  940. border-top-left-radius: $default-border-radius;
  941. }
  942. }
  943. border-radius: 0;
  944. &:last-child{
  945. border-top-right-radius: $default-border-radius;
  946. border-bottom-right-radius: $default-border-radius;
  947. .box-img-top {
  948. border-top-right-radius: $default-border-radius;
  949. }
  950. }
  951. }
  952. }
  953. .box-deck {
  954. -ms-flex-flow: row wrap;
  955. flex-flow: row wrap;
  956. margin-right: -15px;
  957. margin-left: -15px;
  958. .box {
  959. display: -ms-flexbox;
  960. display: flex;
  961. -ms-flex: 1 0 0%;
  962. flex: 1 0 0%;
  963. -ms-flex-direction: column;
  964. flex-direction: column;
  965. margin-right: 15px;
  966. margin-bottom: 0;
  967. margin-left: 15px;
  968. }
  969. }
  970. .box-columns {
  971. -webkit-column-count: 3;
  972. column-count: 3;
  973. -webkit-column-gap: 1.25rem;
  974. column-gap: 1.25rem;
  975. .box {
  976. display: inline-block;
  977. width: 100%;
  978. }
  979. }
  980. }
  981. .box-deck .box {
  982. margin-bottom: $default-gutter-width;
  983. }
  984. .box-columns .box {
  985. margin-bottom: $default-gutter-width;
  986. }