style.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. @import url(http://fonts.googleapis.com/css?family=Roboto);
  2. * {
  3. box-sizing: border-box;
  4. outline: none;
  5. transition: background-color 0.2s ease;
  6. }
  7. html,
  8. body,
  9. h1,
  10. h2,
  11. button {
  12. padding: 0;
  13. margin: 0;
  14. }
  15. html,
  16. button,
  17. input,
  18. textarea {
  19. font-family: 'Roboto', sans-serif;
  20. }
  21. body {
  22. width: 100%;
  23. background: #fafafa;
  24. }
  25. a {
  26. color: #26a69a;
  27. }
  28. nav img {
  29. vertical-align: middle;
  30. margin-right: 5px;
  31. }
  32. nav dt:hover,
  33. nav dd:hover,
  34. nav dt.active,
  35. nav dd.active {
  36. background: #eeeeee;
  37. cursor: pointer;
  38. cursor: hand;
  39. }
  40. nav dt {
  41. padding: 10px 10px;
  42. }
  43. nav dd {
  44. margin: 0;
  45. padding: 10px 10px 10px 40px;
  46. }
  47. nav a {
  48. color: black;
  49. text-decoration: none;
  50. }
  51. h2 {
  52. margin-bottom: 10px;
  53. }
  54. h2 a {
  55. color: inherit;
  56. }
  57. h3 {
  58. margin-bottom: 10px;
  59. }
  60. h3 :first-child {
  61. margin-top: 0px;
  62. }
  63. hr {
  64. border: 1px solid #eeeeee;
  65. }
  66. table {
  67. border-collapse: collapse;
  68. }
  69. table input[type=text],
  70. table textarea {
  71. width: 100%;
  72. }
  73. th {
  74. text-align: left;
  75. }
  76. td,
  77. th {
  78. padding: 0 10px 5px 0;
  79. vertical-align: top;
  80. }
  81. form button,
  82. form input[type=submit] {
  83. border: none;
  84. background: #eeeeee;
  85. }
  86. form button:hover,
  87. form input[type=submit]:hover {
  88. background: #e0e0e0;
  89. }
  90. button:hover {
  91. cursor: pointer;
  92. cursor: hand;
  93. }
  94. img {
  95. max-width: 100%;
  96. }
  97. p:first-child {
  98. margin-top: 0;
  99. }
  100. #menu {
  101. background: #fafafa;
  102. width: 280px;
  103. left: 0;
  104. position: fixed;
  105. height: 100%;
  106. box-shadow: -2px 0px 0px 0px #eeeeee inset;
  107. z-index: 400;
  108. overflow-x: hidden;
  109. }
  110. #menu .header {
  111. z-index: 401;
  112. }
  113. #menu-button {
  114. display: none;
  115. }
  116. #nav-container {
  117. overflow: auto;
  118. width: 100%;
  119. }
  120. #nav-container dl {
  121. margin: 5px 0 0 0;
  122. }
  123. #main {
  124. padding-left: 280px;
  125. padding-top: 64px;
  126. }
  127. #main > * {
  128. padding-left: 20px !important;
  129. }
  130. #main-header {
  131. position: fixed;
  132. padding-left: 280px;
  133. left: 0;
  134. right: 0;
  135. z-index: 1;
  136. }
  137. #main-header .header > * {
  138. padding-left: 20px !important;
  139. }
  140. #content {
  141. padding: 20px;
  142. margin-bottom: 60px;
  143. }
  144. #buttons {
  145. position: fixed;
  146. bottom: 20px;
  147. right: 20px;
  148. left: 280px;
  149. vertical-align: bottom;
  150. }
  151. #buttons > table {
  152. width: 100%;
  153. }
  154. #buttons > table tr > td {
  155. vertical-align: bottom;
  156. padding: 0;
  157. }
  158. #buttons > table tr > td:last-child {
  159. text-align: right;
  160. }
  161. #buttons > table tr > td > *:not(:first-child) {
  162. margin-top: 20px;
  163. }
  164. #buttons button {
  165. border-radius: 50%;
  166. display: inline-block;
  167. text-align: center;
  168. box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
  169. vertical-align: middle;
  170. border: none;
  171. background: #26a69a;
  172. width: 40px;
  173. height: 40px;
  174. color: white;
  175. font-size: 24px;
  176. line-height: 24px;
  177. }
  178. #cookiePopup {
  179. position: absolute;
  180. background: black;
  181. top: 50%;
  182. left: 50%;
  183. padding: 20px;
  184. border-radius: 30px;
  185. width: 230px;
  186. height: 230px;
  187. margin-top: -115px;
  188. margin-left: -115px;
  189. color: white;
  190. }
  191. #cookiePopup > div {
  192. margin-top: 40px;
  193. text-align: center;
  194. }
  195. .header {
  196. height: 64px;
  197. background: #e53935;
  198. color: white;
  199. white-space: nowrap;
  200. padding: 0 !important;
  201. overflow: hidden;
  202. box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.8);
  203. }
  204. .header > * {
  205. line-height: 64px;
  206. font-size: 24px;
  207. font-weight: 400;
  208. padding-left: 10px;
  209. white-space: nowrap;
  210. display: inline;
  211. vertical-align: middle;
  212. }
  213. .header > h2 > span {
  214. display: inline-block;
  215. }
  216. .header > img {
  217. height: 50%;
  218. }
  219. .header span {
  220. display: inline-block;
  221. }
  222. .header span:not(:first-child):before {
  223. margin: 2px 10px 0 10px;
  224. width: 6px;
  225. float: left;
  226. height: 62px;
  227. background: url("/images/chevron.png") no-repeat scroll right center / contain rgba(0, 0, 0, 0);
  228. content: "";
  229. }
  230. .circle {
  231. border-radius: 50%;
  232. display: inline-block;
  233. text-align: center;
  234. vertical-align: middle;
  235. }
  236. .go,
  237. .expand {
  238. display: none;
  239. float: right;
  240. }
  241. .backdrop {
  242. background: rgba(0, 0, 0, 0.5);
  243. width: 100%;
  244. height: 100%;
  245. position: fixed;
  246. top: 0;
  247. left: 0;
  248. z-index: 100;
  249. display: none;
  250. }
  251. .errors {
  252. background: url(/images/error.svg) no-repeat scroll 10px 10px #424242;
  253. margin: -20px;
  254. margin-bottom: 20px;
  255. padding: 10px;
  256. padding-left: 40px;
  257. color: #fff;
  258. }
  259. .errors ul {
  260. margin: 0;
  261. list-style: square;
  262. }
  263. .row {
  264. width: 100%;
  265. clear: both;
  266. }
  267. .row > .col {
  268. width: 100%;
  269. float: left;
  270. }
  271. .row.col-lg-1 > .col,
  272. .row.col-md-1 > .col,
  273. .row.col-sm-1 > .col {
  274. width: 100%;
  275. }
  276. .row.col-lg-2 > .col,
  277. .row.col-md-2 > .col,
  278. .row.col-sm-2 > .col {
  279. width: 50%;
  280. }
  281. .row.col-lg-3 > .col,
  282. .row.col-md-3 > .col,
  283. .row.col-sm-3 > .col {
  284. width: 33.3333%;
  285. }
  286. .row.col-lg-4 > .col,
  287. .row.col-md-4 > .col,
  288. .row.col-sm-4 > .col {
  289. width: 25%;
  290. }
  291. table.alternatingRows tr:nth-child(1n) {
  292. background: #eeeeee;
  293. }
  294. table.alternatingRows tr:nth-child(2n) {
  295. background: #e0e0e0;
  296. }
  297. td,
  298. th {
  299. padding: 3px;
  300. }
  301. td.number,
  302. th.number {
  303. text-align: right;
  304. }
  305. div.percentageBar {
  306. width: 100%;
  307. height: 20px;
  308. background: #4caf50;
  309. }
  310. div.percentageBar > div {
  311. background: #d32f2f;
  312. height: 100%;
  313. }