X-Git-Url: https://git.auder.net/?p=westcastle.git;a=blobdiff_plain;f=css%2Findex.css;h=9604004fe7ebb4bcfd601585871d679d2f13c952;hp=d92ca1c7e44829cafa969882ebdda8bdcdcca76b;hb=1369a09d4b3a4d3c3d19b68197a311fbb7ec97f4;hpb=ade10194c01dcf4a71fc92f055d5dc53ac555e0e diff --git a/css/index.css b/css/index.css index d92ca1c..9604004 100644 --- a/css/index.css +++ b/css/index.css @@ -65,6 +65,43 @@ table th { font-weight: bold; } +.left, .right { + float: left; + width: 50%; +} + +.button-container-horizontal, .button-container-vertical { + margin-top: 30px; + text-align: center; +} +.button-container-vertical { + float: left; +} +/* All children except first: margin: 30px */ +.button-container-horizontal .btn:not(:first-child) { + margin-right: 30px; +} +.button-container-vertical .btn { + display: block; + margin-left: 30px; +} +.button-container-vertical .btn:not(:first-child) { + margin-top: 15px; +} + +button.validate { + background-image: linear-gradient(to bottom, #6fa162, #40992e); +} +button.validate:hover { + background-image: linear-gradient(to bottom, #37cc4e, #40c24f); +} +button.cancel { + background-image: linear-gradient(to bottom, #d93470, #b82b47); +} +button.cancel:hover { + background-image: linear-gradient(to bottom, #fc433c, #d93434); +} + /* players div */ #players { @@ -77,11 +114,6 @@ table th { text-align: center; } -#active, #inactive { - float: left; - width: 50%; -} - #inactive table { opacity: 0.6; } @@ -119,6 +151,7 @@ table.list tr:not(.title):hover, table.ranking tr:not(.title):nth-child(even):ho #ranking { margin-bottom: 15px; + overflow: auto; } table.ranking { @@ -126,6 +159,8 @@ table.ranking { width: 500px; margin: 0 auto; font-size: 1.1rem; + display: block; + float: left; } table.ranking td @@ -150,22 +185,19 @@ table.ranking tr:not(.title):hover, table.ranking tr:not(.title):nth-child(even) /* pairings div */ -button.block { - display: block; - margin: 30px auto; +.warning { + color: red; + margin-top: 25px; } -.button-container { - margin-top: 30px; - text-align: center; +span.link { + color: darkblue; + cursor: pointer; } -button.cancel { - margin-left: 30px; - background-image: linear-gradient(to bottom, #d93470, #b82b47); -} -button.cancel:hover { - background-image: linear-gradient(to bottom, #fc433c, #d93434); +button.block { + display: block; + margin: 25px auto; } .toto { @@ -194,9 +226,6 @@ td.score { .unpaired { cursor: default; } -.scored { - cursor: default; -} .pairing > table { font-size: 1.1rem;