assets.component.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. h4.card-text {
  2. margin: 0;
  3. color: #fff;
  4. i {
  5. color: inherit;
  6. }
  7. }
  8. .input-box-container {
  9. display: inline-block;
  10. margin: 0 15px;
  11. position: relative;
  12. border-collapse: separate;
  13. max-width: 130px;
  14. input {
  15. margin: 5px 0 0;
  16. font-family: inherit;
  17. line-height: inherit;
  18. padding-left: 25px;
  19. max-width: inherit;
  20. }
  21. p {
  22. position: absolute;
  23. margin-left: 5px;
  24. height: 25px;
  25. display: flex;
  26. align-items: center;
  27. left: 5px;
  28. }
  29. }
  30. .savings-wrapper {
  31. height: 150px;
  32. }
  33. #toogleTable {
  34. display: none;
  35. }
  36. .align-right {
  37. text-align: right;
  38. }
  39. .action-buttons {
  40. display: inline-block;
  41. margin-top: 10px;
  42. button {
  43. margin-right: 5px;
  44. padding: 8px 12px;
  45. }
  46. .btn-success {
  47. background: #47a44b;
  48. border-color: #39843c;
  49. color: #fff;
  50. }
  51. }
  52. .visualization {
  53. text-align: right;
  54. }
  55. table {
  56. width: 100%;
  57. }
  58. .mat-form-field {
  59. font-size: 14px;
  60. width: 100%;
  61. }
  62. .example-loading-shade {
  63. position: absolute;
  64. top: 0;
  65. left: 0;
  66. bottom: 56px;
  67. right: 0;
  68. background: rgba(0, 0, 0, 0.15);
  69. z-index: 1;
  70. display: flex;
  71. align-items: center;
  72. justify-content: center;
  73. }
  74. .example-rate-limit-reached {
  75. color: #980000;
  76. max-width: 360px;
  77. text-align: center;
  78. }
  79. /* Structure */
  80. .example-container {
  81. position: relative;
  82. min-height: 200px;
  83. }
  84. .example-table-container {
  85. position: relative;
  86. //max-height: 400px;
  87. overflow: auto;
  88. }
  89. .energy-stats {
  90. height: 90px;
  91. margin-top: 9px !important;
  92. }
  93. .certification-stats {
  94. height: 198px;
  95. background-color: #fff;
  96. margin-top: 9px;
  97. position: relative;
  98. width: 100%;
  99. border-radius: 5px;
  100. position: relative;
  101. padding: 10px 15px;
  102. }
  103. .cdo-items {
  104. line-height: 1.5;
  105. font-size: 1rem;
  106. padding: 3px 0;
  107. @media screen and (max-width: 800px) {
  108. font-size: 0.9rem;
  109. }
  110. i.material-icons {
  111. font-size: 16px;
  112. }
  113. span.cdo-money {
  114. font-size: 1.3rem;
  115. color: #47a44b;
  116. }
  117. span.cdo-total {
  118. font-size: 1.3rem;
  119. color: #0d3b66;
  120. }
  121. span.cdo-date {
  122. font-size: 1.2rem;
  123. color: #ee964b;
  124. }
  125. span {
  126. font-weight: bold;
  127. @media screen and (max-width: 420px) {
  128. font-size: 1rem !important;
  129. }
  130. }
  131. }
  132. .cert-title {
  133. h2 {
  134. font-size: 1.5rem;
  135. margin: 0 0 12px;
  136. font-weight: bold;
  137. @media screen and (max-width: 800px) {
  138. font-size: 1.3rem;
  139. }
  140. @media screen and (max-width: 420px) {
  141. font-size: 1rem;
  142. font-weight: bold;
  143. }
  144. }
  145. }
  146. .cert-skin {
  147. position: absolute;
  148. right: 15px;
  149. top: 10px;
  150. @media screen and (max-width: 420px) {
  151. right: 5px;
  152. top: 5px;
  153. }
  154. }
  155. .environment-meters {
  156. height: 100px;
  157. }
  158. .enviroment-meter {
  159. height: 60px;
  160. }
  161. .widget {
  162. background: #ffffff none repeat scroll 0 0;
  163. float: left;
  164. margin-top: 14px;
  165. position: relative;
  166. width: 100%;
  167. border-radius: 5px;
  168. .chart-padding {
  169. padding: 10px;
  170. }
  171. .mini-stats {
  172. background: #ffffff none repeat scroll 0 0;
  173. border-radius: 5px;
  174. float: left;
  175. padding: 10px 15px;
  176. width: 100%;
  177. height: inherit;
  178. p {
  179. color: #878888;
  180. //display: block;
  181. font-size: 14px;
  182. line-height: 25px;
  183. margin: 6px 0 0;
  184. text-transform: uppercase;
  185. width: auto;
  186. }
  187. span {
  188. border: 1px solid;
  189. border-radius: 50%;
  190. color: #fff;
  191. //float: left;
  192. font-size: 30px;
  193. height: 53px;
  194. line-height: 53px;
  195. text-align: center;
  196. width: 53px;
  197. position: absolute;
  198. right: 15px;
  199. bottom: 15px;
  200. @media screen and (max-width: 960px) {
  201. height: 48px;
  202. width: 48px;
  203. line-height: 48px;
  204. font-size: 24px;
  205. }
  206. @media screen and (max-width: 800px) {
  207. height: 44px;
  208. width: 44px;
  209. line-height: 44px;
  210. font-size: 24px;
  211. right: 10px;
  212. }
  213. @media screen and (min-width: 960px) and (max-width: 1024px) {
  214. height: 48px;
  215. width: 48px;
  216. line-height: 48px;
  217. font-size: 24px;
  218. }
  219. //display: block;
  220. }
  221. span.savings-skin {
  222. color: #47a44b;
  223. background: #fff;
  224. border: none;
  225. font-size: 48px;
  226. line-height: 50px;
  227. width: 64px;
  228. position: absolute;
  229. @media screen and (max-width: 960px) {
  230. top: 0;
  231. width: 50px;
  232. i {
  233. font-size: 36px;
  234. }
  235. }
  236. }
  237. h3 {
  238. margin: 0;
  239. font-size: 1.8rem;
  240. @media screen and (max-width: 1152px) {
  241. font-size: 1.5rem;
  242. }
  243. @media screen and (min-width: 960px) and (max-width: 1024px) {
  244. font-size: 1.3rem;
  245. }
  246. @media screen and (max-width: 800px) {
  247. font-size: 1.4rem;
  248. }
  249. font-weight: 400;
  250. }
  251. .savings {
  252. width: 100%;
  253. margin-bottom: 5px;
  254. h4,
  255. h3,
  256. h2 {
  257. display: inline-block;
  258. width: auto;
  259. }
  260. h4 {
  261. margin-right: 8px;
  262. }
  263. h3 {
  264. color: #47a44b;
  265. margin: 0;
  266. }
  267. }
  268. .savings-last-24h {
  269. font-size: 14px;
  270. i {
  271. font-size: 16px;
  272. color: #47a44b;
  273. }
  274. span {
  275. border: none;
  276. color: #47a44b;
  277. font-size: 20px;
  278. line-height: 0;
  279. text-align: center;
  280. position: static;
  281. display: inline;
  282. font-weight: bold;
  283. }
  284. }
  285. }
  286. .enviroment-stats {
  287. background: #ffffff none repeat scroll 0 0;
  288. border-radius: 5px;
  289. padding: 20px;
  290. display: table;
  291. .enviromental-icon {
  292. height: 128px;
  293. display: table-cell;
  294. vertical-align: middle;
  295. }
  296. .enviromental-text {
  297. line-height: 1.2;
  298. display: table-cell;
  299. font-size: 1rem;
  300. text-transform: initial;
  301. padding-left: 10px;
  302. vertical-align: middle;
  303. span {
  304. float: none;
  305. margin: 0;
  306. display: inline;
  307. border: none;
  308. font-size: 1.2rem;
  309. font-weight: bold;
  310. color: #47a44b;
  311. vertical-align: middle;
  312. }
  313. }
  314. }
  315. }
  316. .btn {
  317. padding: 10px 20px;
  318. }
  319. .chart-container {
  320. display: block;
  321. height: 48vh;
  322. @media screen and (max-width: 960px) {
  323. height: 350px;
  324. }
  325. position: relative;
  326. }
  327. .no-data {
  328. text-align: center;
  329. z-index: 20;
  330. position: absolute;
  331. top: 50%;
  332. left: 30%;
  333. right: 30%;
  334. visibility: hidden;
  335. }
  336. @media screen and (min-width: 960px) {
  337. .mini-stats {
  338. p,
  339. span,
  340. h3 {
  341. display: block;
  342. }
  343. }
  344. }