assets.component.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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: 122px;
  91. }
  92. .environment-meters {
  93. height: 100px;
  94. }
  95. .enviroment-meter {
  96. height: 60px;
  97. }
  98. .widget {
  99. background: #ffffff none repeat scroll 0 0;
  100. float: left;
  101. margin-top: 14px;
  102. position: relative;
  103. width: 100%;
  104. border-radius: 5px;
  105. .chart-padding {
  106. padding: 10px;
  107. }
  108. .mini-stats {
  109. background: #ffffff none repeat scroll 0 0;
  110. border-radius: 5px;
  111. float: left;
  112. padding: 10px 15px;
  113. width: 100%;
  114. height: inherit;
  115. p {
  116. color: #878888;
  117. //display: block;
  118. font-size: 14px;
  119. line-height: 25px;
  120. margin: 6px 0 0;
  121. text-transform: uppercase;
  122. width: auto;
  123. }
  124. span {
  125. border: 1px solid;
  126. border-radius: 50%;
  127. color: #fff;
  128. //float: left;
  129. font-size: 35px;
  130. height: 60px;
  131. line-height: 60px;
  132. text-align: center;
  133. width: 60px;
  134. position: absolute;
  135. right: 20px;
  136. bottom: 15px;
  137. //display: block;
  138. }
  139. span.savings-skin {
  140. color: #47a44b;
  141. background: #fff;
  142. border: none;
  143. font-size: 48px;
  144. line-height: 50px;
  145. }
  146. h3 {
  147. margin: 10px 0 0;
  148. font-size: 2rem;
  149. font-weight: 400;
  150. }
  151. .savings {
  152. width: 100%;
  153. margin-bottom: 5px;
  154. h4, h3, h2 {
  155. display: inline-block;
  156. width: auto;
  157. }
  158. h4 {
  159. margin-right: 8px;
  160. }
  161. h3 {
  162. color: #47a44b;
  163. margin: 0;
  164. }
  165. }
  166. .savings-last-24h {
  167. font-size: 14px;
  168. i {
  169. font-size: 16px;
  170. color: #47a44b;
  171. }
  172. span {
  173. border: none;
  174. color: #47a44b;
  175. font-size: 20px;
  176. line-height: 0;
  177. text-align: center;
  178. position: static;
  179. display: inline;
  180. font-weight: bold;
  181. }
  182. }
  183. }
  184. .enviroment-stats {
  185. background: #ffffff none repeat scroll 0 0;
  186. border-radius: 5px;
  187. padding: 20px;
  188. display: table;
  189. .enviromental-icon {
  190. height: 128px;
  191. display: table-cell;
  192. vertical-align: middle;
  193. }
  194. .enviromental-text {
  195. line-height: 1.2;
  196. display: table-cell;
  197. font-size: 1rem;
  198. text-transform: initial;
  199. padding-left: 10px;
  200. vertical-align: middle;
  201. span {
  202. float: none;
  203. margin: 0;
  204. display: inline;
  205. border: none;
  206. font-size: 1.2rem;
  207. font-weight: bold;
  208. color: #47a44b;
  209. vertical-align: middle;
  210. }
  211. }
  212. }
  213. }
  214. .btn {
  215. padding: 10px 20px;
  216. }
  217. .chart-container {
  218. display: block;
  219. height:48vh;
  220. @media screen and (max-width: 960px) {
  221. height:350px;
  222. }
  223. position: relative;
  224. }
  225. .no-data {
  226. text-align: center;
  227. z-index: 20;
  228. position: absolute;
  229. top: 50%;
  230. left: 30%;
  231. right: 30%;
  232. visibility: hidden;
  233. }
  234. @media screen and (min-width: 960px) {
  235. .mini-stats {
  236. p,
  237. span,
  238. h3 {
  239. display: block;
  240. }
  241. }
  242. }