ko-archetype/src/main/resources/archetype-resources/src/main/resources/twitterExample.css
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 15 May 2013 11:14:39 +0200
changeset 1213 022099dee442
parent 1207 8ace83ecf905
permissions -rw-r--r--
Controlling the loadingIndicator via loading property
     1 /*
     2     Copied from knockout.js Twitter example:
     3     http://knockoutjs.com/examples/twitter.html
     4 */
     5 
     6 .configuration, .tweets, .tweets td { font-family: Verdana; font-size: 13px; }
     7 .configuration { background-color: #DEDEDE; border: 2px solid gray; float:left; height: 40em; width: 40%; padding: 0.5em; border-right-width:0; }
     8 .tweets { width: 55%; border: 2px solid gray; height: 40em; overflow: scroll; overflow-x: hidden; background-color: Black; color: White; padding: 0.5em; position: relative; }
     9 .tweets table { border-width: 0;}
    10 .tweets tr { vertical-align: top; }
    11 .tweets td { padding: 0.4em 0.3em 1em 0.4em; border-width: 0; }
    12 .tweets img { width: 4em; }
    13 .tweetInfo { color: Gray; font-size: 0.9em; }
    14 .twitterUser { color: #77AAFF; text-decoration: none; font-size: 1.1em; font-weight: bold; }
    15 input.invalid { border: 1px solid red !important; background-color: #FFAAAA !important; }
    16 
    17 .listChooser select, .listChooser button { vertical-align:top; }
    18 .listChooser select { width: 60%; font-size:1.2em; height:1.4em; }
    19 .listChooser button { width: 19%; height:1.68em; float:right; }
    20 
    21 .currentUsers { height: 28em; overflow-y: auto; overflow-x: hidden; }
    22 .currentUsers button { float: right; height: 2.5em; margin: 0.1em; padding-left: 1em; padding-right: 1em; }
    23 .currentUsers ul, .configuration li { list-style: none; margin: 0; padding: 0 }
    24 .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; }
    25 .currentUsers li div { padding: 0.6em; }
    26 .currentUsers li:hover { background-color: #EEC; }
    27 
    28 .configuration form label { width: 25%; display: inline-block; text-align:right; overflow: hidden; }
    29 .configuration form input { width:40%; font-size: 1.3em; border:1px solid silver; background-color: White; padding: 0.1em; }
    30 .configuration form button { width: 20%; margin-left: 0.3em; height: 2em; }
    31 
    32 .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; }