javaquery/demo-twitter/src/main/resources/org/apidesign/bck2brwsr/demo/twitter/twitterExample.css
branchmodel
changeset 931 9a7df12648b9
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/javaquery/demo-twitter/src/main/resources/org/apidesign/bck2brwsr/demo/twitter/twitterExample.css	Thu Apr 04 13:12:17 2013 +0200
     1.3 @@ -0,0 +1,50 @@
     1.4 +/**
     1.5 + * Back 2 Browser Bytecode Translator
     1.6 + * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     1.7 + *
     1.8 + * This program is free software: you can redistribute it and/or modify
     1.9 + * it under the terms of the GNU General Public License as published by
    1.10 + * the Free Software Foundation, version 2 of the License.
    1.11 + *
    1.12 + * This program is distributed in the hope that it will be useful,
    1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.15 + * GNU General Public License for more details.
    1.16 + *
    1.17 + * You should have received a copy of the GNU General Public License
    1.18 + * along with this program. Look for COPYING file in the top folder.
    1.19 + * If not, see http://opensource.org/licenses/GPL-2.0.
    1.20 + */
    1.21 +
    1.22 +/*
    1.23 +    Copied from knockout.js Twitter example:
    1.24 +    http://knockoutjs.com/examples/twitter.html
    1.25 +*/
    1.26 +
    1.27 +.configuration, .tweets, .tweets td { font-family: Verdana; font-size: 13px; }
    1.28 +.configuration { background-color: #DEDEDE; border: 2px solid gray; float:left; height: 40em; width: 40%; padding: 0.5em; border-right-width:0; }
    1.29 +.tweets { width: 55%; border: 2px solid gray; height: 40em; overflow: scroll; overflow-x: hidden; background-color: Black; color: White; padding: 0.5em; position: relative; }
    1.30 +.tweets table { border-width: 0;}
    1.31 +.tweets tr { vertical-align: top; }
    1.32 +.tweets td { padding: 0.4em 0.3em 1em 0.4em; border-width: 0; }
    1.33 +.tweets img { width: 4em; }
    1.34 +.tweetInfo { color: Gray; font-size: 0.9em; }
    1.35 +.twitterUser { color: #77AAFF; text-decoration: none; font-size: 1.1em; font-weight: bold; }
    1.36 +input.invalid { border: 1px solid red !important; background-color: #FFAAAA !important; }
    1.37 +
    1.38 +.listChooser select, .listChooser button { vertical-align:top; }
    1.39 +.listChooser select { width: 60%; font-size:1.2em; height:1.4em; }
    1.40 +.listChooser button { width: 19%; height:1.68em; float:right; }
    1.41 +
    1.42 +.currentUsers { height: 28em; overflow-y: auto; overflow-x: hidden; }
    1.43 +.currentUsers button { float: right; height: 2.5em; margin: 0.1em; padding-left: 1em; padding-right: 1em; }
    1.44 +.currentUsers ul, .configuration li { list-style: none; margin: 0; padding: 0 }
    1.45 +.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; }
    1.46 +.currentUsers li div { padding: 0.6em; }
    1.47 +.currentUsers li:hover { background-color: #EEC; }
    1.48 +
    1.49 +.configuration form label { width: 25%; display: inline-block; text-align:right; overflow: hidden; }
    1.50 +.configuration form input { width:40%; font-size: 1.3em; border:1px solid silver; background-color: White; padding: 0.1em; }
    1.51 +.configuration form button { width: 20%; margin-left: 0.3em; height: 2em; }
    1.52 +
    1.53 +.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; }