minesweeper/src/main/webapp/pages/mines.css
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 07 Feb 2014 15:40:56 +0100
branchminesweeper
changeset 65 8e31706fc5da
parent 63 56477205fdb5
child 68 d41833895448
permissions -rw-r--r--
Assign the style to the table cell
     1 /**
     2  * The MIT License (MIT)
     3  *
     4  * Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     5  *
     6  * Permission is hereby granted, free of charge, to any person obtaining a copy
     7  * of this software and associated documentation files (the "Software"), to deal
     8  * in the Software without restriction, including without limitation the rights
     9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    10  * copies of the Software, and to permit persons to whom the Software is
    11  * furnished to do so, subject to the following conditions:
    12  *
    13  * The above copyright notice and this permission notice shall be included in
    14  * all copies or substantial portions of the Software.
    15  *
    16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    22  * THE SOFTWARE.
    23  */
    24 /** main chess style **/
    25 #apptitle {
    26     font-size: 20px;
    27 }
    28 .log {
    29     margin-bottom: 10px;
    30 }
    31 table.field {
    32     width: 100%;
    33     height: 100%;
    34 }
    35 table.field td {
    36     border: 1px solid black;
    37     padding:10px;
    38     width: 10%;
    39     height: 10%;
    40     vertical-align: middle;
    41     text-align: center;
    42 }
    43 .container {
    44     margin:10px;
    45 }
    46 
    47 table.field td.UNKNOWN {
    48     background-color: #D0D0D0;
    49     cursor: pointer;
    50 }
    51 table.field td.MINE {
    52     background-color: #f1100c;
    53 }
    54 .but-orientation {
    55     margin-top:20px;
    56 }
    57 h3.log-h {
    58     border-top:1px solid silver;
    59 }
    60 .badge-status {
    61     display:inline-block;
    62     margin-left:20px;
    63     padding:5px;
    64     font-size:1em;
    65     text-shadow: none;
    66 }
    67 .badge-white-turn {
    68     font-size: 1em;
    69     padding:4px;
    70     background-color: white;
    71     color:black;
    72     text-shadow: none;
    73     border:1px solid black;
    74     font-weight: normal;
    75     display: inline-block;
    76     margin-left: 38px;
    77 }
    78 .badge-black-turn {
    79     font-size: 1em;
    80     padding:4px;
    81     background-color: black;
    82     color:white;
    83     text-shadow: none;
    84     border:1px solid black;
    85     font-weight: normal;
    86     display: inline-block;
    87     margin-left: 38px;
    88 }
    89 .btn {text-shadow: none;}
    90 .select {line-height: inherit;}
    91 .uneditable-input {
    92     margin-left: 0;
    93     color: black;
    94 }
    95 span.myturn {
    96     display: inline-block;
    97     position:relative;
    98     left:23px;
    99     padding:3px;
   100 }
   101 .whitePiece {
   102     text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
   103     color: white;
   104 }
   105 h1 {
   106     font-size: 29px;
   107     line-height: initial;
   108 }