options.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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 { 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 a:nth-of-type(1) { margin-right: 10px; }
  44. footer a:nth-of-type(1):before { font-size: 17px; }
  45. footer a:nth-of-type(2):before {
  46. font-size: 20px; position: relative; top: 1px;
  47. }
  48. /*button*/
  49. .m-button {
  50. background-color: #ececec !important;
  51. color: #000 !important;
  52. }
  53. .m-button:before {
  54. background-color: rgba(96, 125, 139, 0.16) !important;
  55. }
  56. .m-button:after {
  57. background-color: rgba(96, 125, 139, 0.16) !important;
  58. }
  59. /*switch*/
  60. .m-switch {
  61. cursor: pointer;
  62. margin: 7px 0;
  63. }
  64. .m-switch:last-child {
  65. margin-bottom: 16px;
  66. }
  67. .m-switch .mdc-switch__background {
  68. display: inline-block;
  69. bottom: 5px;
  70. left: 15px;
  71. }
  72. .m-switch .mdc-switch-label {
  73. font-size: 1rem;
  74. line-height: 1.5rem;
  75. white-space: nowrap;
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. display: inline-block;
  79. padding: 0 0 0 30px;
  80. }
  81. .m-switch .mdc-switch-label code {
  82. font-size: 16px;
  83. }
  84. /*select*/
  85. .m-select {
  86. font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  87. font-size: 14px;
  88. line-height: 17px;
  89. text-transform: uppercase;
  90. letter-spacing: 0.2px;
  91. background-color: #ececec;
  92. border: none;
  93. border-radius: 2px;
  94. cursor: pointer;
  95. padding: 9px 12px;
  96. }
  97. #options .m-textfield {
  98. font-size: 1rem;
  99. line-height: 1.5rem;
  100. height: auto;
  101. margin: 0;
  102. }
  103. /*add new origin*/
  104. .m-add-new-origin .m-textfield {
  105. width: 400px;
  106. margin: 0 10px !important;
  107. }
  108. .m-add-new-origin button:nth-of-type(2) { float: right; }
  109. .m-add-new-origin .m-select { width: 110px; }
  110. /*allowed-origins*/
  111. .m-list {
  112. list-style: none;
  113. background: #fff;
  114. padding: 0;
  115. margin: 0;
  116. }
  117. .m-list li {
  118. transition-duration: .28s;
  119. transition-timing-function: cubic-bezier(.4,0,.2,1);
  120. transition-property: background-color box-shadow;
  121. height: auto;
  122. min-height: 36px;
  123. border-bottom: 1px solid #ececec;
  124. padding: 10px 20px;
  125. }
  126. .m-list li:last-child {
  127. border: 0;
  128. }
  129. .m-list li:hover {
  130. background: #eee;
  131. }
  132. .m-list li:after { content: ''; display: block; clear: both; }
  133. .m-list li > * { display: inline-block; }
  134. .m-list li > *:nth-child(1) { width: 5%; }
  135. .m-list li > *:nth-child(2) { width: 30%; }
  136. .m-list li > *:nth-child(3) { width: 55%; }
  137. .m-list li > *:nth-child(4) { width: 10%; text-align: right; }
  138. .m-list li span {
  139. font-size: 1rem;
  140. line-height: 36px;
  141. }
  142. .m-list .m-textfield input { color: #a9a9a9; }
  143. .m-list .m-textfield input:focus { color: #1b1b1b; }
  144. .m-list button {
  145. transition-duration: .28s;
  146. transition-timing-function: cubic-bezier(.4,0,.2,1);
  147. transition-property: background-color;
  148. min-width: auto;
  149. padding: 0 9px;
  150. border-radius: 50%;
  151. }
  152. .m-list button:hover { background: #cacaca; }
  153. /*bootstrap callout*/
  154. .bs-callout {
  155. border: 1px solid #eee;
  156. border-left-width: 5px;
  157. border-left-color: #607d8b;
  158. border-radius: 3px;
  159. background: #fcfcfc;
  160. padding: 20px;
  161. margin: 0 0 30px 0;
  162. }
  163. .bs-callout h4 {
  164. margin: 0 0 16px 0;
  165. }
  166. .bs-callout img {
  167. display: block;
  168. margin-bottom: 20px;
  169. }
  170. .bs-callout .m-switch {
  171. margin: 0 0 20px 0;
  172. }
  173. /*custom scrollbars in WebKit*/
  174. ::-webkit-scrollbar {
  175. width: 13px;
  176. height: 13px;
  177. }
  178. ::-webkit-scrollbar-track-piece {
  179. background: #ececec;
  180. -webkit-border-radius: 2px;
  181. }
  182. ::-webkit-scrollbar-thumb {
  183. height: 50px;
  184. background: #afbdc3;
  185. -webkit-border-radius: 8px;
  186. outline: 2px solid #333;
  187. outline-offset: -2px;
  188. border: 2px solid #ececec;
  189. }
  190. ::-webkit-scrollbar-thumb:hover {
  191. height: 50px;
  192. background-color: #607d8b;
  193. -webkit-border-radius: 8px;
  194. }