options.css 7.2 KB

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