frame.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. .pear-frame {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. overflow: hidden;
  6. }
  7. .pear-frame .dot {
  8. width: 5px;
  9. height: 24px;
  10. background-color: #5FB878;
  11. margin-top: 8px;
  12. margin-left: 15px;
  13. border-radius: 2px;
  14. display: inline-block;
  15. }
  16. .pear-frame .title {
  17. position: absolute;
  18. margin-top: 0px;
  19. margin-left: 12px;
  20. color: dimgray;
  21. display: inline-block;
  22. letter-spacing: 2px;
  23. }
  24. .pear-frame .pear-frame-title {
  25. height: 40px;
  26. line-height: 40px;
  27. background-color: white;
  28. border: whitesmoke 1px solid;
  29. }
  30. .pear-frame .pear-frame-content {
  31. width: 100%;
  32. height: calc(100% - 0px) !important;
  33. }
  34. .pear-frame-loading {
  35. position: absolute;
  36. display: none;
  37. width: 100%;
  38. height: calc(100% - 0px) !important;
  39. top: 0px;
  40. z-index: 19;
  41. background-color: #fff
  42. }
  43. .pear-frame-loading.close {
  44. animation: close 1s;
  45. -webkit-animation: close 1s;
  46. animation-fill-mode: forwards;
  47. }
  48. .ball-loader {
  49. position: absolute;
  50. left: 50%;
  51. top: 50%;
  52. transform: translate(-50%, -50%);
  53. -ms-transform: translate(-50%, -50%);
  54. -webkit-transform: translate(-50%, -50%)
  55. }
  56. .ball-loader>span,
  57. .signal-loader>span {
  58. background-color: #4aca85;
  59. display: inline-block
  60. }
  61. .ball-loader>span:nth-child(1),
  62. .ball-loader.sm>span:nth-child(1),
  63. .signal-loader>span:nth-child(1),
  64. .signal-loader.sm>span:nth-child(1) {
  65. -webkit-animation-delay: 0s;
  66. animation-delay: 0s
  67. }
  68. .ball-loader>span:nth-child(2),
  69. .ball-loader.sm>span:nth-child(2),
  70. .signal-loader>span:nth-child(2),
  71. .signal-loader.sm>span:nth-child(2) {
  72. -webkit-animation-delay: .1s;
  73. animation-delay: .1s
  74. }
  75. .ball-loader>span:nth-child(3),
  76. .ball-loader.sm>span:nth-child(3),
  77. .signal-loader>span:nth-child(3),
  78. .signal-loader.sm>span:nth-child(3) {
  79. -webkit-animation-delay: .15s;
  80. animation-delay: .15s
  81. }
  82. .ball-loader>span:nth-child(4),
  83. .ball-loader.sm>span:nth-child(4),
  84. .signal-loader>span:nth-child(4),
  85. .signal-loader.sm>span:nth-child(4) {
  86. -webkit-animation-delay: .2s;
  87. animation-delay: .2s
  88. }
  89. .ball-loader>span {
  90. width: 20px;
  91. height: 20px;
  92. margin: 0 3px;
  93. border-radius: 50%;
  94. transform: scale(0);
  95. -ms-transform: scale(0);
  96. -webkit-transform: scale(0);
  97. animation: ball-load 1s ease-in-out infinite;
  98. -webkit-animation: 1s ball-load ease-in-out infinite
  99. }
  100. @-webkit-keyframes ball-load {
  101. 0% {
  102. transform: scale(0);
  103. -webkit-transform: scale(0)
  104. }
  105. 50% {
  106. transform: scale(1);
  107. -webkit-transform: scale(1)
  108. }
  109. 100% {
  110. transform: scale(0);
  111. -webkit-transform: scale(0)
  112. }
  113. }
  114. @keyframes ball-load {
  115. 0% {
  116. transform: scale(0);
  117. -webkit-transform: scale(0)
  118. }
  119. 50% {
  120. transform: scale(1);
  121. -webkit-transform: scale(1)
  122. }
  123. 100% {
  124. transform: scale(0);
  125. -webkit-transform: scale(0)
  126. }
  127. }
  128. @-webkit-keyframes close {
  129. 0% {
  130. opacity: 1;
  131. /*display: block;*/
  132. }
  133. 100% {
  134. opacity: 0;
  135. /*display: none;*/
  136. }
  137. }