Widget Customizer: Update icons to new Dashicons.
props melchoyce. see #27400. Built from https://develop.svn.wordpress.org/trunk@28005 git-svn-id: http://core.svn.wordpress.org/trunk@27835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eebf49c180
commit
382a5aa4c2
|
@ -170,9 +170,11 @@
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font: normal normal 20px/43px 'Genericons';
|
||||
font: normal 20px/1 'dashicons';
|
||||
text-align: center;
|
||||
text-indent: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.widget-reorder-nav span:hover,
|
||||
|
@ -182,15 +184,15 @@
|
|||
}
|
||||
|
||||
.move-widget:before {
|
||||
content: '\f442';
|
||||
content: '\f504';
|
||||
}
|
||||
|
||||
.move-widget-down:before {
|
||||
content: '\f431';
|
||||
content: '\f347';
|
||||
}
|
||||
|
||||
.move-widget-up:before {
|
||||
content: '\f432';
|
||||
content: '\f343';
|
||||
}
|
||||
|
||||
#customize-theme-controls .first-widget .move-widget-up,
|
||||
|
@ -238,13 +240,13 @@
|
|||
|
||||
#customize-theme-controls .widget-area-select li:before {
|
||||
display: none;
|
||||
content: '\f418';
|
||||
content: '\f147';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 12px;
|
||||
right: 10px;
|
||||
font-family: 'Genericons';
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
font: normal 20px/1 'dashicons';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
|
@ -315,6 +317,7 @@
|
|||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
body.adding-widget .add-new-widget,
|
||||
|
@ -418,18 +421,17 @@ body.adding-widget #customize-preview {
|
|||
}
|
||||
|
||||
|
||||
/** Widget Icon styling **
|
||||
|
||||
* No plurals in naming.
|
||||
* Ordered from lowest to highest specificity.
|
||||
|
||||
**/
|
||||
/**
|
||||
* Widget Icon styling
|
||||
* No plurals in naming.
|
||||
* Ordered from lowest to highest specificity.
|
||||
**/
|
||||
#available-widgets .widget-title {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#available-widgets .widget-title:before {
|
||||
content:"\f132";
|
||||
content: "\f132";
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
left: 100%;
|
||||
|
@ -437,14 +439,13 @@ body.adding-widget #customize-preview {
|
|||
width: 20px;
|
||||
height: 20px;
|
||||
color: #333;
|
||||
font: normal 20px/1 'dashicons', 'widgeticons';
|
||||
font: normal 20px/1 'dashicons';
|
||||
text-align: center;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* smiley */
|
||||
|
@ -606,6 +607,6 @@ body.adding-widget #customize-preview {
|
|||
padding: 9px 42px 11px 15px;
|
||||
}
|
||||
#customize-theme-controls .widget-area-select li:before {
|
||||
top: 6px;
|
||||
top: 8px;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -170,9 +170,11 @@
|
|||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font: normal normal 20px/43px 'Genericons';
|
||||
font: normal 20px/1 'dashicons';
|
||||
text-align: center;
|
||||
text-indent: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.widget-reorder-nav span:hover,
|
||||
|
@ -182,15 +184,15 @@
|
|||
}
|
||||
|
||||
.move-widget:before {
|
||||
content: '\f442';
|
||||
content: '\f504';
|
||||
}
|
||||
|
||||
.move-widget-down:before {
|
||||
content: '\f431';
|
||||
content: '\f347';
|
||||
}
|
||||
|
||||
.move-widget-up:before {
|
||||
content: '\f432';
|
||||
content: '\f343';
|
||||
}
|
||||
|
||||
#customize-theme-controls .first-widget .move-widget-up,
|
||||
|
@ -238,13 +240,13 @@
|
|||
|
||||
#customize-theme-controls .widget-area-select li:before {
|
||||
display: none;
|
||||
content: '\f418';
|
||||
content: '\f147';
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
top: 12px;
|
||||
left: 10px;
|
||||
font-family: 'Genericons';
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
font: normal 20px/1 'dashicons';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
|
@ -315,6 +317,7 @@
|
|||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
body.adding-widget .add-new-widget,
|
||||
|
@ -418,18 +421,17 @@ body.adding-widget #customize-preview {
|
|||
}
|
||||
|
||||
|
||||
/** Widget Icon styling **
|
||||
|
||||
* No plurals in naming.
|
||||
* Ordered from lowest to highest specificity.
|
||||
|
||||
**/
|
||||
/**
|
||||
* Widget Icon styling
|
||||
* No plurals in naming.
|
||||
* Ordered from lowest to highest specificity.
|
||||
**/
|
||||
#available-widgets .widget-title {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#available-widgets .widget-title:before {
|
||||
content:"\f132";
|
||||
content: "\f132";
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
right: 100%;
|
||||
|
@ -437,14 +439,13 @@ body.adding-widget #customize-preview {
|
|||
width: 20px;
|
||||
height: 20px;
|
||||
color: #333;
|
||||
font: normal 20px/1 'dashicons', 'widgeticons';
|
||||
font: normal 20px/1 'dashicons';
|
||||
text-align: center;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* smiley */
|
||||
|
@ -606,6 +607,6 @@ body.adding-widget #customize-preview {
|
|||
padding: 9px 15px 11px 42px;
|
||||
}
|
||||
#customize-theme-controls .widget-area-select li:before {
|
||||
top: 6px;
|
||||
top: 8px;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue