example.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300);
  2. @import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700);
  3. body {
  4. background-color: #f2f4f6;
  5. font-family: 'Open Sans', sans-serif;
  6. text-align: center; }
  7. h1 {
  8. background-image: url("images/logo_big.png");
  9. background-image: -webkit-image-set(url("images/logo_big.png") 1x, url("images/logo_big@2x.png") 2x);
  10. width: 385px;
  11. height: 81px;
  12. text-indent: -9999px;
  13. white-space: nowrap;
  14. margin: 50px auto; }
  15. @media all and (max-width: 420px) {
  16. h1 {
  17. width: 300px;
  18. background-size: contain;
  19. background-repeat: no-repeat;
  20. background-position: center; } }
  21. @media all and (max-width: 330px) {
  22. h1 {
  23. width: 250px; } }
  24. h2 {
  25. font-size: 20px;
  26. color: #A9B2BC;
  27. line-height: 25px;
  28. text-transform: uppercase;
  29. font-weight: 300;
  30. text-align: center;
  31. display: block; }
  32. h3 {
  33. font-size: 28px;
  34. color: #C7CCD1;
  35. text-transform: uppercase;
  36. font-family: 'Open Sans Condensed', sans-serif;
  37. margin-top: 100px;
  38. text-align: center;
  39. position: relative; }
  40. h3#download-section {
  41. margin-top: 50px;
  42. padding-top: 40px; }
  43. h3::after {
  44. content: "";
  45. background-color: #e2e5e8;
  46. height: 4px;
  47. width: 700px;
  48. left: 50%;
  49. margin-left: -350px;
  50. position: absolute;
  51. margin-top: -50px;
  52. border-radius: 2px; }
  53. @media all and (max-width: 740px) {
  54. h3::after {
  55. width: auto;
  56. left: 20px;
  57. right: 20px;
  58. margin-left: 0; } }
  59. a {
  60. text-decoration: none; }
  61. p {
  62. max-width: 826px;
  63. margin: 30px auto;
  64. font-size: 17px;
  65. font-weight: 300;
  66. color: #848D94;
  67. line-height: 25px;
  68. text-align: left; }
  69. p.center {
  70. text-align: center; }
  71. p strong {
  72. color: #8A8F94;
  73. font-weight: 600; }
  74. p a {
  75. color: #9ECADF;
  76. font-weight: 600; }
  77. p a:hover {
  78. text-decoration: underline; }
  79. p a.twitter {
  80. color: #5eaade; }
  81. p a.dribbble {
  82. color: #f26798; }
  83. p a.github {
  84. color: #323131; }
  85. button, .button {
  86. background-color: #AEDEF4;
  87. color: white;
  88. border: none;
  89. box-shadow: none;
  90. font-size: 17px;
  91. font-weight: 500;
  92. font-weight: 600;
  93. border-radius: 3px;
  94. padding: 15px 35px;
  95. margin: 26px 5px 0 5px;
  96. cursor: pointer; }
  97. button:focus, .button:focus {
  98. outline: none; }
  99. button:hover, .button:hover {
  100. background-color: #a1d9f2; }
  101. button:active, .button:active {
  102. background-color: #81ccee; }
  103. button.cancel, .button.cancel {
  104. background-color: #D0D0D0; }
  105. button.cancel:hover, .button.cancel:hover {
  106. background-color: #c8c8c8; }
  107. button.cancel:active, .button.cancel:active {
  108. background-color: #b6b6b6; }
  109. button.download, .button.download {
  110. position: fixed;
  111. right: 30px;
  112. top: 0;
  113. background-color: rgba(255, 255, 255, 0.9);
  114. color: #ABCADA;
  115. font-weight: 500;
  116. text-transform: uppercase;
  117. z-index: 3; }
  118. @media all and (max-width: 1278px) {
  119. button.download, .button.download {
  120. display: none; } }
  121. .center-container {
  122. max-width: 700px;
  123. margin: 70px auto; }
  124. pre {
  125. background-color: #49483e;
  126. color: #f8f8f2;
  127. padding: 10px;
  128. border-radius: 5px;
  129. white-space: pre-line;
  130. text-align: left;
  131. font-size: 14px;
  132. max-width: 600px; }
  133. pre .str {
  134. color: #e6db74; }
  135. pre .func {
  136. color: #66d9ef; }
  137. pre .val {
  138. color: #a381ff; }
  139. pre .tag {
  140. color: #e92772; }
  141. pre .attr {
  142. color: #a6e22d; }
  143. pre .arg {
  144. color: #fd9720; }
  145. .showcase {
  146. background-color: #eceef0;
  147. padding: 20px;
  148. display: inline-block;
  149. width: 383px;
  150. vertical-align: top;
  151. position: relative; }
  152. @media all and (max-width: 865px) {
  153. .showcase {
  154. margin: 5px auto;
  155. padding: 46px 20px; } }
  156. @media all and (max-width: 440px) {
  157. .showcase {
  158. width: auto; } }
  159. .showcase h4 {
  160. font-size: 16px;
  161. color: #BCBCBC;
  162. line-height: 22px;
  163. margin: 0 auto;
  164. font-weight: 400; }
  165. .showcase.sweet h4 {
  166. width: 117px;
  167. height: 25px;
  168. margin-top: -3px;
  169. text-indent: -9999px;
  170. background-image: url("images/logo_small.png");
  171. background-image: -webkit-image-set(url("images/logo_small.png") 1x, url("images/logo_small@2x.png") 2x); }
  172. .showcase h5 {
  173. margin-bottom: -7px;
  174. text-align: left;
  175. font-weight: 500;
  176. text-transform: uppercase;
  177. color: #c2c2c2; }
  178. .showcase button {
  179. margin-bottom: 10px; }
  180. .showcase .vs-icon {
  181. background-image: url("images/vs_icon.png");
  182. background-image: -webkit-image-set(url("images/vs_icon.png") 1x, url("images/vs_icon@2x.png") 2x);
  183. width: 69px;
  184. height: 69px;
  185. position: absolute;
  186. right: -34px;
  187. top: 60px;
  188. z-index: 2; }
  189. @media all and (max-width: 865px) {
  190. .showcase .vs-icon {
  191. margin: 5px auto;
  192. right: auto;
  193. left: 50%;
  194. margin-left: -35px;
  195. top: auto;
  196. bottom: -35px; } }
  197. ul.examples {
  198. list-style-type: none;
  199. width: 700px;
  200. margin: 0 auto;
  201. text-align: left;
  202. padding-left: 0; }
  203. @media all and (max-width: 758px) {
  204. ul.examples {
  205. width: auto; } }
  206. ul.examples li {
  207. padding-left: 0; }
  208. ul.examples .ui, ul.examples pre {
  209. display: inline-block;
  210. vertical-align: top; }
  211. @media all and (max-width: 758px) {
  212. ul.examples .ui, ul.examples pre {
  213. display: block;
  214. max-width: none;
  215. margin: 0 auto; } }
  216. ul.examples .ui {
  217. width: 300px;
  218. text-align: center; }
  219. ul.examples .ui button {
  220. margin-top: 12px; }
  221. ul.examples .ui p {
  222. text-align: center;
  223. margin-bottom: 0; }
  224. ul.examples pre {
  225. max-width: 370px;
  226. margin-top: 67px; }
  227. @media all and (max-width: 758px) {
  228. ul.examples pre {
  229. margin-top: 16px !important;
  230. margin-bottom: 60px; } }
  231. ul.examples .warning pre {
  232. margin-top: 93px; }
  233. ol {
  234. max-width: 700px;
  235. margin: 70px auto;
  236. list-style-position: inside;
  237. padding-left: 0; }
  238. ol li {
  239. color: #A7ADB2; }
  240. ol li p {
  241. margin-bottom: 10px; }
  242. table {
  243. width: 700px;
  244. font-size: 14px;
  245. color: #8a8f94;
  246. margin: 10px auto;
  247. text-align: left;
  248. border-collapse: collapse; }
  249. @media all and (max-width: 750px) {
  250. table {
  251. width: auto;
  252. margin: 10px 20px; } }
  253. table th {
  254. background-color: white;
  255. padding: 9px;
  256. color: #acb9be;
  257. font-weight: 400;
  258. text-align: center;
  259. position: relative; }
  260. table th .border-left, table th .border-right {
  261. position: absolute;
  262. background-color: white;
  263. border-radius: 50%;
  264. top: 0;
  265. left: -17px;
  266. width: 37px;
  267. height: 37px; }
  268. table th .border-right {
  269. left: auto;
  270. right: -17px; }
  271. @media all and (max-width: 750px) {
  272. table th:nth-child(2) {
  273. display: none; } }
  274. table td {
  275. padding: 10px 20px;
  276. vertical-align: top; }
  277. table td:first-child {
  278. padding-left: 0px; }
  279. table td:last-child {
  280. padding-right: 0px; }
  281. @media all and (max-width: 750px) {
  282. table td:nth-child(2) {
  283. display: none; } }
  284. @media all and (max-width: 360px) {
  285. table td {
  286. padding: 10px 4px; }
  287. table td b {
  288. font-size: 13px; } }
  289. footer {
  290. margin-top: 100px;
  291. padding-bottom: 30px;
  292. color: #9A999F;
  293. display: inline-block;
  294. position: relative;
  295. color: gray;
  296. font-weight: 400;
  297. color: #93a1aa;
  298. font-weight: 300; }
  299. footer .te-logo {
  300. text-indent: -99999px;
  301. background-size: contain;
  302. background-repeat: no-repeat;
  303. background-position: center center;
  304. height: 16px;
  305. width: 16px;
  306. display: inline-block;
  307. margin-right: 5px;
  308. background-image: url("images/te-logo-small.svg");
  309. position: absolute;
  310. left: -22px;
  311. top: 3px; }
  312. .sweet-alert.twitter {
  313. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  314. padding: 15px;
  315. padding-top: 55px;
  316. text-align: right;
  317. border-radius: 6px;
  318. box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.11), 0px 6px 30px rgba(0, 0, 0, 0.14); }
  319. .sweet-alert.twitter ~ .sweet-overlay {
  320. background: rgba(41, 47, 51, 0.9); }
  321. .sweet-alert.twitter h2 {
  322. position: absolute;
  323. top: 0;
  324. left: 0;
  325. right: 0;
  326. height: 40px;
  327. line-height: 40px;
  328. font-size: 16px;
  329. font-weight: 400;
  330. color: #8899a6;
  331. margin: 0;
  332. color: #66757f;
  333. border-bottom: 1px solid #e1e8ed; }
  334. .sweet-alert.twitter p {
  335. display: block;
  336. text-align: center;
  337. color: #66757f;
  338. font-weight: 400;
  339. font-size: 13px;
  340. margin-top: 7px; }
  341. .sweet-alert.twitter .sa-button-container {
  342. background-color: #f5f8fa;
  343. border-top: 1px solid #e1e8ed;
  344. box-shadow: 0px -1px 0px white;
  345. margin: -15px;
  346. margin-top: 0; }
  347. .sweet-alert.twitter[data-has-confirm-button=false][data-has-cancel-button=false] {
  348. padding-bottom: 10px; }
  349. .sweet-alert.twitter[data-has-confirm-button=false][data-has-cancel-button=false] .sa-button-container {
  350. display: none; }
  351. .sweet-alert.twitter button {
  352. border-radius: 2px;
  353. box-shadow: none !important;
  354. text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
  355. margin: 17px 0px;
  356. border-radius: 4px;
  357. font-size: 14px;
  358. font-weight: 600;
  359. padding: 8px 16px;
  360. position: relative; }
  361. .sweet-alert.twitter button:focus, .sweet-alert.twitter button.cancel:focus {
  362. box-shadow: none !important; }
  363. .sweet-alert.twitter button:focus::before, .sweet-alert.twitter button.cancel:focus::before {
  364. content: "";
  365. position: absolute;
  366. left: -5px;
  367. top: -5px;
  368. right: -5px;
  369. bottom: -5px;
  370. border: 2px solid #a5b0b4;
  371. border-radius: 8px; }
  372. .sweet-alert.twitter button.confirm {
  373. background-color: #55acee !important;
  374. background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  375. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#0C000000)";
  376. border: 1px solid #3b88c3;
  377. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  378. margin-right: 15px; }
  379. .sweet-alert.twitter button.confirm:hover {
  380. background-color: #55acee;
  381. background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.15));
  382. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#26000000)";
  383. border-color: #3b88c3; }
  384. .sweet-alert.twitter button.cancel {
  385. color: #66757e;
  386. background-color: #f5f8fa;
  387. background-image: linear-gradient(#fff, #f5f8fa);
  388. text-shadow: 0px -1px 0px white;
  389. margin-right: 9px;
  390. border: 1px solid #e1e8ed; }
  391. .sweet-alert.twitter button.cancel:hover, .sweet-alert.twitter button.cancel:focus:hover {
  392. background-color: #e1e8ed;
  393. background-image: linear-gradient(#fff, #e1e8ed);
  394. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
  395. border-color: #e1e8ed; }
  396. .sweet-alert.twitter button.cancel:focus {
  397. background: #fff;
  398. border-color: #fff; }
  399. .sweet-alert.twitter .sa-icon {
  400. transform: scale(0.72);
  401. margin-bottom: -2px;
  402. margin-top: -10px; }
  403. .sweet-alert.twitter input {
  404. border: 1px solid #e1e8ed;
  405. border-radius: 3px;
  406. padding: 10px 7px;
  407. height: auto;
  408. box-shadow: none;
  409. font-size: 13px;
  410. margin: 10px 0; }
  411. .sweet-alert.twitter input:focus {
  412. border-color: #94A1A6;
  413. box-shadow: inset 0 0 0 1px rgba(77, 99, 107, 0.7); }
  414. .sweet-alert.twitter fieldset .sa-input-error {
  415. display: none; }
  416. .sweet-alert.twitter .sa-error-container {
  417. text-align: center;
  418. border: none;
  419. background-color: #fbedc0;
  420. margin-bottom: 6px; }
  421. .sweet-alert.twitter .sa-error-container.show {
  422. border: 1px solid #f0e1b9; }
  423. .sweet-alert.twitter .sa-error-container .icon {
  424. display: none; }
  425. .sweet-alert.twitter .sa-error-container p {
  426. color: #292f33;
  427. font-weight: 600;
  428. margin-top: 0; }