style.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. @font-face {
  2. font-family: "Play";
  3. src: url("/fonts/Play/Play-Regular.ttf") format("truetype");
  4. font-weight: 400;
  5. }
  6. @font-face {
  7. font-family: "Play";
  8. src: url("/fonts/Play/Play-Bold.ttf") format("truetype");
  9. font-weight: 700;
  10. }
  11. body {
  12. margin: 0;
  13. padding: 0;
  14. background-color: #443f3b;
  15. font-family: 'Play', monospace, sans-serif;
  16. font-weight: 400;
  17. }
  18. .left {
  19. display: flex;
  20. flex-direction: column;
  21. align-items: center;
  22. }
  23. .left > .left-header {
  24. display: flex;
  25. flex-direction: column;
  26. align-items: center;
  27. }
  28. .left > .left-header > .search-module {
  29. width: 100%;
  30. }
  31. .left > .left-header > .title {
  32. display: flex;
  33. align-items: center;
  34. justify-content: space-around;
  35. color: #f36;
  36. font-size: 40px;
  37. user-select: none;
  38. cursor: pointer;
  39. width: 340px;
  40. }
  41. .logo {
  42. background: url(/favicon.png);
  43. background-size: cover;
  44. width: 50px;
  45. height: 50px;
  46. }
  47. .main {
  48. display: flex;
  49. flex-direction: row;
  50. height: 100%;
  51. }
  52. .right {
  53. width: 80%;
  54. min-width: 800px;
  55. height: 100vh;
  56. min-height: 1000px;
  57. }
  58. .left {
  59. min-width: 350px;
  60. width: 20%;
  61. }
  62. .left > .left-header > .class-list-mode {
  63. display: flex;
  64. align-items: center;
  65. padding-bottom: 10px;
  66. width: 100%;
  67. justify-content: center;
  68. }
  69. .left > .left-header > .class-list-mode > .class-list-mode-text {
  70. color: #d1d1d1;
  71. margin-right: 15px;
  72. }
  73. .left > .left-header > .class-list-mode > .class-list-mode-button {
  74. width: 24px;
  75. height: 24px;
  76. border: 1px solid #d1d1d1;
  77. border-radius: 5px;
  78. background-size: 18px;
  79. background-repeat: no-repeat;
  80. background-position: center;
  81. cursor: pointer;
  82. }
  83. .left > .left-header > .class-list-mode > .class-list-mode-button.selected,
  84. .left > .left-header > .class-list-mode > .class-list-mode-button:hover {
  85. background-color: #ffffff40;
  86. }
  87. .left > .left-header > .class-list-mode > .class-list-mode-button.structurized {
  88. background-image: url(/img/file-structure.svg);
  89. margin-right: 5px;
  90. }
  91. .left > .left-header > .class-list-mode > .class-list-mode-button.unstructurized {
  92. background-image: url(/img/fa-bars.svg);
  93. }
  94. /* Class/Dir items >>> */
  95. .class-item, .dir-item>.dir-name {
  96. align-items: center;
  97. cursor: pointer;
  98. padding: 3px 0;
  99. min-width: 100%;
  100. white-space: nowrap;
  101. }
  102. .class-item.selected,
  103. .class-item:hover,
  104. .dir-item>.dir-name:hover {
  105. background-color: rgba(0, 0, 0, 0.2);
  106. }
  107. .class-item > .class-icon {
  108. background: url(/img/jsfile.svg);
  109. width: 16px;
  110. height: 16px;
  111. background-size: cover;
  112. margin-right: 5px;
  113. display: inline-block;
  114. }
  115. .class-item > .class-name {
  116. display: inline-block;
  117. color: #d1d1d1;
  118. }
  119. .dir-item {
  120. color: #d1d1d1;
  121. }
  122. .dir-item > .dir-name > .dir-collapsed-icon {
  123. background: url(/img/chevron.svg);
  124. transform: rotate(90deg);
  125. width: 16px;
  126. height: 16px;
  127. background-size: cover;
  128. margin-right: 5px;
  129. display: inline-block;
  130. transition: transform 0.2s ease-in-out;
  131. }
  132. .dir-item.collapsed > .dir-name > .dir-collapsed-icon {
  133. transform: rotate(0deg);
  134. }
  135. .dir-item > .dir-name > .dir-icon {
  136. background: url(/img/folder.svg);
  137. width: 16px;
  138. height: 16px;
  139. background-size: cover;
  140. margin-right: 5px;
  141. display: inline-block;
  142. }
  143. .dir-item > .dir-content {
  144. padding-left: 8px;
  145. overflow: hidden;
  146. border-left: 1px solid #d1d1d1;
  147. margin-left: 8px;
  148. }
  149. .dir-item.collapsed > .dir-content {
  150. height: 0 !important;
  151. }
  152. /* <<< Class/Dir items */
  153. .hidden {
  154. display: none !important;
  155. visibility: hidden !important;
  156. opacity: 0 !important;
  157. }
  158. ::-webkit-scrollbar {
  159. width: 8px;
  160. height: 8px;
  161. }
  162. ::-webkit-scrollbar-track {
  163. background: #00000015;
  164. }
  165. ::-webkit-scrollbar-thumb {
  166. background: #888;
  167. border-radius: 5px;
  168. }
  169. ::-webkit-scrollbar-thumb:hover {
  170. background: #555;
  171. }
  172. ::-webkit-scrollbar-corner {
  173. background: #00000015;
  174. }