You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
3.2 KiB

7 years ago
7 years ago
7 years ago
  1. /**********************************************************************************
  2. *
  3. * Copyright (C) 2017 MuK IT GmbH
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU Affero General Public License as
  7. * published by the Free Software Foundation, either version 3 of the
  8. * License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU Affero General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Affero General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. *
  18. **********************************************************************************/
  19. .o_preview_viewerjs,
  20. .o_preview_viewerjs iframe {
  21. position: absolute;
  22. display: block;
  23. width: 100%;
  24. height: 100%;
  25. }
  26. .o_preview_pdfjs,
  27. .o_preview_pdfjs iframe {
  28. position: absolute;
  29. display: block;
  30. width: 100%;
  31. height: 100%;
  32. }
  33. .o_preview_unsupported {
  34. padding: 20px 30px 20px 30px;
  35. .o_preview_unsupported_body {
  36. padding-top: 25px;
  37. }
  38. .o_preview_unsupported_info {
  39. padding-bottom: 15px;
  40. }
  41. .o_preview_unsupported_icon {
  42. padding-top: 15px;
  43. }
  44. .o_preview_unsupported_table > tbody > tr {
  45. border-top: 1px solid rgb(221, 221, 221);
  46. }
  47. .o_preview_unsupported_table > tbody > tr:first-child {
  48. border-top: 0;
  49. }
  50. .o_preview_unsupported_table > tbody > tr > td {
  51. border-top: 0;
  52. }
  53. .o_preview_unsupported_download {
  54. padding-top: 25px;
  55. padding-bottom: 5px;
  56. }
  57. }
  58. .loader {
  59. height: 20px;
  60. width: 250px;
  61. position: absolute;
  62. top: 0;
  63. bottom: 0;
  64. left: 0;
  65. right: 0;
  66. margin: auto;
  67. .loader--dot {
  68. animation-name: loader;
  69. animation-timing-function: ease-in-out;
  70. animation-duration: 3s;
  71. animation-iteration-count: infinite;
  72. height: 20px;
  73. width: 20px;
  74. border-radius: 100%;
  75. background-color: black;
  76. position: absolute;
  77. border: 2px solid white;
  78. }
  79. .loader--dot:first-child {
  80. background-color: #8cc759;
  81. animation-delay: 0.5s;
  82. }
  83. .loader--dot:nth-child(2) {
  84. background-color: #8c6daf;
  85. animation-delay: 0.4s;
  86. }
  87. .loader--dot:nth-child(3) {
  88. background-color: #ef5d74;
  89. animation-delay: 0.3s;
  90. }
  91. .loader--dot:nth-child(4) {
  92. background-color: #f9a74b;
  93. animation-delay: 0.2s;
  94. }
  95. .loader--dot:nth-child(5) {
  96. background-color: #60beeb;
  97. animation-delay: 0.1s;
  98. }
  99. .loader--dot:nth-child(6) {
  100. background-color: #fbef5a;
  101. animation-delay: 0s;
  102. }
  103. .loader--text {
  104. position: absolute;
  105. top: 200%;
  106. left: 0;
  107. right: 0;
  108. width: 4rem;
  109. margin: auto;
  110. }
  111. .loader--text:after {
  112. content: "Loading";
  113. font-weight: bold;
  114. animation-name: loading-text;
  115. animation-duration: 3s;
  116. animation-iteration-count: infinite;
  117. }
  118. @keyframes loader {
  119. 15% {
  120. transform: translateX(0);
  121. }
  122. 45% {
  123. transform: translateX(230px);
  124. }
  125. 65% {
  126. transform: translateX(230px);
  127. }
  128. 95% {
  129. transform: translateX(0);
  130. }
  131. }
  132. @keyframes loading-text {
  133. 0% {
  134. content: "Loading";
  135. }
  136. 25% {
  137. content: "Loading.";
  138. }
  139. 50% {
  140. content: "Loading..";
  141. }
  142. 75% {
  143. content: "Loading...";
  144. }
  145. }
  146. }