diff --git a/kahuna/public/js/directives/ui-crop-box/cropper-override.css b/kahuna/public/js/directives/ui-crop-box/cropper-override.css index 132147e98b..fe9e5ba81c 100644 --- a/kahuna/public/js/directives/ui-crop-box/cropper-override.css +++ b/kahuna/public/js/directives/ui-crop-box/cropper-override.css @@ -9,6 +9,35 @@ } .easel .cropper-canvas { - background-color: #000; + background-color: #bdbdbd; + background-image: + linear-gradient(45deg, white 25%, transparent 25%), + linear-gradient(135deg, white 25%, transparent 25%), + linear-gradient(45deg, transparent 75%, white 75%), + linear-gradient(135deg, transparent 75%, white 75%); + + background-size: 20px 20px; + + background-position: 0 0, 10px 0, 10px -10px, 0px 10px; opacity: .5; } + +.easel .cropper-view-box :first-child { + display: block; + height: 100%; + outline: 1px solid #39f; + outline-color: rgba(51, 153, 255, 0.75); + overflow: hidden; + width: 100%; + background-color: #bdbdbd; + background-image: + linear-gradient(45deg, white 25%, transparent 25%), + linear-gradient(135deg, white 25%, transparent 25%), + linear-gradient(45deg, transparent 75%, white 75%), + linear-gradient(135deg, transparent 75%, white 75%); + + background-size: 20px 20px; + + background-position: 0 0, 10px 0, 10px -10px, 0px 10px; +} + diff --git a/kahuna/public/js/image/view.html b/kahuna/public/js/image/view.html index 48f03378c1..acbba2e51c 100644 --- a/kahuna/public/js/image/view.html +++ b/kahuna/public/js/image/view.html @@ -145,7 +145,7 @@ ng-if="!ctrl.crop" draggable="true" ui-drag-data="ctrl.image | asImageDragData"> -