javaquery/demo-twitter/src/main/resources/org/apidesign/bck2brwsr/demo/twitter/twitterExample.css
Knockout.js Twitter client example rewritten to Bck2Brwsr (just missing JSON access to tweets)
2 * Back 2 Browser Bytecode Translator
3 * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. Look for COPYING file in the top folder.
16 * If not, see http://opensource.org/licenses/GPL-2.0.
20 Copied from knockout.js Twitter example:
21 http://knockoutjs.com/examples/twitter.html
24 .configuration, .tweets, .tweets td { font-family: Verdana; font-size: 13px; }
25 .configuration { background-color: #DEDEDE; border: 2px solid gray; float:left; height: 40em; width: 40%; padding: 0.5em; border-right-width:0; }
26 .tweets { width: 55%; border: 2px solid gray; height: 40em; overflow: scroll; overflow-x: hidden; background-color: Black; color: White; padding: 0.5em; position: relative; }
27 .tweets table { border-width: 0;}
28 .tweets tr { vertical-align: top; }
29 .tweets td { padding: 0.4em 0.3em 1em 0.4em; border-width: 0; }
30 .tweets img { width: 4em; }
31 .tweetInfo { color: Gray; font-size: 0.9em; }
32 .twitterUser { color: #77AAFF; text-decoration: none; font-size: 1.1em; font-weight: bold; }
33 input.invalid { border: 1px solid red !important; background-color: #FFAAAA !important; }
35 .listChooser select, .listChooser button { vertical-align:top; }
36 .listChooser select { width: 60%; font-size:1.2em; height:1.4em; }
37 .listChooser button { width: 19%; height:1.68em; float:right; }
39 .currentUsers { height: 28em; overflow-y: auto; overflow-x: hidden; }
40 .currentUsers button { float: right; height: 2.5em; margin: 0.1em; padding-left: 1em; padding-right: 1em; }
41 .currentUsers ul, .configuration li { list-style: none; margin: 0; padding: 0 }
42 .currentUsers li { height: 2.4em; font-size: 1.2em; background-color: #A7D0E3; border: 1px solid gray; margin-bottom: 0.3em; -webkit-border-radius: 5px; -moz-border-radius: 5px; -webkit-box-shadow: 0 0.2em 0.5em gray; -moz-box-shadow: 0 0.2em 0.5em gray; }
43 .currentUsers li div { padding: 0.6em; }
44 .currentUsers li:hover { background-color: #EEC; }
46 .configuration form label { width: 25%; display: inline-block; text-align:right; overflow: hidden; }
47 .configuration form input { width:40%; font-size: 1.3em; border:1px solid silver; background-color: White; padding: 0.1em; }
48 .configuration form button { width: 20%; margin-left: 0.3em; height: 2em; }
50 .loadingIndicator { position: absolute; top: 0.1em; left: 0.1em; font: 0.8em Arial; background-color: #229; color: White; padding: 0.2em 0.5em 0.2em 0.5em; display: none; }