123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- .nav-bar {
- position: absolute;
- width: 35px;
- height: 240px;
- padding: 5px 0;
- left: 10px;
- bottom: 10px;
- background: #fc8383;
- color: #fff;
- border-radius: 4px;
- z-index: 10;
- box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
- transition: -webkit-transform .7s 0.1s ease;
- transition: transform .7s 0.1s ease;
- .nav-btn {
- width: 35px;
- height: 24px;
- line-height: 24px;
- text-align: center;
- .icon {
- background: url(images/icons.png);
- width: 20px;
- height: 20px;
- margin: 2px auto;
- display: block;
- }
- &.active {
- background-color: #5A6378;
- }
- }
- .zoom-in .icon {
- background-position: 0 -730px;
- }
- .zoom-out .icon {
- background-position: 0 -750px;
- }
- .hand .icon {
- background-position: 0 -770px;
- width: 25px;
- height: 25px;
- margin: 0 auto;
- }
- .camera .icon {
- background-position: 0 -870px;
- width: 25px;
- height: 25px;
- margin: 0 auto;
- }
- .nav-trigger .icon {
- background-position: 0 -845px;
- width: 25px;
- height: 25px;
- margin: 0 auto;
- }
- .zoom-pan {
- width: 2px;
- height: 70px;
- box-shadow: 0 1px #E50000;
- position: relative;
- background: white;
- margin: 3px auto;
- overflow: visible;
- .origin {
- position: absolute;
- width: 20px;
- height: 8px;
- left: -9px;
- margin-top: -4px;
- background: transparent;
- &:after {
- content: ' ';
- display: block;
- width: 6px;
- height: 2px;
- background: white;
- left: 7px;
- top: 3px;
- position: absolute;
- }
- }
- .indicator {
- position: absolute;
- width: 8px;
- height: 8px;
- left: -3px;
- background: white;
- border-radius: 100%;
- margin-top: -4px;
- }
- }
- }
- .nav-previewer {
- background: #fff;
- width: 140px;
- height: 120px;
- position: absolute;
- left: 45px;
- bottom: 30px;
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
- border-radius: 0 2px 2px 0;
- padding: 1px;
- z-index: 9;
- cursor: crosshair;
- transition: -webkit-transform .7s 0.1s ease;
- transition: transform .7s 0.1s ease;
- &.grab {
- cursor: move;
- cursor: -webkit-grabbing;
- cursor: -moz-grabbing;
- cursor: grabbing;
- }
- }
|