You are here

statistics.css in Opigno statistics 8

.form-item-year,
.form-item-month {
  display: inline-block;
  min-width: 100px;
}

.form-item-year .form-element-wrapper,
.form-item-month .form-element-wrapper {
  width: 100% !important;
}

.trainings-progress {
  background-color: #f6f6f6;
  color: #585857;
  padding: 80px 45px 0;
}

@media screen and (max-width: 768px) {
  .trainings-progress {
    padding: 3rem 1rem 0;
    text-align: center;
  }
}

.trainings-progress::after {
  display: table;
  content: '';
  clear: both;
}

.opigno-statistics-dashboard-form .trainings-progress .value-indicator-wrapper {
  margin-bottom: 2rem;
  margin-right: 30px;
  float: left;
  clear: left;
}

@media screen and (max-width: 768px) {
  .trainings-progress .value-indicator-wrapper {
    margin-bottom: 2rem;
    margin-right: 0;
    float: none;
    text-align: center;
  }
}

.trainings-progress .value-wrapper {
  display: inline-block;
  vertical-align: top;
  margin-right: 30px;
  width: 100px;
}

.trainings-progress .value,
.trainings-progress .label {
  display: block;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.trainings-progress .value {
  color: #2E98C2;
  font-size: 30px;
  font-weight: 600;
}

.trainings-progress .label {
  font-size: 16px;
}

.trainings-progress .indicator-wrapper {
  display: inline-block;
}

.trainings-progress .indicator {
  display: inline-block;
  width: 135px;
  height: 135px;
}

.trainings-progress .indicator circle {
  stroke: transparent;
  fill: #eee;
}

.trainings-progress .indicator path {
  fill: #2E98C2;
}

.trainings-progress .indicator circle.inner {
  fill: #f6f6f6;
}

.user-metrics-title {
  background-color: #f6f6f6;
  color: #585857;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 20px 45px;
}

.user-metrics-content {
  display: flex;
  flex-flow: row nowrap;
  margin-bottom: 45px;
}

@media screen and (max-width: 768px) {
  .user-metrics-content {
    display: block;
  }
}

.user-metric {
  background-color: #2E98C2;
  flex: 1;
  padding: 20px;
  text-align: center;
}

.user-metric+.user-metric {
  margin-left: 4px;
}

@media screen and (max-width: 768px) {
  .user-metric+.user-metric {
    margin-left: 0;
    margin-top: 4px;
  }
}

.user-metric-value,
.user-metric-label {
  color: #fff;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.user-metric-value {
  font-size: 36px;
}

.user-metric-label {
  font-size: 20px;
  font-weight: 700;
}

.statistics-table thead th {
  background-color: #2E98C2;
  border: 0 !important;
  color: #fff;
  font-size: 19px;
  font-style: italic;
  font-weight: 700;
  padding-left: 30px;
  padding-right: 30px;
  text-transform: none;
}

.statistics-table thead th:not(:first-child),
.statistics-table tbody td:not(:first-child) {
  text-align: center;
}

.statistics-table tbody td {
  position: relative;
}

.statistics-table tbody td .details {
  display: inline-block;
  background-image: url('../img/icon_details.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 22px;
  height: 1.75rem;
  font-size: 20px;
  color: #000;
}

.statistics-table tbody td .details:hover {
  background-image: url('../img/icon_details_hover.png');
}

.badges .statistics-table th:not(:first-child),
.badges .statistics-table tbody td:not(:first-child) {
  text-align: left;
}

.badges .statistics-table th:nth-child(2),
.badges .statistics-table tbody td:nth-child(2),
.badges .statistics-table th:nth-child(5),
.badges .statistics-table tbody td:nth-child(5) {
  text-align: center;
}

.icon_state {
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 43px;
  height: 43px;
  margin: 0 10px;
  vertical-align: middle;
}

.icon_state_pending,
.step_state_pending {
  background-image: url('../img/icon_state_pending.png');
}

.icon_state_failed,
.step_state_failed {
  background-image: url('../img/icon_state_failed.png');
}

.icon_state_passed,
.step_state_passed {
  background-image: url('../img/icon_state_passed.png');
}

.icon_state_expired,
.step_state_expired {
  background-image: url('../img/icon-state-expired.png');
  width: 47px;
  height: 47px;
}

.score-bar,
.score-bar-inner {
  display: block;
  height: 2.5px;
  width: 100%;
}

.score-bar {
  background-color: #dadada;
}

.score-bar-inner {
  background-color: #f0a794;
}

form .p-relative {
  position: relative;
}

form .popover-help {
  padding: 0;
  background: none;
  border: 0;
  width: 22px;
  height: 22px;
  background-color: #2E98C2 !important;
  border-radius: 100%;
  color: #fff !important;
  display: inline-block;
  line-height: 22px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  margin-left: .5rem;
  vertical-align: top;
  position: relative;
  cursor: pointer;
  margin-right: calc(-18px - .5rem);
}

form .popover-help .popover {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 250px;
  margin-left: 12px;
  border-radius: 5px;
  border-color: #5bb4d8;
  cursor: auto;
}

form .user-metric .popover-help {
  background-color: #22637d !important;
}

form .popover-help .popover .arrow {
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

form .popover-help .popover-header {
  background-color: transparent;
  border-bottom: 0;
  padding-bottom: 0;
  padding-top: 0.25rem;
}

form .popover-help .popover-header .close {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  padding: 0 0 0 0.5rem;
}

.bs-popover-auto[x-placement^=right] .arrow:before,
.bs-popover-right .arrow:before {
  border-right-color: #2E98C2;
}

File

css/statistics.css
View source
  1. .form-item-year,
  2. .form-item-month {
  3. display: inline-block;
  4. min-width: 100px;
  5. }
  6. .form-item-year .form-element-wrapper,
  7. .form-item-month .form-element-wrapper {
  8. width: 100% !important;
  9. }
  10. .trainings-progress {
  11. background-color: #f6f6f6;
  12. color: #585857;
  13. padding: 80px 45px 0;
  14. }
  15. @media screen and (max-width: 768px) {
  16. .trainings-progress {
  17. padding: 3rem 1rem 0;
  18. text-align: center;
  19. }
  20. }
  21. .trainings-progress::after {
  22. display: table;
  23. content: '';
  24. clear: both;
  25. }
  26. .opigno-statistics-dashboard-form .trainings-progress .value-indicator-wrapper {
  27. margin-bottom: 2rem;
  28. margin-right: 30px;
  29. float: left;
  30. clear: left;
  31. }
  32. @media screen and (max-width: 768px) {
  33. .trainings-progress .value-indicator-wrapper {
  34. margin-bottom: 2rem;
  35. margin-right: 0;
  36. float: none;
  37. text-align: center;
  38. }
  39. }
  40. .trainings-progress .value-wrapper {
  41. display: inline-block;
  42. vertical-align: top;
  43. margin-right: 30px;
  44. width: 100px;
  45. }
  46. .trainings-progress .value,
  47. .trainings-progress .label {
  48. display: block;
  49. line-height: normal;
  50. margin: 0;
  51. padding: 0;
  52. }
  53. .trainings-progress .value {
  54. color: #2E98C2;
  55. font-size: 30px;
  56. font-weight: 600;
  57. }
  58. .trainings-progress .label {
  59. font-size: 16px;
  60. }
  61. .trainings-progress .indicator-wrapper {
  62. display: inline-block;
  63. }
  64. .trainings-progress .indicator {
  65. display: inline-block;
  66. width: 135px;
  67. height: 135px;
  68. }
  69. .trainings-progress .indicator circle {
  70. stroke: transparent;
  71. fill: #eee;
  72. }
  73. .trainings-progress .indicator path {
  74. fill: #2E98C2;
  75. }
  76. .trainings-progress .indicator circle.inner {
  77. fill: #f6f6f6;
  78. }
  79. .user-metrics-title {
  80. background-color: #f6f6f6;
  81. color: #585857;
  82. font-size: 16px;
  83. font-weight: normal;
  84. margin: 0;
  85. padding: 20px 45px;
  86. }
  87. .user-metrics-content {
  88. display: flex;
  89. flex-flow: row nowrap;
  90. margin-bottom: 45px;
  91. }
  92. @media screen and (max-width: 768px) {
  93. .user-metrics-content {
  94. display: block;
  95. }
  96. }
  97. .user-metric {
  98. background-color: #2E98C2;
  99. flex: 1;
  100. padding: 20px;
  101. text-align: center;
  102. }
  103. .user-metric+.user-metric {
  104. margin-left: 4px;
  105. }
  106. @media screen and (max-width: 768px) {
  107. .user-metric+.user-metric {
  108. margin-left: 0;
  109. margin-top: 4px;
  110. }
  111. }
  112. .user-metric-value,
  113. .user-metric-label {
  114. color: #fff;
  115. line-height: normal;
  116. margin: 0;
  117. padding: 0;
  118. }
  119. .user-metric-value {
  120. font-size: 36px;
  121. }
  122. .user-metric-label {
  123. font-size: 20px;
  124. font-weight: 700;
  125. }
  126. .statistics-table thead th {
  127. background-color: #2E98C2;
  128. border: 0 !important;
  129. color: #fff;
  130. font-size: 19px;
  131. font-style: italic;
  132. font-weight: 700;
  133. padding-left: 30px;
  134. padding-right: 30px;
  135. text-transform: none;
  136. }
  137. .statistics-table thead th:not(:first-child),
  138. .statistics-table tbody td:not(:first-child) {
  139. text-align: center;
  140. }
  141. .statistics-table tbody td {
  142. position: relative;
  143. }
  144. .statistics-table tbody td .details {
  145. display: inline-block;
  146. background-image: url('../img/icon_details.png');
  147. background-size: contain;
  148. background-repeat: no-repeat;
  149. width: 22px;
  150. height: 1.75rem;
  151. font-size: 20px;
  152. color: #000;
  153. }
  154. .statistics-table tbody td .details:hover {
  155. background-image: url('../img/icon_details_hover.png');
  156. }
  157. .badges .statistics-table th:not(:first-child),
  158. .badges .statistics-table tbody td:not(:first-child) {
  159. text-align: left;
  160. }
  161. .badges .statistics-table th:nth-child(2),
  162. .badges .statistics-table tbody td:nth-child(2),
  163. .badges .statistics-table th:nth-child(5),
  164. .badges .statistics-table tbody td:nth-child(5) {
  165. text-align: center;
  166. }
  167. .icon_state {
  168. background-position: center;
  169. background-repeat: no-repeat;
  170. display: inline-block;
  171. width: 43px;
  172. height: 43px;
  173. margin: 0 10px;
  174. vertical-align: middle;
  175. }
  176. .icon_state_pending,
  177. .step_state_pending {
  178. background-image: url('../img/icon_state_pending.png');
  179. }
  180. .icon_state_failed,
  181. .step_state_failed {
  182. background-image: url('../img/icon_state_failed.png');
  183. }
  184. .icon_state_passed,
  185. .step_state_passed {
  186. background-image: url('../img/icon_state_passed.png');
  187. }
  188. .icon_state_expired,
  189. .step_state_expired {
  190. background-image: url('../img/icon-state-expired.png');
  191. width: 47px;
  192. height: 47px;
  193. }
  194. .score-bar,
  195. .score-bar-inner {
  196. display: block;
  197. height: 2.5px;
  198. width: 100%;
  199. }
  200. .score-bar {
  201. background-color: #dadada;
  202. }
  203. .score-bar-inner {
  204. background-color: #f0a794;
  205. }
  206. form .p-relative {
  207. position: relative;
  208. }
  209. form .popover-help {
  210. padding: 0;
  211. background: none;
  212. border: 0;
  213. width: 22px;
  214. height: 22px;
  215. background-color: #2E98C2 !important;
  216. border-radius: 100%;
  217. color: #fff !important;
  218. display: inline-block;
  219. line-height: 22px;
  220. text-align: center;
  221. font-size: 19px;
  222. font-weight: 700;
  223. margin-left: .5rem;
  224. vertical-align: top;
  225. position: relative;
  226. cursor: pointer;
  227. margin-right: calc(-18px - .5rem);
  228. }
  229. form .popover-help .popover {
  230. position: absolute;
  231. top: 50%;
  232. left: 100%;
  233. transform: translateY(-50%);
  234. width: 250px;
  235. margin-left: 12px;
  236. border-radius: 5px;
  237. border-color: #5bb4d8;
  238. cursor: auto;
  239. }
  240. form .user-metric .popover-help {
  241. background-color: #22637d !important;
  242. }
  243. form .popover-help .popover .arrow {
  244. top: 50%;
  245. transform: translateY(-50%);
  246. margin: 0;
  247. }
  248. form .popover-help .popover-header {
  249. background-color: transparent;
  250. border-bottom: 0;
  251. padding-bottom: 0;
  252. padding-top: 0.25rem;
  253. }
  254. form .popover-help .popover-header .close {
  255. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  256. font-weight: 700;
  257. font-size: 20px;
  258. line-height: 1;
  259. padding: 0 0 0 0.5rem;
  260. }
  261. .bs-popover-auto[x-placement^=right] .arrow:before,
  262. .bs-popover-right .arrow:before {
  263. border-right-color: #2E98C2;
  264. }