style.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. :root {
  2. --my-200: #80eeee;
  3. --my-50: #ecfdf5;
  4. --water-width: 300px;
  5. --water-heigh: 300px;
  6. }
  7. /* general styled components */
  8. .tools {
  9. align-items: center;
  10. justify-content: center;
  11. }
  12. .gradio-button {
  13. max-width: 2.2em;
  14. min-width: 2.2em !important;
  15. height: 2.4em;
  16. align-self: end;
  17. line-height: 1em;
  18. border-radius: 0.5em;
  19. }
  20. .gradio-button.secondary-down, .gradio-button.secondary-down:hover{
  21. box-shadow: 1px 1px 1px rgba(0,0,0,0.25) inset, 0px 0px 3px rgba(0,0,0,0.15) inset;
  22. }
  23. /* replace original footer with ours */
  24. a{
  25. font-weight: bold;
  26. cursor: pointer;
  27. color: #030C14 !important;
  28. }
  29. footer {
  30. display: none !important;
  31. }
  32. #footer{
  33. text-align: center;
  34. }
  35. #footer div{
  36. display: inline-block;
  37. }
  38. #footer .versions{
  39. font-size: 85%;
  40. opacity: 0.85;
  41. }
  42. /*@keyframes moveBackground {*/
  43. /* 0% {*/
  44. /* background-position: 0 0;*/
  45. /* }*/
  46. /* 100% {*/
  47. /* background-position: -100px 100px;*/
  48. /* }*/
  49. /*}*/
  50. @keyframes moveJellyBackground {
  51. 0% {
  52. background-position: 0% 50%;
  53. }
  54. 50% {
  55. background-position: 100% 50%;
  56. }
  57. 100% {
  58. background-position: 0% 50%;
  59. }
  60. }
  61. .gradio-container {
  62. position: absolute;
  63. z-index: 10;
  64. }
  65. .quan {
  66. position: absolute;
  67. bottom: 0;
  68. width: var(--water-width);
  69. height: var(--water-heigh);
  70. border-radius: 0;
  71. /*border: 3px solid rgb(246, 247, 248);*/
  72. /*box-shadow: 0 0 0 3px rgb(41, 134, 196);*/
  73. z-index: 0;
  74. }
  75. .quan:last-child {
  76. margin-right: 0;
  77. }
  78. .shui {
  79. position: absolute;
  80. top: 0;
  81. left: 0;
  82. width: 100%;
  83. height: 100%;
  84. background-color: rgb(23, 106, 201);
  85. border-radius: 0;
  86. overflow: hidden;
  87. z-index: 0;
  88. }
  89. .shui::after {
  90. content: '';
  91. position: absolute;
  92. top: 20%;
  93. left: 50%;
  94. width: 150%;
  95. height: 150%;
  96. border-radius: 40%;
  97. background-image: radial-gradient(circle at 0% 50%, #dcfcf1, var(--my-50) 50%);
  98. animation: shi 5s linear infinite;
  99. }
  100. @keyframes shi {
  101. 0% {
  102. transform: translate(-50%, -65%) rotate(0deg);
  103. }
  104. 100% {
  105. transform: translate(-50%, -65%) rotate(360deg);
  106. }
  107. }
  108. .shui::before {
  109. content: '';
  110. position: absolute;
  111. top: 20%;
  112. left: 50%;
  113. width: 150%;
  114. height: 150%;
  115. border-radius: 42%;
  116. background-color: rgb(240, 228, 228, 0.2);
  117. animation: xu 7s linear infinite;
  118. }
  119. @keyframes xu {
  120. 0% {
  121. transform: translate(-50%, -60%) rotate(0deg);
  122. }
  123. 100% {
  124. transform: translate(-50%, -60%) rotate(360deg);
  125. }
  126. }
  127. fieldset.data_src div.wrap label {
  128. background: #f8bffee0 !important;
  129. }
  130. .scrollable-component {
  131. max-height: 100px;
  132. overflow-y: auto;
  133. }
  134. #file_accordion {
  135. max-height: 220px !important;
  136. }