CodeStudio.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. .npa.menu{
  2. padding-left:0px;
  3. padding-right:12px;
  4. color:white;
  5. margin-bottom:6px;
  6. }
  7. .npa.menu .item{
  8. display:inline-block;
  9. vertical-align: middle;
  10. padding-left: 8px;
  11. padding-right: 8px;
  12. padding-top:4px;
  13. padding-bottom:4px;
  14. border-right: 1px solid #383838;
  15. }
  16. .npa.menu .item.selectable{
  17. cursor:pointer;
  18. }
  19. .npa.menu .item.selectable:hover{
  20. background-color: rgba(250,250,250,0.2);
  21. }
  22. .bottommenu{
  23. padding:2px;
  24. padding-left:8px;
  25. background-color: #49a2eb;
  26. color: white;
  27. position:fixed;
  28. bottom:0px;
  29. left:0px;
  30. width:100%;
  31. }
  32. /*
  33. Bottom bar items css
  34. */
  35. .bottommenu .item{
  36. cursor:pointer;
  37. display: inline-block;
  38. padding-left:6px;
  39. padding-right:6px;
  40. }
  41. .bottommenu .item:hover{
  42. background-color: rgba(250,250,250,0.1);
  43. }
  44. .bottommenu .rightpadded{
  45. position:absolute;
  46. right:12px;
  47. bottom:3px;
  48. }
  49. .extrapadding{
  50. padding-left:12px;
  51. }
  52. .padding{
  53. width:12px;
  54. }
  55. /*
  56. Main code area and directory listing
  57. */
  58. #directoryList{
  59. width:240px;
  60. position:absolute;
  61. top:34px;
  62. left:0px;
  63. height:calc(100% - 54px);
  64. overflow-y:auto;
  65. background-color:#292929;
  66. }
  67. #directoryList .item{
  68. color:white;
  69. padding:2px;
  70. padding-left:12px;
  71. font-size:80%;
  72. cursor:pointer;
  73. }
  74. #directoryList .item:hover{
  75. background-color: rgba(250,250,250,0.05);
  76. }
  77. #directoryList .title.item{
  78. background-color:#3b3b3b;
  79. color:white;
  80. }
  81. #directoryList .banner{
  82. font-size:80%;
  83. padding:8px;
  84. padding-left:12px;
  85. color:rgba(255, 255, 255, 0.747);
  86. }
  87. #directoryList .subgroup .item{
  88. color:white;
  89. padding:2px;
  90. padding-left:32px;
  91. font-size:80%;
  92. cursor:pointer;
  93. white-space: nowrap;
  94. overflow: hidden;
  95. text-overflow: ellipsis;
  96. }
  97. #directoryList .subgroup .dirlist{
  98. color:white;
  99. padding-left:10px;
  100. }
  101. #directoryList .subgroup .dirlist .subitem{
  102. font-size:80%;
  103. padding:3px;
  104. padding-left:32px;
  105. cursor:pointer;
  106. white-space: nowrap;
  107. overflow: hidden;
  108. text-overflow: ellipsis;
  109. }
  110. .dirlist .subitem:hover{
  111. background-color: rgba(250,250,250,0.05);
  112. }
  113. #directoryList .subgroup .item.selected{
  114. background-color: rgba(250,250,250,0.05);
  115. }
  116. #codeArea .codeBoard{
  117. height: 100%;
  118. width:100%;
  119. }
  120. #codeArea .codeBoard.splitMode{
  121. height: calc(100% - 6px);
  122. width:50%;
  123. }
  124. #codeArea .codeBoard.splitMode.right{
  125. position:absolute;
  126. top:0px;
  127. right:0px;
  128. }
  129. #codeArea .codeBoard.splitMode.left{
  130. position:absolute;
  131. top:0px;
  132. left:0px;
  133. }
  134. #codeArea .editor{
  135. height: calc(100% - 32px);
  136. }
  137. #codeArea{
  138. width: calc(100% - 240px);
  139. position:absolute;
  140. top:34px;
  141. right:0px;
  142. }
  143. #codeArea .codeBoard .tabs{
  144. width:100%;
  145. overflow-x:auto;
  146. min-height:32px;
  147. }
  148. #codeArea .codeBoard .tabs .item{
  149. padding:6px;
  150. padding-left: 8px;
  151. padding-right: 3px;
  152. background-color: #2d2d2d;
  153. color: #969696;
  154. font-size:80%;
  155. cursor:pointer;
  156. display:inline-block;
  157. }
  158. #codeArea .codeBoard .tabs .item .closebtn{
  159. margin-left:12px;
  160. float: right;
  161. display:block;
  162. }
  163. #codeArea .codeBoard .tabs .item.selected{
  164. background-color: #1e1e1e;
  165. color: white;
  166. cursor:pointer;
  167. }
  168. /*
  169. Context Menu Styling
  170. */
  171. .contextMenu{
  172. background-color:#3c3c3c;
  173. box-shadow: 2px 3px 13px 0px rgba(0,0,0,0.39);
  174. position:fixed;
  175. top:100px;
  176. left:100px;
  177. z-index:999;
  178. width:220px;
  179. display:none;
  180. color:white;
  181. }
  182. .contextMenu .item{
  183. padding:4px;
  184. padding-left:18px;
  185. padding-right:8px;
  186. font-size:88%;
  187. cursor:pointer;
  188. }
  189. .contextMenu .item .tips{
  190. float: right;
  191. display:block;
  192. }
  193. .contextMenu .divider{
  194. border-bottom: 1px solid #6f6f6f;
  195. padding-top:4px;
  196. margin-bottom:4px;
  197. margin-left:12px;
  198. margin-right:12px;
  199. }
  200. .contextMenu .item:hover{
  201. background-color: #094771;
  202. }
  203. .editorcover{
  204. width:100%;
  205. height: calc(100% - 32px);
  206. position:absolute;
  207. left:0px;
  208. top:32px;
  209. background-color:#1e1e1e;
  210. border-right: 1px solid black;
  211. }
  212. #contextMenu .item.disabled{
  213. /*
  214. background-color: rgba(250,250,250,0.1) !important;
  215. */
  216. }
  217. /*
  218. Terminal iframe related
  219. */
  220. #terminals .terminalWindow{
  221. width: 100%;
  222. height: 100%;
  223. }
  224. #terminals .menubar{
  225. padding: 5px;
  226. color: white;
  227. background-color: #161616;
  228. padding-left: 22px;
  229. padding-bottom: 8px;
  230. }
  231. #terminals .menubar p{
  232. padding-bottom: 1px;
  233. border-bottom: 1px solid white;
  234. }
  235. #terminals .terminalWindow iframe{
  236. width: 100%;
  237. height: 260px;
  238. border: 0px solid transparent;
  239. }