_infobox.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. .info-box {
  2. box-shadow: 0 2px 10px rgba(0,0,0,.2);
  3. height: 80px;
  4. display: flex;
  5. cursor: default;
  6. background-color: #fff;
  7. position: relative;
  8. overflow: hidden;
  9. margin-bottom: 30px;
  10. .icon {
  11. display: inline-block;
  12. text-align: center;
  13. background-color: rgba(0,0,0,0.12);
  14. width: 80px;
  15. i {
  16. color: #fff;
  17. font-size: 50px;
  18. line-height: 80px;
  19. }
  20. .chart.chart-bar {
  21. height: 100%;
  22. line-height: 100px;
  23. canvas {
  24. vertical-align: baseline !important;
  25. }
  26. }
  27. .chart.chart-pie {
  28. height: 100%;
  29. line-height: 123px;
  30. canvas {
  31. vertical-align: baseline !important;
  32. }
  33. }
  34. .chart.chart-line {
  35. height: 100%;
  36. line-height: 115px;
  37. canvas {
  38. vertical-align: baseline !important;
  39. }
  40. }
  41. }
  42. .content {
  43. display: inline-block;
  44. padding: 7px 10px;
  45. .text {
  46. font-size: 13px;
  47. margin-top: 11px;
  48. color: #555;
  49. }
  50. .number {
  51. font-weight: normal;
  52. font-size: 26px;
  53. margin-top: -4px;
  54. color: #555;
  55. }
  56. }
  57. }
  58. .info-box.hover-zoom-effect {
  59. .icon {
  60. overflow: hidden;
  61. i {
  62. @include transition(all .3s ease);
  63. }
  64. }
  65. &:hover {
  66. .icon {
  67. i {
  68. opacity: 0.4;
  69. @include transform(rotate(-32deg) scale(1.4));
  70. }
  71. }
  72. }
  73. }
  74. .info-box.hover-expand-effect {
  75. &:after {
  76. background-color: rgba(0,0,0,0.05);
  77. content: ".";
  78. position: absolute;
  79. left: 80px;
  80. top: 0;
  81. width: 0;
  82. height: 100%;
  83. color: transparent;
  84. @include transition(all .95s);
  85. }
  86. &:hover {
  87. &:after {
  88. width: 100%;
  89. }
  90. }
  91. }
  92. .info-box-2 {
  93. box-shadow: 0 2px 10px rgba(0,0,0,.2);
  94. height: 80px;
  95. display: flex;
  96. cursor: default;
  97. background-color: #fff;
  98. position: relative;
  99. overflow: hidden;
  100. margin-bottom: 30px;
  101. .icon {
  102. display: inline-block;
  103. text-align: center;
  104. width: 80px;
  105. i {
  106. color: #fff;
  107. font-size: 50px;
  108. line-height: 80px;
  109. }
  110. }
  111. .chart.chart-bar {
  112. height: 100%;
  113. line-height: 105px;
  114. canvas {
  115. vertical-align: baseline !important;
  116. }
  117. }
  118. .chart.chart-pie {
  119. height: 100%;
  120. line-height: 123px;
  121. canvas {
  122. vertical-align: baseline !important;
  123. }
  124. }
  125. .chart.chart-line {
  126. height: 100%;
  127. line-height: 115px;
  128. canvas {
  129. vertical-align: baseline !important;
  130. }
  131. }
  132. .content {
  133. display: inline-block;
  134. padding: 7px 10px;
  135. .text {
  136. font-size: 13px;
  137. margin-top: 11px;
  138. color: #555;
  139. }
  140. .number {
  141. font-weight: normal;
  142. font-size: 26px;
  143. margin-top: -4px;
  144. color: #555;
  145. }
  146. }
  147. }
  148. .info-box-2.hover-zoom-effect {
  149. .icon {
  150. overflow: hidden;
  151. i {
  152. @include transition(all .3s ease);
  153. }
  154. }
  155. &:hover {
  156. .icon {
  157. i {
  158. opacity: 0.4;
  159. @include transform(rotate(-32deg) scale(1.4));
  160. }
  161. }
  162. }
  163. }
  164. .info-box-2.hover-expand-effect {
  165. &:after {
  166. background-color: rgba(0,0,0,0.05);
  167. content: ".";
  168. position: absolute;
  169. left: 0;
  170. top: 0;
  171. width: 0;
  172. height: 100%;
  173. color: transparent;
  174. @include transition(all .95s);
  175. }
  176. &:hover {
  177. &:after {
  178. width: 100%;
  179. }
  180. }
  181. }
  182. .info-box-3 {
  183. box-shadow: 0 2px 10px rgba(0,0,0,.2);
  184. height: 80px;
  185. display: flex;
  186. cursor: default;
  187. background-color: #fff;
  188. position: relative;
  189. overflow: hidden;
  190. margin-bottom: 30px;
  191. .icon {
  192. position: absolute;
  193. right: 10px;
  194. bottom: 2px;
  195. text-align: center;
  196. i {
  197. color: rgba(0,0,0,0.15);
  198. font-size: 60px;
  199. }
  200. }
  201. .chart {
  202. margin-right: 5px;
  203. }
  204. .chart.chart-bar {
  205. height: 100%;
  206. line-height: 50px;
  207. canvas {
  208. vertical-align: baseline !important;
  209. }
  210. }
  211. .chart.chart-pie {
  212. height: 100%;
  213. line-height: 34px;
  214. canvas {
  215. vertical-align: baseline !important;
  216. }
  217. }
  218. .chart.chart-line {
  219. height: 100%;
  220. line-height: 40px;
  221. canvas {
  222. vertical-align: baseline !important;
  223. }
  224. }
  225. .content {
  226. display: inline-block;
  227. padding: 7px 16px;
  228. .text {
  229. font-size: 13px;
  230. margin-top: 11px;
  231. color: #555;
  232. }
  233. .number {
  234. font-weight: normal;
  235. font-size: 26px;
  236. margin-top: -4px;
  237. color: #555;
  238. }
  239. }
  240. }
  241. .info-box-3.hover-zoom-effect {
  242. .icon {
  243. i {
  244. @include transition(all .3s ease);
  245. }
  246. }
  247. &:hover {
  248. .icon {
  249. i {
  250. opacity: 0.4;
  251. @include transform(rotate(-32deg) scale(1.4));
  252. }
  253. }
  254. }
  255. }
  256. .info-box-3.hover-expand-effect {
  257. &:after {
  258. background-color: rgba(0,0,0,0.05);
  259. content: ".";
  260. position: absolute;
  261. left: 0;
  262. top: 0;
  263. width: 0;
  264. height: 100%;
  265. color: transparent;
  266. @include transition(all .95s);
  267. }
  268. &:hover {
  269. &:after {
  270. width: 100%;
  271. }
  272. }
  273. }
  274. .info-box-4 {
  275. box-shadow: 0 2px 10px rgba(0,0,0,.2);
  276. height: 80px;
  277. display: flex;
  278. cursor: default;
  279. background-color: #fff;
  280. position: relative;
  281. overflow: hidden;
  282. margin-bottom: 30px;
  283. .icon {
  284. position: absolute;
  285. right: 10px;
  286. bottom: 2px;
  287. text-align: center;
  288. i {
  289. color: rgba(0,0,0,0.15);
  290. font-size: 60px;
  291. }
  292. }
  293. .chart {
  294. margin-right: 5px;
  295. }
  296. .chart.chart-bar {
  297. height: 100%;
  298. line-height: 50px;
  299. canvas {
  300. vertical-align: baseline !important;
  301. }
  302. }
  303. .chart.chart-pie {
  304. height: 100%;
  305. line-height: 34px;
  306. canvas {
  307. vertical-align: baseline !important;
  308. }
  309. }
  310. .chart.chart-line {
  311. height: 100%;
  312. line-height: 40px;
  313. canvas {
  314. vertical-align: baseline !important;
  315. }
  316. }
  317. .content {
  318. display: inline-block;
  319. padding: 7px 16px;
  320. .text {
  321. font-size: 13px;
  322. margin-top: 11px;
  323. color: #555;
  324. }
  325. .number {
  326. font-weight: normal;
  327. font-size: 26px;
  328. margin-top: -4px;
  329. color: #555;
  330. }
  331. }
  332. }
  333. .info-box-4.hover-zoom-effect {
  334. .icon {
  335. i {
  336. @include transition(all .3s ease);
  337. }
  338. }
  339. &:hover {
  340. .icon {
  341. i {
  342. opacity: 0.4;
  343. @include transform(rotate(-32deg) scale(1.4));
  344. }
  345. }
  346. }
  347. }
  348. .info-box-4.hover-expand-effect {
  349. &:after {
  350. background-color: rgba(0,0,0,0.05);
  351. content: ".";
  352. position: absolute;
  353. left: 0;
  354. top: 0;
  355. width: 0;
  356. height: 100%;
  357. color: transparent;
  358. @include transition(all .95s);
  359. }
  360. &:hover {
  361. &:after {
  362. width: 100%;
  363. }
  364. }
  365. }