123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- .error {
- padding: 0.5em;
- background-color: #d6a3a7;
- color: #780100;
- &:before {
- content: "ERROR: ";
- font-weight: bold;
- }
- }
- .unselectable {
- -moz-user-select: -moz-none;
- -khtml-user-select: none;
- -webkit-user-select: none;
- -o-user-select: none;
- user-select: none;
- &:hover {
- cursor: default;
- }
- }
- .scrollbar {
- &::-webkit-scrollbar-track {
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
- background-color: #F5F5F5;
- }
- &::-webkit-scrollbar {
- width: 6px;
- background-color: #F5F5F5;
- }
- &::-webkit-scrollbar-thumb {
- background-color: #000000;
- }
- }
- .header {
- font-weight: bold;
- font-variant: small-caps;
- font-size: 1.1rem;
- }
- .alignRight {
- text-align: right;
- }
- .alignCenter {
- text-align: center;
- }
- // The next two rules fix blur fucking up status line borders with white shit
- body {
- background-color: #000;
- }
- #mainPage {
- background-color: #fff;
- }
- #mainPage, .topBottomFlex {
- position: absolute;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- justify-content: flex-start;
- align-content: stretch;
- align-items: flex-start;
- }
- .leftRightFlex {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: flex-start;
- align-content: stretch;
- align-items: flex-start;
- }
- #mainPage {
- color: $mainFontColor;
- font-family: $mainFont;
- }
- #statusLine, .noshrinkFlex {
- flex: 0 0 auto;
- align-self: stretch;
- height: auto;
- overflow: visible;
- position: relative;
- }
- #statusLine {
- background-color: rgba(0,0,0, $dark0);
- color: $statusColor;
- font-family: $fixedWidthFont;
- white-space: nowrap;
- padding: 0.4rem;
- }
- .statusColumnRight {
- margin-left: auto;
- }
- .statusColumnCenter {
- margin-left: auto;
- margin-right: auto;
- }
- .statusColumnDivider {
- border-right: #fff solid 1px;
- margin-left: 0.5rem;
- margin-right: 0.5rem;
- }
- #gameContainer, .growingFlex {
- flex: 1 1 auto;
- align-self: stretch;
- position: relative;
- }
- #leftWindow, #centerWindow, #rightWindow {
- flex: 1 0 auto;
- align-self: auto;
- flex-grow: 1;
- min-width: 10rem;
- position: relative;
- background-color: #fff;
- }
- #centerWindow {
- max-width: 60%;
- flex: 1 1 auto;
- flex-grow: 4;
- }
- #windowContainer {
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: flex-start;
- align-content: stretch;
- align-items: stretch;
- height: 100%;
- width: 100%;
- position: absolute;
- }
- #currentTurn {
- overflow-x: hidden;
- overflow-y: scroll;
- min-height: 100px;
- background: linear-gradient(to bottom, rgba(0,0,0, $dark4) 75%,rgba(0,0,0, $dark3) 100%);
- }
- #currentTurn > * {
- animation: fadein 1s;
- }
- @keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- #leftWindow {
- background: linear-gradient(to right, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
- }
- #appearanceTab {
- overflow: auto;
- //background: linear-gradient(to right, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
- padding: 0.8rem;
- }
- #inventoryTab {
- overflow: hidden;
- //background: linear-gradient(to left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
- }
- #currentRoomTab {
- overflow: hidden;
- background: linear-gradient(to bottom, rgba(0,0,0, $dark3) 75%,rgba(0,0,0, $dark4) 100%);
- padding: 0.8rem;
- }
- #hyperlinksTab {
- background: rgba(0,0,0, $dark4);
- text-indent: 1em;
- }
- #mainPage.mobile #fakeparserTab {
- display: none;
- }
- #fakeparserTab {
- overflow: visible;
- background: rgba(0,0,0, $dark4);
- padding: 0.8rem;
- font-family: $fixedWidthFont;
- &:before {
- content: ">";
- }
- }
- #currentCommand, #fakeParserThingy {
- font-weight: bold;
- }
- #fakeParserThingy {
- animation: blinker 0.9s cubic-bezier(.5, 0, 1, 1) infinite alternate;
- }
- @keyframes blinker { to { opacity: 0; } }
- #rememberedRoomsTab, #mapTab {
- overflow-y: auto;
- background: linear-gradient(to bottom left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
- padding: 0.8rem;
- }
- #sceneAnimation {
- @extend .noshrinkFlex;
- height: 200px;
- position: relative;
- background: linear-gradient(to top left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
- }
- .sceneAnimation {
- display: block;
- position: absolute;
- height: 200px;
- width: 200px;
- left: 50%;
- margin-left: -100px;
- }
- // #mainPage.mobile
- #roomExitsHolder {
- @extend .noshrinkFlex;
- background: linear-gradient(to bottom left, rgba(0,0,0, $dark1) 0%, rgba(0,0,0, $dark2) 50%,rgba(0,0,0, $dark3) 100%);
- padding: 2ex;
- padding-top: 0px;
- }
- #exitsTab {
- overflow: hidden;
- background-color: rgba(0,0,0, $dark4);
- padding: 0.8rem;
- }
|