options.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. /*sticky footer*/
  2. html, body {
  3. height: 100%;
  4. padding: 0;
  5. margin: 0;
  6. }
  7. #wrapper {
  8. min-height: 100%;
  9. height: auto !important;
  10. height: 100%;
  11. margin: 0 auto -52px;
  12. }
  13. footer, #footer-push {
  14. height: 20px;
  15. text-align: center;
  16. }
  17. /*center content on large screens*/
  18. .mdc-toolbar__row,
  19. main {
  20. max-width: 1200px;
  21. margin: 0 auto;
  22. }
  23. /*content*/
  24. main { padding: 90px 0 30px 0; }
  25. #options { letter-spacing: 0.2px; }
  26. /*header*/
  27. header .mdc-toolbar__title { margin: 0; }
  28. header nav { float: right; margin: 0 !important; }
  29. header nav a { color: #fff !important; min-width: auto !important; }
  30. /*footer*/
  31. footer {
  32. font-size: 14px;
  33. line-height: 20px;
  34. color: #9e9e9e;
  35. text-align: center;
  36. background: #424242;
  37. padding: 16px 40px;
  38. }
  39. footer a {
  40. color: #9e9e9e;
  41. text-decoration: none;
  42. }
  43. footer .icon-chrome { margin-right: 10px; }
  44. footer .icon-chrome:before { font-size: 17px; }
  45. footer .icon-firefox { margin-right: 10px; }
  46. footer .icon-firefox:before {
  47. font-size: 18px; position: relative; top: 1px;
  48. }
  49. footer .icon-github:before {
  50. font-size: 20px; position: relative; top: 1px;
  51. }
  52. footer .icon-hidden {
  53. display: none;
  54. }
  55. /*custom scrollbars in WebKit*/
  56. ::-webkit-scrollbar {
  57. width: 13px;
  58. height: 13px;
  59. }
  60. ::-webkit-scrollbar-track-piece {
  61. background: #ececec;
  62. -webkit-border-radius: 2px;
  63. }
  64. ::-webkit-scrollbar-thumb {
  65. height: 50px;
  66. background: #afbdc3;
  67. -webkit-border-radius: 8px;
  68. outline: 2px solid #333;
  69. outline-offset: -2px;
  70. border: 2px solid #ececec;
  71. }
  72. ::-webkit-scrollbar-thumb:hover {
  73. height: 50px;
  74. background-color: #607d8b;
  75. -webkit-border-radius: 8px;
  76. }
  77. /*bootstrap callout*/
  78. .bs-callout {
  79. border: 1px solid #eee;
  80. border-left-width: 5px;
  81. border-left-color: #607d8b;
  82. border-radius: 3px;
  83. background: #fcfcfc;
  84. padding: 20px;
  85. margin: 0 0 30px 0;
  86. }
  87. /*button*/
  88. .m-button {
  89. background-color: #ececec !important;
  90. color: #000 !important;
  91. }
  92. .m-button:before {
  93. background-color: rgba(96, 125, 139, 0.56) !important;
  94. }
  95. .m-button:after {
  96. background-color: rgba(96, 125, 139, 0.56) !important;
  97. }
  98. /*switch*/
  99. .m-switch {
  100. cursor: pointer;
  101. display: table;
  102. margin: 7px 0;
  103. }
  104. .m-switch .mdc-switch__background {
  105. display: inline-block;
  106. bottom: 5px;
  107. left: 15px;
  108. }
  109. .m-switch .mdc-switch-label {
  110. font-size: 1rem;
  111. line-height: 1.5rem;
  112. white-space: nowrap;
  113. overflow: hidden;
  114. text-overflow: ellipsis;
  115. display: inline-block;
  116. padding: 0 0 0 30px;
  117. }
  118. .m-switch .mdc-switch-label code {
  119. font-size: 16px;
  120. }
  121. /*select*/
  122. .m-select {
  123. font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  124. font-size: 14px;
  125. line-height: 17px;
  126. color: #000;
  127. text-transform: uppercase;
  128. letter-spacing: 0.2px;
  129. background-color: #ececec;
  130. border: none;
  131. border-radius: 2px;
  132. cursor: pointer;
  133. padding: 9px 12px;
  134. }
  135. /*textfield*/
  136. .m-textfield {
  137. font-size: 1rem;
  138. line-height: 1.5rem;
  139. height: auto;
  140. margin: 0;
  141. }
  142. /*add-origin*/
  143. .m-add-origin {}
  144. .m-add-origin:after { content: ''; display: block; clear: both; }
  145. .m-add-origin h4 {
  146. line-height: 36px;
  147. float: left;
  148. padding: 0 100px 0 0;
  149. margin: 0 !important;
  150. }
  151. .m-add-origin .m-select {
  152. width: 110px;
  153. position: relative;
  154. top: -1px;
  155. }
  156. .m-add-origin .m-textfield {
  157. width: 400px;
  158. height: auto !important;
  159. padding: 0 !important;
  160. margin: 0 10px !important;
  161. }
  162. .m-add-origin .m-textfield input {
  163. padding-top: 3px;
  164. }
  165. .m-add-origin button:nth-of-type(1) {
  166. position: relative;
  167. top: -3px;
  168. }
  169. .m-add-origin button:nth-of-type(2) {
  170. float: right;
  171. }
  172. /*global*/
  173. .m-global {
  174. margin: 20px 0 0 0;
  175. }
  176. .m-global:after { content: ''; display: block; clear: both; }
  177. .m-global .m-switch {
  178. float: left;
  179. }
  180. .m-global button {
  181. float: right;
  182. }
  183. /*list*/
  184. .m-list {
  185. list-style: none;
  186. padding: 0;
  187. margin: 20px 0 0 0;
  188. }
  189. .m-list li {
  190. background: #fff;
  191. transition-duration: .28s;
  192. transition-timing-function: cubic-bezier(.4,0,.2,1);
  193. transition-property: background-color box-shadow;
  194. border-bottom: 1px solid #ececec;
  195. }
  196. .m-list li:first-child {
  197. }
  198. .m-list li:last-child {
  199. margin-bottom: 0 !important;
  200. }
  201. .m-list li:hover:not(.m-expanded) { background: #ececec; }
  202. .m-list li:after { content: ''; display: block; clear: both; }
  203. .m-list li.m-expanded {
  204. border: 0;
  205. margin: 20px 0;
  206. }
  207. .m-list .m-summary {
  208. display: block;
  209. height: 36px;
  210. padding: 10px 20px 0 20px;
  211. cursor: pointer;
  212. position: relative;
  213. }
  214. .m-list .m-summary:after { content: ''; display: block; clear: both; }
  215. .m-list .m-summary .m-origin {
  216. float: left;
  217. font-family: monospace;
  218. font-size: 16px;
  219. line-height: 28px;
  220. }
  221. .m-list .m-summary .m-options {
  222. float: right;
  223. padding: 6px 25px 0 0;
  224. }
  225. .m-list .m-summary .m-options span {
  226. background: #ececec;
  227. font-size: 12px;
  228. line-height: 15px;
  229. padding: 2px 5px;
  230. border-radius: 3px;
  231. margin: 0 5px 0 0;
  232. }
  233. .m-list .m-summary i {
  234. position: absolute;
  235. top: 17px;
  236. right: 17px;
  237. }
  238. .m-list .m-content {
  239. /*TEST*/
  240. display: none;
  241. background: #fff;
  242. padding: 0 20px 12px 20px;
  243. position: relative;
  244. }
  245. .m-list .m-expanded .m-summary {
  246. background: #ececec;
  247. }
  248. .m-list .m-expanded .m-origin {}
  249. .m-list .m-expanded .m-content {
  250. display: block;
  251. }
  252. .m-list .m-content .m-option {
  253. min-height: 50px;
  254. }
  255. .m-list .m-content .m-option:after { content: ''; display: block; clear: both; }
  256. .m-list .m-content .m-option .m-name {
  257. float: left;
  258. width: 10%;
  259. font-size: 14px;
  260. line-height: 50px;
  261. text-align: right;
  262. }
  263. .m-list .m-content .m-option .m-name span {
  264. font-size: 12px;
  265. line-height: 15px;
  266. text-transform: uppercase;
  267. letter-spacing: .2px;
  268. }
  269. .m-list .m-content .m-option .m-control {
  270. float: left;
  271. width: 90%;
  272. }
  273. .m-list .m-content .m-option.m-match {}
  274. .m-list .m-content .m-option.m-match .m-control {
  275. width: 80%;
  276. margin: 0 0 0 15px;
  277. }
  278. .m-list .m-content .m-option.m-match .m-textfield {
  279. width: 100%;
  280. height: 43px;
  281. margin: 0 0 7px 10px;
  282. }
  283. .m-list .m-content .m-option.m-match input {
  284. border-bottom: 1px solid #ececec !important;
  285. padding-top: 3px;
  286. }
  287. .m-list .m-content .m-option.m-csp {}
  288. .m-list .m-content .m-option.m-csp label {
  289. margin: 12px 0 0 10px;
  290. }
  291. .m-list .m-content .m-option.m-encoding {}
  292. .m-list .m-content .m-option.m-encoding select {
  293. width: 200px;
  294. margin: 6px 0 0 25px;
  295. }
  296. .m-list .m-footer {
  297. text-align: right;
  298. position: absolute;
  299. bottom: 20px;
  300. right: 20px;
  301. }
  302. .m-list .m-footer .m-button:last-child {
  303. margin: 0 0 0 20px;
  304. }