Skip to content
This repository was archived by the owner on Aug 24, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "stylelint-config-wordpress",
"rules": {
"font-weight-notation": "named-where-possible"
}
}
2 changes: 1 addition & 1 deletion dev-lib
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"grunt-cli": "^1.2.0",
"grunt-contrib-qunit": "^1.2.0",
"qunitjs": "1.18.0",
"sinon": "^1.8.2"
"sinon": "^1.8.2",
"stylelint": "^7.10.1",
"stylelint-config-wordpress": "^11.0.0",
"stylelint-formatter-compact": "^0.1.0"
}
}
15 changes: 12 additions & 3 deletions wp-admin/css/widgets/media-widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
margin-left: 8px;
width: auto;
}

.media-widget-control:not(.selected) .media-widget-buttons .button,
.media-widget-buttons .button:first-child {
margin-left: 0;
Expand All @@ -38,19 +39,24 @@
.media-widget-control .media-widget-preview {
text-align: center;
}

.media-widget-control .media-widget-preview .notice {
text-align: initial;
}

.media-frame .media-widget-embed-notice p code,
.media-widget-control .notice p code {
padding: 0 3px 0 0;
}

.media-frame .media-widget-embed-notice {
margin-top: 16px;
}

.media-widget-control .media-widget-preview img {
max-width: 100%;
}

.media-widget-control .media-widget-preview .wp-video-shortcode {
background: #000;
}
Expand All @@ -76,15 +82,15 @@
display: inline-block;
min-height: 132px;
width: 100%;
background: black;
background: #000;
}

.media-widget-video-link .dashicons {
font: normal 60px/1 'dashicons';
font: normal 60px/1 dashicons;
position: relative;
width: 100%;
top: -90px;
color: white;
color: #fff;
text-decoration: none;
}

Expand All @@ -100,12 +106,15 @@
.wp-customizer div.mce-tooltip {
z-index: 500100 !important;
}

.wp-customizer .ui-autocomplete.wplink-autocomplete {
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
}

.wp-customizer #wp-link-backdrop {
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
}

.wp-customizer #wp-link-wrap {
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
}
Expand Down