style.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. html {
  2. width: 100%;
  3. height: 100%;
  4. font-family: Consolas, 'Courier New', 'Lucida Console', monospace;
  5. }
  6. body {
  7. display: flex;
  8. justify-content: center;
  9. align-items: center;
  10. width: 100%;
  11. height: 100%;
  12. margin: 0;
  13. padding: 0;
  14. background-color: #af2184;
  15. background-image: -webkit-repeating-linear-gradient(top left, #e0620d 0%, #af2184 100%);
  16. background-image: repeating-linear-gradient(to bottom right, #e0620d 0%, #af2184 100%);
  17. background-image: -ms-repeating-linear-gradient(top left, #e0620d 0%, #af2184 100%);
  18. }
  19. .noselect {
  20. -webkit-touch-callout: none; /* iOS Safari */
  21. -webkit-user-select: none; /* Safari */
  22. -khtml-user-select: none; /* Konqueror HTML */
  23. -moz-user-select: none; /* Firefox */
  24. -ms-user-select: none; /* Internet Explorer/Edge */
  25. user-select: none; /* Non-prefixed version, currently
  26. supported by Chrome and Opera */
  27. }
  28. .app {
  29. width: 100%;
  30. max-width: 900px;
  31. height: 100%;
  32. max-height: 600px;
  33. margin: 20px;
  34. background-color: rgb(255, 255, 255);
  35. box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. flex-direction: column;
  40. position: relative;
  41. }
  42. .app input {
  43. background-color: rgba(255, 255, 255, 0);
  44. text-align: left;
  45. outline: none;
  46. border: none;
  47. line-height: 2em;
  48. font-family: Consolas, 'Courier New', 'Lucida Console', monospace;
  49. flex: 1;
  50. margin: 0 20px;
  51. }
  52. .input-section {
  53. width: 60%;
  54. text-align: center;
  55. border-radius: 1000px;
  56. border: 2px solid rgba(97, 223, 154, 0);
  57. background-color: rgb(236, 236, 236);
  58. height: 40px;
  59. display: flex;
  60. justify-content: flex-end;
  61. align-items: center;
  62. position: relative;
  63. }
  64. .input-section:hover {
  65. background-color: rgb(231, 231, 231);
  66. }
  67. .app select {
  68. outline: none;
  69. padding: 2px;
  70. font-family: Consolas, 'Courier New', 'Lucida Console', monospace;
  71. border: 1px solid rgb(169, 169, 169);
  72. height: 28px;
  73. margin: 6px 0px;
  74. background-color: rgb(255, 255, 255);
  75. }
  76. .app select:hover {
  77. outline: none;
  78. }
  79. .app button {
  80. border: none;
  81. outline: none;
  82. margin: 4px;
  83. height: 32px;
  84. width: 32px;
  85. border-radius: 1000px;
  86. color: rgba(182, 182, 182, 0.8);
  87. font-family: Consolas, 'Courier New', 'Lucida Console', monospace;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. }
  92. .go-button {
  93. height: 18px;
  94. width: 18px;
  95. margin-left: 3px;
  96. }
  97. .app button:disabled {
  98. background-color: rgb(255, 255, 255);
  99. cursor: default;
  100. }
  101. .app button:enabled {
  102. cursor: pointer !important;
  103. }
  104. .app button:enabled:hover {
  105. background-color: rgb(69, 211, 133) !important;
  106. }
  107. .app p {
  108. font-weight: bold;
  109. color: rgba(0, 0, 0, 0.8);
  110. }
  111. .app h4 {
  112. font-weight: unset;
  113. font-style: italic;
  114. margin: 5px 0 20px 0;
  115. font-size: 0.8em;
  116. color: rgba(0, 0, 0, 0.7);
  117. visibility: visible;
  118. opacity: 1;
  119. transition: all 0.4s ease-in-out;
  120. }
  121. .app h5 {
  122. margin: 5px 0;
  123. font-weight: bold;
  124. font-size: 1.05em;
  125. color: rgba(81, 53, 97, 0.8);
  126. }
  127. .app a {
  128. cursor: pointer;
  129. text-decoration: none;
  130. visibility: visible;
  131. opacity: 1;
  132. transition: all 0.4s ease-in-out;
  133. }
  134. .link-box {
  135. margin-top: 20px;
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: center;
  139. width: 40%;
  140. }
  141. #tip {
  142. position: absolute;
  143. bottom: 0;
  144. }
  145. .regex-good {
  146. border: 2px solid rgb(97, 223, 153) !important;
  147. }
  148. .regex-bad {
  149. border: 2px solid rgb(207, 76, 76) !important;
  150. }
  151. .fill-good {
  152. background-color: rgb(97, 223, 153) !important;
  153. color: white !important;
  154. }
  155. .fill-bad {
  156. background-color: rgb(207, 76, 76) !important;
  157. color: white !important;
  158. }
  159. .inactive {
  160. visibility: hidden !important;
  161. opacity: 0 !important;
  162. }