123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329 |
- /* ================================================================== */
- /* Toolbars
- /* ================================================================== */
- .bigemap-draw-section {
- position: relative;
- }
- .bigemap-draw-drag-icon{
- background-color: #fff;
- border: 2px solid #111;
- border-radius: 10px;
- }
- .bigemap-draw-toolbar {
- margin-top: 12px;
- }
- .bigemap-draw-toolbar-top {
- margin-top: 0;
- }
- .bigemap-draw-toolbar-notop a:first-child {
- border-top-right-radius: 0;
- }
- .bigemap-draw-toolbar-nobottom a:last-child {
- border-bottom-right-radius: 0;
- }
- .bigemap-draw-toolbar a {
- background-image: url('images/spritesheet.png');
- background-image: linear-gradient(transparent, transparent), url('images/spritesheet.svg');
- background-repeat: no-repeat;
- background-size: 300px 30px;
- background-clip: padding-box;
- }
- .bigemap-retina .bigemap-draw-toolbar a {
- background-image: url('images/spritesheet-2x.png');
- background-image: linear-gradient(transparent, transparent), url('images/spritesheet.svg');
- }
- .bigemap-draw a {
- display: block;
- text-align: center;
- text-decoration: none;
- }
- .bigemap-draw a .sr-only {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- border: 0;
- }
- /* ================================================================== */
- /* Toolbar actions menu
- /* ================================================================== */
- .bigemap-draw-actions {
- display: none;
- list-style: none;
- margin: 0;
- padding: 0;
- position: absolute;
- left: 26px; /* bigemap-draw-toolbar.left + bigemap-draw-toolbar.width */
- top: 0;
- white-space: nowrap;
- }
- .bigemap-touch .bigemap-draw-actions {
- left: 32px;
- }
- .bigemap-right .bigemap-draw-actions {
- right: 26px;
- left: auto;
- }
- .bigemap-touch .bigemap-right .bigemap-draw-actions {
- right: 32px;
- left: auto;
- }
- .bigemap-draw-actions li {
- display: inline-block;
- }
- .bigemap-draw-actions li:first-child a {
- border-left: none;
- }
- .bigemap-draw-actions li:last-child a {
- -webkit-border-radius: 0 4px 4px 0;
- border-radius: 0 4px 4px 0;
- }
- .bigemap-right .bigemap-draw-actions li:last-child a {
- -webkit-border-radius: 0;
- border-radius: 0;
- }
- .bigemap-right .bigemap-draw-actions li:first-child a {
- -webkit-border-radius: 4px 0 0 4px;
- border-radius: 4px 0 0 4px;
- }
- .bigemap-draw-actions a {
- background-color: #919187;
- border-left: 1px solid #AAA;
- color: #FFF;
- font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;
- line-height: 28px;
- text-decoration: none;
- padding-left: 10px;
- padding-right: 10px;
- height: 28px;
- }
- .bigemap-touch .bigemap-draw-actions a {
- font-size: 12px;
- line-height: 30px;
- height: 30px;
- }
- .bigemap-draw-actions-bottom {
- margin-top: 0;
- }
- .bigemap-draw-actions-top {
- margin-top: 1px;
- }
- .bigemap-draw-actions-top a,
- .bigemap-draw-actions-bottom a {
- height: 27px;
- line-height: 27px;
- }
- .bigemap-draw-actions a:hover {
- background-color: #A0A098;
- }
- .bigemap-draw-actions-top.bigemap-draw-actions-bottom a {
- height: 26px;
- line-height: 26px;
- }
- /* ================================================================== */
- /* Draw toolbar
- /* ================================================================== */
- .bigemap-draw-toolbar .bigemap-draw-draw-polyline {
- background-position: -2px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-polyline {
- background-position: 0 -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-draw-polygon {
- background-position: -31px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-polygon {
- background-position: -29px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-draw-rectangle {
- background-position: -62px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-rectangle {
- background-position: -60px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-draw-circle {
- background-position: -92px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-circle {
- background-position: -90px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-draw-marker {
- background-position: -122px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-marker {
- background-position: -120px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-draw-circlemarker {
- background-position: -273px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-circlemarker {
- background-position: -271px -1px;
- }
- /* ================================================================== */
- /* Edit toolbar
- /* ================================================================== */
- .bigemap-draw-toolbar .bigemap-draw-edit-edit {
- background-position: -152px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-edit {
- background-position: -150px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-edit-remove {
- background-position: -182px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-remove {
- background-position: -180px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-edit-edit.bigemap-disabled {
- background-position: -212px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-edit.bigemap-disabled {
- background-position: -210px -1px;
- }
- .bigemap-draw-toolbar .bigemap-draw-edit-remove.bigemap-disabled {
- background-position: -242px -2px;
- }
- .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-remove.bigemap-disabled {
- background-position: -240px -2px;
- }
- /* ================================================================== */
- /* Drawing styles
- /* ================================================================== */
- .bigemap-mouse-marker {
- background-color: #fff;
- cursor: crosshair;
- }
- .bigemap-draw-tooltip {
- background: rgb(54, 54, 54);
- background: rgba(0, 0, 0, 0.5);
- border: 1px solid transparent;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- color: #fff;
- font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
- margin-left: 20px;
- margin-top: -21px;
- padding: 4px 8px;
- position: absolute;
- visibility: hidden;
- white-space: nowrap;
- z-index: 6;
- }
- .bigemap-draw-tooltip:before {
- border-right: 6px solid black;
- border-right-color: rgba(0, 0, 0, 0.5);
- border-top: 6px solid transparent;
- border-bottom: 6px solid transparent;
- content: "";
- position: absolute;
- top: 7px;
- left: -7px;
- }
- .bigemap-error-draw-tooltip {
- background-color: #F2DEDE;
- border: 1px solid #E6B6BD;
- color: #B94A48;
- }
- .bigemap-error-draw-tooltip:before {
- border-right-color: #E6B6BD;
- }
- .bigemap-draw-tooltip-single {
- margin-top: -12px
- }
- .bigemap-draw-tooltip-subtext {
- color: #f8d5e4;
- }
- .bigemap-draw-guide-dash {
- font-size: 1%;
- opacity: 0.6;
- position: absolute;
- width: 5px;
- height: 5px;
- }
- /* ================================================================== */
- /* Edit styles
- /* ================================================================== */
- .bigemap-edit-marker-selected {
- background-color: rgba(254, 87, 161, 0.1);
- border: 4px dashed rgba(254, 87, 161, 0.6);
- -webkit-border-radius: 4px;
- border-radius: 4px;
- box-sizing: content-box;
- }
- .bigemap-edit-move {
- cursor: move;
- }
- .bigemap-edit-resize {
- cursor: pointer;
- }
- /* ================================================================== */
- /* Old IE styles
- /* ================================================================== */
- .bigemap-oldie .bigemap-draw-toolbar {
- border: 1px solid #999;
- }
|