wpLink: set max-height to 500px (like before) and vertically center the modal (except in IE8), see #26952
git-svn-id: https://develop.svn.wordpress.org/trunk@27495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7812a3fa77
commit
a927982d0c
@ -894,6 +894,10 @@ i.mce-caret:before {
|
|||||||
margin-left: -300px;
|
margin-left: -300px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
|
top: calc(50% - 130px);
|
||||||
|
bottom: 30px;
|
||||||
|
bottom: calc(50% - 130px);
|
||||||
|
max-height: 260px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
z-index: 100105;
|
z-index: 100105;
|
||||||
}
|
}
|
||||||
@ -917,17 +921,19 @@ i.mce-caret:before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#wp-link-wrap.search-panel-visible {
|
#wp-link-wrap.search-panel-visible {
|
||||||
bottom: 30px;
|
max-height: 500px;
|
||||||
|
top: calc(50% - 250px);
|
||||||
|
bottom: calc(50% - 250px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#link-modal-title {
|
#link-modal-title {
|
||||||
background: #fcfcfc;
|
background: #fcfcfc;
|
||||||
border-bottom: 1px solid #dfdfdf;
|
border-bottom: 1px solid #dfdfdf;
|
||||||
height: 42px;
|
height: 36px;
|
||||||
font-size: 22px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 41px;
|
line-height: 36px;
|
||||||
padding: 0 42px 0 16px;
|
padding: 0 36px 0 16px;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@ -940,19 +946,19 @@ i.mce-caret:before {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 42px;
|
width: 36px;
|
||||||
height: 42px;
|
height: 36px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wp-link-close:before {
|
#wp-link-close:before {
|
||||||
font: normal 20px/42px 'dashicons';
|
font: normal 20px/36px 'dashicons';
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
speak: none;
|
speak: none;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
width: 42px;
|
width: 36px;
|
||||||
height: 42px;
|
height: 36px;
|
||||||
content: '\f158';
|
content: '\f158';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -968,7 +974,7 @@ i.mce-caret:before {
|
|||||||
#wp-link-wrap.search-panel-visible #link-selector {
|
#wp-link-wrap.search-panel-visible #link-selector {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 42px;
|
top: 36px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 44px;
|
bottom: 44px;
|
||||||
@ -1150,6 +1156,10 @@ i.mce-caret:before {
|
|||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wp-link-cancel {
|
||||||
|
line-height: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
#wp-link-update {
|
#wp-link-update {
|
||||||
line-height: 23px;
|
line-height: 23px;
|
||||||
float: right;
|
float: right;
|
||||||
|
Loading…
Reference in New Issue
Block a user