| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- .fullscreen .preview-navigator {
- transform: translate(-45px, 30px);
- }
- .preview-navigator {
- background: white;
- width: 140px;
- height: 120px;
- position: absolute;
- left: 45px;
- bottom: 30px;
- box-shadow: 0 0 8px rgba(0, 0, 0, .2);
- border-radius: 0 2px 2px 0;
- padding: 1px;
- z-index: 9;
- cursor: crosshair;
- transition: transform .7s 0.1s ease;
-
- &.grab {
- cursor: move;
- cursor: -webkit-grabbing;
- cursor: -moz-grabbing;
- cursor: grabbing;
- }
- }
- .fullscreen .nav-bar {
- transform: translate(-60px, 0);
- }
- .nav-bar {
- position: absolute;
- width: 35px;
- height: 240px;
- padding: 5px 0;
- left: 10px;
- bottom: 10px;
- background: @theme-color;
- border-radius: 4px;
- z-index: 10;
- box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
- transition: transform .7s 0.1s ease;
-
- .command-button {
- width: 35px;
- height: 24px;
- text-align: center;
- line-height: 30px;
-
- .fui-label {
- display: none;
- }
-
- .fui-icon {
- background: url(../images/icons.png);
- width: 20px;
- height: 20px;
- margin: 2px auto;
- display: block;
- }
-
- &:hover {
- background: lighten(@theme-color, 10%);
- }
-
- &:active {
- background: darken(@theme-color, 3%);
- }
-
- &.active {
- background: #5A6378;
- }
-
- &.hand, &.nav-trigger, &.camera {
- height: 25px;
- margin: 3px 0;
- .fui-icon {
- margin: 0 auto;
- width: 25px;
- height: 25px;
- }
- }
-
- &.zoom-in .fui-icon {
- background-position: 0 -730px;
- }
-
- &.zoom-out .fui-icon {
- background-position: 0 -750px;
- }
-
- &.hand {
- margin-top: 10px;
- .fui-icon {
- background-position: 0 -770px;
- }
- &.active .fui-icon {
- background-position: 0 -795px;
- }
- }
-
- &.nav-trigger {
- .fui-icon {
- background-position: 0 -820px;
- }
- &.active .fui-icon {
- background-position: 0 -845px;
- }
- }
-
- &.camera {
- .fui-icon {
- background-position: 0 -870px;
- }
- margin-bottom: 0;
- }
-
- }
-
- .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;
- }
-
- &:hover:after {
- box-shadow: 0 0 5px rgba(255, 255, 255, 1);
- }
- }
-
- .indicator {
- position: absolute;
- width: 8px;
- height: 8px;
- left: -3px;
- background: white;
- border-radius: 100%;
- margin-top: -4px;
- }
- }
- }
|