diff --git a/app/assets/javascripts/app/views/modal.jst.eco b/app/assets/javascripts/app/views/modal.jst.eco
index e78295a11..3badf8a3c 100644
--- a/app/assets/javascripts/app/views/modal.jst.eco
+++ b/app/assets/javascripts/app/views/modal.jst.eco
@@ -2,24 +2,26 @@
-
diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb
index d0cc59df3..94dad9667 100644
--- a/app/assets/stylesheets/zzz.css.erb
+++ b/app/assets/stylesheets/zzz.css.erb
@@ -459,21 +459,6 @@ label {
z-index: 1;
}
-.form-horizontal label {
- text-align: right;
- float: left;
- margin-left: 0;
- margin-right: 0;
- width: 130px;
- margin-top: 7px;
-}
-.form-horizontal .form-group .checkbox label {
- text-align: left;
- width: 100%;
- margin-top: 0;
- margin-bottom: 4px;
-}
-
.form-stacked .checkbox label {
color: inherit;
font-size: 13px;
@@ -531,17 +516,6 @@ label {
.help-block {
color: #bcbcbc;
}
-.form-horizontal .help-inline, .form-horizontal .help-block {
- font-size: 12px;
- margin-top: 4px;
-}
-
-.form-horizontal .control-label {
- width: 130px;
-}
-.form-horizontal .controls {
- margin-left: 150px;
-}
/* replace music icon with attachment */
.icon-attachment {
@@ -1227,6 +1201,12 @@ ol.tabs li {
background-position: -70px -338px;
}
+ .close.icon {
+ width: 13px;
+ height: 13px;
+ background-position: -83px -338px;
+ }
+
/*
* removed margin of forms to not break the layout with submit buttons within
area e. g. for modal dialogs
@@ -1248,23 +1228,6 @@ form a.standalone {
margin-left: auto;
}
-.modal-header {
- padding: 10px 15px;
-}
-
-.modal .form-group .controls {
- width: 65%;
-}
-
-.modal .form-group {
- margin-bottom: 2px;
-}
-
-.modal-footer {
- margin-top: 0;
- padding: 14px 20px 20px;
-}
-
footer {
clear: both;
padding-top: 10px;
@@ -3099,6 +3062,50 @@ footer {
top: 45px;
}
+.modal-dialog {
+ width: 660px;
+ margin-top: 35px;
+ margin-bottom: 35px;
+}
+
+.modal-content {
+ border-radius: 0;
+ border: 1px solid hsl(0,0%,90%);
+ box-shadow: none;
+}
+
+ .modal-header {
+ padding: 30px 23px 23px;
+ border: none;
+ }
+
+ .modal-header h1 {
+ text-align: center;
+ }
+
+ .modal-close {
+ padding: 23px;
+ position: absolute;
+ right: 0;
+ top: 0;
+ cursor: pointer;
+ -webkit-user-select: none;
+ user-select: none;
+ }
+
+ .modal-close .close.icon {
+ opacity: 0.18;
+ }
+
+ .modal-body {
+ padding: 0 23px;
+ }
+
+ .modal-footer {
+ padding: 23px 23px 20px;
+ border: none;
+ }
+
/*
----------------