Maybe we can finally get rid of these code bits which shouldn't be required ?
[xogo.git] / common.css
index 91fd2a6..c1ba77c 100644 (file)
@@ -231,15 +231,19 @@ button.cancel-something {
   text-align: center;
 }
 
-.option-select, .option-check {
+.option-select, .option-input {
   margin: 15px 0 0 0;
 }
 
-.option-check {
+.option-input {
   display: inline-block;
   margin-right: 10px;
 }
 
+.option-input input[type=number] {
+  width: 64px;
+}
+
 .btn-wrap {
   text-align: center;
 }
@@ -273,12 +277,6 @@ a {
 .chessboard {
   position: absolute;
   cursor: pointer;
-}
-
-/* Board container can be resized */
-.resizeable {
-  resize: both;
-  overflow: hidden;
   min-width: 200px;
   min-height: 200px;
 }
@@ -293,18 +291,24 @@ piece {
   pointer-events: none;
 }
 
+piece.hidden {
+  display: none;
+}
+
 /* Drawing of the board */
 .chessboard_SVG {
   width: 100%;
   height: 100%;
 }
 
+/* Default squares colors (can be overriden or unused) */
 .dark-square {
   fill: #b58863;
 }
 .light-square {
   fill: #f0d9b5;
 }
+
 .in-shadow {
   filter: brightness(50%);
 }