toast.css 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @charset "UTF-8";
  2. /* Welcome to Compass.
  3. * In this file you should write your main styles. (or centralize your imports)
  4. * Import this file using the following HTML or equivalent:
  5. * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
  6. /* line 5, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  7. html, body, div, span, applet, object, iframe,
  8. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  9. a, abbr, acronym, address, big, cite, code,
  10. del, dfn, em, img, ins, kbd, q, s, samp,
  11. small, strike, strong, sub, sup, tt, var,
  12. b, u, i, center,
  13. dl, dt, dd, ol, ul, li,
  14. fieldset, form, label, legend,
  15. table, caption, tbody, tfoot, thead, tr, th, td,
  16. article, aside, canvas, details, embed,
  17. figure, figcaption, footer, header, hgroup,
  18. menu, nav, output, ruby, section, summary,
  19. time, mark, audio, video {
  20. margin: 0;
  21. padding: 0;
  22. border: 0;
  23. font: inherit;
  24. font-size: 100%;
  25. vertical-align: baseline;
  26. }
  27. /* line 22, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  28. html {
  29. line-height: 1;
  30. }
  31. /* line 24, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  32. ol, ul {
  33. list-style: none;
  34. }
  35. /* line 26, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  36. table {
  37. border-collapse: collapse;
  38. border-spacing: 0;
  39. }
  40. /* line 28, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  41. caption, th, td {
  42. text-align: left;
  43. font-weight: normal;
  44. vertical-align: middle;
  45. }
  46. /* line 30, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  47. q, blockquote {
  48. quotes: none;
  49. }
  50. /* line 103, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  51. q:before, q:after, blockquote:before, blockquote:after {
  52. content: "";
  53. content: none;
  54. }
  55. /* line 32, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  56. a img {
  57. border: none;
  58. }
  59. /* line 116, C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
  60. article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  61. display: block;
  62. }
  63. /* line 13, ../sass/toast.scss */
  64. .cpt-toast {
  65. position: fixed;
  66. left: 50%;
  67. top: 50%;
  68. text-align: center;
  69. animation-duration: 0.3s;
  70. max-width: 300px;
  71. line-height: 20px;
  72. display: inline-block;
  73. vertical-align: middle;
  74. *vertical-align: auto;
  75. *zoom: 1;
  76. *display: inline;
  77. -moz-transition: all 0.3s ease;
  78. -o-transition: all 0.3s ease;
  79. -webkit-transition: all 0.3s ease;
  80. transition: all 0.3s ease;
  81. transform: translate(-50%, -50%);
  82. transform: translate3d(-50%, -50%, 0);
  83. font-family: '微软雅黑','Microsoft Yahei';
  84. -moz-user-select: -moz-none;
  85. -ms-user-select: none;
  86. -webkit-user-select: none;
  87. user-select: none;
  88. word-wrap: break-word;
  89. }