JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
register coffeescript compiler
[peach-cgt.git] / style.less
index 2473abf..dba9329 100644 (file)
@@ -1,3 +1,8 @@
+// style.less
+// Copyright (C) 2011  Jason Woofenden
+// Lincensed under CC0 (ie public domain).
+// Note that most of Peach CGT is AGPLv3
+
 @table-width: 1000px;
 @table-height: 800px;
 
@@ -12,7 +17,7 @@
 @your-side-color: #ffe2e2;
 @my-side-color: #e2ffe2;
 
-#loading-card {
+#loading_card {
        top: (@table-height - @card-height) / 2 - 4px;
        left: (@table-width - @card-width) / 2 - 4px;
 }
        -moz-box-shadow:    @val;
 }
 
-body {
+body, #other_player_url {
        color: black;
        background: #ccc;
        font-size: 11px;
+       font-weight: normal;
        margin: 0;
        padding: 10px;
 }
@@ -39,6 +45,16 @@ h1 {
        color: blue;
 }
 
+#main_header {
+       margin-bottom: 0px; // no decenders, big font
+}
+
+#main_warning {
+       color: red;
+       font-weight: bold;
+       margin-top: 0px;
+}
+
 #table {
        width: @table-width;
        height: @table-height;
@@ -63,9 +79,12 @@ h1 {
 .card {
        background: #fff;
        border: 2px solid #fff;
+       overflow: hidden;
        .shadow(1px, 1px, 8px, 0.4);
 
        &:hover {
+               height: auto;
+               min-height: @card-height;
                z-index: 9999 !important;
        }
        .button {
@@ -102,7 +121,7 @@ h1 {
        border-color: black;
 }
 
-.flipped {
+.flipped, .your_hand {
        .cardtext {
                display: none;
        }
@@ -156,3 +175,27 @@ h1 {
 #my_side div {
        top: 0; // @table-height - @hand-height;
 }
+
+#deck_designer {
+       position: absolute;
+       top: 40px;
+       left: 10px;
+       background: white;
+       z-index: 10000;
+       width: @table-width + 10;
+       height: @table-height + 20;
+       overflow: scroll;
+       .shadow(3px, 3px, 16px, 0.8);
+
+       li, div {
+               cursor: pointer;
+       }
+
+       .in_deck {
+               color: #080;
+       }
+}
+
+#copyright {
+       padding-top: 4px;
+}