JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Let drags go off the edge
[peach-cgt.git] / style.less
index 31bb99d..bc3eae3 100644 (file)
@@ -12,7 +12,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;
 }
@@ -63,9 +63,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 {
@@ -156,3 +159,23 @@ 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;
+       }
+}