main.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. #warning {background-color: #FFCCCB}
  2. .rec {
  3. font-size: 16px !important;
  4. text-align:left}
  5. .title {
  6. font-size: 30px !important;
  7. text-align:center}
  8. .desc {
  9. font-size: 16px !important;
  10. text-align:center}
  11. .div_tmp {
  12. height: 190px;
  13. border-radius: 5px
  14. }
  15. .div_rec {
  16. height: 300px;
  17. border-radius: 5px
  18. }
  19. .bt_small_font{
  20. font-size: 6px;
  21. }
  22. .bt_small{
  23. width: 30px;
  24. }
  25. .md_tmp {
  26. height: calc(100dvh - 380px);
  27. border-radius: 5px
  28. }
  29. .add_scrollbar {
  30. overflow-y: scroll;
  31. }
  32. .content {
  33. height: calc(100% - 50px);
  34. overflow-y: scroll;
  35. }
  36. .custom-checkbox {
  37. appearance: none;
  38. -webkit-appearance: none;
  39. -moz-appearance: none;
  40. width: 10px;
  41. height: 10px;
  42. border-radius: 50%;
  43. border: 2px solid #ccc;
  44. outline: none;
  45. cursor: pointer;
  46. }
  47. .custom-checkbox:checked {
  48. background-color: rgb(100, 239, 144);
  49. }
  50. .dark svg {
  51. fill: white;
  52. }
  53. .dark a {
  54. color: white !important;
  55. }
  56. .textbox_default textarea {
  57. height: calc(100dvh - 200px);
  58. }
  59. .textbox_default_output textarea {
  60. height: calc(100dvh - 200px);
  61. }
  62. .textbox textarea {
  63. height: calc(100dvh - 200px);
  64. }
  65. .textbox_default textarea,
  66. .textbox_default_output textarea,
  67. .textbox textarea
  68. {
  69. font-size: 16px !important;
  70. color: #46464A !important;
  71. }
  72. .dark textarea {
  73. color: #efefef !important;
  74. }
  75. @media screen and (max-width: 711px) {
  76. .textbox_default textarea {
  77. height: calc(100dvh - 271px);
  78. }
  79. div .default-token-counter {
  80. top: calc( 0.5 * (100dvh - 245px) ) !important;
  81. }
  82. }
  83. /* Hide the gradio footer*/
  84. footer {
  85. display: none !important;
  86. }
  87. button {
  88. font-size: 14px !important;
  89. }
  90. .token-counter {
  91. position: absolute !important;
  92. top: calc( 0.5 * (100dvh - 215px) ) !important;
  93. right: 2px;
  94. z-index: 100;
  95. background: var(--input-background-fill) !important;
  96. min-height: 0 !important;
  97. }
  98. .default-token-counter {
  99. top: calc( 0.5 * (100dvh - 255px) ) !important;
  100. }
  101. .token-counter span {
  102. padding: 1px;
  103. box-shadow: 0 0 0 0.3em rgba(192,192,192,0.15), inset 0 0 0.6em rgba(192,192,192,0.075);
  104. border: 2px solid rgba(192,192,192,0.4) !important;
  105. border-radius: 0.4em;
  106. }