lg-comments.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .lg-comment-box {
  2. width: 420px;
  3. max-width: 100%;
  4. position: absolute;
  5. right: 0;
  6. top: 0;
  7. bottom: 0;
  8. z-index: 9999;
  9. background-color: #fff;
  10. will-change: transform;
  11. -moz-transform: translate3d(100%, 0, 0);
  12. -o-transform: translate3d(100%, 0, 0);
  13. -ms-transform: translate3d(100%, 0, 0);
  14. -webkit-transform: translate3d(100%, 0, 0);
  15. transform: translate3d(100%, 0, 0);
  16. -webkit-transition: -webkit-transform 0.4s cubic-bezier(0, 0, 0.25, 1) 0s;
  17. -moz-transition: -moz-transform 0.4s cubic-bezier(0, 0, 0.25, 1) 0s;
  18. -o-transition: -o-transform 0.4s cubic-bezier(0, 0, 0.25, 1) 0s;
  19. transition: transform 0.4s cubic-bezier(0, 0, 0.25, 1) 0s;
  20. }
  21. .lg-comment-box .lg-comment-title {
  22. margin: 0;
  23. color: #fff;
  24. font-size: 18px;
  25. }
  26. .lg-comment-box .lg-comment-header {
  27. background-color: #000;
  28. padding: 12px 20px;
  29. position: absolute;
  30. left: 0;
  31. right: 0;
  32. top: 0;
  33. }
  34. .lg-comment-box .lg-comment-body {
  35. height: 100% !important;
  36. padding-top: 43px !important;
  37. width: 100% !important;
  38. }
  39. .lg-comment-box .fb-comments {
  40. height: 100%;
  41. width: 100%;
  42. background: url("../images/loading.gif") no-repeat scroll center center #fff;
  43. overflow-y: auto;
  44. display: inline-block;
  45. }
  46. .lg-comment-box .fb-comments[fb-xfbml-state='rendered'] {
  47. background-image: none;
  48. }
  49. .lg-comment-box .fb-comments > span {
  50. max-width: 100%;
  51. }
  52. .lg-comment-box .lg-comment-close {
  53. position: absolute;
  54. right: 5px;
  55. top: 12px;
  56. cursor: pointer;
  57. font-size: 20px;
  58. color: #999;
  59. will-change: color;
  60. -webkit-transition: color 0.2s linear;
  61. -o-transition: color 0.2s linear;
  62. transition: color 0.2s linear;
  63. }
  64. .lg-comment-box .lg-comment-close:hover {
  65. color: #fff;
  66. }
  67. .lg-comment-box .lg-comment-close:after {
  68. content: '\e070';
  69. }
  70. .lg-comment-box iframe {
  71. max-width: 100% !important;
  72. width: 100% !important;
  73. }
  74. .lg-comment-box #disqus_thread {
  75. padding: 0 20px;
  76. }
  77. .lg-outer .lg-comment-overlay {
  78. background-color: rgba(0, 0, 0, 0.25);
  79. bottom: 0;
  80. cursor: default;
  81. left: 0;
  82. position: fixed;
  83. right: 0;
  84. top: 0;
  85. z-index: 1081;
  86. opacity: 0;
  87. visibility: hidden;
  88. will-change: visibility, opacity;
  89. -webkit-transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
  90. -o-transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
  91. transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
  92. }
  93. .lg-outer .lg-comment-toggle:after {
  94. content: '\e908';
  95. }
  96. .lg-outer.lg-comment-active .lg-comment-overlay {
  97. -webkit-transition-delay: 0s;
  98. transition-delay: 0s;
  99. -moz-transform: translate3d(0, 0px, 0);
  100. -o-transform: translate3d(0, 0px, 0);
  101. -ms-transform: translate3d(0, 0px, 0);
  102. -webkit-transform: translate3d(0, 0px, 0);
  103. transform: translate3d(0, 0px, 0);
  104. opacity: 1;
  105. visibility: visible;
  106. }
  107. .lg-outer.lg-comment-active .lg-comment-toggle {
  108. color: #fff;
  109. }
  110. .lg-outer.lg-comment-active .lg-comment-box {
  111. -moz-transform: translate3d(0, 0, 0);
  112. -o-transform: translate3d(0, 0, 0);
  113. -ms-transform: translate3d(0, 0, 0);
  114. -webkit-transform: translate3d(0, 0, 0);
  115. transform: translate3d(0, 0, 0);
  116. }