wpLink: better structural and responsive styles, see #26952

git-svn-id: https://develop.svn.wordpress.org/trunk@27496 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-03-11 03:35:52 +00:00
parent a927982d0c
commit a186292eba

View File

@ -890,14 +890,12 @@ i.mce-caret:before {
display: none; display: none;
background-color: #fff; background-color: #fff;
width: 600px; width: 600px;
height: 250px;
overflow: hidden; overflow: hidden;
margin-left: -300px; margin-left: -300px;
margin-top: -125px;
position: fixed; position: fixed;
top: 30px; top: 50%;
top: calc(50% - 130px);
bottom: 30px;
bottom: calc(50% - 130px);
max-height: 260px;
left: 50%; left: 50%;
z-index: 100105; z-index: 100105;
} }
@ -921,9 +919,8 @@ i.mce-caret:before {
} }
#wp-link-wrap.search-panel-visible { #wp-link-wrap.search-panel-visible {
max-height: 500px; height: 500px;
top: calc(50% - 250px); margin-top: -250px;
bottom: calc(50% - 250px);
} }
#link-modal-title { #link-modal-title {
@ -968,7 +965,7 @@ i.mce-caret:before {
} }
#link-selector { #link-selector {
padding: 0 16px 52px; padding: 0 16px 50px;
} }
#wp-link-wrap.search-panel-visible #link-selector { #wp-link-wrap.search-panel-visible #link-selector {
@ -1007,7 +1004,7 @@ i.mce-caret:before {
} }
#wp-link #link-options { #wp-link #link-options {
padding: 10px 0 14px; padding: 8px 0 14px;
} }
#wp-link p.howto { #wp-link p.howto {
@ -1170,11 +1167,12 @@ i.mce-caret:before {
margin-bottom: 0; margin-bottom: 0;
} }
@media screen and ( max-width: 782px ), ( max-height: 440px ) { @media screen and ( max-width: 782px ), ( max-height: 520px ) {
#wp-link-wrap, #wp-link-wrap,
#wp-link-wrap.search-panel-visible { #wp-link-wrap.search-panel-visible {
width: auto; width: auto;
height: auto;
margin: 0; margin: 0;
top: 10px; top: 10px;
left: 10px; left: 10px;