body { font-family: "Source Sans Pro", sans-serif; } .screen { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; } .column { display: flex; flex-direction: column; background: #f5f5f5; } .row { display: flex; flex-direction: row; } .stretch { flex-basis: 0; // flex-grow: 1; // flex-shrink: 1; } .fixed { flex-grow: 1; flex-shrink: 1; } .scroll-y { overflow-y: auto; } .scroll-x { overflow-x: auto; } .button { border: 2px; margin: 3px; max-width: 50px; overflow-x: hidden; } img { max-width: 600px; display: block; // overflow-x: auto; } pre { max-width: 650px; // overflow-x: auto; // overflox-y: none; } /* scrolling feeds, threads */\ .scroller { width: 100% } .scroller > * { margin-left: auto; margin-right: auto; } .scroller__wrapper { width: 100%; } @media (min-width: 600px) { .scroller__wrapper { width: 600px; } } /* --- hypertabs ------- */ .hypertabs__tabs { // width: 1200px overflow-y: hide; } .hypertabs > .row { flex-grow: 0; flex-shrink: 0; margin: 10px; } .hypertabs__tabs > * { max-width: 50px; overflow-x: hidden; margin-right: 5px; } .hypertabs__tab, .hypertabs--selected { background: white; border: 1px solid #ccc; padding-left: 5px; padding-right: 5px; max-width: 200px; } /* message id */ input { width: 100px; margin-left: 3px; margin-right: 3px; } /* compose */ .compose { width: 100%; } /* messages */ .message { border: 1px solid #ccc; padding: 5px; margin-bottom: 1em; background: white; display: block; flex-basis: 0; max-width: 100%; min-width: 300px; } .message_meta input { border: none; font-size: .8em; color: #666; background: #ddd; } .message > .title > .message_meta { margin-left: 5px; } .message > .title > .avatar { margin-left: 5px; } .message_content { margin-top: 5px; border-top: 1px solid #ccc; padding-top: 3px; } /* -- suggest box */ .suggest-box > * { background: white; margin: 3px; } .suggest-box{ // display: flex; // flex-direction: row; width: 200px; } .suggest-box .selected { background: yellow; } .suggest-box img { width: 50px; } .suggest-box,.selected img { width: 200px; } /* avatar */ .avatar { display: flex; flex-direction: row; } .avatar img { width: 40px; height: 40px; margin-right: 3px; //display: inline-block; border: 1px solid #ccc; } /* lightbox - used in message-confirm */ .lightbox { overflow: auto; } /* searchprompt */ .searchprompt { position: absolute; top: 10px; right: 15px; } .searchprompt:not(:focus) { opacity: 1; } a { color: #333; } a:hover { color: #000; } /* TextNodeSearcher highlights */ highlight { background: yellow; }