* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: sans-serif; } .visualization { height: 700px; margin: 10px auto; position: relative; width: 1100px; } .events { bottom: 0; font-size: 0; left: 0; position: absolute; width: 200px; } .event-item { cursor: pointer; display: inline-block; height: 38px; margin: 1px; overflow: hidden; padding: 4px; position: relative; text-align: center; vertical-align: baseline; width: 48px; } .event-item.active .event-year { display: none; } .event-year { background: #fff; border: 1px solid #d5d5d5; font-size: 13px; height: 30px; left: 4px; line-height: 30px; opacity: 1; position: absolute; top: 4px; transition: opacity 0.15s ease-in; width: 40px; z-index: 1; } .event-flag { font-size: 30px; z-index: 0; } .event-item:hover .event-year { opacity: 0; } .tourney { left: 0; position: absolute; top: 0; } .tourney-image { width: 200px; } .tourney-country { color: #777; display: block; font-size: 20px; line-height: 40px; text-decoration: none; } .tourney-country:hover { color: #000; } .tourney-year { color: #777; display: block; font-size: 40px; line-height: 40px; text-decoration: none; } .tourney-year:hover { color: #000; } .diagram { font-size: 10px; margin: 0 auto; position: relative; top: 0; width: 700px; z-index: 10; } .group-tick line { stroke: #ddd; } .ribbon { fill-opacity: 0.4; stroke-width: 1; stroke-opacity: 0.1; } .ribbon:hover { fill-opacity: 1; stroke-opacity: 1; } .sort { position: absolute; right: 0; top: 0; width: 200px; z-index: 1; } .sort-item { border: 1px solid #d5d5d5; cursor: pointer; font-size: 0; line-height: 40px; margin-bottom: 5px; opacity: 0.2; width: 200px; } .sort-item:hover { opacity: 0.6; } .sort-item.active { opacity: 1; } .sort-item.active .sort-icon { visibility: visible; } .sort-text { display: inline-block; font-size: 13px; padding-left: 10px; text-align: left; vertical-align: top; width: 120px; } .sort-tiny { display: inline-block; font-size: 9px; line-height: 40px; text-align: center; text-transform: uppercase; vertical-align: top; width: 50px; } .sort-icon { height: 18px; margin: 11px 5px; vertical-align: top; visibility: hidden; width: 18px; } .schemes { font-size: 0; height: 32px; position: absolute; right: 0; top: 160px; width: 200px; } .scheme-item { background-image: url(../res/scheme.svg); background-repeat: no-repeat; border: 4px solid #fff; cursor: pointer; display: inline-block; height: 40px; opacity: 0.2; outline: 1px solid #d5d5d5; width: 40px; } .scheme-item:hover { opacity: 0.6; } .scheme-item.active { opacity: 1; } .scheme-item.active .sort-icon { visibility: visible; } .scheme1, .scheme2, .scheme3 { margin-right: 13px; } .scheme1 { background-position: -0px 0; } .scheme2 { background-position: -32px 0; } .scheme3 { background-position: -64px 0; } .scheme4 { background-position: -96px 0; } .rounds { bottom: 0; position: absolute; right: 0; width: 200px; z-index: 1; } .round-item { border: 1px solid #d5d5d5; cursor: pointer; font-size: 0; line-height: 40px; margin-top: 5px; opacity: 0.2; } .round-item:hover { opacity: 0.6; } .round-item.active { opacity: 1; } .round-item.active .round-icon { visibility: visible; } .round-text { display: inline-block; font-size: 13px; width: 120px; } .round-tiny { display: inline-block; font-size: 9px; line-height: 40px; text-align: center; text-transform: uppercase; vertical-align: top; width: 50px; } .round-icon { height: 18px; margin: 11px 5px; vertical-align: top; visibility: hidden; width: 18px; }