123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- /*
- GlkOte
- ======
- Built: 2014-10-05
- GlkOte -- a Javascript display library for IF interfaces
- Dialog -- a Javascript load/save library for IF interfaces
- GlkAPI -- a Javascript Glk API for IF interfaces
- Designed by Andrew Plotkin <erkyrath@eblong.com>
- Copyright (c) 2008-2014 Andrew Plotkin
- <http://eblong.com/zarf/glk/glkote.html>
- */
- /* GlkOte stylesheet for Quixe/I7 Template
- * Designed by Andrew Plotkin <erkyrath@eblong.com>
- * <http://eblong.com/zarf/glk/glkote.html>
- * <http://eblong.com/zarf/glulx/quixe/>
- *
- * This CSS stylesheet is in the public domain. Do whatever you want
- * with it.
- */
- #windowport {
- width: 100%;
- height: 100%;
- }
- #errorpane {
- position: absolute;
- top: 0px;
- width: 100%;
- background: #FF4040;
- padding-bottom: 3px;
- }
- #errorcontent {
- padding: 8px;
- text-align: center;
- background: #FFA0A0;
- }
- #loadingpane {
- position: absolute;
- width: 100%;
- text-align: center;
- top: 20%;
- }
- #layouttestpane {
- position: absolute;
- visibility: hidden;
- top: 0px;
- /* Move this way off the screen. Even though it's hidden, Firefox has
- a nasty habit of showing the inactive scroll bar. */
- left: -1000px;
- }
- .WindowFrame {
- /* This class provides the default background color of windows. You
- can change that, but don't touch the position or margin. */
- position: absolute;
- margin: 0px;
- background: white;
- }
- .BufferWindow {
- overflow: scroll; /* vertical scrollbar is mandatory */
- overflow-x: hidden; /* but horizontal scrollbar is forbidden */
- font-family: Georgia, "Times New Roman", Times, serif;
- font-size: 13px;
- line-height: 1.4;
- padding: 6px 10px 6px 10px;
- }
- .BufferLine {
- }
- .GridWindow {
- background: #D0D0C0;
- overflow: hidden;
- font-family: monaco, andale mono, lucidatypewriter, courier, courier new, monospace; /* necessary! */
- font-size: 12px;
- padding: 6px 10px 6px 10px;
- }
- .GridLine {
- white-space: pre; /* required for spaces to work right */
- }
- .InvisibleCursor {
- /* This provides the padding below the last line of text (and the input
- prompt). Without this, they'd be flush against the bottom of the
- window, which would be ugly. Do not modify this CSS class. */
- position: relative;
- padding-bottom: 14px;
- }
- .MorePrompt {
- /* This describes the "More" prompt that flashes in the bottom right corner
- of a window when it needs paging. */
- font-weight: bold;
- position: absolute;
- background: #603010;
- color: #FFFFCC;
- opacity: 0.5;
- padding: 2px 6px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- }
- .Input {
- /* This class mimicks the Style_input class. It also eliminates the
- usual decoration of an <input> field, as much as possible. */
- border: none;
- margin: 0px;
- padding: 0px;
- outline-width: 0px;
- outline-style: none;
- background: none;
- font-weight: bold;
- }
- .BufferWindow .Input {
- font-family: Georgia, "Times New Roman", Times, serif;
- font-size: 13px;
- }
- .GridWindow .Input {
- font-family: monaco, andale mono, lucidatypewriter, courier, courier new, monospace; /* necessary! */
- font-size: 12px;
- }
- /* The following are the standard Glk styles. */
- .Style_normal {
- }
- .Style_emphasized {
- font-style: italic;
- }
- .Style_preformatted {
- font-family: monaco, andale mono, lucidatypewriter, courier, courier new, monospace;
- }
- .Style_header {
- font-weight: bold;
- }
- .BufferWindow .Style_header {
- font-size: 15px;
- }
- .Style_subheader {
- font-weight: bold;
- }
- .Style_alert {
- font-weight: bold;
- }
- .Style_note {
- font-style: italic;
- }
- .Style_blockquote {
- background: #FFF0C0;
- }
- .Style_input {
- font-weight: bold;
- color: #300000;
- }
- .Style_user1 {
- }
- .Style_user2 {
- }
- /* End of GlkOte default stylesheet. */
- /* Dialog toolkit default stylesheet
- * Designed by Andrew Plotkin <erkyrath@eblong.com>
- * <http://eblong.com/zarf/glk/glkote.html>
- *
- * This CSS stylesheet is in the public domain. Do whatever you want
- * with it.
- */
- /* dialog_screen is a translucent rectangle that greys out the entire root
- element (the game beneath the dialog box).
- */
- #dialog_screen {
- position: absolute;
- width: 100%;
- height: 100%;
- background: #808080;
- opacity: 0.5;
- }
- /* dialog_frame is an invisible pane that fills the root element. It exists
- so that the dialog can easily be centered in it.
- */
- #dialog_frame {
- position: absolute;
- width: 100%;
- height: 100%;
- }
- /* dialog is the dialog div itself. It is displayed near the top of
- dialog_frame. The auto margins keep it horizontally centered.
- */
- #dialog {
- position: relative;
- width: 360px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 100px;
- background: white;
- border: 4px solid #AAA;
- -webkit-box-shadow: 1px 1px 15px #222;
- -moz-box-shadow: 1px 1px 15px #222;
- -webkit-border-radius: 10px;
- -moz-border-radius: 10px;
- }
- #dialog .DiaCaption {
- margin: 16px;
- }
- #dialog .DiaInput {
- margin: 16px;
- }
- #dialog input {
- width: 100%;
- }
- #dialog .DiaBody {
- margin: 16px;
- }
- #dialog select {
- width: 100%;
- }
- #dialog button {
- margin-left: 8px;
- }
- #dialog .DiaButtons {
- margin: 16px;
- text-align: right;
- }
- /* End of Dialog default stylesheet. */
|