src/pyams_default_theme/resources/css/pyams-default.css
changeset 293 b2f7d60562ba
parent 288 c140b4b0d918
child 317 46c78cc30b74
--- a/src/pyams_default_theme/resources/css/pyams-default.css	Fri Dec 14 18:30:00 2018 +0100
+++ b/src/pyams_default_theme/resources/css/pyams-default.css	Fri Dec 14 18:40:01 2018 +0100
@@ -310,4 +310,117 @@
 .source pre {
   font-family: 'Source Code Pro', monospace;
 }
+/**
+ * Modal dialogs
+ */
+.modal-backdrop,
+.modal-backdrop.fade.in {
+  position: fixed;
+  width: 100%;
+  height: 100%;
+  z-index: 990;
+}
+.modal-dialog.modal-max {
+  width: 98%;
+  max-width: 98%;
+}
+@media only screen and (min-width: 768px) {
+  .modal-dialog.modal-xlarge {
+    width: 95%;
+    max-width: 1000px;
+  }
+}
+@media only screen and (min-width: 768px) {
+  .modal-dialog.modal-large {
+    width: 80%;
+    max-width: 900px;
+  }
+}
+@media only screen and (min-width: 768px) {
+  .modal-dialog.modal-medium {
+    width: 60%;
+    max-width: 650px;
+  }
+}
+@media only screen and (min-width: 768px) {
+  .modal-dialog.modal-small {
+    width: 40%;
+    max-width: 450px;
+  }
+}
+.modal-dialog .modal-body .modal-viewport {
+  min-height: 140px;
+}
+.modal-dialog .close:hover {
+  background-color: white;
+}
+.modal-dialog .suffix .alert {
+  margin-bottom: 0;
+}
+.modal-dialog .suffix .alert:last-child {
+  border-radius: 0 0 5px 5px;
+}
+.modal-header {
+  position: relative;
+  cursor: move;
+}
+.modal-header .toolbar {
+  position: absolute;
+  right: 25px;
+  bottom: -19px;
+  z-index: 1;
+}
+.modal-title {
+  min-height: 1.1em;
+}
+.modal-title img {
+  margin: 0 15px 0 0;
+}
+.modal-overflow {
+  position: relative;
+  height: 98%;
+}
+.modal-overflow .modal-body {
+  overflow: hidden;
+}
+.modal-overflow .scrollmarker {
+  position: absolute;
+  width: 100%;
+  height: 20px;
+}
+.modal-overflow .scrollmarker.top {
+  background: -moz-linear-gradient(top, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* FF3.6+ */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3276b1), color-stop(17%, rgba(50, 118, 177, 0.83)), color-stop(100%, rgba(50, 118, 177, 0)));
+  /* Chrome,Safari4+ */
+  background: -webkit-linear-gradient(top, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* Chrome10+,Safari5.1+ */
+  background: -o-linear-gradient(top, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* Opera 11.10+ */
+  background: -ms-linear-gradient(top, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* IE10+ */
+  background: linear-gradient(to bottom, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* W3C */
+}
+.modal-overflow .scrollmarker.bottom {
+  background: -moz-linear-gradient(bottom, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* FF3.6+ */
+  background: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #3276b1), color-stop(17%, rgba(50, 118, 177, 0.83)), color-stop(100%, rgba(50, 118, 177, 0)));
+  /* Chrome,Safari4+ */
+  background: -webkit-linear-gradient(bottom, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* Chrome10+,Safari5.1+ */
+  background: -o-linear-gradient(bottom, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* Opera 11.10+ */
+  background: -ms-linear-gradient(bottom, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* IE10+ */
+  background: linear-gradient(to top, #3276b1 0%, rgba(50, 118, 177, 0.83) 17%, rgba(50, 118, 177, 0) 100%);
+  /* W3C */
+}
+.modal-viewport {
+  overflow-x: hidden;
+  overflow-y: auto;
+}
+.modal-viewport fieldset .alert {
+  margin: 0 -5px 5px !important;
+}
 /*# sourceMappingURL=pyams-default.css.map */
\ No newline at end of file