| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- /* jquery.cytoscape-panzoom.css */
- /**
- * This file is part of cytoscape.js 2.0.2.
- *
- * Cytoscape.js is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option) any
- * later version.
- *
- * Cytoscape.js is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public License along with
- * cytoscape.js. If not, see <http://www.gnu.org/licenses/>.
- */
-
- .ui-cytoscape-panzoom {
- position: absolute;
- font-size: 12px;
- color: #fff;
- font-family: arial, helvetica, sans-serif;
- line-height: 1;
- color: #666;
- font-size: 11px;
- z-index: 99999;
- }
- .ui-cytoscape-panzoom-zoom-button {
- cursor: pointer;
- padding: 3px;
- text-align: center;
- position: absolute;
- border-radius: 3px;
- width: 10px;
- height: 10px;
- left: 16px;
- background: #fff;
- border: 1px solid #999;
- margin-left: -1px;
- margin-top: -1px;
- z-index: 1;
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
- }
- .ui-cytoscape-panzoom-zoom-button:active,
- .ui-cytoscape-panzoom-slider-handle:active,
- .ui-cytoscape-panzoom-slider-handle.active {
- background: #ddd;
- }
- .ui-cytoscape-panzoom-pan-button {
- position: absolute;
- z-index: 1;
- height: 16px;
- width: 16px;
- }
- .ui-cytoscape-panzoom-reset {
- top: 55px;
- }
- .ui-cytoscape-panzoom-zoom-in {
- top: 80px;
- }
- .ui-cytoscape-panzoom-zoom-out {
- top: 197px;
- }
- .ui-cytoscape-panzoom-pan-up {
- top: 0;
- left: 50%;
- margin-left: -5px;
- width: 0;
- height: 0;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- border-bottom: 5px solid #666;
- }
- .ui-cytoscape-panzoom-pan-down {
- bottom: 0;
- left: 50%;
- margin-left: -5px;
- width: 0;
- height: 0;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- border-top: 5px solid #666;
- }
- .ui-cytoscape-panzoom-pan-left {
- top: 50%;
- left: 0;
- margin-top: -5px;
- width: 0;
- height: 0;
- border-top: 5px solid transparent;
- border-bottom: 5px solid transparent;
- border-right: 5px solid #666;
- }
- .ui-cytoscape-panzoom-pan-right {
- top: 50%;
- right: 0;
- margin-top: -5px;
- width: 0;
- height: 0;
- border-top: 5px solid transparent;
- border-bottom: 5px solid transparent;
- border-left: 5px solid #666;
- }
- .ui-cytoscape-panzoom-pan-indicator {
- position: absolute;
- left: 0;
- top: 0;
- width: 8px;
- height: 8px;
- border-radius: 8px;
- background: #000;
- border-radius: 8px;
- margin-left: -5px;
- margin-top: -5px;
- display: none;
- z-index: 999;
- opacity: 0.6;
- }
- .ui-cytoscape-panzoom-slider {
- position: absolute;
- top: 97px;
- left: 17px;
- height: 100px;
- width: 15px;
- }
- .ui-cytoscape-panzoom-slider-background {
- position: absolute;
- top: 0;
- width: 2px;
- height: 100px;
- left: 5px;
- background: #fff;
- box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25);
- border-left: 1px solid #999;
- border-right: 1px solid #999;
- }
- .ui-cytoscape-panzoom-slider-handle {
- position: absolute;
- width: 16px;
- height: 8px;
- background: #fff;
- border: 1px solid #999;
- border-radius: 2px;
- margin-left: -2px;
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
- z-index: 999;
- line-height: 8px;
- }
- .ui-cytoscape-panzoom-slider-handle .icon {
- margin: 0 4px;
- line-height: 10px;
- }
- .ui-cytoscape-panzoom-no-zoom-tick {
- position: absolute;
- background: #666;
- border: 1px solid #fff;
- border-radius: 2px;
- margin-left: -1px;
- width: 8px;
- height: 2px;
- left: 3px;
- z-index: 1;
- margin-top: 3px;
- }
- .ui-cytoscape-panzoom-panner {
- position: absolute;
- left: 5px;
- top: 5px;
- height: 40px;
- width: 40px;
- background: #fff;
- border: 1px solid #999;
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
- border-radius: 40px;
- margin-left: -1px;
- }
- .ui-cytoscape-panzoom-panner-handle {
- position: absolute;
- left: 0;
- top: 0;
- outline: none;
- height: 40px;
- width: 40px;
- position: absolute;
- z-index: 999;
- }
|