minesweeper/src/main/webapp/pages/mines.css
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 07 Feb 2014 17:22:58 +0100
branchminesweeper
changeset 68 d41833895448
parent 65 8e31706fc5da
child 71 3e372ded7adc
permissions -rw-r--r--
Unhide all neighbourghs of empty pieces
     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.EXPLOSION {
    52     background-color: #f1100c;
    53 }
    54 table.field td.DISCOVERED {
    55     background-color: #100cf1;
    56 }
    57 .but-orientation {
    58     margin-top:20px;
    59 }
    60 h3.log-h {
    61     border-top:1px solid silver;
    62 }
    63 .badge-status {
    64     display:inline-block;
    65     margin-left:20px;
    66     padding:5px;
    67     font-size:1em;
    68     text-shadow: none;
    69 }
    70 .badge-white-turn {
    71     font-size: 1em;
    72     padding:4px;
    73     background-color: white;
    74     color:black;
    75     text-shadow: none;
    76     border:1px solid black;
    77     font-weight: normal;
    78     display: inline-block;
    79     margin-left: 38px;
    80 }
    81 .badge-black-turn {
    82     font-size: 1em;
    83     padding:4px;
    84     background-color: black;
    85     color:white;
    86     text-shadow: none;
    87     border:1px solid black;
    88     font-weight: normal;
    89     display: inline-block;
    90     margin-left: 38px;
    91 }
    92 .btn {text-shadow: none;}
    93 .select {line-height: inherit;}
    94 .uneditable-input {
    95     margin-left: 0;
    96     color: black;
    97 }
    98 span.myturn {
    99     display: inline-block;
   100     position:relative;
   101     left:23px;
   102     padding:3px;
   103 }
   104 .whitePiece {
   105     text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
   106     color: white;
   107 }
   108 h1 {
   109     font-size: 29px;
   110     line-height: initial;
   111 }