modal works but height is off

This commit is contained in:
Jesus Herman
2015-12-04 17:13:12 +01:00
parent 49d05e4355
commit 34b1f2c9c3
3 changed files with 53 additions and 15 deletions

View File

@@ -323,8 +323,6 @@ a.language-selected {
background: inherit; background: inherit;
color: inherit; color: inherit;
display: inherit; display: inherit;
/*font-family: inherit;*/
/*font-size: inherit;*/
line-height: inherit; line-height: inherit;
margin: inherit; margin: inherit;
padding: inherit; padding: inherit;
@@ -332,3 +330,40 @@ a.language-selected {
-ms-text-size-adjust: inherit; } -ms-text-size-adjust: inherit; }
.toolbox-reset .collapse { .toolbox-reset .collapse {
display: block; } display: block; }
.toolbox-reset .modal {
left: inherit; }
/*
* Stuff we've deleted that comes from the bootstrap-combined.css file
*/
.toolbox-reset .modal {
position: fixed;
top: 10%;
left: 50%;
z-index: 1050;
width: 560px;
margin-left: -280px;
background-color: #ffffff;
border: 1px solid #999;
border: 1px solid rgba(0, 0, 0, 0.3);
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
outline: none; }
.toolbox-reset .modal.fade {
-webkit-transition: opacity .3s linear, top .3s ease-out;
-moz-transition: opacity .3s linear, top .3s ease-out;
-o-transition: opacity .3s linear, top .3s ease-out;
transition: opacity .3s linear, top .3s ease-out;
top: -25%; }
.toolbox-reset .modal.fade.in {
top: 10%;
display: inherit !important; }

View File

@@ -1,2 +1,3 @@
@import 'partials/legacy'; @import 'partials/legacy';
@import 'partials/overwrites'; @import 'partials/overwrites';
@import 'partials/editor';

View File

@@ -1,16 +1,18 @@
.toolbox-reset { .toolbox-reset {
background: inherit; background: inherit;
color: inherit; color: inherit;
display: inherit; display: inherit;
/*font-family: inherit;*/ line-height: inherit;
/*font-size: inherit;*/ margin: inherit;
line-height: inherit; padding: inherit;
margin: inherit; -webkit-text-size-adjust: inherit;
padding: inherit; -ms-text-size-adjust: inherit;
-webkit-text-size-adjust: inherit;
-ms-text-size-adjust: inherit;
& .collapse { .collapse {
display: block; display: block;
} }
.modal {
left: inherit;
}
} }