Revert "less/roojs-bootstrap/alert.less"
[roojs1] / less / roojs-bootstrap / document-viewer.scss
diff --git a/less/roojs-bootstrap/document-viewer.scss b/less/roojs-bootstrap/document-viewer.scss
new file mode 100644 (file)
index 0000000..0740bf6
--- /dev/null
@@ -0,0 +1,57 @@
+
+.document-viewer-dialog .modal-dialog {
+    margin: 0px auto;
+}
+
+.document-viewer-dialog .modal-header,
+.document-viewer-dialog .modal-footer {
+    padding-top: 5px;
+    padding-bottom: 5px;
+}
+
+.document-viewer-dialog .modal-body {
+    padding: 0px;
+}
+
+.roo-document-viewer-body {
+    background-color: $body-bg;
+    width: 100%;
+    height: 450px;
+    max-height: 450px;
+    position: relative;
+    overflow: hidden;
+    cursor:move;
+}
+
+.roo-document-viewer-body .roo-document-viewer-thumb {
+    position: absolute;
+    width: 80%;
+    height: 80%;
+    top: 50%;
+    left: 50%;
+    transform: translate(-50%, -50%);
+    box-sizing: border-box;
+    border: 1px solid rgb(102, 102, 102);
+    box-shadow: 0 0 0 1000px $black-opacity-50;
+    text-align: center;
+    vertical-align: middle;
+    overflow: auto;
+}
+
+.roo-document-viewer-body .roo-document-viewer-image{
+    width: 100%;
+}
+
+.roo-document-viewer-btn-group button {
+    background-color: $gray-base;
+    color: $body-bg;
+    border-color: $gray-dark;
+}
+
+.roo-document-viewer-btn-group > .btn-group:first-child > button {
+    border-top-left-radius: 0;
+}
+
+.roo-document-viewer-btn-group > .btn-group:last-child > button {
+    border-top-right-radius: 0;
+}
\ No newline at end of file