index.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. .locales-setting {
  2. position: fixed;
  3. z-index: 20000;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background-color: rgba(0, 0, 0, 0.5);
  9. pointer-events: all;
  10. }
  11. .locales-setting > div {
  12. padding: 40px 20px;
  13. display: flex;
  14. align-items: flex-start;
  15. position: absolute;
  16. left: 30px;
  17. top: 30px;
  18. bottom: 30px;
  19. right: 30px;
  20. background: #efefef;
  21. box-shadow: 0 0 8px #666;
  22. }
  23. .locales-setting > div aside {
  24. width: 200px;
  25. height: 100%;
  26. border-right: solid 1px #999;
  27. }
  28. .locales-setting > div aside li {
  29. margin-bottom: 10px;
  30. cursor: pointer;
  31. }
  32. .locales-setting > div aside li.active {
  33. color: #f60;
  34. }
  35. .locales-setting > div main {
  36. flex: 1;
  37. width: 100%;
  38. height: 100%;
  39. overflow: hidden;
  40. overflow-y: auto;
  41. }
  42. .locales-setting > div main li {
  43. display: flex;
  44. align-items: center;
  45. margin-bottom: 10px;
  46. }
  47. .locales-setting > div main li input {
  48. height: 24px;
  49. border: solid 1px #666;
  50. width: 100%;
  51. padding: 0 4px;
  52. }
  53. .locales-setting > div main li > div:first-child {
  54. width: 400px;
  55. /* text-align: right; */
  56. padding-right: 3px;
  57. }
  58. .locales-setting > div main li > div:last-child {
  59. width: 100%;
  60. }
  61. .locales-setting .save {
  62. position: absolute;
  63. right: 5px;
  64. top: 5px;
  65. }
  66. .locales-setting .save select {
  67. border: solid 1px #666;
  68. width: 70px;
  69. height: 24px;
  70. text-align: center;
  71. background: #fff;
  72. }
  73. .locales-setting .save button {
  74. border: solid 1px #666;
  75. width: 70px;
  76. height: 24px;
  77. text-align: center;
  78. background: #fff;
  79. margin-left: 10px;
  80. }
  81. .loader {
  82. position: relative;
  83. margin: 0 auto;
  84. width: 100px
  85. }
  86. .loader:before {
  87. content: '';
  88. display: block;
  89. padding-top: 100%;
  90. }
  91. .circular {
  92. animation: rotate 2s linear infinite;
  93. height: 100%;
  94. transform-origin: center center;
  95. width: 100%;
  96. position: absolute;
  97. top: 0;
  98. bottom: 0;
  99. left: 0;
  100. right: 0;
  101. margin: auto;
  102. }
  103. .path {
  104. stroke-dasharray: 1, 200;
  105. stroke-dashoffset: 0;
  106. animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  107. stroke-linecap: round;
  108. }
  109. @keyframes rotate {
  110. 100% {
  111. transform: rotate(360deg);
  112. }
  113. }
  114. @keyframes dash {
  115. 0% {
  116. stroke-dasharray: 1, 200;
  117. stroke-dashoffset: 0;
  118. }
  119. 50% {
  120. stroke-dasharray: 89, 200;
  121. stroke-dashoffset: -35px;
  122. }
  123. 100% {
  124. stroke-dasharray: 89, 200;
  125. stroke-dashoffset: -124px;
  126. }
  127. }
  128. @keyframes color {
  129. 100%,
  130. 0% {
  131. stroke: #d62d20;
  132. }
  133. 40% {
  134. stroke: #0057e7;
  135. }
  136. 66% {
  137. stroke: #008744;
  138. }
  139. 80%,
  140. 90% {
  141. stroke: #ffa700;
  142. }
  143. }
  144. body {
  145. background-color: #eee;
  146. }
  147. .showbox {
  148. position: absolute;
  149. top: 0;
  150. bottom: 0;
  151. left: 0;
  152. right: 0;
  153. padding: 5%;
  154. z-index: 100000;
  155. background: rgba(0, 0, 0, 0.5);
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. }