Revert "less/roojs-bootstrap/alert.less"
[roojs1] / less / roojs-bootstrap / upload-cropbox.less
diff --git a/less/roojs-bootstrap/upload-cropbox.less b/less/roojs-bootstrap/upload-cropbox.less
new file mode 100644 (file)
index 0000000..dffd753
--- /dev/null
@@ -0,0 +1,71 @@
+
+.roo-upload-cropbox-selector { // it must use visibility, display is not working on old safari...
+    visibility: hidden;
+    height: 0px;
+}
+
+.roo-upload-cropbox-dialog .modal-header,
+.roo-upload-cropbox-dialog .modal-footer {
+    padding-top: 5px;
+    padding-bottom: 5px;
+}
+
+.roo-upload-cropbox-body {
+    background-color: @body-bg;
+    border: 1px solid @gray-light;
+    width: 100%;
+    height: 450px;
+    max-height: 450px;
+    position: relative;
+    overflow: hidden;
+    cursor:move;
+}
+
+.roo-upload-cropbox-preview {
+    position: absolute;
+    top: 0px;
+    left: 0px;
+    text-align: center;
+    margin: 0px;
+    padding: 0px;
+    border: none;
+}
+
+.roo-upload-cropbox-body .roo-upload-cropbox-thumb {
+    position: absolute;
+/*    top: 50%;
+    left: 50%;
+    transform: translate(-50%, -50%);*/
+    box-sizing: border-box;
+    border: 1px solid @gray-light;
+    box-shadow: 0 0 0 1000px @black-opacity-50;
+    background: none repeat scroll 0% 0% transparent;
+}
+
+.roo-upload-cropbox-body .roo-upload-cropbox-empty-notify {
+    height: 100%;
+    background-color: @black-opacity-50;
+    color: @body-bg;
+    font-weight: bold;
+    font-size: 24px;
+    text-align: center;
+    padding-top: 50px;
+    font-style: italic;
+}
+
+.roo-upload-cropbox-btn-group button {
+    background-color: @gray-base;
+    color: @body-bg;
+    border-color: @gray-dark;
+}
+
+.roo-upload-cropbox-error-notify {
+    border-radius: 0px;
+    text-align: center;
+    padding: 0px !important;
+    margin: 0px !important;
+    position: absolute;
+    top: 0;
+    left: 0;
+}
+