Spaces:
Running
Running
| /* Copyright 2020 Google LLC. All Rights Reserved. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| ==============================================================================*/ | |
| .tooltip { | |
| top: -1000px; | |
| position: fixed; | |
| padding: 10px; | |
| background: rgba(255, 255, 255, .90); | |
| border: 1px solid lightgray; | |
| pointer-events: none; | |
| width: auto; | |
| } | |
| .tooltip-hidden{ | |
| opacity: 0; | |
| transition: all .3s; | |
| transition-delay: .1s; | |
| } | |
| @media (max-width: 590px){ | |
| div.tooltip{ | |
| bottom: -1px; | |
| width: calc(100%); | |
| left: -1px ; | |
| right: -1px ; | |
| top: auto ; | |
| width: auto ; | |
| } | |
| } | |
| svg{ | |
| overflow: visible; | |
| } | |
| .domain{ | |
| display: none; | |
| } | |
| #big-matrix text{ | |
| font-family: 'Google Sans', sans-serif; | |
| /*pointer-events: none;*/ | |
| text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff; | |
| text-shadow: 0 1px 0 rgba(255,255,255, .6), 1px 0 0 rgba(255,255,255, .6), 0 -1px 0 rgba(255,255,255, .6), -1px 0 0 rgba(255,255,255, .6); | |
| } | |
| body{ | |
| max-width: 900px; | |
| } | |
| h1{ | |
| } | |
| h1{ | |
| /*text-align: center;*/ | |
| } | |
| h3{ | |
| font-size: 20px; | |
| } | |
| #big-matrix{ | |
| text-align: center; | |
| margin-top: 40px; | |
| font-family: 'Google Sans', sans-serif; | |
| } | |
| div.big-container{ | |
| display: inline-block; | |
| margin: 10px; | |
| } | |
| #metrics{ | |
| text-align: center; | |
| } | |
| div.metrics-container{ | |
| display: inline-block; | |
| margin: 10px; | |
| } | |
| div.metrics-container > div{ | |
| display: inline-block; | |
| vertical-align: middle; | |
| pointer-events: none; | |
| } | |
| .drag{ | |
| cursor: pointer; | |
| fill-opacity: 0; | |
| fill: #f0f; | |
| stroke-opacity: 0; | |
| } | |
| svg.dragging{ | |
| cursor: pointer; | |
| } | |
| sl{ | |
| /*background: #000; */ | |
| color: #000; | |
| border: 1px solid #eee; | |
| width: 1em; | |
| display: inline-block; | |
| padding-left: 2px; | |
| padding-right: 2px; | |
| font-style: normal; | |
| } | |
| #instructions{ | |
| margin-top: 10px; | |
| margin-bottom: 10px; | |
| text-align: center; | |
| } | |