ko-archetype/src/main/resources/archetype-resources/src/main/resources/twitterExample.css
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 13 May 2013 14:25:37 +0200
changeset 1202 5f04bdbc6ee1
child 1207 8ace83ecf905
permissions -rw-r--r--
Moving archetype tests into separate module - at that moment it is possible to use the previously generated archetype
jaroslav@1202
     1
/**
jaroslav@1202
     2
 * The MIT License (MIT)
jaroslav@1202
     3
 *
jaroslav@1202
     4
 * Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@1202
     5
 *
jaroslav@1202
     6
 * Permission is hereby granted, free of charge, to any person obtaining a copy
jaroslav@1202
     7
 * of this software and associated documentation files (the "Software"), to deal
jaroslav@1202
     8
 * in the Software without restriction, including without limitation the rights
jaroslav@1202
     9
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
jaroslav@1202
    10
 * copies of the Software, and to permit persons to whom the Software is
jaroslav@1202
    11
 * furnished to do so, subject to the following conditions:
jaroslav@1202
    12
 *
jaroslav@1202
    13
 * The above copyright notice and this permission notice shall be included in
jaroslav@1202
    14
 * all copies or substantial portions of the Software.
jaroslav@1202
    15
 *
jaroslav@1202
    16
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jaroslav@1202
    17
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jaroslav@1202
    18
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jaroslav@1202
    19
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
jaroslav@1202
    20
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
jaroslav@1202
    21
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
jaroslav@1202
    22
 * THE SOFTWARE.
jaroslav@1202
    23
 */
jaroslav@1202
    24
jaroslav@1202
    25
jaroslav@1202
    26
jaroslav@1202
    27
/*
jaroslav@1202
    28
    Copied from knockout.js Twitter example:
jaroslav@1202
    29
    http://knockoutjs.com/examples/twitter.html
jaroslav@1202
    30
*/
jaroslav@1202
    31
jaroslav@1202
    32
.configuration, .tweets, .tweets td { font-family: Verdana; font-size: 13px; }
jaroslav@1202
    33
.configuration { background-color: #DEDEDE; border: 2px solid gray; float:left; height: 40em; width: 40%; padding: 0.5em; border-right-width:0; }
jaroslav@1202
    34
.tweets { width: 55%; border: 2px solid gray; height: 40em; overflow: scroll; overflow-x: hidden; background-color: Black; color: White; padding: 0.5em; position: relative; }
jaroslav@1202
    35
.tweets table { border-width: 0;}
jaroslav@1202
    36
.tweets tr { vertical-align: top; }
jaroslav@1202
    37
.tweets td { padding: 0.4em 0.3em 1em 0.4em; border-width: 0; }
jaroslav@1202
    38
.tweets img { width: 4em; }
jaroslav@1202
    39
.tweetInfo { color: Gray; font-size: 0.9em; }
jaroslav@1202
    40
.twitterUser { color: #77AAFF; text-decoration: none; font-size: 1.1em; font-weight: bold; }
jaroslav@1202
    41
input.invalid { border: 1px solid red !important; background-color: #FFAAAA !important; }
jaroslav@1202
    42
jaroslav@1202
    43
.listChooser select, .listChooser button { vertical-align:top; }
jaroslav@1202
    44
.listChooser select { width: 60%; font-size:1.2em; height:1.4em; }
jaroslav@1202
    45
.listChooser button { width: 19%; height:1.68em; float:right; }
jaroslav@1202
    46
jaroslav@1202
    47
.currentUsers { height: 28em; overflow-y: auto; overflow-x: hidden; }
jaroslav@1202
    48
.currentUsers button { float: right; height: 2.5em; margin: 0.1em; padding-left: 1em; padding-right: 1em; }
jaroslav@1202
    49
.currentUsers ul, .configuration li { list-style: none; margin: 0; padding: 0 }
jaroslav@1202
    50
.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; }
jaroslav@1202
    51
.currentUsers li div { padding: 0.6em; }
jaroslav@1202
    52
.currentUsers li:hover { background-color: #EEC; }
jaroslav@1202
    53
jaroslav@1202
    54
.configuration form label { width: 25%; display: inline-block; text-align:right; overflow: hidden; }
jaroslav@1202
    55
.configuration form input { width:40%; font-size: 1.3em; border:1px solid silver; background-color: White; padding: 0.1em; }
jaroslav@1202
    56
.configuration form button { width: 20%; margin-left: 0.3em; height: 2em; }
jaroslav@1202
    57
jaroslav@1202
    58
.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; }