1
1

_page.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. .error {
  2. padding: 0.5em;
  3. background-color: #d6a3a7;
  4. color: #780100;
  5. &:before {
  6. content: "ERROR: ";
  7. font-weight: bold;
  8. }
  9. }
  10. .unselectable {
  11. -moz-user-select: -moz-none;
  12. -khtml-user-select: none;
  13. -webkit-user-select: none;
  14. -o-user-select: none;
  15. user-select: none;
  16. &:hover {
  17. cursor: default;
  18. }
  19. }
  20. .scrollbar {
  21. overflow: auto;
  22. &::-webkit-scrollbar-track {
  23. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  24. background-color: #F5F5F5;
  25. }
  26. &::-webkit-scrollbar {
  27. width: 6px;
  28. background-color: #F5F5F5;
  29. }
  30. &::-webkit-scrollbar-thumb {
  31. background-color: #000000;
  32. }
  33. }
  34. .header {
  35. font-weight: bold;
  36. font-variant: small-caps;
  37. font-size: 1.1rem;
  38. }
  39. .alignRight {
  40. text-align: right;
  41. }
  42. .alignCenter {
  43. text-align: center;
  44. }
  45. // The next two rules fix blur fucking up status line borders with white shit
  46. body {
  47. background-color: #000;
  48. }
  49. #mainPage {
  50. background-color: #fff;
  51. }
  52. #mainPage, .topBottomFlex {
  53. position: absolute;
  54. left: 0px;
  55. top: 0px;
  56. width: 100%;
  57. height: 100%;
  58. display: flex;
  59. flex-direction: column;
  60. flex-wrap: nowrap;
  61. justify-content: flex-start;
  62. align-content: stretch;
  63. align-items: flex-start;
  64. }
  65. .leftRightFlex {
  66. display: flex;
  67. flex-direction: row;
  68. flex-wrap: nowrap;
  69. justify-content: flex-start;
  70. align-content: stretch;
  71. align-items: flex-start;
  72. }
  73. #mainPage {
  74. color: $mainFontColor;
  75. font-family: $mainFont;
  76. }
  77. #statusLine, .noshrinkFlex {
  78. flex: 0 0 auto;
  79. align-self: stretch;
  80. height: auto;
  81. overflow: visible;
  82. position: relative;
  83. }
  84. #statusLine {
  85. background-color: rgba(0,0,0, $dark0);
  86. color: $statusColor;
  87. font-family: $fixedWidthFont;
  88. white-space: nowrap;
  89. padding: 0.4rem;
  90. }
  91. .statusColumnRight {
  92. margin-left: auto;
  93. }
  94. .statusColumnCenter {
  95. margin-left: auto;
  96. margin-right: auto;
  97. }
  98. .statusColumnDivider {
  99. border-right: #fff solid 1px;
  100. margin-left: 0.5rem;
  101. margin-right: 0.5rem;
  102. }
  103. #gameContainer, .growingFlex {
  104. flex: 1 1 auto;
  105. align-self: stretch;
  106. position: relative;
  107. }
  108. #leftWindow, #centerWindow, #rightWindow {
  109. flex: 1 0 auto;
  110. align-self: auto;
  111. flex-grow: 1;
  112. min-width: 10rem;
  113. position: relative;
  114. background-color: #fff;
  115. }
  116. #leftWindow {
  117. display: none;
  118. }
  119. #centerWindow {
  120. max-width: 75%;
  121. flex: 1 1 auto;
  122. flex-grow: 4;
  123. }
  124. #windowContainer {
  125. display: flex;
  126. flex-direction: row;
  127. flex-wrap: nowrap;
  128. justify-content: flex-start;
  129. align-content: stretch;
  130. align-items: stretch;
  131. height: 100%;
  132. width: 100%;
  133. position: absolute;
  134. }
  135. #currentTurn {
  136. overflow-x: hidden;
  137. overflow-y: scroll;
  138. min-height: 100px;
  139. background: linear-gradient(to bottom, rgba(0,0,0, $dark4) 75%,rgba(0,0,0, $dark3) 100%);
  140. }
  141. #currentTurn > * {
  142. animation: fadein 1s;
  143. }
  144. @keyframes fadein {
  145. from { opacity: 0; }
  146. to { opacity: 1; }
  147. }
  148. #rightWindow {
  149. background: linear-gradient(to bottom left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
  150. }
  151. #appearanceTab {
  152. overflow: auto;
  153. //background: linear-gradient(to right, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
  154. padding: 0.8rem;
  155. //padding-top: 200px;
  156. }
  157. #inventoryTab {
  158. overflow-y: auto;
  159. flex-shrink: 1;
  160. min-height: 12rem;
  161. //overflow: hidden;
  162. //background: linear-gradient(to left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
  163. }
  164. #currentRoomTab {
  165. overflow: hidden;
  166. //background: linear-gradient(to bottom, rgba(0,0,0, $dark3) 75%,rgba(0,0,0, $dark4) 100%);
  167. padding: 0.8rem;
  168. }
  169. #hyperlinksTab {
  170. //background: rgba(0,0,0, $dark4);
  171. text-indent: 1em;
  172. }
  173. #mainPage.mobile #fakeparserTab {
  174. display: none;
  175. }
  176. #fakeparserTab {
  177. overflow: visible;
  178. //background: rgba(0,0,0, $dark4);
  179. padding: 0.8rem;
  180. font-family: $fixedWidthFont;
  181. &:before {
  182. content: ">";
  183. }
  184. }
  185. #currentCommand, #fakeParserThingy {
  186. font-weight: bold;
  187. }
  188. #fakeParserThingy {
  189. animation: blinker 0.9s cubic-bezier(.5, 0, 1, 1) infinite alternate;
  190. }
  191. @keyframes blinker { to { opacity: 0; } }
  192. #rememberedRoomsTab, #mapTab {
  193. overflow-y: auto;
  194. //background: linear-gradient(to bottom left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
  195. padding: 0.8rem;
  196. position: relative;
  197. }
  198. // #mainPage.mobile
  199. #roomExitsHolder {
  200. @extend .noshrinkFlex;
  201. width: 30%;
  202. //background: linear-gradient(to top left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
  203. padding: 0px 2ex;
  204. }
  205. #exitsTab {
  206. overflow: hidden;
  207. //background-color: rgba(0,0,0, $dark4);
  208. padding: 0.8rem;
  209. }
  210. #leftBottom {
  211. position: relative;
  212. }
  213. #bottomNoTurn {
  214. background: linear-gradient(to bottom, rgba(0,0,0, $dark3) 75%,rgba(0,0,0, $dark4) 100%);
  215. }