diff --git a/build/wp-admin/css/about-rtl.css b/build/wp-admin/css/about-rtl.css deleted file mode 100644 index 4485771f6a..0000000000 --- a/build/wp-admin/css/about-rtl.css +++ /dev/null @@ -1,1495 +0,0 @@ -/*! This file is auto-generated */ -/*------------------------------------------------------------------------------ - 22.0 - About Pages - - 1.0 Global: About, Credits, Freedoms, Privacy - 1.1 Layout - 1.2 Typography & Elements - 1.3 Header - 2.0 Credits Page - 3.0 Freedoms Page - 4.0 Privacy Page - x.2.0 Legacy About Styles: Global - x.2.1 Typography - x.2.2 Structure - x.2.3 Point Releases - x.3.0 Legacy About Styles: About Page - x.3.1 Typography - x.3.2 Structure - x.4.0 Legacy About Styles: Credits & Freedoms Pages - x.5.0 Legacy About Styles: Media Queries -------------------------------------------------------------------------------*/ - -.about__container { - /* Section backgrounds */ - --background: #274acd; - --subtle-background: #eff2ff; - - /* Main text color */ - --text: #000; - --text-light: #fff; - - /* Accent colors: used in header, on special classes. */ - --accent-1: #3858e9; /* Link color, credit image overlay */ - --accent-2: #fffcb5; /* Accent background */ - - /* Navigation colors. */ - --nav-background: #fff; - --nav-border: transparent; - --nav-color: var(--text); - --nav-current: var(--accent-1); - - --gap: 2rem; -} - -/*------------------------------------------------------------------------------ - 1.0 - Global: About, Credits, Freedoms, Privacy -------------------------------------------------------------------------------*/ - -.about-php, -.credits-php, -.freedoms-php, -.privacy-php { - background: #fff; -} - -.about-php #wpcontent, -.credits-php #wpcontent, -.freedoms-php #wpcontent, -.privacy-php #wpcontent { - background: #fff; - padding: 0 24px; -} - -@media screen and (max-width: 782px) { - .about-php.auto-fold #wpcontent, - .credits-php.auto-fold #wpcontent, - .freedoms-php.auto-fold #wpcontent, - .privacy-php.auto-fold #wpcontent { - padding-right: 24px; - } -} - -.about__container { - max-width: 1000px; - margin: 24px auto; - clear: both; -} - -.about__container .alignleft { - float: right; -} - -.about__container .alignright { - float: left; -} - -.about__container .aligncenter { - text-align: center; -} - -.about__container .is-vertically-aligned-top { - align-self: start; -} - -.about__container .is-vertically-aligned-center { - align-self: center; -} - -.about__container .is-vertically-aligned-bottom { - align-self: end; -} - -.about__section { - background: transparent; - clear: both; -} - -.about__container .has-accent-background-color { - background-color: var(--accent-2); -} - -.about__container .has-transparent-background-color { - background-color: transparent; -} - -.about__container .has-accent-color { - color: var(--accent-2); -} - -.about__container .has-border { - border: 3px solid currentColor; -} - -.about__container .has-subtle-background-color { - background-color: var(--subtle-background); -} - -.about__container .has-background-image { - background-size: contain; - background-repeat: no-repeat; - background-position: center; -} - -/* 1.1 - Layout */ - -.about__section { - margin: 0; -} - -.about__section .column:not(.is-edge-to-edge) { - padding: var(--gap); -} - -.about__section + .about__section .is-section-header { - padding-bottom: var(--gap); -} - -.about__section .column[class*="background-color"]:not(.is-edge-to-edge), -.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge), -.about__section .column.has-border:not(.is-edge-to-edge) { - padding-top: var(--gap); - padding-bottom: var(--gap); -} - -.about__section .column p:first-of-type { - margin-top: 0; -} - -.about__section .column p:last-of-type { - margin-bottom: 0; -} - -.about__section .has-text-columns { - columns: 2; - column-gap: calc(var(--gap) * 2); -} - -.about__section .is-section-header { - margin-bottom: 0; - padding: var(--gap) var(--gap) 0; -} - -.about__section .is-section-header p:last-child { - margin-bottom: 0; -} - -/* Section header is alone in a container. */ -.about__section .is-section-header:first-child:last-child { - padding: 0; -} - -.about__section.is-feature { - padding: var(--gap); -} - -.about__section.is-feature p { - margin: 0; -} - -.about__section.is-feature p + p { - margin-top: calc(var(--gap) / 2); -} - -.about__section.has-1-column { - margin-right: auto; - margin-left: auto; - max-width: 36em; -} - -.about__section.has-2-columns, -.about__section.has-3-columns, -.about__section.has-4-columns, -.about__section.has-overlap-style { - display: grid; -} - -.about__section.has-gutters { - gap: var(--gap); - margin-bottom: var(--gap); -} - -.about__section.has-2-columns { - grid-template-columns: 1fr 1fr; -} - -.about__section.has-2-columns.is-wider-right { - grid-template-columns: 2fr 3fr; -} - -.about__section.has-2-columns.is-wider-left { - grid-template-columns: 3fr 2fr; -} - -.about__section.has-2-columns .is-section-header { - grid-column-start: 1; - -ms-grid-column-span: 2; - grid-column-end: span 2; -} - -.about__section.has-2-columns .column:nth-of-type(2n+1) { - grid-column-start: 1; -} - -.about__section.has-2-columns .column:nth-of-type(2n) { - grid-column-start: 2; -} - -.about__section.has-3-columns { - grid-template-columns: repeat(3, 1fr); -} - -.about__section.has-3-columns .is-section-header { - grid-column-start: 1; - -ms-grid-column-span: 3; - grid-column-end: span 3; -} - -.about__section.has-3-columns .column:nth-of-type(3n+1) { - grid-column-start: 1; -} - -.about__section.has-3-columns .column:nth-of-type(3n+2) { - grid-column-start: 2; -} - -.about__section.has-3-columns .column:nth-of-type(3n) { - grid-column-start: 3; -} - -.about__section.has-4-columns { - grid-template-columns: repeat(4, 1fr); -} - -.about__section.has-4-columns .is-section-header { - grid-column-start: 1; - -ms-grid-column-span: 4; - grid-column-end: span 4; -} - -.about__section.has-4-columns .column:nth-of-type(4n+1) { - grid-column-start: 1; -} - -.about__section.has-4-columns .column:nth-of-type(4n+2) { - grid-column-start: 2; -} - -.about__section.has-4-columns .column:nth-of-type(4n+3) { - grid-column-start: 3; -} - -.about__section.has-4-columns .column:nth-of-type(4n) { - grid-column-start: 4; -} - -/* Any columns following a section header need to be expicitly put into the second row, for IE support. */ -.about__section.has-2-columns .is-section-header ~ .column, -.about__section.has-3-columns .is-section-header ~ .column, -.about__section.has-4-columns .is-section-header ~ .column, -.about__section.has-overlap-style .is-section-header ~ .column { - grid-row-start: 2; -} - -.about__section.has-overlap-style { - grid-template-columns: repeat(7, 1fr); -} - -.about__section.has-overlap-style .column { - grid-row-start: 1; -} - -.about__section.has-overlap-style .column:nth-of-type(2n+1) { - grid-column-start: 2; - -ms-grid-column-span: 3; - grid-column-end: span 3; -} - -.about__section.has-overlap-style .column:nth-of-type(2n) { - grid-column-start: 4; - -ms-grid-column-span: 3; - grid-column-end: span 3; -} - -.about__section.has-overlap-style .column.is-top-layer { - z-index: 1; -} - -@media screen and (max-width: 782px) { - .about__section.has-2-columns.is-wider-right, - .about__section.has-2-columns.is-wider-left, - .about__section.has-3-columns { - display: block; - margin-bottom: calc(var(--gap) / 2); - } - - .about__section .column:not(.is-edge-to-edge) { - padding-top: var(--gap); - padding-bottom: var(--gap); - } - - .about__section.has-2-columns.has-gutters.is-wider-right, - .about__section.has-2-columns.has-gutters.is-wider-left, - .about__section.has-3-columns.has-gutters { - margin-bottom: calc(var(--gap) * 2); - } - - .about__section.has-2-columns.has-gutters .column, - .about__section.has-2-columns.has-gutters .column, - .about__section.has-3-columns.has-gutters .column { - margin-bottom: var(--gap); - } - - .about__section.has-2-columns.has-gutters .column:last-child, - .about__section.has-2-columns.has-gutters .column:last-child, - .about__section.has-3-columns.has-gutters .column:last-child { - margin-bottom: 0; - } - - .about__section.has-3-columns .column:nth-of-type(n) { - padding-top: calc(var(--gap) / 2); - padding-bottom: calc(var(--gap) / 2); - } - - .about__section.has-4-columns { - grid-template-columns: repeat(2, 1fr); - } - - .about__section.has-4-columns .column:nth-of-type(2n+1) { - grid-column-start: 1; - } - - .about__section.has-4-columns .column:nth-of-type(2n) { - grid-column-start: 2; - } - - .about__section.has-4-columns .column:nth-of-type(4n+3), - .about__section.has-4-columns .column:nth-of-type(4n) { - grid-row-start: 2; - } - - .about__section.has-4-columns .is-section-header { - -ms-grid-column-span: 2; - grid-column-end: span 2; - } - - .about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3), - .about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) { - grid-row-start: 3; - } - - .about__section.has-overlap-style { - grid-template-columns: 1fr; - } - - /* At this size, the two columns fully overlap */ - .about__section.has-overlap-style .column.column { - grid-column-start: 1; - -ms-grid-column-span: 1; - grid-column-end: 2; - grid-row-start: 1; - -ms-grid-row-span: 1; - grid-row-end: 2; - } -} - -@media screen and (max-width: 600px) { - .about__section.has-2-columns { - display: block; - margin-bottom: var(--gap); - } - - .about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) { - padding-top: calc(var(--gap) / 2); - padding-bottom: calc(var(--gap) / 2); - } - - .about__section.has-2-columns.has-gutters { - margin-bottom: calc(var(--gap) * 2); - } - - .about__section.has-2-columns.has-gutters .column { - margin-bottom: var(--gap); - } - - .about__section.has-2-columns.has-gutters .column:last-child { - margin-bottom: 0; - } -} - -@media screen and (max-width: 480px) { - .about__section.is-feature .column { - padding: 0; - } - - .about__section.has-4-columns { - display: block; - padding-bottom: calc(var(--gap) / 2); - } - - .about__section.has-4-columns.has-gutters .column { - margin-bottom: calc(var(--gap) / 2); - } - - .about__section.has-4-columns.has-gutters .column:last-child { - margin-bottom: 0; - } - - .about__section.has-4-columns .column:nth-of-type(n) { - padding-top: calc(var(--gap) / 2); - padding-bottom: calc(var(--gap) / 2); - } -} - -/* 1.2 - Typography & Elements */ - -.about__container { - line-height: 1.4; - color: var(--text); -} - -.about__container h1 { - padding: 0; - color: inherit; -} - -.about__container h1, -.about__container h2, -.about__container h3.is-larger-heading { - margin-top: 0; - margin-bottom: 0.5em; - font-size: 2rem; - font-weight: 700; - line-height: 1.16; -} - -.about__container h3, -.about__container h1.is-smaller-heading, -.about__container h2.is-smaller-heading { - margin-top: 0; - font-size: 1.625rem; - font-weight: 700; - line-height: 1.4; -} - -.about__container h4, -.about__container h3.is-smaller-heading { - margin-top: 0; - font-size: 1.125rem; - font-weight: 700; - line-height: 1.6; -} - -.about__container p { - font-size: inherit; - line-height: inherit; -} - -.about__container p.is-subheading { - margin-top: 0; - font-size: 1.5rem; - font-weight: 300; - line-height: 160%; -} - -.about__section a { - color: var(--accent-1); - text-decoration: underline; -} - -.about__section a:hover, -.about__section a:active, -.about__section a:focus { - color: var(--accent-1); - text-decoration: none; -} - -.wp-credits-list a { - text-decoration: none; -} - -.wp-credits-list a:hover, -.wp-credits-list a:active, -.wp-credits-list a:focus { - text-decoration: underline; -} - -.about__container ul { - list-style: disc; - margin-right: calc(var(--gap) / 2); -} - -.about__container li { - margin-bottom: 0.5rem; -} - -.about__container img { - margin: 0; - max-width: 100%; - vertical-align: middle; -} - -.about__container .about__image { - margin: 0; -} - -.about__container .about__image img { - max-width: 100%; - width: 100%; - height: auto; -} - -.about__container .about__image figcaption { - margin-top: 0.5em; - text-align: center; -} - -.about__container .about__image .wp-video { - margin-right: auto; - margin-left: auto; -} - -.about__container .about__image + h3 { - margin-top: 1.5em; -} - -.about__container .column .about__image { - margin-bottom: calc(var(--gap) / 2); -} - -.about__container hr { - margin: 0; - height: var(--gap); - border: none; - border-top: 4px solid #d9d9d9; -} - -.about__container hr.is-small { - height: calc(var(--gap) / 4); -} - -.about__container hr.is-large { - height: calc(var(--gap) * 2); - margin: calc(var(--gap) / 2) auto; -} - -.about__container div.updated, -.about__container div.error, -.about__container .notice { - display: none !important; -} - -.about__section { - font-size: 1.125rem; - line-height: 1.55; -} - -.about__section.is-feature { - font-size: 1.6em; -} - -@media screen and (max-width: 480px) { - .about__section.is-feature { - font-size: 1.4em; - } - - .about__container h1, - .about__container h2, - .about__container h3.is-larger-heading { - font-size: 2em; - } -} - -/* 1.3 - Header */ - -.about__header { - --about-header-image-width: 780px; - --about-header-image-height: 550px; - --about-header-bg-width: var(--about-header-image-width); - --about-header-bg-height: var(--about-header-image-height); - --about-header-bg-offset-block: 0; - - position: relative; - margin-bottom: var(--gap); - padding-top: 0; - color: var(--text-light); - background: var(--background) url('../images/about-header-about.svg?ver=6.1') no-repeat; - background-size: var(--about-header-bg-width) var(--about-header-bg-height); - background-position: center top var(--about-header-bg-offset-block); -} - -.credits-php .about__header { - --about-header-image-width: 863px; - --about-header-image-height: 550px; - - background-image: url('../images/about-header-credits.svg?ver=6.1'); -} - -.freedoms-php .about__header { - --about-header-image-width: 782px; - --about-header-image-height: 510px; - - background-image: url('../images/about-header-freedoms.svg?ver=6.1'); -} - -.privacy-php .about__header { - --about-header-image-width: 1005px; - --about-header-image-height: 500px; - --about-header-bg-offset-block: calc(var(--gap) * -2); - - background-image: url('../images/about-header-privacy.svg?ver=6.1'); -} - -.about__header-image { - margin: 0 var(--gap) 3em; -} - -.about__header-title { - box-sizing: border-box; - margin: 0 var(--gap); - padding: 9rem 0 0; - text-align: center; -} - -.about__header-title h1 { - margin: 0 0 1rem; - padding: 0; - /* Fluid font size scales on browser size 960px - 1200px. */ - font-size: clamp(3rem, 20vw - 9rem, 6rem); - line-height: 1; - font-weight: 400; -} - -.credits-php .about__header-title h1, -.privacy-php .about__header-title h1, -.freedoms-php .about__header-title h1 { - /* Fluid font size scales on browser size 960px - 1200px. */ - font-size: clamp(3rem, 10vw - 3rem, 4.5rem); -} - -.about__header-text { - box-sizing: border-box; - max-width: 22em; - margin: 0 auto 10rem; - padding: 0; - font-size: 1.6rem; - line-height: 1.15; - text-align: center; -} - -.credits-php .about__header-text { - margin-bottom: 9rem; -} - -.about__header-navigation { - position: relative; - z-index: 1; - display: flex; - justify-content: center; - padding-top: 0; - background: var(--nav-background); - color: var(--nav-color); - border-bottom: 3px solid var(--nav-border); -} - -.about__header-navigation .nav-tab { - margin-right: 0; - padding: calc(var(--gap) * 0.75) var(--gap); - float: none; - font-size: 1.4em; - line-height: 1; - border-width: 0 0 3px; - border-style: solid; - border-color: transparent; - background: transparent; - color: inherit; -} - -.about__header-navigation .nav-tab:hover, -.about__header-navigation .nav-tab:active { - background-color: var(--nav-current); - color: var(--text-light); -} - -.about__header-navigation .nav-tab-active { - margin-bottom: -3px; - color: var(--nav-current); - border-width: 0 0 6px; - border-color: var(--nav-current); -} - -.about__header-navigation .nav-tab-active:hover, -.about__header-navigation .nav-tab-active:active { - background-color: var(--nav-current); - color: var(--text-light); - border-color: var(--nav-current); -} - -@media screen and (max-width: 960px) { - .about__header { - --about-header-bg-width: calc(var(--about-header-image-width) * 0.85); - --about-header-bg-height: calc(var(--about-header-image-height) * 0.85); - } - - .privacy-php .about__header { - --about-header-bg-offset-block: 0; - } - - .about__header-title h1 { - /* Fluid font size scales on browser size 600px - 960px. */ - font-size: clamp(3rem, 13.33vw - 2rem, 6rem); - } - - .credits-php .about__header-title h1, - .privacy-php .about__header-title h1, - .freedoms-php .about__header-title h1 { - /* Fluid font size scales on browser size 600px - 960px. */ - font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem); - } -} - -@media screen and (max-width: 782px) { - .about__container .about__header-text { - font-size: 1.4em; - } - - .about__header-container { - display: block; - } - - .about__header-title, - .about__header-image { - margin-right: calc(var(--gap) / 2); - margin-left: calc(var(--gap) / 2); - } - - .about__header-text { - margin-top: 0; - } - - .about__header-navigation .nav-tab { - margin-top: 0; - margin-left: 0; - padding-right: calc(var(--gap) / 2); - padding-left: calc(var(--gap) / 2); - } -} - -@media screen and (max-width: 600px) { - .about__header { - --about-header-bg-width: calc(var(--about-header-image-width) * 0.75); - --about-header-bg-height: calc(var(--about-header-image-height) * 0.75); - } -} - -@media screen and (max-width: 480px) { - .about__header, - .credits-php .about__header, - .privacy-php .about__header, - .freedoms-php .about__header { - background-image: none; - } - - .about__header-title p { - font-size: 2.4em; - } - - .about__header-title { - padding-top: 2rem; - } - - .about__header-text, - .credits-php .about__header-text { - margin-right: calc(var(--gap) / 2); - margin-left: calc(var(--gap) / 2); - margin-bottom: 2rem; - } - - .about__header-navigation { - display: block; - } - - .about__header-navigation .nav-tab { - display: block; - margin-bottom: 0; - padding: calc(var(--gap) / 2); - border-right-width: 6px; - border-bottom: none; - } - - .about__header-navigation .nav-tab-active { - border-bottom: none; - border-right-width: 6px; - } -} - - -/*------------------------------------------------------------------------------ - 2.0 - Credits Page -------------------------------------------------------------------------------*/ - -.about__section .wp-people-group-title { - margin-bottom: calc(var(--gap) * 2); - text-align: center; - -} - -.about__section .wp-people-group { - margin: 0; - display: flex; - flex-wrap: wrap; -} - -.about__section .wp-person { - display: inline-block; - vertical-align: top; - box-sizing: border-box; - margin-bottom: var(--gap); - width: 25%; - text-align: center; -} - -.about__section .compact .wp-person { - height: auto; - width: 20%; -} - -.about__section .wp-person-avatar { - display: block; - margin: 0 auto calc(var(--gap) / 2); - width: 140px; - height: 140px; - border-radius: 100%; - overflow: hidden; - background: var(--accent-1); -} - -.about__section .wp-person .gravatar { - width: 140px; - height: 140px; - filter: grayscale(100%); - mix-blend-mode: screen; -} - -.about__section .compact .wp-person-avatar, -.about__section .compact .wp-person .gravatar { - width: 80px; - height: 80px; -} - -.about__section .wp-person .web { - font-size: 1.4em; - font-weight: 600; - text-decoration: none; -} - -.about__section .wp-person .web:hover { - text-decoration: underline; -} - -.about__section .compact .wp-person .web { - font-size: 1.2em; -} - -.about__section .wp-person .title { - display: block; - margin-top: 0.5em; -} - -@media screen and (max-width: 782px) { - .about__section .wp-person { - width: 33%; - } - - .about__section .compact .wp-person { - width: 25%; - } - - .about__section .wp-person-avatar, - .about__section .wp-person .gravatar { - width: 120px; - height: 120px; - } -} - -@media screen and (max-width: 600px) { - .about__section .wp-person { - width: 50%; - } - - .about__section .compact .wp-person { - width: 33%; - } - - .about__section .wp-person .web { - font-size: 1.2em; - } -} - -@media screen and (max-width: 480px) { - .about__section .wp-person { - min-width: 100%; - } - - .about__section .wp-person .web { - font-size: 1em; - } - - .about__section .compact .wp-person .web { - font-size: 1em; - } -} - - -/*------------------------------------------------------------------------------ - 3.0 - Freedoms Page -------------------------------------------------------------------------------*/ - -.about__section .column .freedom-image { - margin-bottom: var(--gap); - max-height: 180px; -} - - -/*------------------------------------------------------------------------------ - 4.0 - Privacy Page -------------------------------------------------------------------------------*/ - -.about__section .column .privacy-image { - display: block; - margin-right: auto; - margin-left: auto; - max-width: 25rem; -} - - -/*------------------------------------------------------------------------------ - x.2.0 - Legacy About Styles: Global -------------------------------------------------------------------------------*/ - -.about-wrap { - position: relative; - margin: 25px 20px 0 40px; - max-width: 1050px; /* readability */ - font-size: 15px; -} - -.about-wrap.full-width-layout { - max-width: 1200px; -} - -.about-wrap-content { - max-width: 1050px; -} - -.about-wrap div.updated, -.about-wrap div.error, -.about-wrap .notice { - display: none !important; -} - -.about-wrap hr { - border: 0; - height: 0; - margin: 3em 0 0; - border-top: 1px solid rgba(0, 0, 0, 0.1); -} - -.about-wrap img { - margin: 0; - width: 100%; - height: auto; - vertical-align: middle; -} - -.about-wrap .inline-svg img { - max-width: 100%; - width: auto; - height: auto; -} - -.about-wrap video { - margin: 1.5em auto; -} - -/* WordPress Version Badge */ - -.wp-badge { - background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat; - background-position: center 25px; - background-size: 80px 80px; - color: #fff; - font-size: 14px; - text-align: center; - font-weight: 600; - margin: 5px 0 0; - padding-top: 120px; - height: 40px; - display: inline-block; - width: 140px; - text-rendering: optimizeLegibility; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); -} - -.svg .wp-badge { - background-image: url(../images/wordpress-logo-white.svg?ver=20160308); -} - -.about-wrap .wp-badge { - position: absolute; - top: 0; - left: 0; -} - -/* Tabs */ - -.about-wrap .nav-tab { - padding-left: 15px; - padding-right: 15px; - font-size: 18px; - line-height: 1.33333333; -} - -/* x.2.1 - Typography */ - -.about-wrap h1 { - margin: 0.2em 0 0 200px; - padding: 0; - color: #32373c; - line-height: 1.2; - font-size: 2.8em; - font-weight: 400; -} - -.about-wrap h2 { - margin: 40px 0 0.6em; - font-size: 2.7em; - line-height: 1.3; - font-weight: 300; - text-align: center; -} - -.about-wrap h3 { - margin: 1.25em 0 0.6em; - font-size: 1.4em; - line-height: 1.5; -} - -.about-wrap h4 { - font-size: 16px; - color: #23282d; -} - -.about-wrap p { - line-height: 1.5; - font-size: 16px; -} - -.about-wrap code, -.about-wrap ol li p { - font-size: 14px; - font-weight: 400; -} - -.about-wrap figcaption { - font-size: 13px; - text-align: center; - color: white; - text-overflow: ellipsis; -} - -.about-wrap .about-description, -.about-wrap .about-text { - margin-top: 1.4em; - font-weight: 400; - line-height: 1.6; - font-size: 19px; -} - -.about-wrap .about-text { - margin: 1em 0 1em 200px; - color: #555d66; -} - -/* x.2.2 - Structure */ - -.about-wrap .has-1-columns, -.about-wrap .has-2-columns, -.about-wrap .has-3-columns, -.about-wrap .has-4-columns { - display: grid; - max-width: 800px; - margin-top: 40px; - margin-right: auto; - margin-left: auto; -} - -.about-wrap .column { - margin-left: 20px; - margin-right: 20px; -} - -.about-wrap .is-wide { - max-width: 760px; -} - -.about-wrap .is-fullwidth { - max-width: 100%; -} - -.about-wrap .has-1-columns { - display: block; - max-width: 680px; - margin: 0 auto 40px; -} - -.about-wrap .has-2-columns { - grid-template-columns: 1fr 1fr; -} - -.about-wrap .has-2-columns .column:nth-of-type(2n+1) { - grid-column-start: 1; -} - -.about-wrap .has-2-columns .column:nth-of-type(2n) { - grid-column-start: 2; -} - -.about-wrap .has-2-columns.is-wider-right { - grid-template-columns: 1fr 2fr; -} - -.about-wrap .has-2-columns.is-wider-left { - grid-template-columns: 2fr 1fr; -} - -.about-wrap .has-3-columns { - grid-template-columns: repeat(3, 1fr); -} - -.about-wrap .has-3-columns .column:nth-of-type(3n+1) { - grid-column-start: 1; -} - -.about-wrap .has-3-columns .column:nth-of-type(3n+2) { - grid-column-start: 2; -} - -.about-wrap .has-3-columns .column:nth-of-type(3n) { - grid-column-start: 3; -} - -.about-wrap .has-4-columns { - grid-template-columns: repeat(4, 1fr); -} - -.about-wrap .has-4-columns .column:nth-of-type(4n+1) { - grid-column-start: 1; -} - -.about-wrap .has-4-columns .column:nth-of-type(4n+2) { - grid-column-start: 2; -} - -.about-wrap .has-4-columns .column:nth-of-type(4n+3) { - grid-column-start: 3; -} - -.about-wrap .has-4-columns .column:nth-of-type(4n) { - grid-column-start: 4; -} - -.about-wrap .column :first-child { - margin-top: 0; -} - -.about-wrap .aligncenter { - text-align: center; -} - -.about-wrap .alignleft { - float: right; - margin-left: 40px; -} - -.about-wrap .alignright { - float: left; - margin-right: 40px; -} - -.about-wrap .is-vertically-aligned-top { - align-self: start; -} - -.about-wrap .is-vertically-aligned-center { - align-self: center; -} - -.about-wrap .is-vertically-aligned-bottom { - align-self: end; -} - -/* x.2.3 - Point Releases */ - -.about-wrap .point-releases { - margin-top: 5px; - border-bottom: 1px solid #ddd; -} - -.about-wrap .changelog { - margin-bottom: 40px; -} - -.about-wrap .changelog.point-releases h3 { - padding-top: 35px; -} - -.about-wrap .changelog.point-releases h3:first-child { - padding-top: 7px; -} - -.about-wrap .changelog.feature-section .col { - margin-top: 40px; -} - -/*------------------------------------------------------------------------------ - x.3.0 - Legacy About Styles: About Page -------------------------------------------------------------------------------*/ - -/* x.3.1 - Typography */ - -.about-wrap .lead-description { - font-size: 1.5em; - text-align: center; -} - -.about-wrap .feature-section p { - margin-top: 0.6em; -} - -/* x.3.2 - Structure */ - -.about-wrap .headline-feature { - margin: 0 auto 40px; - max-width: 680px; -} - -.about-wrap .headline-feature h2 { - margin: 50px 0 0; -} - -.about-wrap .headline-feature img { - max-width: 600px; - width: 100%; -} - -/* Go to Dashboard Home link */ - -.about-wrap .return-to-dashboard { - margin: 30px -5px 0 0; - font-size: 14px; - font-weight: 600; -} - -.about-wrap .return-to-dashboard a { - text-decoration: none; - padding: 0 5px; -} - -/*------------------------------------------------------------------------------ - x.4.0 - Legacy About Styles: Credits & Freedoms Pages -------------------------------------------------------------------------------*/ - -/* Credits */ - -.about-wrap h2.wp-people-group { - margin: 2.6em 0 1.33em; - padding: 0; - font-size: 16px; - line-height: inherit; - font-weight: 600; - text-align: right; -} - -.about-wrap .wp-people-group { - padding: 0 5px; - margin: 0 -5px 0 -15px; -} - -.about-wrap .compact { - margin-bottom: 0; -} - -.about-wrap .wp-person { - display: inline-block; - vertical-align: top; - margin-left: 10px; - padding-bottom: 15px; - height: 70px; - width: 280px; -} - -.about-wrap .compact .wp-person { - height: auto; - width: 180px; - padding-bottom: 0; - margin-bottom: 0; -} - -.about-wrap .wp-person .gravatar { - float: right; - margin: 0 0 10px 10px; - padding: 1px; - width: 60px; - height: 60px; -} - -.about-wrap .compact .wp-person .gravatar { - width: 30px; - height: 30px; -} - -.about-wrap .wp-person .web { - margin: 6px 0 2px; - font-size: 16px; - font-weight: 400; - line-height: 2; - text-decoration: none; -} - -.about-wrap .wp-person .title { - display: block; -} - -.about-wrap #wp-people-group-validators + p.wp-credits-list { - margin-top: 0; -} - -.about-wrap p.wp-credits-list a { - white-space: nowrap; -} - -/* Freedoms */ - -.freedoms-php .about-wrap ol { - margin: 40px 60px; -} - -.freedoms-php .about-wrap ol li { - list-style-type: decimal; - font-weight: 600; -} - -.freedoms-php .about-wrap ol p { - font-weight: 400; - margin: 0.6em 0; -} - -.freedoms-php .column .freedoms-image { - background-image: url('../images/freedoms.png'); - background-size: 100%; - padding-top: 100%; -} - -.freedoms-php .column:nth-of-type(2) .freedoms-image { - background-position: 100% 34%; -} - -.freedoms-php .column:nth-of-type(3) .freedoms-image { - background-position: 100% 66%; -} - -.freedoms-php .column:nth-of-type(4) .freedoms-image { - background-position: 100% 100%; -} - -/*------------------------------------------------------------------------------ - x.5.0 - Legacy About Styles: Media Queries -------------------------------------------------------------------------------*/ - -@media screen and (max-width: 782px) { - .about-wrap .has-3-columns, - .about-wrap .has-4-columns { - grid-template-columns: 1fr 1fr; - } - - .about-wrap .has-3-columns .column:nth-of-type(3n+1), - .about-wrap .has-4-columns .column:nth-of-type(4n+1) { - grid-column-start: 1; - grid-row-start: 1; - } - - .about-wrap .has-3-columns .column:nth-of-type(3n+2), - .about-wrap .has-4-columns .column:nth-of-type(4n+2) { - grid-column-start: 2; - grid-row-start: 1; - } - - .about-wrap .has-3-columns .column:nth-of-type(3n), - .about-wrap .has-4-columns .column:nth-of-type(4n+3) { - grid-column-start: 1; - grid-row-start: 2; - } - - .about-wrap .has-4-columns .column:nth-of-type(4n) { - grid-column-start: 2; - grid-row-start: 2; - } -} - -@media screen and (max-width: 600px) { - .about-wrap .has-2-columns, - .about-wrap .has-3-columns, - .about-wrap .has-4-columns { - display: block; - } - - .about-wrap :not(.is-wider-right):not(.is-wider-left) .column { - margin-left: 0; - margin-right: 0; - } - - .about-wrap .has-2-columns.is-wider-right, - .about-wrap .has-2-columns.is-wider-left { - display: grid; - } -} - -@media only screen and (max-width: 500px) { - .about-wrap { - margin-left: 20px; - margin-right: 10px; - } - - .about-wrap h1, - .about-wrap .about-text { - margin-left: 0; - } - - .about-wrap .about-text { - margin-bottom: 0.25em; - } - - .about-wrap .wp-badge { - position: relative; - margin-bottom: 1.5em; - width: 100%; - } -} - -@media only screen and (max-width: 480px) { - .about-wrap .has-2-columns.is-wider-right, - .about-wrap .has-2-columns.is-wider-left { - display: block; - } - - .about-wrap .column { - margin-left: 0; - margin-right: 0; - } - - .about-wrap .has-2-columns.is-wider-right img, - .about-wrap .has-2-columns.is-wider-left img { - max-width: 160px; - } -} diff --git a/build/wp-admin/css/about-rtl.min.css b/build/wp-admin/css/about-rtl.min.css deleted file mode 100644 index 86f4f0e742..0000000000 --- a/build/wp-admin/css/about-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.about__container{--background:#274acd;--subtle-background:#eff2ff;--text:#000;--text-light:#fff;--accent-1:#3858e9;--accent-2:#fffcb5;--nav-background:#fff;--nav-border:transparent;--nav-color:var(--text);--nav-current:var(--accent-1);--gap:2rem}.about-php,.credits-php,.freedoms-php,.privacy-php{background:#fff}.about-php #wpcontent,.credits-php #wpcontent,.freedoms-php #wpcontent,.privacy-php #wpcontent{background:#fff;padding:0 24px}@media screen and (max-width:782px){.about-php.auto-fold #wpcontent,.credits-php.auto-fold #wpcontent,.freedoms-php.auto-fold #wpcontent,.privacy-php.auto-fold #wpcontent{padding-right:24px}}.about__container{max-width:1000px;margin:24px auto;clear:both}.about__container .alignleft{float:right}.about__container .alignright{float:left}.about__container .aligncenter{text-align:center}.about__container .is-vertically-aligned-top{align-self:start}.about__container .is-vertically-aligned-center{align-self:center}.about__container .is-vertically-aligned-bottom{align-self:end}.about__section{background:0 0;clear:both}.about__container .has-accent-background-color{background-color:var(--accent-2)}.about__container .has-transparent-background-color{background-color:transparent}.about__container .has-accent-color{color:var(--accent-2)}.about__container .has-border{border:3px solid currentColor}.about__container .has-subtle-background-color{background-color:var(--subtle-background)}.about__container .has-background-image{background-size:contain;background-repeat:no-repeat;background-position:center}.about__section{margin:0}.about__section .column:not(.is-edge-to-edge){padding:var(--gap)}.about__section+.about__section .is-section-header{padding-bottom:var(--gap)}.about__section .column.has-border:not(.is-edge-to-edge),.about__section .column[class*=background-color]:not(.is-edge-to-edge),.about__section:where([class*=background-color]) .column:not(.is-edge-to-edge){padding-top:var(--gap);padding-bottom:var(--gap)}.about__section .column p:first-of-type{margin-top:0}.about__section .column p:last-of-type{margin-bottom:0}.about__section .has-text-columns{columns:2;column-gap:calc(var(--gap) * 2)}.about__section .is-section-header{margin-bottom:0;padding:var(--gap) var(--gap) 0}.about__section .is-section-header p:last-child{margin-bottom:0}.about__section .is-section-header:first-child:last-child{padding:0}.about__section.is-feature{padding:var(--gap)}.about__section.is-feature p{margin:0}.about__section.is-feature p+p{margin-top:calc(var(--gap)/ 2)}.about__section.has-1-column{margin-right:auto;margin-left:auto;max-width:36em}.about__section.has-2-columns,.about__section.has-3-columns,.about__section.has-4-columns,.about__section.has-overlap-style{display:grid}.about__section.has-gutters{gap:var(--gap);margin-bottom:var(--gap)}.about__section.has-2-columns{grid-template-columns:1fr 1fr}.about__section.has-2-columns.is-wider-right{grid-template-columns:2fr 3fr}.about__section.has-2-columns.is-wider-left{grid-template-columns:3fr 2fr}.about__section.has-2-columns .is-section-header{grid-column-start:1;-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-2-columns .column:nth-of-type(2n+1){grid-column-start:1}.about__section.has-2-columns .column:nth-of-type(2n){grid-column-start:2}.about__section.has-3-columns{grid-template-columns:repeat(3,1fr)}.about__section.has-3-columns .is-section-header{grid-column-start:1;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-3-columns .column:nth-of-type(3n+1){grid-column-start:1}.about__section.has-3-columns .column:nth-of-type(3n+2){grid-column-start:2}.about__section.has-3-columns .column:nth-of-type(3n){grid-column-start:3}.about__section.has-4-columns{grid-template-columns:repeat(4,1fr)}.about__section.has-4-columns .is-section-header{grid-column-start:1;-ms-grid-column-span:4;grid-column-end:span 4}.about__section.has-4-columns .column:nth-of-type(4n+1){grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(4n+2){grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n+3){grid-column-start:3}.about__section.has-4-columns .column:nth-of-type(4n){grid-column-start:4}.about__section.has-2-columns .is-section-header~.column,.about__section.has-3-columns .is-section-header~.column,.about__section.has-4-columns .is-section-header~.column,.about__section.has-overlap-style .is-section-header~.column{grid-row-start:2}.about__section.has-overlap-style{grid-template-columns:repeat(7,1fr)}.about__section.has-overlap-style .column{grid-row-start:1}.about__section.has-overlap-style .column:nth-of-type(2n+1){grid-column-start:2;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-overlap-style .column:nth-of-type(2n){grid-column-start:4;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-overlap-style .column.is-top-layer{z-index:1}@media screen and (max-width:782px){.about__section.has-2-columns.is-wider-left,.about__section.has-2-columns.is-wider-right,.about__section.has-3-columns{display:block;margin-bottom:calc(var(--gap)/ 2)}.about__section .column:not(.is-edge-to-edge){padding-top:var(--gap);padding-bottom:var(--gap)}.about__section.has-2-columns.has-gutters.is-wider-left,.about__section.has-2-columns.has-gutters.is-wider-right,.about__section.has-3-columns.has-gutters{margin-bottom:calc(var(--gap) * 2)}.about__section.has-2-columns.has-gutters .column,.about__section.has-3-columns.has-gutters .column{margin-bottom:var(--gap)}.about__section.has-2-columns.has-gutters .column:last-child,.about__section.has-3-columns.has-gutters .column:last-child{margin-bottom:0}.about__section.has-3-columns .column:nth-of-type(n){padding-top:calc(var(--gap)/ 2);padding-bottom:calc(var(--gap)/ 2)}.about__section.has-4-columns{grid-template-columns:repeat(2,1fr)}.about__section.has-4-columns .column:nth-of-type(2n+1){grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(2n){grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n),.about__section.has-4-columns .column:nth-of-type(4n+3){grid-row-start:2}.about__section.has-4-columns .is-section-header{-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-4-columns .is-section-header~.column:nth-of-type(4n),.about__section.has-4-columns .is-section-header~.column:nth-of-type(4n+3){grid-row-start:3}.about__section.has-overlap-style{grid-template-columns:1fr}.about__section.has-overlap-style .column.column{grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}}@media screen and (max-width:600px){.about__section.has-2-columns{display:block;margin-bottom:var(--gap)}.about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n){padding-top:calc(var(--gap)/ 2);padding-bottom:calc(var(--gap)/ 2)}.about__section.has-2-columns.has-gutters{margin-bottom:calc(var(--gap) * 2)}.about__section.has-2-columns.has-gutters .column{margin-bottom:var(--gap)}.about__section.has-2-columns.has-gutters .column:last-child{margin-bottom:0}}@media screen and (max-width:480px){.about__section.is-feature .column{padding:0}.about__section.has-4-columns{display:block;padding-bottom:calc(var(--gap)/ 2)}.about__section.has-4-columns.has-gutters .column{margin-bottom:calc(var(--gap)/ 2)}.about__section.has-4-columns.has-gutters .column:last-child{margin-bottom:0}.about__section.has-4-columns .column:nth-of-type(n){padding-top:calc(var(--gap)/ 2);padding-bottom:calc(var(--gap)/ 2)}}.about__container{line-height:1.4;color:var(--text)}.about__container h1{padding:0;color:inherit}.about__container h1,.about__container h2,.about__container h3.is-larger-heading{margin-top:0;margin-bottom:.5em;font-size:2rem;font-weight:700;line-height:1.16}.about__container h1.is-smaller-heading,.about__container h2.is-smaller-heading,.about__container h3{margin-top:0;font-size:1.625rem;font-weight:700;line-height:1.4}.about__container h3.is-smaller-heading,.about__container h4{margin-top:0;font-size:1.125rem;font-weight:700;line-height:1.6}.about__container p{font-size:inherit;line-height:inherit}.about__container p.is-subheading{margin-top:0;font-size:1.5rem;font-weight:300;line-height:160%}.about__section a{color:var(--accent-1);text-decoration:underline}.about__section a:active,.about__section a:focus,.about__section a:hover{color:var(--accent-1);text-decoration:none}.wp-credits-list a{text-decoration:none}.wp-credits-list a:active,.wp-credits-list a:focus,.wp-credits-list a:hover{text-decoration:underline}.about__container ul{list-style:disc;margin-right:calc(var(--gap)/ 2)}.about__container li{margin-bottom:.5rem}.about__container img{margin:0;max-width:100%;vertical-align:middle}.about__container .about__image{margin:0}.about__container .about__image img{max-width:100%;width:100%;height:auto}.about__container .about__image figcaption{margin-top:.5em;text-align:center}.about__container .about__image .wp-video{margin-right:auto;margin-left:auto}.about__container .about__image+h3{margin-top:1.5em}.about__container .column .about__image{margin-bottom:calc(var(--gap)/ 2)}.about__container hr{margin:0;height:var(--gap);border:none;border-top:4px solid #d9d9d9}.about__container hr.is-small{height:calc(var(--gap)/ 4)}.about__container hr.is-large{height:calc(var(--gap) * 2);margin:calc(var(--gap)/ 2) auto}.about__container .notice,.about__container div.error,.about__container div.updated{display:none!important}.about__section{font-size:1.125rem;line-height:1.55}.about__section.is-feature{font-size:1.6em}@media screen and (max-width:480px){.about__section.is-feature{font-size:1.4em}.about__container h1,.about__container h2,.about__container h3.is-larger-heading{font-size:2em}}.about__header{--about-header-image-width:780px;--about-header-image-height:550px;--about-header-bg-width:var(--about-header-image-width);--about-header-bg-height:var(--about-header-image-height);--about-header-bg-offset-block:0;position:relative;margin-bottom:var(--gap);padding-top:0;color:var(--text-light);background:var(--background) url('../images/about-header-about.svg?ver=6.1') no-repeat;background-size:var(--about-header-bg-width) var(--about-header-bg-height);background-position:center top var(--about-header-bg-offset-block)}.credits-php .about__header{--about-header-image-width:863px;--about-header-image-height:550px;background-image:url('../images/about-header-credits.svg?ver=6.1')}.freedoms-php .about__header{--about-header-image-width:782px;--about-header-image-height:510px;background-image:url('../images/about-header-freedoms.svg?ver=6.1')}.privacy-php .about__header{--about-header-image-width:1005px;--about-header-image-height:500px;--about-header-bg-offset-block:calc(var(--gap) * -2);background-image:url('../images/about-header-privacy.svg?ver=6.1')}.about__header-image{margin:0 var(--gap) 3em}.about__header-title{box-sizing:border-box;margin:0 var(--gap);padding:9rem 0 0;text-align:center}.about__header-title h1{margin:0 0 1rem;padding:0;font-size:clamp(3rem, 20vw - 9rem, 6rem);line-height:1;font-weight:400}.credits-php .about__header-title h1,.freedoms-php .about__header-title h1,.privacy-php .about__header-title h1{font-size:clamp(3rem, 10vw - 3rem, 4.5rem)}.about__header-text{box-sizing:border-box;max-width:22em;margin:0 auto 10rem;padding:0;font-size:1.6rem;line-height:1.15;text-align:center}.credits-php .about__header-text{margin-bottom:9rem}.about__header-navigation{position:relative;z-index:1;display:flex;justify-content:center;padding-top:0;background:var(--nav-background);color:var(--nav-color);border-bottom:3px solid var(--nav-border)}.about__header-navigation .nav-tab{margin-right:0;padding:calc(var(--gap) * .75) var(--gap);float:none;font-size:1.4em;line-height:1;border-width:0 0 3px;border-style:solid;border-color:transparent;background:0 0;color:inherit}.about__header-navigation .nav-tab:active,.about__header-navigation .nav-tab:hover{background-color:var(--nav-current);color:var(--text-light)}.about__header-navigation .nav-tab-active{margin-bottom:-3px;color:var(--nav-current);border-width:0 0 6px;border-color:var(--nav-current)}.about__header-navigation .nav-tab-active:active,.about__header-navigation .nav-tab-active:hover{background-color:var(--nav-current);color:var(--text-light);border-color:var(--nav-current)}@media screen and (max-width:960px){.about__header{--about-header-bg-width:calc(var(--about-header-image-width) * 0.85);--about-header-bg-height:calc(var(--about-header-image-height) * 0.85)}.privacy-php .about__header{--about-header-bg-offset-block:0}.about__header-title h1{font-size:clamp(3rem, 13.33vw - 2rem, 6rem)}.credits-php .about__header-title h1,.freedoms-php .about__header-title h1,.privacy-php .about__header-title h1{font-size:clamp(3rem, 6.67vw - .5rem, 4.5rem)}}@media screen and (max-width:782px){.about__container .about__header-text{font-size:1.4em}.about__header-container{display:block}.about__header-image,.about__header-title{margin-right:calc(var(--gap)/ 2);margin-left:calc(var(--gap)/ 2)}.about__header-text{margin-top:0}.about__header-navigation .nav-tab{margin-top:0;margin-left:0;padding-right:calc(var(--gap)/ 2);padding-left:calc(var(--gap)/ 2)}}@media screen and (max-width:600px){.about__header{--about-header-bg-width:calc(var(--about-header-image-width) * 0.75);--about-header-bg-height:calc(var(--about-header-image-height) * 0.75)}}@media screen and (max-width:480px){.about__header,.credits-php .about__header,.freedoms-php .about__header,.privacy-php .about__header{background-image:none}.about__header-title p{font-size:2.4em}.about__header-title{padding-top:2rem}.about__header-text,.credits-php .about__header-text{margin-right:calc(var(--gap)/ 2);margin-left:calc(var(--gap)/ 2);margin-bottom:2rem}.about__header-navigation{display:block}.about__header-navigation .nav-tab{display:block;margin-bottom:0;padding:calc(var(--gap)/ 2);border-right-width:6px;border-bottom:none}.about__header-navigation .nav-tab-active{border-bottom:none;border-right-width:6px}}.about__section .wp-people-group-title{margin-bottom:calc(var(--gap) * 2);text-align:center}.about__section .wp-people-group{margin:0;display:flex;flex-wrap:wrap}.about__section .wp-person{display:inline-block;vertical-align:top;box-sizing:border-box;margin-bottom:var(--gap);width:25%;text-align:center}.about__section .compact .wp-person{height:auto;width:20%}.about__section .wp-person-avatar{display:block;margin:0 auto calc(var(--gap)/ 2);width:140px;height:140px;border-radius:100%;overflow:hidden;background:var(--accent-1)}.about__section .wp-person .gravatar{width:140px;height:140px;filter:grayscale(100%);mix-blend-mode:screen}.about__section .compact .wp-person .gravatar,.about__section .compact .wp-person-avatar{width:80px;height:80px}.about__section .wp-person .web{font-size:1.4em;font-weight:600;text-decoration:none}.about__section .wp-person .web:hover{text-decoration:underline}.about__section .compact .wp-person .web{font-size:1.2em}.about__section .wp-person .title{display:block;margin-top:.5em}@media screen and (max-width:782px){.about__section .wp-person{width:33%}.about__section .compact .wp-person{width:25%}.about__section .wp-person .gravatar,.about__section .wp-person-avatar{width:120px;height:120px}}@media screen and (max-width:600px){.about__section .wp-person{width:50%}.about__section .compact .wp-person{width:33%}.about__section .wp-person .web{font-size:1.2em}}@media screen and (max-width:480px){.about__section .wp-person{min-width:100%}.about__section .wp-person .web{font-size:1em}.about__section .compact .wp-person .web{font-size:1em}}.about__section .column .freedom-image{margin-bottom:var(--gap);max-height:180px}.about__section .column .privacy-image{display:block;margin-right:auto;margin-left:auto;max-width:25rem}.about-wrap{position:relative;margin:25px 20px 0 40px;max-width:1050px;font-size:15px}.about-wrap.full-width-layout{max-width:1200px}.about-wrap-content{max-width:1050px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:3em 0 0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;width:100%;height:auto;vertical-align:middle}.about-wrap .inline-svg img{max-width:100%;width:auto;height:auto}.about-wrap video{margin:1.5em auto}.wp-badge{background:#0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;background-position:center 25px;background-size:80px 80px;color:#fff;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:140px;text-rendering:optimizeLegibility;box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20160308)}.about-wrap .wp-badge{position:absolute;top:0;left:0}.about-wrap .nav-tab{padding-left:15px;padding-right:15px;font-size:18px;line-height:1.33333333}.about-wrap h1{margin:.2em 0 0 200px;padding:0;color:#32373c;line-height:1.2;font-size:2.8em;font-weight:400}.about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.about-wrap h4{font-size:16px;color:#23282d}.about-wrap p{line-height:1.5;font-size:16px}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap figcaption{font-size:13px;text-align:center;color:#fff;text-overflow:ellipsis}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.about-wrap .about-text{margin:1em 0 1em 200px;color:#555d66}.about-wrap .has-1-columns,.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:grid;max-width:800px;margin-top:40px;margin-right:auto;margin-left:auto}.about-wrap .column{margin-left:20px;margin-right:20px}.about-wrap .is-wide{max-width:760px}.about-wrap .is-fullwidth{max-width:100%}.about-wrap .has-1-columns{display:block;max-width:680px;margin:0 auto 40px}.about-wrap .has-2-columns{grid-template-columns:1fr 1fr}.about-wrap .has-2-columns .column:nth-of-type(2n+1){grid-column-start:1}.about-wrap .has-2-columns .column:nth-of-type(2n){grid-column-start:2}.about-wrap .has-2-columns.is-wider-right{grid-template-columns:1fr 2fr}.about-wrap .has-2-columns.is-wider-left{grid-template-columns:2fr 1fr}.about-wrap .has-3-columns{grid-template-columns:repeat(3,1fr)}.about-wrap .has-3-columns .column:nth-of-type(3n+1){grid-column-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2){grid-column-start:2}.about-wrap .has-3-columns .column:nth-of-type(3n){grid-column-start:3}.about-wrap .has-4-columns{grid-template-columns:repeat(4,1fr)}.about-wrap .has-4-columns .column:nth-of-type(4n+1){grid-column-start:1}.about-wrap .has-4-columns .column:nth-of-type(4n+2){grid-column-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n+3){grid-column-start:3}.about-wrap .has-4-columns .column:nth-of-type(4n){grid-column-start:4}.about-wrap .column :first-child{margin-top:0}.about-wrap .aligncenter{text-align:center}.about-wrap .alignleft{float:right;margin-left:40px}.about-wrap .alignright{float:left;margin-right:40px}.about-wrap .is-vertically-aligned-top{align-self:start}.about-wrap .is-vertically-aligned-center{align-self:center}.about-wrap .is-vertically-aligned-bottom{align-self:end}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #ddd}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .lead-description{font-size:1.5em;text-align:center}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .headline-feature{margin:0 auto 40px;max-width:680px}.about-wrap .headline-feature h2{margin:50px 0 0}.about-wrap .headline-feature img{max-width:600px;width:100%}.about-wrap .return-to-dashboard{margin:30px -5px 0 0;font-size:14px;font-weight:600}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h2.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit;font-weight:600;text-align:right}.about-wrap .wp-people-group{padding:0 5px;margin:0 -5px 0 -15px}.about-wrap .compact{margin-bottom:0}.about-wrap .wp-person{display:inline-block;vertical-align:top;margin-left:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap .wp-person .gravatar{float:right;margin:0 0 10px 10px;padding:1px;width:60px;height:60px}.about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.about-wrap .wp-person .title{display:block}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:600}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}.freedoms-php .column .freedoms-image{background-image:url('../images/freedoms.png');background-size:100%;padding-top:100%}.freedoms-php .column:nth-of-type(2) .freedoms-image{background-position:100% 34%}.freedoms-php .column:nth-of-type(3) .freedoms-image{background-position:100% 66%}.freedoms-php .column:nth-of-type(4) .freedoms-image{background-position:100% 100%}@media screen and (max-width:782px){.about-wrap .has-3-columns,.about-wrap .has-4-columns{grid-template-columns:1fr 1fr}.about-wrap .has-3-columns .column:nth-of-type(3n+1),.about-wrap .has-4-columns .column:nth-of-type(4n+1){grid-column-start:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2),.about-wrap .has-4-columns .column:nth-of-type(4n+2){grid-column-start:2;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n),.about-wrap .has-4-columns .column:nth-of-type(4n+3){grid-column-start:1;grid-row-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n){grid-column-start:2;grid-row-start:2}}@media screen and (max-width:600px){.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:block}.about-wrap :not(.is-wider-right):not(.is-wider-left) .column{margin-left:0;margin-right:0}.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:grid}}@media only screen and (max-width:500px){.about-wrap{margin-left:20px;margin-right:10px}.about-wrap .about-text,.about-wrap h1{margin-left:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}}@media only screen and (max-width:480px){.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:block}.about-wrap .column{margin-left:0;margin-right:0}.about-wrap .has-2-columns.is-wider-left img,.about-wrap .has-2-columns.is-wider-right img{max-width:160px}} \ No newline at end of file diff --git a/build/wp-admin/css/about.css b/build/wp-admin/css/about.css deleted file mode 100644 index 70551d9bc8..0000000000 --- a/build/wp-admin/css/about.css +++ /dev/null @@ -1,1494 +0,0 @@ -/*------------------------------------------------------------------------------ - 22.0 - About Pages - - 1.0 Global: About, Credits, Freedoms, Privacy - 1.1 Layout - 1.2 Typography & Elements - 1.3 Header - 2.0 Credits Page - 3.0 Freedoms Page - 4.0 Privacy Page - x.2.0 Legacy About Styles: Global - x.2.1 Typography - x.2.2 Structure - x.2.3 Point Releases - x.3.0 Legacy About Styles: About Page - x.3.1 Typography - x.3.2 Structure - x.4.0 Legacy About Styles: Credits & Freedoms Pages - x.5.0 Legacy About Styles: Media Queries -------------------------------------------------------------------------------*/ - -.about__container { - /* Section backgrounds */ - --background: #274acd; - --subtle-background: #eff2ff; - - /* Main text color */ - --text: #000; - --text-light: #fff; - - /* Accent colors: used in header, on special classes. */ - --accent-1: #3858e9; /* Link color, credit image overlay */ - --accent-2: #fffcb5; /* Accent background */ - - /* Navigation colors. */ - --nav-background: #fff; - --nav-border: transparent; - --nav-color: var(--text); - --nav-current: var(--accent-1); - - --gap: 2rem; -} - -/*------------------------------------------------------------------------------ - 1.0 - Global: About, Credits, Freedoms, Privacy -------------------------------------------------------------------------------*/ - -.about-php, -.credits-php, -.freedoms-php, -.privacy-php { - background: #fff; -} - -.about-php #wpcontent, -.credits-php #wpcontent, -.freedoms-php #wpcontent, -.privacy-php #wpcontent { - background: #fff; - padding: 0 24px; -} - -@media screen and (max-width: 782px) { - .about-php.auto-fold #wpcontent, - .credits-php.auto-fold #wpcontent, - .freedoms-php.auto-fold #wpcontent, - .privacy-php.auto-fold #wpcontent { - padding-left: 24px; - } -} - -.about__container { - max-width: 1000px; - margin: 24px auto; - clear: both; -} - -.about__container .alignleft { - float: left; -} - -.about__container .alignright { - float: right; -} - -.about__container .aligncenter { - text-align: center; -} - -.about__container .is-vertically-aligned-top { - align-self: start; -} - -.about__container .is-vertically-aligned-center { - align-self: center; -} - -.about__container .is-vertically-aligned-bottom { - align-self: end; -} - -.about__section { - background: transparent; - clear: both; -} - -.about__container .has-accent-background-color { - background-color: var(--accent-2); -} - -.about__container .has-transparent-background-color { - background-color: transparent; -} - -.about__container .has-accent-color { - color: var(--accent-2); -} - -.about__container .has-border { - border: 3px solid currentColor; -} - -.about__container .has-subtle-background-color { - background-color: var(--subtle-background); -} - -.about__container .has-background-image { - background-size: contain; - background-repeat: no-repeat; - background-position: center; -} - -/* 1.1 - Layout */ - -.about__section { - margin: 0; -} - -.about__section .column:not(.is-edge-to-edge) { - padding: var(--gap); -} - -.about__section + .about__section .is-section-header { - padding-bottom: var(--gap); -} - -.about__section .column[class*="background-color"]:not(.is-edge-to-edge), -.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge), -.about__section .column.has-border:not(.is-edge-to-edge) { - padding-top: var(--gap); - padding-bottom: var(--gap); -} - -.about__section .column p:first-of-type { - margin-top: 0; -} - -.about__section .column p:last-of-type { - margin-bottom: 0; -} - -.about__section .has-text-columns { - columns: 2; - column-gap: calc(var(--gap) * 2); -} - -.about__section .is-section-header { - margin-bottom: 0; - padding: var(--gap) var(--gap) 0; -} - -.about__section .is-section-header p:last-child { - margin-bottom: 0; -} - -/* Section header is alone in a container. */ -.about__section .is-section-header:first-child:last-child { - padding: 0; -} - -.about__section.is-feature { - padding: var(--gap); -} - -.about__section.is-feature p { - margin: 0; -} - -.about__section.is-feature p + p { - margin-top: calc(var(--gap) / 2); -} - -.about__section.has-1-column { - margin-left: auto; - margin-right: auto; - max-width: 36em; -} - -.about__section.has-2-columns, -.about__section.has-3-columns, -.about__section.has-4-columns, -.about__section.has-overlap-style { - display: grid; -} - -.about__section.has-gutters { - gap: var(--gap); - margin-bottom: var(--gap); -} - -.about__section.has-2-columns { - grid-template-columns: 1fr 1fr; -} - -.about__section.has-2-columns.is-wider-right { - grid-template-columns: 2fr 3fr; -} - -.about__section.has-2-columns.is-wider-left { - grid-template-columns: 3fr 2fr; -} - -.about__section.has-2-columns .is-section-header { - grid-column-start: 1; - -ms-grid-column-span: 2; - grid-column-end: span 2; -} - -.about__section.has-2-columns .column:nth-of-type(2n+1) { - grid-column-start: 1; -} - -.about__section.has-2-columns .column:nth-of-type(2n) { - grid-column-start: 2; -} - -.about__section.has-3-columns { - grid-template-columns: repeat(3, 1fr); -} - -.about__section.has-3-columns .is-section-header { - grid-column-start: 1; - -ms-grid-column-span: 3; - grid-column-end: span 3; -} - -.about__section.has-3-columns .column:nth-of-type(3n+1) { - grid-column-start: 1; -} - -.about__section.has-3-columns .column:nth-of-type(3n+2) { - grid-column-start: 2; -} - -.about__section.has-3-columns .column:nth-of-type(3n) { - grid-column-start: 3; -} - -.about__section.has-4-columns { - grid-template-columns: repeat(4, 1fr); -} - -.about__section.has-4-columns .is-section-header { - grid-column-start: 1; - -ms-grid-column-span: 4; - grid-column-end: span 4; -} - -.about__section.has-4-columns .column:nth-of-type(4n+1) { - grid-column-start: 1; -} - -.about__section.has-4-columns .column:nth-of-type(4n+2) { - grid-column-start: 2; -} - -.about__section.has-4-columns .column:nth-of-type(4n+3) { - grid-column-start: 3; -} - -.about__section.has-4-columns .column:nth-of-type(4n) { - grid-column-start: 4; -} - -/* Any columns following a section header need to be expicitly put into the second row, for IE support. */ -.about__section.has-2-columns .is-section-header ~ .column, -.about__section.has-3-columns .is-section-header ~ .column, -.about__section.has-4-columns .is-section-header ~ .column, -.about__section.has-overlap-style .is-section-header ~ .column { - grid-row-start: 2; -} - -.about__section.has-overlap-style { - grid-template-columns: repeat(7, 1fr); -} - -.about__section.has-overlap-style .column { - grid-row-start: 1; -} - -.about__section.has-overlap-style .column:nth-of-type(2n+1) { - grid-column-start: 2; - -ms-grid-column-span: 3; - grid-column-end: span 3; -} - -.about__section.has-overlap-style .column:nth-of-type(2n) { - grid-column-start: 4; - -ms-grid-column-span: 3; - grid-column-end: span 3; -} - -.about__section.has-overlap-style .column.is-top-layer { - z-index: 1; -} - -@media screen and (max-width: 782px) { - .about__section.has-2-columns.is-wider-right, - .about__section.has-2-columns.is-wider-left, - .about__section.has-3-columns { - display: block; - margin-bottom: calc(var(--gap) / 2); - } - - .about__section .column:not(.is-edge-to-edge) { - padding-top: var(--gap); - padding-bottom: var(--gap); - } - - .about__section.has-2-columns.has-gutters.is-wider-right, - .about__section.has-2-columns.has-gutters.is-wider-left, - .about__section.has-3-columns.has-gutters { - margin-bottom: calc(var(--gap) * 2); - } - - .about__section.has-2-columns.has-gutters .column, - .about__section.has-2-columns.has-gutters .column, - .about__section.has-3-columns.has-gutters .column { - margin-bottom: var(--gap); - } - - .about__section.has-2-columns.has-gutters .column:last-child, - .about__section.has-2-columns.has-gutters .column:last-child, - .about__section.has-3-columns.has-gutters .column:last-child { - margin-bottom: 0; - } - - .about__section.has-3-columns .column:nth-of-type(n) { - padding-top: calc(var(--gap) / 2); - padding-bottom: calc(var(--gap) / 2); - } - - .about__section.has-4-columns { - grid-template-columns: repeat(2, 1fr); - } - - .about__section.has-4-columns .column:nth-of-type(2n+1) { - grid-column-start: 1; - } - - .about__section.has-4-columns .column:nth-of-type(2n) { - grid-column-start: 2; - } - - .about__section.has-4-columns .column:nth-of-type(4n+3), - .about__section.has-4-columns .column:nth-of-type(4n) { - grid-row-start: 2; - } - - .about__section.has-4-columns .is-section-header { - -ms-grid-column-span: 2; - grid-column-end: span 2; - } - - .about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3), - .about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) { - grid-row-start: 3; - } - - .about__section.has-overlap-style { - grid-template-columns: 1fr; - } - - /* At this size, the two columns fully overlap */ - .about__section.has-overlap-style .column.column { - grid-column-start: 1; - -ms-grid-column-span: 1; - grid-column-end: 2; - grid-row-start: 1; - -ms-grid-row-span: 1; - grid-row-end: 2; - } -} - -@media screen and (max-width: 600px) { - .about__section.has-2-columns { - display: block; - margin-bottom: var(--gap); - } - - .about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) { - padding-top: calc(var(--gap) / 2); - padding-bottom: calc(var(--gap) / 2); - } - - .about__section.has-2-columns.has-gutters { - margin-bottom: calc(var(--gap) * 2); - } - - .about__section.has-2-columns.has-gutters .column { - margin-bottom: var(--gap); - } - - .about__section.has-2-columns.has-gutters .column:last-child { - margin-bottom: 0; - } -} - -@media screen and (max-width: 480px) { - .about__section.is-feature .column { - padding: 0; - } - - .about__section.has-4-columns { - display: block; - padding-bottom: calc(var(--gap) / 2); - } - - .about__section.has-4-columns.has-gutters .column { - margin-bottom: calc(var(--gap) / 2); - } - - .about__section.has-4-columns.has-gutters .column:last-child { - margin-bottom: 0; - } - - .about__section.has-4-columns .column:nth-of-type(n) { - padding-top: calc(var(--gap) / 2); - padding-bottom: calc(var(--gap) / 2); - } -} - -/* 1.2 - Typography & Elements */ - -.about__container { - line-height: 1.4; - color: var(--text); -} - -.about__container h1 { - padding: 0; - color: inherit; -} - -.about__container h1, -.about__container h2, -.about__container h3.is-larger-heading { - margin-top: 0; - margin-bottom: 0.5em; - font-size: 2rem; - font-weight: 700; - line-height: 1.16; -} - -.about__container h3, -.about__container h1.is-smaller-heading, -.about__container h2.is-smaller-heading { - margin-top: 0; - font-size: 1.625rem; - font-weight: 700; - line-height: 1.4; -} - -.about__container h4, -.about__container h3.is-smaller-heading { - margin-top: 0; - font-size: 1.125rem; - font-weight: 700; - line-height: 1.6; -} - -.about__container p { - font-size: inherit; - line-height: inherit; -} - -.about__container p.is-subheading { - margin-top: 0; - font-size: 1.5rem; - font-weight: 300; - line-height: 160%; -} - -.about__section a { - color: var(--accent-1); - text-decoration: underline; -} - -.about__section a:hover, -.about__section a:active, -.about__section a:focus { - color: var(--accent-1); - text-decoration: none; -} - -.wp-credits-list a { - text-decoration: none; -} - -.wp-credits-list a:hover, -.wp-credits-list a:active, -.wp-credits-list a:focus { - text-decoration: underline; -} - -.about__container ul { - list-style: disc; - margin-left: calc(var(--gap) / 2); -} - -.about__container li { - margin-bottom: 0.5rem; -} - -.about__container img { - margin: 0; - max-width: 100%; - vertical-align: middle; -} - -.about__container .about__image { - margin: 0; -} - -.about__container .about__image img { - max-width: 100%; - width: 100%; - height: auto; -} - -.about__container .about__image figcaption { - margin-top: 0.5em; - text-align: center; -} - -.about__container .about__image .wp-video { - margin-left: auto; - margin-right: auto; -} - -.about__container .about__image + h3 { - margin-top: 1.5em; -} - -.about__container .column .about__image { - margin-bottom: calc(var(--gap) / 2); -} - -.about__container hr { - margin: 0; - height: var(--gap); - border: none; - border-top: 4px solid #d9d9d9; -} - -.about__container hr.is-small { - height: calc(var(--gap) / 4); -} - -.about__container hr.is-large { - height: calc(var(--gap) * 2); - margin: calc(var(--gap) / 2) auto; -} - -.about__container div.updated, -.about__container div.error, -.about__container .notice { - display: none !important; -} - -.about__section { - font-size: 1.125rem; - line-height: 1.55; -} - -.about__section.is-feature { - font-size: 1.6em; -} - -@media screen and (max-width: 480px) { - .about__section.is-feature { - font-size: 1.4em; - } - - .about__container h1, - .about__container h2, - .about__container h3.is-larger-heading { - font-size: 2em; - } -} - -/* 1.3 - Header */ - -.about__header { - --about-header-image-width: 780px; - --about-header-image-height: 550px; - --about-header-bg-width: var(--about-header-image-width); - --about-header-bg-height: var(--about-header-image-height); - --about-header-bg-offset-block: 0; - - position: relative; - margin-bottom: var(--gap); - padding-top: 0; - color: var(--text-light); - background: var(--background) url('../images/about-header-about.svg?ver=6.1') no-repeat; - background-size: var(--about-header-bg-width) var(--about-header-bg-height); - background-position: center top var(--about-header-bg-offset-block); -} - -.credits-php .about__header { - --about-header-image-width: 863px; - --about-header-image-height: 550px; - - background-image: url('../images/about-header-credits.svg?ver=6.1'); -} - -.freedoms-php .about__header { - --about-header-image-width: 782px; - --about-header-image-height: 510px; - - background-image: url('../images/about-header-freedoms.svg?ver=6.1'); -} - -.privacy-php .about__header { - --about-header-image-width: 1005px; - --about-header-image-height: 500px; - --about-header-bg-offset-block: calc(var(--gap) * -2); - - background-image: url('../images/about-header-privacy.svg?ver=6.1'); -} - -.about__header-image { - margin: 0 var(--gap) 3em; -} - -.about__header-title { - box-sizing: border-box; - margin: 0 var(--gap); - padding: 9rem 0 0; - text-align: center; -} - -.about__header-title h1 { - margin: 0 0 1rem; - padding: 0; - /* Fluid font size scales on browser size 960px - 1200px. */ - font-size: clamp(3rem, 20vw - 9rem, 6rem); - line-height: 1; - font-weight: 400; -} - -.credits-php .about__header-title h1, -.privacy-php .about__header-title h1, -.freedoms-php .about__header-title h1 { - /* Fluid font size scales on browser size 960px - 1200px. */ - font-size: clamp(3rem, 10vw - 3rem, 4.5rem); -} - -.about__header-text { - box-sizing: border-box; - max-width: 22em; - margin: 0 auto 10rem; - padding: 0; - font-size: 1.6rem; - line-height: 1.15; - text-align: center; -} - -.credits-php .about__header-text { - margin-bottom: 9rem; -} - -.about__header-navigation { - position: relative; - z-index: 1; - display: flex; - justify-content: center; - padding-top: 0; - background: var(--nav-background); - color: var(--nav-color); - border-bottom: 3px solid var(--nav-border); -} - -.about__header-navigation .nav-tab { - margin-left: 0; - padding: calc(var(--gap) * 0.75) var(--gap); - float: none; - font-size: 1.4em; - line-height: 1; - border-width: 0 0 3px; - border-style: solid; - border-color: transparent; - background: transparent; - color: inherit; -} - -.about__header-navigation .nav-tab:hover, -.about__header-navigation .nav-tab:active { - background-color: var(--nav-current); - color: var(--text-light); -} - -.about__header-navigation .nav-tab-active { - margin-bottom: -3px; - color: var(--nav-current); - border-width: 0 0 6px; - border-color: var(--nav-current); -} - -.about__header-navigation .nav-tab-active:hover, -.about__header-navigation .nav-tab-active:active { - background-color: var(--nav-current); - color: var(--text-light); - border-color: var(--nav-current); -} - -@media screen and (max-width: 960px) { - .about__header { - --about-header-bg-width: calc(var(--about-header-image-width) * 0.85); - --about-header-bg-height: calc(var(--about-header-image-height) * 0.85); - } - - .privacy-php .about__header { - --about-header-bg-offset-block: 0; - } - - .about__header-title h1 { - /* Fluid font size scales on browser size 600px - 960px. */ - font-size: clamp(3rem, 13.33vw - 2rem, 6rem); - } - - .credits-php .about__header-title h1, - .privacy-php .about__header-title h1, - .freedoms-php .about__header-title h1 { - /* Fluid font size scales on browser size 600px - 960px. */ - font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem); - } -} - -@media screen and (max-width: 782px) { - .about__container .about__header-text { - font-size: 1.4em; - } - - .about__header-container { - display: block; - } - - .about__header-title, - .about__header-image { - margin-left: calc(var(--gap) / 2); - margin-right: calc(var(--gap) / 2); - } - - .about__header-text { - margin-top: 0; - } - - .about__header-navigation .nav-tab { - margin-top: 0; - margin-right: 0; - padding-left: calc(var(--gap) / 2); - padding-right: calc(var(--gap) / 2); - } -} - -@media screen and (max-width: 600px) { - .about__header { - --about-header-bg-width: calc(var(--about-header-image-width) * 0.75); - --about-header-bg-height: calc(var(--about-header-image-height) * 0.75); - } -} - -@media screen and (max-width: 480px) { - .about__header, - .credits-php .about__header, - .privacy-php .about__header, - .freedoms-php .about__header { - background-image: none; - } - - .about__header-title p { - font-size: 2.4em; - } - - .about__header-title { - padding-top: 2rem; - } - - .about__header-text, - .credits-php .about__header-text { - margin-left: calc(var(--gap) / 2); - margin-right: calc(var(--gap) / 2); - margin-bottom: 2rem; - } - - .about__header-navigation { - display: block; - } - - .about__header-navigation .nav-tab { - display: block; - margin-bottom: 0; - padding: calc(var(--gap) / 2); - border-left-width: 6px; - border-bottom: none; - } - - .about__header-navigation .nav-tab-active { - border-bottom: none; - border-left-width: 6px; - } -} - - -/*------------------------------------------------------------------------------ - 2.0 - Credits Page -------------------------------------------------------------------------------*/ - -.about__section .wp-people-group-title { - margin-bottom: calc(var(--gap) * 2); - text-align: center; - -} - -.about__section .wp-people-group { - margin: 0; - display: flex; - flex-wrap: wrap; -} - -.about__section .wp-person { - display: inline-block; - vertical-align: top; - box-sizing: border-box; - margin-bottom: var(--gap); - width: 25%; - text-align: center; -} - -.about__section .compact .wp-person { - height: auto; - width: 20%; -} - -.about__section .wp-person-avatar { - display: block; - margin: 0 auto calc(var(--gap) / 2); - width: 140px; - height: 140px; - border-radius: 100%; - overflow: hidden; - background: var(--accent-1); -} - -.about__section .wp-person .gravatar { - width: 140px; - height: 140px; - filter: grayscale(100%); - mix-blend-mode: screen; -} - -.about__section .compact .wp-person-avatar, -.about__section .compact .wp-person .gravatar { - width: 80px; - height: 80px; -} - -.about__section .wp-person .web { - font-size: 1.4em; - font-weight: 600; - text-decoration: none; -} - -.about__section .wp-person .web:hover { - text-decoration: underline; -} - -.about__section .compact .wp-person .web { - font-size: 1.2em; -} - -.about__section .wp-person .title { - display: block; - margin-top: 0.5em; -} - -@media screen and (max-width: 782px) { - .about__section .wp-person { - width: 33%; - } - - .about__section .compact .wp-person { - width: 25%; - } - - .about__section .wp-person-avatar, - .about__section .wp-person .gravatar { - width: 120px; - height: 120px; - } -} - -@media screen and (max-width: 600px) { - .about__section .wp-person { - width: 50%; - } - - .about__section .compact .wp-person { - width: 33%; - } - - .about__section .wp-person .web { - font-size: 1.2em; - } -} - -@media screen and (max-width: 480px) { - .about__section .wp-person { - min-width: 100%; - } - - .about__section .wp-person .web { - font-size: 1em; - } - - .about__section .compact .wp-person .web { - font-size: 1em; - } -} - - -/*------------------------------------------------------------------------------ - 3.0 - Freedoms Page -------------------------------------------------------------------------------*/ - -.about__section .column .freedom-image { - margin-bottom: var(--gap); - max-height: 180px; -} - - -/*------------------------------------------------------------------------------ - 4.0 - Privacy Page -------------------------------------------------------------------------------*/ - -.about__section .column .privacy-image { - display: block; - margin-left: auto; - margin-right: auto; - max-width: 25rem; -} - - -/*------------------------------------------------------------------------------ - x.2.0 - Legacy About Styles: Global -------------------------------------------------------------------------------*/ - -.about-wrap { - position: relative; - margin: 25px 40px 0 20px; - max-width: 1050px; /* readability */ - font-size: 15px; -} - -.about-wrap.full-width-layout { - max-width: 1200px; -} - -.about-wrap-content { - max-width: 1050px; -} - -.about-wrap div.updated, -.about-wrap div.error, -.about-wrap .notice { - display: none !important; -} - -.about-wrap hr { - border: 0; - height: 0; - margin: 3em 0 0; - border-top: 1px solid rgba(0, 0, 0, 0.1); -} - -.about-wrap img { - margin: 0; - width: 100%; - height: auto; - vertical-align: middle; -} - -.about-wrap .inline-svg img { - max-width: 100%; - width: auto; - height: auto; -} - -.about-wrap video { - margin: 1.5em auto; -} - -/* WordPress Version Badge */ - -.wp-badge { - background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat; - background-position: center 25px; - background-size: 80px 80px; - color: #fff; - font-size: 14px; - text-align: center; - font-weight: 600; - margin: 5px 0 0; - padding-top: 120px; - height: 40px; - display: inline-block; - width: 140px; - text-rendering: optimizeLegibility; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); -} - -.svg .wp-badge { - background-image: url(../images/wordpress-logo-white.svg?ver=20160308); -} - -.about-wrap .wp-badge { - position: absolute; - top: 0; - right: 0; -} - -/* Tabs */ - -.about-wrap .nav-tab { - padding-right: 15px; - padding-left: 15px; - font-size: 18px; - line-height: 1.33333333; -} - -/* x.2.1 - Typography */ - -.about-wrap h1 { - margin: 0.2em 200px 0 0; - padding: 0; - color: #32373c; - line-height: 1.2; - font-size: 2.8em; - font-weight: 400; -} - -.about-wrap h2 { - margin: 40px 0 0.6em; - font-size: 2.7em; - line-height: 1.3; - font-weight: 300; - text-align: center; -} - -.about-wrap h3 { - margin: 1.25em 0 0.6em; - font-size: 1.4em; - line-height: 1.5; -} - -.about-wrap h4 { - font-size: 16px; - color: #23282d; -} - -.about-wrap p { - line-height: 1.5; - font-size: 16px; -} - -.about-wrap code, -.about-wrap ol li p { - font-size: 14px; - font-weight: 400; -} - -.about-wrap figcaption { - font-size: 13px; - text-align: center; - color: white; - text-overflow: ellipsis; -} - -.about-wrap .about-description, -.about-wrap .about-text { - margin-top: 1.4em; - font-weight: 400; - line-height: 1.6; - font-size: 19px; -} - -.about-wrap .about-text { - margin: 1em 200px 1em 0; - color: #555d66; -} - -/* x.2.2 - Structure */ - -.about-wrap .has-1-columns, -.about-wrap .has-2-columns, -.about-wrap .has-3-columns, -.about-wrap .has-4-columns { - display: grid; - max-width: 800px; - margin-top: 40px; - margin-left: auto; - margin-right: auto; -} - -.about-wrap .column { - margin-right: 20px; - margin-left: 20px; -} - -.about-wrap .is-wide { - max-width: 760px; -} - -.about-wrap .is-fullwidth { - max-width: 100%; -} - -.about-wrap .has-1-columns { - display: block; - max-width: 680px; - margin: 0 auto 40px; -} - -.about-wrap .has-2-columns { - grid-template-columns: 1fr 1fr; -} - -.about-wrap .has-2-columns .column:nth-of-type(2n+1) { - grid-column-start: 1; -} - -.about-wrap .has-2-columns .column:nth-of-type(2n) { - grid-column-start: 2; -} - -.about-wrap .has-2-columns.is-wider-right { - grid-template-columns: 1fr 2fr; -} - -.about-wrap .has-2-columns.is-wider-left { - grid-template-columns: 2fr 1fr; -} - -.about-wrap .has-3-columns { - grid-template-columns: repeat(3, 1fr); -} - -.about-wrap .has-3-columns .column:nth-of-type(3n+1) { - grid-column-start: 1; -} - -.about-wrap .has-3-columns .column:nth-of-type(3n+2) { - grid-column-start: 2; -} - -.about-wrap .has-3-columns .column:nth-of-type(3n) { - grid-column-start: 3; -} - -.about-wrap .has-4-columns { - grid-template-columns: repeat(4, 1fr); -} - -.about-wrap .has-4-columns .column:nth-of-type(4n+1) { - grid-column-start: 1; -} - -.about-wrap .has-4-columns .column:nth-of-type(4n+2) { - grid-column-start: 2; -} - -.about-wrap .has-4-columns .column:nth-of-type(4n+3) { - grid-column-start: 3; -} - -.about-wrap .has-4-columns .column:nth-of-type(4n) { - grid-column-start: 4; -} - -.about-wrap .column :first-child { - margin-top: 0; -} - -.about-wrap .aligncenter { - text-align: center; -} - -.about-wrap .alignleft { - float: left; - margin-right: 40px; -} - -.about-wrap .alignright { - float: right; - margin-left: 40px; -} - -.about-wrap .is-vertically-aligned-top { - align-self: start; -} - -.about-wrap .is-vertically-aligned-center { - align-self: center; -} - -.about-wrap .is-vertically-aligned-bottom { - align-self: end; -} - -/* x.2.3 - Point Releases */ - -.about-wrap .point-releases { - margin-top: 5px; - border-bottom: 1px solid #ddd; -} - -.about-wrap .changelog { - margin-bottom: 40px; -} - -.about-wrap .changelog.point-releases h3 { - padding-top: 35px; -} - -.about-wrap .changelog.point-releases h3:first-child { - padding-top: 7px; -} - -.about-wrap .changelog.feature-section .col { - margin-top: 40px; -} - -/*------------------------------------------------------------------------------ - x.3.0 - Legacy About Styles: About Page -------------------------------------------------------------------------------*/ - -/* x.3.1 - Typography */ - -.about-wrap .lead-description { - font-size: 1.5em; - text-align: center; -} - -.about-wrap .feature-section p { - margin-top: 0.6em; -} - -/* x.3.2 - Structure */ - -.about-wrap .headline-feature { - margin: 0 auto 40px; - max-width: 680px; -} - -.about-wrap .headline-feature h2 { - margin: 50px 0 0; -} - -.about-wrap .headline-feature img { - max-width: 600px; - width: 100%; -} - -/* Go to Dashboard Home link */ - -.about-wrap .return-to-dashboard { - margin: 30px 0 0 -5px; - font-size: 14px; - font-weight: 600; -} - -.about-wrap .return-to-dashboard a { - text-decoration: none; - padding: 0 5px; -} - -/*------------------------------------------------------------------------------ - x.4.0 - Legacy About Styles: Credits & Freedoms Pages -------------------------------------------------------------------------------*/ - -/* Credits */ - -.about-wrap h2.wp-people-group { - margin: 2.6em 0 1.33em; - padding: 0; - font-size: 16px; - line-height: inherit; - font-weight: 600; - text-align: left; -} - -.about-wrap .wp-people-group { - padding: 0 5px; - margin: 0 -15px 0 -5px; -} - -.about-wrap .compact { - margin-bottom: 0; -} - -.about-wrap .wp-person { - display: inline-block; - vertical-align: top; - margin-right: 10px; - padding-bottom: 15px; - height: 70px; - width: 280px; -} - -.about-wrap .compact .wp-person { - height: auto; - width: 180px; - padding-bottom: 0; - margin-bottom: 0; -} - -.about-wrap .wp-person .gravatar { - float: left; - margin: 0 10px 10px 0; - padding: 1px; - width: 60px; - height: 60px; -} - -.about-wrap .compact .wp-person .gravatar { - width: 30px; - height: 30px; -} - -.about-wrap .wp-person .web { - margin: 6px 0 2px; - font-size: 16px; - font-weight: 400; - line-height: 2; - text-decoration: none; -} - -.about-wrap .wp-person .title { - display: block; -} - -.about-wrap #wp-people-group-validators + p.wp-credits-list { - margin-top: 0; -} - -.about-wrap p.wp-credits-list a { - white-space: nowrap; -} - -/* Freedoms */ - -.freedoms-php .about-wrap ol { - margin: 40px 60px; -} - -.freedoms-php .about-wrap ol li { - list-style-type: decimal; - font-weight: 600; -} - -.freedoms-php .about-wrap ol p { - font-weight: 400; - margin: 0.6em 0; -} - -.freedoms-php .column .freedoms-image { - background-image: url('../images/freedoms.png'); - background-size: 100%; - padding-top: 100%; -} - -.freedoms-php .column:nth-of-type(2) .freedoms-image { - background-position: 0 34%; -} - -.freedoms-php .column:nth-of-type(3) .freedoms-image { - background-position: 0 66%; -} - -.freedoms-php .column:nth-of-type(4) .freedoms-image { - background-position: 0 100%; -} - -/*------------------------------------------------------------------------------ - x.5.0 - Legacy About Styles: Media Queries -------------------------------------------------------------------------------*/ - -@media screen and (max-width: 782px) { - .about-wrap .has-3-columns, - .about-wrap .has-4-columns { - grid-template-columns: 1fr 1fr; - } - - .about-wrap .has-3-columns .column:nth-of-type(3n+1), - .about-wrap .has-4-columns .column:nth-of-type(4n+1) { - grid-column-start: 1; - grid-row-start: 1; - } - - .about-wrap .has-3-columns .column:nth-of-type(3n+2), - .about-wrap .has-4-columns .column:nth-of-type(4n+2) { - grid-column-start: 2; - grid-row-start: 1; - } - - .about-wrap .has-3-columns .column:nth-of-type(3n), - .about-wrap .has-4-columns .column:nth-of-type(4n+3) { - grid-column-start: 1; - grid-row-start: 2; - } - - .about-wrap .has-4-columns .column:nth-of-type(4n) { - grid-column-start: 2; - grid-row-start: 2; - } -} - -@media screen and (max-width: 600px) { - .about-wrap .has-2-columns, - .about-wrap .has-3-columns, - .about-wrap .has-4-columns { - display: block; - } - - .about-wrap :not(.is-wider-right):not(.is-wider-left) .column { - margin-right: 0; - margin-left: 0; - } - - .about-wrap .has-2-columns.is-wider-right, - .about-wrap .has-2-columns.is-wider-left { - display: grid; - } -} - -@media only screen and (max-width: 500px) { - .about-wrap { - margin-right: 20px; - margin-left: 10px; - } - - .about-wrap h1, - .about-wrap .about-text { - margin-right: 0; - } - - .about-wrap .about-text { - margin-bottom: 0.25em; - } - - .about-wrap .wp-badge { - position: relative; - margin-bottom: 1.5em; - width: 100%; - } -} - -@media only screen and (max-width: 480px) { - .about-wrap .has-2-columns.is-wider-right, - .about-wrap .has-2-columns.is-wider-left { - display: block; - } - - .about-wrap .column { - margin-right: 0; - margin-left: 0; - } - - .about-wrap .has-2-columns.is-wider-right img, - .about-wrap .has-2-columns.is-wider-left img { - max-width: 160px; - } -} diff --git a/build/wp-admin/css/about.min.css b/build/wp-admin/css/about.min.css deleted file mode 100644 index 2dff857e9d..0000000000 --- a/build/wp-admin/css/about.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.about__container{--background:#274acd;--subtle-background:#eff2ff;--text:#000;--text-light:#fff;--accent-1:#3858e9;--accent-2:#fffcb5;--nav-background:#fff;--nav-border:transparent;--nav-color:var(--text);--nav-current:var(--accent-1);--gap:2rem}.about-php,.credits-php,.freedoms-php,.privacy-php{background:#fff}.about-php #wpcontent,.credits-php #wpcontent,.freedoms-php #wpcontent,.privacy-php #wpcontent{background:#fff;padding:0 24px}@media screen and (max-width:782px){.about-php.auto-fold #wpcontent,.credits-php.auto-fold #wpcontent,.freedoms-php.auto-fold #wpcontent,.privacy-php.auto-fold #wpcontent{padding-left:24px}}.about__container{max-width:1000px;margin:24px auto;clear:both}.about__container .alignleft{float:left}.about__container .alignright{float:right}.about__container .aligncenter{text-align:center}.about__container .is-vertically-aligned-top{align-self:start}.about__container .is-vertically-aligned-center{align-self:center}.about__container .is-vertically-aligned-bottom{align-self:end}.about__section{background:0 0;clear:both}.about__container .has-accent-background-color{background-color:var(--accent-2)}.about__container .has-transparent-background-color{background-color:transparent}.about__container .has-accent-color{color:var(--accent-2)}.about__container .has-border{border:3px solid currentColor}.about__container .has-subtle-background-color{background-color:var(--subtle-background)}.about__container .has-background-image{background-size:contain;background-repeat:no-repeat;background-position:center}.about__section{margin:0}.about__section .column:not(.is-edge-to-edge){padding:var(--gap)}.about__section+.about__section .is-section-header{padding-bottom:var(--gap)}.about__section .column.has-border:not(.is-edge-to-edge),.about__section .column[class*=background-color]:not(.is-edge-to-edge),.about__section:where([class*=background-color]) .column:not(.is-edge-to-edge){padding-top:var(--gap);padding-bottom:var(--gap)}.about__section .column p:first-of-type{margin-top:0}.about__section .column p:last-of-type{margin-bottom:0}.about__section .has-text-columns{columns:2;column-gap:calc(var(--gap) * 2)}.about__section .is-section-header{margin-bottom:0;padding:var(--gap) var(--gap) 0}.about__section .is-section-header p:last-child{margin-bottom:0}.about__section .is-section-header:first-child:last-child{padding:0}.about__section.is-feature{padding:var(--gap)}.about__section.is-feature p{margin:0}.about__section.is-feature p+p{margin-top:calc(var(--gap)/ 2)}.about__section.has-1-column{margin-left:auto;margin-right:auto;max-width:36em}.about__section.has-2-columns,.about__section.has-3-columns,.about__section.has-4-columns,.about__section.has-overlap-style{display:grid}.about__section.has-gutters{gap:var(--gap);margin-bottom:var(--gap)}.about__section.has-2-columns{grid-template-columns:1fr 1fr}.about__section.has-2-columns.is-wider-right{grid-template-columns:2fr 3fr}.about__section.has-2-columns.is-wider-left{grid-template-columns:3fr 2fr}.about__section.has-2-columns .is-section-header{grid-column-start:1;-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-2-columns .column:nth-of-type(2n+1){grid-column-start:1}.about__section.has-2-columns .column:nth-of-type(2n){grid-column-start:2}.about__section.has-3-columns{grid-template-columns:repeat(3,1fr)}.about__section.has-3-columns .is-section-header{grid-column-start:1;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-3-columns .column:nth-of-type(3n+1){grid-column-start:1}.about__section.has-3-columns .column:nth-of-type(3n+2){grid-column-start:2}.about__section.has-3-columns .column:nth-of-type(3n){grid-column-start:3}.about__section.has-4-columns{grid-template-columns:repeat(4,1fr)}.about__section.has-4-columns .is-section-header{grid-column-start:1;-ms-grid-column-span:4;grid-column-end:span 4}.about__section.has-4-columns .column:nth-of-type(4n+1){grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(4n+2){grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n+3){grid-column-start:3}.about__section.has-4-columns .column:nth-of-type(4n){grid-column-start:4}.about__section.has-2-columns .is-section-header~.column,.about__section.has-3-columns .is-section-header~.column,.about__section.has-4-columns .is-section-header~.column,.about__section.has-overlap-style .is-section-header~.column{grid-row-start:2}.about__section.has-overlap-style{grid-template-columns:repeat(7,1fr)}.about__section.has-overlap-style .column{grid-row-start:1}.about__section.has-overlap-style .column:nth-of-type(2n+1){grid-column-start:2;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-overlap-style .column:nth-of-type(2n){grid-column-start:4;-ms-grid-column-span:3;grid-column-end:span 3}.about__section.has-overlap-style .column.is-top-layer{z-index:1}@media screen and (max-width:782px){.about__section.has-2-columns.is-wider-left,.about__section.has-2-columns.is-wider-right,.about__section.has-3-columns{display:block;margin-bottom:calc(var(--gap)/ 2)}.about__section .column:not(.is-edge-to-edge){padding-top:var(--gap);padding-bottom:var(--gap)}.about__section.has-2-columns.has-gutters.is-wider-left,.about__section.has-2-columns.has-gutters.is-wider-right,.about__section.has-3-columns.has-gutters{margin-bottom:calc(var(--gap) * 2)}.about__section.has-2-columns.has-gutters .column,.about__section.has-3-columns.has-gutters .column{margin-bottom:var(--gap)}.about__section.has-2-columns.has-gutters .column:last-child,.about__section.has-3-columns.has-gutters .column:last-child{margin-bottom:0}.about__section.has-3-columns .column:nth-of-type(n){padding-top:calc(var(--gap)/ 2);padding-bottom:calc(var(--gap)/ 2)}.about__section.has-4-columns{grid-template-columns:repeat(2,1fr)}.about__section.has-4-columns .column:nth-of-type(2n+1){grid-column-start:1}.about__section.has-4-columns .column:nth-of-type(2n){grid-column-start:2}.about__section.has-4-columns .column:nth-of-type(4n),.about__section.has-4-columns .column:nth-of-type(4n+3){grid-row-start:2}.about__section.has-4-columns .is-section-header{-ms-grid-column-span:2;grid-column-end:span 2}.about__section.has-4-columns .is-section-header~.column:nth-of-type(4n),.about__section.has-4-columns .is-section-header~.column:nth-of-type(4n+3){grid-row-start:3}.about__section.has-overlap-style{grid-template-columns:1fr}.about__section.has-overlap-style .column.column{grid-column-start:1;-ms-grid-column-span:1;grid-column-end:2;grid-row-start:1;-ms-grid-row-span:1;grid-row-end:2}}@media screen and (max-width:600px){.about__section.has-2-columns{display:block;margin-bottom:var(--gap)}.about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n){padding-top:calc(var(--gap)/ 2);padding-bottom:calc(var(--gap)/ 2)}.about__section.has-2-columns.has-gutters{margin-bottom:calc(var(--gap) * 2)}.about__section.has-2-columns.has-gutters .column{margin-bottom:var(--gap)}.about__section.has-2-columns.has-gutters .column:last-child{margin-bottom:0}}@media screen and (max-width:480px){.about__section.is-feature .column{padding:0}.about__section.has-4-columns{display:block;padding-bottom:calc(var(--gap)/ 2)}.about__section.has-4-columns.has-gutters .column{margin-bottom:calc(var(--gap)/ 2)}.about__section.has-4-columns.has-gutters .column:last-child{margin-bottom:0}.about__section.has-4-columns .column:nth-of-type(n){padding-top:calc(var(--gap)/ 2);padding-bottom:calc(var(--gap)/ 2)}}.about__container{line-height:1.4;color:var(--text)}.about__container h1{padding:0;color:inherit}.about__container h1,.about__container h2,.about__container h3.is-larger-heading{margin-top:0;margin-bottom:.5em;font-size:2rem;font-weight:700;line-height:1.16}.about__container h1.is-smaller-heading,.about__container h2.is-smaller-heading,.about__container h3{margin-top:0;font-size:1.625rem;font-weight:700;line-height:1.4}.about__container h3.is-smaller-heading,.about__container h4{margin-top:0;font-size:1.125rem;font-weight:700;line-height:1.6}.about__container p{font-size:inherit;line-height:inherit}.about__container p.is-subheading{margin-top:0;font-size:1.5rem;font-weight:300;line-height:160%}.about__section a{color:var(--accent-1);text-decoration:underline}.about__section a:active,.about__section a:focus,.about__section a:hover{color:var(--accent-1);text-decoration:none}.wp-credits-list a{text-decoration:none}.wp-credits-list a:active,.wp-credits-list a:focus,.wp-credits-list a:hover{text-decoration:underline}.about__container ul{list-style:disc;margin-left:calc(var(--gap)/ 2)}.about__container li{margin-bottom:.5rem}.about__container img{margin:0;max-width:100%;vertical-align:middle}.about__container .about__image{margin:0}.about__container .about__image img{max-width:100%;width:100%;height:auto}.about__container .about__image figcaption{margin-top:.5em;text-align:center}.about__container .about__image .wp-video{margin-left:auto;margin-right:auto}.about__container .about__image+h3{margin-top:1.5em}.about__container .column .about__image{margin-bottom:calc(var(--gap)/ 2)}.about__container hr{margin:0;height:var(--gap);border:none;border-top:4px solid #d9d9d9}.about__container hr.is-small{height:calc(var(--gap)/ 4)}.about__container hr.is-large{height:calc(var(--gap) * 2);margin:calc(var(--gap)/ 2) auto}.about__container .notice,.about__container div.error,.about__container div.updated{display:none!important}.about__section{font-size:1.125rem;line-height:1.55}.about__section.is-feature{font-size:1.6em}@media screen and (max-width:480px){.about__section.is-feature{font-size:1.4em}.about__container h1,.about__container h2,.about__container h3.is-larger-heading{font-size:2em}}.about__header{--about-header-image-width:780px;--about-header-image-height:550px;--about-header-bg-width:var(--about-header-image-width);--about-header-bg-height:var(--about-header-image-height);--about-header-bg-offset-block:0;position:relative;margin-bottom:var(--gap);padding-top:0;color:var(--text-light);background:var(--background) url('../images/about-header-about.svg?ver=6.1') no-repeat;background-size:var(--about-header-bg-width) var(--about-header-bg-height);background-position:center top var(--about-header-bg-offset-block)}.credits-php .about__header{--about-header-image-width:863px;--about-header-image-height:550px;background-image:url('../images/about-header-credits.svg?ver=6.1')}.freedoms-php .about__header{--about-header-image-width:782px;--about-header-image-height:510px;background-image:url('../images/about-header-freedoms.svg?ver=6.1')}.privacy-php .about__header{--about-header-image-width:1005px;--about-header-image-height:500px;--about-header-bg-offset-block:calc(var(--gap) * -2);background-image:url('../images/about-header-privacy.svg?ver=6.1')}.about__header-image{margin:0 var(--gap) 3em}.about__header-title{box-sizing:border-box;margin:0 var(--gap);padding:9rem 0 0;text-align:center}.about__header-title h1{margin:0 0 1rem;padding:0;font-size:clamp(3rem, 20vw - 9rem, 6rem);line-height:1;font-weight:400}.credits-php .about__header-title h1,.freedoms-php .about__header-title h1,.privacy-php .about__header-title h1{font-size:clamp(3rem, 10vw - 3rem, 4.5rem)}.about__header-text{box-sizing:border-box;max-width:22em;margin:0 auto 10rem;padding:0;font-size:1.6rem;line-height:1.15;text-align:center}.credits-php .about__header-text{margin-bottom:9rem}.about__header-navigation{position:relative;z-index:1;display:flex;justify-content:center;padding-top:0;background:var(--nav-background);color:var(--nav-color);border-bottom:3px solid var(--nav-border)}.about__header-navigation .nav-tab{margin-left:0;padding:calc(var(--gap) * .75) var(--gap);float:none;font-size:1.4em;line-height:1;border-width:0 0 3px;border-style:solid;border-color:transparent;background:0 0;color:inherit}.about__header-navigation .nav-tab:active,.about__header-navigation .nav-tab:hover{background-color:var(--nav-current);color:var(--text-light)}.about__header-navigation .nav-tab-active{margin-bottom:-3px;color:var(--nav-current);border-width:0 0 6px;border-color:var(--nav-current)}.about__header-navigation .nav-tab-active:active,.about__header-navigation .nav-tab-active:hover{background-color:var(--nav-current);color:var(--text-light);border-color:var(--nav-current)}@media screen and (max-width:960px){.about__header{--about-header-bg-width:calc(var(--about-header-image-width) * 0.85);--about-header-bg-height:calc(var(--about-header-image-height) * 0.85)}.privacy-php .about__header{--about-header-bg-offset-block:0}.about__header-title h1{font-size:clamp(3rem, 13.33vw - 2rem, 6rem)}.credits-php .about__header-title h1,.freedoms-php .about__header-title h1,.privacy-php .about__header-title h1{font-size:clamp(3rem, 6.67vw - .5rem, 4.5rem)}}@media screen and (max-width:782px){.about__container .about__header-text{font-size:1.4em}.about__header-container{display:block}.about__header-image,.about__header-title{margin-left:calc(var(--gap)/ 2);margin-right:calc(var(--gap)/ 2)}.about__header-text{margin-top:0}.about__header-navigation .nav-tab{margin-top:0;margin-right:0;padding-left:calc(var(--gap)/ 2);padding-right:calc(var(--gap)/ 2)}}@media screen and (max-width:600px){.about__header{--about-header-bg-width:calc(var(--about-header-image-width) * 0.75);--about-header-bg-height:calc(var(--about-header-image-height) * 0.75)}}@media screen and (max-width:480px){.about__header,.credits-php .about__header,.freedoms-php .about__header,.privacy-php .about__header{background-image:none}.about__header-title p{font-size:2.4em}.about__header-title{padding-top:2rem}.about__header-text,.credits-php .about__header-text{margin-left:calc(var(--gap)/ 2);margin-right:calc(var(--gap)/ 2);margin-bottom:2rem}.about__header-navigation{display:block}.about__header-navigation .nav-tab{display:block;margin-bottom:0;padding:calc(var(--gap)/ 2);border-left-width:6px;border-bottom:none}.about__header-navigation .nav-tab-active{border-bottom:none;border-left-width:6px}}.about__section .wp-people-group-title{margin-bottom:calc(var(--gap) * 2);text-align:center}.about__section .wp-people-group{margin:0;display:flex;flex-wrap:wrap}.about__section .wp-person{display:inline-block;vertical-align:top;box-sizing:border-box;margin-bottom:var(--gap);width:25%;text-align:center}.about__section .compact .wp-person{height:auto;width:20%}.about__section .wp-person-avatar{display:block;margin:0 auto calc(var(--gap)/ 2);width:140px;height:140px;border-radius:100%;overflow:hidden;background:var(--accent-1)}.about__section .wp-person .gravatar{width:140px;height:140px;filter:grayscale(100%);mix-blend-mode:screen}.about__section .compact .wp-person .gravatar,.about__section .compact .wp-person-avatar{width:80px;height:80px}.about__section .wp-person .web{font-size:1.4em;font-weight:600;text-decoration:none}.about__section .wp-person .web:hover{text-decoration:underline}.about__section .compact .wp-person .web{font-size:1.2em}.about__section .wp-person .title{display:block;margin-top:.5em}@media screen and (max-width:782px){.about__section .wp-person{width:33%}.about__section .compact .wp-person{width:25%}.about__section .wp-person .gravatar,.about__section .wp-person-avatar{width:120px;height:120px}}@media screen and (max-width:600px){.about__section .wp-person{width:50%}.about__section .compact .wp-person{width:33%}.about__section .wp-person .web{font-size:1.2em}}@media screen and (max-width:480px){.about__section .wp-person{min-width:100%}.about__section .wp-person .web{font-size:1em}.about__section .compact .wp-person .web{font-size:1em}}.about__section .column .freedom-image{margin-bottom:var(--gap);max-height:180px}.about__section .column .privacy-image{display:block;margin-left:auto;margin-right:auto;max-width:25rem}.about-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.about-wrap.full-width-layout{max-width:1200px}.about-wrap-content{max-width:1050px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:3em 0 0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;width:100%;height:auto;vertical-align:middle}.about-wrap .inline-svg img{max-width:100%;width:auto;height:auto}.about-wrap video{margin:1.5em auto}.wp-badge{background:#0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;background-position:center 25px;background-size:80px 80px;color:#fff;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:140px;text-rendering:optimizeLegibility;box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20160308)}.about-wrap .wp-badge{position:absolute;top:0;right:0}.about-wrap .nav-tab{padding-right:15px;padding-left:15px;font-size:18px;line-height:1.33333333}.about-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2;font-size:2.8em;font-weight:400}.about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.about-wrap h4{font-size:16px;color:#23282d}.about-wrap p{line-height:1.5;font-size:16px}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap figcaption{font-size:13px;text-align:center;color:#fff;text-overflow:ellipsis}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.about-wrap .about-text{margin:1em 200px 1em 0;color:#555d66}.about-wrap .has-1-columns,.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:grid;max-width:800px;margin-top:40px;margin-left:auto;margin-right:auto}.about-wrap .column{margin-right:20px;margin-left:20px}.about-wrap .is-wide{max-width:760px}.about-wrap .is-fullwidth{max-width:100%}.about-wrap .has-1-columns{display:block;max-width:680px;margin:0 auto 40px}.about-wrap .has-2-columns{grid-template-columns:1fr 1fr}.about-wrap .has-2-columns .column:nth-of-type(2n+1){grid-column-start:1}.about-wrap .has-2-columns .column:nth-of-type(2n){grid-column-start:2}.about-wrap .has-2-columns.is-wider-right{grid-template-columns:1fr 2fr}.about-wrap .has-2-columns.is-wider-left{grid-template-columns:2fr 1fr}.about-wrap .has-3-columns{grid-template-columns:repeat(3,1fr)}.about-wrap .has-3-columns .column:nth-of-type(3n+1){grid-column-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2){grid-column-start:2}.about-wrap .has-3-columns .column:nth-of-type(3n){grid-column-start:3}.about-wrap .has-4-columns{grid-template-columns:repeat(4,1fr)}.about-wrap .has-4-columns .column:nth-of-type(4n+1){grid-column-start:1}.about-wrap .has-4-columns .column:nth-of-type(4n+2){grid-column-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n+3){grid-column-start:3}.about-wrap .has-4-columns .column:nth-of-type(4n){grid-column-start:4}.about-wrap .column :first-child{margin-top:0}.about-wrap .aligncenter{text-align:center}.about-wrap .alignleft{float:left;margin-right:40px}.about-wrap .alignright{float:right;margin-left:40px}.about-wrap .is-vertically-aligned-top{align-self:start}.about-wrap .is-vertically-aligned-center{align-self:center}.about-wrap .is-vertically-aligned-bottom{align-self:end}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #ddd}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .lead-description{font-size:1.5em;text-align:center}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .headline-feature{margin:0 auto 40px;max-width:680px}.about-wrap .headline-feature h2{margin:50px 0 0}.about-wrap .headline-feature img{max-width:600px;width:100%}.about-wrap .return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:600}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap h2.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit;font-weight:600;text-align:left}.about-wrap .wp-people-group{padding:0 5px;margin:0 -15px 0 -5px}.about-wrap .compact{margin-bottom:0}.about-wrap .wp-person{display:inline-block;vertical-align:top;margin-right:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap .wp-person .gravatar{float:left;margin:0 10px 10px 0;padding:1px;width:60px;height:60px}.about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.about-wrap .wp-person .title{display:block}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:600}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}.freedoms-php .column .freedoms-image{background-image:url('../images/freedoms.png');background-size:100%;padding-top:100%}.freedoms-php .column:nth-of-type(2) .freedoms-image{background-position:0 34%}.freedoms-php .column:nth-of-type(3) .freedoms-image{background-position:0 66%}.freedoms-php .column:nth-of-type(4) .freedoms-image{background-position:0 100%}@media screen and (max-width:782px){.about-wrap .has-3-columns,.about-wrap .has-4-columns{grid-template-columns:1fr 1fr}.about-wrap .has-3-columns .column:nth-of-type(3n+1),.about-wrap .has-4-columns .column:nth-of-type(4n+1){grid-column-start:1;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n+2),.about-wrap .has-4-columns .column:nth-of-type(4n+2){grid-column-start:2;grid-row-start:1}.about-wrap .has-3-columns .column:nth-of-type(3n),.about-wrap .has-4-columns .column:nth-of-type(4n+3){grid-column-start:1;grid-row-start:2}.about-wrap .has-4-columns .column:nth-of-type(4n){grid-column-start:2;grid-row-start:2}}@media screen and (max-width:600px){.about-wrap .has-2-columns,.about-wrap .has-3-columns,.about-wrap .has-4-columns{display:block}.about-wrap :not(.is-wider-right):not(.is-wider-left) .column{margin-right:0;margin-left:0}.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:grid}}@media only screen and (max-width:500px){.about-wrap{margin-right:20px;margin-left:10px}.about-wrap .about-text,.about-wrap h1{margin-right:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}}@media only screen and (max-width:480px){.about-wrap .has-2-columns.is-wider-left,.about-wrap .has-2-columns.is-wider-right{display:block}.about-wrap .column{margin-right:0;margin-left:0}.about-wrap .has-2-columns.is-wider-left img,.about-wrap .has-2-columns.is-wider-right img{max-width:160px}} \ No newline at end of file diff --git a/build/wp-admin/css/admin-menu-rtl.css b/build/wp-admin/css/admin-menu-rtl.css deleted file mode 100644 index 106ca4d91c..0000000000 --- a/build/wp-admin/css/admin-menu-rtl.css +++ /dev/null @@ -1,858 +0,0 @@ -/*! This file is auto-generated */ -#adminmenuback, -#adminmenuwrap, -#adminmenu, -#adminmenu .wp-submenu { - width: 160px; - background-color: #1d2327; -} - -#adminmenuback { - position: fixed; - top: 0; - bottom: -120px; - z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */ -} - -.php-error #adminmenuback { - position: absolute; -} - -.php-error #adminmenuback, -.php-error #adminmenuwrap { - margin-top: 2em; -} - -#adminmenu { - clear: right; - margin: 12px 0; - padding: 0; - list-style: none; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 36px; -} - -/* New Menu icons */ - -/* hide background-image for icons above */ -.menu-icon-dashboard div.wp-menu-image, -.menu-icon-post div.wp-menu-image, -.menu-icon-media div.wp-menu-image, -.menu-icon-links div.wp-menu-image, -.menu-icon-page div.wp-menu-image, -.menu-icon-comments div.wp-menu-image, -.menu-icon-appearance div.wp-menu-image, -.menu-icon-plugins div.wp-menu-image, -.menu-icon-users div.wp-menu-image, -.menu-icon-tools div.wp-menu-image, -.menu-icon-settings div.wp-menu-image, -.menu-icon-site div.wp-menu-image, -.menu-icon-generic div.wp-menu-image { - background-image: none !important; -} - -/*------------------------------------------------------------------------------ - 7.0 - Main Navigation (Left Menu) -------------------------------------------------------------------------------*/ - -#adminmenuwrap { - position: relative; - float: right; - z-index: 9990; -} - -/* side admin menu */ -#adminmenu * { - -webkit-user-select: none; - user-select: none; -} - -#adminmenu li { - margin: 0; - padding: 0; -} - -#adminmenu a { - display: block; - line-height: 1.3; - padding: 2px 5px; - color: #f0f0f1; -} - -#adminmenu .wp-submenu a { - color: #c3c4c7; - color: rgba(240, 246, 252, 0.7); - font-size: 13px; - line-height: 1.4; - margin: 0; - padding: 5px 0; -} - -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - background: none; -} - -#adminmenu a:hover, -#adminmenu li.menu-top > a:focus, -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - color: #72aee6; -} - -#adminmenu a:hover, -#adminmenu a:focus, -.folded #adminmenu .wp-submenu-head:hover { - box-shadow: inset -4px 0 0 0 currentColor; - transition: box-shadow .1s linear; -} - -#adminmenu li.menu-top { - border: none; - min-height: 34px; - position: relative; -} - -#adminmenu .wp-submenu { - list-style: none; - position: absolute; - top: -1000em; - right: 160px; - overflow: visible; - word-wrap: break-word; - padding: 7px 0 8px; - z-index: 9999; - background-color: #2c3338; - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); -} - -.js #adminmenu .sub-open, -.js #adminmenu .opensub .wp-submenu, -#adminmenu a.menu-top:focus + .wp-submenu, -.no-js li.wp-has-submenu:hover .wp-submenu { - top: -1px; -} - -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - top: 0; -} - -#adminmenu .wp-has-current-submenu .wp-submenu, -.no-js li.wp-has-current-submenu:hover .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu { - position: relative; - z-index: 3; - top: auto; - right: auto; - left: auto; - bottom: auto; - border: 0 none; - margin-top: 0; - box-shadow: none; -} - -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); -} - -/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - position: relative; - background-color: #1d2327; - color: #72aee6; -} - -.folded #adminmenu li.menu-top:hover, -.folded #adminmenu li.opensub > a.menu-top, -.folded #adminmenu li > a.menu-top:focus { - z-index: 10000; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.current a.menu-top, -#adminmenu .wp-menu-arrow, -#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, -#adminmenu .wp-menu-arrow div { - background: #2271b1; - color: #fff; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu, -.folded #adminmenu a.menu-top:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu, -.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu { - top: 0; - right: 36px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; -} - -#adminmenu .wp-not-current-submenu .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 160px; - width: auto; - border-right: 5px solid transparent; -} - -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .opensub .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus { - color: #fff; -} - -#adminmenu .wp-not-current-submenu li > a, -.folded #adminmenu .wp-has-current-submenu li > a { - padding-left: 16px; - padding-right: 14px; - /* Exclude from the transition the outline for Windows High Contrast mode */ - transition: all .1s ease-in-out, outline 0s; -} - -#adminmenu .wp-has-current-submenu ul > li > a, -.folded #adminmenu li.menu-top .wp-submenu > li > a { - padding: 5px 12px; -} - -#adminmenu a.menu-top, -#adminmenu .wp-submenu-head { - font-size: 14px; - font-weight: 400; - line-height: 1.3; - padding: 0; -} - -#adminmenu .wp-submenu-head { - display: none; -} - -.folded #adminmenu .wp-menu-name { - position: absolute; - right: -999px; -} - -.folded #adminmenu .wp-submenu-head { - display: block; -} - -#adminmenu .wp-submenu li { - padding: 0; - margin: 0; -} - -#adminmenu .wp-menu-image img { - padding: 9px 0 0; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#adminmenu div.wp-menu-name { - padding: 8px 36px 8px 8px; - overflow-wrap: break-word; - word-wrap: break-word; - -ms-word-break: break-all; - word-break: break-word; - -webkit-hyphens: auto; - hyphens: auto; -} - -#adminmenu div.wp-menu-image { - float: right; - width: 36px; - height: 34px; - margin: 0; - text-align: center; -} - -#adminmenu div.wp-menu-image.svg { - background-repeat: no-repeat; - background-position: center; - background-size: 20px auto; -} - -div.wp-menu-image:before { - color: #a7aaad; - color: rgba(240, 246, 252, 0.6); - padding: 7px 0; - transition: all .1s ease-in-out; -} - -#adminmenu div.wp-menu-image:before { - color: #a7aaad; - color: rgba(240, 246, 252, 0.6); -} - -#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu .wp-has-current-submenu div.wp-menu-image:before, -#adminmenu .current div.wp-menu-image:before, -#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before { - color: #fff; -} - -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #72aee6; -} - -.folded #adminmenu div.wp-menu-image { - width: 35px; - height: 30px; - position: absolute; - z-index: 25; -} - -.folded #adminmenu a.menu-top { - height: 34px; -} - -/* Sticky admin menu */ -.sticky-menu #adminmenuwrap { - position: fixed; -} - -/* A new arrow */ - -.wp-menu-arrow { - display: none !important; -} - -ul#adminmenu a.wp-has-current-submenu { - position: relative; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - left: 0; - border: solid 8px transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-left-color: #f0f0f1; - top: 50%; - margin-top: -8px; -} - -.folded ul#adminmenu li:hover a.wp-has-current-submenu:after, -.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after { - display: none; -} - -.folded ul#adminmenu a.wp-has-current-submenu:after, -.folded ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; -} - -/* flyout menu arrow */ -#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - left: 0; - border: 8px solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - top: 10px; - z-index: 10000; -} - -.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, -.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-width: 4px; - margin-top: -4px; - top: 18px; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #2c3338; -} - -#adminmenu li.menu-top:hover .wp-menu-image img, -#adminmenu li.wp-has-current-submenu .wp-menu-image img { - opacity: 1; - filter: alpha(opacity=100); -} - -#adminmenu li.wp-menu-separator { - height: 5px; - padding: 0; - margin: 0 0 6px; - cursor: inherit; -} - -/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */ -#adminmenu div.separator { - height: 2px; - padding: 0; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #fff; - font-weight: 400; - font-size: 14px; - padding: 5px 11px 5px 4px; - margin: -7px -5px 4px 0; - border-width: 3px 5px 3px 0; - border-style: solid; - border-color: transparent; -} - -#adminmenu li.current, -.folded #adminmenu li.wp-menu-open { - border: 0 none; -} - -/* @todo: consider to use a single rule for these counters and the list table comments counters. */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - display: inline-block; - vertical-align: top; - box-sizing: border-box; - margin: 1px 2px -1px 0; - padding: 0 5px; - min-width: 18px; - height: 18px; - border-radius: 9px; - background-color: #d63638; - color: #fff; - font-size: 11px; - line-height: 1.6; - text-align: center; - z-index: 26; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins { - background-color: #d63638; - color: #fff; -} - -#adminmenu li span.count-0 { - display: none; -} - -#collapse-button { - display: block; - width: 100%; - height: 34px; - margin: 0; - border: none; - padding: 0; - position: relative; - overflow: visible; - background: none; - color: #a7aaad; - cursor: pointer; -} - -#collapse-button:hover { - color: #72aee6; -} - -#collapse-button:focus { - color: #72aee6; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; - outline-offset: -1px; -} - -#collapse-button .collapse-button-icon, -#collapse-button .collapse-button-label { - /* absolutely positioned to avoid 1px shift in IE when button is pressed */ - display: block; - position: absolute; - top: 0; - right: 0; -} - -#collapse-button .collapse-button-label { - top: 8px; -} - -#collapse-button .collapse-button-icon { - width: 36px; - height: 34px; -} - -#collapse-button .collapse-button-label { - padding: 0 36px 0 0; -} - -.folded #collapse-button .collapse-button-label { - display: none; -} - -#collapse-button .collapse-button-icon:after { - content: "\f148"; - display: block; - position: relative; - top: 7px; - text-align: center; - font: normal 20px/1 dashicons !important; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* rtl:ignore */ -.folded #collapse-button .collapse-button-icon:after, -.rtl #collapse-button .collapse-button-icon:after { - transform: rotate(180deg); -} - -.rtl.folded #collapse-button .collapse-button-icon:after { - transform: none; -} - -#collapse-button .collapse-button-icon:after, -#collapse-button .collapse-button-label { - transition: all .1s ease-in-out; -} - -/** - * Toolbar menu toggle - */ -li#wp-admin-bar-menu-toggle { - display: none; -} - -/* Hide-if-customize for items we can't add classes to */ -.customize-support #menu-appearance a[href="themes.php?page=custom-header"], -.customize-support #menu-appearance a[href="themes.php?page=custom-background"] { - display: none; -} - -/* Auto-folding of the admin menu */ -@media only screen and (max-width: 960px) { - .auto-fold #wpcontent, - .auto-fold #wpfooter { - margin-right: 36px; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap, - .auto-fold #adminmenu, - .auto-fold #adminmenu li.menu-top { - width: 36px; - } - - .auto-fold #adminmenu .wp-submenu.sub-open, - .auto-fold #adminmenu .opensub .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, - .auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu, - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - top: 0; - right: 36px; - } - - .auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; - margin-left: -1px; - padding: 7px 0 8px; - z-index: 9999; - } - - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 150px; - width: auto; - } - - .auto-fold #adminmenu .wp-has-current-submenu li > a { - padding-left: 16px; - padding-right: 14px; - } - - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding-right: 12px; - } - - .auto-fold #adminmenu .wp-menu-name { - position: absolute; - right: -999px; - } - - .auto-fold #adminmenu .wp-submenu-head { - display: block; - } - - .auto-fold #adminmenu div.wp-menu-image { - height: 30px; - width: 34px; - position: absolute; - z-index: 25; - } - - .auto-fold #adminmenu a.menu-top { - min-height: 34px; - } - - .auto-fold #adminmenu li.wp-menu-open { - border: 0 none; - } - - .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { - margin-bottom: 0; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { - display: none; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-width: 4px; - margin-top: -4px; - top: 16px; - } - - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; - } - - .auto-fold #adminmenu li.menu-top:hover, - .auto-fold #adminmenu li.opensub > a.menu-top, - .auto-fold #adminmenu li > a.menu-top:focus { - z-index: 10000; - } - - .auto-fold #collapse-menu .collapse-button-label { - display: none; - } - - /* rtl:ignore */ - .auto-fold #collapse-button .collapse-button-icon:after { - transform: rotate(180deg); - } - - .rtl.auto-fold #collapse-button .collapse-button-icon:after { - transform: none; - } - -} - -@media screen and (max-width: 782px) { - .auto-fold #wpcontent { - position: relative; - margin-right: 0; - padding-right: 10px; - } - - .sticky-menu #adminmenuwrap { - position: relative; - z-index: auto; - top: 0; - } - - /* Sidebar Adjustments */ - .auto-fold #adminmenu, - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - position: absolute; - width: 190px; - z-index: 100; - } - - .auto-fold #adminmenuback { - position: fixed; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - display: none; - } - - .auto-fold .wp-responsive-open #adminmenuback, - .auto-fold .wp-responsive-open #adminmenuwrap { - display: block; - } - - .auto-fold #adminmenu li.menu-top { - width: 100%; - } - - /* Resize the admin menu items to a comfortable touch size */ - .auto-fold #adminmenu li a { - font-size: 16px; - padding: 5px; - } - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding: 10px 20px 10px 10px; - } - - /* Restore the menu names */ - .auto-fold #adminmenu .wp-menu-name { - position: static; - } - - /* Switch the arrow side */ - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li.current > a.current:after { - border-width: 8px; - margin-top: -8px; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - display: none; - } - - /* Make the submenus appear correctly when tapped. */ - #adminmenu .wp-submenu { - position: relative; - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu, - .auto-fold #adminmenu .wp-menu-open .wp-submenu { - position: relative; - display: block; - top: 0; - right: -1px; - box-shadow: none; - } - - .auto-fold #adminmenu .selected .wp-submenu:after, - .auto-fold #adminmenu .wp-menu-open .wp-submenu:after { - display: none; - } - - .auto-fold #adminmenu .opensub .wp-submenu { - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu { - display: block; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { - display: block; - } - - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - position: relative; - right: -1px; - left: 0; - top: 0; - } - - #adminmenu .wp-not-current-submenu .wp-submenu, - .folded #adminmenu .wp-has-current-submenu .wp-submenu { - border-right: none; - } - - /* Remove submenu headers and adjust sub meu*/ - #adminmenu .wp-submenu .wp-submenu-head { - display: none; - } - - /* Toolbar menu toggle */ - #wp-responsive-toggle { - position: fixed; - top: 5px; - right: 4px; - padding-left: 10px; - z-index: 99999; - border: none; - box-sizing: border-box; - } - - #wpadminbar #wp-admin-bar-menu-toggle a { - display: block; - padding: 0; - overflow: hidden; - outline: none; - text-decoration: none; - border: 1px solid transparent; - background: none; - height: 44px; - margin-right: -1px; - } - - .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #2c3338; - } - - li#wp-admin-bar-menu-toggle { - display: block; - } - - #wpadminbar #wp-admin-bar-menu-toggle a:hover { - border: 1px solid transparent; - } - - #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - content: "\f228"; - display: inline-block; - float: right; - font: normal 40px/45px dashicons; - vertical-align: middle; - outline: none; - margin: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - height: 44px; - width: 50px; - padding: 0; - border: none; - text-align: center; - text-decoration: none; - box-sizing: border-box; - } - - .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #72aee6; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - #adminmenuwrap, - #adminmenuback { - display: none; - } - - .wp-responsive-open #adminmenuwrap, - .wp-responsive-open #adminmenuback { - display: block; - } - - .auto-fold #adminmenu { - top: 46px; - } -} diff --git a/build/wp-admin/css/admin-menu-rtl.min.css b/build/wp-admin/css/admin-menu-rtl.min.css deleted file mode 100644 index 0cd449d915..0000000000 --- a/build/wp-admin/css/admin-menu-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#1d2327}#adminmenuback{position:fixed;top:0;bottom:-120px;z-index:1}.php-error #adminmenuback{position:absolute}.php-error #adminmenuback,.php-error #adminmenuwrap{margin-top:2em}#adminmenu{clear:right;margin:12px 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:right;z-index:9990}#adminmenu *{-webkit-user-select:none;user-select:none}#adminmenu li{margin:0;padding:0}#adminmenu a{display:block;line-height:1.3;padding:2px 5px;color:#f0f0f1}#adminmenu .wp-submenu a{color:#c3c4c7;color:rgba(240,246,252,.7);font-size:13px;line-height:1.4;margin:0;padding:5px 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#72aee6}#adminmenu a:focus,#adminmenu a:hover,.folded #adminmenu .wp-submenu-head:hover{box-shadow:inset -4px 0 0 0 currentColor;transition:box-shadow .1s linear}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;right:160px;overflow:visible;word-wrap:break-word;padding:7px 0 8px;z-index:9999;background-color:#2c3338;box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:0}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;right:auto;left:auto;bottom:auto;border:0 none;margin-top:0;box-shadow:none}.folded #adminmenu .wp-has-current-submenu .wp-submenu{box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#1d2327;color:#72aee6}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{background:#2271b1;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;right:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto;border-right:5px solid transparent}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px;transition:all .1s ease-in-out,outline 0s}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:5px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:1.3;padding:0}#adminmenu .wp-submenu-head{display:none}.folded #adminmenu .wp-menu-name{position:absolute;right:-999px}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6}#adminmenu div.wp-menu-name{padding:8px 36px 8px 8px;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}#adminmenu div.wp-menu-image{float:right;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;background-size:20px auto}div.wp-menu-image:before{color:#a7aaad;color:rgba(240,246,252,.6);padding:7px 0;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#a7aaad;color:rgba(240,246,252,.6)}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#72aee6}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.sticky-menu #adminmenuwrap{position:fixed}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{left:0;border:solid 8px transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-left-color:#f0f0f1;top:50%;margin-top:-8px}.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after,.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{left:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#2c3338}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:5px 11px 5px 4px;margin:-7px -5px 4px 0;border-width:3px 5px 3px 0;border-style:solid;border-color:transparent}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0 none}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 2px -1px 0;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#d63638;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#d63638;color:#fff}#adminmenu li span.count-0{display:none}#collapse-button{display:block;width:100%;height:34px;margin:0;border:none;padding:0;position:relative;overflow:visible;background:0 0;color:#a7aaad;cursor:pointer}#collapse-button:hover{color:#72aee6}#collapse-button:focus{color:#72aee6;outline:1px solid transparent;outline-offset:-1px}#collapse-button .collapse-button-icon,#collapse-button .collapse-button-label{display:block;position:absolute;top:0;right:0}#collapse-button .collapse-button-label{top:8px}#collapse-button .collapse-button-icon{width:36px;height:34px}#collapse-button .collapse-button-label{padding:0 36px 0 0}.folded #collapse-button .collapse-button-label{display:none}#collapse-button .collapse-button-icon:after{content:"\f148";display:block;position:relative;top:7px;text-align:center;font:normal 20px/1 dashicons!important;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button .collapse-button-icon:after,.rtl #collapse-button .collapse-button-icon:after{transform:rotate(180deg)}.rtl.folded #collapse-button .collapse-button-icon:after{transform:none}#collapse-button .collapse-button-icon:after,#collapse-button .collapse-button-label{transition:all .1s ease-in-out}li#wp-admin-bar-menu-toggle{display:none}.customize-support #menu-appearance a[href="themes.php?page=custom-background"],.customize-support #menu-appearance a[href="themes.php?page=custom-header"]{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-right:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;right:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-left:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-right:12px}.auto-fold #adminmenu .wp-menu-name{position:absolute;right:-999px}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{min-height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0 none}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-menu .collapse-button-label{display:none}.auto-fold #collapse-button .collapse-button-icon:after{transform:rotate(180deg)}.rtl.auto-fold #collapse-button .collapse-button-icon:after{transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-right:0;padding-right:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback{position:fixed}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 20px 10px 10px}.auto-fold #adminmenu .wp-menu-name{position:static}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;right:-1px;box-shadow:none}.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .opensub .wp-submenu{display:none}.auto-fold #adminmenu .selected .wp-submenu{display:block}.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;right:-1px;left:0;top:0}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{border-right:none}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;right:4px;padding-left:10px;z-index:99999;border:none;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-right:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#2c3338}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:"\f228";display:inline-block;float:right;font:normal 40px/45px dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;box-sizing:border-box}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#72aee6}}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}} \ No newline at end of file diff --git a/build/wp-admin/css/admin-menu.css b/build/wp-admin/css/admin-menu.css deleted file mode 100644 index 0dc59c6e6b..0000000000 --- a/build/wp-admin/css/admin-menu.css +++ /dev/null @@ -1,857 +0,0 @@ -#adminmenuback, -#adminmenuwrap, -#adminmenu, -#adminmenu .wp-submenu { - width: 160px; - background-color: #1d2327; -} - -#adminmenuback { - position: fixed; - top: 0; - bottom: -120px; - z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */ -} - -.php-error #adminmenuback { - position: absolute; -} - -.php-error #adminmenuback, -.php-error #adminmenuwrap { - margin-top: 2em; -} - -#adminmenu { - clear: left; - margin: 12px 0; - padding: 0; - list-style: none; -} - -.folded #adminmenuback, -.folded #adminmenuwrap, -.folded #adminmenu, -.folded #adminmenu li.menu-top { - width: 36px; -} - -/* New Menu icons */ - -/* hide background-image for icons above */ -.menu-icon-dashboard div.wp-menu-image, -.menu-icon-post div.wp-menu-image, -.menu-icon-media div.wp-menu-image, -.menu-icon-links div.wp-menu-image, -.menu-icon-page div.wp-menu-image, -.menu-icon-comments div.wp-menu-image, -.menu-icon-appearance div.wp-menu-image, -.menu-icon-plugins div.wp-menu-image, -.menu-icon-users div.wp-menu-image, -.menu-icon-tools div.wp-menu-image, -.menu-icon-settings div.wp-menu-image, -.menu-icon-site div.wp-menu-image, -.menu-icon-generic div.wp-menu-image { - background-image: none !important; -} - -/*------------------------------------------------------------------------------ - 7.0 - Main Navigation (Left Menu) -------------------------------------------------------------------------------*/ - -#adminmenuwrap { - position: relative; - float: left; - z-index: 9990; -} - -/* side admin menu */ -#adminmenu * { - -webkit-user-select: none; - user-select: none; -} - -#adminmenu li { - margin: 0; - padding: 0; -} - -#adminmenu a { - display: block; - line-height: 1.3; - padding: 2px 5px; - color: #f0f0f1; -} - -#adminmenu .wp-submenu a { - color: #c3c4c7; - color: rgba(240, 246, 252, 0.7); - font-size: 13px; - line-height: 1.4; - margin: 0; - padding: 5px 0; -} - -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - background: none; -} - -#adminmenu a:hover, -#adminmenu li.menu-top > a:focus, -#adminmenu .wp-submenu a:hover, -#adminmenu .wp-submenu a:focus { - color: #72aee6; -} - -#adminmenu a:hover, -#adminmenu a:focus, -.folded #adminmenu .wp-submenu-head:hover { - box-shadow: inset 4px 0 0 0 currentColor; - transition: box-shadow .1s linear; -} - -#adminmenu li.menu-top { - border: none; - min-height: 34px; - position: relative; -} - -#adminmenu .wp-submenu { - list-style: none; - position: absolute; - top: -1000em; - left: 160px; - overflow: visible; - word-wrap: break-word; - padding: 7px 0 8px; - z-index: 9999; - background-color: #2c3338; - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); -} - -.js #adminmenu .sub-open, -.js #adminmenu .opensub .wp-submenu, -#adminmenu a.menu-top:focus + .wp-submenu, -.no-js li.wp-has-submenu:hover .wp-submenu { - top: -1px; -} - -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - top: 0; -} - -#adminmenu .wp-has-current-submenu .wp-submenu, -.no-js li.wp-has-current-submenu:hover .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu { - position: relative; - z-index: 3; - top: auto; - left: auto; - right: auto; - bottom: auto; - border: 0 none; - margin-top: 0; - box-shadow: none; -} - -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); -} - -/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */ -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - position: relative; - background-color: #1d2327; - color: #72aee6; -} - -.folded #adminmenu li.menu-top:hover, -.folded #adminmenu li.opensub > a.menu-top, -.folded #adminmenu li > a.menu-top:focus { - z-index: 10000; -} - -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.current a.menu-top, -#adminmenu .wp-menu-arrow, -#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, -#adminmenu .wp-menu-arrow div { - background: #2271b1; - color: #fff; -} - -.folded #adminmenu .wp-submenu.sub-open, -.folded #adminmenu .opensub .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, -.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu, -.folded #adminmenu a.menu-top:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu, -.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu { - top: 0; - left: 36px; -} - -.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; -} - -#adminmenu .wp-not-current-submenu .wp-submenu, -.folded #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 160px; - width: auto; - border-left: 5px solid transparent; -} - -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .opensub .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus { - color: #fff; -} - -#adminmenu .wp-not-current-submenu li > a, -.folded #adminmenu .wp-has-current-submenu li > a { - padding-right: 16px; - padding-left: 14px; - /* Exclude from the transition the outline for Windows High Contrast mode */ - transition: all .1s ease-in-out, outline 0s; -} - -#adminmenu .wp-has-current-submenu ul > li > a, -.folded #adminmenu li.menu-top .wp-submenu > li > a { - padding: 5px 12px; -} - -#adminmenu a.menu-top, -#adminmenu .wp-submenu-head { - font-size: 14px; - font-weight: 400; - line-height: 1.3; - padding: 0; -} - -#adminmenu .wp-submenu-head { - display: none; -} - -.folded #adminmenu .wp-menu-name { - position: absolute; - left: -999px; -} - -.folded #adminmenu .wp-submenu-head { - display: block; -} - -#adminmenu .wp-submenu li { - padding: 0; - margin: 0; -} - -#adminmenu .wp-menu-image img { - padding: 9px 0 0; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#adminmenu div.wp-menu-name { - padding: 8px 8px 8px 36px; - overflow-wrap: break-word; - word-wrap: break-word; - -ms-word-break: break-all; - word-break: break-word; - -webkit-hyphens: auto; - hyphens: auto; -} - -#adminmenu div.wp-menu-image { - float: left; - width: 36px; - height: 34px; - margin: 0; - text-align: center; -} - -#adminmenu div.wp-menu-image.svg { - background-repeat: no-repeat; - background-position: center; - background-size: 20px auto; -} - -div.wp-menu-image:before { - color: #a7aaad; - color: rgba(240, 246, 252, 0.6); - padding: 7px 0; - transition: all .1s ease-in-out; -} - -#adminmenu div.wp-menu-image:before { - color: #a7aaad; - color: rgba(240, 246, 252, 0.6); -} - -#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu .wp-has-current-submenu div.wp-menu-image:before, -#adminmenu .current div.wp-menu-image:before, -#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before { - color: #fff; -} - -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #72aee6; -} - -.folded #adminmenu div.wp-menu-image { - width: 35px; - height: 30px; - position: absolute; - z-index: 25; -} - -.folded #adminmenu a.menu-top { - height: 34px; -} - -/* Sticky admin menu */ -.sticky-menu #adminmenuwrap { - position: fixed; -} - -/* A new arrow */ - -.wp-menu-arrow { - display: none !important; -} - -ul#adminmenu a.wp-has-current-submenu { - position: relative; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - right: 0; - border: solid 8px transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-right-color: #f0f0f1; - top: 50%; - margin-top: -8px; -} - -.folded ul#adminmenu li:hover a.wp-has-current-submenu:after, -.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after { - display: none; -} - -.folded ul#adminmenu a.wp-has-current-submenu:after, -.folded ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; -} - -/* flyout menu arrow */ -#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - right: 0; - border: 8px solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - top: 10px; - z-index: 10000; -} - -.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, -.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-width: 4px; - margin-top: -4px; - top: 18px; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #2c3338; -} - -#adminmenu li.menu-top:hover .wp-menu-image img, -#adminmenu li.wp-has-current-submenu .wp-menu-image img { - opacity: 1; - filter: alpha(opacity=100); -} - -#adminmenu li.wp-menu-separator { - height: 5px; - padding: 0; - margin: 0 0 6px; - cursor: inherit; -} - -/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */ -#adminmenu div.separator { - height: 2px; - padding: 0; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #fff; - font-weight: 400; - font-size: 14px; - padding: 5px 4px 5px 11px; - margin: -7px 0 4px -5px; - border-width: 3px 0 3px 5px; - border-style: solid; - border-color: transparent; -} - -#adminmenu li.current, -.folded #adminmenu li.wp-menu-open { - border: 0 none; -} - -/* @todo: consider to use a single rule for these counters and the list table comments counters. */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - display: inline-block; - vertical-align: top; - box-sizing: border-box; - margin: 1px 0 -1px 2px; - padding: 0 5px; - min-width: 18px; - height: 18px; - border-radius: 9px; - background-color: #d63638; - color: #fff; - font-size: 11px; - line-height: 1.6; - text-align: center; - z-index: 26; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins { - background-color: #d63638; - color: #fff; -} - -#adminmenu li span.count-0 { - display: none; -} - -#collapse-button { - display: block; - width: 100%; - height: 34px; - margin: 0; - border: none; - padding: 0; - position: relative; - overflow: visible; - background: none; - color: #a7aaad; - cursor: pointer; -} - -#collapse-button:hover { - color: #72aee6; -} - -#collapse-button:focus { - color: #72aee6; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; - outline-offset: -1px; -} - -#collapse-button .collapse-button-icon, -#collapse-button .collapse-button-label { - /* absolutely positioned to avoid 1px shift in IE when button is pressed */ - display: block; - position: absolute; - top: 0; - left: 0; -} - -#collapse-button .collapse-button-label { - top: 8px; -} - -#collapse-button .collapse-button-icon { - width: 36px; - height: 34px; -} - -#collapse-button .collapse-button-label { - padding: 0 0 0 36px; -} - -.folded #collapse-button .collapse-button-label { - display: none; -} - -#collapse-button .collapse-button-icon:after { - content: "\f148"; - display: block; - position: relative; - top: 7px; - text-align: center; - font: normal 20px/1 dashicons !important; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* rtl:ignore */ -.folded #collapse-button .collapse-button-icon:after, -.rtl #collapse-button .collapse-button-icon:after { - transform: rotate(180deg); -} - -.rtl.folded #collapse-button .collapse-button-icon:after { - transform: none; -} - -#collapse-button .collapse-button-icon:after, -#collapse-button .collapse-button-label { - transition: all .1s ease-in-out; -} - -/** - * Toolbar menu toggle - */ -li#wp-admin-bar-menu-toggle { - display: none; -} - -/* Hide-if-customize for items we can't add classes to */ -.customize-support #menu-appearance a[href="themes.php?page=custom-header"], -.customize-support #menu-appearance a[href="themes.php?page=custom-background"] { - display: none; -} - -/* Auto-folding of the admin menu */ -@media only screen and (max-width: 960px) { - .auto-fold #wpcontent, - .auto-fold #wpfooter { - margin-left: 36px; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap, - .auto-fold #adminmenu, - .auto-fold #adminmenu li.menu-top { - width: 36px; - } - - .auto-fold #adminmenu .wp-submenu.sub-open, - .auto-fold #adminmenu .opensub .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, - .auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu, - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - top: 0; - left: 36px; - } - - .auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - position: absolute; - top: -1000em; - margin-right: -1px; - padding: 7px 0 8px; - z-index: 9999; - } - - .auto-fold #adminmenu .wp-has-current-submenu .wp-submenu { - min-width: 150px; - width: auto; - } - - .auto-fold #adminmenu .wp-has-current-submenu li > a { - padding-right: 16px; - padding-left: 14px; - } - - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding-left: 12px; - } - - .auto-fold #adminmenu .wp-menu-name { - position: absolute; - left: -999px; - } - - .auto-fold #adminmenu .wp-submenu-head { - display: block; - } - - .auto-fold #adminmenu div.wp-menu-image { - height: 30px; - width: 34px; - position: absolute; - z-index: 25; - } - - .auto-fold #adminmenu a.menu-top { - min-height: 34px; - } - - .auto-fold #adminmenu li.wp-menu-open { - border: 0 none; - } - - .auto-fold #adminmenu .wp-has-current-submenu.menu-top-last { - margin-bottom: 0; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { - display: none; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-width: 4px; - margin-top: -4px; - top: 16px; - } - - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li a.current:after { - border-width: 4px; - margin-top: -4px; - } - - .auto-fold #adminmenu li.menu-top:hover, - .auto-fold #adminmenu li.opensub > a.menu-top, - .auto-fold #adminmenu li > a.menu-top:focus { - z-index: 10000; - } - - .auto-fold #collapse-menu .collapse-button-label { - display: none; - } - - /* rtl:ignore */ - .auto-fold #collapse-button .collapse-button-icon:after { - transform: rotate(180deg); - } - - .rtl.auto-fold #collapse-button .collapse-button-icon:after { - transform: none; - } - -} - -@media screen and (max-width: 782px) { - .auto-fold #wpcontent { - position: relative; - margin-left: 0; - padding-left: 10px; - } - - .sticky-menu #adminmenuwrap { - position: relative; - z-index: auto; - top: 0; - } - - /* Sidebar Adjustments */ - .auto-fold #adminmenu, - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - position: absolute; - width: 190px; - z-index: 100; - } - - .auto-fold #adminmenuback { - position: fixed; - } - - .auto-fold #adminmenuback, - .auto-fold #adminmenuwrap { - display: none; - } - - .auto-fold .wp-responsive-open #adminmenuback, - .auto-fold .wp-responsive-open #adminmenuwrap { - display: block; - } - - .auto-fold #adminmenu li.menu-top { - width: 100%; - } - - /* Resize the admin menu items to a comfortable touch size */ - .auto-fold #adminmenu li a { - font-size: 16px; - padding: 5px; - } - - .auto-fold #adminmenu li.menu-top .wp-submenu > li > a { - padding: 10px 10px 10px 20px; - } - - /* Restore the menu names */ - .auto-fold #adminmenu .wp-menu-name { - position: static; - } - - /* Switch the arrow side */ - .auto-fold ul#adminmenu a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu > li.current > a.current:after { - border-width: 8px; - margin-top: -8px; - } - - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after, - .auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - display: none; - } - - /* Make the submenus appear correctly when tapped. */ - #adminmenu .wp-submenu { - position: relative; - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu, - .auto-fold #adminmenu .wp-menu-open .wp-submenu { - position: relative; - display: block; - top: 0; - left: -1px; - box-shadow: none; - } - - .auto-fold #adminmenu .selected .wp-submenu:after, - .auto-fold #adminmenu .wp-menu-open .wp-submenu:after { - display: none; - } - - .auto-fold #adminmenu .opensub .wp-submenu { - display: none; - } - - .auto-fold #adminmenu .selected .wp-submenu { - display: block; - } - - .auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after, - .auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after { - display: block; - } - - .auto-fold #adminmenu a.menu-top:focus + .wp-submenu, - .auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu { - position: relative; - left: -1px; - right: 0; - top: 0; - } - - #adminmenu .wp-not-current-submenu .wp-submenu, - .folded #adminmenu .wp-has-current-submenu .wp-submenu { - border-left: none; - } - - /* Remove submenu headers and adjust sub meu*/ - #adminmenu .wp-submenu .wp-submenu-head { - display: none; - } - - /* Toolbar menu toggle */ - #wp-responsive-toggle { - position: fixed; - top: 5px; - left: 4px; - padding-right: 10px; - z-index: 99999; - border: none; - box-sizing: border-box; - } - - #wpadminbar #wp-admin-bar-menu-toggle a { - display: block; - padding: 0; - overflow: hidden; - outline: none; - text-decoration: none; - border: 1px solid transparent; - background: none; - height: 44px; - margin-left: -1px; - } - - .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #2c3338; - } - - li#wp-admin-bar-menu-toggle { - display: block; - } - - #wpadminbar #wp-admin-bar-menu-toggle a:hover { - border: 1px solid transparent; - } - - #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - content: "\f228"; - display: inline-block; - float: left; - font: normal 40px/45px dashicons; - vertical-align: middle; - outline: none; - margin: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - height: 44px; - width: 50px; - padding: 0; - border: none; - text-align: center; - text-decoration: none; - box-sizing: border-box; - } - - .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #72aee6; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - #adminmenuwrap, - #adminmenuback { - display: none; - } - - .wp-responsive-open #adminmenuwrap, - .wp-responsive-open #adminmenuback { - display: block; - } - - .auto-fold #adminmenu { - top: 46px; - } -} diff --git a/build/wp-admin/css/admin-menu.min.css b/build/wp-admin/css/admin-menu.min.css deleted file mode 100644 index 989d3c32a9..0000000000 --- a/build/wp-admin/css/admin-menu.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#1d2327}#adminmenuback{position:fixed;top:0;bottom:-120px;z-index:1}.php-error #adminmenuback{position:absolute}.php-error #adminmenuback,.php-error #adminmenuwrap{margin-top:2em}#adminmenu{clear:left;margin:12px 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:left;z-index:9990}#adminmenu *{-webkit-user-select:none;user-select:none}#adminmenu li{margin:0;padding:0}#adminmenu a{display:block;line-height:1.3;padding:2px 5px;color:#f0f0f1}#adminmenu .wp-submenu a{color:#c3c4c7;color:rgba(240,246,252,.7);font-size:13px;line-height:1.4;margin:0;padding:5px 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#72aee6}#adminmenu a:focus,#adminmenu a:hover,.folded #adminmenu .wp-submenu-head:hover{box-shadow:inset 4px 0 0 0 currentColor;transition:box-shadow .1s linear}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;left:160px;overflow:visible;word-wrap:break-word;padding:7px 0 8px;z-index:9999;background-color:#2c3338;box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:0}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;left:auto;right:auto;bottom:auto;border:0 none;margin-top:0;box-shadow:none}.folded #adminmenu .wp-has-current-submenu .wp-submenu{box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#1d2327;color:#72aee6}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu{background:#2271b1;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;left:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto;border-left:5px solid transparent}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px;transition:all .1s ease-in-out,outline 0s}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:5px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:1.3;padding:0}#adminmenu .wp-submenu-head{display:none}.folded #adminmenu .wp-menu-name{position:absolute;left:-999px}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6}#adminmenu div.wp-menu-name{padding:8px 8px 8px 36px;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}#adminmenu div.wp-menu-image{float:left;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;background-size:20px auto}div.wp-menu-image:before{color:#a7aaad;color:rgba(240,246,252,.6);padding:7px 0;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#a7aaad;color:rgba(240,246,252,.6)}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#72aee6}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.sticky-menu #adminmenuwrap{position:fixed}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{right:0;border:solid 8px transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#f0f0f1;top:50%;margin-top:-8px}.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after,.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{right:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#2c3338}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:5px 4px 5px 11px;margin:-7px 0 4px -5px;border-width:3px 0 3px 5px;border-style:solid;border-color:transparent}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0 none}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#d63638;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#d63638;color:#fff}#adminmenu li span.count-0{display:none}#collapse-button{display:block;width:100%;height:34px;margin:0;border:none;padding:0;position:relative;overflow:visible;background:0 0;color:#a7aaad;cursor:pointer}#collapse-button:hover{color:#72aee6}#collapse-button:focus{color:#72aee6;outline:1px solid transparent;outline-offset:-1px}#collapse-button .collapse-button-icon,#collapse-button .collapse-button-label{display:block;position:absolute;top:0;left:0}#collapse-button .collapse-button-label{top:8px}#collapse-button .collapse-button-icon{width:36px;height:34px}#collapse-button .collapse-button-label{padding:0 0 0 36px}.folded #collapse-button .collapse-button-label{display:none}#collapse-button .collapse-button-icon:after{content:"\f148";display:block;position:relative;top:7px;text-align:center;font:normal 20px/1 dashicons!important;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button .collapse-button-icon:after,.rtl #collapse-button .collapse-button-icon:after{transform:rotate(180deg)}.rtl.folded #collapse-button .collapse-button-icon:after{transform:none}#collapse-button .collapse-button-icon:after,#collapse-button .collapse-button-label{transition:all .1s ease-in-out}li#wp-admin-bar-menu-toggle{display:none}.customize-support #menu-appearance a[href="themes.php?page=custom-background"],.customize-support #menu-appearance a[href="themes.php?page=custom-header"]{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-left:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;left:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-right:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-left:12px}.auto-fold #adminmenu .wp-menu-name{position:absolute;left:-999px}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{min-height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0 none}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-menu .collapse-button-label{display:none}.auto-fold #collapse-button .collapse-button-icon:after{transform:rotate(180deg)}.rtl.auto-fold #collapse-button .collapse-button-icon:after{transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-left:0;padding-left:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback{position:fixed}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 10px 10px 20px}.auto-fold #adminmenu .wp-menu-name{position:static}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after,.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;left:-1px;box-shadow:none}.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .opensub .wp-submenu{display:none}.auto-fold #adminmenu .selected .wp-submenu{display:block}.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;left:-1px;right:0;top:0}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{border-left:none}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;left:4px;padding-right:10px;z-index:99999;border:none;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-left:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#2c3338}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:"\f228";display:inline-block;float:left;font:normal 40px/45px dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;box-sizing:border-box}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#72aee6}}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}} \ No newline at end of file diff --git a/build/wp-admin/css/code-editor-rtl.css b/build/wp-admin/css/code-editor-rtl.css deleted file mode 100644 index a485e6c6c3..0000000000 --- a/build/wp-admin/css/code-editor-rtl.css +++ /dev/null @@ -1,77 +0,0 @@ -/*! This file is auto-generated */ -.wrap [class*="CodeMirror-lint-marker"], -.wp-core-ui [class*="CodeMirror-lint-message"], -.wrap .CodeMirror-lint-marker-multiple { - background-image: none; -} - -.wp-core-ui .CodeMirror-lint-marker-error, -.wp-core-ui .CodeMirror-lint-marker-warning { - cursor: help; -} - -.wrap .CodeMirror-lint-marker-multiple { - position: absolute; - top: 0; -} - -.wrap [class*="CodeMirror-lint-marker"]:before { - font: normal 18px/1 dashicons; - position: relative; - top: -2px; -} - -.wp-core-ui [class*="CodeMirror-lint-message"]:before { - font: normal 16px/1 dashicons; - right: 16px; - position: absolute; -} - -.wp-core-ui .CodeMirror-lint-message-error, -.wp-core-ui .CodeMirror-lint-message-warning { - box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); - margin: 5px 0 2px; - padding: 3px 28px 3px 12px; -} - -.wp-core-ui .CodeMirror-lint-message-warning { - background-color: #fcf9e8; - border-right: 4px solid #dba617; -} - -.wrap .CodeMirror-lint-marker-warning:before, -.wp-core-ui .CodeMirror-lint-message-warning:before { - content: "\f534"; - color: #dba617; -} - -.wp-core-ui .CodeMirror-lint-message-error { - background-color: #fcf0f1; - border-right: 4px solid #d63638; -} - -.wrap .CodeMirror-lint-marker-error:before, -.wp-core-ui .CodeMirror-lint-message-error:before { - content: "\f153"; - color: #d63638; -} - -.wp-core-ui .CodeMirror-lint-tooltip { - background: none; - border: none; - border-radius: 0; - direction: rtl; -} - -.wrap .CodeMirror .CodeMirror-matchingbracket { - background: rgba(219, 166, 23, 0.3); - color: inherit; -} - -.CodeMirror { - text-align: right; -} - -.wrap .CodeMirror .CodeMirror-linenumber { - color: #646970; -} diff --git a/build/wp-admin/css/code-editor-rtl.min.css b/build/wp-admin/css/code-editor-rtl.min.css deleted file mode 100644 index d746eb2089..0000000000 --- a/build/wp-admin/css/code-editor-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fcf9e8;border-right:4px solid #dba617}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#dba617}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fcf0f1;border-right:4px solid #d63638}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#d63638}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(219,166,23,.3);color:inherit}.CodeMirror{text-align:right}.wrap .CodeMirror .CodeMirror-linenumber{color:#646970} \ No newline at end of file diff --git a/build/wp-admin/css/code-editor.css b/build/wp-admin/css/code-editor.css deleted file mode 100644 index 92c39405ba..0000000000 --- a/build/wp-admin/css/code-editor.css +++ /dev/null @@ -1,76 +0,0 @@ -.wrap [class*="CodeMirror-lint-marker"], -.wp-core-ui [class*="CodeMirror-lint-message"], -.wrap .CodeMirror-lint-marker-multiple { - background-image: none; -} - -.wp-core-ui .CodeMirror-lint-marker-error, -.wp-core-ui .CodeMirror-lint-marker-warning { - cursor: help; -} - -.wrap .CodeMirror-lint-marker-multiple { - position: absolute; - top: 0; -} - -.wrap [class*="CodeMirror-lint-marker"]:before { - font: normal 18px/1 dashicons; - position: relative; - top: -2px; -} - -.wp-core-ui [class*="CodeMirror-lint-message"]:before { - font: normal 16px/1 dashicons; - left: 16px; - position: absolute; -} - -.wp-core-ui .CodeMirror-lint-message-error, -.wp-core-ui .CodeMirror-lint-message-warning { - box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); - margin: 5px 0 2px; - padding: 3px 12px 3px 28px; -} - -.wp-core-ui .CodeMirror-lint-message-warning { - background-color: #fcf9e8; - border-left: 4px solid #dba617; -} - -.wrap .CodeMirror-lint-marker-warning:before, -.wp-core-ui .CodeMirror-lint-message-warning:before { - content: "\f534"; - color: #dba617; -} - -.wp-core-ui .CodeMirror-lint-message-error { - background-color: #fcf0f1; - border-left: 4px solid #d63638; -} - -.wrap .CodeMirror-lint-marker-error:before, -.wp-core-ui .CodeMirror-lint-message-error:before { - content: "\f153"; - color: #d63638; -} - -.wp-core-ui .CodeMirror-lint-tooltip { - background: none; - border: none; - border-radius: 0; - direction: ltr; -} - -.wrap .CodeMirror .CodeMirror-matchingbracket { - background: rgba(219, 166, 23, 0.3); - color: inherit; -} - -.CodeMirror { - text-align: left; -} - -.wrap .CodeMirror .CodeMirror-linenumber { - color: #646970; -} diff --git a/build/wp-admin/css/code-editor.min.css b/build/wp-admin/css/code-editor.min.css deleted file mode 100644 index fc08821a85..0000000000 --- a/build/wp-admin/css/code-editor.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fcf9e8;border-left:4px solid #dba617}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#dba617}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fcf0f1;border-left:4px solid #d63638}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#d63638}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(219,166,23,.3);color:inherit}.CodeMirror{text-align:left}.wrap .CodeMirror .CodeMirror-linenumber{color:#646970} \ No newline at end of file diff --git a/build/wp-admin/css/color-picker-rtl.css b/build/wp-admin/css/color-picker-rtl.css deleted file mode 100644 index 7b8e1842bf..0000000000 --- a/build/wp-admin/css/color-picker-rtl.css +++ /dev/null @@ -1,183 +0,0 @@ -/*! This file is auto-generated */ -/* rtl:ignore */ -.wp-color-picker { - width: 80px; - direction: ltr; -} - -.wp-picker-container .hidden { - display: none; -} - -/* Needs higher specificiity. */ -.wp-picker-container .wp-color-result.button { - min-height: 30px; - margin: 0 0 6px 6px; - padding: 0 30px 0 0; - font-size: 11px; -} - -.wp-color-result-text { - background: #f6f7f7; - border-radius: 2px 0 0 2px; - border-right: 1px solid #c3c4c7; - color: #50575e; - display: block; - line-height: 2.54545455; /* 28px */ - padding: 0 6px; - text-align: center; -} - -.wp-color-result:hover, -.wp-color-result:focus { - background: #f6f7f7; - border-color: #8c8f94; - color: #1d2327; -} - -.wp-color-result:hover:after, -.wp-color-result:focus:after { - color: #1d2327; - border-color: #a7aaad; - border-right: 1px solid #8c8f94; -} - -.wp-picker-container { - display: inline-block; -} - -.wp-color-result:focus { - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); -} - -.wp-color-result:active { - /* See Trac ticket #39662 */ - transform: none !important; -} - -.wp-picker-open + .wp-picker-input-wrap { - display: inline-block; - vertical-align: top; -} - -.wp-picker-input-wrap label { - display: inline-block; - vertical-align: top; -} - -/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */ -.form-table .wp-picker-input-wrap label { - margin: 0 !important; -} - -.wp-picker-input-wrap .button.wp-picker-default, -.wp-picker-input-wrap .button.wp-picker-clear, -.wp-customizer .wp-picker-input-wrap .button.wp-picker-default, -.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear { - margin-right: 6px; - padding: 0 8px; - line-height: 2.54545455; /* 28px */ - min-height: 30px; -} - -.wp-picker-container .iris-square-slider .ui-slider-handle:focus { - background-color: #50575e -} - -.wp-picker-container .iris-picker { - border-radius: 0; - border-color: #dcdcde; - margin-top: 6px; -} - -.wp-picker-container input[type="text"].wp-color-picker { - width: 4rem; - font-size: 12px; - font-family: monospace; - line-height: 2.33333333; /* 28px */ - margin: 0; - padding: 0 5px; - vertical-align: top; - min-height: 30px; -} - -.wp-color-picker::-webkit-input-placeholder { - color: #646970; -} - -.wp-color-picker::-moz-placeholder { - color: #646970; - opacity: 1; -} - -.wp-color-picker:-ms-input-placeholder { - color: #646970; -} - -.wp-picker-container input[type="text"].iris-error { - background-color: #fcf0f1; - border-color: #d63638; - color: #000; -} - -.iris-picker .ui-square-handle:focus, -.iris-picker .iris-strip .ui-slider-handle:focus { - border-color: #3582c4; - border-style: solid; - box-shadow: 0 0 0 1px #3582c4; - outline: 2px solid transparent; -} - -.iris-picker .iris-palette:focus { - box-shadow: 0 0 0 2px #3582c4; -} - -@media screen and (max-width: 782px) { - .wp-picker-container input[type="text"].wp-color-picker { - width: 5rem; - font-size: 16px; - line-height: 1.875; /* 30px */ - min-height: 32px; - } - - .wp-customizer .wp-picker-container input[type="text"].wp-color-picker { - padding: 0 5px; - } - - .wp-picker-input-wrap .button.wp-picker-default, - .wp-picker-input-wrap .button.wp-picker-clear { - padding: 0 8px; - line-height: 2.14285714; /* 30px */ - min-height: 32px; - } - - .wp-customizer .wp-picker-input-wrap .button.wp-picker-default, - .wp-customizer .wp-picker-input-wrap .button.wp-picker-clear { - padding: 0 8px; - font-size: 14px; - line-height: 2.14285714; /* 30px */ - min-height: 32px; - } - - .wp-picker-container .wp-color-result.button { - padding: 0 40px 0 0; - font-size: 14px; - line-height: 2.14285714; /* 30px */ - } - - .wp-customizer .wp-picker-container .wp-color-result.button { - font-size: 14px; - line-height: 2.14285714; /* 30px */ - } - - .wp-picker-container .wp-color-result-text { - padding: 0 14px; - font-size: inherit; - line-height: inherit; - } - - .wp-customizer .wp-picker-container .wp-color-result-text { - padding: 0 10px; - } -} diff --git a/build/wp-admin/css/color-picker-rtl.min.css b/build/wp-admin/css/color-picker-rtl.min.css deleted file mode 100644 index 63f4ff7b73..0000000000 --- a/build/wp-admin/css/color-picker-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f6f7f7;border-radius:2px 0 0 2px;border-right:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-right:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#646970}.wp-color-picker::-moz-placeholder{color:#646970;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#646970}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 40px 0 0;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}} \ No newline at end of file diff --git a/build/wp-admin/css/color-picker.css b/build/wp-admin/css/color-picker.css deleted file mode 100644 index 8951394957..0000000000 --- a/build/wp-admin/css/color-picker.css +++ /dev/null @@ -1,182 +0,0 @@ -/* rtl:ignore */ -.wp-color-picker { - width: 80px; - direction: ltr; -} - -.wp-picker-container .hidden { - display: none; -} - -/* Needs higher specificiity. */ -.wp-picker-container .wp-color-result.button { - min-height: 30px; - margin: 0 6px 6px 0; - padding: 0 0 0 30px; - font-size: 11px; -} - -.wp-color-result-text { - background: #f6f7f7; - border-radius: 0 2px 2px 0; - border-left: 1px solid #c3c4c7; - color: #50575e; - display: block; - line-height: 2.54545455; /* 28px */ - padding: 0 6px; - text-align: center; -} - -.wp-color-result:hover, -.wp-color-result:focus { - background: #f6f7f7; - border-color: #8c8f94; - color: #1d2327; -} - -.wp-color-result:hover:after, -.wp-color-result:focus:after { - color: #1d2327; - border-color: #a7aaad; - border-left: 1px solid #8c8f94; -} - -.wp-picker-container { - display: inline-block; -} - -.wp-color-result:focus { - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); -} - -.wp-color-result:active { - /* See Trac ticket #39662 */ - transform: none !important; -} - -.wp-picker-open + .wp-picker-input-wrap { - display: inline-block; - vertical-align: top; -} - -.wp-picker-input-wrap label { - display: inline-block; - vertical-align: top; -} - -/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */ -.form-table .wp-picker-input-wrap label { - margin: 0 !important; -} - -.wp-picker-input-wrap .button.wp-picker-default, -.wp-picker-input-wrap .button.wp-picker-clear, -.wp-customizer .wp-picker-input-wrap .button.wp-picker-default, -.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear { - margin-left: 6px; - padding: 0 8px; - line-height: 2.54545455; /* 28px */ - min-height: 30px; -} - -.wp-picker-container .iris-square-slider .ui-slider-handle:focus { - background-color: #50575e -} - -.wp-picker-container .iris-picker { - border-radius: 0; - border-color: #dcdcde; - margin-top: 6px; -} - -.wp-picker-container input[type="text"].wp-color-picker { - width: 4rem; - font-size: 12px; - font-family: monospace; - line-height: 2.33333333; /* 28px */ - margin: 0; - padding: 0 5px; - vertical-align: top; - min-height: 30px; -} - -.wp-color-picker::-webkit-input-placeholder { - color: #646970; -} - -.wp-color-picker::-moz-placeholder { - color: #646970; - opacity: 1; -} - -.wp-color-picker:-ms-input-placeholder { - color: #646970; -} - -.wp-picker-container input[type="text"].iris-error { - background-color: #fcf0f1; - border-color: #d63638; - color: #000; -} - -.iris-picker .ui-square-handle:focus, -.iris-picker .iris-strip .ui-slider-handle:focus { - border-color: #3582c4; - border-style: solid; - box-shadow: 0 0 0 1px #3582c4; - outline: 2px solid transparent; -} - -.iris-picker .iris-palette:focus { - box-shadow: 0 0 0 2px #3582c4; -} - -@media screen and (max-width: 782px) { - .wp-picker-container input[type="text"].wp-color-picker { - width: 5rem; - font-size: 16px; - line-height: 1.875; /* 30px */ - min-height: 32px; - } - - .wp-customizer .wp-picker-container input[type="text"].wp-color-picker { - padding: 0 5px; - } - - .wp-picker-input-wrap .button.wp-picker-default, - .wp-picker-input-wrap .button.wp-picker-clear { - padding: 0 8px; - line-height: 2.14285714; /* 30px */ - min-height: 32px; - } - - .wp-customizer .wp-picker-input-wrap .button.wp-picker-default, - .wp-customizer .wp-picker-input-wrap .button.wp-picker-clear { - padding: 0 8px; - font-size: 14px; - line-height: 2.14285714; /* 30px */ - min-height: 32px; - } - - .wp-picker-container .wp-color-result.button { - padding: 0 0 0 40px; - font-size: 14px; - line-height: 2.14285714; /* 30px */ - } - - .wp-customizer .wp-picker-container .wp-color-result.button { - font-size: 14px; - line-height: 2.14285714; /* 30px */ - } - - .wp-picker-container .wp-color-result-text { - padding: 0 14px; - font-size: inherit; - line-height: inherit; - } - - .wp-customizer .wp-picker-container .wp-color-result-text { - padding: 0 10px; - } -} diff --git a/build/wp-admin/css/color-picker.min.css b/build/wp-admin/css/color-picker.min.css deleted file mode 100644 index a0c81489ed..0000000000 --- a/build/wp-admin/css/color-picker.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f6f7f7;border-radius:0 2px 2px 0;border-left:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-left:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#646970}.wp-color-picker::-moz-placeholder{color:#646970;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#646970}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 0 0 40px;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}} \ No newline at end of file diff --git a/build/wp-admin/css/colors/_admin.scss b/build/wp-admin/css/colors/_admin.scss deleted file mode 100644 index e4c8c2fe6b..0000000000 --- a/build/wp-admin/css/colors/_admin.scss +++ /dev/null @@ -1,798 +0,0 @@ - -@import 'variables'; -@import 'mixins'; - -@function url-friendly-colour( $color ) { - @return '%23' + str-slice( '#{ $color }', 2, -1 ); -} - -body { - background: $body-background; -} - - -/* Links */ - -a { - color: $link; - - &:hover, - &:active, - &:focus { - color: $link-focus; - } -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: $link; - - &:hover, - &:active, - &:focus { - color: $link-focus; - } -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ - -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-colour($form-checked)}%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: $form-checked; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: $link-focus; -} - -input[type="text"]:focus, -input[type="password"]:focus, -input[type="color"]:focus, -input[type="date"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="email"]:focus, -input[type="month"]:focus, -input[type="number"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="text"]:focus, -input[type="time"]:focus, -input[type="url"]:focus, -input[type="week"]:focus, -input[type="checkbox"]:focus, -input[type="radio"]:focus, -select:focus, -textarea:focus { - border-color: $highlight-color; - box-shadow: 0 0 0 1px $highlight-color; -} - - -/* Core UI */ - -.wp-core-ui { - - .button { - border-color: #7e8993; - color: #32373c; - } - - .button.hover, - .button:hover, - .button.focus, - .button:focus { - border-color: darken( #7e8993, 5% ); - color: darken( #32373c, 5% ); - } - - .button.focus, - .button:focus { - border-color: #7e8993; - color: darken( #32373c, 5% ); - box-shadow: 0 0 0 1px #32373c; - } - - .button:active { - border-color: #7e8993; - color: darken( #32373c, 5% ); - box-shadow: none; - } - - .button.active, - .button.active:focus, - .button.active:hover { - border-color: $button-color; - color: darken( #32373c, 5% ); - box-shadow: inset 0 2px 5px -3px $button-color; - } - - .button.active:focus { - box-shadow: 0 0 0 1px #32373c; - } - - @if ( $low-contrast-theme != "true" ) { - .button, - .button-secondary { - color: $highlight-color; - border-color: $highlight-color; - } - - .button.hover, - .button:hover, - .button-secondary:hover{ - border-color: darken($highlight-color, 10); - color: darken($highlight-color, 10); - } - - .button.focus, - .button:focus, - .button-secondary:focus { - border-color: lighten($highlight-color, 10); - color: darken($highlight-color, 20);; - box-shadow: 0 0 0 1px lighten($highlight-color, 10); - } - - .button-primary { - &:hover { - color: #fff; - } - } - } - - .button-primary { - @include button( $button-color ); - } - - .button-group > .button.active { - border-color: $button-color; - } - - .wp-ui-primary { - color: $text-color; - background-color: $base-color; - } - .wp-ui-text-primary { - color: $base-color; - } - - .wp-ui-highlight { - color: $menu-highlight-text; - background-color: $menu-highlight-background; - } - .wp-ui-text-highlight { - color: $menu-highlight-background; - } - - .wp-ui-notification { - color: $menu-bubble-text; - background-color: $menu-bubble-background; - } - .wp-ui-text-notification { - color: $menu-bubble-background; - } - - .wp-ui-text-icon { - color: $menu-icon; - } -} - - -/* List tables */ -@if $low-contrast-theme == "true" { - .wrap .page-title-action:hover { - color: $menu-text; - background-color: $menu-background; - } -} @else { - .wrap .page-title-action, - .wrap .page-title-action:active { - border: 1px solid $highlight-color; - color: $highlight-color; - } - - .wrap .page-title-action:hover { - color: darken($highlight-color, 10); - border-color: darken($highlight-color, 10); - } - - .wrap .page-title-action:focus { - border-color: lighten($highlight-color, 10); - color: darken($highlight-color, 20);; - box-shadow: 0 0 0 1px lighten($highlight-color, 10); - } -} - -.view-switch a.current:before { - color: $menu-background; -} - -.view-switch a:hover:before { - color: $menu-bubble-background; -} - - -/* Admin Menu */ - -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: $menu-background; -} - -#adminmenu a { - color: $menu-text; -} - -#adminmenu div.wp-menu-image:before { - color: $menu-icon; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: $menu-highlight-text; - background-color: $menu-highlight-background; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: $menu-highlight-icon; -} - - -/* Active tabs use a bottom border color that matches the page background color. */ - -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: $body-background; - border-bottom-color: $body-background; -} - - -/* Admin Menu: submenu */ - -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: $menu-submenu-background; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: $menu-submenu-background; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: $menu-submenu-text; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: $menu-submenu-text; - - &:focus, &:hover { - color: $menu-submenu-focus-text; - } -} - - -/* Admin Menu: current */ - -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: $menu-submenu-current-text; - - &:hover, &:focus { - color: $menu-submenu-focus-text; - } -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: $body-background; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: $menu-current-text; - background: $menu-current-background; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: $menu-current-icon; -} - - -/* Admin Menu: bubble */ - -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: $menu-bubble-text; - background: $menu-bubble-background; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: $menu-bubble-current-text; - background: $menu-bubble-current-background; -} - - -/* Admin Menu: collapse button */ - -#collapse-button { - color: $menu-collapse-text; -} - -#collapse-button:hover, -#collapse-button:focus { - color: $menu-submenu-focus-text; -} - -/* Admin Bar */ - -#wpadminbar { - color: $menu-text; - background: $menu-background; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: $menu-text; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: $menu-icon; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: $menu-submenu-focus-text; - background: $menu-submenu-background; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: $menu-submenu-focus-text; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: $menu-submenu-focus-text; -} - - -/* Admin Bar: submenu */ - -#wpadminbar .menupop .ab-sub-wrapper { - background: $menu-submenu-background; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: $menu-submenu-background-alt; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: $menu-submenu-text; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: $menu-icon; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: $menu-submenu-focus-text; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: $menu-submenu-focus-text; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: $menu-icon; -} - - -/* Admin Bar: search */ - -#wpadminbar #adminbarsearch:before { - color: $menu-icon; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: $menu-text; - background: $adminbar-input-background; -} - -/* Admin Bar: recovery mode */ - -#wpadminbar #wp-admin-bar-recovery-mode { - color: $adminbar-recovery-exit-text; - background-color: $adminbar-recovery-exit-background; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: $adminbar-recovery-exit-text; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover >.ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: $adminbar-recovery-exit-text; - background-color: $adminbar-recovery-exit-background-alt; -} - -/* Admin Bar: my account */ - -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: $adminbar-avatar-frame; - background-color: $adminbar-avatar-frame; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: $menu-text; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: $menu-submenu-focus-text; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: $menu-submenu-text; -} - - -/* Pointers */ - -.wp-pointer .wp-pointer-content h3 { - background-color: $highlight-color; - border-color: darken( $highlight-color, 5% ); -} - -.wp-pointer .wp-pointer-content h3:before { - color: $highlight-color; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: $highlight-color; -} - - -/* Media */ - -.media-item .bar, -.media-progress-bar div { - background-color: $highlight-color; -} - -.details.attachment { - box-shadow: - inset 0 0 0 3px #fff, - inset 0 0 0 7px $highlight-color; -} - -.attachment.details .check { - background-color: $highlight-color; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color; -} - - -/* Themes */ - -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: $highlight-color; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: $highlight-color; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: $menu-background; -} - -body.more-filters-opened .more-filters { - color: $menu-text; - background-color: $menu-background; -} - -body.more-filters-opened .more-filters:before { - color: $menu-text; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: $menu-highlight-text; -} - -/* Widgets */ - -.widgets-chooser li.widgets-chooser-selected { - background-color: $menu-highlight-background; - color: $menu-highlight-text; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: $menu-highlight-text; -} - - -/* Nav Menus */ - -.nav-menus-php .item-edit:focus:before { - box-shadow: - 0 0 0 1px lighten($button-color, 10), - 0 0 2px 1px $button-color; -} - - -/* Responsive Component */ - -div#wp-responsive-toggle a:before { - color: $menu-icon; -} - -.wp-responsive-open div#wp-responsive-toggle a { - // ToDo: make inset border - border-color: transparent; - background: $menu-highlight-background; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: $menu-submenu-background; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: $menu-icon; -} - -/* TinyMCE */ - -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: $highlight-color; -} - -/* Customizer */ -.wp-core-ui { - #customize-controls .control-section:hover > .accordion-section-title, - #customize-controls .control-section .accordion-section-title:hover, - #customize-controls .control-section.open .accordion-section-title, - #customize-controls .control-section .accordion-section-title:focus { - color: $link; - border-left-color: $button-color; - } - - .customize-controls-close:focus, - .customize-controls-close:hover, - .customize-controls-preview-toggle:focus, - .customize-controls-preview-toggle:hover { - color: $link; - border-top-color: $button-color; - } - - .customize-panel-back:hover, - .customize-panel-back:focus, - .customize-section-back:hover, - .customize-section-back:focus { - color: $link; - border-left-color: $button-color; - } - - .customize-screen-options-toggle:hover, - .customize-screen-options-toggle:active, - .customize-screen-options-toggle:focus, - .active-menu-screen-options .customize-screen-options-toggle, - #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, - #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, - #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: $link; - } - - .customize-screen-options-toggle:focus:before, - #customize-controls .customize-info .customize-help-toggle:focus:before, - &.wp-customizer button:focus .toggle-indicator:before, - .menu-item-bar .item-delete:focus:before, - #available-menu-items .item-add:focus:before, - #customize-save-button-wrapper .save:focus, - #publish-settings:focus { - box-shadow: - 0 0 0 1px lighten($button-color, 10), - 0 0 2px 1px $button-color; - } - - #customize-controls .customize-info.open .customize-help-toggle, - #customize-controls .customize-info .customize-help-toggle:focus, - #customize-controls .customize-info .customize-help-toggle:hover { - color: $link; - } - - .control-panel-themes .customize-themes-section-title:focus, - .control-panel-themes .customize-themes-section-title:hover { - border-left-color: $button-color; - color: $link; - } - - .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: $button-color; - } - - .control-panel-themes .customize-themes-section-title.selected { - color: $link; - } - - #customize-theme-controls .control-section:hover > .accordion-section-title:after, - #customize-theme-controls .control-section .accordion-section-title:hover:after, - #customize-theme-controls .control-section.open .accordion-section-title:after, - #customize-theme-controls .control-section .accordion-section-title:focus:after, - #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, - #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, - #customize-outer-theme-controls .control-section.open .accordion-section-title:after, - #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: $link; - } - - .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: $button-color; - border-style: solid; - box-shadow: 0 0 0 1px $button-color; - outline: 2px solid transparent; - } - - .wp-full-overlay-footer .devices button:focus, - .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: $button-color; - } - - .wp-full-overlay-footer .devices button:hover:before, - .wp-full-overlay-footer .devices button:focus:before { - color: $button-color; - } - - .wp-full-overlay .collapse-sidebar:hover, - .wp-full-overlay .collapse-sidebar:focus { - color: $button-color; - } - - .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, - .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: - 0 0 0 1px lighten($button-color, 10), - 0 0 2px 1px $button-color; - } - - &.wp-customizer .theme-overlay .theme-header .close:focus, - &.wp-customizer .theme-overlay .theme-header .close:hover, - &.wp-customizer .theme-overlay .theme-header .right:focus, - &.wp-customizer .theme-overlay .theme-header .right:hover, - &.wp-customizer .theme-overlay .theme-header .left:focus, - &.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: $button-color; - color: $link; - } -} - -/* Welcome Panel */ -.welcome-panel { - background-color: $dashboard-accent-1; -} - -.welcome-panel-header-image circle { - stroke: $dashboard-accent-2; - fill: $dashboard-accent-1; -} - -[class*="welcome-panel-icon"] { - background-color: $dashboard-icon-background; -} diff --git a/build/wp-admin/css/colors/_mixins.scss b/build/wp-admin/css/colors/_mixins.scss deleted file mode 100644 index 9744a20a0e..0000000000 --- a/build/wp-admin/css/colors/_mixins.scss +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -@mixin button( $button-color, $button-text-color: #fff ) { - background: $button-color; - border-color: $button-color; - color: $button-text-color; - - &:hover, - &:focus { - background: lighten( $button-color, 3% ); - border-color: darken( $button-color, 3% ); - color: $button-text-color; - } - - &:focus { - box-shadow: - 0 0 0 1px #fff, - 0 0 0 3px $button-color; - } - - &:active { - background: darken( $button-color, 5% ); - border-color: darken( $button-color, 5% ); - color: $button-text-color; - } - - &.active, - &.active:focus, - &.active:hover { - background: $button-color; - color: $button-text-color; - border-color: darken( $button-color, 15% ); - box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% ); - } -} diff --git a/build/wp-admin/css/colors/_variables.scss b/build/wp-admin/css/colors/_variables.scss deleted file mode 100644 index 03a32ea97a..0000000000 --- a/build/wp-admin/css/colors/_variables.scss +++ /dev/null @@ -1,72 +0,0 @@ -// assign default value to all undefined variables - -$scheme-name: "default" !default; - -// core variables - -$text-color: #fff !default; -$base-color: #23282d !default; -$icon-color: hsl( hue( $base-color ), 7%, 95% ) !default; -$highlight-color: #0073aa !default; -$notification-color: #d54e21 !default; - - -// global - -$body-background: #f1f1f1 !default; - -$link: #0073aa !default; -$link-focus: lighten( $link, 10% ) !default; - -$button-color: $highlight-color !default; -$button-text-color: $text-color !default; - -$form-checked: #7e8993 !default; - -// admin menu & admin-bar - -$menu-text: $text-color !default; -$menu-icon: $icon-color !default; -$menu-background: $base-color !default; - -$menu-highlight-text: $text-color !default; -$menu-highlight-icon: $text-color !default; -$menu-highlight-background: $highlight-color !default; - -$menu-current-text: $menu-highlight-text !default; -$menu-current-icon: $menu-highlight-icon !default; -$menu-current-background: $menu-highlight-background !default; - -$menu-submenu-text: mix( $base-color, $text-color, 30% ) !default; -$menu-submenu-background: darken( $base-color, 7% ) !default; -$menu-submenu-background-alt: desaturate( lighten( $menu-background, 7% ), 7% ) !default; - -$menu-submenu-focus-text: $highlight-color !default; -$menu-submenu-current-text: $text-color !default; - -$menu-bubble-text: $text-color !default; -$menu-bubble-background: $notification-color !default; -$menu-bubble-current-text: $text-color !default; -$menu-bubble-current-background: $menu-submenu-background !default; - -$menu-collapse-text: $menu-icon !default; -$menu-collapse-icon: $menu-icon !default; -$menu-collapse-focus-text: $text-color !default; -$menu-collapse-focus-icon: $menu-highlight-icon !default; - -$adminbar-avatar-frame: lighten( $menu-background, 7% ) !default; -$adminbar-input-background: lighten( $menu-background, 7% ) !default; - -$adminbar-recovery-exit-text: $menu-bubble-text !default; -$adminbar-recovery-exit-background: $menu-bubble-background !default; -$adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-background, 10%) !default; - -$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default; - -// Dashboard Colors - -$dashboard-accent-1: $highlight-color !default; -$dashboard-accent-2: rgba(255, 255, 255, 0.5) !default; -$dashboard-icon-background: $dashboard-accent-2 !default; - -$low-contrast-theme: "false" !default; diff --git a/build/wp-admin/css/colors/blue/colors-rtl.css b/build/wp-admin/css/colors/blue/colors-rtl.css deleted file mode 100644 index 858a205b03..0000000000 --- a/build/wp-admin/css/colors/blue/colors-rtl.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #096484; - box-shadow: 0 0 0 1px #096484; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #e1a948; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #e1a948; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #096484; - border-color: #096484; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #064054; - color: #064054; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #0c88b4; - color: #021c25; - box-shadow: 0 0 0 1px #0c88b4; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #e1a948; - border-color: #e1a948; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #e3af55; - border-color: #dfa33b; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948; -} -.wp-core-ui .button-primary:active { - background: #dd9f32; - border-color: #dd9f32; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #e1a948; - color: #fff; - border-color: #bd831f; - box-shadow: inset 0 2px 5px -3px #241906; -} -.wp-core-ui .button-group > .button.active { - border-color: #e1a948; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #52accc; -} -.wp-core-ui .wp-ui-text-primary { - color: #52accc; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #096484; -} -.wp-core-ui .wp-ui-text-highlight { - color: #096484; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #e1a948; -} -.wp-core-ui .wp-ui-text-notification { - color: #e1a948; -} -.wp-core-ui .wp-ui-text-icon { - color: #e5f8ff; -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #096484; - color: #096484; -} - -.wrap .page-title-action:hover { - color: #064054; - border-color: #064054; -} - -.wrap .page-title-action:focus { - border-color: #0c88b4; - color: #021c25; - box-shadow: 0 0 0 1px #0c88b4; -} - -.view-switch a.current:before { - color: #52accc; -} - -.view-switch a:hover:before { - color: #e1a948; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #52accc; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: #e5f8ff; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #096484; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #4796b3; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #4796b3; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #e2ecf1; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #e2ecf1; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #fff; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #fff; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #096484; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #e1a948; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #4796b3; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #e5f8ff; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #fff; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #52accc; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #e5f8ff; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #fff; - background: #4796b3; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #fff; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #fff; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #4796b3; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #74b6ce; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #e2ecf1; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #e5f8ff; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #fff; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #fff; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #e5f8ff; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #e5f8ff; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6eb9d4; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #e1a948; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #cb9841; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6eb9d4; - background-color: #6eb9d4; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #e2ecf1; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #096484; - border-color: #07526c; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #096484; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #096484; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #096484; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484; -} - -.attachment.details .check { - background-color: #096484; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #096484; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #096484; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #52accc; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #52accc; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #096484; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #096484; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #e5f8ff; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #096484; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #4796b3; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #e5f8ff; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #096484; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #e1a948; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #e1a948; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #e1a948; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #e1a948; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #e1a948; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #e1a948; - border-style: solid; - box-shadow: 0 0 0 1px #e1a948; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #e1a948; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #e1a948; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #e1a948; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #e1a948; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #096484; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #096484; -} - -[class*=welcome-panel-icon] { - background-color: #096484; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/blue/colors-rtl.min.css b/build/wp-admin/css/colors/blue/colors-rtl.min.css deleted file mode 100644 index d4d1e0580c..0000000000 --- a/build/wp-admin/css/colors/blue/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#096484;box-shadow:0 0 0 1px #096484}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#e1a948;color:#262a2e;box-shadow:inset 0 2px 5px -3px #e1a948}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#096484;border-color:#096484}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#064054;color:#064054}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#0c88b4;color:#021c25;box-shadow:0 0 0 1px #0c88b4}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#e1a948;border-color:#e1a948;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e3af55;border-color:#dfa33b;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #e1a948}.wp-core-ui .button-primary:active{background:#dd9f32;border-color:#dd9f32;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#e1a948;color:#fff;border-color:#bd831f;box-shadow:inset 0 2px 5px -3px #241906}.wp-core-ui .button-group>.button.active{border-color:#e1a948}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #096484;color:#096484}.wrap .page-title-action:hover{color:#064054;border-color:#064054}.wrap .page-title-action:focus{border-color:#0c88b4;color:#021c25;box-shadow:0 0 0 1px #0c88b4}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#4796b3}#adminmenu .wp-submenu .wp-submenu-head{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-button{color:#e5f8ff}#collapse-button:focus,#collapse-button:hover{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b6ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#fff}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#e5f8ff}#wpadminbar #adminbarsearch:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6eb9d4}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#e1a948}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#cb9841}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6eb9d4;background-color:#6eb9d4}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07526c}.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#096484}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#096484;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #e8be74,0 0 2px 1px #e1a948}div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#e5f8ff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#096484}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#e1a948}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#e1a948}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#e1a948}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e8be74,0 0 2px 1px #e1a948}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#e1a948;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#e1a948}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#e1a948;border-style:solid;box-shadow:0 0 0 1px #e1a948;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#e1a948}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#e1a948}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#e1a948}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e8be74,0 0 2px 1px #e1a948}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#e1a948;color:#0073aa}.welcome-panel{background-color:#096484}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#096484}[class*=welcome-panel-icon]{background-color:#096484} \ No newline at end of file diff --git a/build/wp-admin/css/colors/blue/colors.css b/build/wp-admin/css/colors/blue/colors.css deleted file mode 100644 index 99b491ec3b..0000000000 --- a/build/wp-admin/css/colors/blue/colors.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #096484; - box-shadow: 0 0 0 1px #096484; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #e1a948; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #e1a948; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #096484; - border-color: #096484; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #064054; - color: #064054; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #0c88b4; - color: #021c25; - box-shadow: 0 0 0 1px #0c88b4; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #e1a948; - border-color: #e1a948; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #e3af55; - border-color: #dfa33b; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948; -} -.wp-core-ui .button-primary:active { - background: #dd9f32; - border-color: #dd9f32; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #e1a948; - color: #fff; - border-color: #bd831f; - box-shadow: inset 0 2px 5px -3px #241906; -} -.wp-core-ui .button-group > .button.active { - border-color: #e1a948; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #52accc; -} -.wp-core-ui .wp-ui-text-primary { - color: #52accc; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #096484; -} -.wp-core-ui .wp-ui-text-highlight { - color: #096484; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #e1a948; -} -.wp-core-ui .wp-ui-text-notification { - color: #e1a948; -} -.wp-core-ui .wp-ui-text-icon { - color: #e5f8ff; -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #096484; - color: #096484; -} - -.wrap .page-title-action:hover { - color: #064054; - border-color: #064054; -} - -.wrap .page-title-action:focus { - border-color: #0c88b4; - color: #021c25; - box-shadow: 0 0 0 1px #0c88b4; -} - -.view-switch a.current:before { - color: #52accc; -} - -.view-switch a:hover:before { - color: #e1a948; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #52accc; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: #e5f8ff; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #096484; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #4796b3; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #4796b3; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #e2ecf1; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #e2ecf1; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #fff; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #fff; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #096484; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #e1a948; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #4796b3; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #e5f8ff; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #fff; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #52accc; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #e5f8ff; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #fff; - background: #4796b3; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #fff; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #fff; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #4796b3; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #74b6ce; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #e2ecf1; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #e5f8ff; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #fff; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #fff; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #e5f8ff; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #e5f8ff; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6eb9d4; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #e1a948; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #cb9841; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6eb9d4; - background-color: #6eb9d4; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #e2ecf1; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #096484; - border-color: #07526c; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #096484; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #096484; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #096484; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484; -} - -.attachment.details .check { - background-color: #096484; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #096484; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #096484; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #52accc; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #52accc; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #096484; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #096484; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #e5f8ff; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #096484; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #4796b3; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #e5f8ff; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #096484; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #e1a948; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #e1a948; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #e1a948; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #e1a948; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #e1a948; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #e1a948; - border-style: solid; - box-shadow: 0 0 0 1px #e1a948; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #e1a948; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #e1a948; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #e1a948; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #e1a948; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #096484; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #096484; -} - -[class*=welcome-panel-icon] { - background-color: #096484; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/blue/colors.min.css b/build/wp-admin/css/colors/blue/colors.min.css deleted file mode 100644 index b63e571358..0000000000 --- a/build/wp-admin/css/colors/blue/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#096484;box-shadow:0 0 0 1px #096484}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#e1a948;color:#262a2e;box-shadow:inset 0 2px 5px -3px #e1a948}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#096484;border-color:#096484}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#064054;color:#064054}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#0c88b4;color:#021c25;box-shadow:0 0 0 1px #0c88b4}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#e1a948;border-color:#e1a948;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e3af55;border-color:#dfa33b;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #e1a948}.wp-core-ui .button-primary:active{background:#dd9f32;border-color:#dd9f32;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#e1a948;color:#fff;border-color:#bd831f;box-shadow:inset 0 2px 5px -3px #241906}.wp-core-ui .button-group>.button.active{border-color:#e1a948}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #096484;color:#096484}.wrap .page-title-action:hover{color:#064054;border-color:#064054}.wrap .page-title-action:focus{border-color:#0c88b4;color:#021c25;box-shadow:0 0 0 1px #0c88b4}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#4796b3}#adminmenu .wp-submenu .wp-submenu-head{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-button{color:#e5f8ff}#collapse-button:focus,#collapse-button:hover{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b6ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#fff}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#e5f8ff}#wpadminbar #adminbarsearch:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6eb9d4}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#e1a948}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#cb9841}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6eb9d4;background-color:#6eb9d4}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07526c}.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#096484}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#096484;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #e8be74,0 0 2px 1px #e1a948}div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#e5f8ff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#096484}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#e1a948}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#e1a948}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#e1a948}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e8be74,0 0 2px 1px #e1a948}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#e1a948;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#e1a948}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#e1a948;border-style:solid;box-shadow:0 0 0 1px #e1a948;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#e1a948}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#e1a948}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#e1a948}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e8be74,0 0 2px 1px #e1a948}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#e1a948;color:#0073aa}.welcome-panel{background-color:#096484}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#096484}[class*=welcome-panel-icon]{background-color:#096484} \ No newline at end of file diff --git a/build/wp-admin/css/colors/blue/colors.scss b/build/wp-admin/css/colors/blue/colors.scss deleted file mode 100644 index ab12d2ffe2..0000000000 --- a/build/wp-admin/css/colors/blue/colors.scss +++ /dev/null @@ -1,14 +0,0 @@ -$scheme-name: "blue"; -$base-color: #52accc; -$icon-color: #e5f8ff; -$highlight-color: #096484; -$notification-color: #e1a948; -$button-color: #e1a948; - -$menu-submenu-text: #e2ecf1; -$menu-submenu-focus-text: #fff; -$menu-submenu-background: #4796b3; - -$dashboard-icon-background: $highlight-color; - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/colors/coffee/colors-rtl.css b/build/wp-admin/css/colors/coffee/colors-rtl.css deleted file mode 100644 index b7ad7695ff..0000000000 --- a/build/wp-admin/css/colors/coffee/colors-rtl.css +++ /dev/null @@ -1,687 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2359524c%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #59524c; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #c7a589; - box-shadow: 0 0 0 1px #c7a589; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #c7a589; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #c7a589; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button-primary { - background: #c7a589; - border-color: #c7a589; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #ccad93; - border-color: #c29d7f; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589; -} -.wp-core-ui .button-primary:active { - background: #bf9878; - border-color: #bf9878; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #c7a589; - color: #fff; - border-color: #ae7d55; - box-shadow: inset 0 2px 5px -3px #37271a; -} -.wp-core-ui .button-group > .button.active { - border-color: #c7a589; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #59524c; -} -.wp-core-ui .wp-ui-text-primary { - color: #59524c; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #c7a589; -} -.wp-core-ui .wp-ui-text-highlight { - color: #c7a589; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #9ea476; -} -.wp-core-ui .wp-ui-text-notification { - color: #9ea476; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(27.6923076923deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action:hover { - color: #fff; - background-color: #59524c; -} - -.view-switch a.current:before { - color: #59524c; -} - -.view-switch a:hover:before { - color: #9ea476; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #59524c; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #c7a589; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #46403c; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #46403c; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cdcbc9; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cdcbc9; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #c7a589; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #c7a589; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #c7a589; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #9ea476; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #46403c; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #c7a589; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #59524c; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #c7a589; - background: #46403c; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #c7a589; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #c7a589; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #46403c; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #656463; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #cdcbc9; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #c7a589; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #c7a589; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6c645c; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #9ea476; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #8e946a; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6c645c; - background-color: #6c645c; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #c7a589; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cdcbc9; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #c7a589; - border-color: #bf9878; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #c7a589; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #c7a589; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #c7a589; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589; -} - -.attachment.details .check { - background-color: #c7a589; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #c7a589; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #c7a589; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #59524c; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #59524c; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #c7a589; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #c7a589; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #c7a589; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #46403c; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #c7a589; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #c7a589; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #c7a589; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #c7a589; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #c7a589; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #c7a589; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #c7a589; - border-style: solid; - box-shadow: 0 0 0 1px #c7a589; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #c7a589; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #c7a589; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #c7a589; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #c7a589; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #c7a589; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #c7a589; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/coffee/colors-rtl.min.css b/build/wp-admin/css/colors/coffee/colors-rtl.min.css deleted file mode 100644 index b906b6aabc..0000000000 --- a/build/wp-admin/css/colors/coffee/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2359524c%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#c7a589;box-shadow:0 0 0 1px #c7a589}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#c7a589;color:#262a2e;box-shadow:inset 0 2px 5px -3px #c7a589}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button-primary{background:#c7a589;border-color:#c7a589;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#ccad93;border-color:#c29d7f;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.wp-core-ui .button-primary:active{background:#bf9878;border-color:#bf9878;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#c7a589;color:#fff;border-color:#ae7d55;box-shadow:inset 0 2px 5px -3px #37271a}.wp-core-ui .button-group>.button.active{border-color:#c7a589}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:hsl(27.6923076923deg,7%,95%)}.wrap .page-title-action:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(27.6923076923deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#46403c}#adminmenu .wp-submenu .wp-submenu-head{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-button{color:hsl(27.6923076923deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#c7a589}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#c7a589}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#c7a589}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#9ea476}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#8e946a}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c7a589}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#c7a589;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #d7bfac,0 0 2px 1px #c7a589}div#wp-responsive-toggle a:before{color:hsl(27.6923076923deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(27.6923076923deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c7a589}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#c7a589}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#c7a589}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#c7a589}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #d7bfac,0 0 2px 1px #c7a589}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#c7a589;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#c7a589}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#c7a589;border-style:solid;box-shadow:0 0 0 1px #c7a589;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#c7a589}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#c7a589}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#c7a589}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #d7bfac,0 0 2px 1px #c7a589}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#c7a589;color:#0073aa}.welcome-panel{background-color:#c7a589}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#c7a589}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/coffee/colors.css b/build/wp-admin/css/colors/coffee/colors.css deleted file mode 100644 index bbf6dd2d34..0000000000 --- a/build/wp-admin/css/colors/coffee/colors.css +++ /dev/null @@ -1,687 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2359524c%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #59524c; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #c7a589; - box-shadow: 0 0 0 1px #c7a589; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #c7a589; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #c7a589; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button-primary { - background: #c7a589; - border-color: #c7a589; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #ccad93; - border-color: #c29d7f; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589; -} -.wp-core-ui .button-primary:active { - background: #bf9878; - border-color: #bf9878; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #c7a589; - color: #fff; - border-color: #ae7d55; - box-shadow: inset 0 2px 5px -3px #37271a; -} -.wp-core-ui .button-group > .button.active { - border-color: #c7a589; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #59524c; -} -.wp-core-ui .wp-ui-text-primary { - color: #59524c; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #c7a589; -} -.wp-core-ui .wp-ui-text-highlight { - color: #c7a589; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #9ea476; -} -.wp-core-ui .wp-ui-text-notification { - color: #9ea476; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(27.6923076923deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action:hover { - color: #fff; - background-color: #59524c; -} - -.view-switch a.current:before { - color: #59524c; -} - -.view-switch a:hover:before { - color: #9ea476; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #59524c; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #c7a589; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #46403c; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #46403c; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cdcbc9; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cdcbc9; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #c7a589; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #c7a589; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #c7a589; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #9ea476; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #46403c; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #c7a589; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #59524c; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #c7a589; - background: #46403c; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #c7a589; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #c7a589; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #46403c; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #656463; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #cdcbc9; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #c7a589; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #c7a589; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #6c645c; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #9ea476; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #8e946a; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #6c645c; - background-color: #6c645c; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #c7a589; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cdcbc9; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #c7a589; - border-color: #bf9878; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #c7a589; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #c7a589; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #c7a589; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589; -} - -.attachment.details .check { - background-color: #c7a589; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #c7a589; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #c7a589; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #59524c; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #59524c; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #c7a589; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #c7a589; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #c7a589; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #46403c; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(27.6923076923deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #c7a589; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #c7a589; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #c7a589; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #c7a589; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #c7a589; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #c7a589; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #c7a589; - border-style: solid; - box-shadow: 0 0 0 1px #c7a589; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #c7a589; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #c7a589; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #c7a589; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #c7a589; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #c7a589; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #c7a589; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/coffee/colors.min.css b/build/wp-admin/css/colors/coffee/colors.min.css deleted file mode 100644 index 92cc6cb736..0000000000 --- a/build/wp-admin/css/colors/coffee/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2359524c%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#c7a589;box-shadow:0 0 0 1px #c7a589}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#c7a589;color:#262a2e;box-shadow:inset 0 2px 5px -3px #c7a589}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button-primary{background:#c7a589;border-color:#c7a589;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#ccad93;border-color:#c29d7f;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.wp-core-ui .button-primary:active{background:#bf9878;border-color:#bf9878;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#c7a589;color:#fff;border-color:#ae7d55;box-shadow:inset 0 2px 5px -3px #37271a}.wp-core-ui .button-group>.button.active{border-color:#c7a589}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:hsl(27.6923076923deg,7%,95%)}.wrap .page-title-action:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(27.6923076923deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#46403c}#adminmenu .wp-submenu .wp-submenu-head{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-button{color:hsl(27.6923076923deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#c7a589}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#c7a589}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#c7a589}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(27.6923076923deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#9ea476}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#8e946a}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c7a589}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#c7a589;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #d7bfac,0 0 2px 1px #c7a589}div#wp-responsive-toggle a:before{color:hsl(27.6923076923deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(27.6923076923deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c7a589}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#c7a589}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#c7a589}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#c7a589}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #d7bfac,0 0 2px 1px #c7a589}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#c7a589;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#c7a589}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#c7a589;border-style:solid;box-shadow:0 0 0 1px #c7a589;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#c7a589}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#c7a589}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#c7a589}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #d7bfac,0 0 2px 1px #c7a589}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#c7a589;color:#0073aa}.welcome-panel{background-color:#c7a589}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#c7a589}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/coffee/colors.scss b/build/wp-admin/css/colors/coffee/colors.scss deleted file mode 100644 index a52491d57d..0000000000 --- a/build/wp-admin/css/colors/coffee/colors.scss +++ /dev/null @@ -1,9 +0,0 @@ -$scheme-name: "coffee"; -$base-color: #59524c; -$highlight-color: #c7a589; -$notification-color: #9ea476; -$low-contrast-theme: "true"; - -$form-checked: $base-color; - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/colors/ectoplasm/colors-rtl.css b/build/wp-admin/css/colors/ectoplasm/colors-rtl.css deleted file mode 100644 index 87356d1cf0..0000000000 --- a/build/wp-admin/css/colors/ectoplasm/colors-rtl.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23523f6d%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #523f6d; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #a3b745; - box-shadow: 0 0 0 1px #a3b745; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #a3b745; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #a3b745; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #a3b745; - border-color: #a3b745; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #829237; - color: #829237; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #b6c669; - color: #616d29; - box-shadow: 0 0 0 1px #b6c669; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #a3b745; - border-color: #a3b745; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #a9bd4f; - border-color: #99ac41; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745; -} -.wp-core-ui .button-primary:active { - background: #93a43e; - border-color: #93a43e; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #a3b745; - color: #fff; - border-color: #727f30; - box-shadow: inset 0 2px 5px -3px black; -} -.wp-core-ui .button-group > .button.active { - border-color: #a3b745; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #523f6d; -} -.wp-core-ui .wp-ui-text-primary { - color: #523f6d; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #a3b745; -} -.wp-core-ui .wp-ui-text-highlight { - color: #a3b745; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d46f15; -} -.wp-core-ui .wp-ui-text-notification { - color: #d46f15; -} -.wp-core-ui .wp-ui-text-icon { - color: #ece6f6; -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #a3b745; - color: #a3b745; -} - -.wrap .page-title-action:hover { - color: #829237; - border-color: #829237; -} - -.wrap .page-title-action:focus { - border-color: #b6c669; - color: #616d29; - box-shadow: 0 0 0 1px #b6c669; -} - -.view-switch a.current:before { - color: #523f6d; -} - -.view-switch a:hover:before { - color: #d46f15; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #523f6d; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: #ece6f6; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #a3b745; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #413256; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #413256; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cbc5d3; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cbc5d3; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #a3b745; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #a3b745; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #a3b745; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #d46f15; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #413256; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #ece6f6; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #a3b745; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #523f6d; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #ece6f6; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #a3b745; - background: #413256; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #a3b745; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #a3b745; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #413256; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #64537c; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #cbc5d3; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #ece6f6; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #a3b745; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #a3b745; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #ece6f6; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #ece6f6; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #634c84; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #d46f15; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #bf6413; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #634c84; - background-color: #634c84; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #a3b745; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cbc5d3; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #a3b745; - border-color: #93a43e; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #a3b745; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #a3b745; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #a3b745; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745; -} - -.attachment.details .check { - background-color: #a3b745; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #a3b745; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #a3b745; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #523f6d; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #523f6d; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #a3b745; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #a3b745; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #ece6f6; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #a3b745; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #413256; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #ece6f6; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #a3b745; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #a3b745; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #a3b745; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #a3b745; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #a3b745; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #a3b745; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #a3b745; - border-style: solid; - box-shadow: 0 0 0 1px #a3b745; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #a3b745; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #a3b745; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #a3b745; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #a3b745; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #523f6d; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #523f6d; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ectoplasm/colors-rtl.min.css b/build/wp-admin/css/colors/ectoplasm/colors-rtl.min.css deleted file mode 100644 index 0318f05f6f..0000000000 --- a/build/wp-admin/css/colors/ectoplasm/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23523f6d%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#a3b745;box-shadow:0 0 0 1px #a3b745}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#a3b745;color:#262a2e;box-shadow:inset 0 2px 5px -3px #a3b745}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#a3b745;border-color:#a3b745}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#829237;color:#829237}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#b6c669;color:#616d29;box-shadow:0 0 0 1px #b6c669}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#a3b745;border-color:#a3b745;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a9bd4f;border-color:#99ac41;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.wp-core-ui .button-primary:active{background:#93a43e;border-color:#93a43e;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#a3b745;color:#fff;border-color:#727f30;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#a3b745}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #a3b745;color:#a3b745}.wrap .page-title-action:hover{color:#829237;border-color:#829237}.wrap .page-title-action:focus{border-color:#b6c669;color:#616d29;box-shadow:0 0 0 1px #b6c669}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#413256}#adminmenu .wp-submenu .wp-submenu-head{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-button{color:#ece6f6}#collapse-button:focus,#collapse-button:hover{color:#a3b745}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#a3b745}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#a3b745}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#ece6f6}#wpadminbar #adminbarsearch:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#634c84}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#d46f15}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#bf6413}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#634c84;background-color:#634c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#a3b745}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#a3b745;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #b6c669,0 0 2px 1px #a3b745}div#wp-responsive-toggle a:before{color:#ece6f6}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#ece6f6}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#a3b745}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#a3b745}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#a3b745}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#a3b745}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #b6c669,0 0 2px 1px #a3b745}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#a3b745;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#a3b745}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#a3b745;border-style:solid;box-shadow:0 0 0 1px #a3b745;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#a3b745}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#a3b745}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#a3b745}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #b6c669,0 0 2px 1px #a3b745}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#a3b745;color:#0073aa}.welcome-panel{background-color:#523f6d}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#523f6d}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ectoplasm/colors.css b/build/wp-admin/css/colors/ectoplasm/colors.css deleted file mode 100644 index 09f4c6ae19..0000000000 --- a/build/wp-admin/css/colors/ectoplasm/colors.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23523f6d%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #523f6d; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #a3b745; - box-shadow: 0 0 0 1px #a3b745; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #a3b745; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #a3b745; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #a3b745; - border-color: #a3b745; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #829237; - color: #829237; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #b6c669; - color: #616d29; - box-shadow: 0 0 0 1px #b6c669; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #a3b745; - border-color: #a3b745; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #a9bd4f; - border-color: #99ac41; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745; -} -.wp-core-ui .button-primary:active { - background: #93a43e; - border-color: #93a43e; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #a3b745; - color: #fff; - border-color: #727f30; - box-shadow: inset 0 2px 5px -3px black; -} -.wp-core-ui .button-group > .button.active { - border-color: #a3b745; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #523f6d; -} -.wp-core-ui .wp-ui-text-primary { - color: #523f6d; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #a3b745; -} -.wp-core-ui .wp-ui-text-highlight { - color: #a3b745; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d46f15; -} -.wp-core-ui .wp-ui-text-notification { - color: #d46f15; -} -.wp-core-ui .wp-ui-text-icon { - color: #ece6f6; -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #a3b745; - color: #a3b745; -} - -.wrap .page-title-action:hover { - color: #829237; - border-color: #829237; -} - -.wrap .page-title-action:focus { - border-color: #b6c669; - color: #616d29; - box-shadow: 0 0 0 1px #b6c669; -} - -.view-switch a.current:before { - color: #523f6d; -} - -.view-switch a:hover:before { - color: #d46f15; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #523f6d; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: #ece6f6; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #a3b745; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #413256; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #413256; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #cbc5d3; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #cbc5d3; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #a3b745; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #a3b745; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #a3b745; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #d46f15; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #413256; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #ece6f6; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #a3b745; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #523f6d; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #ece6f6; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #a3b745; - background: #413256; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #a3b745; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #a3b745; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #413256; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #64537c; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #cbc5d3; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #ece6f6; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #a3b745; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #a3b745; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #ece6f6; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #ece6f6; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #634c84; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #d46f15; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #bf6413; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #634c84; - background-color: #634c84; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #a3b745; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #cbc5d3; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #a3b745; - border-color: #93a43e; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #a3b745; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #a3b745; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #a3b745; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745; -} - -.attachment.details .check { - background-color: #a3b745; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #a3b745; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #a3b745; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #523f6d; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #523f6d; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #a3b745; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #a3b745; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #ece6f6; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #a3b745; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #413256; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #ece6f6; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #a3b745; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #a3b745; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #a3b745; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #a3b745; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #a3b745; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #a3b745; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #a3b745; - border-style: solid; - box-shadow: 0 0 0 1px #a3b745; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #a3b745; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #a3b745; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #a3b745; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #a3b745; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #523f6d; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #523f6d; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ectoplasm/colors.min.css b/build/wp-admin/css/colors/ectoplasm/colors.min.css deleted file mode 100644 index 6cf4326123..0000000000 --- a/build/wp-admin/css/colors/ectoplasm/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23523f6d%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#a3b745;box-shadow:0 0 0 1px #a3b745}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#a3b745;color:#262a2e;box-shadow:inset 0 2px 5px -3px #a3b745}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#a3b745;border-color:#a3b745}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#829237;color:#829237}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#b6c669;color:#616d29;box-shadow:0 0 0 1px #b6c669}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#a3b745;border-color:#a3b745;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a9bd4f;border-color:#99ac41;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.wp-core-ui .button-primary:active{background:#93a43e;border-color:#93a43e;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#a3b745;color:#fff;border-color:#727f30;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#a3b745}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #a3b745;color:#a3b745}.wrap .page-title-action:hover{color:#829237;border-color:#829237}.wrap .page-title-action:focus{border-color:#b6c669;color:#616d29;box-shadow:0 0 0 1px #b6c669}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#413256}#adminmenu .wp-submenu .wp-submenu-head{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-button{color:#ece6f6}#collapse-button:focus,#collapse-button:hover{color:#a3b745}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#a3b745}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#a3b745}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#ece6f6}#wpadminbar #adminbarsearch:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#634c84}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#d46f15}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#bf6413}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#634c84;background-color:#634c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#a3b745}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#a3b745;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #b6c669,0 0 2px 1px #a3b745}div#wp-responsive-toggle a:before{color:#ece6f6}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#ece6f6}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#a3b745}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#a3b745}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#a3b745}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#a3b745}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #b6c669,0 0 2px 1px #a3b745}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#a3b745;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#a3b745}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#a3b745;border-style:solid;box-shadow:0 0 0 1px #a3b745;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#a3b745}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#a3b745}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#a3b745}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #b6c669,0 0 2px 1px #a3b745}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#a3b745;color:#0073aa}.welcome-panel{background-color:#523f6d}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#523f6d}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ectoplasm/colors.scss b/build/wp-admin/css/colors/ectoplasm/colors.scss deleted file mode 100644 index e32fee395a..0000000000 --- a/build/wp-admin/css/colors/ectoplasm/colors.scss +++ /dev/null @@ -1,11 +0,0 @@ -$scheme-name: "ectoplasm"; -$base-color: #523f6d; -$icon-color: #ece6f6; -$highlight-color: #a3b745; -$notification-color: #d46f15; - -$form-checked: $base-color; - -$dashboard-accent-1: $base-color; - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/colors/light/colors-rtl.css b/build/wp-admin/css/colors/light/colors-rtl.css deleted file mode 100644 index d5d24088df..0000000000 --- a/build/wp-admin/css/colors/light/colors-rtl.css +++ /dev/null @@ -1,726 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f5f5f5; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #04a4cc; - box-shadow: 0 0 0 1px #04a4cc; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #04a4cc; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #04a4cc; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #04a4cc; - border-color: #04a4cc; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #037c9a; - color: #037c9a; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #09cafa; - color: #025468; - box-shadow: 0 0 0 1px #09cafa; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #04a4cc; - border-color: #04a4cc; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #04b0db; - border-color: #0498bd; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc; -} -.wp-core-ui .button-primary:active { - background: #0490b3; - border-color: #0490b3; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #04a4cc; - color: #fff; - border-color: #036881; - box-shadow: inset 0 2px 5px -3px black; -} -.wp-core-ui .button-group > .button.active { - border-color: #04a4cc; -} -.wp-core-ui .wp-ui-primary { - color: #333; - background-color: #e5e5e5; -} -.wp-core-ui .wp-ui-text-primary { - color: #e5e5e5; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #888; -} -.wp-core-ui .wp-ui-text-highlight { - color: #888; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d64e07; -} -.wp-core-ui .wp-ui-text-notification { - color: #d64e07; -} -.wp-core-ui .wp-ui-text-icon { - color: #999; -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #04a4cc; - color: #04a4cc; -} - -.wrap .page-title-action:hover { - color: #037c9a; - border-color: #037c9a; -} - -.wrap .page-title-action:focus { - border-color: #09cafa; - color: #025468; - box-shadow: 0 0 0 1px #09cafa; -} - -.view-switch a.current:before { - color: #e5e5e5; -} - -.view-switch a:hover:before { - color: #d64e07; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #e5e5e5; -} - -#adminmenu a { - color: #333; -} - -#adminmenu div.wp-menu-image:before { - color: #999; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #888; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #ccc; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f5f5f5; - border-bottom-color: #f5f5f5; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #fff; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #fff; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #686868; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #686868; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #04a4cc; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #333; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #04a4cc; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f5f5f5; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #888; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #ccc; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #d64e07; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #333; - background: #fff; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #777; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #04a4cc; -} - -/* Admin Bar */ -#wpadminbar { - color: #333; - background: #e5e5e5; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #333; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #999; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #04a4cc; - background: #fff; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #04a4cc; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #04a4cc; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #fff; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #f7f7f7; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #686868; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #999; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #04a4cc; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #04a4cc; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #999; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #999; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #333; - background: #f7f7f7; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #d64e07; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #c14606; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #f7f7f7; - background-color: #f7f7f7; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #333; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #04a4cc; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #686868; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #04a4cc; - border-color: #0490b3; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #04a4cc; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #04a4cc; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #04a4cc; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc; -} - -.attachment.details .check { - background-color: #04a4cc; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #04a4cc; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #04a4cc; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #e5e5e5; -} - -body.more-filters-opened .more-filters { - color: #333; - background-color: #e5e5e5; -} - -body.more-filters-opened .more-filters:before { - color: #333; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #888; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #888; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #999; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #888; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #fff; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #999; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #04a4cc; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #04a4cc; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #04a4cc; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #04a4cc; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #04a4cc; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #04a4cc; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #04a4cc; - border-style: solid; - box-shadow: 0 0 0 1px #04a4cc; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #04a4cc; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #04a4cc; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #04a4cc; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #04a4cc; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #04a4cc; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #04a4cc; -} - -[class*=welcome-panel-icon] { - background-color: #333; -} - -/* Override the theme filter highlight color for this scheme */ -.theme-section.current, -.theme-filter.current { - border-bottom-color: #04a4cc; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/light/colors-rtl.min.css b/build/wp-admin/css/colors/light/colors-rtl.min.css deleted file mode 100644 index 958af75d7f..0000000000 --- a/build/wp-admin/css/colors/light/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f5f5f5}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#04a4cc;box-shadow:0 0 0 1px #04a4cc}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#04a4cc;color:#262a2e;box-shadow:inset 0 2px 5px -3px #04a4cc}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#04a4cc;border-color:#04a4cc}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#037c9a;color:#037c9a}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#09cafa;color:#025468;box-shadow:0 0 0 1px #09cafa}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#04a4cc;border-color:#04a4cc;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#04b0db;border-color:#0498bd;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.wp-core-ui .button-primary:active{background:#0490b3;border-color:#0490b3;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#04a4cc;color:#fff;border-color:#036881;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#04a4cc}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #04a4cc;color:#04a4cc}.wrap .page-title-action:hover{color:#037c9a;border-color:#037c9a}.wrap .page-title-action:focus{border-color:#09cafa;color:#025468;box-shadow:0 0 0 1px #09cafa}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#fff}#adminmenu .wp-submenu .wp-submenu-head{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-button{color:#777}#collapse-button:focus,#collapse-button:hover{color:#04a4cc}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#04a4cc;background:#fff}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#04a4cc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f7f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#04a4cc}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#999}#wpadminbar #adminbarsearch:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#d64e07}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#c14606}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#04a4cc}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#04a4cc}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#04a4cc}.theme-filter.current,.theme-section.current{border-bottom-color:#e5e5e5}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #09cafa,0 0 2px 1px #04a4cc}div#wp-responsive-toggle a:before{color:#999}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#999}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#04a4cc}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#04a4cc}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#04a4cc}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#04a4cc}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #09cafa,0 0 2px 1px #04a4cc}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#04a4cc;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#04a4cc}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#04a4cc;border-style:solid;box-shadow:0 0 0 1px #04a4cc;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#04a4cc}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#04a4cc}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#04a4cc}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #09cafa,0 0 2px 1px #04a4cc}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#04a4cc;color:#0073aa}.welcome-panel{background-color:#04a4cc}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#04a4cc}[class*=welcome-panel-icon]{background-color:#333}.theme-filter.current,.theme-section.current{border-bottom-color:#04a4cc} \ No newline at end of file diff --git a/build/wp-admin/css/colors/light/colors.css b/build/wp-admin/css/colors/light/colors.css deleted file mode 100644 index 38a4fb02e4..0000000000 --- a/build/wp-admin/css/colors/light/colors.css +++ /dev/null @@ -1,726 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f5f5f5; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #04a4cc; - box-shadow: 0 0 0 1px #04a4cc; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #04a4cc; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #04a4cc; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #04a4cc; - border-color: #04a4cc; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #037c9a; - color: #037c9a; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #09cafa; - color: #025468; - box-shadow: 0 0 0 1px #09cafa; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #04a4cc; - border-color: #04a4cc; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #04b0db; - border-color: #0498bd; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc; -} -.wp-core-ui .button-primary:active { - background: #0490b3; - border-color: #0490b3; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #04a4cc; - color: #fff; - border-color: #036881; - box-shadow: inset 0 2px 5px -3px black; -} -.wp-core-ui .button-group > .button.active { - border-color: #04a4cc; -} -.wp-core-ui .wp-ui-primary { - color: #333; - background-color: #e5e5e5; -} -.wp-core-ui .wp-ui-text-primary { - color: #e5e5e5; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #888; -} -.wp-core-ui .wp-ui-text-highlight { - color: #888; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #d64e07; -} -.wp-core-ui .wp-ui-text-notification { - color: #d64e07; -} -.wp-core-ui .wp-ui-text-icon { - color: #999; -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #04a4cc; - color: #04a4cc; -} - -.wrap .page-title-action:hover { - color: #037c9a; - border-color: #037c9a; -} - -.wrap .page-title-action:focus { - border-color: #09cafa; - color: #025468; - box-shadow: 0 0 0 1px #09cafa; -} - -.view-switch a.current:before { - color: #e5e5e5; -} - -.view-switch a:hover:before { - color: #d64e07; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #e5e5e5; -} - -#adminmenu a { - color: #333; -} - -#adminmenu div.wp-menu-image:before { - color: #999; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #888; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #ccc; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f5f5f5; - border-bottom-color: #f5f5f5; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #fff; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #fff; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #686868; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #686868; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #04a4cc; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #333; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #04a4cc; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f5f5f5; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #888; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #ccc; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #d64e07; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #333; - background: #fff; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #777; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #04a4cc; -} - -/* Admin Bar */ -#wpadminbar { - color: #333; - background: #e5e5e5; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #333; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #999; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #04a4cc; - background: #fff; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #04a4cc; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #04a4cc; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #fff; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #f7f7f7; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #686868; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #999; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #04a4cc; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #04a4cc; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #999; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #999; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #333; - background: #f7f7f7; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #d64e07; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #c14606; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #f7f7f7; - background-color: #f7f7f7; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #333; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #04a4cc; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #686868; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #04a4cc; - border-color: #0490b3; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #04a4cc; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #04a4cc; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #04a4cc; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc; -} - -.attachment.details .check { - background-color: #04a4cc; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #04a4cc; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #04a4cc; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #e5e5e5; -} - -body.more-filters-opened .more-filters { - color: #333; - background-color: #e5e5e5; -} - -body.more-filters-opened .more-filters:before { - color: #333; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #888; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #888; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #999; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #888; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #fff; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #999; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #04a4cc; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #04a4cc; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #04a4cc; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #04a4cc; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #04a4cc; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #04a4cc; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #04a4cc; - border-style: solid; - box-shadow: 0 0 0 1px #04a4cc; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #04a4cc; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #04a4cc; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #04a4cc; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #04a4cc; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #04a4cc; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #04a4cc; -} - -[class*=welcome-panel-icon] { - background-color: #333; -} - -/* Override the theme filter highlight color for this scheme */ -.theme-section.current, -.theme-filter.current { - border-bottom-color: #04a4cc; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/light/colors.min.css b/build/wp-admin/css/colors/light/colors.min.css deleted file mode 100644 index c87e01fd71..0000000000 --- a/build/wp-admin/css/colors/light/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f5f5f5}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#04a4cc;box-shadow:0 0 0 1px #04a4cc}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#04a4cc;color:#262a2e;box-shadow:inset 0 2px 5px -3px #04a4cc}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#04a4cc;border-color:#04a4cc}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#037c9a;color:#037c9a}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#09cafa;color:#025468;box-shadow:0 0 0 1px #09cafa}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#04a4cc;border-color:#04a4cc;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#04b0db;border-color:#0498bd;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.wp-core-ui .button-primary:active{background:#0490b3;border-color:#0490b3;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#04a4cc;color:#fff;border-color:#036881;box-shadow:inset 0 2px 5px -3px #000}.wp-core-ui .button-group>.button.active{border-color:#04a4cc}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #04a4cc;color:#04a4cc}.wrap .page-title-action:hover{color:#037c9a;border-color:#037c9a}.wrap .page-title-action:focus{border-color:#09cafa;color:#025468;box-shadow:0 0 0 1px #09cafa}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#fff}#adminmenu .wp-submenu .wp-submenu-head{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-button{color:#777}#collapse-button:focus,#collapse-button:hover{color:#04a4cc}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#04a4cc;background:#fff}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#04a4cc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f7f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#04a4cc}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#999}#wpadminbar #adminbarsearch:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#d64e07}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#c14606}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#04a4cc}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#04a4cc}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#04a4cc}.theme-filter.current,.theme-section.current{border-bottom-color:#e5e5e5}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #09cafa,0 0 2px 1px #04a4cc}div#wp-responsive-toggle a:before{color:#999}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#999}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#04a4cc}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#04a4cc}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#04a4cc}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#04a4cc}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #09cafa,0 0 2px 1px #04a4cc}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#04a4cc;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#04a4cc}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#04a4cc;border-style:solid;box-shadow:0 0 0 1px #04a4cc;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#04a4cc}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#04a4cc}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#04a4cc}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #09cafa,0 0 2px 1px #04a4cc}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#04a4cc;color:#0073aa}.welcome-panel{background-color:#04a4cc}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#04a4cc}[class*=welcome-panel-icon]{background-color:#333}.theme-filter.current,.theme-section.current{border-bottom-color:#04a4cc} \ No newline at end of file diff --git a/build/wp-admin/css/colors/light/colors.scss b/build/wp-admin/css/colors/light/colors.scss deleted file mode 100644 index ac1515ca79..0000000000 --- a/build/wp-admin/css/colors/light/colors.scss +++ /dev/null @@ -1,29 +0,0 @@ -$scheme-name: "light"; -$base-color: #e5e5e5; -$icon-color: #999; -$text-color: #333; -$highlight-color: #04a4cc; -$notification-color: #d64e07; - -$body-background: #f5f5f5; - -$menu-highlight-text: #fff; -$menu-highlight-icon: #ccc; -$menu-highlight-background: #888; - -$menu-bubble-text: #fff; -$menu-avatar-frame: #aaa; -$menu-submenu-background: #fff; - -$menu-collapse-text: #777; -$menu-collapse-focus-icon: #555; - -$dashboard-icon-background: $text-color; - -@import "../_admin.scss"; - -/* Override the theme filter highlight color for this scheme */ -.theme-section.current, -.theme-filter.current { - border-bottom-color: $highlight-color; -} diff --git a/build/wp-admin/css/colors/midnight/colors-rtl.css b/build/wp-admin/css/colors/midnight/colors-rtl.css deleted file mode 100644 index f123afaedb..0000000000 --- a/build/wp-admin/css/colors/midnight/colors-rtl.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #e14d43; - box-shadow: 0 0 0 1px #e14d43; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #e14d43; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #e14d43; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #e14d43; - border-color: #e14d43; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #d02c21; - color: #d02c21; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #e8776f; - color: #a4231a; - box-shadow: 0 0 0 1px #e8776f; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #e14d43; - border-color: #e14d43; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #e35950; - border-color: #df4136; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43; -} -.wp-core-ui .button-primary:active { - background: #dd382d; - border-color: #dd382d; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #e14d43; - color: #fff; - border-color: #ba281e; - box-shadow: inset 0 2px 5px -3px #200705; -} -.wp-core-ui .button-group > .button.active { - border-color: #e14d43; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #363b3f; -} -.wp-core-ui .wp-ui-text-primary { - color: #363b3f; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #e14d43; -} -.wp-core-ui .wp-ui-text-highlight { - color: #e14d43; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #69a8bb; -} -.wp-core-ui .wp-ui-text-notification { - color: #69a8bb; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(206.6666666667deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #e14d43; - color: #e14d43; -} - -.wrap .page-title-action:hover { - color: #d02c21; - border-color: #d02c21; -} - -.wrap .page-title-action:focus { - border-color: #e8776f; - color: #a4231a; - box-shadow: 0 0 0 1px #e8776f; -} - -.view-switch a.current:before { - color: #363b3f; -} - -.view-switch a:hover:before { - color: #69a8bb; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #363b3f; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #e14d43; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #26292c; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #26292c; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #c3c4c5; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #c3c4c5; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #e14d43; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #e14d43; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #e14d43; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #69a8bb; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #26292c; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #e14d43; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #363b3f; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #e14d43; - background: #26292c; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #e14d43; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #e14d43; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #26292c; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4c4c4d; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #c3c4c5; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #e14d43; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #e14d43; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #464d52; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #69a8bb; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #5f97a8; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #464d52; - background-color: #464d52; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #e14d43; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #c3c4c5; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #e14d43; - border-color: #dd382d; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #e14d43; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #e14d43; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #e14d43; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43; -} - -.attachment.details .check { - background-color: #e14d43; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #e14d43; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #e14d43; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #363b3f; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #363b3f; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #e14d43; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #e14d43; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #e14d43; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #26292c; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #e14d43; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #e14d43; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #e14d43; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #e14d43; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #e14d43; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #e14d43; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #e14d43; - border-style: solid; - box-shadow: 0 0 0 1px #e14d43; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #e14d43; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #e14d43; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #e14d43; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #e14d43; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #69a8bb; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #69a8bb; -} - -[class*=welcome-panel-icon] { - background-color: #e14d43; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/midnight/colors-rtl.min.css b/build/wp-admin/css/colors/midnight/colors-rtl.min.css deleted file mode 100644 index 49edc515f7..0000000000 --- a/build/wp-admin/css/colors/midnight/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#e14d43;box-shadow:0 0 0 1px #e14d43}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#e14d43;color:#262a2e;box-shadow:inset 0 2px 5px -3px #e14d43}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#e14d43;border-color:#e14d43}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#d02c21;color:#d02c21}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#e8776f;color:#a4231a;box-shadow:0 0 0 1px #e8776f}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#e14d43;border-color:#e14d43;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e35950;border-color:#df4136;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.wp-core-ui .button-primary:active{background:#dd382d;border-color:#dd382d;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#e14d43;color:#fff;border-color:#ba281e;box-shadow:inset 0 2px 5px -3px #200705}.wp-core-ui .button-group>.button.active{border-color:#e14d43}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:hsl(206.6666666667deg,7%,95%)}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #e14d43;color:#e14d43}.wrap .page-title-action:hover{color:#d02c21;border-color:#d02c21}.wrap .page-title-action:focus{border-color:#e8776f;color:#a4231a;box-shadow:0 0 0 1px #e8776f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(206.6666666667deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#26292c}#adminmenu .wp-submenu .wp-submenu-head{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-button{color:hsl(206.6666666667deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#e14d43}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#e14d43}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#e14d43}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#69a8bb}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#5f97a8}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c5}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd382d}.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#e14d43}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#e14d43;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #e8776f,0 0 2px 1px #e14d43}div#wp-responsive-toggle a:before{color:hsl(206.6666666667deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(206.6666666667deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#e14d43}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#e14d43}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#e14d43}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#e14d43}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e8776f,0 0 2px 1px #e14d43}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#e14d43;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#e14d43}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#e14d43;border-style:solid;box-shadow:0 0 0 1px #e14d43;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#e14d43}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#e14d43}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#e14d43}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e8776f,0 0 2px 1px #e14d43}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#e14d43;color:#0073aa}.welcome-panel{background-color:#69a8bb}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#69a8bb}[class*=welcome-panel-icon]{background-color:#e14d43} \ No newline at end of file diff --git a/build/wp-admin/css/colors/midnight/colors.css b/build/wp-admin/css/colors/midnight/colors.css deleted file mode 100644 index 77a4d0ee6c..0000000000 --- a/build/wp-admin/css/colors/midnight/colors.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #e14d43; - box-shadow: 0 0 0 1px #e14d43; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #e14d43; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #e14d43; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #e14d43; - border-color: #e14d43; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #d02c21; - color: #d02c21; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #e8776f; - color: #a4231a; - box-shadow: 0 0 0 1px #e8776f; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #e14d43; - border-color: #e14d43; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #e35950; - border-color: #df4136; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43; -} -.wp-core-ui .button-primary:active { - background: #dd382d; - border-color: #dd382d; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #e14d43; - color: #fff; - border-color: #ba281e; - box-shadow: inset 0 2px 5px -3px #200705; -} -.wp-core-ui .button-group > .button.active { - border-color: #e14d43; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #363b3f; -} -.wp-core-ui .wp-ui-text-primary { - color: #363b3f; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #e14d43; -} -.wp-core-ui .wp-ui-text-highlight { - color: #e14d43; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #69a8bb; -} -.wp-core-ui .wp-ui-text-notification { - color: #69a8bb; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(206.6666666667deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #e14d43; - color: #e14d43; -} - -.wrap .page-title-action:hover { - color: #d02c21; - border-color: #d02c21; -} - -.wrap .page-title-action:focus { - border-color: #e8776f; - color: #a4231a; - box-shadow: 0 0 0 1px #e8776f; -} - -.view-switch a.current:before { - color: #363b3f; -} - -.view-switch a:hover:before { - color: #69a8bb; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #363b3f; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #e14d43; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #26292c; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #26292c; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #c3c4c5; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #c3c4c5; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #e14d43; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #e14d43; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #e14d43; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #69a8bb; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #26292c; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #e14d43; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #363b3f; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #e14d43; - background: #26292c; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #e14d43; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #e14d43; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #26292c; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #4c4c4d; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #c3c4c5; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #e14d43; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #e14d43; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #464d52; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #69a8bb; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #5f97a8; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #464d52; - background-color: #464d52; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #e14d43; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #c3c4c5; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #e14d43; - border-color: #dd382d; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #e14d43; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #e14d43; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #e14d43; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43; -} - -.attachment.details .check { - background-color: #e14d43; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #e14d43; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #e14d43; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #363b3f; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #363b3f; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #e14d43; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #e14d43; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #e14d43; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #26292c; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(206.6666666667deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #e14d43; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #e14d43; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #e14d43; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #e14d43; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #e14d43; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #e14d43; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #e14d43; - border-style: solid; - box-shadow: 0 0 0 1px #e14d43; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #e14d43; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #e14d43; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #e14d43; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #e14d43; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #69a8bb; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #69a8bb; -} - -[class*=welcome-panel-icon] { - background-color: #e14d43; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/midnight/colors.min.css b/build/wp-admin/css/colors/midnight/colors.min.css deleted file mode 100644 index 1104967265..0000000000 --- a/build/wp-admin/css/colors/midnight/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#e14d43;box-shadow:0 0 0 1px #e14d43}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#e14d43;color:#262a2e;box-shadow:inset 0 2px 5px -3px #e14d43}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#e14d43;border-color:#e14d43}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#d02c21;color:#d02c21}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#e8776f;color:#a4231a;box-shadow:0 0 0 1px #e8776f}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#e14d43;border-color:#e14d43;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e35950;border-color:#df4136;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.wp-core-ui .button-primary:active{background:#dd382d;border-color:#dd382d;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#e14d43;color:#fff;border-color:#ba281e;box-shadow:inset 0 2px 5px -3px #200705}.wp-core-ui .button-group>.button.active{border-color:#e14d43}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:hsl(206.6666666667deg,7%,95%)}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #e14d43;color:#e14d43}.wrap .page-title-action:hover{color:#d02c21;border-color:#d02c21}.wrap .page-title-action:focus{border-color:#e8776f;color:#a4231a;box-shadow:0 0 0 1px #e8776f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(206.6666666667deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#26292c}#adminmenu .wp-submenu .wp-submenu-head{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-button{color:hsl(206.6666666667deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#e14d43}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#e14d43}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#e14d43}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(206.6666666667deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#69a8bb}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#5f97a8}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c5}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd382d}.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#e14d43}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#e14d43;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #e8776f,0 0 2px 1px #e14d43}div#wp-responsive-toggle a:before{color:hsl(206.6666666667deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(206.6666666667deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#e14d43}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#e14d43}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#e14d43}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#e14d43}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e8776f,0 0 2px 1px #e14d43}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#e14d43;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#e14d43}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#e14d43;border-style:solid;box-shadow:0 0 0 1px #e14d43;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#e14d43}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#e14d43}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#e14d43}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e8776f,0 0 2px 1px #e14d43}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#e14d43;color:#0073aa}.welcome-panel{background-color:#69a8bb}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#69a8bb}[class*=welcome-panel-icon]{background-color:#e14d43} \ No newline at end of file diff --git a/build/wp-admin/css/colors/midnight/colors.scss b/build/wp-admin/css/colors/midnight/colors.scss deleted file mode 100644 index acb2cc29d2..0000000000 --- a/build/wp-admin/css/colors/midnight/colors.scss +++ /dev/null @@ -1,9 +0,0 @@ -$scheme-name: "midnight"; -$base-color: #363b3f; -$highlight-color: #e14d43; -$notification-color: #69a8bb; - -$dashboard-accent-1: $notification-color; -$dashboard-icon-background: $highlight-color; - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/colors/modern/colors-rtl.css b/build/wp-admin/css/colors/modern/colors-rtl.css deleted file mode 100644 index ef3be373e6..0000000000 --- a/build/wp-admin/css/colors/modern/colors-rtl.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #3858e9; -} -a:hover, a:active, a:focus { - color: #183ad6; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #3858e9; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #183ad6; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #183ad6; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #3858e9; - box-shadow: 0 0 0 1px #3858e9; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #3858e9; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #3858e9; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #3858e9; - border-color: #3858e9; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #183ad6; - color: #183ad6; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #667fee; - color: #132ea8; - box-shadow: 0 0 0 1px #667fee; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #3858e9; - border-color: #3858e9; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #4664eb; - border-color: #2a4ce7; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9; -} -.wp-core-ui .button-primary:active { - background: #2145e6; - border-color: #2145e6; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #3858e9; - color: #fff; - border-color: #1534bf; - box-shadow: inset 0 2px 5px -3px #03081f; -} -.wp-core-ui .button-group > .button.active { - border-color: #3858e9; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #1e1e1e; -} -.wp-core-ui .wp-ui-text-primary { - color: #1e1e1e; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #3858e9; -} -.wp-core-ui .wp-ui-text-highlight { - color: #3858e9; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #3858e9; -} -.wp-core-ui .wp-ui-text-notification { - color: #3858e9; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(0deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #3858e9; - color: #3858e9; -} - -.wrap .page-title-action:hover { - color: #183ad6; - border-color: #183ad6; -} - -.wrap .page-title-action:focus { - border-color: #667fee; - color: #132ea8; - box-shadow: 0 0 0 1px #667fee; -} - -.view-switch a.current:before { - color: #1e1e1e; -} - -.view-switch a:hover:before { - color: #3858e9; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #1e1e1e; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(0deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #3858e9; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #0c0c0c; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #0c0c0c; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #bcbcbc; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #bcbcbc; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #33f078; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #33f078; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #3858e9; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #3858e9; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #0c0c0c; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(0deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #33f078; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #1e1e1e; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(0deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #33f078; - background: #0c0c0c; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #33f078; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #33f078; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #0c0c0c; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #303030; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #bcbcbc; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(0deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #33f078; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #33f078; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(0deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(0deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #303030; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #3858e9; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #324fd2; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #303030; - background-color: #303030; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #33f078; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #bcbcbc; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #3858e9; - border-color: #2145e6; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #3858e9; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #3858e9; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #3858e9; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #3858e9; -} - -.attachment.details .check { - background-color: #3858e9; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #3858e9; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #3858e9; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #3858e9; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #1e1e1e; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #1e1e1e; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #3858e9; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #3858e9; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(0deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #3858e9; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #0c0c0c; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(0deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #3858e9; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #3858e9; - border-right-color: #3858e9; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #3858e9; - border-top-color: #3858e9; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #3858e9; - border-right-color: #3858e9; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #3858e9; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #3858e9; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #3858e9; - color: #3858e9; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #3858e9; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #3858e9; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #3858e9; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #3858e9; - border-style: solid; - box-shadow: 0 0 0 1px #3858e9; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #3858e9; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #3858e9; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #3858e9; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #3858e9; - color: #3858e9; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #273fcc; -} - -.welcome-panel-header-image circle { - stroke: #627eff; - fill: #273fcc; -} - -[class*=welcome-panel-icon] { - background-color: #1d2327; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/modern/colors-rtl.min.css b/build/wp-admin/css/colors/modern/colors-rtl.min.css deleted file mode 100644 index 9ddd3aa1c7..0000000000 --- a/build/wp-admin/css/colors/modern/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#3858e9}a:active,a:focus,a:hover{color:#183ad6}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#3858e9}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#183ad6}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#183ad6}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#3858e9;box-shadow:0 0 0 1px #3858e9}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#3858e9;color:#262a2e;box-shadow:inset 0 2px 5px -3px #3858e9}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#3858e9;border-color:#3858e9}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#183ad6;color:#183ad6}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#667fee;color:#132ea8;box-shadow:0 0 0 1px #667fee}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#3858e9;border-color:#3858e9;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#4664eb;border-color:#2a4ce7;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #3858e9}.wp-core-ui .button-primary:active{background:#2145e6;border-color:#2145e6;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#3858e9;color:#fff;border-color:#1534bf;box-shadow:inset 0 2px 5px -3px #03081f}.wp-core-ui .button-group>.button.active{border-color:#3858e9}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#1e1e1e}.wp-core-ui .wp-ui-text-primary{color:#1e1e1e}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#3858e9}.wp-core-ui .wp-ui-text-highlight{color:#3858e9}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#3858e9}.wp-core-ui .wp-ui-text-notification{color:#3858e9}.wp-core-ui .wp-ui-text-icon{color:hsl(0deg,7%,95%)}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #3858e9;color:#3858e9}.wrap .page-title-action:hover{color:#183ad6;border-color:#183ad6}.wrap .page-title-action:focus{border-color:#667fee;color:#132ea8;box-shadow:0 0 0 1px #667fee}.view-switch a.current:before{color:#1e1e1e}.view-switch a:hover:before{color:#3858e9}#adminmenu,#adminmenuback,#adminmenuwrap{background:#1e1e1e}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(0deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#3858e9}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#0c0c0c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#0c0c0c}#adminmenu .wp-submenu .wp-submenu-head{color:#bcbcbc}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#bcbcbc}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#33f078}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#33f078}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#3858e9}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#3858e9}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#0c0c0c}#collapse-button{color:hsl(0deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#33f078}#wpadminbar{color:#fff;background:#1e1e1e}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(0deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#33f078;background:#0c0c0c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#33f078}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#33f078}#wpadminbar .menupop .ab-sub-wrapper{background:#0c0c0c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#303030}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#bcbcbc}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(0deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#33f078}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#33f078}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(0deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(0deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#303030}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#3858e9}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#324fd2}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#303030;background-color:#303030}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#33f078}#wpadminbar #wp-admin-bar-user-info .username{color:#bcbcbc}.wp-pointer .wp-pointer-content h3{background-color:#3858e9;border-color:#2145e6}.wp-pointer .wp-pointer-content h3:before{color:#3858e9}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#3858e9}.media-item .bar,.media-progress-bar div{background-color:#3858e9}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #3858e9}.attachment.details .check{background-color:#3858e9;box-shadow:0 0 0 1px #fff,0 0 0 2px #3858e9}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #3858e9}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#3858e9}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#3858e9}.theme-filter.current,.theme-section.current{border-bottom-color:#1e1e1e}body.more-filters-opened .more-filters{color:#fff;background-color:#1e1e1e}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#3858e9;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#3858e9;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #667fee,0 0 2px 1px #3858e9}div#wp-responsive-toggle a:before{color:hsl(0deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#3858e9}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#0c0c0c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(0deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#3858e9}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#3858e9;border-right-color:#3858e9}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#3858e9;border-top-color:#3858e9}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#3858e9;border-right-color:#3858e9}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#3858e9}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #667fee,0 0 2px 1px #3858e9}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#3858e9}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#3858e9;color:#3858e9}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#3858e9}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#3858e9}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#3858e9}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#3858e9;border-style:solid;box-shadow:0 0 0 1px #3858e9;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#3858e9}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#3858e9}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#3858e9}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #667fee,0 0 2px 1px #3858e9}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#3858e9;color:#3858e9}.welcome-panel{background-color:#273fcc}.welcome-panel-header-image circle{stroke:#627eff;fill:#273fcc}[class*=welcome-panel-icon]{background-color:#1d2327} \ No newline at end of file diff --git a/build/wp-admin/css/colors/modern/colors.css b/build/wp-admin/css/colors/modern/colors.css deleted file mode 100644 index f7d850cd75..0000000000 --- a/build/wp-admin/css/colors/modern/colors.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #3858e9; -} -a:hover, a:active, a:focus { - color: #183ad6; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #3858e9; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #183ad6; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #183ad6; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #3858e9; - box-shadow: 0 0 0 1px #3858e9; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #3858e9; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #3858e9; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #3858e9; - border-color: #3858e9; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #183ad6; - color: #183ad6; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #667fee; - color: #132ea8; - box-shadow: 0 0 0 1px #667fee; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #3858e9; - border-color: #3858e9; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #4664eb; - border-color: #2a4ce7; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9; -} -.wp-core-ui .button-primary:active { - background: #2145e6; - border-color: #2145e6; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #3858e9; - color: #fff; - border-color: #1534bf; - box-shadow: inset 0 2px 5px -3px #03081f; -} -.wp-core-ui .button-group > .button.active { - border-color: #3858e9; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #1e1e1e; -} -.wp-core-ui .wp-ui-text-primary { - color: #1e1e1e; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #3858e9; -} -.wp-core-ui .wp-ui-text-highlight { - color: #3858e9; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #3858e9; -} -.wp-core-ui .wp-ui-text-notification { - color: #3858e9; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(0deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #3858e9; - color: #3858e9; -} - -.wrap .page-title-action:hover { - color: #183ad6; - border-color: #183ad6; -} - -.wrap .page-title-action:focus { - border-color: #667fee; - color: #132ea8; - box-shadow: 0 0 0 1px #667fee; -} - -.view-switch a.current:before { - color: #1e1e1e; -} - -.view-switch a:hover:before { - color: #3858e9; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #1e1e1e; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(0deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #3858e9; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #0c0c0c; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #0c0c0c; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #bcbcbc; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #bcbcbc; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #33f078; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #33f078; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #3858e9; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #3858e9; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #0c0c0c; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(0deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #33f078; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #1e1e1e; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(0deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #33f078; - background: #0c0c0c; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #33f078; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #33f078; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #0c0c0c; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #303030; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #bcbcbc; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(0deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #33f078; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #33f078; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(0deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(0deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #303030; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #3858e9; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #324fd2; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #303030; - background-color: #303030; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #33f078; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #bcbcbc; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #3858e9; - border-color: #2145e6; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #3858e9; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #3858e9; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #3858e9; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #3858e9; -} - -.attachment.details .check { - background-color: #3858e9; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #3858e9; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #3858e9; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #3858e9; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #1e1e1e; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #1e1e1e; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #3858e9; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #3858e9; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(0deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #3858e9; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #0c0c0c; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(0deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #3858e9; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #3858e9; - border-left-color: #3858e9; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #3858e9; - border-top-color: #3858e9; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #3858e9; - border-left-color: #3858e9; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #3858e9; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #3858e9; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #3858e9; - color: #3858e9; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #3858e9; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #3858e9; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #3858e9; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #3858e9; - border-style: solid; - box-shadow: 0 0 0 1px #3858e9; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #3858e9; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #3858e9; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #3858e9; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #3858e9; - color: #3858e9; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #273fcc; -} - -.welcome-panel-header-image circle { - stroke: #627eff; - fill: #273fcc; -} - -[class*=welcome-panel-icon] { - background-color: #1d2327; -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/modern/colors.min.css b/build/wp-admin/css/colors/modern/colors.min.css deleted file mode 100644 index 43959189d7..0000000000 --- a/build/wp-admin/css/colors/modern/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#3858e9}a:active,a:focus,a:hover{color:#183ad6}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#3858e9}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#183ad6}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#183ad6}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#3858e9;box-shadow:0 0 0 1px #3858e9}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#3858e9;color:#262a2e;box-shadow:inset 0 2px 5px -3px #3858e9}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#3858e9;border-color:#3858e9}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#183ad6;color:#183ad6}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#667fee;color:#132ea8;box-shadow:0 0 0 1px #667fee}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#3858e9;border-color:#3858e9;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#4664eb;border-color:#2a4ce7;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #3858e9}.wp-core-ui .button-primary:active{background:#2145e6;border-color:#2145e6;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#3858e9;color:#fff;border-color:#1534bf;box-shadow:inset 0 2px 5px -3px #03081f}.wp-core-ui .button-group>.button.active{border-color:#3858e9}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#1e1e1e}.wp-core-ui .wp-ui-text-primary{color:#1e1e1e}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#3858e9}.wp-core-ui .wp-ui-text-highlight{color:#3858e9}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#3858e9}.wp-core-ui .wp-ui-text-notification{color:#3858e9}.wp-core-ui .wp-ui-text-icon{color:hsl(0deg,7%,95%)}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #3858e9;color:#3858e9}.wrap .page-title-action:hover{color:#183ad6;border-color:#183ad6}.wrap .page-title-action:focus{border-color:#667fee;color:#132ea8;box-shadow:0 0 0 1px #667fee}.view-switch a.current:before{color:#1e1e1e}.view-switch a:hover:before{color:#3858e9}#adminmenu,#adminmenuback,#adminmenuwrap{background:#1e1e1e}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(0deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#3858e9}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#0c0c0c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#0c0c0c}#adminmenu .wp-submenu .wp-submenu-head{color:#bcbcbc}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#bcbcbc}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#33f078}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#33f078}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#3858e9}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#3858e9}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#0c0c0c}#collapse-button{color:hsl(0deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#33f078}#wpadminbar{color:#fff;background:#1e1e1e}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(0deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#33f078;background:#0c0c0c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#33f078}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#33f078}#wpadminbar .menupop .ab-sub-wrapper{background:#0c0c0c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#303030}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#bcbcbc}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(0deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#33f078}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#33f078}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(0deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(0deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#303030}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#3858e9}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#324fd2}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#303030;background-color:#303030}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#33f078}#wpadminbar #wp-admin-bar-user-info .username{color:#bcbcbc}.wp-pointer .wp-pointer-content h3{background-color:#3858e9;border-color:#2145e6}.wp-pointer .wp-pointer-content h3:before{color:#3858e9}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#3858e9}.media-item .bar,.media-progress-bar div{background-color:#3858e9}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #3858e9}.attachment.details .check{background-color:#3858e9;box-shadow:0 0 0 1px #fff,0 0 0 2px #3858e9}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #3858e9}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#3858e9}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#3858e9}.theme-filter.current,.theme-section.current{border-bottom-color:#1e1e1e}body.more-filters-opened .more-filters{color:#fff;background-color:#1e1e1e}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#3858e9;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#3858e9;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #667fee,0 0 2px 1px #3858e9}div#wp-responsive-toggle a:before{color:hsl(0deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#3858e9}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#0c0c0c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(0deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#3858e9}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#3858e9;border-left-color:#3858e9}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#3858e9;border-top-color:#3858e9}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#3858e9;border-left-color:#3858e9}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#3858e9}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #667fee,0 0 2px 1px #3858e9}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#3858e9}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#3858e9;color:#3858e9}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#3858e9}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#3858e9}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#3858e9}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#3858e9;border-style:solid;box-shadow:0 0 0 1px #3858e9;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#3858e9}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#3858e9}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#3858e9}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #667fee,0 0 2px 1px #3858e9}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#3858e9;color:#3858e9}.welcome-panel{background-color:#273fcc}.welcome-panel-header-image circle{stroke:#627eff;fill:#273fcc}[class*=welcome-panel-icon]{background-color:#1d2327} \ No newline at end of file diff --git a/build/wp-admin/css/colors/modern/colors.scss b/build/wp-admin/css/colors/modern/colors.scss deleted file mode 100644 index 35589df093..0000000000 --- a/build/wp-admin/css/colors/modern/colors.scss +++ /dev/null @@ -1,14 +0,0 @@ -$scheme-name: "modern"; -$base-color: #1e1e1e; -$highlight-color: #3858e9; -$menu-submenu-focus-text: #33f078; -$notification-color: $highlight-color; - -$link: $highlight-color; -$link-focus: darken($highlight-color, 10%); - -$dashboard-accent-1: #273fcc; -$dashboard-accent-2: #627eff; -$dashboard-icon-background: #1d2327; - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/colors/ocean/colors-rtl.css b/build/wp-admin/css/colors/ocean/colors-rtl.css deleted file mode 100644 index db211f9c94..0000000000 --- a/build/wp-admin/css/colors/ocean/colors-rtl.css +++ /dev/null @@ -1,687 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23738e96%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #738e96; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #9ebaa0; - box-shadow: 0 0 0 1px #9ebaa0; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #9ebaa0; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #9ebaa0; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button-primary { - background: #9ebaa0; - border-color: #9ebaa0; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #a7c0a9; - border-color: #95b497; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0; -} -.wp-core-ui .button-primary:active { - background: #8faf91; - border-color: #8faf91; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #9ebaa0; - color: #fff; - border-color: #719a74; - box-shadow: inset 0 2px 5px -3px #253426; -} -.wp-core-ui .button-group > .button.active { - border-color: #9ebaa0; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #738e96; -} -.wp-core-ui .wp-ui-text-primary { - color: #738e96; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #9ebaa0; -} -.wp-core-ui .wp-ui-text-highlight { - color: #9ebaa0; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #aa9d88; -} -.wp-core-ui .wp-ui-text-notification { - color: #aa9d88; -} -.wp-core-ui .wp-ui-text-icon { - color: #f2fcff; -} - -/* List tables */ -.wrap .page-title-action:hover { - color: #fff; - background-color: #738e96; -} - -.view-switch a.current:before { - color: #738e96; -} - -.view-switch a:hover:before { - color: #aa9d88; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #738e96; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: #f2fcff; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #9ebaa0; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #627c83; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #627c83; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #d5dde0; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #d5dde0; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #9ebaa0; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #9ebaa0; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #9ebaa0; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #aa9d88; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #627c83; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #f2fcff; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #9ebaa0; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #738e96; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #f2fcff; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #9ebaa0; - background: #627c83; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #9ebaa0; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #9ebaa0; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #627c83; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #8f9a9e; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #d5dde0; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #f2fcff; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #9ebaa0; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #9ebaa0; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #f2fcff; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f2fcff; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #879ea5; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #aa9d88; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #998d7a; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #879ea5; - background-color: #879ea5; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #9ebaa0; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #d5dde0; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #9ebaa0; - border-color: #8faf91; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #9ebaa0; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #9ebaa0; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #9ebaa0; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0; -} - -.attachment.details .check { - background-color: #9ebaa0; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #9ebaa0; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #9ebaa0; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #738e96; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #738e96; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #9ebaa0; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #9ebaa0; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f2fcff; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #9ebaa0; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #627c83; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #f2fcff; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #9ebaa0; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #9ebaa0; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #9ebaa0; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #9ebaa0; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #9ebaa0; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #9ebaa0; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #9ebaa0; - border-style: solid; - box-shadow: 0 0 0 1px #9ebaa0; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #9ebaa0; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #9ebaa0; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #9ebaa0; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #9ebaa0; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #9ebaa0; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #9ebaa0; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ocean/colors-rtl.min.css b/build/wp-admin/css/colors/ocean/colors-rtl.min.css deleted file mode 100644 index 05edd9cf56..0000000000 --- a/build/wp-admin/css/colors/ocean/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23738e96%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#9ebaa0;box-shadow:0 0 0 1px #9ebaa0}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#9ebaa0;color:#262a2e;box-shadow:inset 0 2px 5px -3px #9ebaa0}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#9ebaa0;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a7c0a9;border-color:#95b497;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.wp-core-ui .button-primary:active{background:#8faf91;border-color:#8faf91;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#9ebaa0;color:#fff;border-color:#719a74;box-shadow:inset 0 2px 5px -3px #253426}.wp-core-ui .button-group>.button.active{border-color:#9ebaa0}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}.wrap .page-title-action:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#627c83}#adminmenu .wp-submenu .wp-submenu-head{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-button{color:#f2fcff}#collapse-button:focus,#collapse-button:hover{color:#9ebaa0}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#9ebaa0}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9a9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#d5dde0}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#9ebaa0}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f2fcff}#wpadminbar #adminbarsearch:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879ea5}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#aa9d88}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#998d7a}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879ea5;background-color:#879ea5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dde0}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#9ebaa0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#9ebaa0;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #bccfbd,0 0 2px 1px #9ebaa0}div#wp-responsive-toggle a:before{color:#f2fcff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f2fcff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#9ebaa0}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#9ebaa0}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#9ebaa0}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#9ebaa0}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #bccfbd,0 0 2px 1px #9ebaa0}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#9ebaa0;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#9ebaa0}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#9ebaa0;border-style:solid;box-shadow:0 0 0 1px #9ebaa0;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#9ebaa0}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#9ebaa0}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#9ebaa0}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #bccfbd,0 0 2px 1px #9ebaa0}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#9ebaa0;color:#0073aa}.welcome-panel{background-color:#9ebaa0}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#9ebaa0}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ocean/colors.css b/build/wp-admin/css/colors/ocean/colors.css deleted file mode 100644 index 1fba4996ae..0000000000 --- a/build/wp-admin/css/colors/ocean/colors.css +++ /dev/null @@ -1,687 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23738e96%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #738e96; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #9ebaa0; - box-shadow: 0 0 0 1px #9ebaa0; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #9ebaa0; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #9ebaa0; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button-primary { - background: #9ebaa0; - border-color: #9ebaa0; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #a7c0a9; - border-color: #95b497; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0; -} -.wp-core-ui .button-primary:active { - background: #8faf91; - border-color: #8faf91; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #9ebaa0; - color: #fff; - border-color: #719a74; - box-shadow: inset 0 2px 5px -3px #253426; -} -.wp-core-ui .button-group > .button.active { - border-color: #9ebaa0; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #738e96; -} -.wp-core-ui .wp-ui-text-primary { - color: #738e96; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #9ebaa0; -} -.wp-core-ui .wp-ui-text-highlight { - color: #9ebaa0; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #aa9d88; -} -.wp-core-ui .wp-ui-text-notification { - color: #aa9d88; -} -.wp-core-ui .wp-ui-text-icon { - color: #f2fcff; -} - -/* List tables */ -.wrap .page-title-action:hover { - color: #fff; - background-color: #738e96; -} - -.view-switch a.current:before { - color: #738e96; -} - -.view-switch a:hover:before { - color: #aa9d88; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #738e96; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: #f2fcff; -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #9ebaa0; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #627c83; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #627c83; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #d5dde0; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #d5dde0; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #9ebaa0; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #9ebaa0; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #9ebaa0; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #aa9d88; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #627c83; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: #f2fcff; -} - -#collapse-button:hover, -#collapse-button:focus { - color: #9ebaa0; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #738e96; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: #f2fcff; -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #9ebaa0; - background: #627c83; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #9ebaa0; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #9ebaa0; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #627c83; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #8f9a9e; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #d5dde0; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: #f2fcff; -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #9ebaa0; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #9ebaa0; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: #f2fcff; -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: #f2fcff; -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #879ea5; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #aa9d88; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #998d7a; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #879ea5; - background-color: #879ea5; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #9ebaa0; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #d5dde0; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #9ebaa0; - border-color: #8faf91; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #9ebaa0; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #9ebaa0; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #9ebaa0; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0; -} - -.attachment.details .check { - background-color: #9ebaa0; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #9ebaa0; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #9ebaa0; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #738e96; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #738e96; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #9ebaa0; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #9ebaa0; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: #f2fcff; -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #9ebaa0; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #627c83; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: #f2fcff; -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #9ebaa0; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #9ebaa0; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #9ebaa0; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #9ebaa0; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #9ebaa0; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #9ebaa0; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #9ebaa0; - border-style: solid; - box-shadow: 0 0 0 1px #9ebaa0; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #9ebaa0; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #9ebaa0; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #9ebaa0; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #9ebaa0; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #9ebaa0; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #9ebaa0; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ocean/colors.min.css b/build/wp-admin/css/colors/ocean/colors.min.css deleted file mode 100644 index ef504e69df..0000000000 --- a/build/wp-admin/css/colors/ocean/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23738e96%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#9ebaa0;box-shadow:0 0 0 1px #9ebaa0}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#9ebaa0;color:#262a2e;box-shadow:inset 0 2px 5px -3px #9ebaa0}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#9ebaa0;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a7c0a9;border-color:#95b497;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.wp-core-ui .button-primary:active{background:#8faf91;border-color:#8faf91;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#9ebaa0;color:#fff;border-color:#719a74;box-shadow:inset 0 2px 5px -3px #253426}.wp-core-ui .button-group>.button.active{border-color:#9ebaa0}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}.wrap .page-title-action:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#627c83}#adminmenu .wp-submenu .wp-submenu-head{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-button{color:#f2fcff}#collapse-button:focus,#collapse-button:hover{color:#9ebaa0}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#9ebaa0}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9a9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#d5dde0}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#9ebaa0}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f2fcff}#wpadminbar #adminbarsearch:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879ea5}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#aa9d88}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#998d7a}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879ea5;background-color:#879ea5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dde0}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#9ebaa0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#9ebaa0;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #bccfbd,0 0 2px 1px #9ebaa0}div#wp-responsive-toggle a:before{color:#f2fcff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f2fcff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#9ebaa0}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#9ebaa0}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#9ebaa0}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#9ebaa0}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #bccfbd,0 0 2px 1px #9ebaa0}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#9ebaa0;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#9ebaa0}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#9ebaa0;border-style:solid;box-shadow:0 0 0 1px #9ebaa0;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#9ebaa0}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#9ebaa0}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#9ebaa0}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #bccfbd,0 0 2px 1px #9ebaa0}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#9ebaa0;color:#0073aa}.welcome-panel{background-color:#9ebaa0}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#9ebaa0}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/ocean/colors.scss b/build/wp-admin/css/colors/ocean/colors.scss deleted file mode 100644 index 027c27d470..0000000000 --- a/build/wp-admin/css/colors/ocean/colors.scss +++ /dev/null @@ -1,10 +0,0 @@ -$scheme-name: "ocean"; -$base-color: #738e96; -$icon-color: #f2fcff; -$highlight-color: #9ebaa0; -$notification-color: #aa9d88; -$low-contrast-theme: "true"; - -$form-checked: $base-color; - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/colors/sunrise/colors-rtl.css b/build/wp-admin/css/colors/sunrise/colors-rtl.css deleted file mode 100644 index 5208ccf1c5..0000000000 --- a/build/wp-admin/css/colors/sunrise/colors-rtl.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #dd823b; - box-shadow: 0 0 0 1px #dd823b; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #dd823b; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #dd823b; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #dd823b; - border-color: #dd823b; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #c36922; - color: #c36922; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #e59e66; - color: #98511a; - box-shadow: 0 0 0 1px #e59e66; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #dd823b; - border-color: #dd823b; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #df8a48; - border-color: #db7a2e; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b; -} -.wp-core-ui .button-primary:active { - background: #d97426; - border-color: #d97426; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #dd823b; - color: #fff; - border-color: #ad5d1e; - box-shadow: inset 0 2px 5px -3px #150b04; -} -.wp-core-ui .button-group > .button.active { - border-color: #dd823b; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #cf4944; -} -.wp-core-ui .wp-ui-text-primary { - color: #cf4944; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #dd823b; -} -.wp-core-ui .wp-ui-text-highlight { - color: #dd823b; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #ccaf0b; -} -.wp-core-ui .wp-ui-text-notification { - color: #ccaf0b; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(2.1582733813deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #dd823b; - color: #dd823b; -} - -.wrap .page-title-action:hover { - color: #c36922; - border-color: #c36922; -} - -.wrap .page-title-action:focus { - border-color: #e59e66; - color: #98511a; - box-shadow: 0 0 0 1px #e59e66; -} - -.view-switch a.current:before { - color: #cf4944; -} - -.view-switch a:hover:before { - color: #ccaf0b; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #cf4944; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #dd823b; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #be3631; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-left-color: #be3631; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #f1c8c7; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #f1c8c7; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #f7e3d3; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #f7e3d3; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-left-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #dd823b; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #ccaf0b; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #be3631; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #f7e3d3; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #cf4944; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #f7e3d3; - background: #be3631; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #f7e3d3; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #f7e3d3; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #be3631; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #cf6b67; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #f1c8c7; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #f7e3d3; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #f7e3d3; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #d66560; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #ccaf0b; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #b89e0a; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #d66560; - background-color: #d66560; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #f7e3d3; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #f1c8c7; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #dd823b; - border-color: #d97426; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #dd823b; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #dd823b; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #dd823b; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b; -} - -.attachment.details .check { - background-color: #dd823b; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #dd823b; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #dd823b; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #cf4944; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #cf4944; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #dd823b; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #dd823b; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #dd823b; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #be3631; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #dd823b; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-right-color: #dd823b; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #dd823b; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-right-color: #dd823b; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-right-color: #dd823b; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #dd823b; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #dd823b; - border-style: solid; - box-shadow: 0 0 0 1px #dd823b; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #dd823b; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #dd823b; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #dd823b; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #dd823b; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #dd823b; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #dd823b; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/sunrise/colors-rtl.min.css b/build/wp-admin/css/colors/sunrise/colors-rtl.min.css deleted file mode 100644 index 04dc141eab..0000000000 --- a/build/wp-admin/css/colors/sunrise/colors-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#dd823b;box-shadow:0 0 0 1px #dd823b}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#dd823b;color:#262a2e;box-shadow:inset 0 2px 5px -3px #dd823b}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#dd823b;border-color:#dd823b}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#c36922;color:#c36922}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#e59e66;color:#98511a;box-shadow:0 0 0 1px #e59e66}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#dd823b;border-color:#dd823b;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#df8a48;border-color:#db7a2e;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.wp-core-ui .button-primary:active{background:#d97426;border-color:#d97426;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#dd823b;color:#fff;border-color:#ad5d1e;box-shadow:inset 0 2px 5px -3px #150b04}.wp-core-ui .button-group>.button.active{border-color:#dd823b}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:hsl(2.1582733813deg,7%,95%)}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #dd823b;color:#dd823b}.wrap .page-title-action:hover{color:#c36922;border-color:#c36922}.wrap .page-title-action:focus{border-color:#e59e66;color:#98511a;box-shadow:0 0 0 1px #e59e66}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(2.1582733813deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-left-color:#be3631}#adminmenu .wp-submenu .wp-submenu-head{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-button{color:hsl(2.1582733813deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#f7e3d3}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#f7e3d3}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f1c8c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f7e3d3}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66560}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#ccaf0b}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#b89e0a}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66560;background-color:#d66560}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f1c8c7}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97426}.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#dd823b}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#dd823b;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #e59e66,0 0 2px 1px #dd823b}div#wp-responsive-toggle a:before{color:hsl(2.1582733813deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(2.1582733813deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#dd823b}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-right-color:#dd823b}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#dd823b}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-right-color:#dd823b}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e59e66,0 0 2px 1px #dd823b}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-right-color:#dd823b;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#dd823b}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#dd823b;border-style:solid;box-shadow:0 0 0 1px #dd823b;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#dd823b}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#dd823b}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#dd823b}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e59e66,0 0 2px 1px #dd823b}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#dd823b;color:#0073aa}.welcome-panel{background-color:#dd823b}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#dd823b}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/sunrise/colors.css b/build/wp-admin/css/colors/sunrise/colors.css deleted file mode 100644 index 779b681a40..0000000000 --- a/build/wp-admin/css/colors/sunrise/colors.css +++ /dev/null @@ -1,720 +0,0 @@ -/*! This file is auto-generated */ -/* - * Button mixin- creates a button effect with correct - * highlights/shadows, based on a base color. - */ -body { - background: #f1f1f1; -} - -/* Links */ -a { - color: #0073aa; -} -a:hover, a:active, a:focus { - color: #0096dd; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-revisions:before, -span.wp-media-buttons-icon:before { - color: currentColor; -} - -.wp-core-ui .button-link { - color: #0073aa; -} -.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus { - color: #0096dd; -} - -.media-modal .delete-attachment, -.media-modal .trash-attachment, -.media-modal .untrash-attachment, -.wp-core-ui .button-link-delete { - color: #a00; -} - -.media-modal .delete-attachment:hover, -.media-modal .trash-attachment:hover, -.media-modal .untrash-attachment:hover, -.media-modal .delete-attachment:focus, -.media-modal .trash-attachment:focus, -.media-modal .untrash-attachment:focus, -.wp-core-ui .button-link-delete:hover, -.wp-core-ui .button-link-delete:focus { - color: #dc3232; -} - -/* Forms */ -input[type=checkbox]:checked::before { - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E"); -} - -input[type=radio]:checked::before { - background: #7e8993; -} - -.wp-core-ui input[type=reset]:hover, -.wp-core-ui input[type=reset]:active { - color: #0096dd; -} - -input[type=text]:focus, -input[type=password]:focus, -input[type=color]:focus, -input[type=date]:focus, -input[type=datetime]:focus, -input[type=datetime-local]:focus, -input[type=email]:focus, -input[type=month]:focus, -input[type=number]:focus, -input[type=search]:focus, -input[type=tel]:focus, -input[type=text]:focus, -input[type=time]:focus, -input[type=url]:focus, -input[type=week]:focus, -input[type=checkbox]:focus, -input[type=radio]:focus, -select:focus, -textarea:focus { - border-color: #dd823b; - box-shadow: 0 0 0 1px #dd823b; -} - -/* Core UI */ -.wp-core-ui .button { - border-color: #7e8993; - color: #32373c; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #717c87; - color: #262a2e; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus { - border-color: #7e8993; - color: #262a2e; - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button:active { - border-color: #7e8993; - color: #262a2e; - box-shadow: none; -} -.wp-core-ui .button.active, -.wp-core-ui .button.active:focus, -.wp-core-ui .button.active:hover { - border-color: #dd823b; - color: #262a2e; - box-shadow: inset 0 2px 5px -3px #dd823b; -} -.wp-core-ui .button.active:focus { - box-shadow: 0 0 0 1px #32373c; -} -.wp-core-ui .button, -.wp-core-ui .button-secondary { - color: #dd823b; - border-color: #dd823b; -} -.wp-core-ui .button.hover, -.wp-core-ui .button:hover, -.wp-core-ui .button-secondary:hover { - border-color: #c36922; - color: #c36922; -} -.wp-core-ui .button.focus, -.wp-core-ui .button:focus, -.wp-core-ui .button-secondary:focus { - border-color: #e59e66; - color: #98511a; - box-shadow: 0 0 0 1px #e59e66; -} -.wp-core-ui .button-primary:hover { - color: #fff; -} -.wp-core-ui .button-primary { - background: #dd823b; - border-color: #dd823b; - color: #fff; -} -.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { - background: #df8a48; - border-color: #db7a2e; - color: #fff; -} -.wp-core-ui .button-primary:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b; -} -.wp-core-ui .button-primary:active { - background: #d97426; - border-color: #d97426; - color: #fff; -} -.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover { - background: #dd823b; - color: #fff; - border-color: #ad5d1e; - box-shadow: inset 0 2px 5px -3px #150b04; -} -.wp-core-ui .button-group > .button.active { - border-color: #dd823b; -} -.wp-core-ui .wp-ui-primary { - color: #fff; - background-color: #cf4944; -} -.wp-core-ui .wp-ui-text-primary { - color: #cf4944; -} -.wp-core-ui .wp-ui-highlight { - color: #fff; - background-color: #dd823b; -} -.wp-core-ui .wp-ui-text-highlight { - color: #dd823b; -} -.wp-core-ui .wp-ui-notification { - color: #fff; - background-color: #ccaf0b; -} -.wp-core-ui .wp-ui-text-notification { - color: #ccaf0b; -} -.wp-core-ui .wp-ui-text-icon { - color: hsl(2.1582733813deg, 7%, 95%); -} - -/* List tables */ -.wrap .page-title-action, -.wrap .page-title-action:active { - border: 1px solid #dd823b; - color: #dd823b; -} - -.wrap .page-title-action:hover { - color: #c36922; - border-color: #c36922; -} - -.wrap .page-title-action:focus { - border-color: #e59e66; - color: #98511a; - box-shadow: 0 0 0 1px #e59e66; -} - -.view-switch a.current:before { - color: #cf4944; -} - -.view-switch a:hover:before { - color: #ccaf0b; -} - -/* Admin Menu */ -#adminmenuback, -#adminmenuwrap, -#adminmenu { - background: #cf4944; -} - -#adminmenu a { - color: #fff; -} - -#adminmenu div.wp-menu-image:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#adminmenu a:hover, -#adminmenu li.menu-top:hover, -#adminmenu li.opensub > a.menu-top, -#adminmenu li > a.menu-top:focus { - color: #fff; - background-color: #dd823b; -} - -#adminmenu li.menu-top:hover div.wp-menu-image:before, -#adminmenu li.opensub > a.menu-top div.wp-menu-image:before { - color: #fff; -} - -/* Active tabs use a bottom border color that matches the page background color. */ -.about-wrap .nav-tab-active, -.nav-tab-active, -.nav-tab-active:hover { - background-color: #f1f1f1; - border-bottom-color: #f1f1f1; -} - -/* Admin Menu: submenu */ -#adminmenu .wp-submenu, -#adminmenu .wp-has-current-submenu .wp-submenu, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu { - background: #be3631; -} - -#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, -#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { - border-right-color: #be3631; -} - -#adminmenu .wp-submenu .wp-submenu-head { - color: #f1c8c7; -} - -#adminmenu .wp-submenu a, -#adminmenu .wp-has-current-submenu .wp-submenu a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a { - color: #f1c8c7; -} -#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu .wp-submenu a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { - color: #f7e3d3; -} - -/* Admin Menu: current */ -#adminmenu .wp-submenu li.current a, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { - color: #fff; -} -#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, -#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { - color: #f7e3d3; -} - -ul#adminmenu a.wp-has-current-submenu:after, -ul#adminmenu > li.current > a.current:after { - border-right-color: #f1f1f1; -} - -#adminmenu li.current a.menu-top, -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, -.folded #adminmenu li.current.menu-top { - color: #fff; - background: #dd823b; -} - -#adminmenu li.wp-has-current-submenu div.wp-menu-image:before, -#adminmenu a.current:hover div.wp-menu-image:before, -#adminmenu li.current div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, -#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, -#adminmenu li:hover div.wp-menu-image:before, -#adminmenu li a:focus div.wp-menu-image:before, -#adminmenu li.opensub div.wp-menu-image:before { - color: #fff; -} - -/* Admin Menu: bubble */ -#adminmenu .menu-counter, -#adminmenu .awaiting-mod, -#adminmenu .update-plugins { - color: #fff; - background: #ccaf0b; -} - -#adminmenu li.current a .awaiting-mod, -#adminmenu li a.wp-has-current-submenu .update-plugins, -#adminmenu li:hover a .awaiting-mod, -#adminmenu li.menu-top:hover > a .update-plugins { - color: #fff; - background: #be3631; -} - -/* Admin Menu: collapse button */ -#collapse-button { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#collapse-button:hover, -#collapse-button:focus { - color: #f7e3d3; -} - -/* Admin Bar */ -#wpadminbar { - color: #fff; - background: #cf4944; -} - -#wpadminbar .ab-item, -#wpadminbar a.ab-item, -#wpadminbar > #wp-toolbar span.ab-label, -#wpadminbar > #wp-toolbar span.noticon { - color: #fff; -} - -#wpadminbar .ab-icon, -#wpadminbar .ab-icon:before, -#wpadminbar .ab-item:before, -#wpadminbar .ab-item:after { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, -#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, -#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { - color: #f7e3d3; - background: #be3631; -} - -#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, -#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { - color: #f7e3d3; -} - -#wpadminbar:not(.mobile) li:hover .ab-icon:before, -#wpadminbar:not(.mobile) li:hover .ab-item:before, -#wpadminbar:not(.mobile) li:hover .ab-item:after, -#wpadminbar:not(.mobile) li:hover #adminbarsearch:before { - color: #f7e3d3; -} - -/* Admin Bar: submenu */ -#wpadminbar .menupop .ab-sub-wrapper { - background: #be3631; -} - -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, -#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #cf6b67; -} - -#wpadminbar .ab-submenu .ab-item, -#wpadminbar .quicklinks .menupop ul li a, -#wpadminbar .quicklinks .menupop.hover ul li a, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a { - color: #f1c8c7; -} - -#wpadminbar .quicklinks li .blavatar, -#wpadminbar .menupop .menupop > .ab-item:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#wpadminbar .quicklinks .menupop ul li a:hover, -#wpadminbar .quicklinks .menupop ul li a:focus, -#wpadminbar .quicklinks .menupop ul li a:hover strong, -#wpadminbar .quicklinks .menupop ul li a:focus strong, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, -#wpadminbar .quicklinks .menupop.hover ul li a:hover, -#wpadminbar .quicklinks .menupop.hover ul li a:focus, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, -#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, -#wpadminbar li:hover .ab-icon:before, -#wpadminbar li:hover .ab-item:before, -#wpadminbar li a:focus .ab-icon:before, -#wpadminbar li .ab-item:focus:before, -#wpadminbar li .ab-item:focus .ab-icon:before, -#wpadminbar li.hover .ab-icon:before, -#wpadminbar li.hover .ab-item:before, -#wpadminbar li:hover #adminbarsearch:before, -#wpadminbar li #adminbarsearch.adminbar-focused:before { - color: #f7e3d3; -} - -#wpadminbar .quicklinks li a:hover .blavatar, -#wpadminbar .quicklinks li a:focus .blavatar, -#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, -#wpadminbar .menupop .menupop > .ab-item:hover:before, -#wpadminbar.mobile .quicklinks .ab-icon:before, -#wpadminbar.mobile .quicklinks .ab-item:before { - color: #f7e3d3; -} - -#wpadminbar.mobile .quicklinks .hover .ab-icon:before, -#wpadminbar.mobile .quicklinks .hover .ab-item:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -/* Admin Bar: search */ -#wpadminbar #adminbarsearch:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { - color: #fff; - background: #d66560; -} - -/* Admin Bar: recovery mode */ -#wpadminbar #wp-admin-bar-recovery-mode { - color: #fff; - background-color: #ccaf0b; -} - -#wpadminbar #wp-admin-bar-recovery-mode .ab-item, -#wpadminbar #wp-admin-bar-recovery-mode a.ab-item { - color: #fff; -} - -#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item, -#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, -#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { - color: #fff; - background-color: #b89e0a; -} - -/* Admin Bar: my account */ -#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { - border-color: #d66560; - background-color: #d66560; -} - -#wpadminbar #wp-admin-bar-user-info .display-name { - color: #fff; -} - -#wpadminbar #wp-admin-bar-user-info a:hover .display-name { - color: #f7e3d3; -} - -#wpadminbar #wp-admin-bar-user-info .username { - color: #f1c8c7; -} - -/* Pointers */ -.wp-pointer .wp-pointer-content h3 { - background-color: #dd823b; - border-color: #d97426; -} - -.wp-pointer .wp-pointer-content h3:before { - color: #dd823b; -} - -.wp-pointer.wp-pointer-top .wp-pointer-arrow, -.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow, -.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { - border-bottom-color: #dd823b; -} - -/* Media */ -.media-item .bar, -.media-progress-bar div { - background-color: #dd823b; -} - -.details.attachment { - box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b; -} - -.attachment.details .check { - background-color: #dd823b; - box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b; -} - -.media-selection .attachment.selection.details .thumbnail { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b; -} - -/* Themes */ -.theme-browser .theme.active .theme-name, -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - background: #dd823b; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - color: #dd823b; -} - -.theme-section.current, -.theme-filter.current { - border-bottom-color: #cf4944; -} - -body.more-filters-opened .more-filters { - color: #fff; - background-color: #cf4944; -} - -body.more-filters-opened .more-filters:before { - color: #fff; -} - -body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus { - background-color: #dd823b; - color: #fff; -} - -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { - color: #fff; -} - -/* Widgets */ -.widgets-chooser li.widgets-chooser-selected { - background-color: #dd823b; - color: #fff; -} - -.widgets-chooser li.widgets-chooser-selected:before, -.widgets-chooser li.widgets-chooser-selected:focus:before { - color: #fff; -} - -/* Nav Menus */ -.nav-menus-php .item-edit:focus:before { - box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b; -} - -/* Responsive Component */ -div#wp-responsive-toggle a:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -.wp-responsive-open div#wp-responsive-toggle a { - border-color: transparent; - background: #dd823b; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #be3631; -} - -.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - color: hsl(2.1582733813deg, 7%, 95%); -} - -/* TinyMCE */ -.mce-container.mce-menu .mce-menu-item:hover, -.mce-container.mce-menu .mce-menu-item.mce-selected, -.mce-container.mce-menu .mce-menu-item:focus, -.mce-container.mce-menu .mce-menu-item-normal.mce-active, -.mce-container.mce-menu .mce-menu-item-preview.mce-active { - background: #dd823b; -} - -/* Customizer */ -.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:hover, -.wp-core-ui #customize-controls .control-section.open .accordion-section-title, -.wp-core-ui #customize-controls .control-section .accordion-section-title:focus { - color: #0073aa; - border-left-color: #dd823b; -} -.wp-core-ui .customize-controls-close:focus, -.wp-core-ui .customize-controls-close:hover, -.wp-core-ui .customize-controls-preview-toggle:focus, -.wp-core-ui .customize-controls-preview-toggle:hover { - color: #0073aa; - border-top-color: #dd823b; -} -.wp-core-ui .customize-panel-back:hover, -.wp-core-ui .customize-panel-back:focus, -.wp-core-ui .customize-section-back:hover, -.wp-core-ui .customize-section-back:focus { - color: #0073aa; - border-left-color: #dd823b; -} -.wp-core-ui .customize-screen-options-toggle:hover, -.wp-core-ui .customize-screen-options-toggle:active, -.wp-core-ui .customize-screen-options-toggle:focus, -.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #0073aa; -} -.wp-core-ui .customize-screen-options-toggle:focus:before, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before, -.wp-core-ui .menu-item-bar .item-delete:focus:before, -.wp-core-ui #available-menu-items .item-add:focus:before, -.wp-core-ui #customize-save-button-wrapper .save:focus, -.wp-core-ui #publish-settings:focus { - box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b; -} -.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus, -.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover { - color: #0073aa; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title:focus, -.wp-core-ui .control-panel-themes .customize-themes-section-title:hover { - border-left-color: #dd823b; - color: #0073aa; -} -.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after { - background: #dd823b; -} -.wp-core-ui .control-panel-themes .customize-themes-section-title.selected { - color: #0073aa; -} -.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after, -.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after, -.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #0073aa; -} -.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus { - background-color: #fbfbfc; - border-color: #dd823b; - border-style: solid; - box-shadow: 0 0 0 1px #dd823b; - outline: 2px solid transparent; -} -.wp-core-ui .wp-full-overlay-footer .devices button:focus, -.wp-core-ui .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #dd823b; -} -.wp-core-ui .wp-full-overlay-footer .devices button:hover:before, -.wp-core-ui .wp-full-overlay-footer .devices button:focus:before { - color: #dd823b; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #dd823b; -} -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b; -} -.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover { - border-bottom-color: #dd823b; - color: #0073aa; -} - -/* Welcome Panel */ -.welcome-panel { - background-color: #dd823b; -} - -.welcome-panel-header-image circle { - stroke: rgba(255, 255, 255, 0.5); - fill: #dd823b; -} - -[class*=welcome-panel-icon] { - background-color: rgba(255, 255, 255, 0.5); -} \ No newline at end of file diff --git a/build/wp-admin/css/colors/sunrise/colors.min.css b/build/wp-admin/css/colors/sunrise/colors.min.css deleted file mode 100644 index 8053f70a73..0000000000 --- a/build/wp-admin/css/colors/sunrise/colors.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#post-body #visibility:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:currentColor}.wp-core-ui .button-link{color:#0073aa}.wp-core-ui .button-link:active,.wp-core-ui .button-link:focus,.wp-core-ui .button-link:hover{color:#0096dd}.media-modal .delete-attachment,.media-modal .trash-attachment,.media-modal .untrash-attachment,.wp-core-ui .button-link-delete{color:#a00}.media-modal .delete-attachment:focus,.media-modal .delete-attachment:hover,.media-modal .trash-attachment:focus,.media-modal .trash-attachment:hover,.media-modal .untrash-attachment:focus,.media-modal .untrash-attachment:hover,.wp-core-ui .button-link-delete:focus,.wp-core-ui .button-link-delete:hover{color:#dc3232}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E")}input[type=radio]:checked::before{background:#7e8993}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#dd823b;box-shadow:0 0 0 1px #dd823b}.wp-core-ui .button{border-color:#7e8993;color:#32373c}.wp-core-ui .button.focus,.wp-core-ui .button.hover,.wp-core-ui .button:focus,.wp-core-ui .button:hover{border-color:#717c87;color:#262a2e}.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#7e8993;color:#262a2e;box-shadow:0 0 0 1px #32373c}.wp-core-ui .button:active{border-color:#7e8993;color:#262a2e;box-shadow:none}.wp-core-ui .button.active,.wp-core-ui .button.active:focus,.wp-core-ui .button.active:hover{border-color:#dd823b;color:#262a2e;box-shadow:inset 0 2px 5px -3px #dd823b}.wp-core-ui .button.active:focus{box-shadow:0 0 0 1px #32373c}.wp-core-ui .button,.wp-core-ui .button-secondary{color:#dd823b;border-color:#dd823b}.wp-core-ui .button-secondary:hover,.wp-core-ui .button.hover,.wp-core-ui .button:hover{border-color:#c36922;color:#c36922}.wp-core-ui .button-secondary:focus,.wp-core-ui .button.focus,.wp-core-ui .button:focus{border-color:#e59e66;color:#98511a;box-shadow:0 0 0 1px #e59e66}.wp-core-ui .button-primary:hover{color:#fff}.wp-core-ui .button-primary{background:#dd823b;border-color:#dd823b;color:#fff}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#df8a48;border-color:#db7a2e;color:#fff}.wp-core-ui .button-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.wp-core-ui .button-primary:active{background:#d97426;border-color:#d97426;color:#fff}.wp-core-ui .button-primary.active,.wp-core-ui .button-primary.active:focus,.wp-core-ui .button-primary.active:hover{background:#dd823b;color:#fff;border-color:#ad5d1e;box-shadow:inset 0 2px 5px -3px #150b04}.wp-core-ui .button-group>.button.active{border-color:#dd823b}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:hsl(2.1582733813deg,7%,95%)}.wrap .page-title-action,.wrap .page-title-action:active{border:1px solid #dd823b;color:#dd823b}.wrap .page-title-action:hover{color:#c36922;border-color:#c36922}.wrap .page-title-action:focus{border-color:#e59e66;color:#98511a;box-shadow:0 0 0 1px #e59e66}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:hsl(2.1582733813deg,7%,95%)}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after{border-right-color:#be3631}#adminmenu .wp-submenu .wp-submenu-head{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.current div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .menu-counter,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-button{color:hsl(2.1582733813deg,7%,95%)}#collapse-button:focus,#collapse-button:hover{color:#f7e3d3}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#f7e3d3}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f1c8c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus .ab-icon:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f7e3d3}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar #adminbarsearch:before{color:hsl(2.1582733813deg,7%,95%)}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66560}#wpadminbar #wp-admin-bar-recovery-mode{color:#fff;background-color:#ccaf0b}#wpadminbar #wp-admin-bar-recovery-mode .ab-item,#wpadminbar #wp-admin-bar-recovery-mode a.ab-item{color:#fff}#wpadminbar .ab-top-menu>#wp-admin-bar-recovery-mode.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>#wp-admin-bar-recovery-mode>.ab-item:focus{color:#fff;background-color:#b89e0a}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66560;background-color:#d66560}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f1c8c7}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97426}.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#dd823b}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#dd823b;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #e59e66,0 0 2px 1px #dd823b}div#wp-responsive-toggle a:before{color:hsl(2.1582733813deg,7%,95%)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:hsl(2.1582733813deg,7%,95%)}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#dd823b}.wp-core-ui #customize-controls .control-section .accordion-section-title:focus,.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,.wp-core-ui #customize-controls .control-section.open .accordion-section-title,.wp-core-ui #customize-controls .control-section:hover>.accordion-section-title{color:#0073aa;border-left-color:#dd823b}.wp-core-ui .customize-controls-close:focus,.wp-core-ui .customize-controls-close:hover,.wp-core-ui .customize-controls-preview-toggle:focus,.wp-core-ui .customize-controls-preview-toggle:hover{color:#0073aa;border-top-color:#dd823b}.wp-core-ui .customize-panel-back:focus,.wp-core-ui .customize-panel-back:hover,.wp-core-ui .customize-section-back:focus,.wp-core-ui .customize-section-back:hover{color:#0073aa;border-left-color:#dd823b}.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,.wp-core-ui .customize-screen-options-toggle:active,.wp-core-ui .customize-screen-options-toggle:focus,.wp-core-ui .customize-screen-options-toggle:hover{color:#0073aa}.wp-core-ui #available-menu-items .item-add:focus:before,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before,.wp-core-ui #customize-save-button-wrapper .save:focus,.wp-core-ui #publish-settings:focus,.wp-core-ui .customize-screen-options-toggle:focus:before,.wp-core-ui .menu-item-bar .item-delete:focus:before,.wp-core-ui.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #e59e66,0 0 2px 1px #dd823b}.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover,.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,.wp-core-ui .control-panel-themes .customize-themes-section-title:hover{border-left-color:#dd823b;color:#0073aa}.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after{background:#dd823b}.wp-core-ui .control-panel-themes .customize-themes-section-title.selected{color:#0073aa}.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,.wp-core-ui #customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#0073aa}.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus{background-color:#fbfbfc;border-color:#dd823b;border-style:solid;box-shadow:0 0 0 1px #dd823b;outline:2px solid transparent}.wp-core-ui .wp-full-overlay-footer .devices button.active:hover,.wp-core-ui .wp-full-overlay-footer .devices button:focus{border-bottom-color:#dd823b}.wp-core-ui .wp-full-overlay-footer .devices button:focus:before,.wp-core-ui .wp-full-overlay-footer .devices button:hover:before{color:#dd823b}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#dd823b}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #e59e66,0 0 2px 1px #dd823b}.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus,.wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover{border-bottom-color:#dd823b;color:#0073aa}.welcome-panel{background-color:#dd823b}.welcome-panel-header-image circle{stroke:rgba(255,255,255,0.5);fill:#dd823b}[class*=welcome-panel-icon]{background-color:rgba(255,255,255,.5)} \ No newline at end of file diff --git a/build/wp-admin/css/colors/sunrise/colors.scss b/build/wp-admin/css/colors/sunrise/colors.scss deleted file mode 100644 index 75d74d8670..0000000000 --- a/build/wp-admin/css/colors/sunrise/colors.scss +++ /dev/null @@ -1,7 +0,0 @@ -$scheme-name: "sunrise"; -$base-color: #cf4944; -$highlight-color: #dd823b; -$notification-color: #ccaf0b; -$menu-submenu-focus-text: lighten( $highlight-color, 35% ); - -@import "../_admin.scss"; diff --git a/build/wp-admin/css/common-rtl.css b/build/wp-admin/css/common-rtl.css deleted file mode 100644 index 0d8ae75bb2..0000000000 --- a/build/wp-admin/css/common-rtl.css +++ /dev/null @@ -1,4127 +0,0 @@ -/*! This file is auto-generated */ -/* 2 column liquid layout */ -#wpwrap { - height: auto; - min-height: 100%; - width: 100%; - position: relative; - -webkit-font-smoothing: subpixel-antialiased; -} - -#wpcontent { - height: 100%; - padding-right: 20px; -} - -#wpcontent, -#wpfooter { - margin-right: 160px; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-right: 36px; -} - -#wpbody-content { - padding-bottom: 65px; - float: right; - width: 100%; - overflow: visible; -} - -/* inner 2 column liquid layout */ - -.inner-sidebar { - float: left; - clear: left; - display: none; - width: 281px; - position: relative; -} - -.columns-2 .inner-sidebar { - margin-left: auto; - width: 286px; - display: block; -} - -.inner-sidebar #side-sortables, -.columns-2 .inner-sidebar #side-sortables { - min-height: 300px; - width: 280px; - padding: 0; -} - -.has-right-sidebar .inner-sidebar { - display: block; -} - -.has-right-sidebar #post-body { - float: right; - clear: right; - width: 100%; - margin-left: -2000px; -} - -.has-right-sidebar #post-body-content { - margin-left: 300px; - float: none; - width: auto; -} - -/* 2 columns main area */ - -#col-left { - float: right; - width: 35%; -} - -#col-right { - float: left; - width: 65%; -} - -#col-left .col-wrap { - padding: 0 0 0 6px; -} - -#col-right .col-wrap { - padding: 0 6px 0 0; -} - -/* utility classes */ -.alignleft { - float: right; -} - -.alignright { - float: left; -} - -.textleft { - text-align: right; -} - -.textright { - text-align: left; -} - -.clear { - clear: both; -} - -/* modern clearfix */ -.wp-clearfix:after { - content: ""; - display: table; - clear: both; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span, -.ui-helper-hidden-accessible { - border: 0; - clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ -} - -.button .screen-reader-text { - height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */ -} - -.screen-reader-shortcut { - position: absolute; - top: -1000em; -} - -.screen-reader-shortcut:focus { - right: 6px; - top: -25px; - height: auto; - width: auto; - display: block; - font-size: 14px; - font-weight: 600; - padding: 15px 23px 14px; - background: #f0f0f1; - color: #2271b1; - z-index: 100000; - line-height: normal; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - text-decoration: none; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.hidden, -.js .closed .inside, -.js .hide-if-js, -.no-js .hide-if-no-js, -.js.wp-core-ui .hide-if-js, -.js .wp-core-ui .hide-if-js, -.no-js.wp-core-ui .hide-if-no-js, -.no-js .wp-core-ui .hide-if-no-js { - display: none; -} - -/* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ -.widget-top, -.menu-item-handle, -.widget-inside, -#menu-settings-column .accordion-container, -#menu-management .menu-edit, -.manage-menus, -table.widefat, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.wp-editor-container, -.popular-tags, -.feature-filter, -.imgedit-group, -.comment-ays { - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -table.widefat, -.wp-editor-container, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.popular-tags, -.feature-filter, -.imgedit-group, -.comment-ays { - background: #fff; -} - -/* general */ -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -body { - background: #f0f0f1; - color: #3c434a; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - line-height: 1.4em; - min-width: 600px; -} - -body.iframe { - min-width: 0; - padding-top: 1px; -} - -body.modal-open { - overflow: hidden; -} - -body.mobile.modal-open #wpwrap { - overflow: hidden; - position: fixed; - height: 100%; -} - -iframe, -img { - border: 0; -} - -td { - font-family: inherit; - font-size: inherit; - font-weight: inherit; - line-height: inherit; -} - -/* Any change to the default link style must be applied to button-link too. */ -a { - color: #2271b1; - transition-property: border, background, color; - transition-duration: .05s; - transition-timing-function: ease-in-out; -} - -a, -div { - outline: 0; -} - -a:hover, -a:active { - color: #135e96; -} - -a:focus, -a:focus .media-icon img, -a:focus .plugin-icon, -.wp-person a:focus .gravatar { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -#adminmenu a:focus { - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; - outline-offset: -1px; -} - -.screen-reader-text:focus { - box-shadow: none; - outline: none; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ""; - content: none; -} - -p, -.wp-die-message { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -blockquote { - margin: 1em; -} - -li, -dd { - margin-bottom: 6px; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - display: block; - font-weight: 600; -} - -h1 { - color: #1d2327; - font-size: 2em; - margin: .67em 0; -} - -h2, -h3 { - color: #1d2327; - font-size: 1.3em; - margin: 1em 0; -} - -.update-core-php h2 { - margin-top: 4em; -} - -.update-php h2, -.update-messages h2, -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -ul, -ol { - padding: 0; -} - -ul { - list-style: none; -} - -ol { - list-style-type: decimal; - margin-right: 2em; -} - -ul.ul-disc { - list-style: disc outside; -} - -ul.ul-square { - list-style: square outside; -} - -ol.ol-decimal { - list-style: decimal outside; -} - -ul.ul-disc, -ul.ul-square, -ol.ol-decimal { - margin-right: 1.8em; -} - -ul.ul-disc > li, -ul.ul-square > li, -ol.ol-decimal > li { - margin: 0 0 0.5em; -} - -/* rtl:ignore */ -.ltr { - direction: ltr; -} - -/* rtl:ignore */ -.code, -code { - font-family: Consolas, Monaco, monospace; - direction: ltr; - unicode-bidi: embed; -} - -kbd, -code { - padding: 3px 5px 2px; - margin: 0 1px; - background: #f0f0f1; - background: rgba(0, 0, 0, 0.07); - font-size: 13px; -} - -.subsubsub { - list-style: none; - margin: 8px 0 0; - padding: 0; - font-size: 13px; - float: right; - color: #646970; -} - -.subsubsub a { - line-height: 2; - padding: .2em; - text-decoration: none; -} - -.subsubsub a .count, -.subsubsub a.current .count { - color: #50575e; /* #f1f1f1 background */ - font-weight: 400; -} - -.subsubsub a.current { - font-weight: 600; - border: none; -} - -.subsubsub li { - display: inline-block; - margin: 0; - padding: 0; - white-space: nowrap; -} - -/* .widefat - main style for tables */ -.widefat { - border-spacing: 0; - width: 100%; - clear: both; - margin: 0; -} - -.widefat * { - word-wrap: break-word; -} - -.widefat a, -.widefat button.button-link { - text-decoration: none; -} - -.widefat td, -.widefat th { - padding: 8px 10px; -} - -.widefat thead th, -.widefat thead td { - border-bottom: 1px solid #c3c4c7; -} - -.widefat tfoot th, -.widefat tfoot td { - border-top: 1px solid #c3c4c7; - border-bottom: none; -} - -.widefat .no-items td { - border-bottom-width: 0; -} - -.widefat td { - vertical-align: top; -} - -.widefat td, -.widefat td p, -.widefat td ol, -.widefat td ul { - font-size: 13px; - line-height: 1.5em; -} - -.widefat th, -.widefat thead td, -.widefat tfoot td { - text-align: right; - line-height: 1.3em; - font-size: 14px; -} - -.widefat th input, -.updates-table td input, -.widefat thead td input, -.widefat tfoot td input { - margin: 0 8px 0 0; - padding: 0; - vertical-align: text-top; -} - -.widefat .check-column { - width: 2.2em; - padding: 6px 0 25px; - vertical-align: top; -} - -.widefat tbody th.check-column { - padding: 9px 0 22px; -} - -.widefat thead td.check-column, -.widefat tbody th.check-column, -.updates-table tbody td.check-column, -.widefat tfoot td.check-column { - padding: 11px 3px 0 0; -} - -.widefat thead td.check-column, -.widefat tfoot td.check-column { - padding-top: 4px; - vertical-align: middle; -} - -.update-php div.updated, -.update-php div.error { - margin-right: 0; -} - -.no-js .widefat thead .check-column input, -.no-js .widefat tfoot .check-column input { - display: none; -} - -.widefat .num, -.column-comments, -.column-links, -.column-posts { - text-align: center; -} - -.widefat th#comments { - vertical-align: middle; -} - -.wrap { - margin: 10px 2px 0 20px; -} - -.wrap.block-editor-no-js { - padding-right: 20px; -} - -.wrap > h2:first-child, /* Back-compat for pre-4.4 */ -.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ -.postbox .inside h2, /* Back-compat for pre-4.4 */ -.wrap h1 { - font-size: 23px; - font-weight: 400; - margin: 0; - padding: 9px 0 4px; - line-height: 1.3; -} - -.wrap h1.wp-heading-inline { - display: inline-block; - margin-left: 5px; -} - -.wp-header-end { - visibility: hidden; - margin: -2px 0 0; -} - -.subtitle { - margin: 0; - padding-right: 25px; - color: #50575e; - font-size: 14px; - font-weight: 400; - line-height: 1; -} - -.subtitle strong { - word-break: break-all; -} - -.wrap .add-new-h2, /* deprecated */ -.wrap .add-new-h2:active, /* deprecated */ -.wrap .page-title-action, -.wrap .page-title-action:active { - margin-right: 4px; - padding: 4px 8px; - position: relative; - top: -3px; - text-decoration: none; - border: 1px solid #2271b1; - border-radius: 2px; - text-shadow: none; - font-weight: 600; - font-size: 13px; - line-height: normal; /* IE8-IE11 need this for buttons */ - color: #2271b1; /* use the standard color used for buttons */ - background: #f6f7f7; - cursor: pointer; -} - -.wrap .wp-heading-inline + .page-title-action { - margin-right: 0; -} - -.wrap .add-new-h2:hover, /* deprecated */ -.wrap .page-title-action:hover { - background: #f0f0f1; - border-color: #0a4b78; - color: #0a4b78; -} - -/* lower specificity: color needs to be overridden by :hover and :active */ -.page-title-action:focus { - color: #0a4b78; -} - -/* Dashicon for language options on General Settings and Profile screens */ -.form-table th label[for="locale"] .dashicons, -.form-table th label[for="WPLANG"] .dashicons { - margin-right: 5px; -} - -.wrap .page-title-action:focus { - border-color: #3582c4; - box-shadow: 0 0 0 1px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.wrap h1.long-header { - padding-left: 0; -} - -.wp-dialog { - background-color: #fff; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #8c8f94; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.sorthelper { - background-color: #c5d9ed; -} - -.ac_match, -.subsubsub a.current { - color: #000; -} - -.striped > tbody > :nth-child(odd), -ul.striped > :nth-child(odd), -.alternate { - background-color: #f6f7f7; -} - -.bar { - background-color: #f0f0f1; - border-left-color: #4f94d4; -} - -/* Helper classes for plugins to leverage the active WordPress color scheme */ - -.highlight { - background-color: #f0f6fc; - color: #3c434a; -} - -.wp-ui-primary { - color: #fff; - background-color: #2c3338; -} -.wp-ui-text-primary { - color: #2c3338; -} - -.wp-ui-highlight { - color: #fff; - background-color: #2271b1; -} -.wp-ui-text-highlight { - color: #2271b1; -} - -.wp-ui-notification { - color: #fff; - background-color: #d63638; -} -.wp-ui-text-notification { - color: #d63638; -} - -.wp-ui-text-icon { - color: #8c8f94; /* same as new icons */ -} - -/* For emoji replacement images */ -img.emoji { - display: inline !important; - border: none !important; - height: 1em !important; - width: 1em !important; - margin: 0 .07em !important; - vertical-align: -0.1em !important; - background: none !important; - padding: 0 !important; - box-shadow: none !important; -} - -/*------------------------------------------------------------------------------ - 1.0 - Text Styles -------------------------------------------------------------------------------*/ - -.widget .widget-top, -.postbox .hndle, -.stuffbox .hndle, -.control-section .accordion-section-title, -.sidebar-name, -#nav-menu-header, -#nav-menu-footer, -.menu-item-handle, -.checkbox, -.side-info, -#your-profile #rich_editing, -.widefat thead th, -.widefat thead td, -.widefat tfoot th, -.widefat tfoot td { - line-height: 1.4em; -} - -.widget .widget-top, -.menu-item-handle { - background: #f6f7f7; - color: #1d2327; -} - -.stuffbox .hndle { - border-bottom: 1px solid #c3c4c7; -} - -.quicktags { - background-color: #c3c4c7; - color: #000; - font-size: 12px; -} - -.icon32 { - display: none; -} - -/* @todo can we combine these into a class or use an existing dashicon one? */ -.welcome-panel .welcome-panel-close:before, -.tagchecklist .ntdelbutton .remove-tag-icon:before, -#bulk-titles .ntdelbutton:before, -.notice-dismiss:before { - background: none; - color: #787c82; - content: "\f153"; - display: block; - font: normal 16px/20px dashicons; - speak: never; - height: 20px; - text-align: center; - width: 20px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.welcome-panel .welcome-panel-close:before { - margin: 0; -} - -.tagchecklist .ntdelbutton .remove-tag-icon:before { - margin-right: 2px; - border-radius: 50%; - color: #2271b1; - /* vertically center the icon cross browsers */ - line-height: 1.28; -} - -.tagchecklist .ntdelbutton:focus { - outline: 0; -} - -.tagchecklist .ntdelbutton:hover .remove-tag-icon:before, -.tagchecklist .ntdelbutton:focus .remove-tag-icon:before, -#bulk-titles .ntdelbutton:hover:before, -#bulk-titles .ntdelbutton:focus:before { - color: #d63638; -} - -.tagchecklist .ntdelbutton:focus .remove-tag-icon:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.key-labels label { - line-height: 24px; -} - -strong, b { - font-weight: 600; -} - -.pre { - /* https://developer.mozilla.org/en-US/docs/CSS/white-space */ - white-space: pre-wrap; /* css-3 */ - word-wrap: break-word; /* IE 5.5 - 7 */ -} - -.howto { - color: #646970; - display: block; -} - -p.install-help { - margin: 8px 0; - font-style: italic; -} - -.no-break { - white-space: nowrap; -} - -hr { - border: 0; - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #f6f7f7; -} - -.row-actions span.delete a, -.row-actions span.trash a, -.row-actions span.spam a, -.plugins a.delete, -#all-plugins-table .plugins a.delete, -#search-plugins-table .plugins a.delete, -.submitbox .submitdelete, -#media-items a.delete, -#media-items a.delete-permanently, -#nav-menu-footer .menu-delete, -#delete-link a.delete, -a#remove-post-thumbnail, -.privacy_requests .remove-personal-data .remove-personal-data-handle { - color: #b32d2e; -} - -abbr.required, -span.required, -.file-error, -.row-actions .delete a:hover, -.row-actions .trash a:hover, -.row-actions .spam a:hover, -.plugins a.delete:hover, -#all-plugins-table .plugins a.delete:hover, -#search-plugins-table .plugins a.delete:hover, -.submitbox .submitdelete:hover, -#media-items a.delete:hover, -#media-items a.delete-permanently:hover, -#nav-menu-footer .menu-delete:hover, -#delete-link a.delete:hover, -a#remove-post-thumbnail:hover, -.privacy_requests .remove-personal-data .remove-personal-data-handle:hover { - color: #b32d2e; - border: none; -} - -/*------------------------------------------------------------------------------ - 3.0 - Actions -------------------------------------------------------------------------------*/ - -#major-publishing-actions { - padding: 10px; - clear: both; - border-top: 1px solid #dcdcde; - background: #f6f7f7; -} - -#delete-action { - float: right; - line-height: 2.30769231; /* 30px */ -} - -#delete-link { - line-height: 2.30769231; /* 30px */ - vertical-align: middle; - text-align: right; - margin-right: 8px; -} - -#delete-link a { - text-decoration: none; -} - -#publishing-action { - text-align: left; - float: left; - line-height: 1.9; -} - -#publishing-action .spinner { - float: none; - margin-top: 5px; -} - -#misc-publishing-actions { - padding: 6px 0 0; -} - -.misc-pub-section { - padding: 6px 10px 8px; -} - -.word-wrap-break-word, -.misc-pub-filename { - word-wrap: break-word; -} - -#minor-publishing-actions { - padding: 10px 10px 0; - text-align: left; -} - -#save-post { - float: right; -} - -.preview { - float: left; -} - -#sticky-span { - margin-right: 18px; -} - -.approve, -.unapproved .unapprove { - display: none; -} - -.unapproved .approve, -.spam .approve, -.trash .approve { - display: inline; -} - -td.action-links, -th.action-links { - text-align: left; -} - -#misc-publishing-actions .notice { - margin-right: 10px; - margin-left: 10px; -} - -/* Filter bar */ -.wp-filter { - display: inline-block; - position: relative; - box-sizing: border-box; - margin: 12px 0 25px; - padding: 0 10px; - width: 100%; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - border: 1px solid #c3c4c7; - background: #fff; - color: #50575e; - font-size: 13px; -} - -.wp-filter a { - text-decoration: none; -} - -.filter-count { - display: inline-block; - vertical-align: middle; - min-width: 4em; -} - -.title-count, -.filter-count .count { - display: inline-block; - position: relative; - top: -1px; - padding: 4px 10px; - border-radius: 30px; - background: #646970; - color: #fff; - font-size: 14px; - font-weight: 600; -} - -/* not a part of filter bar, but derived from it, so here for now */ -.title-count { - display: inline; - top: -3px; - margin-right: 5px; - margin-left: 20px; -} - -.filter-items { - float: right; -} - -.filter-links { - display: inline-block; - margin: 0; -} - -.filter-links li { - display: inline-block; - margin: 0; -} - -.filter-links li > a { - display: inline-block; - margin: 0 10px; - padding: 15px 0; - border-bottom: 4px solid #fff; - color: #646970; - cursor: pointer; -} - -.filter-links .current { - box-shadow: none; - border-bottom: 4px solid #646970; - color: #1d2327; -} - -.filter-links li > a:hover, -.filter-links li > a:focus, -.show-filters .filter-links a.current:hover, -.show-filters .filter-links a.current:focus { - color: #135e96; -} - -.wp-filter .search-form { - float: left; - margin: 10px 0; -} - -.wp-filter .search-form input[type="search"] { - margin: 1px 0; - width: 280px; - max-width: 100%; -} - -.wp-filter .search-form select { - margin: 0; -} - -/* Use flexbox only on the plugins install page. The `filter-links` and search form children will become flex items. */ -.plugin-install-php .wp-filter { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - align-items: center; -} - -.wp-filter .search-form.search-plugins { - /* This element is a flex item: the inherited float won't have any effect. */ - margin-top: 0; -} - -.wp-filter .search-form.search-plugins select, -.wp-filter .search-form.search-plugins .wp-filter-search { - display: inline-block; - margin-top: 10px; - vertical-align: top; -} - -.wp-filter .button.drawer-toggle { - margin: 10px 9px 0; - padding: 0 6px 0 10px; - border-color: transparent; - background-color: transparent; - color: #646970; - vertical-align: baseline; - box-shadow: none; -} - -.wp-filter .drawer-toggle:before { - content: "\f111"; - margin: 0 0 0 5px; - color: #646970; - font: normal 16px/1 dashicons; - vertical-align: text-bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-filter .button.drawer-toggle:hover, -.wp-filter .drawer-toggle:hover:before, -.wp-filter .button.drawer-toggle:focus, -.wp-filter .drawer-toggle:focus:before { - background-color: transparent; - color: #135e96; -} - -.wp-filter .button.drawer-toggle:hover, -.wp-filter .button.drawer-toggle:focus:active { - border-color: transparent; -} - -.wp-filter .button.drawer-toggle:focus { - border-color: #4f94d4; -} - -.wp-filter .button.drawer-toggle:active { - background: transparent; - box-shadow: none; - transform: none; -} - -.wp-filter .drawer-toggle.current:before { - color: #fff; -} - -.filter-drawer, -.wp-filter .favorites-form { - display: none; - margin: 0 -20px 0 -10px; - padding: 20px; - border-top: 1px solid #f0f0f1; - background: #f6f7f7; - overflow: hidden; -} - -.show-filters .filter-drawer, -.show-favorites-form .favorites-form { - display: block; -} - -.show-filters .filter-links a.current { - border-bottom: none; -} - -.show-filters .wp-filter .button.drawer-toggle { - border-radius: 2px; - background: #646970; - color: #fff; -} - -.show-filters .wp-filter .drawer-toggle:hover, -.show-filters .wp-filter .drawer-toggle:focus { - background: #2271b1; -} - -.show-filters .wp-filter .drawer-toggle:before { - color: #fff; -} - -.filter-group { - box-sizing: border-box; - position: relative; - float: right; - margin: 0 0 0 1%; - padding: 20px 10px 10px; - width: 24%; - background: #fff; - border: 1px solid #dcdcde; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -.filter-group legend { - position: absolute; - top: 10px; - display: block; - margin: 0; - padding: 0; - font-size: 1em; - font-weight: 600; -} - -.filter-drawer .filter-group-feature { - margin: 28px 0 0; - list-style-type: none; - font-size: 12px; -} - -.filter-drawer .filter-group-feature input, -.filter-drawer .filter-group-feature label { - line-height: 1.4; -} - -.filter-drawer .filter-group-feature input { - position: absolute; - margin: 0; -} - -.filter-group .filter-group-feature label { - display: block; - margin: 14px 23px 14px 0; -} - -.filter-drawer .buttons { - clear: both; - margin-bottom: 20px; -} - -.filter-drawer .filter-group + .buttons { - margin-bottom: 0; - padding-top: 20px; -} - -.filter-drawer .buttons .button span { - display: inline-block; - opacity: 0.8; - font-size: 12px; - text-indent: 10px; -} - -.wp-filter .button.clear-filters { - display: none; - margin-right: 10px; -} - -.wp-filter .button-link.edit-filters { - padding: 0 5px; - line-height: 2.2; -} - -.filtered-by { - display: none; - margin: 0; -} - -.filtered-by > span { - font-weight: 600; -} - -.filtered-by a { - margin-right: 10px; -} - -.filtered-by .tags { - display: inline; -} - -.filtered-by .tag { - margin: 0 5px; - padding: 4px 8px; - border: 1px solid #dcdcde; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; - font-size: 11px; -} - -.filters-applied .filter-group, -.filters-applied .filter-drawer .buttons, -.filters-applied .filter-drawer br { - display: none; -} - -.filters-applied .filtered-by { - display: block; -} - -.filters-applied .filter-drawer { - padding: 20px; -} - -.show-filters .favorites-form, -.show-filters .content-filterable, -.show-filters.filters-applied.loading-content .content-filterable, -.loading-content .content-filterable, -.error .content-filterable { - display: none; -} - -.show-filters.filters-applied .content-filterable { - display: block; -} - -.loading-content .spinner { - display: block; - margin: 40px auto 0; - float: none; -} - -@media only screen and (max-width: 1120px) { - .filter-drawer { - border-bottom: 1px solid #f0f0f1; - } - - .filter-group { - margin-bottom: 0; - margin-top: 5px; - width: 100%; - } - - .filter-group li { - margin: 10px 0; - } -} - -@media only screen and (max-width: 1000px) { - .filter-items { - float: none; - } - - .wp-filter .media-toolbar-primary, - .wp-filter .media-toolbar-secondary, - .wp-filter .search-form { - float: none; /* Remove float from media-views.css */ - position: relative; - max-width: 100%; - } -} - -@media only screen and (max-width: 782px) { - .filter-group li { - padding: 0; - width: 50%; - } -} - -@media only screen and (max-width: 320px) { - .filter-count { - display: none; - } - - .wp-filter .drawer-toggle { - margin: 10px 0; - } - - .filter-group li, - .wp-filter .search-form input[type="search"] { - width: 100%; - } -} - -/*------------------------------------------------------------------------------ - 4.0 - Notifications -------------------------------------------------------------------------------*/ - -.notice, -div.updated, -div.error { - background: #fff; - border: 1px solid #c3c4c7; - border-right-width: 4px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - margin: 5px 15px 2px; - padding: 1px 12px; -} - -div[class="update-message"] { /* back-compat for pre-4.6 */ - padding: 0.5em 0 0.5em 12px; -} - -.notice p, -.notice-title, -div.updated p, -div.error p, -.form-table td .notice p { - margin: 0.5em 0; - padding: 2px; -} - -.error a { - text-decoration: underline; -} - -.updated a { - padding-bottom: 2px; -} - -.notice-alt { - box-shadow: none; -} - -.notice-large { - padding: 10px 20px; -} - -.notice-title { - display: inline-block; - color: #1d2327; - font-size: 18px; -} - -.wp-core-ui .notice.is-dismissible { - padding-left: 38px; - position: relative; -} - -.notice-dismiss { - position: absolute; - top: 0; - left: 1px; - border: none; - margin: 0; - padding: 9px; - background: none; - color: #787c82; - cursor: pointer; -} - -.notice-dismiss:hover:before, -.notice-dismiss:active:before, -.notice-dismiss:focus:before { - color: #d63638; -} - -.notice-dismiss:focus { - outline: none; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.notice-success, -div.updated { - border-right-color: #00a32a; -} - -.notice-success.notice-alt { - background-color: #edfaef; -} - -.notice-warning { - border-right-color: #dba617; -} - -.notice-warning.notice-alt { - background-color: #fcf9e8; -} - -.notice-error, -div.error { - border-right-color: #d63638; -} - -.notice-error.notice-alt { - background-color: #fcf0f1; -} - -.notice-info { - border-right-color: #72aee6; -} - -.notice-info.notice-alt { - background-color: #f0f6fc; -} - -.update-message p:before, -.updating-message p:before, -.updated-message p:before, -.import-php .updating-message:before, -.button.updating-message:before, -.button.updated-message:before, -.button.installed:before, -.button.installing:before { - display: inline-block; - font: normal 20px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.wrap .notice, -.wrap div.updated, -.wrap div.error, -.media-upload-form .notice, -.media-upload-form div.error { - margin: 5px 0 15px; -} - -.wrap #templateside .notice { - display: block; - margin: 0; - padding: 5px 8px; - font-weight: 600; - text-decoration: none; -} - -.wrap #templateside span.notice { - margin-right: -12px; -} - -#templateside li.notice a { - padding: 0; -} - -/* Update icon. */ -.update-message p:before, -.updating-message p:before, -.import-php .updating-message:before, -.button.updating-message:before, -.button.installing:before { - color: #d63638; - content: "\f463"; -} - -/* Spins the update icon. */ -.updating-message p:before, -.import-php .updating-message:before, -.button.updating-message:before, -.button.installing:before, -.plugins .column-auto-updates .dashicons-update.spin, -.theme-overlay .theme-autoupdate .dashicons-update.spin { - animation: rotation 2s infinite linear; -} - -@media (prefers-reduced-motion: reduce) { - .updating-message p:before, - .import-php .updating-message:before, - .button.updating-message:before, - .button.installing:before, - .plugins .column-auto-updates .dashicons-update.spin, - .theme-overlay .theme-autoupdate .dashicons-update.spin { - animation: none; - } -} - -.theme-overlay .theme-autoupdate .dashicons-update.spin { - margin-left: 3px; -} - -/* Updated icon (check mark). */ -.updated-message p:before, -.installed p:before, -.button.updated-message:before { - color: #68de7c; - content: "\f147"; -} - -/* Error icon. */ -.update-message.notice-error p:before { - color: #d63638; - content: "\f534"; -} - -.wrap .notice p:before, -.import-php .updating-message:before { - margin-left: 6px; -} - -.import-php .updating-message:before { - vertical-align: bottom; -} - -#update-nag, -.update-nag { - display: inline-block; - line-height: 1.4; - padding: 11px 15px; - font-size: 14px; - margin: 25px 2px 0 20px; -} - -ul#dismissed-updates { - display: none; -} - -#dismissed-updates li > p { - margin-top: 0; -} - -#dismiss, -#undismiss { - margin-right: 0.5em; -} - -form.upgrade { - margin-top: 8px; -} - -form.upgrade .hint { - font-style: italic; - font-size: 85%; - margin: -0.5em 0 2em; -} - -.update-php .spinner { - float: none; - margin: -4px 0; -} - -h2.wp-current-version { - margin-bottom: .3em; -} - -p.update-last-checked { - margin-top: 0; -} - -p.auto-update-status { - margin-top: 2em; - line-height: 1.8; -} - -#ajax-loading, -.ajax-loading, -.ajax-feedback, -.imgedit-wait-spin, -.list-ajax-loading { /* deprecated */ - visibility: hidden; -} - -#ajax-response.alignleft { - margin-right: 2em; -} - -.button.updating-message:before, -.button.updated-message:before, -.button.installed:before, -.button.installing:before { - margin: 3px -2px 0 5px; -} - -.button-primary.updating-message:before { - color: #fff; -} - -.button-primary.updated-message:before { - color: #9ec2e6; -} - -.button.updated-message { - transition-property: border, background, color; - transition-duration: .05s; - transition-timing-function: ease-in-out; -} - -@media aural { - .wrap .notice p:before, - .button.installing:before, - .button.installed:before, - .update-message p:before { - speak: never; - } -} - - -/* @todo: this does not need its own section anymore */ -/*------------------------------------------------------------------------------ - 6.0 - Admin Header -------------------------------------------------------------------------------*/ -#adminmenu a, -#taglist a, -#catlist a { - text-decoration: none; -} - -/*------------------------------------------------------------------------------ - 6.1 - Screen Options Tabs -------------------------------------------------------------------------------*/ - -#screen-options-wrap, -#contextual-help-wrap { - margin: 0; - padding: 8px 20px 12px; - position: relative; -} - -#contextual-help-wrap { - overflow: auto; - margin-right: 0; -} - -#screen-meta-links { - float: left; - margin: 0 0 0 20px; -} - -/* screen options and help tabs revert */ -#screen-meta { - display: none; - margin: 0 0 -1px 20px; - position: relative; - background-color: #fff; - border: 1px solid #c3c4c7; - border-top: none; - box-shadow: 0 0 0 transparent; -} - -#screen-options-link-wrap, -#contextual-help-link-wrap { - float: right; - margin: 0 6px 0 0; -} - -#screen-meta-links .screen-meta-toggle { - position: relative; - top: 0; -} - -#screen-meta-links .show-settings { - border: 1px solid #c3c4c7; - border-top: none; - height: auto; - margin-bottom: 0; - padding: 3px 16px 3px 6px; - background: #fff; - border-radius: 0 0 4px 4px; - color: #646970; - line-height: 1.7; - box-shadow: 0 0 0 transparent; - transition: box-shadow 0.1s linear; -} - -#screen-meta-links .show-settings:hover, -#screen-meta-links .show-settings:active, -#screen-meta-links .show-settings:focus { - color: #2c3338; -} - -#screen-meta-links .show-settings:focus { - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); -} - -#screen-meta-links .show-settings:active { - transform: none; -} - -#screen-meta-links .show-settings:after { - left: 0; - content: "\f140"; - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - padding: 0 0 0 5px; - bottom: 2px; - position: relative; - vertical-align: bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none; -} - -#screen-meta-links .screen-meta-active:after { - content: "\f142"; -} - -/* end screen options and help tabs */ - -.toggle-arrow { - background-repeat: no-repeat; - background-position: top right; - background-color: transparent; - height: 22px; - line-height: 22px; - display: block; -} - -.toggle-arrow-active { - background-position: bottom right; -} - -#screen-options-wrap h5, /* Back-compat for old plugins */ -#screen-options-wrap legend, -#contextual-help-wrap h5 { - margin: 0; - padding: 8px 0; - font-size: 13px; - font-weight: 600; -} - -.metabox-prefs label { - display: inline-block; - padding-left: 15px; - line-height: 2.35; -} - -#number-of-columns { - display: inline-block; - vertical-align: middle; - line-height: 30px; -} - -.metabox-prefs input[type=checkbox] { - margin-top: 0; - margin-left: 6px; -} - -.metabox-prefs label input, -.metabox-prefs label input[type=checkbox] { - margin: -4px 0 0 5px; -} - -.metabox-prefs .columns-prefs label input { - margin: -1px 0 0 2px; -} - -.metabox-prefs label a { - display: none; -} - -.metabox-prefs .screen-options input, -.metabox-prefs .screen-options label { - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; -} - -.metabox-prefs .screen-options .screen-per-page { - margin-left: 15px; - padding-left: 0; -} - -.metabox-prefs .screen-options label { - line-height: 2.2; - padding-left: 0; -} - -.screen-options + .screen-options { - margin-top: 10px; -} - -.metabox-prefs .submit { - margin-top: 1em; - padding: 0; -} - -/*------------------------------------------------------------------------------ - 6.2 - Help Menu -------------------------------------------------------------------------------*/ - -#contextual-help-wrap { - padding: 0; -} - -#contextual-help-columns { - position: relative; -} - -#contextual-help-back { - position: absolute; - top: 0; - bottom: 0; - right: 150px; - left: 170px; - border: 1px solid #c3c4c7; - border-top: none; - border-bottom: none; - background: #f0f6fc; -} - -#contextual-help-wrap.no-sidebar #contextual-help-back { - left: 0; - border-left-width: 0; - border-bottom-left-radius: 2px; -} - -.contextual-help-tabs { - float: right; - width: 150px; - margin: 0; -} - -.contextual-help-tabs ul { - margin: 1em 0; -} - -.contextual-help-tabs li { - margin-bottom: 0; - list-style-type: none; - border-style: solid; - border-width: 0 2px 0 0; - border-color: transparent; -} - -.contextual-help-tabs a { - display: block; - padding: 5px 12px 5px 5px; - line-height: 1.4; - text-decoration: none; - border: 1px solid transparent; - border-left: none; - border-right: none; -} - -.contextual-help-tabs a:hover { - color: #2c3338; -} - -.contextual-help-tabs .active { - padding: 0; - margin: 0 0 0 -1px; - border-right: 2px solid #72aee6; - background: #f0f6fc; - box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02); -} - -.contextual-help-tabs .active a { - border-color: #c3c4c7; - color: #2c3338; -} - -.contextual-help-tabs-wrap { - padding: 0 20px; - overflow: auto; -} - -.help-tab-content { - display: none; - margin: 0 0 12px 22px; - line-height: 1.6; -} - -.help-tab-content.active { - display: block; -} - -.help-tab-content ul li { - list-style-type: disc; - margin-right: 18px; -} - -.contextual-help-sidebar { - width: 150px; - float: left; - padding: 0 12px 0 8px; - overflow: auto; -} - -/*------------------------------------------------------------------------------ - 8.0 - Layout Blocks -------------------------------------------------------------------------------*/ - -html.wp-toolbar { - padding-top: 32px; - box-sizing: border-box; - -ms-overflow-style: scrollbar; /* See ticket #48545 */ -} - -.widefat th, -.widefat td { - color: #50575e; -} - -.widefat th, -.widefat thead td, -.widefat tfoot td { - font-weight: 400; -} - -.widefat thead tr th, -.widefat thead tr td, -.widefat tfoot tr th, -.widefat tfoot tr td { - color: #2c3338; -} - -.widefat td p { - margin: 2px 0 0.8em; -} - -.widefat p, -.widefat ol, -.widefat ul { - color: #2c3338; -} - -.widefat .column-comment p { - margin: 0.6em 0; -} - -.widefat .column-comment ul { - list-style: initial; - margin-right: 2em; -} - -/* Screens with postboxes */ -.postbox-container { - float: right; -} - -.postbox-container .meta-box-sortables { - box-sizing: border-box; -} - -#wpbody-content .metabox-holder { - padding-top: 10px; -} - -.metabox-holder .postbox-container .meta-box-sortables { - /* The jQuery UI Sortables need some initial height to work properly. */ - min-height: 1px; - position: relative; -} - -#post-body-content { - width: 100%; - min-width: 463px; - float: right; -} - -#post-body.columns-2 #postbox-container-1 { - float: left; - margin-left: -300px; - width: 280px; -} - -#post-body.columns-2 #side-sortables { - min-height: 250px; -} - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content .metabox-holder .postbox-container .empty-container { - outline: none; - height: 0; - min-height: 0; - } -} - -.js .widget .widget-top, -.js .postbox .hndle { - cursor: move; -} - -.js .widget .widget-top.is-non-sortable, -.js .postbox .hndle.is-non-sortable { - cursor: auto; -} - -/* Configurable dashboard widgets "Configure" edit-box link. */ -.hndle a { - font-size: 12px; - font-weight: 400; -} - -.postbox-header { - display: flex; - align-items: center; - justify-content: space-between; - border-bottom: 1px solid #c3c4c7; -} - -.postbox-header .hndle { - flex-grow: 1; - /* Handle the alignment for the configurable dashboard widgets "Configure" edit-box link. */ - display: flex; - justify-content: space-between; - align-items: center; -} - -.postbox-header .handle-actions { - flex-shrink: 0; -} - -/* Post box order and toggle buttons. */ -.postbox .handle-order-higher, -.postbox .handle-order-lower, -.postbox .handlediv { - width: 36px; - height: 36px; - margin: 0; - padding: 0; - border: 0; - background: none; - cursor: pointer; -} - -.postbox .handle-order-higher, -.postbox .handle-order-lower { - color: #787c82; - width: 1.62rem; -} - -/* Post box order buttons in the block editor meta boxes area. */ -.edit-post-meta-boxes-area .postbox .handle-order-higher, -.edit-post-meta-boxes-area .postbox .handle-order-lower { - width: 44px; - height: 44px; - color: #1d2327 -} - -.postbox .handle-order-higher[aria-disabled="true"], -.postbox .handle-order-lower[aria-disabled="true"] { - cursor: default; - color: #a7aaad; -} - -.sortable-placeholder { - border: 1px dashed #c3c4c7; - margin-bottom: 20px; -} - -.postbox, -.stuffbox { - margin-bottom: 20px; - padding: 0; - line-height: 1; -} - -.postbox.closed { - border-bottom: 0; -} - -/* user-select is not a part of the CSS standard - may change behavior in the future */ -.postbox .hndle, -.stuffbox .hndle { - -webkit-user-select: none; - user-select: none; -} - -.postbox .inside { - padding: 0 12px 12px; - line-height: 1.4; - font-size: 13px; -} - -.stuffbox .inside { - padding: 0; - line-height: 1.4; - font-size: 13px; - margin-top: 0; -} - -.postbox .inside { - margin: 11px 0; - position: relative; -} - -.postbox .inside > p:last-child, -.rss-widget ul li:last-child { - margin-bottom: 1px !important; -} - -.postbox.closed h3 { - border: none; - box-shadow: none; -} - -.postbox table.form-table { - margin-bottom: 0; -} - -.postbox table.widefat { - box-shadow: none; -} - -.temp-border { - border: 1px dotted #c3c4c7; -} - -.columns-prefs label { - padding: 0 0 0 10px; -} - -/* @todo: what is this doing here */ -#dashboard_right_now .versions .b, -#post-status-display, -#post-visibility-display, -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -.media-item .percent, -.plugins .name, -#pass-strength-result.strong, -#pass-strength-result.short, -#ed_reply_toolbar #ed_reply_strong, -.item-controls .item-order a, -.feature-filter .feature-name, -#comment-status-display { - font-weight: 600; -} - -/*------------------------------------------------------------------------------ - 21.0 - Admin Footer -------------------------------------------------------------------------------*/ - -#wpfooter { - position: absolute; - bottom: 0; - right: 0; - left: 0; - padding: 10px 20px; - color: #50575e; -} - -#wpfooter p { - font-size: 13px; - margin: 0; - line-height: 1.55; -} - -#footer-thankyou { - font-style: italic; -} - -/*------------------------------------------------------------------------------ - 25.0 - Tabbed Admin Screen Interface (Experimental) -------------------------------------------------------------------------------*/ - -.nav-tab { - float: right; - border: 1px solid #c3c4c7; - border-bottom: none; - margin-right: 0.5em; /* half the font size so set the font size properly */ - padding: 5px 10px; - font-size: 14px; - line-height: 1.71428571; - font-weight: 600; - background: #dcdcde; - color: #50575e; - text-decoration: none; - white-space: nowrap; -} - -h3 .nav-tab, /* Back-compat for pre-4.4 */ -.nav-tab-small .nav-tab { - padding: 5px 14px; - font-size: 12px; - line-height: 1.33; -} - -.nav-tab:hover, -.nav-tab:focus { - background-color: #fff; - color: #3c434a; -} - -.nav-tab-active, -.nav-tab:focus:active { - box-shadow: none; -} - -.nav-tab-active { - margin-bottom: -1px; - color: #3c434a; -} - -.nav-tab-active, -.nav-tab-active:hover, -.nav-tab-active:focus, -.nav-tab-active:focus:active { - border-bottom: 1px solid #f0f0f1; - background: #f0f0f1; - color: #000; -} - -h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ -.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ -.nav-tab-wrapper { - border-bottom: 1px solid #c3c4c7; - margin: 0; - padding-top: 9px; - padding-bottom: 0; - line-height: inherit; -} - -/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */ -.nav-tab-wrapper:not(.wp-clearfix):after { - content: ""; - display: table; - clear: both; -} - -/*------------------------------------------------------------------------------ - 26.0 - Misc -------------------------------------------------------------------------------*/ - -.spinner { - background: url(../images/spinner.gif) no-repeat; - background-size: 20px 20px; - display: inline-block; - visibility: hidden; - float: left; - vertical-align: middle; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 4px 10px 0; -} - -.spinner.is-active, -.loading-content .spinner { - visibility: visible; -} - -#template > div { - margin-left: 16em; -} -#template .notice { - margin-top: 1em; - margin-left: 3%; -} -#template .notice p { - width: auto; -} -#template .submit .spinner { - float: none; -} - -.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ -.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ -.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ -.metabox-holder h2.hndle { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -/* Back-compat for nav-menus screen */ -.nav-menus-php .metabox-holder h3 { - padding: 10px 14px 11px 10px; - line-height: 1.5; -} - -#templateside ul li a { - text-decoration: none; -} - -.plugin-install #description, -.plugin-install-network #description { - width: 60%; -} - -table .vers, -table .column-visible, -table .column-rating { - text-align: right; -} - -.attention, -.error-message { - color: #d63638; - font-weight: 600; -} - -/* Scrollbar fix for bulk upgrade iframe */ -body.iframe { - height: 98%; -} - -/* Upgrader styles, Specific to Language Packs */ -.lp-show-latest p { - display: none; -} -.lp-show-latest p:last-child, -.lp-show-latest .lp-error p { - display: block; -} - -/* - Only used once or twice in all of WP - deprecate for global style -------------------------------------------------------------------------------*/ -.media-icon { - width: 62px; /* icon + border */ - text-align: center; -} - -.media-icon img { - border: 1px solid #dcdcde; - border: 1px solid rgba(0, 0, 0, 0.07); -} - -#howto { - font-size: 11px; - margin: 0 5px; - display: block; -} - -.importers { - font-size: 16px; - width: auto; -} - -.importers td { - padding-left: 14px; - line-height: 1.4; -} - -.importers .import-system { - max-width: 250px; -} - -.importers td.desc { - max-width: 500px; -} - -.importer-title, -.importer-desc, -.importer-action { - display: block; -} - -.importer-title { - color: #000; - font-size: 14px; - font-weight: 400; - margin-bottom: .2em; -} - -.importer-action { - line-height: 1.55; /* Same as with .updating-message */ - color: #50575e; - margin-bottom: 1em; -} - -#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ -#post-body #post-body-content #namediv h2 { - margin-top: 0; -} - -.edit-comment-author { - color: #1d2327; - border-bottom: 1px solid #f0f0f1; -} - -#namediv h3 label, /* Back-compat for pre-4.4 */ -#namediv h2 label { - vertical-align: baseline; -} - -#namediv table { - width: 100%; -} - -#namediv td.first { - width: 10px; - white-space: nowrap; -} - -#namediv input { - width: 100%; -} - -#namediv p { - margin: 10px 0; -} - -/* - Used - but could/should be deprecated with a CSS reset -------------------------------------------------------------------------------*/ -.zerosize { - height: 0; - width: 0; - margin: 0; - border: 0; - padding: 0; - overflow: hidden; - position: absolute; -} - -br.clear { - height: 2px; - line-height: 0.15; -} - -.checkbox { - border: none; - margin: 0; - padding: 0; -} - -fieldset { - border: 0; - padding: 0; - margin: 0; -} - -.post-categories { - display: inline; - margin: 0; - padding: 0; -} - -.post-categories li { - display: inline; -} - -/* Star Ratings - Back-compat for pre-3.8 */ -div.star-holder { - position: relative; - height: 17px; - width: 100px; - background: url(../images/stars.png?ver=20121108) repeat-x bottom right; -} - -div.star-holder .star-rating { - background: url(../images/stars.png?ver=20121108) repeat-x top right; - height: 17px; - float: right; -} - -/* Star Ratings */ -.star-rating { - white-space: nowrap; -} -.star-rating .star { - display: inline-block; - width: 20px; - height: 20px; - -webkit-font-smoothing: antialiased; - font-size: 20px; - line-height: 1; - font-family: dashicons; - text-decoration: inherit; - font-weight: 400; - font-style: normal; - vertical-align: top; - transition: color .1s ease-in; - text-align: center; - color: #dba617; -} - -.star-rating .star-full:before { - content: "\f155"; -} - -.star-rating .star-half:before { - content: "\f459"; -} - -.rtl .star-rating .star-half { - transform: rotateY(-180deg); -} - -.star-rating .star-empty:before { - content: "\f154"; -} - -div.action-links { - font-weight: 400; - margin: 6px 0 0; -} - -/* Plugin install thickbox */ -#plugin-information { - background: #fff; - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - height: 100%; - padding: 0; -} - -#plugin-information-scrollable { - overflow: auto; - -webkit-overflow-scrolling: touch; - height: 100%; -} - -#plugin-information-title { - padding: 0 26px; - background: #f6f7f7; - font-size: 22px; - font-weight: 600; - line-height: 2.4; - position: relative; - height: 56px; -} - -#plugin-information-title.with-banner { - margin-left: 0; - height: 250px; - background-size: cover; -} - -#plugin-information-title h2 { - font-size: 1em; - font-weight: 600; - padding: 0; - margin: 0; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#plugin-information-title.with-banner h2 { - position: relative; - font-family: "Helvetica Neue", sans-serif; - display: inline-block; - font-size: 30px; - line-height: 1.68; - box-sizing: border-box; - max-width: 100%; - padding: 0 15px; - margin-top: 174px; - color: #fff; - background: rgba(29, 35, 39, 0.9); - text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); - box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); - border-radius: 8px; -} - -#plugin-information-title div.vignette { - display: none; -} - -#plugin-information-title.with-banner div.vignette { - position: absolute; - display: block; - top: 0; - right: 0; - height: 250px; - width: 100%; - background: transparent; - box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -#plugin-information-tabs { - padding: 0 16px; - position: relative; - left: 0; - right: 0; - min-height: 36px; - font-size: 0; - z-index: 1; - border-bottom: 1px solid #dcdcde; - background: #f6f7f7; -} - -#plugin-information-tabs a { - position: relative; - display: inline-block; - padding: 9px 10px; - margin: 0; - height: 18px; - line-height: 1.3; - font-size: 14px; - text-decoration: none; - transition: none; -} - -#plugin-information-tabs a.current { - margin: 0 -1px -1px; - background: #fff; - border: 1px solid #dcdcde; - border-bottom-color: #fff; - padding-top: 8px; - color: #2c3338; -} - -#plugin-information-tabs.with-banner a.current { - border-top: none; - padding-top: 9px; -} - -#plugin-information-tabs a:active, -#plugin-information-tabs a:focus { - outline: none; -} - -#plugin-information-content { - overflow: hidden; /* equal height column trick */ - background: #fff; - position: relative; - top: 0; - left: 0; - right: 0; - min-height: 100%; - /* Height of title + tabs + install now */ - min-height: calc( 100% - 152px ); -} - -#plugin-information-content.with-banner { - /* Height of banner + tabs + install now */ - min-height: calc( 100% - 346px ); -} - -#section-holder { - position: relative; - top: 0; - left: 250px; - bottom: 0; - right: 0; - margin-top: 10px; - margin-left: 250px; /* FYI box */ - padding: 10px 26px 99999px; /* equal height column trick */ - margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ -} - -#section-holder .notice { - margin: 5px 0 15px; -} - -#section-holder .updated { - margin: 16px 0; -} - -#plugin-information .fyi { - float: left; - position: relative; - top: 0; - left: 0; - padding: 16px 16px 99999px; /* equal height column trick */ - margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ - width: 217px; - border-right: 1px solid #dcdcde; - background: #f6f7f7; - color: #646970; -} - -#plugin-information .fyi strong { - color: #3c434a; -} - -#plugin-information .fyi h3 { - font-weight: 600; - text-transform: uppercase; - font-size: 12px; - color: #646970; - margin: 24px 0 8px; -} - -#plugin-information .fyi h2 { - font-size: 0.9em; - margin-bottom: 0; - margin-left: 0; -} - -#plugin-information .fyi ul { - padding: 0; - margin: 0; - list-style: none; -} - -#plugin-information .fyi li { - margin: 0 0 10px; -} - -#plugin-information .fyi-description { - margin-top: 0; -} - -#plugin-information .counter-container { - margin: 3px 0; -} - -#plugin-information .counter-label { - float: right; - margin-left: 5px; - min-width: 55px; -} - -#plugin-information .counter-back { - height: 17px; - width: 92px; - background-color: #dcdcde; - float: right; -} - -#plugin-information .counter-bar { - height: 17px; - background-color: #f0c33c; /* slightly lighter than stars due to larger expanse */ - float: right; -} - -#plugin-information .counter-count { - margin-right: 5px; -} - -#plugin-information .fyi ul.contributors { - margin-top: 10px; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-left: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-left: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li img { - vertical-align: middle; - margin-left: 4px; -} - -#plugin-information-footer { - padding: 13px 16px; - position: absolute; - left: 0; - bottom: 0; - right: 0; - height: 40px; /* actual height: 40+13+13+1=67 */ - border-top: 1px solid #dcdcde; - background: #f6f7f7; -} - -/* rtl:ignore */ -#plugin-information .section { - direction: ltr; -} - -/* rtl:ignore */ -#plugin-information .section ul, -#plugin-information .section ol { - list-style-type: disc; - margin-left: 24px; -} - -#plugin-information .section, -#plugin-information .section p { - font-size: 14px; - line-height: 1.7; -} - -#plugin-information #section-screenshots ol { - list-style: none; - margin: 0; -} - -#plugin-information #section-screenshots li img { - vertical-align: text-top; - margin-top: 16px; - max-width: 100%; - width: auto; - height: auto; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); -} - -/* rtl:ignore */ -#plugin-information #section-screenshots li p { - font-style: italic; - padding-left: 20px; -} - -#plugin-information pre { - padding: 7px; - overflow: auto; - border: 1px solid #c3c4c7; -} - -#plugin-information blockquote { - border-right: 2px solid #dcdcde; - color: #646970; - font-style: italic; - margin: 1em 0; - padding: 0 1em 0 0; -} - -/* rtl:ignore */ -#plugin-information .review { - overflow: hidden; /* clearfix */ - width: 100%; - margin-bottom: 20px; - border-bottom: 1px solid #dcdcde; -} - -#plugin-information .review-title-section { - overflow: hidden; /* clearfix */ -} - -/* rtl:ignore */ -#plugin-information .review-title-section h4 { - display: inline-block; - float: left; - margin: 0 6px 0 0; -} - -#plugin-information .reviewer-info p { - clear: both; - margin: 0; - padding-top: 2px; -} - -/* rtl:ignore */ -#plugin-information .reviewer-info .avatar { - float: left; - margin: 4px 6px 0 0; -} - -/* rtl:ignore */ -#plugin-information .reviewer-info .star-rating { - float: left; -} - -/* rtl:ignore */ -#plugin-information .review-meta { - float: left; - margin-left: 0.75em; -} - -/* rtl:ignore */ -#plugin-information .review-body { - float: left; - width: 100%; -} - -.plugin-version-author-uri { - font-size: 13px; -} - -/* For non-js plugin installation screen ticket #36430. */ -.update-php .button.button-primary { - margin-left: 1em; -} - -@media screen and (max-width: 771px) { - #plugin-information-title.with-banner { - height: 100px; - } - - #plugin-information-title.with-banner h2 { - margin-top: 30px; - font-size: 20px; - line-height: 2; - max-width: 85%; - } - - #plugin-information-title.with-banner div.vignette { - height: 100px; - } - - #plugin-information-tabs { - overflow: hidden; /* clearfix */ - padding: 0; - height: auto; /* let tabs wrap */ - } - - #plugin-information-tabs a.current { - margin-bottom: 0; - border-bottom: none; - } - - #plugin-information .fyi { - float: none; - border: 1px solid #dcdcde; - position: static; - width: auto; - margin: 26px 26px 0; - padding-bottom: 0; /* reset from the two column height fix */ - } - - #section-holder { - position: static; - margin: 0; - padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */ - } - - #plugin-information .fyi h3, - #plugin-information .fyi small { - display: none; - } - - #plugin-information-footer { - padding: 12px 16px 0; - height: 46px; - } -} - -/* Thickbox for the Plugin details modal. */ -#TB_window.plugin-details-modal { - background: #fff; -} - -#TB_window.plugin-details-modal.thickbox-loading:before { - content: ""; - display: block; - width: 20px; - height: 20px; - position: absolute; - right: 50%; - top: 50%; - z-index: -1; - margin: -10px -10px 0 0; - background: #fff url(../images/spinner.gif) no-repeat center; - background-size: 20px 20px; - transform: translateZ(0); -} - -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - #TB_window.plugin-details-modal.thickbox-loading:before { - background-image: url(../images/spinner-2x.gif); - } -} - -.plugin-details-modal #TB_title { - float: right; - height: 1px; -} - -.plugin-details-modal #TB_ajaxWindowTitle { - display: none; -} - -.plugin-details-modal #TB_closeWindowButton { - right: auto; - left: -30px; - color: #f0f0f1; -} - -.plugin-details-modal #TB_closeWindowButton:hover, -.plugin-details-modal #TB_closeWindowButton:focus { - color: #135e96; - outline: none; - box-shadow: none; -} - -.plugin-details-modal .tb-close-icon { - display: none; -} - -.plugin-details-modal #TB_closeWindowButton:after { - content: "\f335"; - font: normal 32px/29px 'dashicons'; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* move plugin install close icon to top on narrow screens */ -@media screen and (max-width: 830px) { - .plugin-details-modal #TB_closeWindowButton { - left: 0; - top: -30px; - } -} - -/* @todo: move this. */ -img { - border: none; -} - -/* Metabox collapse arrow indicators */ -.sidebar-name .toggle-indicator::before, -.meta-box-sortables .postbox .toggle-indicator::before, -.meta-box-sortables .postbox .order-higher-indicator::before, -.meta-box-sortables .postbox .order-lower-indicator::before, -.bulk-action-notice .toggle-indicator::before, -.privacy-text-box .toggle-indicator::before { - content: "\f142"; - display: inline-block; - font: normal 20px/1 dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none; -} - -.js .widgets-holder-wrap.closed .toggle-indicator::before, -.meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before, -.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before, -.privacy-text-box.closed .toggle-indicator::before { - content: "\f140"; -} - -.postbox .handle-order-higher .order-higher-indicator::before { - content: "\f343"; - color: inherit; -} - -.postbox .handle-order-lower .order-lower-indicator::before { - content: "\f347"; - color: inherit; -} - -.postbox .handle-order-higher .order-higher-indicator::before, -.postbox .handle-order-lower .order-lower-indicator::before { - position: relative; - top: 0.11rem; - width: 20px; - height: 20px; -} - -.postbox .handlediv .toggle-indicator::before { - width: 20px; - border-radius: 50%; -} - -.postbox .handlediv .toggle-indicator::before { - position: relative; - top: 0.05rem; - text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */ -} - -.rtl .postbox .handlediv .toggle-indicator::before { - text-indent: 1px; /* account for the dashicon glyph uneven horizontal alignment */ -} - -.bulk-action-notice .toggle-indicator::before { - line-height: 16px; - vertical-align: top; - color: #787c82; -} - -.postbox .handle-order-higher:focus, -.postbox .handle-order-lower:focus, -.postbox .handlediv:focus { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.postbox .handle-order-higher:focus .order-higher-indicator::before, -.postbox .handle-order-lower:focus .order-lower-indicator::before, -.postbox .handlediv:focus .toggle-indicator::before { - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -/* @todo: appears to be Press This only and overridden */ -#photo-add-url-div input[type="text"] { - width: 300px; -} - -/* Theme/Plugin file editor */ -.alignleft h2 { - margin: 0; -} - -#template textarea { - font-family: Consolas, Monaco, monospace; - font-size: 13px; - background: #f6f7f7; - -o-tab-size: 4; - tab-size: 4; -} - -#template textarea, -#template .CodeMirror { - width: 100%; - min-height: 60vh; - height: calc( 100vh - 295px ); - border: 1px solid #dcdcde; - box-sizing: border-box; -} - -#templateside > h2 { - padding-top: 6px; - padding-bottom: 7px; - margin: 0; -} - -#templateside ol, -#templateside ul { - margin: 0; - padding: 0; -} -#templateside > ul { - box-sizing: border-box; - margin-top: 0; - overflow: auto; - padding: 0; - min-height: 60vh; - height: calc(100vh - 295px); - background-color: #f6f7f7; - border: 1px solid #dcdcde; - border-right: none; -} -#templateside ul ul { - padding-right: 12px; -} -#templateside > ul > li > ul[role=group] { - padding-right: 0; -} - -/* - * Styles for Theme and Plugin file editors. - */ - -/* Hide collapsed items. */ -[role="treeitem"][aria-expanded="false"] > ul { - display: none; -} - -/* Use arrow dashicons for folder states, but hide from screen readers. */ -[role="treeitem"] span[aria-hidden] { - display: inline; - font-family: dashicons; - font-size: 20px; - position: absolute; - pointer-events: none; -} -[role="treeitem"][aria-expanded="false"] > .folder-label .icon:after { - content: "\f141"; -} -[role="treeitem"][aria-expanded="true"] > .folder-label .icon:after { - content: "\f140"; -} -[role="treeitem"] .folder-label { - display: block; - padding: 3px 12px 3px 3px; - cursor: pointer; -} - -/* Remove outline, and create our own focus and hover styles */ -[role="treeitem"] { - outline: 0; -} -[role="treeitem"] .folder-label.focus { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} -[role="treeitem"].hover, -[role="treeitem"] .folder-label.hover { - background-color: #f0f0f1; -} - -.tree-folder { - margin: 0; - position: relative; -} -[role="treeitem"] li { - position: relative; -} - -/* Styles for folder indicators/depth */ -.tree-folder .tree-folder::after { - content: ""; - display: block; - position: absolute; - right: 2px; - border-right: 1px solid #c3c4c7; - top: -13px; - bottom: 10px; -} -.tree-folder > li::before { - content: ""; - position: absolute; - display: block; - border-right: 1px solid #c3c4c7; - right: 2px; - top: -5px; - height: 18px; - width: 7px; - border-bottom: 1px solid #c3c4c7; -} -.tree-folder > li::after { - content: ""; - position: absolute; - display: block; - border-right: 1px solid #c3c4c7; - right: 2px; - bottom: -7px; - top: 0; -} - -/* current-file needs to adjustment for .notice styles */ -#templateside .current-file { - margin: -4px 0 -2px; -} -.tree-folder > .current-file::before { - right: 4px; - height: 15px; - width: 0; - border-right: none; - top: 3px; -} -.tree-folder > .current-file::after { - bottom: -4px; - height: 7px; - right: 2px; - top: auto; -} - -/* Lines shouldn't continue on last item */ -.tree-folder > li:last-child::after, -.tree-folder li:last-child > .tree-folder::after { - display: none; -} - -#theme-plugin-editor-selector, -#theme-plugin-editor-label, -#documentation label { - font-weight: 600; -} - -#theme-plugin-editor-label { - display: inline-block; - margin-bottom: 1em; -} - -/* rtl:ignore */ -#template textarea, -#docs-list { - direction: ltr; -} - -.fileedit-sub #theme, -.fileedit-sub #plugin { - max-width: 40%; -} -.fileedit-sub .alignright { - text-align: left; -} - -#template p { - width: 97%; -} - -#file-editor-linting-error { - margin-top: 1em; - margin-bottom: 1em; -} -#file-editor-linting-error > .notice { - margin: 0; - display: inline-block; -} -#file-editor-linting-error > .notice > p { - width: auto; -} -#template .submit { - margin-top: 1em; - padding: 0; -} - -#template .submit input[type=submit][disabled] { - cursor: not-allowed; -} -#templateside { - float: left; - width: 16em; - word-wrap: break-word; -} - -#postcustomstuff p.submit { - margin: 0; -} - -#templateside h4 { - margin: 1em 0 0; -} - -#templateside li { - margin: 4px 0; -} - -#templateside li:not(.howto) a, -.theme-editor-php .highlight { - display: block; - padding: 3px 12px 3px 0; - text-decoration: none; -} - -#templateside li:not(.howto) > a:first-of-type { - padding-top: 0; -} - -#templateside li.howto { - padding: 6px 12px 12px; -} - -.theme-editor-php .highlight { - margin: -3px -12px -3px 3px; -} - -#templateside .highlight { - border: none; - font-weight: 600; -} - -.nonessential { - color: #646970; - font-size: 11px; - font-style: italic; - padding-right: 12px; -} - -#documentation { - margin-top: 10px; -} - -#documentation label { - line-height: 1.8; - vertical-align: baseline; -} - -.fileedit-sub { - padding: 10px 0 8px; - line-height: 180%; -} - -#file-editor-warning .file-editor-warning-content { - margin: 25px; -} - -/* @todo: can we use a common class for these? */ -.nav-menus-php .item-edit:before, -.widget-top .widget-action .toggle-indicator:before, -.control-section .accordion-section-title:after, -.accordion-section-title:after { - content: "\f140"; - font: normal 20px/1 dashicons; - speak: never; - display: block; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none; -} - -.widget-top .widget-action .toggle-indicator:before { - padding: 1px 0 1px 2px; - border-radius: 50%; -} - -.handlediv, -.postbox .handlediv.button-link, -.item-edit, -.toggle-indicator, -.accordion-section-title:after { - color: #787c82; -} - -.widget-action { - color: #50575e; /* #fafafa background in the Widgets screen */ -} - -.widget-top:hover .widget-action, -.widget-action:focus, -.handlediv:hover, -.handlediv:focus, -.postbox .handlediv.button-link:hover, -.postbox .handlediv.button-link:focus, -.item-edit:hover, -.item-edit:focus, -.sidebar-name:hover .toggle-indicator, -.accordion-section-title:hover:after { - color: #1d2327; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.widget-top .widget-action:focus .toggle-indicator:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.control-section .accordion-section-title:after, -.accordion-section-title:after { - float: left; - left: 20px; - top: -2px; -} - -.control-section.open .accordion-section-title:after, -#customize-info.open .accordion-section-title:after, -.nav-menus-php .menu-item-edit-active .item-edit:before, -.widget.open .widget-top .widget-action .toggle-indicator:before, -.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before { - content: "\f142"; -} - -/*! - * jQuery UI Draggable/Sortable 1.11.4 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ -.ui-draggable-handle, -.ui-sortable-handle { - touch-action: none; -} - -/* Accordion */ -.accordion-section { - border-bottom: 1px solid #dcdcde; - margin: 0; -} - -.accordion-section.open .accordion-section-content, -.no-js .accordion-section .accordion-section-content { - display: block; -} - -.accordion-section.open:hover { - border-bottom-color: #dcdcde; -} - -.accordion-section-content { - display: none; - padding: 10px 20px 15px; - overflow: hidden; - background: #fff; -} - -.accordion-section-title { - margin: 0; - padding: 12px 15px 15px; - position: relative; - border-right: 1px solid #dcdcde; - border-left: 1px solid #dcdcde; - -webkit-user-select: none; - user-select: none; -} - -.js .accordion-section-title { - cursor: pointer; -} - -.js .accordion-section-title:after { - position: absolute; - top: 12px; - left: 10px; - z-index: 1; -} - -.accordion-section-title:focus { - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.accordion-section-title:hover:after, -.accordion-section-title:focus:after { - border-color: #a7aaad transparent; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.cannot-expand .accordion-section-title { - cursor: auto; -} - -.cannot-expand .accordion-section-title:after { - display: none; -} - -.control-section .accordion-section-title, -.customize-pane-child .accordion-section-title { - border-right: none; - border-left: none; - padding: 10px 14px 11px 10px; - line-height: 1.55; - background: #fff; -} - -.control-section .accordion-section-title:after, -.customize-pane-child .accordion-section-title:after { - top: calc(50% - 10px); /* Arrow height is 20px, so use half of that to vertically center */ -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - color: #1d2327; - background: #f6f7f7; -} - -.control-section.open .accordion-section-title { - /* When expanded */ - border-bottom: 1px solid #dcdcde; -} - -/* Edit Site */ -.network-admin .edit-site-actions { - margin-top: 0; -} - -/* My Sites */ -.my-sites { - display: block; - overflow: auto; - zoom: 1; -} - -.my-sites li { - display: block; - padding: 8px 3%; - min-height: 130px; - margin: 0; -} - -@media only screen and (max-width: 599px) { - .my-sites li { - min-height: 0; - } -} - -@media only screen and (min-width: 600px) { - .my-sites.striped li { - background-color: #fff; - position: relative; - } - .my-sites.striped li:after { - content: ""; - width: 1px; - height: 100%; - position: absolute; - top: 0; - left: 0; - background: #c3c4c7; - } - -} -@media only screen and (min-width: 600px) and (max-width: 699px) { - .my-sites li{ - float: right; - width: 44%; - } - .my-sites.striped li { - background-color: #fff; - } - .my-sites.striped li:nth-of-type(2n+1) { - clear: right; - } - .my-sites.striped li:nth-of-type(2n+2):after { - content: none; - } - .my-sites li:nth-of-type(4n+1), - .my-sites li:nth-of-type(4n+2) { - background-color: #f6f7f7; - } - -} - -@media only screen and (min-width: 700px) and (max-width: 1199px) { - .my-sites li { - float: right; - width: 27.333333%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(3n+3):after { - content: none; - } - .my-sites li:nth-of-type(6n+1), - .my-sites li:nth-of-type(6n+2), - .my-sites li:nth-of-type(6n+3) { - background-color: #f6f7f7; - } -} - -@media only screen and (min-width: 1200px) and (max-width: 1399px) { - .my-sites li { - float: right; - width: 21%; - padding: 8px 2%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(4n+1) { - clear: right; - } - .my-sites.striped li:nth-of-type(4n+4):after { - content: none; - } - .my-sites li:nth-of-type(8n+1), - .my-sites li:nth-of-type(8n+2), - .my-sites li:nth-of-type(8n+3), - .my-sites li:nth-of-type(8n+4) { - background-color: #f6f7f7; - } -} - -@media only screen and (min-width: 1400px) and (max-width: 1599px) { - .my-sites li { - float: right; - width: 16%; - padding: 8px 2%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(5n+1) { - clear: right; - } - .my-sites.striped li:nth-of-type(5n+5):after { - content: none; - } - .my-sites li:nth-of-type(10n+1), - .my-sites li:nth-of-type(10n+2), - .my-sites li:nth-of-type(10n+3), - .my-sites li:nth-of-type(10n+4), - .my-sites li:nth-of-type(10n+5) { - background-color: #f6f7f7; - } -} - -@media only screen and (min-width: 1600px) { - .my-sites li { - float: right; - width: 12.666666%; - padding: 8px 2%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(6n+1) { - clear: right; - } - .my-sites.striped li:nth-of-type(6n+6):after { - content: none; - } - .my-sites li:nth-of-type(12n+1), - .my-sites li:nth-of-type(12n+2), - .my-sites li:nth-of-type(12n+3), - .my-sites li:nth-of-type(12n+4), - .my-sites li:nth-of-type(12n+5), - .my-sites li:nth-of-type(12n+6) { - background-color: #f6f7f7; - } -} - -.my-sites li a { - text-decoration: none; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - /* Back-compat for pre-3.8 */ - div.star-holder, - div.star-holder .star-rating { - background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom right; - background-size: 21px 37px; - } - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - -} - -@media screen and (max-width: 782px) { - html.wp-toolbar { - padding-top: 46px; - } - - .screen-reader-shortcut:focus { - top: -39px; - } - - body { - min-width: 240px; - overflow-x: hidden; - } - - body * { - -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; - } - - #wpcontent { - position: relative; - margin-right: 0; - padding-right: 10px; - } - - #wpbody-content { - padding-bottom: 100px; - } - - .wrap { - clear: both; - margin-left: 12px; - margin-right: 0; - } - - /* categories */ - #col-left, - #col-right { - float: none; - width: auto; - } - - #col-left .col-wrap, - #col-right .col-wrap { - padding: 0; - } - - /* Hidden Elements */ - #collapse-menu, - .post-format-select { - display: none !important; - } - - .wrap h1.wp-heading-inline { - margin-bottom: 0.5em; - } - - .wrap .add-new-h2, /* deprecated */ - .wrap .add-new-h2:active, /* deprecated */ - .wrap .page-title-action, - .wrap .page-title-action:active { - padding: 10px 15px; - font-size: 14px; - white-space: nowrap; - } - - /* Feedback Messages */ - .notice, - .wrap div.updated, - .wrap div.error, - .media-upload-form div.error { - margin: 20px 0 10px; - padding: 5px 10px; - font-size: 14px; - line-height: 175%; - } - - .wp-core-ui .notice.is-dismissible { - padding-left: 46px; - } - - .notice-dismiss { - padding: 13px; - } - - .wrap .icon32 + h2 { - margin-top: -2px; - } - - .wp-responsive-open #wpbody { - left: -16em; - } - - code { - word-wrap: break-word; - word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */ - word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */ - } - - /* General Metabox */ - .postbox { - font-size: 14px; - } - - .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ - .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ - .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ - .metabox-holder h2 { - padding: 12px; - } - - .postbox .handlediv { - margin-top: 3px; - } - - /* Subsubsub Nav */ - .subsubsub { - font-size: 16px; - text-align: center; - margin-bottom: 15px; - } - - /* Theme/Plugin File Editor */ - - #template textarea, - #template .CodeMirror { - box-sizing: border-box; - } - - #templateside { - float: none; - width: auto; - } - - #templateside > ul { - border-right: 1px solid #dcdcde; - } - - #templateside li { - margin: 0; - } - - #templateside li:not(.howto) a { - display: block; - padding: 5px; - } - #templateside li.howto { - padding: 12px; - } - - #templateside .highlight { - padding: 5px; - margin-right: -5px; - margin-top: -5px; - } - - #template > div, - #template .notice { - float: none; - margin: 1em 0; - width: auto; - } - - #template .CodeMirror, - #template textarea { - width: 100%; - } - - #templateside ul ul { - padding-right: 1.5em; - } - [role="treeitem"] .folder-label { - display: block; - padding: 5px; - } - .tree-folder > li::before, - .tree-folder > li::after, - .tree-folder .tree-folder::after { - right: -8px; - } - .tree-folder > li::before { - top: 0; - height: 13px; - } - .tree-folder > .current-file::before { - right: -5px; - top: 7px; - width: 4px; - } - .tree-folder > .current-file::after { - height: 9px; - right: -8px; - } - .wrap #templateside span.notice { - margin-right: -5px; - width: 100%; - } - - .fileedit-sub .alignright { - float: right; - margin-top: 15px; - width: 100%; - text-align: right; - } - - .fileedit-sub .alignright label { - display: block; - } - - .fileedit-sub #theme, - .fileedit-sub #plugin { - margin-right: 0; - max-width: 70%; - } - - .fileedit-sub input[type="submit"] { - margin-bottom: 0; - } - - #documentation label[for="docs-list"] { - display: block; - } - - #documentation select[name="docs-list"] { - margin-right: 0; - max-width: 60%; - } - - #documentation input[type="button"] { - margin-bottom: 0; - } - - #wpfooter { - display: none; - } - - #comments-form .checkforspam { - display: none; - } - - .edit-comment-author { - margin: 2px 0 0; - } - - .filter-drawer .filter-group-feature input, - .filter-drawer .filter-group-feature label { - line-height: 2.1; - } - - .filter-drawer .filter-group-feature label { - margin-right: 32px; - } - - .wp-filter .button.drawer-toggle { - font-size: 13px; - line-height: 2; - height: 28px; - } - - /* Fix help tab columns for smaller screens */ - #screen-meta #contextual-help-wrap { - overflow: visible; - } - - #screen-meta #contextual-help-back, - #screen-meta .contextual-help-sidebar { - display: none; - } - - #screen-meta .contextual-help-tabs { - clear: both; - width: 100%; - float: none; - } - - #screen-meta .contextual-help-tabs ul { - margin: 0 0 1em; - padding: 1em 0 0; - } - - #screen-meta .contextual-help-tabs .active { - margin: 0; - } - - #screen-meta .contextual-help-tabs-wrap { - clear: both; - max-width: 100%; - float: none; - } - - #screen-meta, - #screen-meta-links { - margin-left: 10px; - } - - #screen-meta-links { - margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */ - } - - .wp-filter .search-form input[type="search"] { - font-size: 1rem; - } - - .wp-filter .search-form.search-plugins { - /* This element is a flex item. */ - min-width: 100%; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Disable horizontal scroll when responsive menu is open - since we push the main content off to the right. */ - #wpwrap.wp-responsive-open { - overflow-x: hidden; - } - - html.wp-toolbar { - padding-top: 0; - } - - .screen-reader-shortcut:focus { - top: 7px; - } - - #wpbody { - padding-top: 46px; - } - - /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ - div#post-body.metabox-holder.columns-1 { - overflow-x: hidden; - } - - h1.nav-tab-wrapper, - .wrap h2.nav-tab-wrapper, - .nav-tab-wrapper { - border-bottom: 0; - } - - h1 .nav-tab, - h2 .nav-tab, - h3 .nav-tab, - nav .nav-tab { - margin: 10px 0 0 10px; - border-bottom: 1px solid #c3c4c7; - } - - .nav-tab-active:hover, - .nav-tab-active:focus, - .nav-tab-active:focus:active { - border-bottom: 1px solid #c3c4c7; - } - - .wp-filter .search-form input[type="search"] { - width: 100%; - } -} - -@media screen and (max-width: 320px) { - /* Prevent default center alignment and larger font for the Right Now widget when - the network dashboard is viewed on a small mobile device. */ - #network_dashboard_right_now .subsubsub { - font-size: 14px; - text-align: right; - } -} diff --git a/build/wp-admin/css/common-rtl.min.css b/build/wp-admin/css/common-rtl.min.css deleted file mode 100644 index 1fbb22aa59..0000000000 --- a/build/wp-admin/css/common-rtl.min.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! This file is auto-generated */ -#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-right:20px}#wpcontent,#wpfooter{margin-right:160px}.folded #wpcontent,.folded #wpfooter{margin-right:36px}#wpbody-content{padding-bottom:65px;float:right;width:100%;overflow:visible}.inner-sidebar{float:left;clear:left;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-left:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:right;clear:right;width:100%;margin-left:-2000px}.has-right-sidebar #post-body-content{margin-left:300px;float:none;width:auto}#col-left{float:right;width:35%}#col-right{float:left;width:65%}#col-left .col-wrap{padding:0 0 0 6px}#col-right .col-wrap{padding:0 6px 0 0}.alignleft{float:right}.alignright{float:left}.textleft{text-align:right}.textright{text-align:left}.clear{clear:both}.wp-clearfix:after{content:"";display:table;clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.button .screen-reader-text{height:auto}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{right:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f0f0f1;color:#2271b1;z-index:100000;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:2px solid transparent;outline-offset:-2px}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.comment-ays,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04)}.comment-ays,.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}body{background:#f0f0f1;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}body.mobile.modal-open #wpwrap{overflow:hidden;position:fixed;height:100%}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#2271b1;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#135e96}.wp-person a:focus .gravatar,a:focus,a:focus .media-icon img,a:focus .plugin-icon{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:1px solid transparent}#adminmenu a:focus{box-shadow:none;outline:1px solid transparent;outline-offset:-1px}.screen-reader-text:focus{box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}.wp-die-message,p{font-size:13px;line-height:1.5;margin:1em 0}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{color:#1d2327;font-size:2em;margin:.67em 0}h2,h3{color:#1d2327;font-size:1.3em;margin:1em 0}.update-core-php h2{margin-top:4em}.update-messages h2,.update-php h2,h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-right:2em}ul.ul-disc{list-style:disc outside}ul.ul-square{list-style:square outside}ol.ol-decimal{list-style:decimal outside}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-right:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.ltr{direction:ltr}.code,code{font-family:Consolas,Monaco,monospace;direction:ltr;unicode-bidi:embed}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#f0f0f1;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;float:right;color:#646970}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#50575e;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat *{word-wrap:break-word}.widefat a,.widefat button.button-link{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead td,.widefat thead th{border-bottom:1px solid #c3c4c7}.widefat tfoot td,.widefat tfoot th{border-top:1px solid #c3c4c7;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat tfoot td,.widefat th,.widefat thead td{text-align:right;line-height:1.3em;font-size:14px}.updates-table td input,.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 8px 0 0;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat tbody th.check-column{padding:9px 0 22px}.updates-table tbody td.check-column,.widefat tbody th.check-column,.widefat tfoot td.check-column,.widefat thead td.check-column{padding:11px 3px 0 0}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:4px;vertical-align:middle}.update-php div.error,.update-php div.updated{margin-right:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 2px 0 20px}.wrap.block-editor-no-js{padding-right:20px}.postbox .inside h2,.wrap [class$=icon32]+h2,.wrap h1,.wrap>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px;line-height:1.3}.wrap h1.wp-heading-inline{display:inline-block;margin-left:5px}.wp-header-end{visibility:hidden;margin:-2px 0 0}.subtitle{margin:0;padding-right:25px;color:#50575e;font-size:14px;font-weight:400;line-height:1}.subtitle strong{word-break:break-all}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{margin-right:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:1px solid #2271b1;border-radius:2px;text-shadow:none;font-weight:600;font-size:13px;line-height:normal;color:#2271b1;background:#f6f7f7;cursor:pointer}.wrap .wp-heading-inline+.page-title-action{margin-right:0}.wrap .add-new-h2:hover,.wrap .page-title-action:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.page-title-action:focus{color:#0a4b78}.form-table th label[for=WPLANG] .dashicons,.form-table th label[for=locale] .dashicons{margin-right:5px}.wrap .page-title-action:focus{border-color:#3582c4;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.wrap h1.long-header{padding-left:0}.wp-dialog{background-color:#fff}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#8c8f94;box-shadow:0 1px 2px rgba(0,0,0,.1)}.sorthelper{background-color:#c5d9ed}.ac_match,.subsubsub a.current{color:#000}.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd){background-color:#f6f7f7}.bar{background-color:#f0f0f1;border-left-color:#4f94d4}.highlight{background-color:#f0f6fc;color:#3c434a}.wp-ui-primary{color:#fff;background-color:#2c3338}.wp-ui-text-primary{color:#2c3338}.wp-ui-highlight{color:#fff;background-color:#2271b1}.wp-ui-text-highlight{color:#2271b1}.wp-ui-notification{color:#fff;background-color:#d63638}.wp-ui-text-notification{color:#d63638}.wp-ui-text-icon{color:#8c8f94}img.emoji{display:inline!important;border:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:0 0!important;padding:0!important;box-shadow:none!important}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot td,.widefat tfoot th,.widefat thead td,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#f6f7f7;color:#1d2327}.stuffbox .hndle{border-bottom:1px solid #c3c4c7}.quicktags{background-color:#c3c4c7;color:#000;font-size:12px}.icon32{display:none}#bulk-titles .ntdelbutton:before,.notice-dismiss:before,.tagchecklist .ntdelbutton .remove-tag-icon:before,.welcome-panel .welcome-panel-close:before{background:0 0;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;speak:never;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.welcome-panel .welcome-panel-close:before{margin:0}.tagchecklist .ntdelbutton .remove-tag-icon:before{margin-right:2px;border-radius:50%;color:#2271b1;line-height:1.28}.tagchecklist .ntdelbutton:focus{outline:0}#bulk-titles .ntdelbutton:focus:before,#bulk-titles .ntdelbutton:hover:before,.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,.tagchecklist .ntdelbutton:hover .remove-tag-icon:before{color:#d63638}.tagchecklist .ntdelbutton:focus .remove-tag-icon:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap;word-wrap:break-word}.howto{color:#646970;display:block}p.install-help{margin:8px 0;font-style:italic}.no-break{white-space:nowrap}hr{border:0;border-top:1px solid #dcdcde;border-bottom:1px solid #f6f7f7}#all-plugins-table .plugins a.delete,#delete-link a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.privacy_requests .remove-personal-data .remove-personal-data-handle,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete,a#remove-post-thumbnail{color:#b32d2e}#all-plugins-table .plugins a.delete:hover,#delete-link a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.privacy_requests .remove-personal-data .remove-personal-data-handle:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,a#remove-post-thumbnail:hover,abbr.required,span.required{color:#b32d2e;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #dcdcde;background:#f6f7f7}#delete-action{float:right;line-height:2.30769231}#delete-link{line-height:2.30769231;vertical-align:middle;text-align:right;margin-right:8px}#delete-link a{text-decoration:none}#publishing-action{text-align:left;float:left;line-height:1.9}#publishing-action .spinner{float:none;margin-top:5px}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}.misc-pub-filename,.word-wrap-break-word{word-wrap:break-word}#minor-publishing-actions{padding:10px 10px 0;text-align:left}#save-post{float:right}.preview{float:left}#sticky-span{margin-right:18px}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:left}#misc-publishing-actions .notice{margin-right:10px;margin-left:10px}.wp-filter{display:inline-block;position:relative;box-sizing:border-box;margin:12px 0 25px;padding:0 10px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #c3c4c7;background:#fff;color:#50575e;font-size:13px}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;border-radius:30px;background:#646970;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-right:5px;margin-left:20px}.filter-items{float:right}.filter-links{display:inline-block;margin:0}.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#646970;cursor:pointer}.filter-links .current{box-shadow:none;border-bottom:4px solid #646970;color:#1d2327}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#135e96}.wp-filter .search-form{float:left;margin:10px 0}.wp-filter .search-form input[type=search]{margin:1px 0;width:280px;max-width:100%}.wp-filter .search-form select{margin:0}.plugin-install-php .wp-filter{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}.wp-filter .search-form.search-plugins{margin-top:0}.wp-filter .search-form.search-plugins .wp-filter-search,.wp-filter .search-form.search-plugins select{display:inline-block;margin-top:10px;vertical-align:top}.wp-filter .button.drawer-toggle{margin:10px 9px 0;padding:0 6px 0 10px;border-color:transparent;background-color:transparent;color:#646970;vertical-align:baseline;box-shadow:none}.wp-filter .drawer-toggle:before{content:"\f111";margin:0 0 0 5px;color:#646970;font:normal 16px/1 dashicons;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-filter .button.drawer-toggle:focus,.wp-filter .button.drawer-toggle:hover,.wp-filter .drawer-toggle:focus:before,.wp-filter .drawer-toggle:hover:before{background-color:transparent;color:#135e96}.wp-filter .button.drawer-toggle:focus:active,.wp-filter .button.drawer-toggle:hover{border-color:transparent}.wp-filter .button.drawer-toggle:focus{border-color:#4f94d4}.wp-filter .button.drawer-toggle:active{background:0 0;box-shadow:none;transform:none}.wp-filter .drawer-toggle.current:before{color:#fff}.filter-drawer,.wp-filter .favorites-form{display:none;margin:0 -20px 0 -10px;padding:20px;border-top:1px solid #f0f0f1;background:#f6f7f7;overflow:hidden}.show-favorites-form .favorites-form,.show-filters .filter-drawer{display:block}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .button.drawer-toggle{border-radius:2px;background:#646970;color:#fff}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2271b1}.show-filters .wp-filter .drawer-toggle:before{color:#fff}.filter-group{box-sizing:border-box;position:relative;float:right;margin:0 0 0 1%;padding:20px 10px 10px;width:24%;background:#fff;border:1px solid #dcdcde;box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group legend{position:absolute;top:10px;display:block;margin:0;padding:0;font-size:1em;font-weight:600}.filter-drawer .filter-group-feature{margin:28px 0 0;list-style-type:none;font-size:12px}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{line-height:1.4}.filter-drawer .filter-group-feature input{position:absolute;margin:0}.filter-group .filter-group-feature label{display:block;margin:14px 23px 14px 0}.filter-drawer .buttons{clear:both;margin-bottom:20px}.filter-drawer .filter-group+.buttons{margin-bottom:0;padding-top:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.wp-filter .button.clear-filters{display:none;margin-right:10px}.wp-filter .button-link.edit-filters{padding:0 5px;line-height:2.2}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-right:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;border:1px solid #dcdcde;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters .favorites-form,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.filter-drawer{border-bottom:1px solid #f0f0f1}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:1000px){.filter-items{float:none}.wp-filter .media-toolbar-primary,.wp-filter .media-toolbar-secondary,.wp-filter .search-form{float:none;position:relative;max-width:100%}}@media only screen and (max-width:782px){.filter-group li{padding:0;width:50%}}@media only screen and (max-width:320px){.filter-count{display:none}.wp-filter .drawer-toggle{margin:10px 0}.filter-group li,.wp-filter .search-form input[type=search]{width:100%}}.notice,div.error,div.updated{background:#fff;border:1px solid #c3c4c7;border-right-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:5px 15px 2px;padding:1px 12px}div[class=update-message]{padding:.5em 0 .5em 12px}.form-table td .notice p,.notice p,.notice-title,div.error p,div.updated p{margin:.5em 0;padding:2px}.error a{text-decoration:underline}.updated a{padding-bottom:2px}.notice-alt{box-shadow:none}.notice-large{padding:10px 20px}.notice-title{display:inline-block;color:#1d2327;font-size:18px}.wp-core-ui .notice.is-dismissible{padding-left:38px;position:relative}.notice-dismiss{position:absolute;top:0;left:1px;border:none;margin:0;padding:9px;background:0 0;color:#787c82;cursor:pointer}.notice-dismiss:active:before,.notice-dismiss:focus:before,.notice-dismiss:hover:before{color:#d63638}.notice-dismiss:focus{outline:0;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.notice-success,div.updated{border-right-color:#00a32a}.notice-success.notice-alt{background-color:#edfaef}.notice-warning{border-right-color:#dba617}.notice-warning.notice-alt{background-color:#fcf9e8}.notice-error,div.error{border-right-color:#d63638}.notice-error.notice-alt{background-color:#fcf0f1}.notice-info{border-right-color:#72aee6}.notice-info.notice-alt{background-color:#f0f6fc}.button.installed:before,.button.installing:before,.button.updated-message:before,.button.updating-message:before,.import-php .updating-message:before,.update-message p:before,.updated-message p:before,.updating-message p:before{display:inline-block;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.media-upload-form .notice,.media-upload-form div.error,.wrap .notice,.wrap div.error,.wrap div.updated{margin:5px 0 15px}.wrap #templateside .notice{display:block;margin:0;padding:5px 8px;font-weight:600;text-decoration:none}.wrap #templateside span.notice{margin-right:-12px}#templateside li.notice a{padding:0}.button.installing:before,.button.updating-message:before,.import-php .updating-message:before,.update-message p:before,.updating-message p:before{color:#d63638;content:"\f463"}.button.installing:before,.button.updating-message:before,.import-php .updating-message:before,.plugins .column-auto-updates .dashicons-update.spin,.theme-overlay .theme-autoupdate .dashicons-update.spin,.updating-message p:before{animation:rotation 2s infinite linear}@media (prefers-reduced-motion:reduce){.button.installing:before,.button.updating-message:before,.import-php .updating-message:before,.plugins .column-auto-updates .dashicons-update.spin,.theme-overlay .theme-autoupdate .dashicons-update.spin,.updating-message p:before{animation:none}}.theme-overlay .theme-autoupdate .dashicons-update.spin{margin-left:3px}.button.updated-message:before,.installed p:before,.updated-message p:before{color:#68de7c;content:"\f147"}.update-message.notice-error p:before{color:#d63638;content:"\f534"}.import-php .updating-message:before,.wrap .notice p:before{margin-left:6px}.import-php .updating-message:before{vertical-align:bottom}#update-nag,.update-nag{display:inline-block;line-height:1.4;padding:11px 15px;font-size:14px;margin:25px 2px 0 20px}ul#dismissed-updates{display:none}#dismissed-updates li>p{margin-top:0}#dismiss,#undismiss{margin-right:.5em}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}.update-php .spinner{float:none;margin:-4px 0}h2.wp-current-version{margin-bottom:.3em}p.update-last-checked{margin-top:0}p.auto-update-status{margin-top:2em;line-height:1.8}#ajax-loading,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading{visibility:hidden}#ajax-response.alignleft{margin-right:2em}.button.installed:before,.button.installing:before,.button.updated-message:before,.button.updating-message:before{margin:3px -2px 0 5px}.button-primary.updating-message:before{color:#fff}.button-primary.updated-message:before{color:#9ec2e6}.button.updated-message{transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media aural{.button.installed:before,.button.installing:before,.update-message p:before,.wrap .notice p:before{speak:never}}#adminmenu a,#catlist a,#taglist a{text-decoration:none}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-right:0}#screen-meta-links{float:left;margin:0 0 0 20px}#screen-meta{display:none;margin:0 0 -1px 20px;position:relative;background-color:#fff;border:1px solid #c3c4c7;border-top:none;box-shadow:0 0 0 transparent}#contextual-help-link-wrap,#screen-options-link-wrap{float:right;margin:0 6px 0 0}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links .show-settings{border:1px solid #c3c4c7;border-top:none;height:auto;margin-bottom:0;padding:3px 16px 3px 6px;background:#fff;border-radius:0 0 4px 4px;color:#646970;line-height:1.7;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear}#screen-meta-links .show-settings:active,#screen-meta-links .show-settings:focus,#screen-meta-links .show-settings:hover{color:#2c3338}#screen-meta-links .show-settings:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}#screen-meta-links .show-settings:active{transform:none}#screen-meta-links .show-settings:after{left:0;content:"\f140";font:normal 20px/1 dashicons;speak:never;display:inline-block;padding:0 0 0 5px;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none}#screen-meta-links .screen-meta-active:after{content:"\f142"}.toggle-arrow{background-repeat:no-repeat;background-position:top right;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom right}#contextual-help-wrap h5,#screen-options-wrap h5,#screen-options-wrap legend{margin:0;padding:8px 0;font-size:13px;font-weight:600}.metabox-prefs label{display:inline-block;padding-left:15px;line-height:2.35}#number-of-columns{display:inline-block;vertical-align:middle;line-height:30px}.metabox-prefs input[type=checkbox]{margin-top:0;margin-left:6px}.metabox-prefs label input,.metabox-prefs label input[type=checkbox]{margin:-4px 0 0 5px}.metabox-prefs .columns-prefs label input{margin:-1px 0 0 2px}.metabox-prefs label a{display:none}.metabox-prefs .screen-options input,.metabox-prefs .screen-options label{margin-top:0;margin-bottom:0;vertical-align:middle}.metabox-prefs .screen-options .screen-per-page{margin-left:15px;padding-left:0}.metabox-prefs .screen-options label{line-height:2.2;padding-left:0}.screen-options+.screen-options{margin-top:10px}.metabox-prefs .submit{margin-top:1em;padding:0}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;right:150px;left:170px;border:1px solid #c3c4c7;border-top:none;border-bottom:none;background:#f0f6fc}#contextual-help-wrap.no-sidebar #contextual-help-back{left:0;border-left-width:0;border-bottom-left-radius:2px}.contextual-help-tabs{float:right;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 2px 0 0;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 12px 5px 5px;line-height:1.4;text-decoration:none;border:1px solid transparent;border-left:none;border-right:none}.contextual-help-tabs a:hover{color:#2c3338}.contextual-help-tabs .active{padding:0;margin:0 0 0 -1px;border-right:2px solid #72aee6;background:#f0f6fc;box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#c3c4c7;color:#2c3338}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 0 12px 22px;line-height:1.6}.help-tab-content.active{display:block}.help-tab-content ul li{list-style-type:disc;margin-right:18px}.contextual-help-sidebar{width:150px;float:left;padding:0 12px 0 8px;overflow:auto}html.wp-toolbar{padding-top:32px;box-sizing:border-box;-ms-overflow-style:scrollbar}.widefat td,.widefat th{color:#50575e}.widefat tfoot td,.widefat th,.widefat thead td{font-weight:400}.widefat tfoot tr td,.widefat tfoot tr th,.widefat thead tr td,.widefat thead tr th{color:#2c3338}.widefat td p{margin:2px 0 .8em}.widefat ol,.widefat p,.widefat ul{color:#2c3338}.widefat .column-comment p{margin:.6em 0}.widefat .column-comment ul{list-style:initial;margin-right:2em}.postbox-container{float:right}.postbox-container .meta-box-sortables{box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .meta-box-sortables{min-height:1px;position:relative}#post-body-content{width:100%;min-width:463px;float:right}#post-body.columns-2 #postbox-container-1{float:left;margin-left:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{outline:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.js .postbox .hndle.is-non-sortable,.js .widget .widget-top.is-non-sortable{cursor:auto}.hndle a{font-size:12px;font-weight:400}.postbox-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c3c4c7}.postbox-header .hndle{flex-grow:1;display:flex;justify-content:space-between;align-items:center}.postbox-header .handle-actions{flex-shrink:0}.postbox .handle-order-higher,.postbox .handle-order-lower,.postbox .handlediv{width:36px;height:36px;margin:0;padding:0;border:0;background:0 0;cursor:pointer}.postbox .handle-order-higher,.postbox .handle-order-lower{color:#787c82;width:1.62rem}.edit-post-meta-boxes-area .postbox .handle-order-higher,.edit-post-meta-boxes-area .postbox .handle-order-lower{width:44px;height:44px;color:#1d2327}.postbox .handle-order-higher[aria-disabled=true],.postbox .handle-order-lower[aria-disabled=true]{cursor:default;color:#a7aaad}.sortable-placeholder{border:1px dashed #c3c4c7;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox.closed{border-bottom:0}.postbox .hndle,.stuffbox .hndle{-webkit-user-select:none;user-select:none}.postbox .inside{padding:0 12px 12px;line-height:1.4;font-size:13px}.stuffbox .inside{padding:0;line-height:1.4;font-size:13px;margin-top:0}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{box-shadow:none}.temp-border{border:1px dotted #c3c4c7}.columns-prefs label{padding:0 0 0 10px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#comment-status-display,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.plugins .name{font-weight:600}#wpfooter{position:absolute;bottom:0;right:0;left:0;padding:10px 20px;color:#50575e}#wpfooter p{font-size:13px;margin:0;line-height:1.55}#footer-thankyou{font-style:italic}.nav-tab{float:right;border:1px solid #c3c4c7;border-bottom:none;margin-right:.5em;padding:5px 10px;font-size:14px;line-height:1.71428571;font-weight:600;background:#dcdcde;color:#50575e;text-decoration:none;white-space:nowrap}.nav-tab-small .nav-tab,h3 .nav-tab{padding:5px 14px;font-size:12px;line-height:1.33}.nav-tab:focus,.nav-tab:hover{background-color:#fff;color:#3c434a}.nav-tab-active,.nav-tab:focus:active{box-shadow:none}.nav-tab-active{margin-bottom:-1px;color:#3c434a}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{border-bottom:1px solid #f0f0f1;background:#f0f0f1;color:#000}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper{border-bottom:1px solid #c3c4c7;margin:0;padding-top:9px;padding-bottom:0;line-height:inherit}.nav-tab-wrapper:not(.wp-clearfix):after{content:"";display:table;clear:both}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;display:inline-block;visibility:hidden;float:left;vertical-align:middle;opacity:.7;width:20px;height:20px;margin:4px 10px 0}.loading-content .spinner,.spinner.is-active{visibility:visible}#template>div{margin-left:16em}#template .notice{margin-top:1em;margin-left:3%}#template .notice p{width:auto}#template .submit .spinner{float:none}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2.hndle,.metabox-holder h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.nav-menus-php .metabox-holder h3{padding:10px 14px 11px 10px;line-height:1.5}#templateside ul li a{text-decoration:none}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:right}.attention,.error-message{color:#d63638;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}.media-icon{width:62px;text-align:center}.media-icon img{border:1px solid #dcdcde;border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px;display:block}.importers{font-size:16px;width:auto}.importers td{padding-left:14px;line-height:1.4}.importers .import-system{max-width:250px}.importers td.desc{max-width:500px}.importer-action,.importer-desc,.importer-title{display:block}.importer-title{color:#000;font-size:14px;font-weight:400;margin-bottom:.2em}.importer-action{line-height:1.55;color:#50575e;margin-bottom:1em}#post-body #post-body-content #namediv h2,#post-body #post-body-content #namediv h3{margin-top:0}.edit-comment-author{color:#1d2327;border-bottom:1px solid #f0f0f1}#namediv h2 label,#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px;white-space:nowrap}#namediv input{width:100%}#namediv p{margin:10px 0}.zerosize{height:0;width:0;margin:0;border:0;padding:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:.15}.checkbox{border:none;margin:0;padding:0}fieldset{border:0;padding:0;margin:0}.post-categories{display:inline;margin:0;padding:0}.post-categories li{display:inline}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) repeat-x bottom right}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) repeat-x top right;height:17px;float:right}.star-rating{white-space:nowrap}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;transition:color .1s ease-in;text-align:center;color:#dba617}.star-rating .star-full:before{content:"\f155"}.star-rating .star-half:before{content:"\f459"}.rtl .star-rating .star-half{transform:rotateY(-180deg)}.star-rating .star-empty:before{content:"\f154"}div.action-links{font-weight:400;margin:6px 0 0}#plugin-information{background:#fff;position:fixed;top:0;left:0;bottom:0;right:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;-webkit-overflow-scrolling:touch;height:100%}#plugin-information-title{padding:0 26px;background:#f6f7f7;font-size:22px;font-weight:600;line-height:2.4;position:relative;height:56px}#plugin-information-title.with-banner{margin-left:0;height:250px;background-size:cover}#plugin-information-title h2{font-size:1em;font-weight:600;padding:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner h2{position:relative;font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:1.68;box-sizing:border-box;max-width:100%;padding:0 15px;margin-top:174px;color:#fff;background:rgba(29,35,39,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 0 30px rgba(255,255,255,.1);border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{position:absolute;display:block;top:0;right:0;height:250px;width:100%;background:0 0;box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;left:0;right:0;min-height:36px;font-size:0;z-index:1;border-bottom:1px solid #dcdcde;background:#f6f7f7}#plugin-information-tabs a{position:relative;display:inline-block;padding:9px 10px;margin:0;height:18px;line-height:1.3;font-size:14px;text-decoration:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px -1px;background:#fff;border:1px solid #dcdcde;border-bottom-color:#fff;padding-top:8px;color:#2c3338}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;left:0;right:0;min-height:100%;min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;left:250px;bottom:0;right:0;margin-top:10px;margin-left:250px;padding:10px 26px 99999px;margin-bottom:-99932px}#section-holder .notice{margin:5px 0 15px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{float:left;position:relative;top:0;left:0;padding:16px 16px 99999px;margin-bottom:-99932px;width:217px;border-right:1px solid #dcdcde;background:#f6f7f7;color:#646970}#plugin-information .fyi strong{color:#3c434a}#plugin-information .fyi h3{font-weight:600;text-transform:uppercase;font-size:12px;color:#646970;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-left:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .fyi-description{margin-top:0}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:right;margin-left:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#dcdcde;float:right}#plugin-information .counter-bar{height:17px;background-color:#f0c33c;float:right}#plugin-information .counter-count{margin-right:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-left:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li{display:inline-block;margin-left:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-left:4px}#plugin-information-footer{padding:13px 16px;position:absolute;left:0;bottom:0;right:0;height:40px;border-top:1px solid #dcdcde;background:#f6f7f7}#plugin-information .section{direction:ltr}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #c3c4c7}#plugin-information blockquote{border-right:2px solid #dcdcde;color:#646970;font-style:italic;margin:1em 0;padding:0 1em 0 0}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #dcdcde}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}.update-php .button.button-primary{margin-left:1em}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:2;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #dcdcde;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}#TB_window.plugin-details-modal{background:#fff}#TB_window.plugin-details-modal.thickbox-loading:before{content:"";display:block;width:20px;height:20px;position:absolute;right:50%;top:50%;z-index:-1;margin:-10px -10px 0 0;background:#fff url(../images/spinner.gif) no-repeat center;background-size:20px 20px;transform:translateZ(0)}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#TB_window.plugin-details-modal.thickbox-loading:before{background-image:url(../images/spinner-2x.gif)}}.plugin-details-modal #TB_title{float:right;height:1px}.plugin-details-modal #TB_ajaxWindowTitle{display:none}.plugin-details-modal #TB_closeWindowButton{right:auto;left:-30px;color:#f0f0f1}.plugin-details-modal #TB_closeWindowButton:focus,.plugin-details-modal #TB_closeWindowButton:hover{color:#135e96;outline:0;box-shadow:none}.plugin-details-modal .tb-close-icon{display:none}.plugin-details-modal #TB_closeWindowButton:after{content:"\f335";font:normal 32px/29px dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width:830px){.plugin-details-modal #TB_closeWindowButton{left:0;top:-30px}}img{border:none}.bulk-action-notice .toggle-indicator::before,.meta-box-sortables .postbox .order-higher-indicator::before,.meta-box-sortables .postbox .order-lower-indicator::before,.meta-box-sortables .postbox .toggle-indicator::before,.privacy-text-box .toggle-indicator::before,.sidebar-name .toggle-indicator::before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none}.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before,.js .widgets-holder-wrap.closed .toggle-indicator::before,.meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before,.privacy-text-box.closed .toggle-indicator::before{content:"\f140"}.postbox .handle-order-higher .order-higher-indicator::before{content:"\f343";color:inherit}.postbox .handle-order-lower .order-lower-indicator::before{content:"\f347";color:inherit}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{position:relative;top:.11rem;width:20px;height:20px}.postbox .handlediv .toggle-indicator::before{width:20px;border-radius:50%}.postbox .handlediv .toggle-indicator::before{position:relative;top:.05rem;text-indent:-1px}.rtl .postbox .handlediv .toggle-indicator::before{text-indent:1px}.bulk-action-notice .toggle-indicator::before{line-height:16px;vertical-align:top;color:#787c82}.postbox .handle-order-higher:focus,.postbox .handle-order-lower:focus,.postbox .handlediv:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:1px solid transparent}.postbox .handle-order-higher:focus .order-higher-indicator::before,.postbox .handle-order-lower:focus .order-lower-indicator::before,.postbox .handlediv:focus .toggle-indicator::before{box-shadow:none;outline:1px solid transparent}#photo-add-url-div input[type=text]{width:300px}.alignleft h2{margin:0}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;background:#f6f7f7;-o-tab-size:4;tab-size:4}#template .CodeMirror,#template textarea{width:100%;min-height:60vh;height:calc(100vh - 295px);border:1px solid #dcdcde;box-sizing:border-box}#templateside>h2{padding-top:6px;padding-bottom:7px;margin:0}#templateside ol,#templateside ul{margin:0;padding:0}#templateside>ul{box-sizing:border-box;margin-top:0;overflow:auto;padding:0;min-height:60vh;height:calc(100vh - 295px);background-color:#f6f7f7;border:1px solid #dcdcde;border-right:none}#templateside ul ul{padding-right:12px}#templateside>ul>li>ul[role=group]{padding-right:0}[role=treeitem][aria-expanded=false]>ul{display:none}[role=treeitem] span[aria-hidden]{display:inline;font-family:dashicons;font-size:20px;position:absolute;pointer-events:none}[role=treeitem][aria-expanded=false]>.folder-label .icon:after{content:"\f141"}[role=treeitem][aria-expanded=true]>.folder-label .icon:after{content:"\f140"}[role=treeitem] .folder-label{display:block;padding:3px 12px 3px 3px;cursor:pointer}[role=treeitem]{outline:0}[role=treeitem] .folder-label.focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}[role=treeitem] .folder-label.hover,[role=treeitem].hover{background-color:#f0f0f1}.tree-folder{margin:0;position:relative}[role=treeitem] li{position:relative}.tree-folder .tree-folder::after{content:"";display:block;position:absolute;right:2px;border-right:1px solid #c3c4c7;top:-13px;bottom:10px}.tree-folder>li::before{content:"";position:absolute;display:block;border-right:1px solid #c3c4c7;right:2px;top:-5px;height:18px;width:7px;border-bottom:1px solid #c3c4c7}.tree-folder>li::after{content:"";position:absolute;display:block;border-right:1px solid #c3c4c7;right:2px;bottom:-7px;top:0}#templateside .current-file{margin:-4px 0 -2px}.tree-folder>.current-file::before{right:4px;height:15px;width:0;border-right:none;top:3px}.tree-folder>.current-file::after{bottom:-4px;height:7px;right:2px;top:auto}.tree-folder li:last-child>.tree-folder::after,.tree-folder>li:last-child::after{display:none}#documentation label,#theme-plugin-editor-label,#theme-plugin-editor-selector{font-weight:600}#theme-plugin-editor-label{display:inline-block;margin-bottom:1em}#docs-list,#template textarea{direction:ltr}.fileedit-sub #plugin,.fileedit-sub #theme{max-width:40%}.fileedit-sub .alignright{text-align:left}#template p{width:97%}#file-editor-linting-error{margin-top:1em;margin-bottom:1em}#file-editor-linting-error>.notice{margin:0;display:inline-block}#file-editor-linting-error>.notice>p{width:auto}#template .submit{margin-top:1em;padding:0}#template .submit input[type=submit][disabled]{cursor:not-allowed}#templateside{float:left;width:16em;word-wrap:break-word}#postcustomstuff p.submit{margin:0}#templateside h4{margin:1em 0 0}#templateside li{margin:4px 0}#templateside li:not(.howto) a,.theme-editor-php .highlight{display:block;padding:3px 12px 3px 0;text-decoration:none}#templateside li:not(.howto)>a:first-of-type{padding-top:0}#templateside li.howto{padding:6px 12px 12px}.theme-editor-php .highlight{margin:-3px -12px -3px 3px}#templateside .highlight{border:none;font-weight:600}.nonessential{color:#646970;font-size:11px;font-style:italic;padding-right:12px}#documentation{margin-top:10px}#documentation label{line-height:1.8;vertical-align:baseline}.fileedit-sub{padding:10px 0 8px;line-height:180%}#file-editor-warning .file-editor-warning-content{margin:25px}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top .widget-action .toggle-indicator:before{content:"\f140";font:normal 20px/1 dashicons;speak:never;display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none}.widget-top .widget-action .toggle-indicator:before{padding:1px 0 1px 2px;border-radius:50%}.accordion-section-title:after,.handlediv,.item-edit,.postbox .handlediv.button-link,.toggle-indicator{color:#787c82}.widget-action{color:#50575e}.accordion-section-title:hover:after,.handlediv:focus,.handlediv:hover,.item-edit:focus,.item-edit:hover,.postbox .handlediv.button-link:focus,.postbox .handlediv.button-link:hover,.sidebar-name:hover .toggle-indicator,.widget-action:focus,.widget-top:hover .widget-action{color:#1d2327;outline:1px solid transparent}.widget-top .widget-action:focus .toggle-indicator:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.accordion-section-title:after,.control-section .accordion-section-title:after{float:left;left:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top .widget-action .toggle-indicator:before,.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before{content:"\f142"}/*! - * jQuery UI Draggable/Sortable 1.11.4 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */.ui-draggable-handle,.ui-sortable-handle{touch-action:none}.accordion-section{border-bottom:1px solid #dcdcde;margin:0}.accordion-section.open .accordion-section-content,.no-js .accordion-section .accordion-section-content{display:block}.accordion-section.open:hover{border-bottom-color:#dcdcde}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-right:1px solid #dcdcde;border-left:1px solid #dcdcde;-webkit-user-select:none;user-select:none}.js .accordion-section-title{cursor:pointer}.js .accordion-section-title:after{position:absolute;top:12px;left:10px;z-index:1}.accordion-section-title:focus{outline:1px solid transparent}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#a7aaad transparent;outline:1px solid transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title,.customize-pane-child .accordion-section-title{border-right:none;border-left:none;padding:10px 14px 11px 10px;line-height:1.55;background:#fff}.control-section .accordion-section-title:after,.customize-pane-child .accordion-section-title:after{top:calc(50% - 10px)}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#1d2327;background:#f6f7f7}.control-section.open .accordion-section-title{border-bottom:1px solid #dcdcde}.network-admin .edit-site-actions{margin-top:0}.my-sites{display:block;overflow:auto;zoom:1}.my-sites li{display:block;padding:8px 3%;min-height:130px;margin:0}@media only screen and (max-width:599px){.my-sites li{min-height:0}}@media only screen and (min-width:600px){.my-sites.striped li{background-color:#fff;position:relative}.my-sites.striped li:after{content:"";width:1px;height:100%;position:absolute;top:0;left:0;background:#c3c4c7}}@media only screen and (min-width:600px) and (max-width:699px){.my-sites li{float:right;width:44%}.my-sites.striped li{background-color:#fff}.my-sites.striped li:nth-of-type(2n+1){clear:right}.my-sites.striped li:nth-of-type(2n+2):after{content:none}.my-sites li:nth-of-type(4n+1),.my-sites li:nth-of-type(4n+2){background-color:#f6f7f7}}@media only screen and (min-width:700px) and (max-width:1199px){.my-sites li{float:right;width:27.333333%;background-color:#fff}.my-sites.striped li:nth-of-type(3n+3):after{content:none}.my-sites li:nth-of-type(6n+1),.my-sites li:nth-of-type(6n+2),.my-sites li:nth-of-type(6n+3){background-color:#f6f7f7}}@media only screen and (min-width:1200px) and (max-width:1399px){.my-sites li{float:right;width:21%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(4n+1){clear:right}.my-sites.striped li:nth-of-type(4n+4):after{content:none}.my-sites li:nth-of-type(8n+1),.my-sites li:nth-of-type(8n+2),.my-sites li:nth-of-type(8n+3),.my-sites li:nth-of-type(8n+4){background-color:#f6f7f7}}@media only screen and (min-width:1400px) and (max-width:1599px){.my-sites li{float:right;width:16%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(5n+1){clear:right}.my-sites.striped li:nth-of-type(5n+5):after{content:none}.my-sites li:nth-of-type(10n+1),.my-sites li:nth-of-type(10n+2),.my-sites li:nth-of-type(10n+3),.my-sites li:nth-of-type(10n+4),.my-sites li:nth-of-type(10n+5){background-color:#f6f7f7}}@media only screen and (min-width:1600px){.my-sites li{float:right;width:12.666666%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(6n+1){clear:right}.my-sites.striped li:nth-of-type(6n+6):after{content:none}.my-sites li:nth-of-type(12n+1),.my-sites li:nth-of-type(12n+2),.my-sites li:nth-of-type(12n+3),.my-sites li:nth-of-type(12n+4),.my-sites li:nth-of-type(12n+5),.my-sites li:nth-of-type(12n+6){background-color:#f6f7f7}}.my-sites li a{text-decoration:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) repeat-x bottom right;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){html.wp-toolbar{padding-top:46px}.screen-reader-shortcut:focus{top:-39px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:transparent!important}#wpcontent{position:relative;margin-right:0;padding-right:10px}#wpbody-content{padding-bottom:100px}.wrap{clear:both;margin-left:12px;margin-right:0}#col-left,#col-right{float:none;width:auto}#col-left .col-wrap,#col-right .col-wrap{padding:0}#collapse-menu,.post-format-select{display:none!important}.wrap h1.wp-heading-inline{margin-bottom:.5em}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{padding:10px 15px;font-size:14px;white-space:nowrap}.media-upload-form div.error,.notice,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wp-core-ui .notice.is-dismissible{padding-left:46px}.notice-dismiss{padding:13px}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{left:-16em}code{word-wrap:break-word;word-wrap:anywhere;word-break:break-word}.postbox{font-size:14px}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2,.metabox-holder h3.hndle{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#template .CodeMirror,#template textarea{box-sizing:border-box}#templateside{float:none;width:auto}#templateside>ul{border-right:1px solid #dcdcde}#templateside li{margin:0}#templateside li:not(.howto) a{display:block;padding:5px}#templateside li.howto{padding:12px}#templateside .highlight{padding:5px;margin-right:-5px;margin-top:-5px}#template .notice,#template>div{float:none;margin:1em 0;width:auto}#template .CodeMirror,#template textarea{width:100%}#templateside ul ul{padding-right:1.5em}[role=treeitem] .folder-label{display:block;padding:5px}.tree-folder .tree-folder::after,.tree-folder>li::after,.tree-folder>li::before{right:-8px}.tree-folder>li::before{top:0;height:13px}.tree-folder>.current-file::before{right:-5px;top:7px;width:4px}.tree-folder>.current-file::after{height:9px;right:-8px}.wrap #templateside span.notice{margin-right:-5px;width:100%}.fileedit-sub .alignright{float:right;margin-top:15px;width:100%;text-align:right}.fileedit-sub .alignright label{display:block}.fileedit-sub #plugin,.fileedit-sub #theme{margin-right:0;max-width:70%}.fileedit-sub input[type=submit]{margin-bottom:0}#documentation label[for=docs-list]{display:block}#documentation select[name=docs-list]{margin-right:0;max-width:60%}#documentation input[type=button]{margin-bottom:0}#wpfooter{display:none}#comments-form .checkforspam{display:none}.edit-comment-author{margin:2px 0 0}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{line-height:2.1}.filter-drawer .filter-group-feature label{margin-right:32px}.wp-filter .button.drawer-toggle{font-size:13px;line-height:2;height:28px}#screen-meta #contextual-help-wrap{overflow:visible}#screen-meta #contextual-help-back,#screen-meta .contextual-help-sidebar{display:none}#screen-meta .contextual-help-tabs{clear:both;width:100%;float:none}#screen-meta .contextual-help-tabs ul{margin:0 0 1em;padding:1em 0 0}#screen-meta .contextual-help-tabs .active{margin:0}#screen-meta .contextual-help-tabs-wrap{clear:both;max-width:100%;float:none}#screen-meta,#screen-meta-links{margin-left:10px}#screen-meta-links{margin-bottom:20px}.wp-filter .search-form input[type=search]{font-size:1rem}.wp-filter .search-form.search-plugins{min-width:100%}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open{overflow-x:hidden}html.wp-toolbar{padding-top:0}.screen-reader-shortcut:focus{top:7px}#wpbody{padding-top:46px}div#post-body.metabox-holder.columns-1{overflow-x:hidden}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper{border-bottom:0}h1 .nav-tab,h2 .nav-tab,h3 .nav-tab,nav .nav-tab{margin:10px 0 0 10px;border-bottom:1px solid #c3c4c7}.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{border-bottom:1px solid #c3c4c7}.wp-filter .search-form input[type=search]{width:100%}}@media screen and (max-width:320px){#network_dashboard_right_now .subsubsub{font-size:14px;text-align:right}} \ No newline at end of file diff --git a/build/wp-admin/css/common.css b/build/wp-admin/css/common.css deleted file mode 100644 index 5f9022ebf5..0000000000 --- a/build/wp-admin/css/common.css +++ /dev/null @@ -1,4126 +0,0 @@ -/* 2 column liquid layout */ -#wpwrap { - height: auto; - min-height: 100%; - width: 100%; - position: relative; - -webkit-font-smoothing: subpixel-antialiased; -} - -#wpcontent { - height: 100%; - padding-left: 20px; -} - -#wpcontent, -#wpfooter { - margin-left: 160px; -} - -.folded #wpcontent, -.folded #wpfooter { - margin-left: 36px; -} - -#wpbody-content { - padding-bottom: 65px; - float: left; - width: 100%; - overflow: visible; -} - -/* inner 2 column liquid layout */ - -.inner-sidebar { - float: right; - clear: right; - display: none; - width: 281px; - position: relative; -} - -.columns-2 .inner-sidebar { - margin-right: auto; - width: 286px; - display: block; -} - -.inner-sidebar #side-sortables, -.columns-2 .inner-sidebar #side-sortables { - min-height: 300px; - width: 280px; - padding: 0; -} - -.has-right-sidebar .inner-sidebar { - display: block; -} - -.has-right-sidebar #post-body { - float: left; - clear: left; - width: 100%; - margin-right: -2000px; -} - -.has-right-sidebar #post-body-content { - margin-right: 300px; - float: none; - width: auto; -} - -/* 2 columns main area */ - -#col-left { - float: left; - width: 35%; -} - -#col-right { - float: right; - width: 65%; -} - -#col-left .col-wrap { - padding: 0 6px 0 0; -} - -#col-right .col-wrap { - padding: 0 0 0 6px; -} - -/* utility classes */ -.alignleft { - float: left; -} - -.alignright { - float: right; -} - -.textleft { - text-align: left; -} - -.textright { - text-align: right; -} - -.clear { - clear: both; -} - -/* modern clearfix */ -.wp-clearfix:after { - content: ""; - display: table; - clear: both; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span, -.ui-helper-hidden-accessible { - border: 0; - clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ -} - -.button .screen-reader-text { - height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */ -} - -.screen-reader-shortcut { - position: absolute; - top: -1000em; -} - -.screen-reader-shortcut:focus { - left: 6px; - top: -25px; - height: auto; - width: auto; - display: block; - font-size: 14px; - font-weight: 600; - padding: 15px 23px 14px; - background: #f0f0f1; - color: #2271b1; - z-index: 100000; - line-height: normal; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - text-decoration: none; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.hidden, -.js .closed .inside, -.js .hide-if-js, -.no-js .hide-if-no-js, -.js.wp-core-ui .hide-if-js, -.js .wp-core-ui .hide-if-js, -.no-js.wp-core-ui .hide-if-no-js, -.no-js .wp-core-ui .hide-if-no-js { - display: none; -} - -/* @todo: Take a second look. Large chunks of shared color, from the colors.css merge */ -.widget-top, -.menu-item-handle, -.widget-inside, -#menu-settings-column .accordion-container, -#menu-management .menu-edit, -.manage-menus, -table.widefat, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.wp-editor-container, -.popular-tags, -.feature-filter, -.imgedit-group, -.comment-ays { - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -table.widefat, -.wp-editor-container, -.stuffbox, -p.popular-tags, -.widgets-holder-wrap, -.popular-tags, -.feature-filter, -.imgedit-group, -.comment-ays { - background: #fff; -} - -/* general */ -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -body { - background: #f0f0f1; - color: #3c434a; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - line-height: 1.4em; - min-width: 600px; -} - -body.iframe { - min-width: 0; - padding-top: 1px; -} - -body.modal-open { - overflow: hidden; -} - -body.mobile.modal-open #wpwrap { - overflow: hidden; - position: fixed; - height: 100%; -} - -iframe, -img { - border: 0; -} - -td { - font-family: inherit; - font-size: inherit; - font-weight: inherit; - line-height: inherit; -} - -/* Any change to the default link style must be applied to button-link too. */ -a { - color: #2271b1; - transition-property: border, background, color; - transition-duration: .05s; - transition-timing-function: ease-in-out; -} - -a, -div { - outline: 0; -} - -a:hover, -a:active { - color: #135e96; -} - -a:focus, -a:focus .media-icon img, -a:focus .plugin-icon, -.wp-person a:focus .gravatar { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -#adminmenu a:focus { - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; - outline-offset: -1px; -} - -.screen-reader-text:focus { - box-shadow: none; - outline: none; -} - -blockquote, -q { - quotes: none; -} - -blockquote:before, -blockquote:after, -q:before, -q:after { - content: ""; - content: none; -} - -p, -.wp-die-message { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -blockquote { - margin: 1em; -} - -li, -dd { - margin-bottom: 6px; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - display: block; - font-weight: 600; -} - -h1 { - color: #1d2327; - font-size: 2em; - margin: .67em 0; -} - -h2, -h3 { - color: #1d2327; - font-size: 1.3em; - margin: 1em 0; -} - -.update-core-php h2 { - margin-top: 4em; -} - -.update-php h2, -.update-messages h2, -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -ul, -ol { - padding: 0; -} - -ul { - list-style: none; -} - -ol { - list-style-type: decimal; - margin-left: 2em; -} - -ul.ul-disc { - list-style: disc outside; -} - -ul.ul-square { - list-style: square outside; -} - -ol.ol-decimal { - list-style: decimal outside; -} - -ul.ul-disc, -ul.ul-square, -ol.ol-decimal { - margin-left: 1.8em; -} - -ul.ul-disc > li, -ul.ul-square > li, -ol.ol-decimal > li { - margin: 0 0 0.5em; -} - -/* rtl:ignore */ -.ltr { - direction: ltr; -} - -/* rtl:ignore */ -.code, -code { - font-family: Consolas, Monaco, monospace; - direction: ltr; - unicode-bidi: embed; -} - -kbd, -code { - padding: 3px 5px 2px; - margin: 0 1px; - background: #f0f0f1; - background: rgba(0, 0, 0, 0.07); - font-size: 13px; -} - -.subsubsub { - list-style: none; - margin: 8px 0 0; - padding: 0; - font-size: 13px; - float: left; - color: #646970; -} - -.subsubsub a { - line-height: 2; - padding: .2em; - text-decoration: none; -} - -.subsubsub a .count, -.subsubsub a.current .count { - color: #50575e; /* #f1f1f1 background */ - font-weight: 400; -} - -.subsubsub a.current { - font-weight: 600; - border: none; -} - -.subsubsub li { - display: inline-block; - margin: 0; - padding: 0; - white-space: nowrap; -} - -/* .widefat - main style for tables */ -.widefat { - border-spacing: 0; - width: 100%; - clear: both; - margin: 0; -} - -.widefat * { - word-wrap: break-word; -} - -.widefat a, -.widefat button.button-link { - text-decoration: none; -} - -.widefat td, -.widefat th { - padding: 8px 10px; -} - -.widefat thead th, -.widefat thead td { - border-bottom: 1px solid #c3c4c7; -} - -.widefat tfoot th, -.widefat tfoot td { - border-top: 1px solid #c3c4c7; - border-bottom: none; -} - -.widefat .no-items td { - border-bottom-width: 0; -} - -.widefat td { - vertical-align: top; -} - -.widefat td, -.widefat td p, -.widefat td ol, -.widefat td ul { - font-size: 13px; - line-height: 1.5em; -} - -.widefat th, -.widefat thead td, -.widefat tfoot td { - text-align: left; - line-height: 1.3em; - font-size: 14px; -} - -.widefat th input, -.updates-table td input, -.widefat thead td input, -.widefat tfoot td input { - margin: 0 0 0 8px; - padding: 0; - vertical-align: text-top; -} - -.widefat .check-column { - width: 2.2em; - padding: 6px 0 25px; - vertical-align: top; -} - -.widefat tbody th.check-column { - padding: 9px 0 22px; -} - -.widefat thead td.check-column, -.widefat tbody th.check-column, -.updates-table tbody td.check-column, -.widefat tfoot td.check-column { - padding: 11px 0 0 3px; -} - -.widefat thead td.check-column, -.widefat tfoot td.check-column { - padding-top: 4px; - vertical-align: middle; -} - -.update-php div.updated, -.update-php div.error { - margin-left: 0; -} - -.no-js .widefat thead .check-column input, -.no-js .widefat tfoot .check-column input { - display: none; -} - -.widefat .num, -.column-comments, -.column-links, -.column-posts { - text-align: center; -} - -.widefat th#comments { - vertical-align: middle; -} - -.wrap { - margin: 10px 20px 0 2px; -} - -.wrap.block-editor-no-js { - padding-left: 20px; -} - -.wrap > h2:first-child, /* Back-compat for pre-4.4 */ -.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ -.postbox .inside h2, /* Back-compat for pre-4.4 */ -.wrap h1 { - font-size: 23px; - font-weight: 400; - margin: 0; - padding: 9px 0 4px; - line-height: 1.3; -} - -.wrap h1.wp-heading-inline { - display: inline-block; - margin-right: 5px; -} - -.wp-header-end { - visibility: hidden; - margin: -2px 0 0; -} - -.subtitle { - margin: 0; - padding-left: 25px; - color: #50575e; - font-size: 14px; - font-weight: 400; - line-height: 1; -} - -.subtitle strong { - word-break: break-all; -} - -.wrap .add-new-h2, /* deprecated */ -.wrap .add-new-h2:active, /* deprecated */ -.wrap .page-title-action, -.wrap .page-title-action:active { - margin-left: 4px; - padding: 4px 8px; - position: relative; - top: -3px; - text-decoration: none; - border: 1px solid #2271b1; - border-radius: 2px; - text-shadow: none; - font-weight: 600; - font-size: 13px; - line-height: normal; /* IE8-IE11 need this for buttons */ - color: #2271b1; /* use the standard color used for buttons */ - background: #f6f7f7; - cursor: pointer; -} - -.wrap .wp-heading-inline + .page-title-action { - margin-left: 0; -} - -.wrap .add-new-h2:hover, /* deprecated */ -.wrap .page-title-action:hover { - background: #f0f0f1; - border-color: #0a4b78; - color: #0a4b78; -} - -/* lower specificity: color needs to be overridden by :hover and :active */ -.page-title-action:focus { - color: #0a4b78; -} - -/* Dashicon for language options on General Settings and Profile screens */ -.form-table th label[for="locale"] .dashicons, -.form-table th label[for="WPLANG"] .dashicons { - margin-left: 5px; -} - -.wrap .page-title-action:focus { - border-color: #3582c4; - box-shadow: 0 0 0 1px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.wrap h1.long-header { - padding-right: 0; -} - -.wp-dialog { - background-color: #fff; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #8c8f94; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.sorthelper { - background-color: #c5d9ed; -} - -.ac_match, -.subsubsub a.current { - color: #000; -} - -.striped > tbody > :nth-child(odd), -ul.striped > :nth-child(odd), -.alternate { - background-color: #f6f7f7; -} - -.bar { - background-color: #f0f0f1; - border-right-color: #4f94d4; -} - -/* Helper classes for plugins to leverage the active WordPress color scheme */ - -.highlight { - background-color: #f0f6fc; - color: #3c434a; -} - -.wp-ui-primary { - color: #fff; - background-color: #2c3338; -} -.wp-ui-text-primary { - color: #2c3338; -} - -.wp-ui-highlight { - color: #fff; - background-color: #2271b1; -} -.wp-ui-text-highlight { - color: #2271b1; -} - -.wp-ui-notification { - color: #fff; - background-color: #d63638; -} -.wp-ui-text-notification { - color: #d63638; -} - -.wp-ui-text-icon { - color: #8c8f94; /* same as new icons */ -} - -/* For emoji replacement images */ -img.emoji { - display: inline !important; - border: none !important; - height: 1em !important; - width: 1em !important; - margin: 0 .07em !important; - vertical-align: -0.1em !important; - background: none !important; - padding: 0 !important; - box-shadow: none !important; -} - -/*------------------------------------------------------------------------------ - 1.0 - Text Styles -------------------------------------------------------------------------------*/ - -.widget .widget-top, -.postbox .hndle, -.stuffbox .hndle, -.control-section .accordion-section-title, -.sidebar-name, -#nav-menu-header, -#nav-menu-footer, -.menu-item-handle, -.checkbox, -.side-info, -#your-profile #rich_editing, -.widefat thead th, -.widefat thead td, -.widefat tfoot th, -.widefat tfoot td { - line-height: 1.4em; -} - -.widget .widget-top, -.menu-item-handle { - background: #f6f7f7; - color: #1d2327; -} - -.stuffbox .hndle { - border-bottom: 1px solid #c3c4c7; -} - -.quicktags { - background-color: #c3c4c7; - color: #000; - font-size: 12px; -} - -.icon32 { - display: none; -} - -/* @todo can we combine these into a class or use an existing dashicon one? */ -.welcome-panel .welcome-panel-close:before, -.tagchecklist .ntdelbutton .remove-tag-icon:before, -#bulk-titles .ntdelbutton:before, -.notice-dismiss:before { - background: none; - color: #787c82; - content: "\f153"; - display: block; - font: normal 16px/20px dashicons; - speak: never; - height: 20px; - text-align: center; - width: 20px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.welcome-panel .welcome-panel-close:before { - margin: 0; -} - -.tagchecklist .ntdelbutton .remove-tag-icon:before { - margin-left: 2px; - border-radius: 50%; - color: #2271b1; - /* vertically center the icon cross browsers */ - line-height: 1.28; -} - -.tagchecklist .ntdelbutton:focus { - outline: 0; -} - -.tagchecklist .ntdelbutton:hover .remove-tag-icon:before, -.tagchecklist .ntdelbutton:focus .remove-tag-icon:before, -#bulk-titles .ntdelbutton:hover:before, -#bulk-titles .ntdelbutton:focus:before { - color: #d63638; -} - -.tagchecklist .ntdelbutton:focus .remove-tag-icon:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.key-labels label { - line-height: 24px; -} - -strong, b { - font-weight: 600; -} - -.pre { - /* https://developer.mozilla.org/en-US/docs/CSS/white-space */ - white-space: pre-wrap; /* css-3 */ - word-wrap: break-word; /* IE 5.5 - 7 */ -} - -.howto { - color: #646970; - display: block; -} - -p.install-help { - margin: 8px 0; - font-style: italic; -} - -.no-break { - white-space: nowrap; -} - -hr { - border: 0; - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #f6f7f7; -} - -.row-actions span.delete a, -.row-actions span.trash a, -.row-actions span.spam a, -.plugins a.delete, -#all-plugins-table .plugins a.delete, -#search-plugins-table .plugins a.delete, -.submitbox .submitdelete, -#media-items a.delete, -#media-items a.delete-permanently, -#nav-menu-footer .menu-delete, -#delete-link a.delete, -a#remove-post-thumbnail, -.privacy_requests .remove-personal-data .remove-personal-data-handle { - color: #b32d2e; -} - -abbr.required, -span.required, -.file-error, -.row-actions .delete a:hover, -.row-actions .trash a:hover, -.row-actions .spam a:hover, -.plugins a.delete:hover, -#all-plugins-table .plugins a.delete:hover, -#search-plugins-table .plugins a.delete:hover, -.submitbox .submitdelete:hover, -#media-items a.delete:hover, -#media-items a.delete-permanently:hover, -#nav-menu-footer .menu-delete:hover, -#delete-link a.delete:hover, -a#remove-post-thumbnail:hover, -.privacy_requests .remove-personal-data .remove-personal-data-handle:hover { - color: #b32d2e; - border: none; -} - -/*------------------------------------------------------------------------------ - 3.0 - Actions -------------------------------------------------------------------------------*/ - -#major-publishing-actions { - padding: 10px; - clear: both; - border-top: 1px solid #dcdcde; - background: #f6f7f7; -} - -#delete-action { - float: left; - line-height: 2.30769231; /* 30px */ -} - -#delete-link { - line-height: 2.30769231; /* 30px */ - vertical-align: middle; - text-align: left; - margin-left: 8px; -} - -#delete-link a { - text-decoration: none; -} - -#publishing-action { - text-align: right; - float: right; - line-height: 1.9; -} - -#publishing-action .spinner { - float: none; - margin-top: 5px; -} - -#misc-publishing-actions { - padding: 6px 0 0; -} - -.misc-pub-section { - padding: 6px 10px 8px; -} - -.word-wrap-break-word, -.misc-pub-filename { - word-wrap: break-word; -} - -#minor-publishing-actions { - padding: 10px 10px 0; - text-align: right; -} - -#save-post { - float: left; -} - -.preview { - float: right; -} - -#sticky-span { - margin-left: 18px; -} - -.approve, -.unapproved .unapprove { - display: none; -} - -.unapproved .approve, -.spam .approve, -.trash .approve { - display: inline; -} - -td.action-links, -th.action-links { - text-align: right; -} - -#misc-publishing-actions .notice { - margin-left: 10px; - margin-right: 10px; -} - -/* Filter bar */ -.wp-filter { - display: inline-block; - position: relative; - box-sizing: border-box; - margin: 12px 0 25px; - padding: 0 10px; - width: 100%; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - border: 1px solid #c3c4c7; - background: #fff; - color: #50575e; - font-size: 13px; -} - -.wp-filter a { - text-decoration: none; -} - -.filter-count { - display: inline-block; - vertical-align: middle; - min-width: 4em; -} - -.title-count, -.filter-count .count { - display: inline-block; - position: relative; - top: -1px; - padding: 4px 10px; - border-radius: 30px; - background: #646970; - color: #fff; - font-size: 14px; - font-weight: 600; -} - -/* not a part of filter bar, but derived from it, so here for now */ -.title-count { - display: inline; - top: -3px; - margin-left: 5px; - margin-right: 20px; -} - -.filter-items { - float: left; -} - -.filter-links { - display: inline-block; - margin: 0; -} - -.filter-links li { - display: inline-block; - margin: 0; -} - -.filter-links li > a { - display: inline-block; - margin: 0 10px; - padding: 15px 0; - border-bottom: 4px solid #fff; - color: #646970; - cursor: pointer; -} - -.filter-links .current { - box-shadow: none; - border-bottom: 4px solid #646970; - color: #1d2327; -} - -.filter-links li > a:hover, -.filter-links li > a:focus, -.show-filters .filter-links a.current:hover, -.show-filters .filter-links a.current:focus { - color: #135e96; -} - -.wp-filter .search-form { - float: right; - margin: 10px 0; -} - -.wp-filter .search-form input[type="search"] { - margin: 1px 0; - width: 280px; - max-width: 100%; -} - -.wp-filter .search-form select { - margin: 0; -} - -/* Use flexbox only on the plugins install page. The `filter-links` and search form children will become flex items. */ -.plugin-install-php .wp-filter { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - align-items: center; -} - -.wp-filter .search-form.search-plugins { - /* This element is a flex item: the inherited float won't have any effect. */ - margin-top: 0; -} - -.wp-filter .search-form.search-plugins select, -.wp-filter .search-form.search-plugins .wp-filter-search { - display: inline-block; - margin-top: 10px; - vertical-align: top; -} - -.wp-filter .button.drawer-toggle { - margin: 10px 9px 0; - padding: 0 10px 0 6px; - border-color: transparent; - background-color: transparent; - color: #646970; - vertical-align: baseline; - box-shadow: none; -} - -.wp-filter .drawer-toggle:before { - content: "\f111"; - margin: 0 5px 0 0; - color: #646970; - font: normal 16px/1 dashicons; - vertical-align: text-bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-filter .button.drawer-toggle:hover, -.wp-filter .drawer-toggle:hover:before, -.wp-filter .button.drawer-toggle:focus, -.wp-filter .drawer-toggle:focus:before { - background-color: transparent; - color: #135e96; -} - -.wp-filter .button.drawer-toggle:hover, -.wp-filter .button.drawer-toggle:focus:active { - border-color: transparent; -} - -.wp-filter .button.drawer-toggle:focus { - border-color: #4f94d4; -} - -.wp-filter .button.drawer-toggle:active { - background: transparent; - box-shadow: none; - transform: none; -} - -.wp-filter .drawer-toggle.current:before { - color: #fff; -} - -.filter-drawer, -.wp-filter .favorites-form { - display: none; - margin: 0 -10px 0 -20px; - padding: 20px; - border-top: 1px solid #f0f0f1; - background: #f6f7f7; - overflow: hidden; -} - -.show-filters .filter-drawer, -.show-favorites-form .favorites-form { - display: block; -} - -.show-filters .filter-links a.current { - border-bottom: none; -} - -.show-filters .wp-filter .button.drawer-toggle { - border-radius: 2px; - background: #646970; - color: #fff; -} - -.show-filters .wp-filter .drawer-toggle:hover, -.show-filters .wp-filter .drawer-toggle:focus { - background: #2271b1; -} - -.show-filters .wp-filter .drawer-toggle:before { - color: #fff; -} - -.filter-group { - box-sizing: border-box; - position: relative; - float: left; - margin: 0 1% 0 0; - padding: 20px 10px 10px; - width: 24%; - background: #fff; - border: 1px solid #dcdcde; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -.filter-group legend { - position: absolute; - top: 10px; - display: block; - margin: 0; - padding: 0; - font-size: 1em; - font-weight: 600; -} - -.filter-drawer .filter-group-feature { - margin: 28px 0 0; - list-style-type: none; - font-size: 12px; -} - -.filter-drawer .filter-group-feature input, -.filter-drawer .filter-group-feature label { - line-height: 1.4; -} - -.filter-drawer .filter-group-feature input { - position: absolute; - margin: 0; -} - -.filter-group .filter-group-feature label { - display: block; - margin: 14px 0 14px 23px; -} - -.filter-drawer .buttons { - clear: both; - margin-bottom: 20px; -} - -.filter-drawer .filter-group + .buttons { - margin-bottom: 0; - padding-top: 20px; -} - -.filter-drawer .buttons .button span { - display: inline-block; - opacity: 0.8; - font-size: 12px; - text-indent: 10px; -} - -.wp-filter .button.clear-filters { - display: none; - margin-left: 10px; -} - -.wp-filter .button-link.edit-filters { - padding: 0 5px; - line-height: 2.2; -} - -.filtered-by { - display: none; - margin: 0; -} - -.filtered-by > span { - font-weight: 600; -} - -.filtered-by a { - margin-left: 10px; -} - -.filtered-by .tags { - display: inline; -} - -.filtered-by .tag { - margin: 0 5px; - padding: 4px 8px; - border: 1px solid #dcdcde; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; - font-size: 11px; -} - -.filters-applied .filter-group, -.filters-applied .filter-drawer .buttons, -.filters-applied .filter-drawer br { - display: none; -} - -.filters-applied .filtered-by { - display: block; -} - -.filters-applied .filter-drawer { - padding: 20px; -} - -.show-filters .favorites-form, -.show-filters .content-filterable, -.show-filters.filters-applied.loading-content .content-filterable, -.loading-content .content-filterable, -.error .content-filterable { - display: none; -} - -.show-filters.filters-applied .content-filterable { - display: block; -} - -.loading-content .spinner { - display: block; - margin: 40px auto 0; - float: none; -} - -@media only screen and (max-width: 1120px) { - .filter-drawer { - border-bottom: 1px solid #f0f0f1; - } - - .filter-group { - margin-bottom: 0; - margin-top: 5px; - width: 100%; - } - - .filter-group li { - margin: 10px 0; - } -} - -@media only screen and (max-width: 1000px) { - .filter-items { - float: none; - } - - .wp-filter .media-toolbar-primary, - .wp-filter .media-toolbar-secondary, - .wp-filter .search-form { - float: none; /* Remove float from media-views.css */ - position: relative; - max-width: 100%; - } -} - -@media only screen and (max-width: 782px) { - .filter-group li { - padding: 0; - width: 50%; - } -} - -@media only screen and (max-width: 320px) { - .filter-count { - display: none; - } - - .wp-filter .drawer-toggle { - margin: 10px 0; - } - - .filter-group li, - .wp-filter .search-form input[type="search"] { - width: 100%; - } -} - -/*------------------------------------------------------------------------------ - 4.0 - Notifications -------------------------------------------------------------------------------*/ - -.notice, -div.updated, -div.error { - background: #fff; - border: 1px solid #c3c4c7; - border-left-width: 4px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - margin: 5px 15px 2px; - padding: 1px 12px; -} - -div[class="update-message"] { /* back-compat for pre-4.6 */ - padding: 0.5em 12px 0.5em 0; -} - -.notice p, -.notice-title, -div.updated p, -div.error p, -.form-table td .notice p { - margin: 0.5em 0; - padding: 2px; -} - -.error a { - text-decoration: underline; -} - -.updated a { - padding-bottom: 2px; -} - -.notice-alt { - box-shadow: none; -} - -.notice-large { - padding: 10px 20px; -} - -.notice-title { - display: inline-block; - color: #1d2327; - font-size: 18px; -} - -.wp-core-ui .notice.is-dismissible { - padding-right: 38px; - position: relative; -} - -.notice-dismiss { - position: absolute; - top: 0; - right: 1px; - border: none; - margin: 0; - padding: 9px; - background: none; - color: #787c82; - cursor: pointer; -} - -.notice-dismiss:hover:before, -.notice-dismiss:active:before, -.notice-dismiss:focus:before { - color: #d63638; -} - -.notice-dismiss:focus { - outline: none; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.notice-success, -div.updated { - border-left-color: #00a32a; -} - -.notice-success.notice-alt { - background-color: #edfaef; -} - -.notice-warning { - border-left-color: #dba617; -} - -.notice-warning.notice-alt { - background-color: #fcf9e8; -} - -.notice-error, -div.error { - border-left-color: #d63638; -} - -.notice-error.notice-alt { - background-color: #fcf0f1; -} - -.notice-info { - border-left-color: #72aee6; -} - -.notice-info.notice-alt { - background-color: #f0f6fc; -} - -.update-message p:before, -.updating-message p:before, -.updated-message p:before, -.import-php .updating-message:before, -.button.updating-message:before, -.button.updated-message:before, -.button.installed:before, -.button.installing:before { - display: inline-block; - font: normal 20px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.wrap .notice, -.wrap div.updated, -.wrap div.error, -.media-upload-form .notice, -.media-upload-form div.error { - margin: 5px 0 15px; -} - -.wrap #templateside .notice { - display: block; - margin: 0; - padding: 5px 8px; - font-weight: 600; - text-decoration: none; -} - -.wrap #templateside span.notice { - margin-left: -12px; -} - -#templateside li.notice a { - padding: 0; -} - -/* Update icon. */ -.update-message p:before, -.updating-message p:before, -.import-php .updating-message:before, -.button.updating-message:before, -.button.installing:before { - color: #d63638; - content: "\f463"; -} - -/* Spins the update icon. */ -.updating-message p:before, -.import-php .updating-message:before, -.button.updating-message:before, -.button.installing:before, -.plugins .column-auto-updates .dashicons-update.spin, -.theme-overlay .theme-autoupdate .dashicons-update.spin { - animation: rotation 2s infinite linear; -} - -@media (prefers-reduced-motion: reduce) { - .updating-message p:before, - .import-php .updating-message:before, - .button.updating-message:before, - .button.installing:before, - .plugins .column-auto-updates .dashicons-update.spin, - .theme-overlay .theme-autoupdate .dashicons-update.spin { - animation: none; - } -} - -.theme-overlay .theme-autoupdate .dashicons-update.spin { - margin-right: 3px; -} - -/* Updated icon (check mark). */ -.updated-message p:before, -.installed p:before, -.button.updated-message:before { - color: #68de7c; - content: "\f147"; -} - -/* Error icon. */ -.update-message.notice-error p:before { - color: #d63638; - content: "\f534"; -} - -.wrap .notice p:before, -.import-php .updating-message:before { - margin-right: 6px; -} - -.import-php .updating-message:before { - vertical-align: bottom; -} - -#update-nag, -.update-nag { - display: inline-block; - line-height: 1.4; - padding: 11px 15px; - font-size: 14px; - margin: 25px 20px 0 2px; -} - -ul#dismissed-updates { - display: none; -} - -#dismissed-updates li > p { - margin-top: 0; -} - -#dismiss, -#undismiss { - margin-left: 0.5em; -} - -form.upgrade { - margin-top: 8px; -} - -form.upgrade .hint { - font-style: italic; - font-size: 85%; - margin: -0.5em 0 2em; -} - -.update-php .spinner { - float: none; - margin: -4px 0; -} - -h2.wp-current-version { - margin-bottom: .3em; -} - -p.update-last-checked { - margin-top: 0; -} - -p.auto-update-status { - margin-top: 2em; - line-height: 1.8; -} - -#ajax-loading, -.ajax-loading, -.ajax-feedback, -.imgedit-wait-spin, -.list-ajax-loading { /* deprecated */ - visibility: hidden; -} - -#ajax-response.alignleft { - margin-left: 2em; -} - -.button.updating-message:before, -.button.updated-message:before, -.button.installed:before, -.button.installing:before { - margin: 3px 5px 0 -2px; -} - -.button-primary.updating-message:before { - color: #fff; -} - -.button-primary.updated-message:before { - color: #9ec2e6; -} - -.button.updated-message { - transition-property: border, background, color; - transition-duration: .05s; - transition-timing-function: ease-in-out; -} - -@media aural { - .wrap .notice p:before, - .button.installing:before, - .button.installed:before, - .update-message p:before { - speak: never; - } -} - - -/* @todo: this does not need its own section anymore */ -/*------------------------------------------------------------------------------ - 6.0 - Admin Header -------------------------------------------------------------------------------*/ -#adminmenu a, -#taglist a, -#catlist a { - text-decoration: none; -} - -/*------------------------------------------------------------------------------ - 6.1 - Screen Options Tabs -------------------------------------------------------------------------------*/ - -#screen-options-wrap, -#contextual-help-wrap { - margin: 0; - padding: 8px 20px 12px; - position: relative; -} - -#contextual-help-wrap { - overflow: auto; - margin-left: 0; -} - -#screen-meta-links { - float: right; - margin: 0 20px 0 0; -} - -/* screen options and help tabs revert */ -#screen-meta { - display: none; - margin: 0 20px -1px 0; - position: relative; - background-color: #fff; - border: 1px solid #c3c4c7; - border-top: none; - box-shadow: 0 0 0 transparent; -} - -#screen-options-link-wrap, -#contextual-help-link-wrap { - float: left; - margin: 0 0 0 6px; -} - -#screen-meta-links .screen-meta-toggle { - position: relative; - top: 0; -} - -#screen-meta-links .show-settings { - border: 1px solid #c3c4c7; - border-top: none; - height: auto; - margin-bottom: 0; - padding: 3px 6px 3px 16px; - background: #fff; - border-radius: 0 0 4px 4px; - color: #646970; - line-height: 1.7; - box-shadow: 0 0 0 transparent; - transition: box-shadow 0.1s linear; -} - -#screen-meta-links .show-settings:hover, -#screen-meta-links .show-settings:active, -#screen-meta-links .show-settings:focus { - color: #2c3338; -} - -#screen-meta-links .show-settings:focus { - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); -} - -#screen-meta-links .show-settings:active { - transform: none; -} - -#screen-meta-links .show-settings:after { - right: 0; - content: "\f140"; - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - padding: 0 5px 0 0; - bottom: 2px; - position: relative; - vertical-align: bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none; -} - -#screen-meta-links .screen-meta-active:after { - content: "\f142"; -} - -/* end screen options and help tabs */ - -.toggle-arrow { - background-repeat: no-repeat; - background-position: top left; - background-color: transparent; - height: 22px; - line-height: 22px; - display: block; -} - -.toggle-arrow-active { - background-position: bottom left; -} - -#screen-options-wrap h5, /* Back-compat for old plugins */ -#screen-options-wrap legend, -#contextual-help-wrap h5 { - margin: 0; - padding: 8px 0; - font-size: 13px; - font-weight: 600; -} - -.metabox-prefs label { - display: inline-block; - padding-right: 15px; - line-height: 2.35; -} - -#number-of-columns { - display: inline-block; - vertical-align: middle; - line-height: 30px; -} - -.metabox-prefs input[type=checkbox] { - margin-top: 0; - margin-right: 6px; -} - -.metabox-prefs label input, -.metabox-prefs label input[type=checkbox] { - margin: -4px 5px 0 0; -} - -.metabox-prefs .columns-prefs label input { - margin: -1px 2px 0 0; -} - -.metabox-prefs label a { - display: none; -} - -.metabox-prefs .screen-options input, -.metabox-prefs .screen-options label { - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; -} - -.metabox-prefs .screen-options .screen-per-page { - margin-right: 15px; - padding-right: 0; -} - -.metabox-prefs .screen-options label { - line-height: 2.2; - padding-right: 0; -} - -.screen-options + .screen-options { - margin-top: 10px; -} - -.metabox-prefs .submit { - margin-top: 1em; - padding: 0; -} - -/*------------------------------------------------------------------------------ - 6.2 - Help Menu -------------------------------------------------------------------------------*/ - -#contextual-help-wrap { - padding: 0; -} - -#contextual-help-columns { - position: relative; -} - -#contextual-help-back { - position: absolute; - top: 0; - bottom: 0; - left: 150px; - right: 170px; - border: 1px solid #c3c4c7; - border-top: none; - border-bottom: none; - background: #f0f6fc; -} - -#contextual-help-wrap.no-sidebar #contextual-help-back { - right: 0; - border-right-width: 0; - border-bottom-right-radius: 2px; -} - -.contextual-help-tabs { - float: left; - width: 150px; - margin: 0; -} - -.contextual-help-tabs ul { - margin: 1em 0; -} - -.contextual-help-tabs li { - margin-bottom: 0; - list-style-type: none; - border-style: solid; - border-width: 0 0 0 2px; - border-color: transparent; -} - -.contextual-help-tabs a { - display: block; - padding: 5px 5px 5px 12px; - line-height: 1.4; - text-decoration: none; - border: 1px solid transparent; - border-right: none; - border-left: none; -} - -.contextual-help-tabs a:hover { - color: #2c3338; -} - -.contextual-help-tabs .active { - padding: 0; - margin: 0 -1px 0 0; - border-left: 2px solid #72aee6; - background: #f0f6fc; - box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02); -} - -.contextual-help-tabs .active a { - border-color: #c3c4c7; - color: #2c3338; -} - -.contextual-help-tabs-wrap { - padding: 0 20px; - overflow: auto; -} - -.help-tab-content { - display: none; - margin: 0 22px 12px 0; - line-height: 1.6; -} - -.help-tab-content.active { - display: block; -} - -.help-tab-content ul li { - list-style-type: disc; - margin-left: 18px; -} - -.contextual-help-sidebar { - width: 150px; - float: right; - padding: 0 8px 0 12px; - overflow: auto; -} - -/*------------------------------------------------------------------------------ - 8.0 - Layout Blocks -------------------------------------------------------------------------------*/ - -html.wp-toolbar { - padding-top: 32px; - box-sizing: border-box; - -ms-overflow-style: scrollbar; /* See ticket #48545 */ -} - -.widefat th, -.widefat td { - color: #50575e; -} - -.widefat th, -.widefat thead td, -.widefat tfoot td { - font-weight: 400; -} - -.widefat thead tr th, -.widefat thead tr td, -.widefat tfoot tr th, -.widefat tfoot tr td { - color: #2c3338; -} - -.widefat td p { - margin: 2px 0 0.8em; -} - -.widefat p, -.widefat ol, -.widefat ul { - color: #2c3338; -} - -.widefat .column-comment p { - margin: 0.6em 0; -} - -.widefat .column-comment ul { - list-style: initial; - margin-left: 2em; -} - -/* Screens with postboxes */ -.postbox-container { - float: left; -} - -.postbox-container .meta-box-sortables { - box-sizing: border-box; -} - -#wpbody-content .metabox-holder { - padding-top: 10px; -} - -.metabox-holder .postbox-container .meta-box-sortables { - /* The jQuery UI Sortables need some initial height to work properly. */ - min-height: 1px; - position: relative; -} - -#post-body-content { - width: 100%; - min-width: 463px; - float: left; -} - -#post-body.columns-2 #postbox-container-1 { - float: right; - margin-right: -300px; - width: 280px; -} - -#post-body.columns-2 #side-sortables { - min-height: 250px; -} - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content .metabox-holder .postbox-container .empty-container { - outline: none; - height: 0; - min-height: 0; - } -} - -.js .widget .widget-top, -.js .postbox .hndle { - cursor: move; -} - -.js .widget .widget-top.is-non-sortable, -.js .postbox .hndle.is-non-sortable { - cursor: auto; -} - -/* Configurable dashboard widgets "Configure" edit-box link. */ -.hndle a { - font-size: 12px; - font-weight: 400; -} - -.postbox-header { - display: flex; - align-items: center; - justify-content: space-between; - border-bottom: 1px solid #c3c4c7; -} - -.postbox-header .hndle { - flex-grow: 1; - /* Handle the alignment for the configurable dashboard widgets "Configure" edit-box link. */ - display: flex; - justify-content: space-between; - align-items: center; -} - -.postbox-header .handle-actions { - flex-shrink: 0; -} - -/* Post box order and toggle buttons. */ -.postbox .handle-order-higher, -.postbox .handle-order-lower, -.postbox .handlediv { - width: 36px; - height: 36px; - margin: 0; - padding: 0; - border: 0; - background: none; - cursor: pointer; -} - -.postbox .handle-order-higher, -.postbox .handle-order-lower { - color: #787c82; - width: 1.62rem; -} - -/* Post box order buttons in the block editor meta boxes area. */ -.edit-post-meta-boxes-area .postbox .handle-order-higher, -.edit-post-meta-boxes-area .postbox .handle-order-lower { - width: 44px; - height: 44px; - color: #1d2327 -} - -.postbox .handle-order-higher[aria-disabled="true"], -.postbox .handle-order-lower[aria-disabled="true"] { - cursor: default; - color: #a7aaad; -} - -.sortable-placeholder { - border: 1px dashed #c3c4c7; - margin-bottom: 20px; -} - -.postbox, -.stuffbox { - margin-bottom: 20px; - padding: 0; - line-height: 1; -} - -.postbox.closed { - border-bottom: 0; -} - -/* user-select is not a part of the CSS standard - may change behavior in the future */ -.postbox .hndle, -.stuffbox .hndle { - -webkit-user-select: none; - user-select: none; -} - -.postbox .inside { - padding: 0 12px 12px; - line-height: 1.4; - font-size: 13px; -} - -.stuffbox .inside { - padding: 0; - line-height: 1.4; - font-size: 13px; - margin-top: 0; -} - -.postbox .inside { - margin: 11px 0; - position: relative; -} - -.postbox .inside > p:last-child, -.rss-widget ul li:last-child { - margin-bottom: 1px !important; -} - -.postbox.closed h3 { - border: none; - box-shadow: none; -} - -.postbox table.form-table { - margin-bottom: 0; -} - -.postbox table.widefat { - box-shadow: none; -} - -.temp-border { - border: 1px dotted #c3c4c7; -} - -.columns-prefs label { - padding: 0 10px 0 0; -} - -/* @todo: what is this doing here */ -#dashboard_right_now .versions .b, -#post-status-display, -#post-visibility-display, -#adminmenu .wp-submenu li.current, -#adminmenu .wp-submenu li.current a, -#adminmenu .wp-submenu li.current a:hover, -.media-item .percent, -.plugins .name, -#pass-strength-result.strong, -#pass-strength-result.short, -#ed_reply_toolbar #ed_reply_strong, -.item-controls .item-order a, -.feature-filter .feature-name, -#comment-status-display { - font-weight: 600; -} - -/*------------------------------------------------------------------------------ - 21.0 - Admin Footer -------------------------------------------------------------------------------*/ - -#wpfooter { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding: 10px 20px; - color: #50575e; -} - -#wpfooter p { - font-size: 13px; - margin: 0; - line-height: 1.55; -} - -#footer-thankyou { - font-style: italic; -} - -/*------------------------------------------------------------------------------ - 25.0 - Tabbed Admin Screen Interface (Experimental) -------------------------------------------------------------------------------*/ - -.nav-tab { - float: left; - border: 1px solid #c3c4c7; - border-bottom: none; - margin-left: 0.5em; /* half the font size so set the font size properly */ - padding: 5px 10px; - font-size: 14px; - line-height: 1.71428571; - font-weight: 600; - background: #dcdcde; - color: #50575e; - text-decoration: none; - white-space: nowrap; -} - -h3 .nav-tab, /* Back-compat for pre-4.4 */ -.nav-tab-small .nav-tab { - padding: 5px 14px; - font-size: 12px; - line-height: 1.33; -} - -.nav-tab:hover, -.nav-tab:focus { - background-color: #fff; - color: #3c434a; -} - -.nav-tab-active, -.nav-tab:focus:active { - box-shadow: none; -} - -.nav-tab-active { - margin-bottom: -1px; - color: #3c434a; -} - -.nav-tab-active, -.nav-tab-active:hover, -.nav-tab-active:focus, -.nav-tab-active:focus:active { - border-bottom: 1px solid #f0f0f1; - background: #f0f0f1; - color: #000; -} - -h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ -.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ -.nav-tab-wrapper { - border-bottom: 1px solid #c3c4c7; - margin: 0; - padding-top: 9px; - padding-bottom: 0; - line-height: inherit; -} - -/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */ -.nav-tab-wrapper:not(.wp-clearfix):after { - content: ""; - display: table; - clear: both; -} - -/*------------------------------------------------------------------------------ - 26.0 - Misc -------------------------------------------------------------------------------*/ - -.spinner { - background: url(../images/spinner.gif) no-repeat; - background-size: 20px 20px; - display: inline-block; - visibility: hidden; - float: right; - vertical-align: middle; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 4px 10px 0; -} - -.spinner.is-active, -.loading-content .spinner { - visibility: visible; -} - -#template > div { - margin-right: 16em; -} -#template .notice { - margin-top: 1em; - margin-right: 3%; -} -#template .notice p { - width: auto; -} -#template .submit .spinner { - float: none; -} - -.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ -.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ -.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ -.metabox-holder h2.hndle { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -/* Back-compat for nav-menus screen */ -.nav-menus-php .metabox-holder h3 { - padding: 10px 10px 11px 14px; - line-height: 1.5; -} - -#templateside ul li a { - text-decoration: none; -} - -.plugin-install #description, -.plugin-install-network #description { - width: 60%; -} - -table .vers, -table .column-visible, -table .column-rating { - text-align: left; -} - -.attention, -.error-message { - color: #d63638; - font-weight: 600; -} - -/* Scrollbar fix for bulk upgrade iframe */ -body.iframe { - height: 98%; -} - -/* Upgrader styles, Specific to Language Packs */ -.lp-show-latest p { - display: none; -} -.lp-show-latest p:last-child, -.lp-show-latest .lp-error p { - display: block; -} - -/* - Only used once or twice in all of WP - deprecate for global style -------------------------------------------------------------------------------*/ -.media-icon { - width: 62px; /* icon + border */ - text-align: center; -} - -.media-icon img { - border: 1px solid #dcdcde; - border: 1px solid rgba(0, 0, 0, 0.07); -} - -#howto { - font-size: 11px; - margin: 0 5px; - display: block; -} - -.importers { - font-size: 16px; - width: auto; -} - -.importers td { - padding-right: 14px; - line-height: 1.4; -} - -.importers .import-system { - max-width: 250px; -} - -.importers td.desc { - max-width: 500px; -} - -.importer-title, -.importer-desc, -.importer-action { - display: block; -} - -.importer-title { - color: #000; - font-size: 14px; - font-weight: 400; - margin-bottom: .2em; -} - -.importer-action { - line-height: 1.55; /* Same as with .updating-message */ - color: #50575e; - margin-bottom: 1em; -} - -#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ -#post-body #post-body-content #namediv h2 { - margin-top: 0; -} - -.edit-comment-author { - color: #1d2327; - border-bottom: 1px solid #f0f0f1; -} - -#namediv h3 label, /* Back-compat for pre-4.4 */ -#namediv h2 label { - vertical-align: baseline; -} - -#namediv table { - width: 100%; -} - -#namediv td.first { - width: 10px; - white-space: nowrap; -} - -#namediv input { - width: 100%; -} - -#namediv p { - margin: 10px 0; -} - -/* - Used - but could/should be deprecated with a CSS reset -------------------------------------------------------------------------------*/ -.zerosize { - height: 0; - width: 0; - margin: 0; - border: 0; - padding: 0; - overflow: hidden; - position: absolute; -} - -br.clear { - height: 2px; - line-height: 0.15; -} - -.checkbox { - border: none; - margin: 0; - padding: 0; -} - -fieldset { - border: 0; - padding: 0; - margin: 0; -} - -.post-categories { - display: inline; - margin: 0; - padding: 0; -} - -.post-categories li { - display: inline; -} - -/* Star Ratings - Back-compat for pre-3.8 */ -div.star-holder { - position: relative; - height: 17px; - width: 100px; - background: url(../images/stars.png?ver=20121108) repeat-x bottom left; -} - -div.star-holder .star-rating { - background: url(../images/stars.png?ver=20121108) repeat-x top left; - height: 17px; - float: left; -} - -/* Star Ratings */ -.star-rating { - white-space: nowrap; -} -.star-rating .star { - display: inline-block; - width: 20px; - height: 20px; - -webkit-font-smoothing: antialiased; - font-size: 20px; - line-height: 1; - font-family: dashicons; - text-decoration: inherit; - font-weight: 400; - font-style: normal; - vertical-align: top; - transition: color .1s ease-in; - text-align: center; - color: #dba617; -} - -.star-rating .star-full:before { - content: "\f155"; -} - -.star-rating .star-half:before { - content: "\f459"; -} - -.rtl .star-rating .star-half { - transform: rotateY(180deg); -} - -.star-rating .star-empty:before { - content: "\f154"; -} - -div.action-links { - font-weight: 400; - margin: 6px 0 0; -} - -/* Plugin install thickbox */ -#plugin-information { - background: #fff; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - height: 100%; - padding: 0; -} - -#plugin-information-scrollable { - overflow: auto; - -webkit-overflow-scrolling: touch; - height: 100%; -} - -#plugin-information-title { - padding: 0 26px; - background: #f6f7f7; - font-size: 22px; - font-weight: 600; - line-height: 2.4; - position: relative; - height: 56px; -} - -#plugin-information-title.with-banner { - margin-right: 0; - height: 250px; - background-size: cover; -} - -#plugin-information-title h2 { - font-size: 1em; - font-weight: 600; - padding: 0; - margin: 0; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#plugin-information-title.with-banner h2 { - position: relative; - font-family: "Helvetica Neue", sans-serif; - display: inline-block; - font-size: 30px; - line-height: 1.68; - box-sizing: border-box; - max-width: 100%; - padding: 0 15px; - margin-top: 174px; - color: #fff; - background: rgba(29, 35, 39, 0.9); - text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); - box-shadow: 0 0 30px rgba(255, 255, 255, 0.1); - border-radius: 8px; -} - -#plugin-information-title div.vignette { - display: none; -} - -#plugin-information-title.with-banner div.vignette { - position: absolute; - display: block; - top: 0; - left: 0; - height: 250px; - width: 100%; - background: transparent; - box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -#plugin-information-tabs { - padding: 0 16px; - position: relative; - right: 0; - left: 0; - min-height: 36px; - font-size: 0; - z-index: 1; - border-bottom: 1px solid #dcdcde; - background: #f6f7f7; -} - -#plugin-information-tabs a { - position: relative; - display: inline-block; - padding: 9px 10px; - margin: 0; - height: 18px; - line-height: 1.3; - font-size: 14px; - text-decoration: none; - transition: none; -} - -#plugin-information-tabs a.current { - margin: 0 -1px -1px; - background: #fff; - border: 1px solid #dcdcde; - border-bottom-color: #fff; - padding-top: 8px; - color: #2c3338; -} - -#plugin-information-tabs.with-banner a.current { - border-top: none; - padding-top: 9px; -} - -#plugin-information-tabs a:active, -#plugin-information-tabs a:focus { - outline: none; -} - -#plugin-information-content { - overflow: hidden; /* equal height column trick */ - background: #fff; - position: relative; - top: 0; - right: 0; - left: 0; - min-height: 100%; - /* Height of title + tabs + install now */ - min-height: calc( 100% - 152px ); -} - -#plugin-information-content.with-banner { - /* Height of banner + tabs + install now */ - min-height: calc( 100% - 346px ); -} - -#section-holder { - position: relative; - top: 0; - right: 250px; - bottom: 0; - left: 0; - margin-top: 10px; - margin-right: 250px; /* FYI box */ - padding: 10px 26px 99999px; /* equal height column trick */ - margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ -} - -#section-holder .notice { - margin: 5px 0 15px; -} - -#section-holder .updated { - margin: 16px 0; -} - -#plugin-information .fyi { - float: right; - position: relative; - top: 0; - right: 0; - padding: 16px 16px 99999px; /* equal height column trick */ - margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */ - width: 217px; - border-left: 1px solid #dcdcde; - background: #f6f7f7; - color: #646970; -} - -#plugin-information .fyi strong { - color: #3c434a; -} - -#plugin-information .fyi h3 { - font-weight: 600; - text-transform: uppercase; - font-size: 12px; - color: #646970; - margin: 24px 0 8px; -} - -#plugin-information .fyi h2 { - font-size: 0.9em; - margin-bottom: 0; - margin-right: 0; -} - -#plugin-information .fyi ul { - padding: 0; - margin: 0; - list-style: none; -} - -#plugin-information .fyi li { - margin: 0 0 10px; -} - -#plugin-information .fyi-description { - margin-top: 0; -} - -#plugin-information .counter-container { - margin: 3px 0; -} - -#plugin-information .counter-label { - float: left; - margin-right: 5px; - min-width: 55px; -} - -#plugin-information .counter-back { - height: 17px; - width: 92px; - background-color: #dcdcde; - float: left; -} - -#plugin-information .counter-bar { - height: 17px; - background-color: #f0c33c; /* slightly lighter than stars due to larger expanse */ - float: left; -} - -#plugin-information .counter-count { - margin-left: 5px; -} - -#plugin-information .fyi ul.contributors { - margin-top: 10px; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-right: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li { - display: inline-block; - margin-right: 8px; - vertical-align: middle; -} - -#plugin-information .fyi ul.contributors li img { - vertical-align: middle; - margin-right: 4px; -} - -#plugin-information-footer { - padding: 13px 16px; - position: absolute; - right: 0; - bottom: 0; - left: 0; - height: 40px; /* actual height: 40+13+13+1=67 */ - border-top: 1px solid #dcdcde; - background: #f6f7f7; -} - -/* rtl:ignore */ -#plugin-information .section { - direction: ltr; -} - -/* rtl:ignore */ -#plugin-information .section ul, -#plugin-information .section ol { - list-style-type: disc; - margin-left: 24px; -} - -#plugin-information .section, -#plugin-information .section p { - font-size: 14px; - line-height: 1.7; -} - -#plugin-information #section-screenshots ol { - list-style: none; - margin: 0; -} - -#plugin-information #section-screenshots li img { - vertical-align: text-top; - margin-top: 16px; - max-width: 100%; - width: auto; - height: auto; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); -} - -/* rtl:ignore */ -#plugin-information #section-screenshots li p { - font-style: italic; - padding-left: 20px; -} - -#plugin-information pre { - padding: 7px; - overflow: auto; - border: 1px solid #c3c4c7; -} - -#plugin-information blockquote { - border-left: 2px solid #dcdcde; - color: #646970; - font-style: italic; - margin: 1em 0; - padding: 0 0 0 1em; -} - -/* rtl:ignore */ -#plugin-information .review { - overflow: hidden; /* clearfix */ - width: 100%; - margin-bottom: 20px; - border-bottom: 1px solid #dcdcde; -} - -#plugin-information .review-title-section { - overflow: hidden; /* clearfix */ -} - -/* rtl:ignore */ -#plugin-information .review-title-section h4 { - display: inline-block; - float: left; - margin: 0 6px 0 0; -} - -#plugin-information .reviewer-info p { - clear: both; - margin: 0; - padding-top: 2px; -} - -/* rtl:ignore */ -#plugin-information .reviewer-info .avatar { - float: left; - margin: 4px 6px 0 0; -} - -/* rtl:ignore */ -#plugin-information .reviewer-info .star-rating { - float: left; -} - -/* rtl:ignore */ -#plugin-information .review-meta { - float: left; - margin-left: 0.75em; -} - -/* rtl:ignore */ -#plugin-information .review-body { - float: left; - width: 100%; -} - -.plugin-version-author-uri { - font-size: 13px; -} - -/* For non-js plugin installation screen ticket #36430. */ -.update-php .button.button-primary { - margin-right: 1em; -} - -@media screen and (max-width: 771px) { - #plugin-information-title.with-banner { - height: 100px; - } - - #plugin-information-title.with-banner h2 { - margin-top: 30px; - font-size: 20px; - line-height: 2; - max-width: 85%; - } - - #plugin-information-title.with-banner div.vignette { - height: 100px; - } - - #plugin-information-tabs { - overflow: hidden; /* clearfix */ - padding: 0; - height: auto; /* let tabs wrap */ - } - - #plugin-information-tabs a.current { - margin-bottom: 0; - border-bottom: none; - } - - #plugin-information .fyi { - float: none; - border: 1px solid #dcdcde; - position: static; - width: auto; - margin: 26px 26px 0; - padding-bottom: 0; /* reset from the two column height fix */ - } - - #section-holder { - position: static; - margin: 0; - padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */ - } - - #plugin-information .fyi h3, - #plugin-information .fyi small { - display: none; - } - - #plugin-information-footer { - padding: 12px 16px 0; - height: 46px; - } -} - -/* Thickbox for the Plugin details modal. */ -#TB_window.plugin-details-modal { - background: #fff; -} - -#TB_window.plugin-details-modal.thickbox-loading:before { - content: ""; - display: block; - width: 20px; - height: 20px; - position: absolute; - left: 50%; - top: 50%; - z-index: -1; - margin: -10px 0 0 -10px; - background: #fff url(../images/spinner.gif) no-repeat center; - background-size: 20px 20px; - transform: translateZ(0); -} - -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - #TB_window.plugin-details-modal.thickbox-loading:before { - background-image: url(../images/spinner-2x.gif); - } -} - -.plugin-details-modal #TB_title { - float: left; - height: 1px; -} - -.plugin-details-modal #TB_ajaxWindowTitle { - display: none; -} - -.plugin-details-modal #TB_closeWindowButton { - left: auto; - right: -30px; - color: #f0f0f1; -} - -.plugin-details-modal #TB_closeWindowButton:hover, -.plugin-details-modal #TB_closeWindowButton:focus { - color: #135e96; - outline: none; - box-shadow: none; -} - -.plugin-details-modal .tb-close-icon { - display: none; -} - -.plugin-details-modal #TB_closeWindowButton:after { - content: "\f335"; - font: normal 32px/29px 'dashicons'; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* move plugin install close icon to top on narrow screens */ -@media screen and (max-width: 830px) { - .plugin-details-modal #TB_closeWindowButton { - right: 0; - top: -30px; - } -} - -/* @todo: move this. */ -img { - border: none; -} - -/* Metabox collapse arrow indicators */ -.sidebar-name .toggle-indicator::before, -.meta-box-sortables .postbox .toggle-indicator::before, -.meta-box-sortables .postbox .order-higher-indicator::before, -.meta-box-sortables .postbox .order-lower-indicator::before, -.bulk-action-notice .toggle-indicator::before, -.privacy-text-box .toggle-indicator::before { - content: "\f142"; - display: inline-block; - font: normal 20px/1 dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none; -} - -.js .widgets-holder-wrap.closed .toggle-indicator::before, -.meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before, -.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before, -.privacy-text-box.closed .toggle-indicator::before { - content: "\f140"; -} - -.postbox .handle-order-higher .order-higher-indicator::before { - content: "\f343"; - color: inherit; -} - -.postbox .handle-order-lower .order-lower-indicator::before { - content: "\f347"; - color: inherit; -} - -.postbox .handle-order-higher .order-higher-indicator::before, -.postbox .handle-order-lower .order-lower-indicator::before { - position: relative; - top: 0.11rem; - width: 20px; - height: 20px; -} - -.postbox .handlediv .toggle-indicator::before { - width: 20px; - border-radius: 50%; -} - -.postbox .handlediv .toggle-indicator::before { - position: relative; - top: 0.05rem; - text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */ -} - -.rtl .postbox .handlediv .toggle-indicator::before { - text-indent: 1px; /* account for the dashicon glyph uneven horizontal alignment */ -} - -.bulk-action-notice .toggle-indicator::before { - line-height: 16px; - vertical-align: top; - color: #787c82; -} - -.postbox .handle-order-higher:focus, -.postbox .handle-order-lower:focus, -.postbox .handlediv:focus { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.postbox .handle-order-higher:focus .order-higher-indicator::before, -.postbox .handle-order-lower:focus .order-lower-indicator::before, -.postbox .handlediv:focus .toggle-indicator::before { - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -/* @todo: appears to be Press This only and overridden */ -#photo-add-url-div input[type="text"] { - width: 300px; -} - -/* Theme/Plugin file editor */ -.alignleft h2 { - margin: 0; -} - -#template textarea { - font-family: Consolas, Monaco, monospace; - font-size: 13px; - background: #f6f7f7; - -o-tab-size: 4; - tab-size: 4; -} - -#template textarea, -#template .CodeMirror { - width: 100%; - min-height: 60vh; - height: calc( 100vh - 295px ); - border: 1px solid #dcdcde; - box-sizing: border-box; -} - -#templateside > h2 { - padding-top: 6px; - padding-bottom: 7px; - margin: 0; -} - -#templateside ol, -#templateside ul { - margin: 0; - padding: 0; -} -#templateside > ul { - box-sizing: border-box; - margin-top: 0; - overflow: auto; - padding: 0; - min-height: 60vh; - height: calc(100vh - 295px); - background-color: #f6f7f7; - border: 1px solid #dcdcde; - border-left: none; -} -#templateside ul ul { - padding-left: 12px; -} -#templateside > ul > li > ul[role=group] { - padding-left: 0; -} - -/* - * Styles for Theme and Plugin file editors. - */ - -/* Hide collapsed items. */ -[role="treeitem"][aria-expanded="false"] > ul { - display: none; -} - -/* Use arrow dashicons for folder states, but hide from screen readers. */ -[role="treeitem"] span[aria-hidden] { - display: inline; - font-family: dashicons; - font-size: 20px; - position: absolute; - pointer-events: none; -} -[role="treeitem"][aria-expanded="false"] > .folder-label .icon:after { - content: "\f139"; -} -[role="treeitem"][aria-expanded="true"] > .folder-label .icon:after { - content: "\f140"; -} -[role="treeitem"] .folder-label { - display: block; - padding: 3px 3px 3px 12px; - cursor: pointer; -} - -/* Remove outline, and create our own focus and hover styles */ -[role="treeitem"] { - outline: 0; -} -[role="treeitem"] .folder-label.focus { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} -[role="treeitem"].hover, -[role="treeitem"] .folder-label.hover { - background-color: #f0f0f1; -} - -.tree-folder { - margin: 0; - position: relative; -} -[role="treeitem"] li { - position: relative; -} - -/* Styles for folder indicators/depth */ -.tree-folder .tree-folder::after { - content: ""; - display: block; - position: absolute; - left: 2px; - border-left: 1px solid #c3c4c7; - top: -13px; - bottom: 10px; -} -.tree-folder > li::before { - content: ""; - position: absolute; - display: block; - border-left: 1px solid #c3c4c7; - left: 2px; - top: -5px; - height: 18px; - width: 7px; - border-bottom: 1px solid #c3c4c7; -} -.tree-folder > li::after { - content: ""; - position: absolute; - display: block; - border-left: 1px solid #c3c4c7; - left: 2px; - bottom: -7px; - top: 0; -} - -/* current-file needs to adjustment for .notice styles */ -#templateside .current-file { - margin: -4px 0 -2px; -} -.tree-folder > .current-file::before { - left: 4px; - height: 15px; - width: 0; - border-left: none; - top: 3px; -} -.tree-folder > .current-file::after { - bottom: -4px; - height: 7px; - left: 2px; - top: auto; -} - -/* Lines shouldn't continue on last item */ -.tree-folder > li:last-child::after, -.tree-folder li:last-child > .tree-folder::after { - display: none; -} - -#theme-plugin-editor-selector, -#theme-plugin-editor-label, -#documentation label { - font-weight: 600; -} - -#theme-plugin-editor-label { - display: inline-block; - margin-bottom: 1em; -} - -/* rtl:ignore */ -#template textarea, -#docs-list { - direction: ltr; -} - -.fileedit-sub #theme, -.fileedit-sub #plugin { - max-width: 40%; -} -.fileedit-sub .alignright { - text-align: right; -} - -#template p { - width: 97%; -} - -#file-editor-linting-error { - margin-top: 1em; - margin-bottom: 1em; -} -#file-editor-linting-error > .notice { - margin: 0; - display: inline-block; -} -#file-editor-linting-error > .notice > p { - width: auto; -} -#template .submit { - margin-top: 1em; - padding: 0; -} - -#template .submit input[type=submit][disabled] { - cursor: not-allowed; -} -#templateside { - float: right; - width: 16em; - word-wrap: break-word; -} - -#postcustomstuff p.submit { - margin: 0; -} - -#templateside h4 { - margin: 1em 0 0; -} - -#templateside li { - margin: 4px 0; -} - -#templateside li:not(.howto) a, -.theme-editor-php .highlight { - display: block; - padding: 3px 0 3px 12px; - text-decoration: none; -} - -#templateside li:not(.howto) > a:first-of-type { - padding-top: 0; -} - -#templateside li.howto { - padding: 6px 12px 12px; -} - -.theme-editor-php .highlight { - margin: -3px 3px -3px -12px; -} - -#templateside .highlight { - border: none; - font-weight: 600; -} - -.nonessential { - color: #646970; - font-size: 11px; - font-style: italic; - padding-left: 12px; -} - -#documentation { - margin-top: 10px; -} - -#documentation label { - line-height: 1.8; - vertical-align: baseline; -} - -.fileedit-sub { - padding: 10px 0 8px; - line-height: 180%; -} - -#file-editor-warning .file-editor-warning-content { - margin: 25px; -} - -/* @todo: can we use a common class for these? */ -.nav-menus-php .item-edit:before, -.widget-top .widget-action .toggle-indicator:before, -.control-section .accordion-section-title:after, -.accordion-section-title:after { - content: "\f140"; - font: normal 20px/1 dashicons; - speak: never; - display: block; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none; -} - -.widget-top .widget-action .toggle-indicator:before { - padding: 1px 2px 1px 0; - border-radius: 50%; -} - -.handlediv, -.postbox .handlediv.button-link, -.item-edit, -.toggle-indicator, -.accordion-section-title:after { - color: #787c82; -} - -.widget-action { - color: #50575e; /* #fafafa background in the Widgets screen */ -} - -.widget-top:hover .widget-action, -.widget-action:focus, -.handlediv:hover, -.handlediv:focus, -.postbox .handlediv.button-link:hover, -.postbox .handlediv.button-link:focus, -.item-edit:hover, -.item-edit:focus, -.sidebar-name:hover .toggle-indicator, -.accordion-section-title:hover:after { - color: #1d2327; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.widget-top .widget-action:focus .toggle-indicator:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.control-section .accordion-section-title:after, -.accordion-section-title:after { - float: right; - right: 20px; - top: -2px; -} - -.control-section.open .accordion-section-title:after, -#customize-info.open .accordion-section-title:after, -.nav-menus-php .menu-item-edit-active .item-edit:before, -.widget.open .widget-top .widget-action .toggle-indicator:before, -.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before { - content: "\f142"; -} - -/*! - * jQuery UI Draggable/Sortable 1.11.4 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ -.ui-draggable-handle, -.ui-sortable-handle { - touch-action: none; -} - -/* Accordion */ -.accordion-section { - border-bottom: 1px solid #dcdcde; - margin: 0; -} - -.accordion-section.open .accordion-section-content, -.no-js .accordion-section .accordion-section-content { - display: block; -} - -.accordion-section.open:hover { - border-bottom-color: #dcdcde; -} - -.accordion-section-content { - display: none; - padding: 10px 20px 15px; - overflow: hidden; - background: #fff; -} - -.accordion-section-title { - margin: 0; - padding: 12px 15px 15px; - position: relative; - border-left: 1px solid #dcdcde; - border-right: 1px solid #dcdcde; - -webkit-user-select: none; - user-select: none; -} - -.js .accordion-section-title { - cursor: pointer; -} - -.js .accordion-section-title:after { - position: absolute; - top: 12px; - right: 10px; - z-index: 1; -} - -.accordion-section-title:focus { - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.accordion-section-title:hover:after, -.accordion-section-title:focus:after { - border-color: #a7aaad transparent; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.cannot-expand .accordion-section-title { - cursor: auto; -} - -.cannot-expand .accordion-section-title:after { - display: none; -} - -.control-section .accordion-section-title, -.customize-pane-child .accordion-section-title { - border-left: none; - border-right: none; - padding: 10px 10px 11px 14px; - line-height: 1.55; - background: #fff; -} - -.control-section .accordion-section-title:after, -.customize-pane-child .accordion-section-title:after { - top: calc(50% - 10px); /* Arrow height is 20px, so use half of that to vertically center */ -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - color: #1d2327; - background: #f6f7f7; -} - -.control-section.open .accordion-section-title { - /* When expanded */ - border-bottom: 1px solid #dcdcde; -} - -/* Edit Site */ -.network-admin .edit-site-actions { - margin-top: 0; -} - -/* My Sites */ -.my-sites { - display: block; - overflow: auto; - zoom: 1; -} - -.my-sites li { - display: block; - padding: 8px 3%; - min-height: 130px; - margin: 0; -} - -@media only screen and (max-width: 599px) { - .my-sites li { - min-height: 0; - } -} - -@media only screen and (min-width: 600px) { - .my-sites.striped li { - background-color: #fff; - position: relative; - } - .my-sites.striped li:after { - content: ""; - width: 1px; - height: 100%; - position: absolute; - top: 0; - right: 0; - background: #c3c4c7; - } - -} -@media only screen and (min-width: 600px) and (max-width: 699px) { - .my-sites li{ - float: left; - width: 44%; - } - .my-sites.striped li { - background-color: #fff; - } - .my-sites.striped li:nth-of-type(2n+1) { - clear: left; - } - .my-sites.striped li:nth-of-type(2n+2):after { - content: none; - } - .my-sites li:nth-of-type(4n+1), - .my-sites li:nth-of-type(4n+2) { - background-color: #f6f7f7; - } - -} - -@media only screen and (min-width: 700px) and (max-width: 1199px) { - .my-sites li { - float: left; - width: 27.333333%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(3n+3):after { - content: none; - } - .my-sites li:nth-of-type(6n+1), - .my-sites li:nth-of-type(6n+2), - .my-sites li:nth-of-type(6n+3) { - background-color: #f6f7f7; - } -} - -@media only screen and (min-width: 1200px) and (max-width: 1399px) { - .my-sites li { - float: left; - width: 21%; - padding: 8px 2%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(4n+1) { - clear: left; - } - .my-sites.striped li:nth-of-type(4n+4):after { - content: none; - } - .my-sites li:nth-of-type(8n+1), - .my-sites li:nth-of-type(8n+2), - .my-sites li:nth-of-type(8n+3), - .my-sites li:nth-of-type(8n+4) { - background-color: #f6f7f7; - } -} - -@media only screen and (min-width: 1400px) and (max-width: 1599px) { - .my-sites li { - float: left; - width: 16%; - padding: 8px 2%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(5n+1) { - clear: left; - } - .my-sites.striped li:nth-of-type(5n+5):after { - content: none; - } - .my-sites li:nth-of-type(10n+1), - .my-sites li:nth-of-type(10n+2), - .my-sites li:nth-of-type(10n+3), - .my-sites li:nth-of-type(10n+4), - .my-sites li:nth-of-type(10n+5) { - background-color: #f6f7f7; - } -} - -@media only screen and (min-width: 1600px) { - .my-sites li { - float: left; - width: 12.666666%; - padding: 8px 2%; - background-color: #fff; - } - .my-sites.striped li:nth-of-type(6n+1) { - clear: left; - } - .my-sites.striped li:nth-of-type(6n+6):after { - content: none; - } - .my-sites li:nth-of-type(12n+1), - .my-sites li:nth-of-type(12n+2), - .my-sites li:nth-of-type(12n+3), - .my-sites li:nth-of-type(12n+4), - .my-sites li:nth-of-type(12n+5), - .my-sites li:nth-of-type(12n+6) { - background-color: #f6f7f7; - } -} - -.my-sites li a { - text-decoration: none; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - /* Back-compat for pre-3.8 */ - div.star-holder, - div.star-holder .star-rating { - background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left; - background-size: 21px 37px; - } - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - -} - -@media screen and (max-width: 782px) { - html.wp-toolbar { - padding-top: 46px; - } - - .screen-reader-shortcut:focus { - top: -39px; - } - - body { - min-width: 240px; - overflow-x: hidden; - } - - body * { - -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important; - } - - #wpcontent { - position: relative; - margin-left: 0; - padding-left: 10px; - } - - #wpbody-content { - padding-bottom: 100px; - } - - .wrap { - clear: both; - margin-right: 12px; - margin-left: 0; - } - - /* categories */ - #col-left, - #col-right { - float: none; - width: auto; - } - - #col-left .col-wrap, - #col-right .col-wrap { - padding: 0; - } - - /* Hidden Elements */ - #collapse-menu, - .post-format-select { - display: none !important; - } - - .wrap h1.wp-heading-inline { - margin-bottom: 0.5em; - } - - .wrap .add-new-h2, /* deprecated */ - .wrap .add-new-h2:active, /* deprecated */ - .wrap .page-title-action, - .wrap .page-title-action:active { - padding: 10px 15px; - font-size: 14px; - white-space: nowrap; - } - - /* Feedback Messages */ - .notice, - .wrap div.updated, - .wrap div.error, - .media-upload-form div.error { - margin: 20px 0 10px; - padding: 5px 10px; - font-size: 14px; - line-height: 175%; - } - - .wp-core-ui .notice.is-dismissible { - padding-right: 46px; - } - - .notice-dismiss { - padding: 13px; - } - - .wrap .icon32 + h2 { - margin-top: -2px; - } - - .wp-responsive-open #wpbody { - right: -16em; - } - - code { - word-wrap: break-word; - word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */ - word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */ - } - - /* General Metabox */ - .postbox { - font-size: 14px; - } - - .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ - .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ - .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ - .metabox-holder h2 { - padding: 12px; - } - - .postbox .handlediv { - margin-top: 3px; - } - - /* Subsubsub Nav */ - .subsubsub { - font-size: 16px; - text-align: center; - margin-bottom: 15px; - } - - /* Theme/Plugin File Editor */ - - #template textarea, - #template .CodeMirror { - box-sizing: border-box; - } - - #templateside { - float: none; - width: auto; - } - - #templateside > ul { - border-left: 1px solid #dcdcde; - } - - #templateside li { - margin: 0; - } - - #templateside li:not(.howto) a { - display: block; - padding: 5px; - } - #templateside li.howto { - padding: 12px; - } - - #templateside .highlight { - padding: 5px; - margin-left: -5px; - margin-top: -5px; - } - - #template > div, - #template .notice { - float: none; - margin: 1em 0; - width: auto; - } - - #template .CodeMirror, - #template textarea { - width: 100%; - } - - #templateside ul ul { - padding-left: 1.5em; - } - [role="treeitem"] .folder-label { - display: block; - padding: 5px; - } - .tree-folder > li::before, - .tree-folder > li::after, - .tree-folder .tree-folder::after { - left: -8px; - } - .tree-folder > li::before { - top: 0; - height: 13px; - } - .tree-folder > .current-file::before { - left: -5px; - top: 7px; - width: 4px; - } - .tree-folder > .current-file::after { - height: 9px; - left: -8px; - } - .wrap #templateside span.notice { - margin-left: -5px; - width: 100%; - } - - .fileedit-sub .alignright { - float: left; - margin-top: 15px; - width: 100%; - text-align: left; - } - - .fileedit-sub .alignright label { - display: block; - } - - .fileedit-sub #theme, - .fileedit-sub #plugin { - margin-left: 0; - max-width: 70%; - } - - .fileedit-sub input[type="submit"] { - margin-bottom: 0; - } - - #documentation label[for="docs-list"] { - display: block; - } - - #documentation select[name="docs-list"] { - margin-left: 0; - max-width: 60%; - } - - #documentation input[type="button"] { - margin-bottom: 0; - } - - #wpfooter { - display: none; - } - - #comments-form .checkforspam { - display: none; - } - - .edit-comment-author { - margin: 2px 0 0; - } - - .filter-drawer .filter-group-feature input, - .filter-drawer .filter-group-feature label { - line-height: 2.1; - } - - .filter-drawer .filter-group-feature label { - margin-left: 32px; - } - - .wp-filter .button.drawer-toggle { - font-size: 13px; - line-height: 2; - height: 28px; - } - - /* Fix help tab columns for smaller screens */ - #screen-meta #contextual-help-wrap { - overflow: visible; - } - - #screen-meta #contextual-help-back, - #screen-meta .contextual-help-sidebar { - display: none; - } - - #screen-meta .contextual-help-tabs { - clear: both; - width: 100%; - float: none; - } - - #screen-meta .contextual-help-tabs ul { - margin: 0 0 1em; - padding: 1em 0 0; - } - - #screen-meta .contextual-help-tabs .active { - margin: 0; - } - - #screen-meta .contextual-help-tabs-wrap { - clear: both; - max-width: 100%; - float: none; - } - - #screen-meta, - #screen-meta-links { - margin-right: 10px; - } - - #screen-meta-links { - margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */ - } - - .wp-filter .search-form input[type="search"] { - font-size: 1rem; - } - - .wp-filter .search-form.search-plugins { - /* This element is a flex item. */ - min-width: 100%; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Disable horizontal scroll when responsive menu is open - since we push the main content off to the right. */ - #wpwrap.wp-responsive-open { - overflow-x: hidden; - } - - html.wp-toolbar { - padding-top: 0; - } - - .screen-reader-shortcut:focus { - top: 7px; - } - - #wpbody { - padding-top: 46px; - } - - /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ - div#post-body.metabox-holder.columns-1 { - overflow-x: hidden; - } - - h1.nav-tab-wrapper, - .wrap h2.nav-tab-wrapper, - .nav-tab-wrapper { - border-bottom: 0; - } - - h1 .nav-tab, - h2 .nav-tab, - h3 .nav-tab, - nav .nav-tab { - margin: 10px 10px 0 0; - border-bottom: 1px solid #c3c4c7; - } - - .nav-tab-active:hover, - .nav-tab-active:focus, - .nav-tab-active:focus:active { - border-bottom: 1px solid #c3c4c7; - } - - .wp-filter .search-form input[type="search"] { - width: 100%; - } -} - -@media screen and (max-width: 320px) { - /* Prevent default center alignment and larger font for the Right Now widget when - the network dashboard is viewed on a small mobile device. */ - #network_dashboard_right_now .subsubsub { - font-size: 14px; - text-align: left; - } -} diff --git a/build/wp-admin/css/common.min.css b/build/wp-admin/css/common.min.css deleted file mode 100644 index 6009a68e78..0000000000 --- a/build/wp-admin/css/common.min.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! This file is auto-generated */ -#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-left:20px}#wpcontent,#wpfooter{margin-left:160px}.folded #wpcontent,.folded #wpfooter{margin-left:36px}#wpbody-content{padding-bottom:65px;float:left;width:100%;overflow:visible}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-right:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-2000px}.has-right-sidebar #post-body-content{margin-right:300px;float:none;width:auto}#col-left{float:left;width:35%}#col-right{float:right;width:65%}#col-left .col-wrap{padding:0 6px 0 0}#col-right .col-wrap{padding:0 0 0 6px}.alignleft{float:left}.alignright{float:right}.textleft{text-align:left}.textright{text-align:right}.clear{clear:both}.wp-clearfix:after{content:"";display:table;clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.button .screen-reader-text{height:auto}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{left:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f0f0f1;color:#2271b1;z-index:100000;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:2px solid transparent;outline-offset:-2px}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.comment-ays,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04)}.comment-ays,.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}body{background:#f0f0f1;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}body.mobile.modal-open #wpwrap{overflow:hidden;position:fixed;height:100%}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#2271b1;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#135e96}.wp-person a:focus .gravatar,a:focus,a:focus .media-icon img,a:focus .plugin-icon{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:1px solid transparent}#adminmenu a:focus{box-shadow:none;outline:1px solid transparent;outline-offset:-1px}.screen-reader-text:focus{box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}.wp-die-message,p{font-size:13px;line-height:1.5;margin:1em 0}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{color:#1d2327;font-size:2em;margin:.67em 0}h2,h3{color:#1d2327;font-size:1.3em;margin:1em 0}.update-core-php h2{margin-top:4em}.update-messages h2,.update-php h2,h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-left:2em}ul.ul-disc{list-style:disc outside}ul.ul-square{list-style:square outside}ol.ol-decimal{list-style:decimal outside}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-left:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.ltr{direction:ltr}.code,code{font-family:Consolas,Monaco,monospace;direction:ltr;unicode-bidi:embed}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#f0f0f1;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;float:left;color:#646970}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#50575e;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat *{word-wrap:break-word}.widefat a,.widefat button.button-link{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead td,.widefat thead th{border-bottom:1px solid #c3c4c7}.widefat tfoot td,.widefat tfoot th{border-top:1px solid #c3c4c7;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat tfoot td,.widefat th,.widefat thead td{text-align:left;line-height:1.3em;font-size:14px}.updates-table td input,.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 0 0 8px;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat tbody th.check-column{padding:9px 0 22px}.updates-table tbody td.check-column,.widefat tbody th.check-column,.widefat tfoot td.check-column,.widefat thead td.check-column{padding:11px 0 0 3px}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:4px;vertical-align:middle}.update-php div.error,.update-php div.updated{margin-left:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 20px 0 2px}.wrap.block-editor-no-js{padding-left:20px}.postbox .inside h2,.wrap [class$=icon32]+h2,.wrap h1,.wrap>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px;line-height:1.3}.wrap h1.wp-heading-inline{display:inline-block;margin-right:5px}.wp-header-end{visibility:hidden;margin:-2px 0 0}.subtitle{margin:0;padding-left:25px;color:#50575e;font-size:14px;font-weight:400;line-height:1}.subtitle strong{word-break:break-all}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:1px solid #2271b1;border-radius:2px;text-shadow:none;font-weight:600;font-size:13px;line-height:normal;color:#2271b1;background:#f6f7f7;cursor:pointer}.wrap .wp-heading-inline+.page-title-action{margin-left:0}.wrap .add-new-h2:hover,.wrap .page-title-action:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}.page-title-action:focus{color:#0a4b78}.form-table th label[for=WPLANG] .dashicons,.form-table th label[for=locale] .dashicons{margin-left:5px}.wrap .page-title-action:focus{border-color:#3582c4;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.wrap h1.long-header{padding-right:0}.wp-dialog{background-color:#fff}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#8c8f94;box-shadow:0 1px 2px rgba(0,0,0,.1)}.sorthelper{background-color:#c5d9ed}.ac_match,.subsubsub a.current{color:#000}.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd){background-color:#f6f7f7}.bar{background-color:#f0f0f1;border-right-color:#4f94d4}.highlight{background-color:#f0f6fc;color:#3c434a}.wp-ui-primary{color:#fff;background-color:#2c3338}.wp-ui-text-primary{color:#2c3338}.wp-ui-highlight{color:#fff;background-color:#2271b1}.wp-ui-text-highlight{color:#2271b1}.wp-ui-notification{color:#fff;background-color:#d63638}.wp-ui-text-notification{color:#d63638}.wp-ui-text-icon{color:#8c8f94}img.emoji{display:inline!important;border:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:0 0!important;padding:0!important;box-shadow:none!important}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot td,.widefat tfoot th,.widefat thead td,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#f6f7f7;color:#1d2327}.stuffbox .hndle{border-bottom:1px solid #c3c4c7}.quicktags{background-color:#c3c4c7;color:#000;font-size:12px}.icon32{display:none}#bulk-titles .ntdelbutton:before,.notice-dismiss:before,.tagchecklist .ntdelbutton .remove-tag-icon:before,.welcome-panel .welcome-panel-close:before{background:0 0;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;speak:never;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.welcome-panel .welcome-panel-close:before{margin:0}.tagchecklist .ntdelbutton .remove-tag-icon:before{margin-left:2px;border-radius:50%;color:#2271b1;line-height:1.28}.tagchecklist .ntdelbutton:focus{outline:0}#bulk-titles .ntdelbutton:focus:before,#bulk-titles .ntdelbutton:hover:before,.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,.tagchecklist .ntdelbutton:hover .remove-tag-icon:before{color:#d63638}.tagchecklist .ntdelbutton:focus .remove-tag-icon:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap;word-wrap:break-word}.howto{color:#646970;display:block}p.install-help{margin:8px 0;font-style:italic}.no-break{white-space:nowrap}hr{border:0;border-top:1px solid #dcdcde;border-bottom:1px solid #f6f7f7}#all-plugins-table .plugins a.delete,#delete-link a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.privacy_requests .remove-personal-data .remove-personal-data-handle,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete,a#remove-post-thumbnail{color:#b32d2e}#all-plugins-table .plugins a.delete:hover,#delete-link a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.privacy_requests .remove-personal-data .remove-personal-data-handle:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,a#remove-post-thumbnail:hover,abbr.required,span.required{color:#b32d2e;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #dcdcde;background:#f6f7f7}#delete-action{float:left;line-height:2.30769231}#delete-link{line-height:2.30769231;vertical-align:middle;text-align:left;margin-left:8px}#delete-link a{text-decoration:none}#publishing-action{text-align:right;float:right;line-height:1.9}#publishing-action .spinner{float:none;margin-top:5px}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}.misc-pub-filename,.word-wrap-break-word{word-wrap:break-word}#minor-publishing-actions{padding:10px 10px 0;text-align:right}#save-post{float:left}.preview{float:right}#sticky-span{margin-left:18px}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:right}#misc-publishing-actions .notice{margin-left:10px;margin-right:10px}.wp-filter{display:inline-block;position:relative;box-sizing:border-box;margin:12px 0 25px;padding:0 10px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #c3c4c7;background:#fff;color:#50575e;font-size:13px}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;border-radius:30px;background:#646970;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-left:5px;margin-right:20px}.filter-items{float:left}.filter-links{display:inline-block;margin:0}.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#646970;cursor:pointer}.filter-links .current{box-shadow:none;border-bottom:4px solid #646970;color:#1d2327}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#135e96}.wp-filter .search-form{float:right;margin:10px 0}.wp-filter .search-form input[type=search]{margin:1px 0;width:280px;max-width:100%}.wp-filter .search-form select{margin:0}.plugin-install-php .wp-filter{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}.wp-filter .search-form.search-plugins{margin-top:0}.wp-filter .search-form.search-plugins .wp-filter-search,.wp-filter .search-form.search-plugins select{display:inline-block;margin-top:10px;vertical-align:top}.wp-filter .button.drawer-toggle{margin:10px 9px 0;padding:0 10px 0 6px;border-color:transparent;background-color:transparent;color:#646970;vertical-align:baseline;box-shadow:none}.wp-filter .drawer-toggle:before{content:"\f111";margin:0 5px 0 0;color:#646970;font:normal 16px/1 dashicons;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-filter .button.drawer-toggle:focus,.wp-filter .button.drawer-toggle:hover,.wp-filter .drawer-toggle:focus:before,.wp-filter .drawer-toggle:hover:before{background-color:transparent;color:#135e96}.wp-filter .button.drawer-toggle:focus:active,.wp-filter .button.drawer-toggle:hover{border-color:transparent}.wp-filter .button.drawer-toggle:focus{border-color:#4f94d4}.wp-filter .button.drawer-toggle:active{background:0 0;box-shadow:none;transform:none}.wp-filter .drawer-toggle.current:before{color:#fff}.filter-drawer,.wp-filter .favorites-form{display:none;margin:0 -10px 0 -20px;padding:20px;border-top:1px solid #f0f0f1;background:#f6f7f7;overflow:hidden}.show-favorites-form .favorites-form,.show-filters .filter-drawer{display:block}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .button.drawer-toggle{border-radius:2px;background:#646970;color:#fff}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2271b1}.show-filters .wp-filter .drawer-toggle:before{color:#fff}.filter-group{box-sizing:border-box;position:relative;float:left;margin:0 1% 0 0;padding:20px 10px 10px;width:24%;background:#fff;border:1px solid #dcdcde;box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group legend{position:absolute;top:10px;display:block;margin:0;padding:0;font-size:1em;font-weight:600}.filter-drawer .filter-group-feature{margin:28px 0 0;list-style-type:none;font-size:12px}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{line-height:1.4}.filter-drawer .filter-group-feature input{position:absolute;margin:0}.filter-group .filter-group-feature label{display:block;margin:14px 0 14px 23px}.filter-drawer .buttons{clear:both;margin-bottom:20px}.filter-drawer .filter-group+.buttons{margin-bottom:0;padding-top:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.wp-filter .button.clear-filters{display:none;margin-left:10px}.wp-filter .button-link.edit-filters{padding:0 5px;line-height:2.2}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-left:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;border:1px solid #dcdcde;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters .favorites-form,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.filter-drawer{border-bottom:1px solid #f0f0f1}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:1000px){.filter-items{float:none}.wp-filter .media-toolbar-primary,.wp-filter .media-toolbar-secondary,.wp-filter .search-form{float:none;position:relative;max-width:100%}}@media only screen and (max-width:782px){.filter-group li{padding:0;width:50%}}@media only screen and (max-width:320px){.filter-count{display:none}.wp-filter .drawer-toggle{margin:10px 0}.filter-group li,.wp-filter .search-form input[type=search]{width:100%}}.notice,div.error,div.updated{background:#fff;border:1px solid #c3c4c7;border-left-width:4px;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:5px 15px 2px;padding:1px 12px}div[class=update-message]{padding:.5em 12px .5em 0}.form-table td .notice p,.notice p,.notice-title,div.error p,div.updated p{margin:.5em 0;padding:2px}.error a{text-decoration:underline}.updated a{padding-bottom:2px}.notice-alt{box-shadow:none}.notice-large{padding:10px 20px}.notice-title{display:inline-block;color:#1d2327;font-size:18px}.wp-core-ui .notice.is-dismissible{padding-right:38px;position:relative}.notice-dismiss{position:absolute;top:0;right:1px;border:none;margin:0;padding:9px;background:0 0;color:#787c82;cursor:pointer}.notice-dismiss:active:before,.notice-dismiss:focus:before,.notice-dismiss:hover:before{color:#d63638}.notice-dismiss:focus{outline:0;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.notice-success,div.updated{border-left-color:#00a32a}.notice-success.notice-alt{background-color:#edfaef}.notice-warning{border-left-color:#dba617}.notice-warning.notice-alt{background-color:#fcf9e8}.notice-error,div.error{border-left-color:#d63638}.notice-error.notice-alt{background-color:#fcf0f1}.notice-info{border-left-color:#72aee6}.notice-info.notice-alt{background-color:#f0f6fc}.button.installed:before,.button.installing:before,.button.updated-message:before,.button.updating-message:before,.import-php .updating-message:before,.update-message p:before,.updated-message p:before,.updating-message p:before{display:inline-block;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.media-upload-form .notice,.media-upload-form div.error,.wrap .notice,.wrap div.error,.wrap div.updated{margin:5px 0 15px}.wrap #templateside .notice{display:block;margin:0;padding:5px 8px;font-weight:600;text-decoration:none}.wrap #templateside span.notice{margin-left:-12px}#templateside li.notice a{padding:0}.button.installing:before,.button.updating-message:before,.import-php .updating-message:before,.update-message p:before,.updating-message p:before{color:#d63638;content:"\f463"}.button.installing:before,.button.updating-message:before,.import-php .updating-message:before,.plugins .column-auto-updates .dashicons-update.spin,.theme-overlay .theme-autoupdate .dashicons-update.spin,.updating-message p:before{animation:rotation 2s infinite linear}@media (prefers-reduced-motion:reduce){.button.installing:before,.button.updating-message:before,.import-php .updating-message:before,.plugins .column-auto-updates .dashicons-update.spin,.theme-overlay .theme-autoupdate .dashicons-update.spin,.updating-message p:before{animation:none}}.theme-overlay .theme-autoupdate .dashicons-update.spin{margin-right:3px}.button.updated-message:before,.installed p:before,.updated-message p:before{color:#68de7c;content:"\f147"}.update-message.notice-error p:before{color:#d63638;content:"\f534"}.import-php .updating-message:before,.wrap .notice p:before{margin-right:6px}.import-php .updating-message:before{vertical-align:bottom}#update-nag,.update-nag{display:inline-block;line-height:1.4;padding:11px 15px;font-size:14px;margin:25px 20px 0 2px}ul#dismissed-updates{display:none}#dismissed-updates li>p{margin-top:0}#dismiss,#undismiss{margin-left:.5em}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}.update-php .spinner{float:none;margin:-4px 0}h2.wp-current-version{margin-bottom:.3em}p.update-last-checked{margin-top:0}p.auto-update-status{margin-top:2em;line-height:1.8}#ajax-loading,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading{visibility:hidden}#ajax-response.alignleft{margin-left:2em}.button.installed:before,.button.installing:before,.button.updated-message:before,.button.updating-message:before{margin:3px 5px 0 -2px}.button-primary.updating-message:before{color:#fff}.button-primary.updated-message:before{color:#9ec2e6}.button.updated-message{transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}@media aural{.button.installed:before,.button.installing:before,.update-message p:before,.wrap .notice p:before{speak:never}}#adminmenu a,#catlist a,#taglist a{text-decoration:none}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-left:0}#screen-meta-links{float:right;margin:0 20px 0 0}#screen-meta{display:none;margin:0 20px -1px 0;position:relative;background-color:#fff;border:1px solid #c3c4c7;border-top:none;box-shadow:0 0 0 transparent}#contextual-help-link-wrap,#screen-options-link-wrap{float:left;margin:0 0 0 6px}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links .show-settings{border:1px solid #c3c4c7;border-top:none;height:auto;margin-bottom:0;padding:3px 6px 3px 16px;background:#fff;border-radius:0 0 4px 4px;color:#646970;line-height:1.7;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear}#screen-meta-links .show-settings:active,#screen-meta-links .show-settings:focus,#screen-meta-links .show-settings:hover{color:#2c3338}#screen-meta-links .show-settings:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}#screen-meta-links .show-settings:active{transform:none}#screen-meta-links .show-settings:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:never;display:inline-block;padding:0 5px 0 0;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none}#screen-meta-links .screen-meta-active:after{content:"\f142"}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom left}#contextual-help-wrap h5,#screen-options-wrap h5,#screen-options-wrap legend{margin:0;padding:8px 0;font-size:13px;font-weight:600}.metabox-prefs label{display:inline-block;padding-right:15px;line-height:2.35}#number-of-columns{display:inline-block;vertical-align:middle;line-height:30px}.metabox-prefs input[type=checkbox]{margin-top:0;margin-right:6px}.metabox-prefs label input,.metabox-prefs label input[type=checkbox]{margin:-4px 5px 0 0}.metabox-prefs .columns-prefs label input{margin:-1px 2px 0 0}.metabox-prefs label a{display:none}.metabox-prefs .screen-options input,.metabox-prefs .screen-options label{margin-top:0;margin-bottom:0;vertical-align:middle}.metabox-prefs .screen-options .screen-per-page{margin-right:15px;padding-right:0}.metabox-prefs .screen-options label{line-height:2.2;padding-right:0}.screen-options+.screen-options{margin-top:10px}.metabox-prefs .submit{margin-top:1em;padding:0}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;left:150px;right:170px;border:1px solid #c3c4c7;border-top:none;border-bottom:none;background:#f0f6fc}#contextual-help-wrap.no-sidebar #contextual-help-back{right:0;border-right-width:0;border-bottom-right-radius:2px}.contextual-help-tabs{float:left;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 0 0 2px;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 5px 5px 12px;line-height:1.4;text-decoration:none;border:1px solid transparent;border-right:none;border-left:none}.contextual-help-tabs a:hover{color:#2c3338}.contextual-help-tabs .active{padding:0;margin:0 -1px 0 0;border-left:2px solid #72aee6;background:#f0f6fc;box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#c3c4c7;color:#2c3338}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 22px 12px 0;line-height:1.6}.help-tab-content.active{display:block}.help-tab-content ul li{list-style-type:disc;margin-left:18px}.contextual-help-sidebar{width:150px;float:right;padding:0 8px 0 12px;overflow:auto}html.wp-toolbar{padding-top:32px;box-sizing:border-box;-ms-overflow-style:scrollbar}.widefat td,.widefat th{color:#50575e}.widefat tfoot td,.widefat th,.widefat thead td{font-weight:400}.widefat tfoot tr td,.widefat tfoot tr th,.widefat thead tr td,.widefat thead tr th{color:#2c3338}.widefat td p{margin:2px 0 .8em}.widefat ol,.widefat p,.widefat ul{color:#2c3338}.widefat .column-comment p{margin:.6em 0}.widefat .column-comment ul{list-style:initial;margin-left:2em}.postbox-container{float:left}.postbox-container .meta-box-sortables{box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .meta-box-sortables{min-height:1px;position:relative}#post-body-content{width:100%;min-width:463px;float:left}#post-body.columns-2 #postbox-container-1{float:right;margin-right:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{outline:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.js .postbox .hndle.is-non-sortable,.js .widget .widget-top.is-non-sortable{cursor:auto}.hndle a{font-size:12px;font-weight:400}.postbox-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c3c4c7}.postbox-header .hndle{flex-grow:1;display:flex;justify-content:space-between;align-items:center}.postbox-header .handle-actions{flex-shrink:0}.postbox .handle-order-higher,.postbox .handle-order-lower,.postbox .handlediv{width:36px;height:36px;margin:0;padding:0;border:0;background:0 0;cursor:pointer}.postbox .handle-order-higher,.postbox .handle-order-lower{color:#787c82;width:1.62rem}.edit-post-meta-boxes-area .postbox .handle-order-higher,.edit-post-meta-boxes-area .postbox .handle-order-lower{width:44px;height:44px;color:#1d2327}.postbox .handle-order-higher[aria-disabled=true],.postbox .handle-order-lower[aria-disabled=true]{cursor:default;color:#a7aaad}.sortable-placeholder{border:1px dashed #c3c4c7;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox.closed{border-bottom:0}.postbox .hndle,.stuffbox .hndle{-webkit-user-select:none;user-select:none}.postbox .inside{padding:0 12px 12px;line-height:1.4;font-size:13px}.stuffbox .inside{padding:0;line-height:1.4;font-size:13px;margin-top:0}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{box-shadow:none}.temp-border{border:1px dotted #c3c4c7}.columns-prefs label{padding:0 10px 0 0}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#comment-status-display,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.plugins .name{font-weight:600}#wpfooter{position:absolute;bottom:0;left:0;right:0;padding:10px 20px;color:#50575e}#wpfooter p{font-size:13px;margin:0;line-height:1.55}#footer-thankyou{font-style:italic}.nav-tab{float:left;border:1px solid #c3c4c7;border-bottom:none;margin-left:.5em;padding:5px 10px;font-size:14px;line-height:1.71428571;font-weight:600;background:#dcdcde;color:#50575e;text-decoration:none;white-space:nowrap}.nav-tab-small .nav-tab,h3 .nav-tab{padding:5px 14px;font-size:12px;line-height:1.33}.nav-tab:focus,.nav-tab:hover{background-color:#fff;color:#3c434a}.nav-tab-active,.nav-tab:focus:active{box-shadow:none}.nav-tab-active{margin-bottom:-1px;color:#3c434a}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{border-bottom:1px solid #f0f0f1;background:#f0f0f1;color:#000}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper{border-bottom:1px solid #c3c4c7;margin:0;padding-top:9px;padding-bottom:0;line-height:inherit}.nav-tab-wrapper:not(.wp-clearfix):after{content:"";display:table;clear:both}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;display:inline-block;visibility:hidden;float:right;vertical-align:middle;opacity:.7;width:20px;height:20px;margin:4px 10px 0}.loading-content .spinner,.spinner.is-active{visibility:visible}#template>div{margin-right:16em}#template .notice{margin-top:1em;margin-right:3%}#template .notice p{width:auto}#template .submit .spinner{float:none}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2.hndle,.metabox-holder h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.nav-menus-php .metabox-holder h3{padding:10px 10px 11px 14px;line-height:1.5}#templateside ul li a{text-decoration:none}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:left}.attention,.error-message{color:#d63638;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}.media-icon{width:62px;text-align:center}.media-icon img{border:1px solid #dcdcde;border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px;display:block}.importers{font-size:16px;width:auto}.importers td{padding-right:14px;line-height:1.4}.importers .import-system{max-width:250px}.importers td.desc{max-width:500px}.importer-action,.importer-desc,.importer-title{display:block}.importer-title{color:#000;font-size:14px;font-weight:400;margin-bottom:.2em}.importer-action{line-height:1.55;color:#50575e;margin-bottom:1em}#post-body #post-body-content #namediv h2,#post-body #post-body-content #namediv h3{margin-top:0}.edit-comment-author{color:#1d2327;border-bottom:1px solid #f0f0f1}#namediv h2 label,#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px;white-space:nowrap}#namediv input{width:100%}#namediv p{margin:10px 0}.zerosize{height:0;width:0;margin:0;border:0;padding:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:.15}.checkbox{border:none;margin:0;padding:0}fieldset{border:0;padding:0;margin:0}.post-categories{display:inline;margin:0;padding:0}.post-categories li{display:inline}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) repeat-x bottom left}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) repeat-x top left;height:17px;float:left}.star-rating{white-space:nowrap}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;transition:color .1s ease-in;text-align:center;color:#dba617}.star-rating .star-full:before{content:"\f155"}.star-rating .star-half:before{content:"\f459"}.rtl .star-rating .star-half{transform:rotateY(180deg)}.star-rating .star-empty:before{content:"\f154"}div.action-links{font-weight:400;margin:6px 0 0}#plugin-information{background:#fff;position:fixed;top:0;right:0;bottom:0;left:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;-webkit-overflow-scrolling:touch;height:100%}#plugin-information-title{padding:0 26px;background:#f6f7f7;font-size:22px;font-weight:600;line-height:2.4;position:relative;height:56px}#plugin-information-title.with-banner{margin-right:0;height:250px;background-size:cover}#plugin-information-title h2{font-size:1em;font-weight:600;padding:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner h2{position:relative;font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:1.68;box-sizing:border-box;max-width:100%;padding:0 15px;margin-top:174px;color:#fff;background:rgba(29,35,39,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 0 30px rgba(255,255,255,.1);border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{position:absolute;display:block;top:0;left:0;height:250px;width:100%;background:0 0;box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;right:0;left:0;min-height:36px;font-size:0;z-index:1;border-bottom:1px solid #dcdcde;background:#f6f7f7}#plugin-information-tabs a{position:relative;display:inline-block;padding:9px 10px;margin:0;height:18px;line-height:1.3;font-size:14px;text-decoration:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px -1px;background:#fff;border:1px solid #dcdcde;border-bottom-color:#fff;padding-top:8px;color:#2c3338}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;right:0;left:0;min-height:100%;min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;right:250px;bottom:0;left:0;margin-top:10px;margin-right:250px;padding:10px 26px 99999px;margin-bottom:-99932px}#section-holder .notice{margin:5px 0 15px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{float:right;position:relative;top:0;right:0;padding:16px 16px 99999px;margin-bottom:-99932px;width:217px;border-left:1px solid #dcdcde;background:#f6f7f7;color:#646970}#plugin-information .fyi strong{color:#3c434a}#plugin-information .fyi h3{font-weight:600;text-transform:uppercase;font-size:12px;color:#646970;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-right:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .fyi-description{margin-top:0}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:left;margin-right:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#dcdcde;float:left}#plugin-information .counter-bar{height:17px;background-color:#f0c33c;float:left}#plugin-information .counter-count{margin-left:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-right:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li{display:inline-block;margin-right:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-right:4px}#plugin-information-footer{padding:13px 16px;position:absolute;right:0;bottom:0;left:0;height:40px;border-top:1px solid #dcdcde;background:#f6f7f7}#plugin-information .section{direction:ltr}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #c3c4c7}#plugin-information blockquote{border-left:2px solid #dcdcde;color:#646970;font-style:italic;margin:1em 0;padding:0 0 0 1em}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #dcdcde}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}.update-php .button.button-primary{margin-right:1em}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:2;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #dcdcde;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}#TB_window.plugin-details-modal{background:#fff}#TB_window.plugin-details-modal.thickbox-loading:before{content:"";display:block;width:20px;height:20px;position:absolute;left:50%;top:50%;z-index:-1;margin:-10px 0 0 -10px;background:#fff url(../images/spinner.gif) no-repeat center;background-size:20px 20px;transform:translateZ(0)}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#TB_window.plugin-details-modal.thickbox-loading:before{background-image:url(../images/spinner-2x.gif)}}.plugin-details-modal #TB_title{float:left;height:1px}.plugin-details-modal #TB_ajaxWindowTitle{display:none}.plugin-details-modal #TB_closeWindowButton{left:auto;right:-30px;color:#f0f0f1}.plugin-details-modal #TB_closeWindowButton:focus,.plugin-details-modal #TB_closeWindowButton:hover{color:#135e96;outline:0;box-shadow:none}.plugin-details-modal .tb-close-icon{display:none}.plugin-details-modal #TB_closeWindowButton:after{content:"\f335";font:normal 32px/29px dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width:830px){.plugin-details-modal #TB_closeWindowButton{right:0;top:-30px}}img{border:none}.bulk-action-notice .toggle-indicator::before,.meta-box-sortables .postbox .order-higher-indicator::before,.meta-box-sortables .postbox .order-lower-indicator::before,.meta-box-sortables .postbox .toggle-indicator::before,.privacy-text-box .toggle-indicator::before,.sidebar-name .toggle-indicator::before{content:"\f142";display:inline-block;font:normal 20px/1 dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none}.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before,.js .widgets-holder-wrap.closed .toggle-indicator::before,.meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before,.privacy-text-box.closed .toggle-indicator::before{content:"\f140"}.postbox .handle-order-higher .order-higher-indicator::before{content:"\f343";color:inherit}.postbox .handle-order-lower .order-lower-indicator::before{content:"\f347";color:inherit}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{position:relative;top:.11rem;width:20px;height:20px}.postbox .handlediv .toggle-indicator::before{width:20px;border-radius:50%}.postbox .handlediv .toggle-indicator::before{position:relative;top:.05rem;text-indent:-1px}.rtl .postbox .handlediv .toggle-indicator::before{text-indent:1px}.bulk-action-notice .toggle-indicator::before{line-height:16px;vertical-align:top;color:#787c82}.postbox .handle-order-higher:focus,.postbox .handle-order-lower:focus,.postbox .handlediv:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:1px solid transparent}.postbox .handle-order-higher:focus .order-higher-indicator::before,.postbox .handle-order-lower:focus .order-lower-indicator::before,.postbox .handlediv:focus .toggle-indicator::before{box-shadow:none;outline:1px solid transparent}#photo-add-url-div input[type=text]{width:300px}.alignleft h2{margin:0}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;background:#f6f7f7;-o-tab-size:4;tab-size:4}#template .CodeMirror,#template textarea{width:100%;min-height:60vh;height:calc(100vh - 295px);border:1px solid #dcdcde;box-sizing:border-box}#templateside>h2{padding-top:6px;padding-bottom:7px;margin:0}#templateside ol,#templateside ul{margin:0;padding:0}#templateside>ul{box-sizing:border-box;margin-top:0;overflow:auto;padding:0;min-height:60vh;height:calc(100vh - 295px);background-color:#f6f7f7;border:1px solid #dcdcde;border-left:none}#templateside ul ul{padding-left:12px}#templateside>ul>li>ul[role=group]{padding-left:0}[role=treeitem][aria-expanded=false]>ul{display:none}[role=treeitem] span[aria-hidden]{display:inline;font-family:dashicons;font-size:20px;position:absolute;pointer-events:none}[role=treeitem][aria-expanded=false]>.folder-label .icon:after{content:"\f139"}[role=treeitem][aria-expanded=true]>.folder-label .icon:after{content:"\f140"}[role=treeitem] .folder-label{display:block;padding:3px 3px 3px 12px;cursor:pointer}[role=treeitem]{outline:0}[role=treeitem] .folder-label.focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}[role=treeitem] .folder-label.hover,[role=treeitem].hover{background-color:#f0f0f1}.tree-folder{margin:0;position:relative}[role=treeitem] li{position:relative}.tree-folder .tree-folder::after{content:"";display:block;position:absolute;left:2px;border-left:1px solid #c3c4c7;top:-13px;bottom:10px}.tree-folder>li::before{content:"";position:absolute;display:block;border-left:1px solid #c3c4c7;left:2px;top:-5px;height:18px;width:7px;border-bottom:1px solid #c3c4c7}.tree-folder>li::after{content:"";position:absolute;display:block;border-left:1px solid #c3c4c7;left:2px;bottom:-7px;top:0}#templateside .current-file{margin:-4px 0 -2px}.tree-folder>.current-file::before{left:4px;height:15px;width:0;border-left:none;top:3px}.tree-folder>.current-file::after{bottom:-4px;height:7px;left:2px;top:auto}.tree-folder li:last-child>.tree-folder::after,.tree-folder>li:last-child::after{display:none}#documentation label,#theme-plugin-editor-label,#theme-plugin-editor-selector{font-weight:600}#theme-plugin-editor-label{display:inline-block;margin-bottom:1em}#docs-list,#template textarea{direction:ltr}.fileedit-sub #plugin,.fileedit-sub #theme{max-width:40%}.fileedit-sub .alignright{text-align:right}#template p{width:97%}#file-editor-linting-error{margin-top:1em;margin-bottom:1em}#file-editor-linting-error>.notice{margin:0;display:inline-block}#file-editor-linting-error>.notice>p{width:auto}#template .submit{margin-top:1em;padding:0}#template .submit input[type=submit][disabled]{cursor:not-allowed}#templateside{float:right;width:16em;word-wrap:break-word}#postcustomstuff p.submit{margin:0}#templateside h4{margin:1em 0 0}#templateside li{margin:4px 0}#templateside li:not(.howto) a,.theme-editor-php .highlight{display:block;padding:3px 0 3px 12px;text-decoration:none}#templateside li:not(.howto)>a:first-of-type{padding-top:0}#templateside li.howto{padding:6px 12px 12px}.theme-editor-php .highlight{margin:-3px 3px -3px -12px}#templateside .highlight{border:none;font-weight:600}.nonessential{color:#646970;font-size:11px;font-style:italic;padding-left:12px}#documentation{margin-top:10px}#documentation label{line-height:1.8;vertical-align:baseline}.fileedit-sub{padding:10px 0 8px;line-height:180%}#file-editor-warning .file-editor-warning-content{margin:25px}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top .widget-action .toggle-indicator:before{content:"\f140";font:normal 20px/1 dashicons;speak:never;display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none}.widget-top .widget-action .toggle-indicator:before{padding:1px 2px 1px 0;border-radius:50%}.accordion-section-title:after,.handlediv,.item-edit,.postbox .handlediv.button-link,.toggle-indicator{color:#787c82}.widget-action{color:#50575e}.accordion-section-title:hover:after,.handlediv:focus,.handlediv:hover,.item-edit:focus,.item-edit:hover,.postbox .handlediv.button-link:focus,.postbox .handlediv.button-link:hover,.sidebar-name:hover .toggle-indicator,.widget-action:focus,.widget-top:hover .widget-action{color:#1d2327;outline:1px solid transparent}.widget-top .widget-action:focus .toggle-indicator:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.accordion-section-title:after,.control-section .accordion-section-title:after{float:right;right:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top .widget-action .toggle-indicator:before,.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before{content:"\f142"}/*! - * jQuery UI Draggable/Sortable 1.11.4 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */.ui-draggable-handle,.ui-sortable-handle{touch-action:none}.accordion-section{border-bottom:1px solid #dcdcde;margin:0}.accordion-section.open .accordion-section-content,.no-js .accordion-section .accordion-section-content{display:block}.accordion-section.open:hover{border-bottom-color:#dcdcde}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-left:1px solid #dcdcde;border-right:1px solid #dcdcde;-webkit-user-select:none;user-select:none}.js .accordion-section-title{cursor:pointer}.js .accordion-section-title:after{position:absolute;top:12px;right:10px;z-index:1}.accordion-section-title:focus{outline:1px solid transparent}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#a7aaad transparent;outline:1px solid transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title,.customize-pane-child .accordion-section-title{border-left:none;border-right:none;padding:10px 10px 11px 14px;line-height:1.55;background:#fff}.control-section .accordion-section-title:after,.customize-pane-child .accordion-section-title:after{top:calc(50% - 10px)}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#1d2327;background:#f6f7f7}.control-section.open .accordion-section-title{border-bottom:1px solid #dcdcde}.network-admin .edit-site-actions{margin-top:0}.my-sites{display:block;overflow:auto;zoom:1}.my-sites li{display:block;padding:8px 3%;min-height:130px;margin:0}@media only screen and (max-width:599px){.my-sites li{min-height:0}}@media only screen and (min-width:600px){.my-sites.striped li{background-color:#fff;position:relative}.my-sites.striped li:after{content:"";width:1px;height:100%;position:absolute;top:0;right:0;background:#c3c4c7}}@media only screen and (min-width:600px) and (max-width:699px){.my-sites li{float:left;width:44%}.my-sites.striped li{background-color:#fff}.my-sites.striped li:nth-of-type(2n+1){clear:left}.my-sites.striped li:nth-of-type(2n+2):after{content:none}.my-sites li:nth-of-type(4n+1),.my-sites li:nth-of-type(4n+2){background-color:#f6f7f7}}@media only screen and (min-width:700px) and (max-width:1199px){.my-sites li{float:left;width:27.333333%;background-color:#fff}.my-sites.striped li:nth-of-type(3n+3):after{content:none}.my-sites li:nth-of-type(6n+1),.my-sites li:nth-of-type(6n+2),.my-sites li:nth-of-type(6n+3){background-color:#f6f7f7}}@media only screen and (min-width:1200px) and (max-width:1399px){.my-sites li{float:left;width:21%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(4n+1){clear:left}.my-sites.striped li:nth-of-type(4n+4):after{content:none}.my-sites li:nth-of-type(8n+1),.my-sites li:nth-of-type(8n+2),.my-sites li:nth-of-type(8n+3),.my-sites li:nth-of-type(8n+4){background-color:#f6f7f7}}@media only screen and (min-width:1400px) and (max-width:1599px){.my-sites li{float:left;width:16%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(5n+1){clear:left}.my-sites.striped li:nth-of-type(5n+5):after{content:none}.my-sites li:nth-of-type(10n+1),.my-sites li:nth-of-type(10n+2),.my-sites li:nth-of-type(10n+3),.my-sites li:nth-of-type(10n+4),.my-sites li:nth-of-type(10n+5){background-color:#f6f7f7}}@media only screen and (min-width:1600px){.my-sites li{float:left;width:12.666666%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(6n+1){clear:left}.my-sites.striped li:nth-of-type(6n+6):after{content:none}.my-sites li:nth-of-type(12n+1),.my-sites li:nth-of-type(12n+2),.my-sites li:nth-of-type(12n+3),.my-sites li:nth-of-type(12n+4),.my-sites li:nth-of-type(12n+5),.my-sites li:nth-of-type(12n+6){background-color:#f6f7f7}}.my-sites li a{text-decoration:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){html.wp-toolbar{padding-top:46px}.screen-reader-shortcut:focus{top:-39px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:transparent!important}#wpcontent{position:relative;margin-left:0;padding-left:10px}#wpbody-content{padding-bottom:100px}.wrap{clear:both;margin-right:12px;margin-left:0}#col-left,#col-right{float:none;width:auto}#col-left .col-wrap,#col-right .col-wrap{padding:0}#collapse-menu,.post-format-select{display:none!important}.wrap h1.wp-heading-inline{margin-bottom:.5em}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{padding:10px 15px;font-size:14px;white-space:nowrap}.media-upload-form div.error,.notice,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wp-core-ui .notice.is-dismissible{padding-right:46px}.notice-dismiss{padding:13px}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{right:-16em}code{word-wrap:break-word;word-wrap:anywhere;word-break:break-word}.postbox{font-size:14px}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2,.metabox-holder h3.hndle{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#template .CodeMirror,#template textarea{box-sizing:border-box}#templateside{float:none;width:auto}#templateside>ul{border-left:1px solid #dcdcde}#templateside li{margin:0}#templateside li:not(.howto) a{display:block;padding:5px}#templateside li.howto{padding:12px}#templateside .highlight{padding:5px;margin-left:-5px;margin-top:-5px}#template .notice,#template>div{float:none;margin:1em 0;width:auto}#template .CodeMirror,#template textarea{width:100%}#templateside ul ul{padding-left:1.5em}[role=treeitem] .folder-label{display:block;padding:5px}.tree-folder .tree-folder::after,.tree-folder>li::after,.tree-folder>li::before{left:-8px}.tree-folder>li::before{top:0;height:13px}.tree-folder>.current-file::before{left:-5px;top:7px;width:4px}.tree-folder>.current-file::after{height:9px;left:-8px}.wrap #templateside span.notice{margin-left:-5px;width:100%}.fileedit-sub .alignright{float:left;margin-top:15px;width:100%;text-align:left}.fileedit-sub .alignright label{display:block}.fileedit-sub #plugin,.fileedit-sub #theme{margin-left:0;max-width:70%}.fileedit-sub input[type=submit]{margin-bottom:0}#documentation label[for=docs-list]{display:block}#documentation select[name=docs-list]{margin-left:0;max-width:60%}#documentation input[type=button]{margin-bottom:0}#wpfooter{display:none}#comments-form .checkforspam{display:none}.edit-comment-author{margin:2px 0 0}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{line-height:2.1}.filter-drawer .filter-group-feature label{margin-left:32px}.wp-filter .button.drawer-toggle{font-size:13px;line-height:2;height:28px}#screen-meta #contextual-help-wrap{overflow:visible}#screen-meta #contextual-help-back,#screen-meta .contextual-help-sidebar{display:none}#screen-meta .contextual-help-tabs{clear:both;width:100%;float:none}#screen-meta .contextual-help-tabs ul{margin:0 0 1em;padding:1em 0 0}#screen-meta .contextual-help-tabs .active{margin:0}#screen-meta .contextual-help-tabs-wrap{clear:both;max-width:100%;float:none}#screen-meta,#screen-meta-links{margin-right:10px}#screen-meta-links{margin-bottom:20px}.wp-filter .search-form input[type=search]{font-size:1rem}.wp-filter .search-form.search-plugins{min-width:100%}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open{overflow-x:hidden}html.wp-toolbar{padding-top:0}.screen-reader-shortcut:focus{top:7px}#wpbody{padding-top:46px}div#post-body.metabox-holder.columns-1{overflow-x:hidden}.nav-tab-wrapper,.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper{border-bottom:0}h1 .nav-tab,h2 .nav-tab,h3 .nav-tab,nav .nav-tab{margin:10px 10px 0 0;border-bottom:1px solid #c3c4c7}.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{border-bottom:1px solid #c3c4c7}.wp-filter .search-form input[type=search]{width:100%}}@media screen and (max-width:320px){#network_dashboard_right_now .subsubsub{font-size:14px;text-align:left}} \ No newline at end of file diff --git a/build/wp-admin/css/customize-controls-rtl.css b/build/wp-admin/css/customize-controls-rtl.css deleted file mode 100644 index aa4c6e95ec..0000000000 --- a/build/wp-admin/css/customize-controls-rtl.css +++ /dev/null @@ -1,3002 +0,0 @@ -/*! This file is auto-generated */ -body { - overflow: hidden; - -webkit-text-size-adjust: 100%; -} - -.customize-controls-close, -.widget-control-actions a { - text-decoration: none; -} - -#customize-controls h3 { - font-size: 14px; -} - -#customize-controls img { - max-width: 100%; -} - -#customize-controls .submit { - text-align: center; -} - -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked { - background-color: rgba(0, 0, 0, 0.7); - padding: 25px; -} - -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message { - margin-right: auto; - margin-left: auto; - max-width: 366px; - min-height: 64px; - width: auto; - padding: 25px 109px 25px 25px; - position: relative; - background: #fff; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); - line-height: 1.5; - overflow-y: auto; - text-align: right; - top: calc( 50% - 100px ); -} - -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing { - margin-top: 0; -} -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .action-buttons { - margin-bottom: 0; -} - -.customize-changeset-locked-avatar { - width: 64px; - position: absolute; - right: 25px; - top: 25px; -} - -.wp-core-ui.wp-customizer .customize-changeset-locked-message a.button { - margin-left: 10px; - margin-top: 0; -} - -#customize-controls .description { - color: #50575e; -} - -#customize-save-button-wrapper { - float: left; - margin-top: 9px; -} - -body:not(.ready) #customize-save-button-wrapper .save { - visibility: hidden; -} -#customize-save-button-wrapper .save { - float: right; - border-radius: 3px; - box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */ - margin-top: 0; -} - -#customize-save-button-wrapper .save:focus, #publish-settings:focus { - box-shadow: 0 1px 0 #2271b1, 0 0 2px 1px #72aee6; /* This is default box shadow for focus */ -} - -#customize-save-button-wrapper .save.has-next-sibling { - border-radius: 0 3px 3px 0; -} - -#customize-sidebar-outer-content { - position: absolute; - top: 0; - bottom: 0; - right: 0; - visibility: hidden; - overflow-x: hidden; - overflow-y: auto; - width: 100%; - margin: 0; - z-index: -1; - background: #f0f0f1; - transition: right .18s; - border-left: 1px solid #dcdcde; - border-right: 1px solid #dcdcde; - height: 100%; -} - -@media (prefers-reduced-motion: reduce) { - #customize-sidebar-outer-content { - transition: none; - } -} - -#customize-theme-controls .control-section-outer { - display: none !important; -} - -#customize-outer-theme-controls .accordion-section-content { - padding: 12px; -} - -#customize-outer-theme-controls .accordion-section-content.open { - display: block; -} - -.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content { - visibility: visible; - right: 100%; - transition: right .18s; -} - -@media (prefers-reduced-motion: reduce) { - .outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content { - transition: none; - } -} - -.customize-outer-pane-parent { - margin: 0; -} - -.outer-section-open .wp-full-overlay.expanded .wp-full-overlay-main { - right: 300px; - opacity: 0.4; -} - -.outer-section-open .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main, -.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, -.adding-menu-items .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main, -.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, -.adding-widget .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main, -.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main { - right: 64%; -} - -#customize-outer-theme-controls li.notice { - padding-top: 8px; - padding-bottom: 8px; - margin-right: 0; - margin-bottom: 10px; -} - -#publish-settings { - text-indent: 0; - border-radius: 3px 0 0 3px; - padding-right: 0; - padding-left: 0; - box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */ - font-size: 14px; - width: 30px; - float: right; - transform: none; - margin-top: 0; - line-height: 2; -} - -body:not(.ready) #publish-settings, -body.trashing #customize-save-button-wrapper .save, -body.trashing #publish-settings { - display: none; -} - -#customize-header-actions .spinner { - margin-top: 13px; - margin-left: 4px; -} - -.saving #customize-header-actions .spinner, -.trashing #customize-header-actions .spinner { - visibility: visible; -} - -#customize-header-actions { - border-bottom: 1px solid #dcdcde; -} - -#customize-controls .wp-full-overlay-sidebar-content { - overflow-y: auto; - overflow-x: hidden; -} - -.outer-section-open #customize-controls .wp-full-overlay-sidebar-content { - background: #f0f0f1; -} - -#customize-controls .customize-info { - border: none; - border-bottom: 1px solid #dcdcde; - margin-bottom: 15px; -} - -#customize-control-changeset_status .customize-inside-control-row, -#customize-control-changeset_preview_link input { - background-color: #fff; - border-bottom: 1px solid #dcdcde; - box-sizing: content-box; - width: 100%; - margin-right: -12px; - padding-right: 12px; - padding-left: 12px; -} - -#customize-control-trash_changeset { - margin-top: 20px; -} -#customize-control-trash_changeset .button-link { - position: relative; - padding-right: 24px; - display: inline-block; -} -#customize-control-trash_changeset .button-link:before { - content: "\f182"; - font: normal 22px dashicons; - text-decoration: none; - position: absolute; - right: 0; - top: -2px; -} - -#customize-controls .date-input:invalid { - border-color: #d63638; -} - -#customize-control-changeset_status .customize-inside-control-row { - padding-top: 10px; - padding-bottom: 10px; - font-weight: 500; -} - -#customize-control-changeset_status .customize-inside-control-row:first-of-type { - border-top: 1px solid #dcdcde; -} - -#customize-control-changeset_status .customize-control-title { - margin-bottom: 6px; -} - -#customize-control-changeset_status input { - margin-right: 0; -} - -#customize-control-changeset_preview_link { - position: relative; - display: block; -} - -.preview-link-wrapper .customize-copy-preview-link.preview-control-element.button { - margin: 0; - position: absolute; - bottom: 9px; - left: 0; -} - -.preview-link-wrapper { - position: relative; -} - -.customize-copy-preview-link:before, -.customize-copy-preview-link:after { - content: ""; - height: 28px; - position: absolute; - background: #fff; - top: -1px; -} - -.customize-copy-preview-link:before { - right: -10px; - width: 9px; - opacity: 0.75; -} - -.customize-copy-preview-link:after { - right: -5px; - width: 4px; - opacity: 0.8; -} - -#customize-control-changeset_preview_link input { - line-height: 2.85714286; /* 40px */ - border-top: 1px solid #dcdcde; - border-right: none; - border-left: none; - text-indent: -999px; - color: #fff; - /* Only necessary for IE11 */ - min-height: 40px; -} - -#customize-control-changeset_preview_link label { - position: relative; - display: block; -} - -#customize-control-changeset_preview_link a { - display: inline-block; - position: absolute; - white-space: nowrap; - overflow: hidden; - width: 90%; - bottom: 14px; - font-size: 14px; - text-decoration: none; -} - -#customize-control-changeset_preview_link a.disabled, -#customize-control-changeset_preview_link a.disabled:active, -#customize-control-changeset_preview_link a.disabled:focus, -#customize-control-changeset_preview_link a.disabled:visited { - color: #000; - opacity: 0.4; - cursor: default; - outline: none; - box-shadow: none; -} - -#sub-accordion-section-publish_settings .customize-section-description-container { - display: none; -} - -#customize-controls .customize-info.section-meta { - margin-bottom: 15px; -} - -.customize-control-date_time .customize-control-description + .date-time-fields.includes-time { - margin-top: 10px; -} - -.customize-control.customize-control-date_time .date-time-fields .date-input.day { - margin-left: 0; -} - -.date-time-fields .date-input.month { - width: auto; - margin: 0; -} - -.date-time-fields .date-input.day, -.date-time-fields .date-input.hour, -.date-time-fields .date-input.minute { - width: 46px; -} - -.date-time-fields .date-input.year { - width: 65px; -} - -.date-time-fields .date-input.meridian { - width: auto; - margin: 0; -} - -.date-time-fields .time-row { - margin-top: 12px; -} - -#customize-control-changeset_preview_link { - margin-top: 6px; -} - -#customize-control-changeset_status { - margin-bottom: 0; - padding-bottom: 0; -} - -#customize-control-changeset_scheduled_date { - box-sizing: content-box; - width: 100%; - margin-right: -12px; - padding: 12px; - background: #fff; - border-bottom: 1px solid #dcdcde; - margin-bottom: 0; -} - -#customize-control-changeset_scheduled_date .customize-control-description { - font-style: normal; -} - -#customize-controls .customize-info.is-in-view, -#customize-controls .customize-section-title.is-in-view { - position: absolute; - z-index: 9; - width: 100%; - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -} - -#customize-controls .customize-section-title.is-in-view { - margin-top: 0; -} - -#customize-controls .customize-info.is-in-view + .accordion-section { - margin-top: 15px; -} - -#customize-controls .customize-info.is-sticky, -#customize-controls .customize-section-title.is-sticky { - position: fixed; - top: 46px; -} - -#customize-controls .customize-info .accordion-section-title { - background: #fff; - color: #50575e; - border-right: none; - border-left: none; - border-bottom: none; - cursor: default; -} - -#customize-controls .customize-info.open .accordion-section-title:after, -#customize-controls .customize-info .accordion-section-title:hover:after, -#customize-controls .customize-info .accordion-section-title:focus:after { - color: #2c3338; -} - -#customize-controls .customize-info .accordion-section-title:after { - display: none; -} - -#customize-controls .customize-info .preview-notice { - font-size: 13px; - line-height: 1.9; -} - -#customize-controls .customize-pane-child .customize-section-title h3, -#customize-controls .customize-pane-child h3.customize-section-title, -#customize-outer-theme-controls .customize-pane-child .customize-section-title h3, -#customize-outer-theme-controls .customize-pane-child h3.customize-section-title, -#customize-controls .customize-info .panel-title { - font-size: 20px; - font-weight: 200; - line-height: 26px; - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -#customize-controls .customize-section-title span.customize-action { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -#customize-controls .customize-info .customize-help-toggle { - position: absolute; - top: 4px; - left: 1px; - padding: 20px 10px 10px 20px; - width: 20px; - height: 20px; - cursor: pointer; - box-shadow: none; - background: transparent; - color: #50575e; - border: none; -} - -#customize-controls .customize-info .customize-help-toggle:before { - position: absolute; - top: 5px; - right: 6px; -} - -#customize-controls .customize-info.open .customize-help-toggle, -#customize-controls .customize-info .customize-help-toggle:focus, -#customize-controls .customize-info .customize-help-toggle:hover { - color: #2271b1; -} - -#customize-controls .customize-info .customize-panel-description, -#customize-controls .customize-info .customize-section-description, -#customize-outer-theme-controls .customize-info .customize-section-description, -#customize-controls .no-widget-areas-rendered-notice { - color: #50575e; - display: none; - background: #fff; - padding: 12px 15px; - border-top: 1px solid #dcdcde; -} - -#customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice { - border-top: none; -} -.no-widget-areas-rendered-notice { - font-style: italic; -} -.no-widget-areas-rendered-notice p:first-child { - margin-top: 0; -} -.no-widget-areas-rendered-notice p:last-child { - margin-bottom: 0; -} - -#customize-controls .customize-info .customize-section-description { - margin-bottom: 15px; -} - -#customize-controls .customize-info .customize-panel-description p:first-child, -#customize-controls .customize-info .customize-section-description p:first-child { - margin-top: 0; -} - -#customize-controls .customize-info .customize-panel-description p:last-child, -#customize-controls .customize-info .customize-section-description p:last-child { - margin-bottom: 0; -} - -#customize-controls .current-panel .control-section > h3.accordion-section-title { - padding-left: 30px; -} - -#customize-theme-controls .control-section, -#customize-outer-theme-controls .control-section { - border: none; -} - -#customize-theme-controls .accordion-section-title, -#customize-outer-theme-controls .accordion-section-title { - color: #50575e; - background-color: #fff; - border-bottom: 1px solid #dcdcde; - border-right: 4px solid #fff; - transition: - .15s color ease-in-out, - .15s background-color ease-in-out, - .15s border-color ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - #customize-theme-controls .accordion-section-title, - #customize-outer-theme-controls .accordion-section-title { - transition: none; - } -} - -#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title { - color: #50575e; - background-color: #fff; - border-right: 4px solid #fff; -} - -#customize-theme-controls .accordion-section-title:after, -#customize-outer-theme-controls .accordion-section-title:after { - content: "\f341"; - color: #a7aaad; -} - -#customize-theme-controls .accordion-section-content, -#customize-outer-theme-controls .accordion-section-content { - color: #50575e; - background: transparent; -} - -#customize-controls .control-section:hover > .accordion-section-title, -#customize-controls .control-section .accordion-section-title:hover, -#customize-controls .control-section.open .accordion-section-title, -#customize-controls .control-section .accordion-section-title:focus { - color: #2271b1; - background: #f6f7f7; - border-right-color: #2271b1; -} - -#accordion-section-themes + .control-section { - border-top: 1px solid #dcdcde; -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - background: #f6f7f7; -} - -#customize-theme-controls .control-section:hover > .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:hover:after, -#customize-theme-controls .control-section.open .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:focus:after, -#customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -#customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -#customize-outer-theme-controls .control-section.open .accordion-section-title:after, -#customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #2271b1; -} - -#customize-theme-controls .control-section.open { - border-bottom: 1px solid #f0f0f1; -} - -#customize-theme-controls .control-section.open .accordion-section-title, -#customize-outer-theme-controls .control-section.open .accordion-section-title { - border-bottom-color: #f0f0f1 !important; -} - -#customize-theme-controls .control-section:last-of-type.open, -#customize-theme-controls .control-section:last-of-type > .accordion-section-title { - border-bottom-color: #dcdcde; -} - -#customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2), -#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu, -#customize-theme-controls .control-section-nav_menu_locations .accordion-section-title { - border-top: 1px solid #dcdcde; -} - -#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu + .control-section-nav_menu { - border-top: none; -} - -#customize-theme-controls > ul { - margin: 0; -} - -#customize-theme-controls .accordion-section-content { - position: absolute; - top: 0; - right: 100%; - width: 100%; - margin: 0; - padding: 12px; - box-sizing: border-box; -} - -#customize-info, -#customize-theme-controls .customize-pane-parent, -#customize-theme-controls .customize-pane-child { - overflow: visible; - width: 100%; - margin: 0; - padding: 0; - box-sizing: border-box; - transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */ -} - -@media (prefers-reduced-motion: reduce) { - #customize-info, - #customize-theme-controls .customize-pane-parent, - #customize-theme-controls .customize-pane-child { - transition: none; - } -} - -#customize-theme-controls .customize-pane-child.skip-transition { - transition: none; -} - -#customize-info, -#customize-theme-controls .customize-pane-parent { - position: relative; - visibility: visible; - height: auto; - max-height: none; - overflow: auto; - transform: none; -} - -#customize-theme-controls .customize-pane-child { - position: absolute; - top: 0; - right: 0; - visibility: hidden; - height: 0; - max-height: none; - overflow: hidden; - transform: translateX(-100%); -} - -#customize-theme-controls .customize-pane-child.open, -#customize-theme-controls .customize-pane-child.current-panel { - transform: none; -} - -.section-open #customize-theme-controls .customize-pane-parent, -.in-sub-panel #customize-theme-controls .customize-pane-parent, -.section-open #customize-info, -.in-sub-panel #customize-info, -.in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel { - visibility: hidden; - height: 0; - overflow: hidden; - transform: translateX(100%); -} - -.section-open #customize-theme-controls .customize-pane-parent.busy, -.in-sub-panel #customize-theme-controls .customize-pane-parent.busy, -.section-open #customize-info.busy, -.in-sub-panel #customize-info.busy, -.busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel, -#customize-theme-controls .customize-pane-child.open, -#customize-theme-controls .customize-pane-child.current-panel, -#customize-theme-controls .customize-pane-child.busy { - visibility: visible; - height: auto; - overflow: auto; -} - -#customize-theme-controls .customize-pane-child.accordion-section-content, -#customize-theme-controls .customize-pane-child.accordion-sub-container { - display: block; - overflow-x: hidden; -} - -#customize-theme-controls .customize-pane-child.accordion-section-content { - padding: 12px; -} - -#customize-theme-controls .customize-pane-child.menu li { - position: static; -} - -.customize-section-description-container, -.control-section-nav_menu .customize-section-description-container, -.control-section-new_menu .customize-section-description-container { - margin-bottom: 15px; -} - -.control-section-nav_menu .customize-control, -.control-section-new_menu .customize-control { - /* Override default `margin-bottom` for `.customize-control` */ - margin-bottom: 0; -} - -.customize-section-title { - margin: -12px -12px 0; - border-bottom: 1px solid #dcdcde; - background: #fff; -} - -div.customize-section-description { - margin-top: 22px; -} - -.customize-info div.customize-section-description { - margin-top: 0; -} - -div.customize-section-description p:first-child { - margin-top: 0; -} - -div.customize-section-description p:last-child { - margin-bottom: 0; -} - -#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child { - border-bottom: 1px solid #dcdcde; - padding: 12px; -} - -.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child { - padding: 12px 12px 13px; -} - -.customize-section-title h3, -h3.customize-section-title { - padding: 10px 14px 12px 10px; - margin: 0; - line-height: 21px; - color: #50575e; -} - -.accordion-sub-container.control-panel-content { - display: none; - position: absolute; - top: 0; - width: 100%; -} - -.accordion-sub-container.control-panel-content.busy { - display: block; -} - -.current-panel .accordion-sub-container.control-panel-content { - width: 100%; -} - -.customize-controls-close { - display: block; - position: absolute; - top: 0; - right: 0; - width: 45px; - height: 41px; - padding: 0 0 0 2px; - background: #f0f0f1; - border: none; - border-top: 4px solid #f0f0f1; - border-left: 1px solid #dcdcde; - color: #3c434a; - text-align: right; - cursor: pointer; - transition: - color .15s ease-in-out, - border-color .15s ease-in-out, - background .15s ease-in-out; - box-sizing: content-box; -} - -.customize-panel-back, -.customize-section-back { - display: block; - float: right; - width: 48px; - height: 71px; - padding: 0 0 0 24px; - margin: 0; - background: #fff; - border: none; - border-left: 1px solid #dcdcde; - border-right: 4px solid #fff; - box-shadow: none; - cursor: pointer; - transition: - color .15s ease-in-out, - border-color .15s ease-in-out, - background .15s ease-in-out; -} - -.customize-section-back { - height: 74px; -} - -.ios .customize-panel-back { - display: none; -} - -.ios .expanded.in-sub-panel .customize-panel-back { - display: block; -} - -#customize-controls .panel-meta.customize-info .accordion-section-title { - margin-right: 48px; - border-right: none; -} - -#customize-controls .panel-meta.customize-info .accordion-section-title:hover, -#customize-controls .cannot-expand:hover .accordion-section-title { - background: #fff; - color: #50575e; - border-right-color: #fff; -} - -.customize-controls-close:focus, -.customize-controls-close:hover, -.customize-controls-preview-toggle:focus, -.customize-controls-preview-toggle:hover { - background: #fff; - color: #2271b1; - border-top-color: #2271b1; - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -#customize-theme-controls .accordion-section-title:focus .customize-action { - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; - outline-offset: 1px; -} - -.customize-panel-back:hover, -.customize-panel-back:focus, -.customize-section-back:hover, -.customize-section-back:focus { - color: #2271b1; - background: #f6f7f7; - border-right-color: #2271b1; - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.customize-controls-close:before { - font: normal 22px/45px dashicons; - content: "\f335"; - position: relative; - top: -3px; - right: 13px; -} - -.customize-panel-back:before, -.customize-section-back:before { - font: normal 20px/72px dashicons; - content: "\f345"; - position: relative; - right: 9px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - background-color: #f0f0f1; - transition: padding ease-in-out .18s; -} - -.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header { - padding-right: 62px; -} - -p.customize-section-description { - font-style: normal; - margin-top: 22px; - margin-bottom: 0; -} - -.customize-section-description ul { - margin-right: 1em; -} - -.customize-section-description ul > li { - list-style: disc; -} - -.section-description-buttons { - text-align: left; -} - -.customize-control { - width: 100%; - float: right; - clear: both; - margin-bottom: 12px; -} - -.customize-control input[type="text"], -.customize-control input[type="password"], -.customize-control input[type="email"], -.customize-control input[type="number"], -.customize-control input[type="search"], -.customize-control input[type="tel"], -.customize-control input[type="url"], -.customize-control input[type="range"] { - width: 100%; - margin: 0; -} - -.customize-control-hidden { - margin: 0; -} - -.customize-control-textarea textarea { - width: 100%; - resize: vertical; -} - -.customize-control select { - width: 100%; -} - -.customize-control select[multiple] { - height: auto; -} - -.customize-control-title { - display: block; - font-size: 14px; - line-height: 1.75; - font-weight: 600; - margin-bottom: 4px; -} - -.customize-control-description { - display: block; - font-style: italic; - line-height: 1.4; - margin-top: 0; - margin-bottom: 5px; -} - -.customize-section-description a.external-link:after { - font: 16px/11px dashicons; - content: "\f504"; - top: 3px; - position: relative; - padding-right: 3px; - display: inline-block; - text-decoration: none; -} - -.customize-control-color .color-picker, -.customize-control-upload div { - line-height: 28px; -} - -.customize-control .customize-inside-control-row { - line-height: 1.6; - display: block; - margin-right: 24px; - padding-top: 6px; - padding-bottom: 6px; -} - -.customize-control-radio input, -.customize-control-checkbox input, -.customize-control-nav_menu_auto_add input { - margin-left: 4px; - margin-right: -24px; -} - -.customize-control-radio { - padding: 5px 0 10px; -} - -.customize-control-radio .customize-control-title { - margin-bottom: 0; - line-height: 1.6; -} - -.customize-control-radio .customize-control-title + .customize-control-description { - margin-top: 7px; -} - -.customize-control-radio label, -.customize-control-checkbox label { - vertical-align: top; -} - -.customize-control .attachment-thumb.type-icon { - float: right; - margin: 10px; - width: auto; -} - -.customize-control .attachment-title { - font-weight: 600; - margin: 0; - padding: 5px 10px; -} - -.customize-control .attachment-meta { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - margin: 0; - padding: 0 10px; -} - -.customize-control .attachment-meta-title { - padding-top: 7px; -} - -/* Remove descender space. */ -.customize-control .thumbnail-image, -.customize-control-header .current, -.customize-control .wp-media-wrapper.wp-video { - line-height: 0; -} - -/* Remove descender space. */ -.customize-control-site_icon .favicon-preview .browser-preview { - vertical-align: top; -} - -.customize-control .thumbnail-image img { - cursor: pointer; -} - -#customize-controls .thumbnail-audio .thumbnail { - max-width: 64px; - max-height: 64px; - margin: 10px; - float: right; -} - -#available-menu-items .accordion-section-content .new-content-item, -.customize-control-dropdown-pages .new-content-item { - width: calc(100% - 30px); - padding: 8px 15px; - position: absolute; - bottom: 0; - z-index: 10; - background: #f0f0f1; - display: flex; -} - -.customize-control-dropdown-pages .new-content-item { - width: 100%; - padding: 5px 1px 5px 0; - position: relative; -} - -#available-menu-items .new-content-item .create-item-input, -.customize-control-dropdown-pages .new-content-item .create-item-input { - flex-grow: 10; -} - -#available-menu-items .new-content-item .add-content, -.customize-control-dropdown-pages .new-content-item .add-content { - margin: 2px 6px 2px 0; - flex-grow: 1; -} - -.customize-control-dropdown-pages .new-content-item .create-item-input.invalid { - border: 1px solid #d63638; -} - -.customize-control-dropdown-pages .add-new-toggle { - margin-right: 1px; - font-weight: 600; - line-height: 2.2; -} - -#customize-preview iframe { - width: 100%; - height: 100%; - position: absolute; -} -#customize-preview iframe + iframe { - visibility: hidden; -} - -.wp-full-overlay-sidebar { - background: #f0f0f1; - border-left: 1px solid #dcdcde; -} - - -/** - * Notifications - */ - -#customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */ - margin: 4px 0 8px; - padding: 0; - cursor: default; -} - -#customize-controls .customize-control-widget_form.has-error .widget .widget-top, -.customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle { - box-shadow: inset 0 0 0 2px #d63638; - transition: .15s box-shadow linear; -} - -#customize-controls .customize-control-notifications-container li.notice { - list-style: none; - margin: 0 0 6px; - padding: 9px 14px; - overflow: hidden; -} -#customize-controls .customize-control-notifications-container .notice.is-dismissible { - padding-left: 38px; -} - -.customize-control-notifications-container li.notice:last-child { - margin-bottom: 0; -} - -#customize-controls .customize-control-nav_menu_item .customize-control-notifications-container { - margin-top: 0; -} - -#customize-controls .customize-control-widget_form .customize-control-notifications-container { - margin-top: 8px; -} - -.customize-control-text.has-error input { - outline: 2px solid #d63638; -} - -#customize-controls #customize-notifications-area { - position: absolute; - top: 46px; - width: 100%; - border-bottom: 1px solid #dcdcde; - display: block; - padding: 0; - margin: 0; -} - -.wp-full-overlay.collapsed #customize-controls #customize-notifications-area { - display: none !important; -} - -#customize-controls #customize-notifications-area:not(.has-overlay-notifications), -#customize-controls .customize-section-title > .customize-control-notifications-container:not(.has-overlay-notifications), -#customize-controls .panel-meta > .customize-control-notifications-container:not(.has-overlay-notifications) { - max-height: 210px; - overflow-x: hidden; - overflow-y: auto; -} - -#customize-controls #customize-notifications-area > ul, -#customize-controls #customize-notifications-area .notice, -#customize-controls .panel-meta > .customize-control-notifications-container, -#customize-controls .panel-meta > .customize-control-notifications-container .notice, -#customize-controls .customize-section-title > .customize-control-notifications-container, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice { - margin: 0; -} -#customize-controls .panel-meta > .customize-control-notifications-container, -#customize-controls .customize-section-title > .customize-control-notifications-container { - border-top: 1px solid #dcdcde; -} -#customize-controls #customize-notifications-area .notice, -#customize-controls .panel-meta > .customize-control-notifications-container .notice, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice { - padding: 9px 14px; -} -#customize-controls #customize-notifications-area .notice.is-dismissible, -#customize-controls .panel-meta > .customize-control-notifications-container .notice.is-dismissible, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice.is-dismissible { - padding-left: 38px; -} -#customize-controls #customize-notifications-area .notice + .notice, -#customize-controls .panel-meta > .customize-control-notifications-container .notice + .notice, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice + .notice { - margin-top: 1px; -} - -@keyframes customize-fade-in { - 0% { opacity: 0; } - 100% { opacity: 1; } -} - -#customize-controls .notice.notification-overlay, -#customize-controls #customize-notifications-area .notice.notification-overlay { - margin: 0; - border-right: 0; /* @todo Appropriate styles could be added for notice-error, notice-warning, notice-success, etc */ -} - -#customize-controls .customize-control-notifications-container.has-overlay-notifications { - animation: customize-fade-in 0.5s; - z-index: 30; -} - -/* Note: Styles for this are also defined in themes.css */ -#customize-controls #customize-notifications-area .notice.notification-overlay .notification-message { - clear: both; - color: #1d2327; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 2em 0; - text-align: center; - width: 100%; - display: block; - top: 50%; - position: relative; -} - -/* Style for custom settings */ - -/** - * Static front page - */ - -#customize-control-show_on_front.has-error { - margin-bottom: 0; -} -#customize-control-show_on_front.has-error .customize-control-notifications-container { - margin-top: 12px; -} - -/** - * Dropdowns - */ - -.accordion-section .dropdown { - float: right; - display: block; - position: relative; - cursor: pointer; -} - -.accordion-section .dropdown-content { - overflow: hidden; - float: right; - min-width: 30px; - height: 16px; - line-height: 16px; - margin-left: 16px; - padding: 4px 5px; - border: 2px solid #f0f0f1; - -webkit-user-select: none; - user-select: none; -} - -/* @todo maybe no more used? */ -.customize-control .dropdown-arrow { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 20px; - background: #f0f0f1; -} - -.customize-control .dropdown-arrow:after { - content: "\f140"; - font: normal 20px/1 dashicons; - speak: never; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #2c3338; -} - -.customize-control .dropdown-status { - color: #2c3338; - background: #f0f0f1; - display: none; - max-width: 112px; -} - -.customize-control-color .dropdown { - margin-left: 5px; - margin-bottom: 5px; -} - -.customize-control-color .dropdown .dropdown-content { - background-color: #50575e; - border: 1px solid rgba(0, 0, 0, 0.15); -} - -.customize-control-color .dropdown:hover .dropdown-content { - border-color: rgba(0, 0, 0, 0.25); -} - -/** - * iOS can't scroll iframes, - * instead it expands the iframe size to match the size of the content - */ - -.ios .wp-full-overlay { - position: relative; -} - -.ios #customize-controls .wp-full-overlay-sidebar-content { - -webkit-overflow-scrolling: touch; -} - -/* Media controls */ - -.customize-control .actions .button { - margin-top: 12px; -} - -.customize-control-header .actions, -.customize-control-header .uploaded { - margin-bottom: 18px; -} - -.customize-control-header .uploaded button:not(.random), -.customize-control-header .default button:not(.random) { - width: 100%; - padding: 0; - margin: 0; - background: none; - border: none; - color: inherit; - cursor: pointer; -} - -.customize-control-header button img { - display: block; -} - -.customize-control .attachment-media-view .remove-button, -.customize-control .attachment-media-view .default-button, -.customize-control .attachment-media-view .upload-button, -.customize-control-header button.new, -.customize-control-header button.remove { - width: auto; - height: auto; - white-space: normal; -} - -.customize-control .attachment-media-view .thumbnail, -.customize-control-header .current .container { - overflow: hidden; -} - -.customize-control .attachment-media-view .placeholder, -.customize-control .attachment-media-view .button-add-media, -.customize-control-header .placeholder { - width: 100%; - position: relative; - text-align: center; - cursor: default; - border: 1px dashed #c3c4c7; - box-sizing: border-box; - padding: 9px 0; - line-height: 1.6; -} - -.customize-control .attachment-media-view .button-add-media { - cursor: pointer; - background-color: #f0f0f1; - color: #2c3338; -} - -.customize-control .attachment-media-view .button-add-media:hover { - background-color: #fff; -} - -.customize-control .attachment-media-view .button-add-media:focus { - background-color: #fff; - border-color: #3582c4; - border-style: solid; - box-shadow: 0 0 0 1px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.customize-control-header .inner { - display: none; - position: absolute; - width: 100%; - color: #50575e; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - -.customize-control-header .inner, -.customize-control-header .inner .dashicons { - line-height: 20px; - top: 8px; -} - -.customize-control-header .list .inner, -.customize-control-header .list .inner .dashicons { - top: 9px; -} - -.customize-control-header .header-view { - position: relative; - width: 100%; - margin-bottom: 12px; -} - -.customize-control-header .header-view:last-child { - margin-bottom: 0; -} - -/* Convoluted, but 'outline' support isn't good enough yet */ -.customize-control-header .header-view:after { - border: 0; -} - -.customize-control-header .header-view.selected .choice:focus { - outline: none; -} - -.customize-control-header .header-view.selected:after { - content: ""; - position: absolute; - height: auto; - top: 0; - right: 0; - bottom: 0; - left: 0; - border: 4px solid #72aee6; - border-radius: 2px; -} - -.customize-control-header .header-view.button.selected { - border: 0; -} - -/* Header control: overlay "close" button */ - -.customize-control-header .uploaded .header-view .close { - font-size: 20px; - color: #fff; - background: #50575e; - background: rgba(0, 0, 0, 0.5); - position: absolute; - top: 10px; - right: -999px; - z-index: 1; - width: 26px; - height: 26px; - cursor: pointer; -} - -.customize-control-header .header-view:hover .close, -.customize-control-header .header-view .close:focus { - right: auto; - left: 10px; -} - -.customize-control-header .header-view .close:focus { - outline: 1px solid #4f94d4; -} - -/* Header control: randomiz(s)er */ - -.customize-control-header .random.placeholder { - cursor: pointer; - border-radius: 2px; - height: 40px; -} - -.customize-control-header button.random { - width: 100%; - height: auto; - min-height: 40px; - white-space: normal; -} - -.customize-control-header button.random .dice { - margin-top: 4px; -} - -.customize-control-header .placeholder:hover .dice, -.customize-control-header .header-view:hover > button.random .dice { - animation: dice-color-change 3s infinite; -} - -.button-see-me { - animation: bounce .7s 1; - transform-origin: center bottom; -} - -@keyframes bounce { - from, 20%, 53%, 80%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - transform: translate3d(0,0,0); - } - - 40%, 43% { - animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); - transform: translate3d(0, -12px, 0); - } - - 70% { - animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); - transform: translate3d(0, -6px, 0); - } - - 90% { - transform: translate3d(0,-1px,0); - } -} - -.customize-control-header .choice { - position: relative; - display: block; - margin-bottom: 9px; -} - -.customize-control-header .choice:focus { - outline: none; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 3px 1px rgba(79, 148, 212, 0.8); -} - -.customize-control-header .uploaded div:last-child > .choice { - margin-bottom: 0; -} - -.customize-control .attachment-media-view .thumbnail-image img, -.customize-control-header img { - max-width: 100%; -} - -.customize-control .attachment-media-view .remove-button, -.customize-control .attachment-media-view .default-button, -.customize-control-header .remove { - margin-left: 8px; -} - -/* Background position control */ -.customize-control-background_position .background-position-control .button-group { - display: block; -} - -/** - * Code Editor Control and Custom CSS Section - * - * Modifications to the Section Container to make the textarea full-width and - * full-height, if the control is the only control in the section. - */ - -.customize-control-code_editor textarea { - width: 100%; - font-family: Consolas, Monaco, monospace; - font-size: 12px; - padding: 6px 8px; - -o-tab-size: 2; - tab-size: 2; -} -.customize-control-code_editor textarea, -.customize-control-code_editor .CodeMirror { - height: 14em; -} - -#customize-controls .customize-section-description-container.section-meta.customize-info { - border-bottom: none; -} - -#sub-accordion-section-custom_css .customize-control-notifications-container { - margin-bottom: 15px; -} - -#customize-control-custom_css textarea { - display: block; - height: 500px; -} - -.customize-section-description-container + #customize-control-custom_css .customize-control-title { - margin-right: 12px; -} - -.customize-section-description-container + #customize-control-custom_css:last-child textarea { - border-left: 0; - border-right: 0; - height: calc( 100vh - 185px ); - resize: none; -} - -.customize-section-description-container + #customize-control-custom_css:last-child { - margin-right: -12px; - width: 299px; - width: calc( 100% + 24px ); - margin-bottom: -12px; -} - -.customize-section-description-container + #customize-control-custom_css:last-child .CodeMirror { - height: calc( 100vh - 185px ); -} - -.CodeMirror-lint-tooltip, -.CodeMirror-hints { - z-index: 500000 !important; -} - -.customize-section-description-container + #customize-control-custom_css:last-child .customize-control-notifications-container { - margin-right: 12px; - margin-left: 12px; -} - -.theme-browser .theme.active .theme-actions, -.wp-customizer .theme-browser .theme .theme-actions { - padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); -} - -@media screen and (max-width: 640px) { - .customize-section-description-container + #customize-control-custom_css:last-child { - margin-left: 0; - } - - .customize-section-description-container + #customize-control-custom_css:last-child textarea { - height: calc( 100vh - 140px ); - } -} - -/** - * Themes - */ - -#customize-theme-controls .control-panel-themes { - border-bottom: none; -} - -#customize-theme-controls .control-panel-themes > .accordion-section-title:hover, /* Not a focusable element. */ -#customize-theme-controls .control-panel-themes > .accordion-section-title { - cursor: default; - background: #fff; - color: #50575e; - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #dcdcde; - border-right: none; - border-left: none; - margin: 0 0 15px; - padding-left: 100px; /* Space for the button */ -} - -#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */ -#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child { - border-top: 0; -} - -#customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */ -#customize-theme-controls .control-section-themes > .accordion-section-title { - margin: 0 0 15px; -} - -#customize-controls .customize-themes-panel .accordion-section-title:hover, -#customize-controls .customize-themes-panel .accordion-section-title { - margin: 15px -8px; -} - -#customize-controls .control-section-themes .accordion-section-title, -#customize-controls .customize-themes-panel .accordion-section-title { - padding-left: 100px; /* Space for the button */ -} - -.control-panel-themes .accordion-section-title span.customize-action, -#customize-controls .customize-section-title span.customize-action, -#customize-controls .control-section-themes .accordion-section-title span.customize-action, -#customize-controls .customize-section-title span.customize-action { - font-size: 13px; - display: block; - font-weight: 400; -} - -#customize-theme-controls .control-panel-themes .accordion-section-title .change-theme { - position: absolute; - left: 10px; - top: 50%; - margin-top: -14px; - font-weight: 400; -} - -#customize-notifications-area .notification-message button.switch-to-editor { - display: block; - margin-top: 6px; - font-weight: 400; -} - -#customize-theme-controls .control-panel-themes > .accordion-section-title:after { - display: none; -} - -.control-panel-themes .customize-themes-full-container { - position: fixed; - top: 0; - right: 0; - transition: .18s right ease-in-out; - margin: 0 300px 0 0; - padding: 71px 0 25px; - overflow-y: scroll; - width: calc(100% - 300px); - height: calc(100% - 96px); - background: #f0f0f1; - z-index: 20; -} - -@media (prefers-reduced-motion: reduce) { - .control-panel-themes .customize-themes-full-container { - transition: none; - } -} - -@media screen and (min-width: 1670px) { - .control-panel-themes .customize-themes-full-container { - width: 82%; - left: 0; - right: initial; - } -} - -.modal-open .control-panel-themes .customize-themes-full-container { - overflow-y: visible; -} - -/* Animations for opening the themes panel */ -#customize-save-button-wrapper, -#customize-header-actions .spinner, -#customize-header-actions .customize-controls-preview-toggle { - transition: .18s margin ease-in-out; -} - -#customize-footer-actions, -#customize-footer-actions .collapse-sidebar { - bottom: 0; - transition: .18s bottom ease-in-out; -} - -.in-themes-panel:not(.animating) #customize-header-actions .spinner, -.in-themes-panel:not(.animating) #customize-header-actions .customize-controls-preview-toggle, -.in-themes-panel:not(.animating) #customize-preview, -.in-themes-panel:not(.animating) #customize-footer-actions { - visibility: hidden; -} - -.wp-full-overlay.in-themes-panel { - background: #f0f0f1; /* Prevents a black flash when fading in the panel */ -} - -.in-themes-panel #customize-save-button-wrapper, -.in-themes-panel #customize-header-actions .spinner, -.in-themes-panel #customize-header-actions .customize-controls-preview-toggle { - margin-top: -46px; /* Height of header actions bar */ -} - -.in-themes-panel #customize-footer-actions, -.in-themes-panel #customize-footer-actions .collapse-sidebar { - bottom: -45px; -} - -/* Don't show the theme count while the panel opens, as it's in the wrong place during the animation */ -.in-themes-panel.animating .control-panel-themes .filter-themes-count { - display: none; -} - -.in-themes-panel.wp-full-overlay .wp-full-overlay-sidebar-content { - bottom: 0; -} - -.themes-filter-bar .feature-filter-toggle { - float: left; - margin: 3px 25px 3px 0; -} - -.themes-filter-bar .feature-filter-toggle:before { - content: "\f111"; - margin: 0 0 0 5px; - font: normal 16px/1 dashicons; - vertical-align: text-bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.themes-filter-bar .feature-filter-toggle.open { - background: #f0f0f1; - border-color: #8c8f94; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); -} - -.themes-filter-bar .feature-filter-toggle .filter-count-filters { - display: none; -} - -.filter-drawer { - box-sizing: border-box; - width: 100%; - position: absolute; - top: 46px; - right: 0; - padding: 25px 25px 25px 0; - border-top: 0; - margin: 0; - background: #f0f0f1; - border-bottom: 1px solid #dcdcde; -} - -.filter-drawer .filter-group { - margin: 0 0 0 25px; - width: calc( (100% - 75px) / 3); - min-width: 200px; - max-width: 320px; -} - -/* Adds a delay before fading in to avoid it "jumping" */ -@keyframes themes-fade-in { - 0% { - opacity: 0; - } - 50% { - opacity: 0; - } - 100% { - opacity: 1; - } -} - -.control-panel-themes .customize-themes-full-container.animate { - animation: .6s themes-fade-in 1; -} - -.in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count { - animation: .6s themes-fade-in 1; -} - -.control-panel-themes .filter-themes-count { - position: relative; - float: left; - line-height: 2.6; -} - -.control-panel-themes .filter-themes-count .themes-displayed { - font-weight: 600; - color: #50575e; -} - -.customize-themes-notifications { - margin: 0; -} - -.control-panel-themes .customize-themes-notifications .notice { - margin: 0 0 25px; -} - -.customize-themes-full-container .customize-themes-section { - display: none !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */ - overflow: hidden; -} - -.customize-themes-full-container .customize-themes-section.current-section { - display: list-item !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */ -} - -.control-section .customize-section-text-before { - padding: 0 15px 8px 0; - margin: 15px 0 0; - line-height: 16px; - border-bottom: 1px solid #dcdcde; - color: #50575e; -} - -.control-panel-themes .customize-themes-section-title { - width: 100%; - background: #fff; - box-shadow: none; - outline: none; - border-top: none; - border-bottom: 1px solid #dcdcde; - border-right: 4px solid #fff; - border-left: none; - cursor: pointer; - padding: 10px 15px; - position: relative; - text-align: right; - font-size: 14px; - font-weight: 600; - color: #50575e; - text-shadow: none; -} - -.control-panel-themes #accordion-section-installed_themes { - border-top: 1px solid #dcdcde; -} - -.control-panel-themes .theme-section { - margin: 0; - position: relative; -} - -.control-panel-themes .customize-themes-section-title:focus, -.control-panel-themes .customize-themes-section-title:hover { - border-right-color: #2271b1; - color: #2271b1; - background: #f6f7f7; -} - -.customize-themes-section-title:not(.selected):after { - content: ""; - display: block; - position: absolute; - top: 9px; - left: 15px; - width: 18px; - height: 18px; - border-radius: 100%; - border: 1px solid #c3c4c7; - background: #fff; -} - -.control-panel-themes .theme-section .customize-themes-section-title.selected:after { - content: "\f147"; - font: 16px/1 dashicons; - box-sizing: border-box; - width: 20px; - height: 20px; - padding: 3px 1px 1px 3px; /* Re-align the icon to the smaller grid */ - border-radius: 100%; - position: absolute; - top: 9px; - left: 15px; - background: #2271b1; - color: #fff; -} - -.control-panel-themes .customize-themes-section-title.selected { - color: #2271b1; -} - -#customize-theme-controls .themes.accordion-section-content { - position: relative; - right: 0; - padding: 0; - width: 100%; -} - -.loading .customize-themes-section .spinner { - display: block; - visibility: visible; - position: relative; - clear: both; - width: 20px; - height: 20px; - right: calc(50% - 10px); - float: none; - margin-top: 50px; -} - -.customize-themes-section .no-themes, -.customize-themes-section .no-themes-local { - display: none; -} - -.themes-section-installed_themes .theme .notice-success:not(.updated-message) { - display: none; /* Hide "installed" notice on installed themes tab. */ -} - -.customize-control-theme .theme { - width: 100%; - margin: 0; - border: 1px solid #dcdcde; - background: #fff; -} - -.customize-control-theme .theme .theme-name, .customize-control-theme .theme .theme-actions { - background: #fff; - border: none; -} - -.customize-control.customize-control-theme { /* override most properties on .customize-control */ - box-sizing: border-box; - width: 25%; - max-width: 600px; /* Max. screenshot size / 2 */ - margin: 0 0 25px 25px; - padding: 0; - clear: none; -} - -/* 5 columns above 2100px */ -@media screen and (min-width: 2101px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 125px ) / 5 - 1px ); /* 1px offset accounts for browser rounding, typical all grids */ - } -} - -/* 4 columns up to 2100px */ -@media screen and (min-width: 1601px) and (max-width: 2100px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 100px ) / 4 - 1px ); - } -} - -/* 3 columns up to 1600px */ -@media screen and (min-width: 1201px) and (max-width: 1600px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 75px ) / 3 - 1px ); - } -} - -/* 2 columns up to 1200px */ -@media screen and (min-width: 851px) and (max-width: 1200px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 50px ) / 2 - 1px ); - - } -} - -/* 1 column up to 850 px */ -@media screen and (max-width: 850px) { - .customize-control.customize-control-theme { - width: 100%; - } -} - -.wp-customizer .theme-browser .themes { - padding: 0 25px 25px 0; - transition: .18s margin-top linear; -} - -.wp-customizer .theme-browser .theme .theme-actions { - opacity: 1; -} - -#customize-controls h3.theme-name { - font-size: 15px; -} - -#customize-controls .theme-overlay .theme-name { - font-size: 32px; -} - -.customize-preview-header.themes-filter-bar { - position: fixed; - top: 0; - right: 300px; - width: calc(100% - 300px); - height: 46px; - background: #f0f0f1; - z-index: 10; - padding: 6px 25px; - box-sizing: border-box; - border-bottom: 1px solid #dcdcde; -} - -@media screen and (min-width: 1670px) { - .customize-preview-header.themes-filter-bar { - width: 82%; - left: 0; - right: initial; - } -} - -.themes-filter-bar .themes-filter-container { - margin: 0; - padding: 0; -} - -.themes-filter-bar .wp-filter-search { - line-height: 1.8; - padding: 6px 30px 6px 10px; - max-width: 100%; - width: 40%; - min-width: 300px; - position: absolute; - top: 6px; - right: 25px; - height: 32px; - margin: 1px 0; -} - -/* Unstick the filter bar on short windows/screens. This breakpoint is based on the - current length of .org feature filters assuming translations do not wrap lines. */ -@media screen and (max-height: 540px), screen and (max-width: 1018px) { - .customize-preview-header.themes-filter-bar { - position: relative; - right: 0; - width: 100%; - margin: 0 0 25px; - } - .filter-drawer { - top: 46px; - } - .wp-customizer .theme-browser .themes { - padding: 0 25px 25px 0; - overflow: hidden; - } - - .control-panel-themes .customize-themes-full-container { - margin-top: 0; - padding: 0; - height: 100%; - width: calc(100% - 300px); - } -} - -@media screen and (max-width: 1018px) { - .filter-drawer .filter-group { - width: calc( (100% - 50px) / 2); - } -} - -@media screen and (max-width: 900px) { - .customize-preview-header.themes-filter-bar { - height: 86px; - padding-top: 46px; - } - - .themes-filter-bar .wp-filter-search { - width: calc(100% - 50px); - margin: 0; - min-width: 200px; - } - - .filter-drawer { - top: 86px; - } - - .control-panel-themes .filter-themes-count { - float: right; - } -} - -@media screen and (max-width: 792px) { - .filter-drawer .filter-group { - width: calc( 100% - 25px); - } -} - -.control-panel-themes .customize-themes-mobile-back { - display: none; -} - -/* Mobile - toggle between themes and filters */ -@media screen and (max-width: 600px) { - - .filter-drawer { - top: 132px; - } - - .wp-full-overlay.showing-themes .control-panel-themes .filter-themes-count .filter-themes { - display: block; - float: left; - } - - .control-panel-themes .customize-themes-full-container { - width: 100%; - margin: 0; - padding-top: 46px; - height: calc(100% - 46px); - z-index: 1; - display: none; - } - - .showing-themes .control-panel-themes .customize-themes-full-container { - display: block; - } - - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back { - display: block; - position: fixed; - top: 0; - right: 0; - background: #f0f0f1; - color: #3c434a; - border-radius: 0; - box-shadow: none; - border: none; - height: 46px; - width: 100%; - z-index: 10; - text-align: right; - text-shadow: none; - border-bottom: 1px solid #dcdcde; - border-right: 4px solid transparent; - margin: 0; - padding: 0; - font-size: 0; - overflow: hidden; - } - - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:before { - right: 0; - top: 0; - height: 46px; - width: 26px; - display: block; - line-height: 2.3; - padding: 0 8px; - border-left: 1px solid #dcdcde; - } - - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover, - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:focus { - color: #2271b1; - background: #f6f7f7; - border-right-color: #2271b1; - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; - } - - .showing-themes #customize-header-actions { - display: none; - } - - #customize-controls { - width: 100%; - } -} - -/* Details View */ -.wp-customizer .theme-overlay { - display: none; -} - -.wp-customizer.modal-open .theme-overlay { - position: fixed; - right: 0; - top: 0; - left: 0; - bottom: 0; - z-index: 109; -} - -/* Avoid a z-index war by resetting elements that should be under the overlay. - This is likely required because of the way that sections and panels are positioned. */ -.wp-customizer.modal-open #customize-header-actions, -.wp-customizer.modal-open .control-panel-themes .filter-themes-count, -.wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after { - z-index: -1; -} - -.wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content { - overflow: visible; -} - -.wp-customizer .theme-overlay .theme-backdrop { - background: rgba(240, 240, 241, 0.75); - position: fixed; - z-index: 110; -} - -.wp-customizer .theme-overlay .star-rating { - float: right; - margin-left: 8px; -} - -.wp-customizer .theme-rating .num-ratings { - line-height: 20px; -} - -.wp-customizer .theme-overlay .theme-wrap { - right: 90px; - left: 90px; - top: 45px; - bottom: 45px; - z-index: 120; -} - -.wp-customizer .theme-overlay .theme-actions { - text-align: left; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */ - padding: 10px 25px; - background: #f0f0f1; - border-top: 1px solid #dcdcde; -} - -.wp-customizer .theme-overlay .theme-actions .theme-install.preview { - margin-right: 8px; -} - -.control-panel-themes .theme-actions .delete-theme { - right: 15px; /* these override themes.css on mobile */ - left: auto; - bottom: auto; - position: absolute; -} - -.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content { - overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */ -} - -.wp-customizer .theme-header { - background: #f0f0f1; -} - -.wp-customizer .theme-overlay .theme-header button, -.wp-customizer .theme-overlay .theme-header .close:before { - color: #3c434a; -} - -.wp-customizer .theme-overlay .theme-header .close:focus, -.wp-customizer .theme-overlay .theme-header .close:hover, -.wp-customizer .theme-overlay .theme-header .right:focus, -.wp-customizer .theme-overlay .theme-header .right:hover, -.wp-customizer .theme-overlay .theme-header .left:focus, -.wp-customizer .theme-overlay .theme-header .left:hover { - background: #fff; - border-bottom: 4px solid #2271b1; - color: #2271b1; -} - -.wp-customizer .theme-overlay .theme-header .close:focus:before, -.wp-customizer .theme-overlay .theme-header .close:hover:before { - color: #2271b1; -} - -.wp-customizer .theme-overlay .theme-header button.disabled, -.wp-customizer .theme-overlay .theme-header button.disabled:hover, -.wp-customizer .theme-overlay .theme-header button.disabled:focus { - border-bottom: none; - background: transparent; - color: #c3c4c7; -} - -/* Small Screens */ -@media (max-width: 850px), (max-height: 472px) { - .wp-customizer .theme-overlay .theme-wrap { - right: 0; - left: 0; - top: 0; - bottom: 0; - } - - .wp-customizer .theme-browser .themes { - padding-left: 25px; - } -} - -/* Handle cheaters. */ -body.cheatin { - font-size: medium; - height: auto; - background: #fff; - border: 1px solid #c3c4c7; - margin: 50px auto 2em; - padding: 1em 2em; - max-width: 700px; - min-width: 0; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -body.cheatin h1 { - border-bottom: 1px solid #dcdcde; - clear: both; - color: #50575e; - font-size: 24px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - margin: 30px 0 0; - padding: 0 0 7px; -} - -body.cheatin p { - font-size: 14px; - line-height: 1.5; - margin: 25px 0 20px; -} - -/** - * Widgets and Menus common styles - */ - -/* higher specificity than .wp-core-ui .button */ -#customize-theme-controls .add-new-widget, -#customize-theme-controls .add-new-menu-item { - cursor: pointer; - float: left; - margin: 0 10px 0 0; - transition: all 0.2s; - -webkit-user-select: none; - user-select: none; - outline: none; -} - -.reordering .add-new-widget, -.reordering .add-new-menu-item { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; /* doesn't work in conjunction with pointer-events */ -} - -.add-new-widget:before, -.add-new-menu-item:before, -#available-menu-items .new-content-item .add-content:before { - content: "\f132"; - display: inline-block; - position: relative; - right: -2px; - top: 0; - font: normal 20px/1 dashicons; - vertical-align: middle; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* Reordering */ -.reorder-toggle { - float: left; - padding: 5px 8px; - text-decoration: none; - cursor: pointer; - outline: none; -} - -.reorder, -.reordering .reorder-done { - display: block; - padding: 5px 8px; -} - -.reorder-done, -.reordering .reorder { - display: none; -} - -.widget-reorder-nav span, -.menu-item-reorder-nav button { - position: relative; - overflow: hidden; - float: right; - display: block; - width: 33px; /* was 42px for mobile */ - height: 43px; - color: #8c8f94; - text-indent: -9999px; - cursor: pointer; - outline: none; -} - -.menu-item-reorder-nav button { - width: 30px; - height: 40px; - background: transparent; - border: none; - box-shadow: none; -} - -.widget-reorder-nav span:before, -.menu-item-reorder-nav button:before { - display: inline-block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - font: normal 20px/43px dashicons; - text-align: center; - text-indent: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.widget-reorder-nav span:hover, -.widget-reorder-nav span:focus, -.menu-item-reorder-nav button:hover, -.menu-item-reorder-nav button:focus { - color: #1d2327; - background: #f0f0f1; -} - -.move-widget-down:before, -.menus-move-down:before { - content: "\f347"; -} - -.move-widget-up:before, -.menus-move-up:before { - content: "\f343"; -} - -#customize-theme-controls .first-widget .move-widget-up, -#customize-theme-controls .last-widget .move-widget-down, -.move-up-disabled .menus-move-up, -.move-down-disabled .menus-move-down, -.move-right-disabled .menus-move-right, -.move-left-disabled .menus-move-left { - color: #dcdcde; - background-color: #fff; - cursor: default; - pointer-events: none; -} - -/** - * New widget and Add-menu-items modes and panels - */ - -.wp-full-overlay-main { - left: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */ - width: 100%; -} - -body.adding-widget .add-new-widget, -body.adding-widget .add-new-widget:hover, -.adding-menu-items .add-new-menu-item, -.adding-menu-items .add-new-menu-item:hover, -.add-menu-toggle.open, -.add-menu-toggle.open:hover { - background: #f0f0f1; - border-color: #8c8f94; - color: #2c3338; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); -} - -body.adding-widget .add-new-widget:before, -.adding-menu-items .add-new-menu-item:before, -#accordion-section-add_menu .add-new-menu-item.open:before { - transform: rotate(-45deg); -} - -#available-widgets, -#available-menu-items { - position: absolute; - top: 0; - bottom: 0; - right: -301px; - visibility: hidden; - overflow-x: hidden; - overflow-y: auto; - width: 300px; - margin: 0; - z-index: 4; - background: #f0f0f1; - transition: right .18s; - border-left: 1px solid #dcdcde; -} - -#available-widgets .customize-section-title, -#available-menu-items .customize-section-title { - display: none; -} - -#available-widgets-list { - top: 60px; - position: absolute; - overflow: auto; - bottom: 0; - width: 100%; - border-top: 1px solid #dcdcde; -} - -.no-widgets-found #available-widgets-list { - border-top: none; -} - -#available-widgets-filter { - position: fixed; - top: 0; - z-index: 1; - width: 300px; - background: #f0f0f1; -} - -/* search field container */ -#available-widgets-filter, -#available-menu-items-search .accordion-section-title { - padding: 13px 15px; - box-sizing: border-box; -} - -#available-widgets-filter input, -#available-menu-items-search input { - width: 100%; - min-height: 32px; - margin: 1px 0; - padding: 0 30px; -} - -#available-widgets-filter input::-ms-clear, -#available-menu-items-search input::-ms-clear { - display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */ -} - -#available-menu-items-search .search-icon, -#available-widgets-filter .search-icon { - display: block; - position: absolute; - top: 15px; /* 13 container padding +1 input margin +1 input border */ - right: 16px; - width: 30px; - height: 30px; - line-height: 2.1; - text-align: center; - color: #646970; -} - -#available-widgets-filter .clear-results, -#available-menu-items-search .clear-results { - position: absolute; - top: 15px; /* 13 container padding +1 input margin +1 input border */ - left: 16px; - width: 30px; - height: 30px; - padding: 0; - border: 0; - cursor: pointer; - background: none; - color: #d63638; - text-decoration: none; - outline: 0; -} - -#available-widgets-filter .clear-results, -#available-menu-items-search .clear-results, -#available-menu-items-search.loading .clear-results.is-visible { - display: none; -} - -#available-widgets-filter .clear-results.is-visible, -#available-menu-items-search .clear-results.is-visible { - display: block; -} - -#available-widgets-filter .clear-results:before, -#available-menu-items-search .clear-results:before { - content: "\f335"; - font: normal 20px/1 dashicons; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#available-widgets-filter .clear-results:hover, -#available-widgets-filter .clear-results:focus, -#available-menu-items-search .clear-results:hover, -#available-menu-items-search .clear-results:focus { - color: #d63638; -} - -#available-widgets-filter .clear-results:focus, -#available-menu-items-search .clear-results:focus { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -#available-menu-items-search .search-icon:after, -#available-widgets-filter .search-icon:after, -.themes-filter-bar .search-icon:after { - content: "\f179"; - font: normal 20px/1 dashicons; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.themes-filter-bar .search-icon { - position: absolute; - top: 7px; - right: 26px; - z-index: 1; - color: #646970; - height: 30px; - width: 30px; - line-height: 2; - text-align: center; -} - -.no-widgets-found-message { - display: none; - margin: 0; - padding: 0 15px; - line-height: inherit; -} - -.no-widgets-found .no-widgets-found-message { - display: block; -} - -#available-widgets .widget-top, -#available-widgets .widget-top:hover, -#available-menu-items .item-top, -#available-menu-items .item-top:hover { - border: none; - background: transparent; - box-shadow: none; -} - -#available-widgets .widget-tpl, -#available-menu-items .item-tpl { - position: relative; - padding: 15px 60px 15px 15px; - background: #fff; - border-bottom: 1px solid #dcdcde; - border-right: 4px solid #fff; - transition: - .15s color ease-in-out, - .15s background-color ease-in-out, - .15s border-color ease-in-out; - cursor: pointer; - display: none; -} - -#available-widgets .widget, -#available-menu-items .item { - position: static; -} - - -/* Responsive */ -.customize-controls-preview-toggle { - display: none; -} - -@media only screen and (max-width: 782px) { - .wp-customizer .theme:not(.active):hover .theme-actions, - .wp-customizer .theme:not(.active):focus .theme-actions { - display: block; - } - - .wp-customizer .theme-browser .theme.active .theme-name span { - display: inline; - } - - .customize-control-header button.random .dice { - margin-top: 0; - } - - .customize-control-radio .customize-inside-control-row, - .customize-control-checkbox .customize-inside-control-row, - .customize-control-nav_menu_auto_add .customize-inside-control-row { - margin-right: 32px; - } - - .customize-control-radio input, - .customize-control-checkbox input, - .customize-control-nav_menu_auto_add input { - margin-right: -32px; - } - - .customize-control input[type="radio"] + label + br, - .customize-control input[type="checkbox"] + label + br { - line-height: 2.5; /* For widgets checkboxes */ - } - - .customize-control .date-time-fields select { - height: 39px; - } - - .date-time-fields .date-input.month { - width: 79px; - } - - .date-time-fields .date-input.day, - .date-time-fields .date-input.hour, - .date-time-fields .date-input.minute { - width: 55px; - } - - .date-time-fields .date-input.year { - width: 80px; - } - - #customize-control-changeset_preview_link a { - bottom: 16px; - } - - .preview-link-wrapper .customize-copy-preview-link.preview-control-element.button { - bottom: 10px; - } - - .media-widget-control .media-widget-buttons .button.edit-media, - .media-widget-control .media-widget-buttons .button.change-media, - .media-widget-control .media-widget-buttons .button.select-media { - margin-top: 12px; - } - - .wp-core-ui .themes-filter-bar .feature-filter-toggle { - margin: 3px 25px 3px 0; - } -} - -@media screen and (max-width: 1200px) { - .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, - .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, - .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main { - right: 67%; - } -} - -@media screen and (max-width: 640px) { - - /* when the sidebar is collapsed and switching to responsive view, - bring it back see ticket #35220 */ - .wp-full-overlay.collapsed #customize-controls { - margin-right: 0; - } - - .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { - bottom: 0; - } - - .customize-controls-preview-toggle { - display: block; - position: absolute; - top: 0; - right: 48px; - line-height: 2.6; - font-size: 14px; - padding: 0 12px 4px; - margin: 0; - height: 45px; - background: #f0f0f1; - border: 0; - border-left: 1px solid #dcdcde; - border-top: 4px solid #f0f0f1; - color: #50575e; - cursor: pointer; - transition: color .1s ease-in-out, background .1s ease-in-out; - } - - #customize-footer-actions, - /*#customize-preview,*/ - .customize-controls-preview-toggle .controls, - .preview-only .wp-full-overlay-sidebar-content, - .preview-only .customize-controls-preview-toggle .preview { - display: none; - } - - .preview-only #customize-save-button-wrapper { - margin-top: -46px; - } - - .customize-controls-preview-toggle .preview:before, - .customize-controls-preview-toggle .controls:before { - font: normal 20px/1 dashicons; - content: "\f177"; - position: relative; - top: 4px; - margin-left: 6px; - } - - .customize-controls-preview-toggle .controls:before { - content: "\f540"; - } - - .preview-only #customize-controls { - height: 45px; - } - - .preview-only #customize-preview, - .preview-only .customize-controls-preview-toggle .controls { - display: block; - } - - .wp-core-ui.wp-customizer .button { - min-height: 30px; - padding: 0 14px; - line-height: 2; - font-size: 14px; - vertical-align: middle; - } - - #customize-control-changeset_status .customize-inside-control-row { - padding-top: 15px; - } - - body.adding-widget div#available-widgets, - body.adding-menu-items div#available-menu-items, - body.outer-section-open div#customize-sidebar-outer-content { - width: 100%; - } - - #available-widgets .customize-section-title, - #available-menu-items .customize-section-title { - display: block; - margin: 0; - } - - #available-widgets .customize-section-back, - #available-menu-items .customize-section-back { - height: 69px; - } - - #available-widgets .customize-section-title h3, - #available-menu-items .customize-section-title h3 { - font-size: 20px; - font-weight: 200; - padding: 9px 14px 12px 10px; - margin: 0; - line-height: 24px; - color: #50575e; - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - - #available-widgets .customize-section-title .customize-action, - #available-menu-items .customize-section-title .customize-action { - font-size: 13px; - display: block; - font-weight: 400; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - - #available-widgets-filter { - position: relative; - width: 100%; - height: auto; - } - - #available-widgets-list { - top: 130px; - } - - #available-menu-items-search .clear-results, - #available-menu-items-search .search-icon { - top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */ - } - - .reorder, - .reordering .reorder-done { - padding: 8px; - } - - .wp-core-ui .themes-filter-bar .feature-filter-toggle { - margin: 0; - } -} - -@media screen and (max-width: 600px) { - .wp-full-overlay.expanded { - margin-right: 0; - } - - body.adding-widget div#available-widgets, - body.adding-menu-items div#available-menu-items, - body.outer-section-open div#customize-sidebar-outer-content { - top: 46px; - z-index: 10; - } - - body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content { - right: -100%; - } - - body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content { - right: 0; - } -} diff --git a/build/wp-admin/css/customize-controls-rtl.min.css b/build/wp-admin/css/customize-controls-rtl.min.css deleted file mode 100644 index 3fa8045c78..0000000000 --- a/build/wp-admin/css/customize-controls-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{overflow:hidden;-webkit-text-size-adjust:100%}.customize-controls-close,.widget-control-actions a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls img{max-width:100%}#customize-controls .submit{text-align:center}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked{background-color:rgba(0,0,0,.7);padding:25px}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message{margin-right:auto;margin-left:auto;max-width:366px;min-height:64px;width:auto;padding:25px 109px 25px 25px;position:relative;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;overflow-y:auto;text-align:right;top:calc(50% - 100px)}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing{margin-top:0}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .action-buttons{margin-bottom:0}.customize-changeset-locked-avatar{width:64px;position:absolute;right:25px;top:25px}.wp-core-ui.wp-customizer .customize-changeset-locked-message a.button{margin-left:10px;margin-top:0}#customize-controls .description{color:#50575e}#customize-save-button-wrapper{float:left;margin-top:9px}body:not(.ready) #customize-save-button-wrapper .save{visibility:hidden}#customize-save-button-wrapper .save{float:right;border-radius:3px;box-shadow:none;margin-top:0}#customize-save-button-wrapper .save:focus,#publish-settings:focus{box-shadow:0 1px 0 #2271b1,0 0 2px 1px #72aee6}#customize-save-button-wrapper .save.has-next-sibling{border-radius:0 3px 3px 0}#customize-sidebar-outer-content{position:absolute;top:0;bottom:0;right:0;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:100%;margin:0;z-index:-1;background:#f0f0f1;transition:right .18s;border-left:1px solid #dcdcde;border-right:1px solid #dcdcde;height:100%}@media (prefers-reduced-motion:reduce){#customize-sidebar-outer-content{transition:none}}#customize-theme-controls .control-section-outer{display:none!important}#customize-outer-theme-controls .accordion-section-content{padding:12px}#customize-outer-theme-controls .accordion-section-content.open{display:block}.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content{visibility:visible;right:100%;transition:right .18s}@media (prefers-reduced-motion:reduce){.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content{transition:none}}.customize-outer-pane-parent{margin:0}.outer-section-open .wp-full-overlay.expanded .wp-full-overlay-main{right:300px;opacity:.4}.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.adding-menu-items .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.adding-widget .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.outer-section-open .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main{right:64%}#customize-outer-theme-controls li.notice{padding-top:8px;padding-bottom:8px;margin-right:0;margin-bottom:10px}#publish-settings{text-indent:0;border-radius:3px 0 0 3px;padding-right:0;padding-left:0;box-shadow:none;font-size:14px;width:30px;float:right;transform:none;margin-top:0;line-height:2}body.trashing #customize-save-button-wrapper .save,body.trashing #publish-settings,body:not(.ready) #publish-settings{display:none}#customize-header-actions .spinner{margin-top:13px;margin-left:4px}.saving #customize-header-actions .spinner,.trashing #customize-header-actions .spinner{visibility:visible}#customize-header-actions{border-bottom:1px solid #dcdcde}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}.outer-section-open #customize-controls .wp-full-overlay-sidebar-content{background:#f0f0f1}#customize-controls .customize-info{border:none;border-bottom:1px solid #dcdcde;margin-bottom:15px}#customize-control-changeset_preview_link input,#customize-control-changeset_status .customize-inside-control-row{background-color:#fff;border-bottom:1px solid #dcdcde;box-sizing:content-box;width:100%;margin-right:-12px;padding-right:12px;padding-left:12px}#customize-control-trash_changeset{margin-top:20px}#customize-control-trash_changeset .button-link{position:relative;padding-right:24px;display:inline-block}#customize-control-trash_changeset .button-link:before{content:"\f182";font:normal 22px dashicons;text-decoration:none;position:absolute;right:0;top:-2px}#customize-controls .date-input:invalid{border-color:#d63638}#customize-control-changeset_status .customize-inside-control-row{padding-top:10px;padding-bottom:10px;font-weight:500}#customize-control-changeset_status .customize-inside-control-row:first-of-type{border-top:1px solid #dcdcde}#customize-control-changeset_status .customize-control-title{margin-bottom:6px}#customize-control-changeset_status input{margin-right:0}#customize-control-changeset_preview_link{position:relative;display:block}.preview-link-wrapper .customize-copy-preview-link.preview-control-element.button{margin:0;position:absolute;bottom:9px;left:0}.preview-link-wrapper{position:relative}.customize-copy-preview-link:after,.customize-copy-preview-link:before{content:"";height:28px;position:absolute;background:#fff;top:-1px}.customize-copy-preview-link:before{right:-10px;width:9px;opacity:.75}.customize-copy-preview-link:after{right:-5px;width:4px;opacity:.8}#customize-control-changeset_preview_link input{line-height:2.85714286;border-top:1px solid #dcdcde;border-right:none;border-left:none;text-indent:-999px;color:#fff;min-height:40px}#customize-control-changeset_preview_link label{position:relative;display:block}#customize-control-changeset_preview_link a{display:inline-block;position:absolute;white-space:nowrap;overflow:hidden;width:90%;bottom:14px;font-size:14px;text-decoration:none}#customize-control-changeset_preview_link a.disabled,#customize-control-changeset_preview_link a.disabled:active,#customize-control-changeset_preview_link a.disabled:focus,#customize-control-changeset_preview_link a.disabled:visited{color:#000;opacity:.4;cursor:default;outline:0;box-shadow:none}#sub-accordion-section-publish_settings .customize-section-description-container{display:none}#customize-controls .customize-info.section-meta{margin-bottom:15px}.customize-control-date_time .customize-control-description+.date-time-fields.includes-time{margin-top:10px}.customize-control.customize-control-date_time .date-time-fields .date-input.day{margin-left:0}.date-time-fields .date-input.month{width:auto;margin:0}.date-time-fields .date-input.day,.date-time-fields .date-input.hour,.date-time-fields .date-input.minute{width:46px}.date-time-fields .date-input.year{width:65px}.date-time-fields .date-input.meridian{width:auto;margin:0}.date-time-fields .time-row{margin-top:12px}#customize-control-changeset_preview_link{margin-top:6px}#customize-control-changeset_status{margin-bottom:0;padding-bottom:0}#customize-control-changeset_scheduled_date{box-sizing:content-box;width:100%;margin-right:-12px;padding:12px;background:#fff;border-bottom:1px solid #dcdcde;margin-bottom:0}#customize-control-changeset_scheduled_date .customize-control-description{font-style:normal}#customize-controls .customize-info.is-in-view,#customize-controls .customize-section-title.is-in-view{position:absolute;z-index:9;width:100%;box-shadow:0 1px 0 rgba(0,0,0,.1)}#customize-controls .customize-section-title.is-in-view{margin-top:0}#customize-controls .customize-info.is-in-view+.accordion-section{margin-top:15px}#customize-controls .customize-info.is-sticky,#customize-controls .customize-section-title.is-sticky{position:fixed;top:46px}#customize-controls .customize-info .accordion-section-title{background:#fff;color:#50575e;border-right:none;border-left:none;border-bottom:none;cursor:default}#customize-controls .customize-info .accordion-section-title:focus:after,#customize-controls .customize-info .accordion-section-title:hover:after,#customize-controls .customize-info.open .accordion-section-title:after{color:#2c3338}#customize-controls .customize-info .accordion-section-title:after{display:none}#customize-controls .customize-info .preview-notice{font-size:13px;line-height:1.9}#customize-controls .customize-info .panel-title,#customize-controls .customize-pane-child .customize-section-title h3,#customize-controls .customize-pane-child h3.customize-section-title,#customize-outer-theme-controls .customize-pane-child .customize-section-title h3,#customize-outer-theme-controls .customize-pane-child h3.customize-section-title{font-size:20px;font-weight:200;line-height:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-section-title span.customize-action{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-info .customize-help-toggle{position:absolute;top:4px;left:1px;padding:20px 10px 10px 20px;width:20px;height:20px;cursor:pointer;box-shadow:none;background:0 0;color:#50575e;border:none}#customize-controls .customize-info .customize-help-toggle:before{position:absolute;top:5px;right:6px}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#2271b1}#customize-controls .customize-info .customize-panel-description,#customize-controls .customize-info .customize-section-description,#customize-controls .no-widget-areas-rendered-notice,#customize-outer-theme-controls .customize-info .customize-section-description{color:#50575e;display:none;background:#fff;padding:12px 15px;border-top:1px solid #dcdcde}#customize-controls .customize-info .customize-panel-description.open+.no-widget-areas-rendered-notice{border-top:none}.no-widget-areas-rendered-notice{font-style:italic}.no-widget-areas-rendered-notice p:first-child{margin-top:0}.no-widget-areas-rendered-notice p:last-child{margin-bottom:0}#customize-controls .customize-info .customize-section-description{margin-bottom:15px}#customize-controls .customize-info .customize-panel-description p:first-child,#customize-controls .customize-info .customize-section-description p:first-child{margin-top:0}#customize-controls .customize-info .customize-panel-description p:last-child,#customize-controls .customize-info .customize-section-description p:last-child{margin-bottom:0}#customize-controls .current-panel .control-section>h3.accordion-section-title{padding-left:30px}#customize-outer-theme-controls .control-section,#customize-theme-controls .control-section{border:none}#customize-outer-theme-controls .accordion-section-title,#customize-theme-controls .accordion-section-title{color:#50575e;background-color:#fff;border-bottom:1px solid #dcdcde;border-right:4px solid #fff;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}@media (prefers-reduced-motion:reduce){#customize-outer-theme-controls .accordion-section-title,#customize-theme-controls .accordion-section-title{transition:none}}#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title{color:#50575e;background-color:#fff;border-right:4px solid #fff}#customize-outer-theme-controls .accordion-section-title:after,#customize-theme-controls .accordion-section-title:after{content:"\f341";color:#a7aaad}#customize-outer-theme-controls .accordion-section-content,#customize-theme-controls .accordion-section-content{color:#50575e;background:0 0}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{color:#2271b1;background:#f6f7f7;border-right-color:#2271b1}#accordion-section-themes+.control-section{border-top:1px solid #dcdcde}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f6f7f7}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#2271b1}#customize-theme-controls .control-section.open{border-bottom:1px solid #f0f0f1}#customize-outer-theme-controls .control-section.open .accordion-section-title,#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#f0f0f1!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#dcdcde}#customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2),#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu,#customize-theme-controls .control-section-nav_menu_locations .accordion-section-title{border-top:1px solid #dcdcde}#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu+.control-section-nav_menu{border-top:none}#customize-theme-controls>ul{margin:0}#customize-theme-controls .accordion-section-content{position:absolute;top:0;right:100%;width:100%;margin:0;padding:12px;box-sizing:border-box}#customize-info,#customize-theme-controls .customize-pane-child,#customize-theme-controls .customize-pane-parent{overflow:visible;width:100%;margin:0;padding:0;box-sizing:border-box;transition:.18s transform cubic-bezier(.645, .045, .355, 1)}@media (prefers-reduced-motion:reduce){#customize-info,#customize-theme-controls .customize-pane-child,#customize-theme-controls .customize-pane-parent{transition:none}}#customize-theme-controls .customize-pane-child.skip-transition{transition:none}#customize-info,#customize-theme-controls .customize-pane-parent{position:relative;visibility:visible;height:auto;max-height:none;overflow:auto;transform:none}#customize-theme-controls .customize-pane-child{position:absolute;top:0;right:0;visibility:hidden;height:0;max-height:none;overflow:hidden;transform:translateX(-100%)}#customize-theme-controls .customize-pane-child.current-panel,#customize-theme-controls .customize-pane-child.open{transform:none}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls .customize-pane-parent,.in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel,.section-open #customize-info,.section-open #customize-theme-controls .customize-pane-parent{visibility:hidden;height:0;overflow:hidden;transform:translateX(100%)}#customize-theme-controls .customize-pane-child.busy,#customize-theme-controls .customize-pane-child.current-panel,#customize-theme-controls .customize-pane-child.open,.busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel,.in-sub-panel #customize-info.busy,.in-sub-panel #customize-theme-controls .customize-pane-parent.busy,.section-open #customize-info.busy,.section-open #customize-theme-controls .customize-pane-parent.busy{visibility:visible;height:auto;overflow:auto}#customize-theme-controls .customize-pane-child.accordion-section-content,#customize-theme-controls .customize-pane-child.accordion-sub-container{display:block;overflow-x:hidden}#customize-theme-controls .customize-pane-child.accordion-section-content{padding:12px}#customize-theme-controls .customize-pane-child.menu li{position:static}.control-section-nav_menu .customize-section-description-container,.control-section-new_menu .customize-section-description-container,.customize-section-description-container{margin-bottom:15px}.control-section-nav_menu .customize-control,.control-section-new_menu .customize-control{margin-bottom:0}.customize-section-title{margin:-12px -12px 0;border-bottom:1px solid #dcdcde;background:#fff}div.customize-section-description{margin-top:22px}.customize-info div.customize-section-description{margin-top:0}div.customize-section-description p:first-child{margin-top:0}div.customize-section-description p:last-child{margin-bottom:0}#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{border-bottom:1px solid #dcdcde;padding:12px}.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{padding:12px 12px 13px}.customize-section-title h3,h3.customize-section-title{padding:10px 14px 12px 10px;margin:0;line-height:21px;color:#50575e}.accordion-sub-container.control-panel-content{display:none;position:absolute;top:0;width:100%}.accordion-sub-container.control-panel-content.busy{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;right:0;width:45px;height:41px;padding:0 0 0 2px;background:#f0f0f1;border:none;border-top:4px solid #f0f0f1;border-left:1px solid #dcdcde;color:#3c434a;text-align:right;cursor:pointer;transition:color .15s ease-in-out,border-color .15s ease-in-out,background .15s ease-in-out;box-sizing:content-box}.customize-panel-back,.customize-section-back{display:block;float:right;width:48px;height:71px;padding:0 0 0 24px;margin:0;background:#fff;border:none;border-left:1px solid #dcdcde;border-right:4px solid #fff;box-shadow:none;cursor:pointer;transition:color .15s ease-in-out,border-color .15s ease-in-out,background .15s ease-in-out}.customize-section-back{height:74px}.ios .customize-panel-back{display:none}.ios .expanded.in-sub-panel .customize-panel-back{display:block}#customize-controls .panel-meta.customize-info .accordion-section-title{margin-right:48px;border-right:none}#customize-controls .cannot-expand:hover .accordion-section-title,#customize-controls .panel-meta.customize-info .accordion-section-title:hover{background:#fff;color:#50575e;border-right-color:#fff}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{background:#fff;color:#2271b1;border-top-color:#2271b1;box-shadow:none;outline:1px solid transparent}#customize-theme-controls .accordion-section-title:focus .customize-action{outline:1px solid transparent;outline-offset:1px}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{color:#2271b1;background:#f6f7f7;border-right-color:#2271b1;box-shadow:none;outline:2px solid transparent;outline-offset:-2px}.customize-controls-close:before{font:normal 22px/45px dashicons;content:"\f335";position:relative;top:-3px;right:13px}.customize-panel-back:before,.customize-section-back:before{font:normal 20px/72px dashicons;content:"\f345";position:relative;right:9px}.wp-full-overlay-sidebar .wp-full-overlay-header{background-color:#f0f0f1;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-right:62px}p.customize-section-description{font-style:normal;margin-top:22px;margin-bottom:0}.customize-section-description ul{margin-right:1em}.customize-section-description ul>li{list-style:disc}.section-description-buttons{text-align:left}.customize-control{width:100%;float:right;clear:both;margin-bottom:12px}.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=password],.customize-control input[type=range],.customize-control input[type=search],.customize-control input[type=tel],.customize-control input[type=text],.customize-control input[type=url]{width:100%;margin:0}.customize-control-hidden{margin:0}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{width:100%}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.customize-control-description{display:block;font-style:italic;line-height:1.4;margin-top:0;margin-bottom:5px}.customize-section-description a.external-link:after{font:16px/11px dashicons;content:"\f504";top:3px;position:relative;padding-right:3px;display:inline-block;text-decoration:none}.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control .customize-inside-control-row{line-height:1.6;display:block;margin-right:24px;padding-top:6px;padding-bottom:6px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-left:4px;margin-right:-24px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:1.6}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control-checkbox label,.customize-control-radio label{vertical-align:top}.customize-control .attachment-thumb.type-icon{float:right;margin:10px;width:auto}.customize-control .attachment-title{font-weight:600;margin:0;padding:5px 10px}.customize-control .attachment-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 10px}.customize-control .attachment-meta-title{padding-top:7px}.customize-control .thumbnail-image,.customize-control .wp-media-wrapper.wp-video,.customize-control-header .current{line-height:0}.customize-control-site_icon .favicon-preview .browser-preview{vertical-align:top}.customize-control .thumbnail-image img{cursor:pointer}#customize-controls .thumbnail-audio .thumbnail{max-width:64px;max-height:64px;margin:10px;float:right}#available-menu-items .accordion-section-content .new-content-item,.customize-control-dropdown-pages .new-content-item{width:calc(100% - 30px);padding:8px 15px;position:absolute;bottom:0;z-index:10;background:#f0f0f1;display:flex}.customize-control-dropdown-pages .new-content-item{width:100%;padding:5px 1px 5px 0;position:relative}#available-menu-items .new-content-item .create-item-input,.customize-control-dropdown-pages .new-content-item .create-item-input{flex-grow:10}#available-menu-items .new-content-item .add-content,.customize-control-dropdown-pages .new-content-item .add-content{margin:2px 6px 2px 0;flex-grow:1}.customize-control-dropdown-pages .new-content-item .create-item-input.invalid{border:1px solid #d63638}.customize-control-dropdown-pages .add-new-toggle{margin-right:1px;font-weight:600;line-height:2.2}#customize-preview iframe{width:100%;height:100%;position:absolute}#customize-preview iframe+iframe{visibility:hidden}.wp-full-overlay-sidebar{background:#f0f0f1;border-left:1px solid #dcdcde}#customize-controls .customize-control-notifications-container{margin:4px 0 8px;padding:0;cursor:default}#customize-controls .customize-control-widget_form.has-error .widget .widget-top,.customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle{box-shadow:inset 0 0 0 2px #d63638;transition:.15s box-shadow linear}#customize-controls .customize-control-notifications-container li.notice{list-style:none;margin:0 0 6px;padding:9px 14px;overflow:hidden}#customize-controls .customize-control-notifications-container .notice.is-dismissible{padding-left:38px}.customize-control-notifications-container li.notice:last-child{margin-bottom:0}#customize-controls .customize-control-nav_menu_item .customize-control-notifications-container{margin-top:0}#customize-controls .customize-control-widget_form .customize-control-notifications-container{margin-top:8px}.customize-control-text.has-error input{outline:2px solid #d63638}#customize-controls #customize-notifications-area{position:absolute;top:46px;width:100%;border-bottom:1px solid #dcdcde;display:block;padding:0;margin:0}.wp-full-overlay.collapsed #customize-controls #customize-notifications-area{display:none!important}#customize-controls #customize-notifications-area:not(.has-overlay-notifications),#customize-controls .customize-section-title>.customize-control-notifications-container:not(.has-overlay-notifications),#customize-controls .panel-meta>.customize-control-notifications-container:not(.has-overlay-notifications){max-height:210px;overflow-x:hidden;overflow-y:auto}#customize-controls #customize-notifications-area .notice,#customize-controls #customize-notifications-area>ul,#customize-controls .customize-section-title>.customize-control-notifications-container,#customize-controls .customize-section-title>.customize-control-notifications-container .notice,#customize-controls .panel-meta>.customize-control-notifications-container,#customize-controls .panel-meta>.customize-control-notifications-container .notice{margin:0}#customize-controls .customize-section-title>.customize-control-notifications-container,#customize-controls .panel-meta>.customize-control-notifications-container{border-top:1px solid #dcdcde}#customize-controls #customize-notifications-area .notice,#customize-controls .customize-section-title>.customize-control-notifications-container .notice,#customize-controls .panel-meta>.customize-control-notifications-container .notice{padding:9px 14px}#customize-controls #customize-notifications-area .notice.is-dismissible,#customize-controls .customize-section-title>.customize-control-notifications-container .notice.is-dismissible,#customize-controls .panel-meta>.customize-control-notifications-container .notice.is-dismissible{padding-left:38px}#customize-controls #customize-notifications-area .notice+.notice,#customize-controls .customize-section-title>.customize-control-notifications-container .notice+.notice,#customize-controls .panel-meta>.customize-control-notifications-container .notice+.notice{margin-top:1px}@keyframes customize-fade-in{0%{opacity:0}100%{opacity:1}}#customize-controls #customize-notifications-area .notice.notification-overlay,#customize-controls .notice.notification-overlay{margin:0;border-right:0}#customize-controls .customize-control-notifications-container.has-overlay-notifications{animation:customize-fade-in .5s;z-index:30}#customize-controls #customize-notifications-area .notice.notification-overlay .notification-message{clear:both;color:#1d2327;font-size:18px;font-style:normal;margin:0;padding:2em 0;text-align:center;width:100%;display:block;top:50%;position:relative}#customize-control-show_on_front.has-error{margin-bottom:0}#customize-control-show_on_front.has-error .customize-control-notifications-container{margin-top:12px}.accordion-section .dropdown{float:right;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:right;min-width:30px;height:16px;line-height:16px;margin-left:16px;padding:4px 5px;border:2px solid #f0f0f1;-webkit-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;left:0;width:20px;background:#f0f0f1}.customize-control .dropdown-arrow:after{content:"\f140";font:normal 20px/1 dashicons;speak:never;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#2c3338}.customize-control .dropdown-status{color:#2c3338;background:#f0f0f1;display:none;max-width:112px}.customize-control-color .dropdown{margin-left:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#50575e;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}.customize-control .actions .button{margin-top:12px}.customize-control-header .actions,.customize-control-header .uploaded{margin-bottom:18px}.customize-control-header .default button:not(.random),.customize-control-header .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}.customize-control-header button img{display:block}.customize-control .attachment-media-view .default-button,.customize-control .attachment-media-view .remove-button,.customize-control .attachment-media-view .upload-button,.customize-control-header button.new,.customize-control-header button.remove{width:auto;height:auto;white-space:normal}.customize-control .attachment-media-view .thumbnail,.customize-control-header .current .container{overflow:hidden}.customize-control .attachment-media-view .button-add-media,.customize-control .attachment-media-view .placeholder,.customize-control-header .placeholder{width:100%;position:relative;text-align:center;cursor:default;border:1px dashed #c3c4c7;box-sizing:border-box;padding:9px 0;line-height:1.6}.customize-control .attachment-media-view .button-add-media{cursor:pointer;background-color:#f0f0f1;color:#2c3338}.customize-control .attachment-media-view .button-add-media:hover{background-color:#fff}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fff;border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.customize-control-header .inner{display:none;position:absolute;width:100%;color:#50575e;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customize-control-header .inner,.customize-control-header .inner .dashicons{line-height:20px;top:8px}.customize-control-header .list .inner,.customize-control-header .list .inner .dashicons{top:9px}.customize-control-header .header-view{position:relative;width:100%;margin-bottom:12px}.customize-control-header .header-view:last-child{margin-bottom:0}.customize-control-header .header-view:after{border:0}.customize-control-header .header-view.selected .choice:focus{outline:0}.customize-control-header .header-view.selected:after{content:"";position:absolute;height:auto;top:0;right:0;bottom:0;left:0;border:4px solid #72aee6;border-radius:2px}.customize-control-header .header-view.button.selected{border:0}.customize-control-header .uploaded .header-view .close{font-size:20px;color:#fff;background:#50575e;background:rgba(0,0,0,.5);position:absolute;top:10px;right:-999px;z-index:1;width:26px;height:26px;cursor:pointer}.customize-control-header .header-view .close:focus,.customize-control-header .header-view:hover .close{right:auto;left:10px}.customize-control-header .header-view .close:focus{outline:1px solid #4f94d4}.customize-control-header .random.placeholder{cursor:pointer;border-radius:2px;height:40px}.customize-control-header button.random{width:100%;height:auto;min-height:40px;white-space:normal}.customize-control-header button.random .dice{margin-top:4px}.customize-control-header .header-view:hover>button.random .dice,.customize-control-header .placeholder:hover .dice{animation:dice-color-change 3s infinite}.button-see-me{animation:bounce .7s 1;transform-origin:center bottom}@keyframes bounce{20%,53%,80%,from,to{animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.050,0.855,0.060);transform:translate3d(0,-12px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.050,0.855,0.060);transform:translate3d(0,-6px,0)}90%{transform:translate3d(0,-1px,0)}}.customize-control-header .choice{position:relative;display:block;margin-bottom:9px}.customize-control-header .choice:focus{outline:0;box-shadow:0 0 0 1px #4f94d4,0 0 3px 1px rgba(79,148,212,.8)}.customize-control-header .uploaded div:last-child>.choice{margin-bottom:0}.customize-control .attachment-media-view .thumbnail-image img,.customize-control-header img{max-width:100%}.customize-control .attachment-media-view .default-button,.customize-control .attachment-media-view .remove-button,.customize-control-header .remove{margin-left:8px}.customize-control-background_position .background-position-control .button-group{display:block}.customize-control-code_editor textarea{width:100%;font-family:Consolas,Monaco,monospace;font-size:12px;padding:6px 8px;-o-tab-size:2;tab-size:2}.customize-control-code_editor .CodeMirror,.customize-control-code_editor textarea{height:14em}#customize-controls .customize-section-description-container.section-meta.customize-info{border-bottom:none}#sub-accordion-section-custom_css .customize-control-notifications-container{margin-bottom:15px}#customize-control-custom_css textarea{display:block;height:500px}.customize-section-description-container+#customize-control-custom_css .customize-control-title{margin-right:12px}.customize-section-description-container+#customize-control-custom_css:last-child textarea{border-left:0;border-right:0;height:calc(100vh - 185px);resize:none}.customize-section-description-container+#customize-control-custom_css:last-child{margin-right:-12px;width:299px;width:calc(100% + 24px);margin-bottom:-12px}.customize-section-description-container+#customize-control-custom_css:last-child .CodeMirror{height:calc(100vh - 185px)}.CodeMirror-hints,.CodeMirror-lint-tooltip{z-index:500000!important}.customize-section-description-container+#customize-control-custom_css:last-child .customize-control-notifications-container{margin-right:12px;margin-left:12px}.theme-browser .theme.active .theme-actions,.wp-customizer .theme-browser .theme .theme-actions{padding:9px 15px;box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}@media screen and (max-width:640px){.customize-section-description-container+#customize-control-custom_css:last-child{margin-left:0}.customize-section-description-container+#customize-control-custom_css:last-child textarea{height:calc(100vh - 140px)}}#customize-theme-controls .control-panel-themes{border-bottom:none}#customize-theme-controls .control-panel-themes>.accordion-section-title,#customize-theme-controls .control-panel-themes>.accordion-section-title:hover{cursor:default;background:#fff;color:#50575e;border-top:1px solid #dcdcde;border-bottom:1px solid #dcdcde;border-right:none;border-left:none;margin:0 0 15px;padding-left:100px}#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child,#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover{border-top:0}#customize-theme-controls .control-section-themes>.accordion-section-title,#customize-theme-controls .control-section-themes>.accordion-section-title:hover{margin:0 0 15px}#customize-controls .customize-themes-panel .accordion-section-title,#customize-controls .customize-themes-panel .accordion-section-title:hover{margin:15px -8px}#customize-controls .control-section-themes .accordion-section-title,#customize-controls .customize-themes-panel .accordion-section-title{padding-left:100px}#customize-controls .control-section-themes .accordion-section-title span.customize-action,#customize-controls .customize-section-title span.customize-action,.control-panel-themes .accordion-section-title span.customize-action{font-size:13px;display:block;font-weight:400}#customize-theme-controls .control-panel-themes .accordion-section-title .change-theme{position:absolute;left:10px;top:50%;margin-top:-14px;font-weight:400}#customize-notifications-area .notification-message button.switch-to-editor{display:block;margin-top:6px;font-weight:400}#customize-theme-controls .control-panel-themes>.accordion-section-title:after{display:none}.control-panel-themes .customize-themes-full-container{position:fixed;top:0;right:0;transition:.18s right ease-in-out;margin:0 300px 0 0;padding:71px 0 25px;overflow-y:scroll;width:calc(100% - 300px);height:calc(100% - 96px);background:#f0f0f1;z-index:20}@media (prefers-reduced-motion:reduce){.control-panel-themes .customize-themes-full-container{transition:none}}@media screen and (min-width:1670px){.control-panel-themes .customize-themes-full-container{width:82%;left:0;right:initial}}.modal-open .control-panel-themes .customize-themes-full-container{overflow-y:visible}#customize-header-actions .customize-controls-preview-toggle,#customize-header-actions .spinner,#customize-save-button-wrapper{transition:.18s margin ease-in-out}#customize-footer-actions,#customize-footer-actions .collapse-sidebar{bottom:0;transition:.18s bottom ease-in-out}.in-themes-panel:not(.animating) #customize-footer-actions,.in-themes-panel:not(.animating) #customize-header-actions .customize-controls-preview-toggle,.in-themes-panel:not(.animating) #customize-header-actions .spinner,.in-themes-panel:not(.animating) #customize-preview{visibility:hidden}.wp-full-overlay.in-themes-panel{background:#f0f0f1}.in-themes-panel #customize-header-actions .customize-controls-preview-toggle,.in-themes-panel #customize-header-actions .spinner,.in-themes-panel #customize-save-button-wrapper{margin-top:-46px}.in-themes-panel #customize-footer-actions,.in-themes-panel #customize-footer-actions .collapse-sidebar{bottom:-45px}.in-themes-panel.animating .control-panel-themes .filter-themes-count{display:none}.in-themes-panel.wp-full-overlay .wp-full-overlay-sidebar-content{bottom:0}.themes-filter-bar .feature-filter-toggle{float:left;margin:3px 25px 3px 0}.themes-filter-bar .feature-filter-toggle:before{content:"\f111";margin:0 0 0 5px;font:normal 16px/1 dashicons;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.themes-filter-bar .feature-filter-toggle.open{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.themes-filter-bar .feature-filter-toggle .filter-count-filters{display:none}.filter-drawer{box-sizing:border-box;width:100%;position:absolute;top:46px;right:0;padding:25px 25px 25px 0;border-top:0;margin:0;background:#f0f0f1;border-bottom:1px solid #dcdcde}.filter-drawer .filter-group{margin:0 0 0 25px;width:calc((100% - 75px)/ 3);min-width:200px;max-width:320px}@keyframes themes-fade-in{0%{opacity:0}50%{opacity:0}100%{opacity:1}}.control-panel-themes .customize-themes-full-container.animate{animation:.6s themes-fade-in 1}.in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count{animation:.6s themes-fade-in 1}.control-panel-themes .filter-themes-count{position:relative;float:left;line-height:2.6}.control-panel-themes .filter-themes-count .themes-displayed{font-weight:600;color:#50575e}.customize-themes-notifications{margin:0}.control-panel-themes .customize-themes-notifications .notice{margin:0 0 25px}.customize-themes-full-container .customize-themes-section{display:none!important;overflow:hidden}.customize-themes-full-container .customize-themes-section.current-section{display:list-item!important}.control-section .customize-section-text-before{padding:0 15px 8px 0;margin:15px 0 0;line-height:16px;border-bottom:1px solid #dcdcde;color:#50575e}.control-panel-themes .customize-themes-section-title{width:100%;background:#fff;box-shadow:none;outline:0;border-top:none;border-bottom:1px solid #dcdcde;border-right:4px solid #fff;border-left:none;cursor:pointer;padding:10px 15px;position:relative;text-align:right;font-size:14px;font-weight:600;color:#50575e;text-shadow:none}.control-panel-themes #accordion-section-installed_themes{border-top:1px solid #dcdcde}.control-panel-themes .theme-section{margin:0;position:relative}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-right-color:#2271b1;color:#2271b1;background:#f6f7f7}.customize-themes-section-title:not(.selected):after{content:"";display:block;position:absolute;top:9px;left:15px;width:18px;height:18px;border-radius:100%;border:1px solid #c3c4c7;background:#fff}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{content:"\f147";font:16px/1 dashicons;box-sizing:border-box;width:20px;height:20px;padding:3px 1px 1px 3px;border-radius:100%;position:absolute;top:9px;left:15px;background:#2271b1;color:#fff}.control-panel-themes .customize-themes-section-title.selected{color:#2271b1}#customize-theme-controls .themes.accordion-section-content{position:relative;right:0;padding:0;width:100%}.loading .customize-themes-section .spinner{display:block;visibility:visible;position:relative;clear:both;width:20px;height:20px;right:calc(50% - 10px);float:none;margin-top:50px}.customize-themes-section .no-themes,.customize-themes-section .no-themes-local{display:none}.themes-section-installed_themes .theme .notice-success:not(.updated-message){display:none}.customize-control-theme .theme{width:100%;margin:0;border:1px solid #dcdcde;background:#fff}.customize-control-theme .theme .theme-actions,.customize-control-theme .theme .theme-name{background:#fff;border:none}.customize-control.customize-control-theme{box-sizing:border-box;width:25%;max-width:600px;margin:0 0 25px 25px;padding:0;clear:none}@media screen and (min-width:2101px){.customize-control.customize-control-theme{width:calc((100% - 125px)/ 5 - 1px)}}@media screen and (min-width:1601px) and (max-width:2100px){.customize-control.customize-control-theme{width:calc((100% - 100px)/ 4 - 1px)}}@media screen and (min-width:1201px) and (max-width:1600px){.customize-control.customize-control-theme{width:calc((100% - 75px)/ 3 - 1px)}}@media screen and (min-width:851px) and (max-width:1200px){.customize-control.customize-control-theme{width:calc((100% - 50px)/ 2 - 1px)}}@media screen and (max-width:850px){.customize-control.customize-control-theme{width:100%}}.wp-customizer .theme-browser .themes{padding:0 25px 25px 0;transition:.18s margin-top linear}.wp-customizer .theme-browser .theme .theme-actions{opacity:1}#customize-controls h3.theme-name{font-size:15px}#customize-controls .theme-overlay .theme-name{font-size:32px}.customize-preview-header.themes-filter-bar{position:fixed;top:0;right:300px;width:calc(100% - 300px);height:46px;background:#f0f0f1;z-index:10;padding:6px 25px;box-sizing:border-box;border-bottom:1px solid #dcdcde}@media screen and (min-width:1670px){.customize-preview-header.themes-filter-bar{width:82%;left:0;right:initial}}.themes-filter-bar .themes-filter-container{margin:0;padding:0}.themes-filter-bar .wp-filter-search{line-height:1.8;padding:6px 30px 6px 10px;max-width:100%;width:40%;min-width:300px;position:absolute;top:6px;right:25px;height:32px;margin:1px 0}@media screen and (max-height:540px),screen and (max-width:1018px){.customize-preview-header.themes-filter-bar{position:relative;right:0;width:100%;margin:0 0 25px}.filter-drawer{top:46px}.wp-customizer .theme-browser .themes{padding:0 25px 25px 0;overflow:hidden}.control-panel-themes .customize-themes-full-container{margin-top:0;padding:0;height:100%;width:calc(100% - 300px)}}@media screen and (max-width:1018px){.filter-drawer .filter-group{width:calc((100% - 50px)/ 2)}}@media screen and (max-width:900px){.customize-preview-header.themes-filter-bar{height:86px;padding-top:46px}.themes-filter-bar .wp-filter-search{width:calc(100% - 50px);margin:0;min-width:200px}.filter-drawer{top:86px}.control-panel-themes .filter-themes-count{float:right}}@media screen and (max-width:792px){.filter-drawer .filter-group{width:calc(100% - 25px)}}.control-panel-themes .customize-themes-mobile-back{display:none}@media screen and (max-width:600px){.filter-drawer{top:132px}.wp-full-overlay.showing-themes .control-panel-themes .filter-themes-count .filter-themes{display:block;float:left}.control-panel-themes .customize-themes-full-container{width:100%;margin:0;padding-top:46px;height:calc(100% - 46px);z-index:1;display:none}.showing-themes .control-panel-themes .customize-themes-full-container{display:block}.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back{display:block;position:fixed;top:0;right:0;background:#f0f0f1;color:#3c434a;border-radius:0;box-shadow:none;border:none;height:46px;width:100%;z-index:10;text-align:right;text-shadow:none;border-bottom:1px solid #dcdcde;border-right:4px solid transparent;margin:0;padding:0;font-size:0;overflow:hidden}.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:before{right:0;top:0;height:46px;width:26px;display:block;line-height:2.3;padding:0 8px;border-left:1px solid #dcdcde}.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:focus,.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover{color:#2271b1;background:#f6f7f7;border-right-color:#2271b1;box-shadow:none;outline:2px solid transparent;outline-offset:-2px}.showing-themes #customize-header-actions{display:none}#customize-controls{width:100%}}.wp-customizer .theme-overlay{display:none}.wp-customizer.modal-open .theme-overlay{position:fixed;right:0;top:0;left:0;bottom:0;z-index:109}.wp-customizer.modal-open #customize-header-actions,.wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after,.wp-customizer.modal-open .control-panel-themes .filter-themes-count{z-index:-1}.wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.wp-customizer .theme-overlay .theme-backdrop{background:rgba(240,240,241,.75);position:fixed;z-index:110}.wp-customizer .theme-overlay .star-rating{float:right;margin-left:8px}.wp-customizer .theme-rating .num-ratings{line-height:20px}.wp-customizer .theme-overlay .theme-wrap{right:90px;left:90px;top:45px;bottom:45px;z-index:120}.wp-customizer .theme-overlay .theme-actions{text-align:left;padding:10px 25px;background:#f0f0f1;border-top:1px solid #dcdcde}.wp-customizer .theme-overlay .theme-actions .theme-install.preview{margin-right:8px}.control-panel-themes .theme-actions .delete-theme{right:15px;left:auto;bottom:auto;position:absolute}.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.wp-customizer .theme-header{background:#f0f0f1}.wp-customizer .theme-overlay .theme-header .close:before,.wp-customizer .theme-overlay .theme-header button{color:#3c434a}.wp-customizer .theme-overlay .theme-header .close:focus,.wp-customizer .theme-overlay .theme-header .close:hover,.wp-customizer .theme-overlay .theme-header .left:focus,.wp-customizer .theme-overlay .theme-header .left:hover,.wp-customizer .theme-overlay .theme-header .right:focus,.wp-customizer .theme-overlay .theme-header .right:hover{background:#fff;border-bottom:4px solid #2271b1;color:#2271b1}.wp-customizer .theme-overlay .theme-header .close:focus:before,.wp-customizer .theme-overlay .theme-header .close:hover:before{color:#2271b1}.wp-customizer .theme-overlay .theme-header button.disabled,.wp-customizer .theme-overlay .theme-header button.disabled:focus,.wp-customizer .theme-overlay .theme-header button.disabled:hover{border-bottom:none;background:0 0;color:#c3c4c7}@media (max-width:850px),(max-height:472px){.wp-customizer .theme-overlay .theme-wrap{right:0;left:0;top:0;bottom:0}.wp-customizer .theme-browser .themes{padding-left:25px}}body.cheatin{font-size:medium;height:auto;background:#fff;border:1px solid #c3c4c7;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;box-shadow:0 1px 1px rgba(0,0,0,.04)}body.cheatin h1{border-bottom:1px solid #dcdcde;clear:both;color:#50575e;font-size:24px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:30px 0 0;padding:0 0 7px}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px}#customize-theme-controls .add-new-menu-item,#customize-theme-controls .add-new-widget{cursor:pointer;float:left;margin:0 10px 0 0;transition:all .2s;-webkit-user-select:none;user-select:none;outline:0}.reordering .add-new-menu-item,.reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}#available-menu-items .new-content-item .add-content:before,.add-new-menu-item:before,.add-new-widget:before{content:"\f132";display:inline-block;position:relative;right:-2px;top:0;font:normal 20px/1 dashicons;vertical-align:middle;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reorder-toggle{float:left;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0}.reorder,.reordering .reorder-done{display:block;padding:5px 8px}.reorder-done,.reordering .reorder{display:none}.menu-item-reorder-nav button,.widget-reorder-nav span{position:relative;overflow:hidden;float:right;display:block;width:33px;height:43px;color:#8c8f94;text-indent:-9999px;cursor:pointer;outline:0}.menu-item-reorder-nav button{width:30px;height:40px;background:0 0;border:none;box-shadow:none}.menu-item-reorder-nav button:before,.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;font:normal 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-reorder-nav button:focus,.menu-item-reorder-nav button:hover,.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#1d2327;background:#f0f0f1}.menus-move-down:before,.move-widget-down:before{content:"\f347"}.menus-move-up:before,.move-widget-up:before{content:"\f343"}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down,.move-down-disabled .menus-move-down,.move-left-disabled .menus-move-left,.move-right-disabled .menus-move-right,.move-up-disabled .menus-move-up{color:#dcdcde;background-color:#fff;cursor:default;pointer-events:none}.wp-full-overlay-main{left:auto;width:100%}.add-menu-toggle.open,.add-menu-toggle.open:hover,.adding-menu-items .add-new-menu-item,.adding-menu-items .add-new-menu-item:hover,body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#f0f0f1;border-color:#8c8f94;color:#2c3338;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#accordion-section-add_menu .add-new-menu-item.open:before,.adding-menu-items .add-new-menu-item:before,body.adding-widget .add-new-widget:before{transform:rotate(-45deg)}#available-menu-items,#available-widgets{position:absolute;top:0;bottom:0;right:-301px;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:300px;margin:0;z-index:4;background:#f0f0f1;transition:right .18s;border-left:1px solid #dcdcde}#available-menu-items .customize-section-title,#available-widgets .customize-section-title{display:none}#available-widgets-list{top:60px;position:absolute;overflow:auto;bottom:0;width:100%;border-top:1px solid #dcdcde}.no-widgets-found #available-widgets-list{border-top:none}#available-widgets-filter{position:fixed;top:0;z-index:1;width:300px;background:#f0f0f1}#available-menu-items-search .accordion-section-title,#available-widgets-filter{padding:13px 15px;box-sizing:border-box}#available-menu-items-search input,#available-widgets-filter input{width:100%;min-height:32px;margin:1px 0;padding:0 30px}#available-menu-items-search input::-ms-clear,#available-widgets-filter input::-ms-clear{display:none}#available-menu-items-search .search-icon,#available-widgets-filter .search-icon{display:block;position:absolute;top:15px;right:16px;width:30px;height:30px;line-height:2.1;text-align:center;color:#646970}#available-menu-items-search .clear-results,#available-widgets-filter .clear-results{position:absolute;top:15px;left:16px;width:30px;height:30px;padding:0;border:0;cursor:pointer;background:0 0;color:#d63638;text-decoration:none;outline:0}#available-menu-items-search .clear-results,#available-menu-items-search.loading .clear-results.is-visible,#available-widgets-filter .clear-results{display:none}#available-menu-items-search .clear-results.is-visible,#available-widgets-filter .clear-results.is-visible{display:block}#available-menu-items-search .clear-results:before,#available-widgets-filter .clear-results:before{content:"\f335";font:normal 20px/1 dashicons;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-menu-items-search .clear-results:focus,#available-menu-items-search .clear-results:hover,#available-widgets-filter .clear-results:focus,#available-widgets-filter .clear-results:hover{color:#d63638}#available-menu-items-search .clear-results:focus,#available-widgets-filter .clear-results:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}#available-menu-items-search .search-icon:after,#available-widgets-filter .search-icon:after,.themes-filter-bar .search-icon:after{content:"\f179";font:normal 20px/1 dashicons;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.themes-filter-bar .search-icon{position:absolute;top:7px;right:26px;z-index:1;color:#646970;height:30px;width:30px;line-height:2;text-align:center}.no-widgets-found-message{display:none;margin:0;padding:0 15px;line-height:inherit}.no-widgets-found .no-widgets-found-message{display:block}#available-menu-items .item-top,#available-menu-items .item-top:hover,#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;box-shadow:none}#available-menu-items .item-tpl,#available-widgets .widget-tpl{position:relative;padding:15px 60px 15px 15px;background:#fff;border-bottom:1px solid #dcdcde;border-right:4px solid #fff;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;cursor:pointer;display:none}#available-menu-items .item,#available-widgets .widget{position:static}.customize-controls-preview-toggle{display:none}@media only screen and (max-width:782px){.wp-customizer .theme:not(.active):focus .theme-actions,.wp-customizer .theme:not(.active):hover .theme-actions{display:block}.wp-customizer .theme-browser .theme.active .theme-name span{display:inline}.customize-control-header button.random .dice{margin-top:0}.customize-control-checkbox .customize-inside-control-row,.customize-control-nav_menu_auto_add .customize-inside-control-row,.customize-control-radio .customize-inside-control-row{margin-right:32px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-right:-32px}.customize-control input[type=checkbox]+label+br,.customize-control input[type=radio]+label+br{line-height:2.5}.customize-control .date-time-fields select{height:39px}.date-time-fields .date-input.month{width:79px}.date-time-fields .date-input.day,.date-time-fields .date-input.hour,.date-time-fields .date-input.minute{width:55px}.date-time-fields .date-input.year{width:80px}#customize-control-changeset_preview_link a{bottom:16px}.preview-link-wrapper .customize-copy-preview-link.preview-control-element.button{bottom:10px}.media-widget-control .media-widget-buttons .button.change-media,.media-widget-control .media-widget-buttons .button.edit-media,.media-widget-control .media-widget-buttons .button.select-media{margin-top:12px}.wp-core-ui .themes-filter-bar .feature-filter-toggle{margin:3px 25px 3px 0}}@media screen and (max-width:1200px){.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main{right:67%}}@media screen and (max-width:640px){.wp-full-overlay.collapsed #customize-controls{margin-right:0}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:0}.customize-controls-preview-toggle{display:block;position:absolute;top:0;right:48px;line-height:2.6;font-size:14px;padding:0 12px 4px;margin:0;height:45px;background:#f0f0f1;border:0;border-left:1px solid #dcdcde;border-top:4px solid #f0f0f1;color:#50575e;cursor:pointer;transition:color .1s ease-in-out,background .1s ease-in-out}#customize-footer-actions,.customize-controls-preview-toggle .controls,.preview-only .customize-controls-preview-toggle .preview,.preview-only .wp-full-overlay-sidebar-content{display:none}.preview-only #customize-save-button-wrapper{margin-top:-46px}.customize-controls-preview-toggle .controls:before,.customize-controls-preview-toggle .preview:before{font:normal 20px/1 dashicons;content:"\f177";position:relative;top:4px;margin-left:6px}.customize-controls-preview-toggle .controls:before{content:"\f540"}.preview-only #customize-controls{height:45px}.preview-only #customize-preview,.preview-only .customize-controls-preview-toggle .controls{display:block}.wp-core-ui.wp-customizer .button{min-height:30px;padding:0 14px;line-height:2;font-size:14px;vertical-align:middle}#customize-control-changeset_status .customize-inside-control-row{padding-top:15px}body.adding-menu-items div#available-menu-items,body.adding-widget div#available-widgets,body.outer-section-open div#customize-sidebar-outer-content{width:100%}#available-menu-items .customize-section-title,#available-widgets .customize-section-title{display:block;margin:0}#available-menu-items .customize-section-back,#available-widgets .customize-section-back{height:69px}#available-menu-items .customize-section-title h3,#available-widgets .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 14px 12px 10px;margin:0;line-height:24px;color:#50575e;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-menu-items .customize-section-title .customize-action,#available-widgets .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets-filter{position:relative;width:100%;height:auto}#available-widgets-list{top:130px}#available-menu-items-search .clear-results,#available-menu-items-search .search-icon{top:85px}.reorder,.reordering .reorder-done{padding:8px}.wp-core-ui .themes-filter-bar .feature-filter-toggle{margin:0}}@media screen and (max-width:600px){.wp-full-overlay.expanded{margin-right:0}body.adding-menu-items div#available-menu-items,body.adding-widget div#available-widgets,body.outer-section-open div#customize-sidebar-outer-content{top:46px;z-index:10}body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content{right:-100%}body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content{right:0}} \ No newline at end of file diff --git a/build/wp-admin/css/customize-controls.css b/build/wp-admin/css/customize-controls.css deleted file mode 100644 index be4c082bcf..0000000000 --- a/build/wp-admin/css/customize-controls.css +++ /dev/null @@ -1,3001 +0,0 @@ -body { - overflow: hidden; - -webkit-text-size-adjust: 100%; -} - -.customize-controls-close, -.widget-control-actions a { - text-decoration: none; -} - -#customize-controls h3 { - font-size: 14px; -} - -#customize-controls img { - max-width: 100%; -} - -#customize-controls .submit { - text-align: center; -} - -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked { - background-color: rgba(0, 0, 0, 0.7); - padding: 25px; -} - -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message { - margin-left: auto; - margin-right: auto; - max-width: 366px; - min-height: 64px; - width: auto; - padding: 25px 25px 25px 109px; - position: relative; - background: #fff; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); - line-height: 1.5; - overflow-y: auto; - text-align: left; - top: calc( 50% - 100px ); -} - -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing { - margin-top: 0; -} -#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .action-buttons { - margin-bottom: 0; -} - -.customize-changeset-locked-avatar { - width: 64px; - position: absolute; - left: 25px; - top: 25px; -} - -.wp-core-ui.wp-customizer .customize-changeset-locked-message a.button { - margin-right: 10px; - margin-top: 0; -} - -#customize-controls .description { - color: #50575e; -} - -#customize-save-button-wrapper { - float: right; - margin-top: 9px; -} - -body:not(.ready) #customize-save-button-wrapper .save { - visibility: hidden; -} -#customize-save-button-wrapper .save { - float: left; - border-radius: 3px; - box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */ - margin-top: 0; -} - -#customize-save-button-wrapper .save:focus, #publish-settings:focus { - box-shadow: 0 1px 0 #2271b1, 0 0 2px 1px #72aee6; /* This is default box shadow for focus */ -} - -#customize-save-button-wrapper .save.has-next-sibling { - border-radius: 3px 0 0 3px; -} - -#customize-sidebar-outer-content { - position: absolute; - top: 0; - bottom: 0; - left: 0; - visibility: hidden; - overflow-x: hidden; - overflow-y: auto; - width: 100%; - margin: 0; - z-index: -1; - background: #f0f0f1; - transition: left .18s; - border-right: 1px solid #dcdcde; - border-left: 1px solid #dcdcde; - height: 100%; -} - -@media (prefers-reduced-motion: reduce) { - #customize-sidebar-outer-content { - transition: none; - } -} - -#customize-theme-controls .control-section-outer { - display: none !important; -} - -#customize-outer-theme-controls .accordion-section-content { - padding: 12px; -} - -#customize-outer-theme-controls .accordion-section-content.open { - display: block; -} - -.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content { - visibility: visible; - left: 100%; - transition: left .18s; -} - -@media (prefers-reduced-motion: reduce) { - .outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content { - transition: none; - } -} - -.customize-outer-pane-parent { - margin: 0; -} - -.outer-section-open .wp-full-overlay.expanded .wp-full-overlay-main { - left: 300px; - opacity: 0.4; -} - -.outer-section-open .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main, -.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, -.adding-menu-items .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main, -.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, -.adding-widget .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main, -.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main { - left: 64%; -} - -#customize-outer-theme-controls li.notice { - padding-top: 8px; - padding-bottom: 8px; - margin-left: 0; - margin-bottom: 10px; -} - -#publish-settings { - text-indent: 0; - border-radius: 0 3px 3px 0; - padding-left: 0; - padding-right: 0; - box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */ - font-size: 14px; - width: 30px; - float: left; - transform: none; - margin-top: 0; - line-height: 2; -} - -body:not(.ready) #publish-settings, -body.trashing #customize-save-button-wrapper .save, -body.trashing #publish-settings { - display: none; -} - -#customize-header-actions .spinner { - margin-top: 13px; - margin-right: 4px; -} - -.saving #customize-header-actions .spinner, -.trashing #customize-header-actions .spinner { - visibility: visible; -} - -#customize-header-actions { - border-bottom: 1px solid #dcdcde; -} - -#customize-controls .wp-full-overlay-sidebar-content { - overflow-y: auto; - overflow-x: hidden; -} - -.outer-section-open #customize-controls .wp-full-overlay-sidebar-content { - background: #f0f0f1; -} - -#customize-controls .customize-info { - border: none; - border-bottom: 1px solid #dcdcde; - margin-bottom: 15px; -} - -#customize-control-changeset_status .customize-inside-control-row, -#customize-control-changeset_preview_link input { - background-color: #fff; - border-bottom: 1px solid #dcdcde; - box-sizing: content-box; - width: 100%; - margin-left: -12px; - padding-left: 12px; - padding-right: 12px; -} - -#customize-control-trash_changeset { - margin-top: 20px; -} -#customize-control-trash_changeset .button-link { - position: relative; - padding-left: 24px; - display: inline-block; -} -#customize-control-trash_changeset .button-link:before { - content: "\f182"; - font: normal 22px dashicons; - text-decoration: none; - position: absolute; - left: 0; - top: -2px; -} - -#customize-controls .date-input:invalid { - border-color: #d63638; -} - -#customize-control-changeset_status .customize-inside-control-row { - padding-top: 10px; - padding-bottom: 10px; - font-weight: 500; -} - -#customize-control-changeset_status .customize-inside-control-row:first-of-type { - border-top: 1px solid #dcdcde; -} - -#customize-control-changeset_status .customize-control-title { - margin-bottom: 6px; -} - -#customize-control-changeset_status input { - margin-left: 0; -} - -#customize-control-changeset_preview_link { - position: relative; - display: block; -} - -.preview-link-wrapper .customize-copy-preview-link.preview-control-element.button { - margin: 0; - position: absolute; - bottom: 9px; - right: 0; -} - -.preview-link-wrapper { - position: relative; -} - -.customize-copy-preview-link:before, -.customize-copy-preview-link:after { - content: ""; - height: 28px; - position: absolute; - background: #fff; - top: -1px; -} - -.customize-copy-preview-link:before { - left: -10px; - width: 9px; - opacity: 0.75; -} - -.customize-copy-preview-link:after { - left: -5px; - width: 4px; - opacity: 0.8; -} - -#customize-control-changeset_preview_link input { - line-height: 2.85714286; /* 40px */ - border-top: 1px solid #dcdcde; - border-left: none; - border-right: none; - text-indent: -999px; - color: #fff; - /* Only necessary for IE11 */ - min-height: 40px; -} - -#customize-control-changeset_preview_link label { - position: relative; - display: block; -} - -#customize-control-changeset_preview_link a { - display: inline-block; - position: absolute; - white-space: nowrap; - overflow: hidden; - width: 90%; - bottom: 14px; - font-size: 14px; - text-decoration: none; -} - -#customize-control-changeset_preview_link a.disabled, -#customize-control-changeset_preview_link a.disabled:active, -#customize-control-changeset_preview_link a.disabled:focus, -#customize-control-changeset_preview_link a.disabled:visited { - color: #000; - opacity: 0.4; - cursor: default; - outline: none; - box-shadow: none; -} - -#sub-accordion-section-publish_settings .customize-section-description-container { - display: none; -} - -#customize-controls .customize-info.section-meta { - margin-bottom: 15px; -} - -.customize-control-date_time .customize-control-description + .date-time-fields.includes-time { - margin-top: 10px; -} - -.customize-control.customize-control-date_time .date-time-fields .date-input.day { - margin-right: 0; -} - -.date-time-fields .date-input.month { - width: auto; - margin: 0; -} - -.date-time-fields .date-input.day, -.date-time-fields .date-input.hour, -.date-time-fields .date-input.minute { - width: 46px; -} - -.date-time-fields .date-input.year { - width: 65px; -} - -.date-time-fields .date-input.meridian { - width: auto; - margin: 0; -} - -.date-time-fields .time-row { - margin-top: 12px; -} - -#customize-control-changeset_preview_link { - margin-top: 6px; -} - -#customize-control-changeset_status { - margin-bottom: 0; - padding-bottom: 0; -} - -#customize-control-changeset_scheduled_date { - box-sizing: content-box; - width: 100%; - margin-left: -12px; - padding: 12px; - background: #fff; - border-bottom: 1px solid #dcdcde; - margin-bottom: 0; -} - -#customize-control-changeset_scheduled_date .customize-control-description { - font-style: normal; -} - -#customize-controls .customize-info.is-in-view, -#customize-controls .customize-section-title.is-in-view { - position: absolute; - z-index: 9; - width: 100%; - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -} - -#customize-controls .customize-section-title.is-in-view { - margin-top: 0; -} - -#customize-controls .customize-info.is-in-view + .accordion-section { - margin-top: 15px; -} - -#customize-controls .customize-info.is-sticky, -#customize-controls .customize-section-title.is-sticky { - position: fixed; - top: 46px; -} - -#customize-controls .customize-info .accordion-section-title { - background: #fff; - color: #50575e; - border-left: none; - border-right: none; - border-bottom: none; - cursor: default; -} - -#customize-controls .customize-info.open .accordion-section-title:after, -#customize-controls .customize-info .accordion-section-title:hover:after, -#customize-controls .customize-info .accordion-section-title:focus:after { - color: #2c3338; -} - -#customize-controls .customize-info .accordion-section-title:after { - display: none; -} - -#customize-controls .customize-info .preview-notice { - font-size: 13px; - line-height: 1.9; -} - -#customize-controls .customize-pane-child .customize-section-title h3, -#customize-controls .customize-pane-child h3.customize-section-title, -#customize-outer-theme-controls .customize-pane-child .customize-section-title h3, -#customize-outer-theme-controls .customize-pane-child h3.customize-section-title, -#customize-controls .customize-info .panel-title { - font-size: 20px; - font-weight: 200; - line-height: 26px; - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -#customize-controls .customize-section-title span.customize-action { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; -} - -#customize-controls .customize-info .customize-help-toggle { - position: absolute; - top: 4px; - right: 1px; - padding: 20px 20px 10px 10px; - width: 20px; - height: 20px; - cursor: pointer; - box-shadow: none; - background: transparent; - color: #50575e; - border: none; -} - -#customize-controls .customize-info .customize-help-toggle:before { - position: absolute; - top: 5px; - left: 6px; -} - -#customize-controls .customize-info.open .customize-help-toggle, -#customize-controls .customize-info .customize-help-toggle:focus, -#customize-controls .customize-info .customize-help-toggle:hover { - color: #2271b1; -} - -#customize-controls .customize-info .customize-panel-description, -#customize-controls .customize-info .customize-section-description, -#customize-outer-theme-controls .customize-info .customize-section-description, -#customize-controls .no-widget-areas-rendered-notice { - color: #50575e; - display: none; - background: #fff; - padding: 12px 15px; - border-top: 1px solid #dcdcde; -} - -#customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice { - border-top: none; -} -.no-widget-areas-rendered-notice { - font-style: italic; -} -.no-widget-areas-rendered-notice p:first-child { - margin-top: 0; -} -.no-widget-areas-rendered-notice p:last-child { - margin-bottom: 0; -} - -#customize-controls .customize-info .customize-section-description { - margin-bottom: 15px; -} - -#customize-controls .customize-info .customize-panel-description p:first-child, -#customize-controls .customize-info .customize-section-description p:first-child { - margin-top: 0; -} - -#customize-controls .customize-info .customize-panel-description p:last-child, -#customize-controls .customize-info .customize-section-description p:last-child { - margin-bottom: 0; -} - -#customize-controls .current-panel .control-section > h3.accordion-section-title { - padding-right: 30px; -} - -#customize-theme-controls .control-section, -#customize-outer-theme-controls .control-section { - border: none; -} - -#customize-theme-controls .accordion-section-title, -#customize-outer-theme-controls .accordion-section-title { - color: #50575e; - background-color: #fff; - border-bottom: 1px solid #dcdcde; - border-left: 4px solid #fff; - transition: - .15s color ease-in-out, - .15s background-color ease-in-out, - .15s border-color ease-in-out; -} - -@media (prefers-reduced-motion: reduce) { - #customize-theme-controls .accordion-section-title, - #customize-outer-theme-controls .accordion-section-title { - transition: none; - } -} - -#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title { - color: #50575e; - background-color: #fff; - border-left: 4px solid #fff; -} - -#customize-theme-controls .accordion-section-title:after, -#customize-outer-theme-controls .accordion-section-title:after { - content: "\f345"; - color: #a7aaad; -} - -#customize-theme-controls .accordion-section-content, -#customize-outer-theme-controls .accordion-section-content { - color: #50575e; - background: transparent; -} - -#customize-controls .control-section:hover > .accordion-section-title, -#customize-controls .control-section .accordion-section-title:hover, -#customize-controls .control-section.open .accordion-section-title, -#customize-controls .control-section .accordion-section-title:focus { - color: #2271b1; - background: #f6f7f7; - border-left-color: #2271b1; -} - -#accordion-section-themes + .control-section { - border-top: 1px solid #dcdcde; -} - -.js .control-section:hover .accordion-section-title, -.js .control-section .accordion-section-title:hover, -.js .control-section.open .accordion-section-title, -.js .control-section .accordion-section-title:focus { - background: #f6f7f7; -} - -#customize-theme-controls .control-section:hover > .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:hover:after, -#customize-theme-controls .control-section.open .accordion-section-title:after, -#customize-theme-controls .control-section .accordion-section-title:focus:after, -#customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, -#customize-outer-theme-controls .control-section .accordion-section-title:hover:after, -#customize-outer-theme-controls .control-section.open .accordion-section-title:after, -#customize-outer-theme-controls .control-section .accordion-section-title:focus:after { - color: #2271b1; -} - -#customize-theme-controls .control-section.open { - border-bottom: 1px solid #f0f0f1; -} - -#customize-theme-controls .control-section.open .accordion-section-title, -#customize-outer-theme-controls .control-section.open .accordion-section-title { - border-bottom-color: #f0f0f1 !important; -} - -#customize-theme-controls .control-section:last-of-type.open, -#customize-theme-controls .control-section:last-of-type > .accordion-section-title { - border-bottom-color: #dcdcde; -} - -#customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2), -#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu, -#customize-theme-controls .control-section-nav_menu_locations .accordion-section-title { - border-top: 1px solid #dcdcde; -} - -#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu + .control-section-nav_menu { - border-top: none; -} - -#customize-theme-controls > ul { - margin: 0; -} - -#customize-theme-controls .accordion-section-content { - position: absolute; - top: 0; - left: 100%; - width: 100%; - margin: 0; - padding: 12px; - box-sizing: border-box; -} - -#customize-info, -#customize-theme-controls .customize-pane-parent, -#customize-theme-controls .customize-pane-child { - overflow: visible; - width: 100%; - margin: 0; - padding: 0; - box-sizing: border-box; - transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */ -} - -@media (prefers-reduced-motion: reduce) { - #customize-info, - #customize-theme-controls .customize-pane-parent, - #customize-theme-controls .customize-pane-child { - transition: none; - } -} - -#customize-theme-controls .customize-pane-child.skip-transition { - transition: none; -} - -#customize-info, -#customize-theme-controls .customize-pane-parent { - position: relative; - visibility: visible; - height: auto; - max-height: none; - overflow: auto; - transform: none; -} - -#customize-theme-controls .customize-pane-child { - position: absolute; - top: 0; - left: 0; - visibility: hidden; - height: 0; - max-height: none; - overflow: hidden; - transform: translateX(100%); -} - -#customize-theme-controls .customize-pane-child.open, -#customize-theme-controls .customize-pane-child.current-panel { - transform: none; -} - -.section-open #customize-theme-controls .customize-pane-parent, -.in-sub-panel #customize-theme-controls .customize-pane-parent, -.section-open #customize-info, -.in-sub-panel #customize-info, -.in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel { - visibility: hidden; - height: 0; - overflow: hidden; - transform: translateX(-100%); -} - -.section-open #customize-theme-controls .customize-pane-parent.busy, -.in-sub-panel #customize-theme-controls .customize-pane-parent.busy, -.section-open #customize-info.busy, -.in-sub-panel #customize-info.busy, -.busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel, -#customize-theme-controls .customize-pane-child.open, -#customize-theme-controls .customize-pane-child.current-panel, -#customize-theme-controls .customize-pane-child.busy { - visibility: visible; - height: auto; - overflow: auto; -} - -#customize-theme-controls .customize-pane-child.accordion-section-content, -#customize-theme-controls .customize-pane-child.accordion-sub-container { - display: block; - overflow-x: hidden; -} - -#customize-theme-controls .customize-pane-child.accordion-section-content { - padding: 12px; -} - -#customize-theme-controls .customize-pane-child.menu li { - position: static; -} - -.customize-section-description-container, -.control-section-nav_menu .customize-section-description-container, -.control-section-new_menu .customize-section-description-container { - margin-bottom: 15px; -} - -.control-section-nav_menu .customize-control, -.control-section-new_menu .customize-control { - /* Override default `margin-bottom` for `.customize-control` */ - margin-bottom: 0; -} - -.customize-section-title { - margin: -12px -12px 0; - border-bottom: 1px solid #dcdcde; - background: #fff; -} - -div.customize-section-description { - margin-top: 22px; -} - -.customize-info div.customize-section-description { - margin-top: 0; -} - -div.customize-section-description p:first-child { - margin-top: 0; -} - -div.customize-section-description p:last-child { - margin-bottom: 0; -} - -#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child { - border-bottom: 1px solid #dcdcde; - padding: 12px; -} - -.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child { - padding: 12px 12px 13px; -} - -.customize-section-title h3, -h3.customize-section-title { - padding: 10px 10px 12px 14px; - margin: 0; - line-height: 21px; - color: #50575e; -} - -.accordion-sub-container.control-panel-content { - display: none; - position: absolute; - top: 0; - width: 100%; -} - -.accordion-sub-container.control-panel-content.busy { - display: block; -} - -.current-panel .accordion-sub-container.control-panel-content { - width: 100%; -} - -.customize-controls-close { - display: block; - position: absolute; - top: 0; - left: 0; - width: 45px; - height: 41px; - padding: 0 2px 0 0; - background: #f0f0f1; - border: none; - border-top: 4px solid #f0f0f1; - border-right: 1px solid #dcdcde; - color: #3c434a; - text-align: left; - cursor: pointer; - transition: - color .15s ease-in-out, - border-color .15s ease-in-out, - background .15s ease-in-out; - box-sizing: content-box; -} - -.customize-panel-back, -.customize-section-back { - display: block; - float: left; - width: 48px; - height: 71px; - padding: 0 24px 0 0; - margin: 0; - background: #fff; - border: none; - border-right: 1px solid #dcdcde; - border-left: 4px solid #fff; - box-shadow: none; - cursor: pointer; - transition: - color .15s ease-in-out, - border-color .15s ease-in-out, - background .15s ease-in-out; -} - -.customize-section-back { - height: 74px; -} - -.ios .customize-panel-back { - display: none; -} - -.ios .expanded.in-sub-panel .customize-panel-back { - display: block; -} - -#customize-controls .panel-meta.customize-info .accordion-section-title { - margin-left: 48px; - border-left: none; -} - -#customize-controls .panel-meta.customize-info .accordion-section-title:hover, -#customize-controls .cannot-expand:hover .accordion-section-title { - background: #fff; - color: #50575e; - border-left-color: #fff; -} - -.customize-controls-close:focus, -.customize-controls-close:hover, -.customize-controls-preview-toggle:focus, -.customize-controls-preview-toggle:hover { - background: #fff; - color: #2271b1; - border-top-color: #2271b1; - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -#customize-theme-controls .accordion-section-title:focus .customize-action { - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; - outline-offset: 1px; -} - -.customize-panel-back:hover, -.customize-panel-back:focus, -.customize-section-back:hover, -.customize-section-back:focus { - color: #2271b1; - background: #f6f7f7; - border-left-color: #2271b1; - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.customize-controls-close:before { - font: normal 22px/45px dashicons; - content: "\f335"; - position: relative; - top: -3px; - left: 13px; -} - -.customize-panel-back:before, -.customize-section-back:before { - font: normal 20px/72px dashicons; - content: "\f341"; - position: relative; - left: 9px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - background-color: #f0f0f1; - transition: padding ease-in-out .18s; -} - -.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header { - padding-left: 62px; -} - -p.customize-section-description { - font-style: normal; - margin-top: 22px; - margin-bottom: 0; -} - -.customize-section-description ul { - margin-left: 1em; -} - -.customize-section-description ul > li { - list-style: disc; -} - -.section-description-buttons { - text-align: right; -} - -.customize-control { - width: 100%; - float: left; - clear: both; - margin-bottom: 12px; -} - -.customize-control input[type="text"], -.customize-control input[type="password"], -.customize-control input[type="email"], -.customize-control input[type="number"], -.customize-control input[type="search"], -.customize-control input[type="tel"], -.customize-control input[type="url"], -.customize-control input[type="range"] { - width: 100%; - margin: 0; -} - -.customize-control-hidden { - margin: 0; -} - -.customize-control-textarea textarea { - width: 100%; - resize: vertical; -} - -.customize-control select { - width: 100%; -} - -.customize-control select[multiple] { - height: auto; -} - -.customize-control-title { - display: block; - font-size: 14px; - line-height: 1.75; - font-weight: 600; - margin-bottom: 4px; -} - -.customize-control-description { - display: block; - font-style: italic; - line-height: 1.4; - margin-top: 0; - margin-bottom: 5px; -} - -.customize-section-description a.external-link:after { - font: 16px/11px dashicons; - content: "\f504"; - top: 3px; - position: relative; - padding-left: 3px; - display: inline-block; - text-decoration: none; -} - -.customize-control-color .color-picker, -.customize-control-upload div { - line-height: 28px; -} - -.customize-control .customize-inside-control-row { - line-height: 1.6; - display: block; - margin-left: 24px; - padding-top: 6px; - padding-bottom: 6px; -} - -.customize-control-radio input, -.customize-control-checkbox input, -.customize-control-nav_menu_auto_add input { - margin-right: 4px; - margin-left: -24px; -} - -.customize-control-radio { - padding: 5px 0 10px; -} - -.customize-control-radio .customize-control-title { - margin-bottom: 0; - line-height: 1.6; -} - -.customize-control-radio .customize-control-title + .customize-control-description { - margin-top: 7px; -} - -.customize-control-radio label, -.customize-control-checkbox label { - vertical-align: top; -} - -.customize-control .attachment-thumb.type-icon { - float: left; - margin: 10px; - width: auto; -} - -.customize-control .attachment-title { - font-weight: 600; - margin: 0; - padding: 5px 10px; -} - -.customize-control .attachment-meta { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - margin: 0; - padding: 0 10px; -} - -.customize-control .attachment-meta-title { - padding-top: 7px; -} - -/* Remove descender space. */ -.customize-control .thumbnail-image, -.customize-control-header .current, -.customize-control .wp-media-wrapper.wp-video { - line-height: 0; -} - -/* Remove descender space. */ -.customize-control-site_icon .favicon-preview .browser-preview { - vertical-align: top; -} - -.customize-control .thumbnail-image img { - cursor: pointer; -} - -#customize-controls .thumbnail-audio .thumbnail { - max-width: 64px; - max-height: 64px; - margin: 10px; - float: left; -} - -#available-menu-items .accordion-section-content .new-content-item, -.customize-control-dropdown-pages .new-content-item { - width: calc(100% - 30px); - padding: 8px 15px; - position: absolute; - bottom: 0; - z-index: 10; - background: #f0f0f1; - display: flex; -} - -.customize-control-dropdown-pages .new-content-item { - width: 100%; - padding: 5px 0 5px 1px; - position: relative; -} - -#available-menu-items .new-content-item .create-item-input, -.customize-control-dropdown-pages .new-content-item .create-item-input { - flex-grow: 10; -} - -#available-menu-items .new-content-item .add-content, -.customize-control-dropdown-pages .new-content-item .add-content { - margin: 2px 0 2px 6px; - flex-grow: 1; -} - -.customize-control-dropdown-pages .new-content-item .create-item-input.invalid { - border: 1px solid #d63638; -} - -.customize-control-dropdown-pages .add-new-toggle { - margin-left: 1px; - font-weight: 600; - line-height: 2.2; -} - -#customize-preview iframe { - width: 100%; - height: 100%; - position: absolute; -} -#customize-preview iframe + iframe { - visibility: hidden; -} - -.wp-full-overlay-sidebar { - background: #f0f0f1; - border-right: 1px solid #dcdcde; -} - - -/** - * Notifications - */ - -#customize-controls .customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */ - margin: 4px 0 8px; - padding: 0; - cursor: default; -} - -#customize-controls .customize-control-widget_form.has-error .widget .widget-top, -.customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle { - box-shadow: inset 0 0 0 2px #d63638; - transition: .15s box-shadow linear; -} - -#customize-controls .customize-control-notifications-container li.notice { - list-style: none; - margin: 0 0 6px; - padding: 9px 14px; - overflow: hidden; -} -#customize-controls .customize-control-notifications-container .notice.is-dismissible { - padding-right: 38px; -} - -.customize-control-notifications-container li.notice:last-child { - margin-bottom: 0; -} - -#customize-controls .customize-control-nav_menu_item .customize-control-notifications-container { - margin-top: 0; -} - -#customize-controls .customize-control-widget_form .customize-control-notifications-container { - margin-top: 8px; -} - -.customize-control-text.has-error input { - outline: 2px solid #d63638; -} - -#customize-controls #customize-notifications-area { - position: absolute; - top: 46px; - width: 100%; - border-bottom: 1px solid #dcdcde; - display: block; - padding: 0; - margin: 0; -} - -.wp-full-overlay.collapsed #customize-controls #customize-notifications-area { - display: none !important; -} - -#customize-controls #customize-notifications-area:not(.has-overlay-notifications), -#customize-controls .customize-section-title > .customize-control-notifications-container:not(.has-overlay-notifications), -#customize-controls .panel-meta > .customize-control-notifications-container:not(.has-overlay-notifications) { - max-height: 210px; - overflow-x: hidden; - overflow-y: auto; -} - -#customize-controls #customize-notifications-area > ul, -#customize-controls #customize-notifications-area .notice, -#customize-controls .panel-meta > .customize-control-notifications-container, -#customize-controls .panel-meta > .customize-control-notifications-container .notice, -#customize-controls .customize-section-title > .customize-control-notifications-container, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice { - margin: 0; -} -#customize-controls .panel-meta > .customize-control-notifications-container, -#customize-controls .customize-section-title > .customize-control-notifications-container { - border-top: 1px solid #dcdcde; -} -#customize-controls #customize-notifications-area .notice, -#customize-controls .panel-meta > .customize-control-notifications-container .notice, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice { - padding: 9px 14px; -} -#customize-controls #customize-notifications-area .notice.is-dismissible, -#customize-controls .panel-meta > .customize-control-notifications-container .notice.is-dismissible, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice.is-dismissible { - padding-right: 38px; -} -#customize-controls #customize-notifications-area .notice + .notice, -#customize-controls .panel-meta > .customize-control-notifications-container .notice + .notice, -#customize-controls .customize-section-title > .customize-control-notifications-container .notice + .notice { - margin-top: 1px; -} - -@keyframes customize-fade-in { - 0% { opacity: 0; } - 100% { opacity: 1; } -} - -#customize-controls .notice.notification-overlay, -#customize-controls #customize-notifications-area .notice.notification-overlay { - margin: 0; - border-left: 0; /* @todo Appropriate styles could be added for notice-error, notice-warning, notice-success, etc */ -} - -#customize-controls .customize-control-notifications-container.has-overlay-notifications { - animation: customize-fade-in 0.5s; - z-index: 30; -} - -/* Note: Styles for this are also defined in themes.css */ -#customize-controls #customize-notifications-area .notice.notification-overlay .notification-message { - clear: both; - color: #1d2327; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 2em 0; - text-align: center; - width: 100%; - display: block; - top: 50%; - position: relative; -} - -/* Style for custom settings */ - -/** - * Static front page - */ - -#customize-control-show_on_front.has-error { - margin-bottom: 0; -} -#customize-control-show_on_front.has-error .customize-control-notifications-container { - margin-top: 12px; -} - -/** - * Dropdowns - */ - -.accordion-section .dropdown { - float: left; - display: block; - position: relative; - cursor: pointer; -} - -.accordion-section .dropdown-content { - overflow: hidden; - float: left; - min-width: 30px; - height: 16px; - line-height: 16px; - margin-right: 16px; - padding: 4px 5px; - border: 2px solid #f0f0f1; - -webkit-user-select: none; - user-select: none; -} - -/* @todo maybe no more used? */ -.customize-control .dropdown-arrow { - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 20px; - background: #f0f0f1; -} - -.customize-control .dropdown-arrow:after { - content: "\f140"; - font: normal 20px/1 dashicons; - speak: never; - display: block; - padding: 0; - text-indent: 0; - text-align: center; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #2c3338; -} - -.customize-control .dropdown-status { - color: #2c3338; - background: #f0f0f1; - display: none; - max-width: 112px; -} - -.customize-control-color .dropdown { - margin-right: 5px; - margin-bottom: 5px; -} - -.customize-control-color .dropdown .dropdown-content { - background-color: #50575e; - border: 1px solid rgba(0, 0, 0, 0.15); -} - -.customize-control-color .dropdown:hover .dropdown-content { - border-color: rgba(0, 0, 0, 0.25); -} - -/** - * iOS can't scroll iframes, - * instead it expands the iframe size to match the size of the content - */ - -.ios .wp-full-overlay { - position: relative; -} - -.ios #customize-controls .wp-full-overlay-sidebar-content { - -webkit-overflow-scrolling: touch; -} - -/* Media controls */ - -.customize-control .actions .button { - margin-top: 12px; -} - -.customize-control-header .actions, -.customize-control-header .uploaded { - margin-bottom: 18px; -} - -.customize-control-header .uploaded button:not(.random), -.customize-control-header .default button:not(.random) { - width: 100%; - padding: 0; - margin: 0; - background: none; - border: none; - color: inherit; - cursor: pointer; -} - -.customize-control-header button img { - display: block; -} - -.customize-control .attachment-media-view .remove-button, -.customize-control .attachment-media-view .default-button, -.customize-control .attachment-media-view .upload-button, -.customize-control-header button.new, -.customize-control-header button.remove { - width: auto; - height: auto; - white-space: normal; -} - -.customize-control .attachment-media-view .thumbnail, -.customize-control-header .current .container { - overflow: hidden; -} - -.customize-control .attachment-media-view .placeholder, -.customize-control .attachment-media-view .button-add-media, -.customize-control-header .placeholder { - width: 100%; - position: relative; - text-align: center; - cursor: default; - border: 1px dashed #c3c4c7; - box-sizing: border-box; - padding: 9px 0; - line-height: 1.6; -} - -.customize-control .attachment-media-view .button-add-media { - cursor: pointer; - background-color: #f0f0f1; - color: #2c3338; -} - -.customize-control .attachment-media-view .button-add-media:hover { - background-color: #fff; -} - -.customize-control .attachment-media-view .button-add-media:focus { - background-color: #fff; - border-color: #3582c4; - border-style: solid; - box-shadow: 0 0 0 1px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.customize-control-header .inner { - display: none; - position: absolute; - width: 100%; - color: #50575e; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - -.customize-control-header .inner, -.customize-control-header .inner .dashicons { - line-height: 20px; - top: 8px; -} - -.customize-control-header .list .inner, -.customize-control-header .list .inner .dashicons { - top: 9px; -} - -.customize-control-header .header-view { - position: relative; - width: 100%; - margin-bottom: 12px; -} - -.customize-control-header .header-view:last-child { - margin-bottom: 0; -} - -/* Convoluted, but 'outline' support isn't good enough yet */ -.customize-control-header .header-view:after { - border: 0; -} - -.customize-control-header .header-view.selected .choice:focus { - outline: none; -} - -.customize-control-header .header-view.selected:after { - content: ""; - position: absolute; - height: auto; - top: 0; - left: 0; - bottom: 0; - right: 0; - border: 4px solid #72aee6; - border-radius: 2px; -} - -.customize-control-header .header-view.button.selected { - border: 0; -} - -/* Header control: overlay "close" button */ - -.customize-control-header .uploaded .header-view .close { - font-size: 20px; - color: #fff; - background: #50575e; - background: rgba(0, 0, 0, 0.5); - position: absolute; - top: 10px; - left: -999px; - z-index: 1; - width: 26px; - height: 26px; - cursor: pointer; -} - -.customize-control-header .header-view:hover .close, -.customize-control-header .header-view .close:focus { - left: auto; - right: 10px; -} - -.customize-control-header .header-view .close:focus { - outline: 1px solid #4f94d4; -} - -/* Header control: randomiz(s)er */ - -.customize-control-header .random.placeholder { - cursor: pointer; - border-radius: 2px; - height: 40px; -} - -.customize-control-header button.random { - width: 100%; - height: auto; - min-height: 40px; - white-space: normal; -} - -.customize-control-header button.random .dice { - margin-top: 4px; -} - -.customize-control-header .placeholder:hover .dice, -.customize-control-header .header-view:hover > button.random .dice { - animation: dice-color-change 3s infinite; -} - -.button-see-me { - animation: bounce .7s 1; - transform-origin: center bottom; -} - -@keyframes bounce { - from, 20%, 53%, 80%, to { - animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); - transform: translate3d(0,0,0); - } - - 40%, 43% { - animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); - transform: translate3d(0, -12px, 0); - } - - 70% { - animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); - transform: translate3d(0, -6px, 0); - } - - 90% { - transform: translate3d(0,-1px,0); - } -} - -.customize-control-header .choice { - position: relative; - display: block; - margin-bottom: 9px; -} - -.customize-control-header .choice:focus { - outline: none; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 3px 1px rgba(79, 148, 212, 0.8); -} - -.customize-control-header .uploaded div:last-child > .choice { - margin-bottom: 0; -} - -.customize-control .attachment-media-view .thumbnail-image img, -.customize-control-header img { - max-width: 100%; -} - -.customize-control .attachment-media-view .remove-button, -.customize-control .attachment-media-view .default-button, -.customize-control-header .remove { - margin-right: 8px; -} - -/* Background position control */ -.customize-control-background_position .background-position-control .button-group { - display: block; -} - -/** - * Code Editor Control and Custom CSS Section - * - * Modifications to the Section Container to make the textarea full-width and - * full-height, if the control is the only control in the section. - */ - -.customize-control-code_editor textarea { - width: 100%; - font-family: Consolas, Monaco, monospace; - font-size: 12px; - padding: 6px 8px; - -o-tab-size: 2; - tab-size: 2; -} -.customize-control-code_editor textarea, -.customize-control-code_editor .CodeMirror { - height: 14em; -} - -#customize-controls .customize-section-description-container.section-meta.customize-info { - border-bottom: none; -} - -#sub-accordion-section-custom_css .customize-control-notifications-container { - margin-bottom: 15px; -} - -#customize-control-custom_css textarea { - display: block; - height: 500px; -} - -.customize-section-description-container + #customize-control-custom_css .customize-control-title { - margin-left: 12px; -} - -.customize-section-description-container + #customize-control-custom_css:last-child textarea { - border-right: 0; - border-left: 0; - height: calc( 100vh - 185px ); - resize: none; -} - -.customize-section-description-container + #customize-control-custom_css:last-child { - margin-left: -12px; - width: 299px; - width: calc( 100% + 24px ); - margin-bottom: -12px; -} - -.customize-section-description-container + #customize-control-custom_css:last-child .CodeMirror { - height: calc( 100vh - 185px ); -} - -.CodeMirror-lint-tooltip, -.CodeMirror-hints { - z-index: 500000 !important; -} - -.customize-section-description-container + #customize-control-custom_css:last-child .customize-control-notifications-container { - margin-left: 12px; - margin-right: 12px; -} - -.theme-browser .theme.active .theme-actions, -.wp-customizer .theme-browser .theme .theme-actions { - padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); -} - -@media screen and (max-width: 640px) { - .customize-section-description-container + #customize-control-custom_css:last-child { - margin-right: 0; - } - - .customize-section-description-container + #customize-control-custom_css:last-child textarea { - height: calc( 100vh - 140px ); - } -} - -/** - * Themes - */ - -#customize-theme-controls .control-panel-themes { - border-bottom: none; -} - -#customize-theme-controls .control-panel-themes > .accordion-section-title:hover, /* Not a focusable element. */ -#customize-theme-controls .control-panel-themes > .accordion-section-title { - cursor: default; - background: #fff; - color: #50575e; - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #dcdcde; - border-left: none; - border-right: none; - margin: 0 0 15px; - padding-right: 100px; /* Space for the button */ -} - -#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */ -#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child { - border-top: 0; -} - -#customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */ -#customize-theme-controls .control-section-themes > .accordion-section-title { - margin: 0 0 15px; -} - -#customize-controls .customize-themes-panel .accordion-section-title:hover, -#customize-controls .customize-themes-panel .accordion-section-title { - margin: 15px -8px; -} - -#customize-controls .control-section-themes .accordion-section-title, -#customize-controls .customize-themes-panel .accordion-section-title { - padding-right: 100px; /* Space for the button */ -} - -.control-panel-themes .accordion-section-title span.customize-action, -#customize-controls .customize-section-title span.customize-action, -#customize-controls .control-section-themes .accordion-section-title span.customize-action, -#customize-controls .customize-section-title span.customize-action { - font-size: 13px; - display: block; - font-weight: 400; -} - -#customize-theme-controls .control-panel-themes .accordion-section-title .change-theme { - position: absolute; - right: 10px; - top: 50%; - margin-top: -14px; - font-weight: 400; -} - -#customize-notifications-area .notification-message button.switch-to-editor { - display: block; - margin-top: 6px; - font-weight: 400; -} - -#customize-theme-controls .control-panel-themes > .accordion-section-title:after { - display: none; -} - -.control-panel-themes .customize-themes-full-container { - position: fixed; - top: 0; - left: 0; - transition: .18s left ease-in-out; - margin: 0 0 0 300px; - padding: 71px 0 25px; - overflow-y: scroll; - width: calc(100% - 300px); - height: calc(100% - 96px); - background: #f0f0f1; - z-index: 20; -} - -@media (prefers-reduced-motion: reduce) { - .control-panel-themes .customize-themes-full-container { - transition: none; - } -} - -@media screen and (min-width: 1670px) { - .control-panel-themes .customize-themes-full-container { - width: 82%; - right: 0; - left: initial; - } -} - -.modal-open .control-panel-themes .customize-themes-full-container { - overflow-y: visible; -} - -/* Animations for opening the themes panel */ -#customize-save-button-wrapper, -#customize-header-actions .spinner, -#customize-header-actions .customize-controls-preview-toggle { - transition: .18s margin ease-in-out; -} - -#customize-footer-actions, -#customize-footer-actions .collapse-sidebar { - bottom: 0; - transition: .18s bottom ease-in-out; -} - -.in-themes-panel:not(.animating) #customize-header-actions .spinner, -.in-themes-panel:not(.animating) #customize-header-actions .customize-controls-preview-toggle, -.in-themes-panel:not(.animating) #customize-preview, -.in-themes-panel:not(.animating) #customize-footer-actions { - visibility: hidden; -} - -.wp-full-overlay.in-themes-panel { - background: #f0f0f1; /* Prevents a black flash when fading in the panel */ -} - -.in-themes-panel #customize-save-button-wrapper, -.in-themes-panel #customize-header-actions .spinner, -.in-themes-panel #customize-header-actions .customize-controls-preview-toggle { - margin-top: -46px; /* Height of header actions bar */ -} - -.in-themes-panel #customize-footer-actions, -.in-themes-panel #customize-footer-actions .collapse-sidebar { - bottom: -45px; -} - -/* Don't show the theme count while the panel opens, as it's in the wrong place during the animation */ -.in-themes-panel.animating .control-panel-themes .filter-themes-count { - display: none; -} - -.in-themes-panel.wp-full-overlay .wp-full-overlay-sidebar-content { - bottom: 0; -} - -.themes-filter-bar .feature-filter-toggle { - float: right; - margin: 3px 0 3px 25px; -} - -.themes-filter-bar .feature-filter-toggle:before { - content: "\f111"; - margin: 0 5px 0 0; - font: normal 16px/1 dashicons; - vertical-align: text-bottom; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.themes-filter-bar .feature-filter-toggle.open { - background: #f0f0f1; - border-color: #8c8f94; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); -} - -.themes-filter-bar .feature-filter-toggle .filter-count-filters { - display: none; -} - -.filter-drawer { - box-sizing: border-box; - width: 100%; - position: absolute; - top: 46px; - left: 0; - padding: 25px 0 25px 25px; - border-top: 0; - margin: 0; - background: #f0f0f1; - border-bottom: 1px solid #dcdcde; -} - -.filter-drawer .filter-group { - margin: 0 25px 0 0; - width: calc( (100% - 75px) / 3); - min-width: 200px; - max-width: 320px; -} - -/* Adds a delay before fading in to avoid it "jumping" */ -@keyframes themes-fade-in { - 0% { - opacity: 0; - } - 50% { - opacity: 0; - } - 100% { - opacity: 1; - } -} - -.control-panel-themes .customize-themes-full-container.animate { - animation: .6s themes-fade-in 1; -} - -.in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count { - animation: .6s themes-fade-in 1; -} - -.control-panel-themes .filter-themes-count { - position: relative; - float: right; - line-height: 2.6; -} - -.control-panel-themes .filter-themes-count .themes-displayed { - font-weight: 600; - color: #50575e; -} - -.customize-themes-notifications { - margin: 0; -} - -.control-panel-themes .customize-themes-notifications .notice { - margin: 0 0 25px; -} - -.customize-themes-full-container .customize-themes-section { - display: none !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */ - overflow: hidden; -} - -.customize-themes-full-container .customize-themes-section.current-section { - display: list-item !important; /* There is unknown JS that perpetually tries to show all theme sections when more items are added. */ -} - -.control-section .customize-section-text-before { - padding: 0 0 8px 15px; - margin: 15px 0 0; - line-height: 16px; - border-bottom: 1px solid #dcdcde; - color: #50575e; -} - -.control-panel-themes .customize-themes-section-title { - width: 100%; - background: #fff; - box-shadow: none; - outline: none; - border-top: none; - border-bottom: 1px solid #dcdcde; - border-left: 4px solid #fff; - border-right: none; - cursor: pointer; - padding: 10px 15px; - position: relative; - text-align: left; - font-size: 14px; - font-weight: 600; - color: #50575e; - text-shadow: none; -} - -.control-panel-themes #accordion-section-installed_themes { - border-top: 1px solid #dcdcde; -} - -.control-panel-themes .theme-section { - margin: 0; - position: relative; -} - -.control-panel-themes .customize-themes-section-title:focus, -.control-panel-themes .customize-themes-section-title:hover { - border-left-color: #2271b1; - color: #2271b1; - background: #f6f7f7; -} - -.customize-themes-section-title:not(.selected):after { - content: ""; - display: block; - position: absolute; - top: 9px; - right: 15px; - width: 18px; - height: 18px; - border-radius: 100%; - border: 1px solid #c3c4c7; - background: #fff; -} - -.control-panel-themes .theme-section .customize-themes-section-title.selected:after { - content: "\f147"; - font: 16px/1 dashicons; - box-sizing: border-box; - width: 20px; - height: 20px; - padding: 3px 3px 1px 1px; /* Re-align the icon to the smaller grid */ - border-radius: 100%; - position: absolute; - top: 9px; - right: 15px; - background: #2271b1; - color: #fff; -} - -.control-panel-themes .customize-themes-section-title.selected { - color: #2271b1; -} - -#customize-theme-controls .themes.accordion-section-content { - position: relative; - left: 0; - padding: 0; - width: 100%; -} - -.loading .customize-themes-section .spinner { - display: block; - visibility: visible; - position: relative; - clear: both; - width: 20px; - height: 20px; - left: calc(50% - 10px); - float: none; - margin-top: 50px; -} - -.customize-themes-section .no-themes, -.customize-themes-section .no-themes-local { - display: none; -} - -.themes-section-installed_themes .theme .notice-success:not(.updated-message) { - display: none; /* Hide "installed" notice on installed themes tab. */ -} - -.customize-control-theme .theme { - width: 100%; - margin: 0; - border: 1px solid #dcdcde; - background: #fff; -} - -.customize-control-theme .theme .theme-name, .customize-control-theme .theme .theme-actions { - background: #fff; - border: none; -} - -.customize-control.customize-control-theme { /* override most properties on .customize-control */ - box-sizing: border-box; - width: 25%; - max-width: 600px; /* Max. screenshot size / 2 */ - margin: 0 25px 25px 0; - padding: 0; - clear: none; -} - -/* 5 columns above 2100px */ -@media screen and (min-width: 2101px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 125px ) / 5 - 1px ); /* 1px offset accounts for browser rounding, typical all grids */ - } -} - -/* 4 columns up to 2100px */ -@media screen and (min-width: 1601px) and (max-width: 2100px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 100px ) / 4 - 1px ); - } -} - -/* 3 columns up to 1600px */ -@media screen and (min-width: 1201px) and (max-width: 1600px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 75px ) / 3 - 1px ); - } -} - -/* 2 columns up to 1200px */ -@media screen and (min-width: 851px) and (max-width: 1200px) { - .customize-control.customize-control-theme { - width: calc( ( 100% - 50px ) / 2 - 1px ); - - } -} - -/* 1 column up to 850 px */ -@media screen and (max-width: 850px) { - .customize-control.customize-control-theme { - width: 100%; - } -} - -.wp-customizer .theme-browser .themes { - padding: 0 0 25px 25px; - transition: .18s margin-top linear; -} - -.wp-customizer .theme-browser .theme .theme-actions { - opacity: 1; -} - -#customize-controls h3.theme-name { - font-size: 15px; -} - -#customize-controls .theme-overlay .theme-name { - font-size: 32px; -} - -.customize-preview-header.themes-filter-bar { - position: fixed; - top: 0; - left: 300px; - width: calc(100% - 300px); - height: 46px; - background: #f0f0f1; - z-index: 10; - padding: 6px 25px; - box-sizing: border-box; - border-bottom: 1px solid #dcdcde; -} - -@media screen and (min-width: 1670px) { - .customize-preview-header.themes-filter-bar { - width: 82%; - right: 0; - left: initial; - } -} - -.themes-filter-bar .themes-filter-container { - margin: 0; - padding: 0; -} - -.themes-filter-bar .wp-filter-search { - line-height: 1.8; - padding: 6px 10px 6px 30px; - max-width: 100%; - width: 40%; - min-width: 300px; - position: absolute; - top: 6px; - left: 25px; - height: 32px; - margin: 1px 0; -} - -/* Unstick the filter bar on short windows/screens. This breakpoint is based on the - current length of .org feature filters assuming translations do not wrap lines. */ -@media screen and (max-height: 540px), screen and (max-width: 1018px) { - .customize-preview-header.themes-filter-bar { - position: relative; - left: 0; - width: 100%; - margin: 0 0 25px; - } - .filter-drawer { - top: 46px; - } - .wp-customizer .theme-browser .themes { - padding: 0 0 25px 25px; - overflow: hidden; - } - - .control-panel-themes .customize-themes-full-container { - margin-top: 0; - padding: 0; - height: 100%; - width: calc(100% - 300px); - } -} - -@media screen and (max-width: 1018px) { - .filter-drawer .filter-group { - width: calc( (100% - 50px) / 2); - } -} - -@media screen and (max-width: 900px) { - .customize-preview-header.themes-filter-bar { - height: 86px; - padding-top: 46px; - } - - .themes-filter-bar .wp-filter-search { - width: calc(100% - 50px); - margin: 0; - min-width: 200px; - } - - .filter-drawer { - top: 86px; - } - - .control-panel-themes .filter-themes-count { - float: left; - } -} - -@media screen and (max-width: 792px) { - .filter-drawer .filter-group { - width: calc( 100% - 25px); - } -} - -.control-panel-themes .customize-themes-mobile-back { - display: none; -} - -/* Mobile - toggle between themes and filters */ -@media screen and (max-width: 600px) { - - .filter-drawer { - top: 132px; - } - - .wp-full-overlay.showing-themes .control-panel-themes .filter-themes-count .filter-themes { - display: block; - float: right; - } - - .control-panel-themes .customize-themes-full-container { - width: 100%; - margin: 0; - padding-top: 46px; - height: calc(100% - 46px); - z-index: 1; - display: none; - } - - .showing-themes .control-panel-themes .customize-themes-full-container { - display: block; - } - - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back { - display: block; - position: fixed; - top: 0; - left: 0; - background: #f0f0f1; - color: #3c434a; - border-radius: 0; - box-shadow: none; - border: none; - height: 46px; - width: 100%; - z-index: 10; - text-align: left; - text-shadow: none; - border-bottom: 1px solid #dcdcde; - border-left: 4px solid transparent; - margin: 0; - padding: 0; - font-size: 0; - overflow: hidden; - } - - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:before { - left: 0; - top: 0; - height: 46px; - width: 26px; - display: block; - line-height: 2.3; - padding: 0 8px; - border-right: 1px solid #dcdcde; - } - - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover, - .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:focus { - color: #2271b1; - background: #f6f7f7; - border-left-color: #2271b1; - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; - } - - .showing-themes #customize-header-actions { - display: none; - } - - #customize-controls { - width: 100%; - } -} - -/* Details View */ -.wp-customizer .theme-overlay { - display: none; -} - -.wp-customizer.modal-open .theme-overlay { - position: fixed; - left: 0; - top: 0; - right: 0; - bottom: 0; - z-index: 109; -} - -/* Avoid a z-index war by resetting elements that should be under the overlay. - This is likely required because of the way that sections and panels are positioned. */ -.wp-customizer.modal-open #customize-header-actions, -.wp-customizer.modal-open .control-panel-themes .filter-themes-count, -.wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after { - z-index: -1; -} - -.wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content { - overflow: visible; -} - -.wp-customizer .theme-overlay .theme-backdrop { - background: rgba(240, 240, 241, 0.75); - position: fixed; - z-index: 110; -} - -.wp-customizer .theme-overlay .star-rating { - float: left; - margin-right: 8px; -} - -.wp-customizer .theme-rating .num-ratings { - line-height: 20px; -} - -.wp-customizer .theme-overlay .theme-wrap { - left: 90px; - right: 90px; - top: 45px; - bottom: 45px; - z-index: 120; -} - -.wp-customizer .theme-overlay .theme-actions { - text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */ - padding: 10px 25px; - background: #f0f0f1; - border-top: 1px solid #dcdcde; -} - -.wp-customizer .theme-overlay .theme-actions .theme-install.preview { - margin-left: 8px; -} - -.control-panel-themes .theme-actions .delete-theme { - left: 15px; /* these override themes.css on mobile */ - right: auto; - bottom: auto; - position: absolute; -} - -.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content { - overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */ -} - -.wp-customizer .theme-header { - background: #f0f0f1; -} - -.wp-customizer .theme-overlay .theme-header button, -.wp-customizer .theme-overlay .theme-header .close:before { - color: #3c434a; -} - -.wp-customizer .theme-overlay .theme-header .close:focus, -.wp-customizer .theme-overlay .theme-header .close:hover, -.wp-customizer .theme-overlay .theme-header .right:focus, -.wp-customizer .theme-overlay .theme-header .right:hover, -.wp-customizer .theme-overlay .theme-header .left:focus, -.wp-customizer .theme-overlay .theme-header .left:hover { - background: #fff; - border-bottom: 4px solid #2271b1; - color: #2271b1; -} - -.wp-customizer .theme-overlay .theme-header .close:focus:before, -.wp-customizer .theme-overlay .theme-header .close:hover:before { - color: #2271b1; -} - -.wp-customizer .theme-overlay .theme-header button.disabled, -.wp-customizer .theme-overlay .theme-header button.disabled:hover, -.wp-customizer .theme-overlay .theme-header button.disabled:focus { - border-bottom: none; - background: transparent; - color: #c3c4c7; -} - -/* Small Screens */ -@media (max-width: 850px), (max-height: 472px) { - .wp-customizer .theme-overlay .theme-wrap { - left: 0; - right: 0; - top: 0; - bottom: 0; - } - - .wp-customizer .theme-browser .themes { - padding-right: 25px; - } -} - -/* Handle cheaters. */ -body.cheatin { - font-size: medium; - height: auto; - background: #fff; - border: 1px solid #c3c4c7; - margin: 50px auto 2em; - padding: 1em 2em; - max-width: 700px; - min-width: 0; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -body.cheatin h1 { - border-bottom: 1px solid #dcdcde; - clear: both; - color: #50575e; - font-size: 24px; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - margin: 30px 0 0; - padding: 0 0 7px; -} - -body.cheatin p { - font-size: 14px; - line-height: 1.5; - margin: 25px 0 20px; -} - -/** - * Widgets and Menus common styles - */ - -/* higher specificity than .wp-core-ui .button */ -#customize-theme-controls .add-new-widget, -#customize-theme-controls .add-new-menu-item { - cursor: pointer; - float: right; - margin: 0 0 0 10px; - transition: all 0.2s; - -webkit-user-select: none; - user-select: none; - outline: none; -} - -.reordering .add-new-widget, -.reordering .add-new-menu-item { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; /* doesn't work in conjunction with pointer-events */ -} - -.add-new-widget:before, -.add-new-menu-item:before, -#available-menu-items .new-content-item .add-content:before { - content: "\f132"; - display: inline-block; - position: relative; - left: -2px; - top: 0; - font: normal 20px/1 dashicons; - vertical-align: middle; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* Reordering */ -.reorder-toggle { - float: right; - padding: 5px 8px; - text-decoration: none; - cursor: pointer; - outline: none; -} - -.reorder, -.reordering .reorder-done { - display: block; - padding: 5px 8px; -} - -.reorder-done, -.reordering .reorder { - display: none; -} - -.widget-reorder-nav span, -.menu-item-reorder-nav button { - position: relative; - overflow: hidden; - float: left; - display: block; - width: 33px; /* was 42px for mobile */ - height: 43px; - color: #8c8f94; - text-indent: -9999px; - cursor: pointer; - outline: none; -} - -.menu-item-reorder-nav button { - width: 30px; - height: 40px; - background: transparent; - border: none; - box-shadow: none; -} - -.widget-reorder-nav span:before, -.menu-item-reorder-nav button:before { - display: inline-block; - position: absolute; - top: 0; - right: 0; - width: 100%; - height: 100%; - font: normal 20px/43px dashicons; - text-align: center; - text-indent: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.widget-reorder-nav span:hover, -.widget-reorder-nav span:focus, -.menu-item-reorder-nav button:hover, -.menu-item-reorder-nav button:focus { - color: #1d2327; - background: #f0f0f1; -} - -.move-widget-down:before, -.menus-move-down:before { - content: "\f347"; -} - -.move-widget-up:before, -.menus-move-up:before { - content: "\f343"; -} - -#customize-theme-controls .first-widget .move-widget-up, -#customize-theme-controls .last-widget .move-widget-down, -.move-up-disabled .menus-move-up, -.move-down-disabled .menus-move-down, -.move-right-disabled .menus-move-right, -.move-left-disabled .menus-move-left { - color: #dcdcde; - background-color: #fff; - cursor: default; - pointer-events: none; -} - -/** - * New widget and Add-menu-items modes and panels - */ - -.wp-full-overlay-main { - right: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */ - width: 100%; -} - -body.adding-widget .add-new-widget, -body.adding-widget .add-new-widget:hover, -.adding-menu-items .add-new-menu-item, -.adding-menu-items .add-new-menu-item:hover, -.add-menu-toggle.open, -.add-menu-toggle.open:hover { - background: #f0f0f1; - border-color: #8c8f94; - color: #2c3338; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); -} - -body.adding-widget .add-new-widget:before, -.adding-menu-items .add-new-menu-item:before, -#accordion-section-add_menu .add-new-menu-item.open:before { - transform: rotate(45deg); -} - -#available-widgets, -#available-menu-items { - position: absolute; - top: 0; - bottom: 0; - left: -301px; - visibility: hidden; - overflow-x: hidden; - overflow-y: auto; - width: 300px; - margin: 0; - z-index: 4; - background: #f0f0f1; - transition: left .18s; - border-right: 1px solid #dcdcde; -} - -#available-widgets .customize-section-title, -#available-menu-items .customize-section-title { - display: none; -} - -#available-widgets-list { - top: 60px; - position: absolute; - overflow: auto; - bottom: 0; - width: 100%; - border-top: 1px solid #dcdcde; -} - -.no-widgets-found #available-widgets-list { - border-top: none; -} - -#available-widgets-filter { - position: fixed; - top: 0; - z-index: 1; - width: 300px; - background: #f0f0f1; -} - -/* search field container */ -#available-widgets-filter, -#available-menu-items-search .accordion-section-title { - padding: 13px 15px; - box-sizing: border-box; -} - -#available-widgets-filter input, -#available-menu-items-search input { - width: 100%; - min-height: 32px; - margin: 1px 0; - padding: 0 30px; -} - -#available-widgets-filter input::-ms-clear, -#available-menu-items-search input::-ms-clear { - display: none; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */ -} - -#available-menu-items-search .search-icon, -#available-widgets-filter .search-icon { - display: block; - position: absolute; - top: 15px; /* 13 container padding +1 input margin +1 input border */ - left: 16px; - width: 30px; - height: 30px; - line-height: 2.1; - text-align: center; - color: #646970; -} - -#available-widgets-filter .clear-results, -#available-menu-items-search .clear-results { - position: absolute; - top: 15px; /* 13 container padding +1 input margin +1 input border */ - right: 16px; - width: 30px; - height: 30px; - padding: 0; - border: 0; - cursor: pointer; - background: none; - color: #d63638; - text-decoration: none; - outline: 0; -} - -#available-widgets-filter .clear-results, -#available-menu-items-search .clear-results, -#available-menu-items-search.loading .clear-results.is-visible { - display: none; -} - -#available-widgets-filter .clear-results.is-visible, -#available-menu-items-search .clear-results.is-visible { - display: block; -} - -#available-widgets-filter .clear-results:before, -#available-menu-items-search .clear-results:before { - content: "\f335"; - font: normal 20px/1 dashicons; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#available-widgets-filter .clear-results:hover, -#available-widgets-filter .clear-results:focus, -#available-menu-items-search .clear-results:hover, -#available-menu-items-search .clear-results:focus { - color: #d63638; -} - -#available-widgets-filter .clear-results:focus, -#available-menu-items-search .clear-results:focus { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -#available-menu-items-search .search-icon:after, -#available-widgets-filter .search-icon:after, -.themes-filter-bar .search-icon:after { - content: "\f179"; - font: normal 20px/1 dashicons; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.themes-filter-bar .search-icon { - position: absolute; - top: 7px; - left: 26px; - z-index: 1; - color: #646970; - height: 30px; - width: 30px; - line-height: 2; - text-align: center; -} - -.no-widgets-found-message { - display: none; - margin: 0; - padding: 0 15px; - line-height: inherit; -} - -.no-widgets-found .no-widgets-found-message { - display: block; -} - -#available-widgets .widget-top, -#available-widgets .widget-top:hover, -#available-menu-items .item-top, -#available-menu-items .item-top:hover { - border: none; - background: transparent; - box-shadow: none; -} - -#available-widgets .widget-tpl, -#available-menu-items .item-tpl { - position: relative; - padding: 15px 15px 15px 60px; - background: #fff; - border-bottom: 1px solid #dcdcde; - border-left: 4px solid #fff; - transition: - .15s color ease-in-out, - .15s background-color ease-in-out, - .15s border-color ease-in-out; - cursor: pointer; - display: none; -} - -#available-widgets .widget, -#available-menu-items .item { - position: static; -} - - -/* Responsive */ -.customize-controls-preview-toggle { - display: none; -} - -@media only screen and (max-width: 782px) { - .wp-customizer .theme:not(.active):hover .theme-actions, - .wp-customizer .theme:not(.active):focus .theme-actions { - display: block; - } - - .wp-customizer .theme-browser .theme.active .theme-name span { - display: inline; - } - - .customize-control-header button.random .dice { - margin-top: 0; - } - - .customize-control-radio .customize-inside-control-row, - .customize-control-checkbox .customize-inside-control-row, - .customize-control-nav_menu_auto_add .customize-inside-control-row { - margin-left: 32px; - } - - .customize-control-radio input, - .customize-control-checkbox input, - .customize-control-nav_menu_auto_add input { - margin-left: -32px; - } - - .customize-control input[type="radio"] + label + br, - .customize-control input[type="checkbox"] + label + br { - line-height: 2.5; /* For widgets checkboxes */ - } - - .customize-control .date-time-fields select { - height: 39px; - } - - .date-time-fields .date-input.month { - width: 79px; - } - - .date-time-fields .date-input.day, - .date-time-fields .date-input.hour, - .date-time-fields .date-input.minute { - width: 55px; - } - - .date-time-fields .date-input.year { - width: 80px; - } - - #customize-control-changeset_preview_link a { - bottom: 16px; - } - - .preview-link-wrapper .customize-copy-preview-link.preview-control-element.button { - bottom: 10px; - } - - .media-widget-control .media-widget-buttons .button.edit-media, - .media-widget-control .media-widget-buttons .button.change-media, - .media-widget-control .media-widget-buttons .button.select-media { - margin-top: 12px; - } - - .wp-core-ui .themes-filter-bar .feature-filter-toggle { - margin: 3px 0 3px 25px; - } -} - -@media screen and (max-width: 1200px) { - .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, - .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, - .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main { - left: 67%; - } -} - -@media screen and (max-width: 640px) { - - /* when the sidebar is collapsed and switching to responsive view, - bring it back see ticket #35220 */ - .wp-full-overlay.collapsed #customize-controls { - margin-left: 0; - } - - .wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { - bottom: 0; - } - - .customize-controls-preview-toggle { - display: block; - position: absolute; - top: 0; - left: 48px; - line-height: 2.6; - font-size: 14px; - padding: 0 12px 4px; - margin: 0; - height: 45px; - background: #f0f0f1; - border: 0; - border-right: 1px solid #dcdcde; - border-top: 4px solid #f0f0f1; - color: #50575e; - cursor: pointer; - transition: color .1s ease-in-out, background .1s ease-in-out; - } - - #customize-footer-actions, - /*#customize-preview,*/ - .customize-controls-preview-toggle .controls, - .preview-only .wp-full-overlay-sidebar-content, - .preview-only .customize-controls-preview-toggle .preview { - display: none; - } - - .preview-only #customize-save-button-wrapper { - margin-top: -46px; - } - - .customize-controls-preview-toggle .preview:before, - .customize-controls-preview-toggle .controls:before { - font: normal 20px/1 dashicons; - content: "\f177"; - position: relative; - top: 4px; - margin-right: 6px; - } - - .customize-controls-preview-toggle .controls:before { - content: "\f540"; - } - - .preview-only #customize-controls { - height: 45px; - } - - .preview-only #customize-preview, - .preview-only .customize-controls-preview-toggle .controls { - display: block; - } - - .wp-core-ui.wp-customizer .button { - min-height: 30px; - padding: 0 14px; - line-height: 2; - font-size: 14px; - vertical-align: middle; - } - - #customize-control-changeset_status .customize-inside-control-row { - padding-top: 15px; - } - - body.adding-widget div#available-widgets, - body.adding-menu-items div#available-menu-items, - body.outer-section-open div#customize-sidebar-outer-content { - width: 100%; - } - - #available-widgets .customize-section-title, - #available-menu-items .customize-section-title { - display: block; - margin: 0; - } - - #available-widgets .customize-section-back, - #available-menu-items .customize-section-back { - height: 69px; - } - - #available-widgets .customize-section-title h3, - #available-menu-items .customize-section-title h3 { - font-size: 20px; - font-weight: 200; - padding: 9px 10px 12px 14px; - margin: 0; - line-height: 24px; - color: #50575e; - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - - #available-widgets .customize-section-title .customize-action, - #available-menu-items .customize-section-title .customize-action { - font-size: 13px; - display: block; - font-weight: 400; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - - #available-widgets-filter { - position: relative; - width: 100%; - height: auto; - } - - #available-widgets-list { - top: 130px; - } - - #available-menu-items-search .clear-results, - #available-menu-items-search .search-icon { - top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */ - } - - .reorder, - .reordering .reorder-done { - padding: 8px; - } - - .wp-core-ui .themes-filter-bar .feature-filter-toggle { - margin: 0; - } -} - -@media screen and (max-width: 600px) { - .wp-full-overlay.expanded { - margin-left: 0; - } - - body.adding-widget div#available-widgets, - body.adding-menu-items div#available-menu-items, - body.outer-section-open div#customize-sidebar-outer-content { - top: 46px; - z-index: 10; - } - - body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content { - left: -100%; - } - - body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content { - left: 0; - } -} diff --git a/build/wp-admin/css/customize-controls.min.css b/build/wp-admin/css/customize-controls.min.css deleted file mode 100644 index b5945eb4fa..0000000000 --- a/build/wp-admin/css/customize-controls.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body{overflow:hidden;-webkit-text-size-adjust:100%}.customize-controls-close,.widget-control-actions a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls img{max-width:100%}#customize-controls .submit{text-align:center}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked{background-color:rgba(0,0,0,.7);padding:25px}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message{margin-left:auto;margin-right:auto;max-width:366px;min-height:64px;width:auto;padding:25px 25px 25px 109px;position:relative;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;overflow-y:auto;text-align:left;top:calc(50% - 100px)}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing{margin-top:0}#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .action-buttons{margin-bottom:0}.customize-changeset-locked-avatar{width:64px;position:absolute;left:25px;top:25px}.wp-core-ui.wp-customizer .customize-changeset-locked-message a.button{margin-right:10px;margin-top:0}#customize-controls .description{color:#50575e}#customize-save-button-wrapper{float:right;margin-top:9px}body:not(.ready) #customize-save-button-wrapper .save{visibility:hidden}#customize-save-button-wrapper .save{float:left;border-radius:3px;box-shadow:none;margin-top:0}#customize-save-button-wrapper .save:focus,#publish-settings:focus{box-shadow:0 1px 0 #2271b1,0 0 2px 1px #72aee6}#customize-save-button-wrapper .save.has-next-sibling{border-radius:3px 0 0 3px}#customize-sidebar-outer-content{position:absolute;top:0;bottom:0;left:0;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:100%;margin:0;z-index:-1;background:#f0f0f1;transition:left .18s;border-right:1px solid #dcdcde;border-left:1px solid #dcdcde;height:100%}@media (prefers-reduced-motion:reduce){#customize-sidebar-outer-content{transition:none}}#customize-theme-controls .control-section-outer{display:none!important}#customize-outer-theme-controls .accordion-section-content{padding:12px}#customize-outer-theme-controls .accordion-section-content.open{display:block}.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content{visibility:visible;left:100%;transition:left .18s}@media (prefers-reduced-motion:reduce){.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content{transition:none}}.customize-outer-pane-parent{margin:0}.outer-section-open .wp-full-overlay.expanded .wp-full-overlay-main{left:300px;opacity:.4}.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.adding-menu-items .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.adding-widget .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main,.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.outer-section-open .wp-full-overlay.expanded.preview-tablet .wp-full-overlay-main{left:64%}#customize-outer-theme-controls li.notice{padding-top:8px;padding-bottom:8px;margin-left:0;margin-bottom:10px}#publish-settings{text-indent:0;border-radius:0 3px 3px 0;padding-left:0;padding-right:0;box-shadow:none;font-size:14px;width:30px;float:left;transform:none;margin-top:0;line-height:2}body.trashing #customize-save-button-wrapper .save,body.trashing #publish-settings,body:not(.ready) #publish-settings{display:none}#customize-header-actions .spinner{margin-top:13px;margin-right:4px}.saving #customize-header-actions .spinner,.trashing #customize-header-actions .spinner{visibility:visible}#customize-header-actions{border-bottom:1px solid #dcdcde}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}.outer-section-open #customize-controls .wp-full-overlay-sidebar-content{background:#f0f0f1}#customize-controls .customize-info{border:none;border-bottom:1px solid #dcdcde;margin-bottom:15px}#customize-control-changeset_preview_link input,#customize-control-changeset_status .customize-inside-control-row{background-color:#fff;border-bottom:1px solid #dcdcde;box-sizing:content-box;width:100%;margin-left:-12px;padding-left:12px;padding-right:12px}#customize-control-trash_changeset{margin-top:20px}#customize-control-trash_changeset .button-link{position:relative;padding-left:24px;display:inline-block}#customize-control-trash_changeset .button-link:before{content:"\f182";font:normal 22px dashicons;text-decoration:none;position:absolute;left:0;top:-2px}#customize-controls .date-input:invalid{border-color:#d63638}#customize-control-changeset_status .customize-inside-control-row{padding-top:10px;padding-bottom:10px;font-weight:500}#customize-control-changeset_status .customize-inside-control-row:first-of-type{border-top:1px solid #dcdcde}#customize-control-changeset_status .customize-control-title{margin-bottom:6px}#customize-control-changeset_status input{margin-left:0}#customize-control-changeset_preview_link{position:relative;display:block}.preview-link-wrapper .customize-copy-preview-link.preview-control-element.button{margin:0;position:absolute;bottom:9px;right:0}.preview-link-wrapper{position:relative}.customize-copy-preview-link:after,.customize-copy-preview-link:before{content:"";height:28px;position:absolute;background:#fff;top:-1px}.customize-copy-preview-link:before{left:-10px;width:9px;opacity:.75}.customize-copy-preview-link:after{left:-5px;width:4px;opacity:.8}#customize-control-changeset_preview_link input{line-height:2.85714286;border-top:1px solid #dcdcde;border-left:none;border-right:none;text-indent:-999px;color:#fff;min-height:40px}#customize-control-changeset_preview_link label{position:relative;display:block}#customize-control-changeset_preview_link a{display:inline-block;position:absolute;white-space:nowrap;overflow:hidden;width:90%;bottom:14px;font-size:14px;text-decoration:none}#customize-control-changeset_preview_link a.disabled,#customize-control-changeset_preview_link a.disabled:active,#customize-control-changeset_preview_link a.disabled:focus,#customize-control-changeset_preview_link a.disabled:visited{color:#000;opacity:.4;cursor:default;outline:0;box-shadow:none}#sub-accordion-section-publish_settings .customize-section-description-container{display:none}#customize-controls .customize-info.section-meta{margin-bottom:15px}.customize-control-date_time .customize-control-description+.date-time-fields.includes-time{margin-top:10px}.customize-control.customize-control-date_time .date-time-fields .date-input.day{margin-right:0}.date-time-fields .date-input.month{width:auto;margin:0}.date-time-fields .date-input.day,.date-time-fields .date-input.hour,.date-time-fields .date-input.minute{width:46px}.date-time-fields .date-input.year{width:65px}.date-time-fields .date-input.meridian{width:auto;margin:0}.date-time-fields .time-row{margin-top:12px}#customize-control-changeset_preview_link{margin-top:6px}#customize-control-changeset_status{margin-bottom:0;padding-bottom:0}#customize-control-changeset_scheduled_date{box-sizing:content-box;width:100%;margin-left:-12px;padding:12px;background:#fff;border-bottom:1px solid #dcdcde;margin-bottom:0}#customize-control-changeset_scheduled_date .customize-control-description{font-style:normal}#customize-controls .customize-info.is-in-view,#customize-controls .customize-section-title.is-in-view{position:absolute;z-index:9;width:100%;box-shadow:0 1px 0 rgba(0,0,0,.1)}#customize-controls .customize-section-title.is-in-view{margin-top:0}#customize-controls .customize-info.is-in-view+.accordion-section{margin-top:15px}#customize-controls .customize-info.is-sticky,#customize-controls .customize-section-title.is-sticky{position:fixed;top:46px}#customize-controls .customize-info .accordion-section-title{background:#fff;color:#50575e;border-left:none;border-right:none;border-bottom:none;cursor:default}#customize-controls .customize-info .accordion-section-title:focus:after,#customize-controls .customize-info .accordion-section-title:hover:after,#customize-controls .customize-info.open .accordion-section-title:after{color:#2c3338}#customize-controls .customize-info .accordion-section-title:after{display:none}#customize-controls .customize-info .preview-notice{font-size:13px;line-height:1.9}#customize-controls .customize-info .panel-title,#customize-controls .customize-pane-child .customize-section-title h3,#customize-controls .customize-pane-child h3.customize-section-title,#customize-outer-theme-controls .customize-pane-child .customize-section-title h3,#customize-outer-theme-controls .customize-pane-child h3.customize-section-title{font-size:20px;font-weight:200;line-height:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-section-title span.customize-action{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-info .customize-help-toggle{position:absolute;top:4px;right:1px;padding:20px 20px 10px 10px;width:20px;height:20px;cursor:pointer;box-shadow:none;background:0 0;color:#50575e;border:none}#customize-controls .customize-info .customize-help-toggle:before{position:absolute;top:5px;left:6px}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#2271b1}#customize-controls .customize-info .customize-panel-description,#customize-controls .customize-info .customize-section-description,#customize-controls .no-widget-areas-rendered-notice,#customize-outer-theme-controls .customize-info .customize-section-description{color:#50575e;display:none;background:#fff;padding:12px 15px;border-top:1px solid #dcdcde}#customize-controls .customize-info .customize-panel-description.open+.no-widget-areas-rendered-notice{border-top:none}.no-widget-areas-rendered-notice{font-style:italic}.no-widget-areas-rendered-notice p:first-child{margin-top:0}.no-widget-areas-rendered-notice p:last-child{margin-bottom:0}#customize-controls .customize-info .customize-section-description{margin-bottom:15px}#customize-controls .customize-info .customize-panel-description p:first-child,#customize-controls .customize-info .customize-section-description p:first-child{margin-top:0}#customize-controls .customize-info .customize-panel-description p:last-child,#customize-controls .customize-info .customize-section-description p:last-child{margin-bottom:0}#customize-controls .current-panel .control-section>h3.accordion-section-title{padding-right:30px}#customize-outer-theme-controls .control-section,#customize-theme-controls .control-section{border:none}#customize-outer-theme-controls .accordion-section-title,#customize-theme-controls .accordion-section-title{color:#50575e;background-color:#fff;border-bottom:1px solid #dcdcde;border-left:4px solid #fff;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}@media (prefers-reduced-motion:reduce){#customize-outer-theme-controls .accordion-section-title,#customize-theme-controls .accordion-section-title{transition:none}}#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title{color:#50575e;background-color:#fff;border-left:4px solid #fff}#customize-outer-theme-controls .accordion-section-title:after,#customize-theme-controls .accordion-section-title:after{content:"\f345";color:#a7aaad}#customize-outer-theme-controls .accordion-section-content,#customize-theme-controls .accordion-section-content{color:#50575e;background:0 0}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{color:#2271b1;background:#f6f7f7;border-left-color:#2271b1}#accordion-section-themes+.control-section{border-top:1px solid #dcdcde}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f6f7f7}#customize-outer-theme-controls .control-section .accordion-section-title:focus:after,#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,#customize-outer-theme-controls .control-section.open .accordion-section-title:after,#customize-outer-theme-controls .control-section:hover>.accordion-section-title:after,#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#2271b1}#customize-theme-controls .control-section.open{border-bottom:1px solid #f0f0f1}#customize-outer-theme-controls .control-section.open .accordion-section-title,#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#f0f0f1!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#dcdcde}#customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2),#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu,#customize-theme-controls .control-section-nav_menu_locations .accordion-section-title{border-top:1px solid #dcdcde}#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu+.control-section-nav_menu{border-top:none}#customize-theme-controls>ul{margin:0}#customize-theme-controls .accordion-section-content{position:absolute;top:0;left:100%;width:100%;margin:0;padding:12px;box-sizing:border-box}#customize-info,#customize-theme-controls .customize-pane-child,#customize-theme-controls .customize-pane-parent{overflow:visible;width:100%;margin:0;padding:0;box-sizing:border-box;transition:.18s transform cubic-bezier(.645, .045, .355, 1)}@media (prefers-reduced-motion:reduce){#customize-info,#customize-theme-controls .customize-pane-child,#customize-theme-controls .customize-pane-parent{transition:none}}#customize-theme-controls .customize-pane-child.skip-transition{transition:none}#customize-info,#customize-theme-controls .customize-pane-parent{position:relative;visibility:visible;height:auto;max-height:none;overflow:auto;transform:none}#customize-theme-controls .customize-pane-child{position:absolute;top:0;left:0;visibility:hidden;height:0;max-height:none;overflow:hidden;transform:translateX(100%)}#customize-theme-controls .customize-pane-child.current-panel,#customize-theme-controls .customize-pane-child.open{transform:none}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls .customize-pane-parent,.in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel,.section-open #customize-info,.section-open #customize-theme-controls .customize-pane-parent{visibility:hidden;height:0;overflow:hidden;transform:translateX(-100%)}#customize-theme-controls .customize-pane-child.busy,#customize-theme-controls .customize-pane-child.current-panel,#customize-theme-controls .customize-pane-child.open,.busy.section-open.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel,.in-sub-panel #customize-info.busy,.in-sub-panel #customize-theme-controls .customize-pane-parent.busy,.section-open #customize-info.busy,.section-open #customize-theme-controls .customize-pane-parent.busy{visibility:visible;height:auto;overflow:auto}#customize-theme-controls .customize-pane-child.accordion-section-content,#customize-theme-controls .customize-pane-child.accordion-sub-container{display:block;overflow-x:hidden}#customize-theme-controls .customize-pane-child.accordion-section-content{padding:12px}#customize-theme-controls .customize-pane-child.menu li{position:static}.control-section-nav_menu .customize-section-description-container,.control-section-new_menu .customize-section-description-container,.customize-section-description-container{margin-bottom:15px}.control-section-nav_menu .customize-control,.control-section-new_menu .customize-control{margin-bottom:0}.customize-section-title{margin:-12px -12px 0;border-bottom:1px solid #dcdcde;background:#fff}div.customize-section-description{margin-top:22px}.customize-info div.customize-section-description{margin-top:0}div.customize-section-description p:first-child{margin-top:0}div.customize-section-description p:last-child{margin-bottom:0}#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{border-bottom:1px solid #dcdcde;padding:12px}.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{padding:12px 12px 13px}.customize-section-title h3,h3.customize-section-title{padding:10px 10px 12px 14px;margin:0;line-height:21px;color:#50575e}.accordion-sub-container.control-panel-content{display:none;position:absolute;top:0;width:100%}.accordion-sub-container.control-panel-content.busy{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;left:0;width:45px;height:41px;padding:0 2px 0 0;background:#f0f0f1;border:none;border-top:4px solid #f0f0f1;border-right:1px solid #dcdcde;color:#3c434a;text-align:left;cursor:pointer;transition:color .15s ease-in-out,border-color .15s ease-in-out,background .15s ease-in-out;box-sizing:content-box}.customize-panel-back,.customize-section-back{display:block;float:left;width:48px;height:71px;padding:0 24px 0 0;margin:0;background:#fff;border:none;border-right:1px solid #dcdcde;border-left:4px solid #fff;box-shadow:none;cursor:pointer;transition:color .15s ease-in-out,border-color .15s ease-in-out,background .15s ease-in-out}.customize-section-back{height:74px}.ios .customize-panel-back{display:none}.ios .expanded.in-sub-panel .customize-panel-back{display:block}#customize-controls .panel-meta.customize-info .accordion-section-title{margin-left:48px;border-left:none}#customize-controls .cannot-expand:hover .accordion-section-title,#customize-controls .panel-meta.customize-info .accordion-section-title:hover{background:#fff;color:#50575e;border-left-color:#fff}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{background:#fff;color:#2271b1;border-top-color:#2271b1;box-shadow:none;outline:1px solid transparent}#customize-theme-controls .accordion-section-title:focus .customize-action{outline:1px solid transparent;outline-offset:1px}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{color:#2271b1;background:#f6f7f7;border-left-color:#2271b1;box-shadow:none;outline:2px solid transparent;outline-offset:-2px}.customize-controls-close:before{font:normal 22px/45px dashicons;content:"\f335";position:relative;top:-3px;left:13px}.customize-panel-back:before,.customize-section-back:before{font:normal 20px/72px dashicons;content:"\f341";position:relative;left:9px}.wp-full-overlay-sidebar .wp-full-overlay-header{background-color:#f0f0f1;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-left:62px}p.customize-section-description{font-style:normal;margin-top:22px;margin-bottom:0}.customize-section-description ul{margin-left:1em}.customize-section-description ul>li{list-style:disc}.section-description-buttons{text-align:right}.customize-control{width:100%;float:left;clear:both;margin-bottom:12px}.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=password],.customize-control input[type=range],.customize-control input[type=search],.customize-control input[type=tel],.customize-control input[type=text],.customize-control input[type=url]{width:100%;margin:0}.customize-control-hidden{margin:0}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{width:100%}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.customize-control-description{display:block;font-style:italic;line-height:1.4;margin-top:0;margin-bottom:5px}.customize-section-description a.external-link:after{font:16px/11px dashicons;content:"\f504";top:3px;position:relative;padding-left:3px;display:inline-block;text-decoration:none}.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control .customize-inside-control-row{line-height:1.6;display:block;margin-left:24px;padding-top:6px;padding-bottom:6px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-right:4px;margin-left:-24px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:1.6}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control-checkbox label,.customize-control-radio label{vertical-align:top}.customize-control .attachment-thumb.type-icon{float:left;margin:10px;width:auto}.customize-control .attachment-title{font-weight:600;margin:0;padding:5px 10px}.customize-control .attachment-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 10px}.customize-control .attachment-meta-title{padding-top:7px}.customize-control .thumbnail-image,.customize-control .wp-media-wrapper.wp-video,.customize-control-header .current{line-height:0}.customize-control-site_icon .favicon-preview .browser-preview{vertical-align:top}.customize-control .thumbnail-image img{cursor:pointer}#customize-controls .thumbnail-audio .thumbnail{max-width:64px;max-height:64px;margin:10px;float:left}#available-menu-items .accordion-section-content .new-content-item,.customize-control-dropdown-pages .new-content-item{width:calc(100% - 30px);padding:8px 15px;position:absolute;bottom:0;z-index:10;background:#f0f0f1;display:flex}.customize-control-dropdown-pages .new-content-item{width:100%;padding:5px 0 5px 1px;position:relative}#available-menu-items .new-content-item .create-item-input,.customize-control-dropdown-pages .new-content-item .create-item-input{flex-grow:10}#available-menu-items .new-content-item .add-content,.customize-control-dropdown-pages .new-content-item .add-content{margin:2px 0 2px 6px;flex-grow:1}.customize-control-dropdown-pages .new-content-item .create-item-input.invalid{border:1px solid #d63638}.customize-control-dropdown-pages .add-new-toggle{margin-left:1px;font-weight:600;line-height:2.2}#customize-preview iframe{width:100%;height:100%;position:absolute}#customize-preview iframe+iframe{visibility:hidden}.wp-full-overlay-sidebar{background:#f0f0f1;border-right:1px solid #dcdcde}#customize-controls .customize-control-notifications-container{margin:4px 0 8px;padding:0;cursor:default}#customize-controls .customize-control-widget_form.has-error .widget .widget-top,.customize-control-nav_menu_item.has-error .menu-item-bar .menu-item-handle{box-shadow:inset 0 0 0 2px #d63638;transition:.15s box-shadow linear}#customize-controls .customize-control-notifications-container li.notice{list-style:none;margin:0 0 6px;padding:9px 14px;overflow:hidden}#customize-controls .customize-control-notifications-container .notice.is-dismissible{padding-right:38px}.customize-control-notifications-container li.notice:last-child{margin-bottom:0}#customize-controls .customize-control-nav_menu_item .customize-control-notifications-container{margin-top:0}#customize-controls .customize-control-widget_form .customize-control-notifications-container{margin-top:8px}.customize-control-text.has-error input{outline:2px solid #d63638}#customize-controls #customize-notifications-area{position:absolute;top:46px;width:100%;border-bottom:1px solid #dcdcde;display:block;padding:0;margin:0}.wp-full-overlay.collapsed #customize-controls #customize-notifications-area{display:none!important}#customize-controls #customize-notifications-area:not(.has-overlay-notifications),#customize-controls .customize-section-title>.customize-control-notifications-container:not(.has-overlay-notifications),#customize-controls .panel-meta>.customize-control-notifications-container:not(.has-overlay-notifications){max-height:210px;overflow-x:hidden;overflow-y:auto}#customize-controls #customize-notifications-area .notice,#customize-controls #customize-notifications-area>ul,#customize-controls .customize-section-title>.customize-control-notifications-container,#customize-controls .customize-section-title>.customize-control-notifications-container .notice,#customize-controls .panel-meta>.customize-control-notifications-container,#customize-controls .panel-meta>.customize-control-notifications-container .notice{margin:0}#customize-controls .customize-section-title>.customize-control-notifications-container,#customize-controls .panel-meta>.customize-control-notifications-container{border-top:1px solid #dcdcde}#customize-controls #customize-notifications-area .notice,#customize-controls .customize-section-title>.customize-control-notifications-container .notice,#customize-controls .panel-meta>.customize-control-notifications-container .notice{padding:9px 14px}#customize-controls #customize-notifications-area .notice.is-dismissible,#customize-controls .customize-section-title>.customize-control-notifications-container .notice.is-dismissible,#customize-controls .panel-meta>.customize-control-notifications-container .notice.is-dismissible{padding-right:38px}#customize-controls #customize-notifications-area .notice+.notice,#customize-controls .customize-section-title>.customize-control-notifications-container .notice+.notice,#customize-controls .panel-meta>.customize-control-notifications-container .notice+.notice{margin-top:1px}@keyframes customize-fade-in{0%{opacity:0}100%{opacity:1}}#customize-controls #customize-notifications-area .notice.notification-overlay,#customize-controls .notice.notification-overlay{margin:0;border-left:0}#customize-controls .customize-control-notifications-container.has-overlay-notifications{animation:customize-fade-in .5s;z-index:30}#customize-controls #customize-notifications-area .notice.notification-overlay .notification-message{clear:both;color:#1d2327;font-size:18px;font-style:normal;margin:0;padding:2em 0;text-align:center;width:100%;display:block;top:50%;position:relative}#customize-control-show_on_front.has-error{margin-bottom:0}#customize-control-show_on_front.has-error .customize-control-notifications-container{margin-top:12px}.accordion-section .dropdown{float:left;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:left;min-width:30px;height:16px;line-height:16px;margin-right:16px;padding:4px 5px;border:2px solid #f0f0f1;-webkit-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;right:0;width:20px;background:#f0f0f1}.customize-control .dropdown-arrow:after{content:"\f140";font:normal 20px/1 dashicons;speak:never;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#2c3338}.customize-control .dropdown-status{color:#2c3338;background:#f0f0f1;display:none;max-width:112px}.customize-control-color .dropdown{margin-right:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#50575e;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}.customize-control .actions .button{margin-top:12px}.customize-control-header .actions,.customize-control-header .uploaded{margin-bottom:18px}.customize-control-header .default button:not(.random),.customize-control-header .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}.customize-control-header button img{display:block}.customize-control .attachment-media-view .default-button,.customize-control .attachment-media-view .remove-button,.customize-control .attachment-media-view .upload-button,.customize-control-header button.new,.customize-control-header button.remove{width:auto;height:auto;white-space:normal}.customize-control .attachment-media-view .thumbnail,.customize-control-header .current .container{overflow:hidden}.customize-control .attachment-media-view .button-add-media,.customize-control .attachment-media-view .placeholder,.customize-control-header .placeholder{width:100%;position:relative;text-align:center;cursor:default;border:1px dashed #c3c4c7;box-sizing:border-box;padding:9px 0;line-height:1.6}.customize-control .attachment-media-view .button-add-media{cursor:pointer;background-color:#f0f0f1;color:#2c3338}.customize-control .attachment-media-view .button-add-media:hover{background-color:#fff}.customize-control .attachment-media-view .button-add-media:focus{background-color:#fff;border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.customize-control-header .inner{display:none;position:absolute;width:100%;color:#50575e;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customize-control-header .inner,.customize-control-header .inner .dashicons{line-height:20px;top:8px}.customize-control-header .list .inner,.customize-control-header .list .inner .dashicons{top:9px}.customize-control-header .header-view{position:relative;width:100%;margin-bottom:12px}.customize-control-header .header-view:last-child{margin-bottom:0}.customize-control-header .header-view:after{border:0}.customize-control-header .header-view.selected .choice:focus{outline:0}.customize-control-header .header-view.selected:after{content:"";position:absolute;height:auto;top:0;left:0;bottom:0;right:0;border:4px solid #72aee6;border-radius:2px}.customize-control-header .header-view.button.selected{border:0}.customize-control-header .uploaded .header-view .close{font-size:20px;color:#fff;background:#50575e;background:rgba(0,0,0,.5);position:absolute;top:10px;left:-999px;z-index:1;width:26px;height:26px;cursor:pointer}.customize-control-header .header-view .close:focus,.customize-control-header .header-view:hover .close{left:auto;right:10px}.customize-control-header .header-view .close:focus{outline:1px solid #4f94d4}.customize-control-header .random.placeholder{cursor:pointer;border-radius:2px;height:40px}.customize-control-header button.random{width:100%;height:auto;min-height:40px;white-space:normal}.customize-control-header button.random .dice{margin-top:4px}.customize-control-header .header-view:hover>button.random .dice,.customize-control-header .placeholder:hover .dice{animation:dice-color-change 3s infinite}.button-see-me{animation:bounce .7s 1;transform-origin:center bottom}@keyframes bounce{20%,53%,80%,from,to{animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.050,0.855,0.060);transform:translate3d(0,-12px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.050,0.855,0.060);transform:translate3d(0,-6px,0)}90%{transform:translate3d(0,-1px,0)}}.customize-control-header .choice{position:relative;display:block;margin-bottom:9px}.customize-control-header .choice:focus{outline:0;box-shadow:0 0 0 1px #4f94d4,0 0 3px 1px rgba(79,148,212,.8)}.customize-control-header .uploaded div:last-child>.choice{margin-bottom:0}.customize-control .attachment-media-view .thumbnail-image img,.customize-control-header img{max-width:100%}.customize-control .attachment-media-view .default-button,.customize-control .attachment-media-view .remove-button,.customize-control-header .remove{margin-right:8px}.customize-control-background_position .background-position-control .button-group{display:block}.customize-control-code_editor textarea{width:100%;font-family:Consolas,Monaco,monospace;font-size:12px;padding:6px 8px;-o-tab-size:2;tab-size:2}.customize-control-code_editor .CodeMirror,.customize-control-code_editor textarea{height:14em}#customize-controls .customize-section-description-container.section-meta.customize-info{border-bottom:none}#sub-accordion-section-custom_css .customize-control-notifications-container{margin-bottom:15px}#customize-control-custom_css textarea{display:block;height:500px}.customize-section-description-container+#customize-control-custom_css .customize-control-title{margin-left:12px}.customize-section-description-container+#customize-control-custom_css:last-child textarea{border-right:0;border-left:0;height:calc(100vh - 185px);resize:none}.customize-section-description-container+#customize-control-custom_css:last-child{margin-left:-12px;width:299px;width:calc(100% + 24px);margin-bottom:-12px}.customize-section-description-container+#customize-control-custom_css:last-child .CodeMirror{height:calc(100vh - 185px)}.CodeMirror-hints,.CodeMirror-lint-tooltip{z-index:500000!important}.customize-section-description-container+#customize-control-custom_css:last-child .customize-control-notifications-container{margin-left:12px;margin-right:12px}.theme-browser .theme.active .theme-actions,.wp-customizer .theme-browser .theme .theme-actions{padding:9px 15px;box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}@media screen and (max-width:640px){.customize-section-description-container+#customize-control-custom_css:last-child{margin-right:0}.customize-section-description-container+#customize-control-custom_css:last-child textarea{height:calc(100vh - 140px)}}#customize-theme-controls .control-panel-themes{border-bottom:none}#customize-theme-controls .control-panel-themes>.accordion-section-title,#customize-theme-controls .control-panel-themes>.accordion-section-title:hover{cursor:default;background:#fff;color:#50575e;border-top:1px solid #dcdcde;border-bottom:1px solid #dcdcde;border-left:none;border-right:none;margin:0 0 15px;padding-right:100px}#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child,#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover{border-top:0}#customize-theme-controls .control-section-themes>.accordion-section-title,#customize-theme-controls .control-section-themes>.accordion-section-title:hover{margin:0 0 15px}#customize-controls .customize-themes-panel .accordion-section-title,#customize-controls .customize-themes-panel .accordion-section-title:hover{margin:15px -8px}#customize-controls .control-section-themes .accordion-section-title,#customize-controls .customize-themes-panel .accordion-section-title{padding-right:100px}#customize-controls .control-section-themes .accordion-section-title span.customize-action,#customize-controls .customize-section-title span.customize-action,.control-panel-themes .accordion-section-title span.customize-action{font-size:13px;display:block;font-weight:400}#customize-theme-controls .control-panel-themes .accordion-section-title .change-theme{position:absolute;right:10px;top:50%;margin-top:-14px;font-weight:400}#customize-notifications-area .notification-message button.switch-to-editor{display:block;margin-top:6px;font-weight:400}#customize-theme-controls .control-panel-themes>.accordion-section-title:after{display:none}.control-panel-themes .customize-themes-full-container{position:fixed;top:0;left:0;transition:.18s left ease-in-out;margin:0 0 0 300px;padding:71px 0 25px;overflow-y:scroll;width:calc(100% - 300px);height:calc(100% - 96px);background:#f0f0f1;z-index:20}@media (prefers-reduced-motion:reduce){.control-panel-themes .customize-themes-full-container{transition:none}}@media screen and (min-width:1670px){.control-panel-themes .customize-themes-full-container{width:82%;right:0;left:initial}}.modal-open .control-panel-themes .customize-themes-full-container{overflow-y:visible}#customize-header-actions .customize-controls-preview-toggle,#customize-header-actions .spinner,#customize-save-button-wrapper{transition:.18s margin ease-in-out}#customize-footer-actions,#customize-footer-actions .collapse-sidebar{bottom:0;transition:.18s bottom ease-in-out}.in-themes-panel:not(.animating) #customize-footer-actions,.in-themes-panel:not(.animating) #customize-header-actions .customize-controls-preview-toggle,.in-themes-panel:not(.animating) #customize-header-actions .spinner,.in-themes-panel:not(.animating) #customize-preview{visibility:hidden}.wp-full-overlay.in-themes-panel{background:#f0f0f1}.in-themes-panel #customize-header-actions .customize-controls-preview-toggle,.in-themes-panel #customize-header-actions .spinner,.in-themes-panel #customize-save-button-wrapper{margin-top:-46px}.in-themes-panel #customize-footer-actions,.in-themes-panel #customize-footer-actions .collapse-sidebar{bottom:-45px}.in-themes-panel.animating .control-panel-themes .filter-themes-count{display:none}.in-themes-panel.wp-full-overlay .wp-full-overlay-sidebar-content{bottom:0}.themes-filter-bar .feature-filter-toggle{float:right;margin:3px 0 3px 25px}.themes-filter-bar .feature-filter-toggle:before{content:"\f111";margin:0 5px 0 0;font:normal 16px/1 dashicons;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.themes-filter-bar .feature-filter-toggle.open{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.themes-filter-bar .feature-filter-toggle .filter-count-filters{display:none}.filter-drawer{box-sizing:border-box;width:100%;position:absolute;top:46px;left:0;padding:25px 0 25px 25px;border-top:0;margin:0;background:#f0f0f1;border-bottom:1px solid #dcdcde}.filter-drawer .filter-group{margin:0 25px 0 0;width:calc((100% - 75px)/ 3);min-width:200px;max-width:320px}@keyframes themes-fade-in{0%{opacity:0}50%{opacity:0}100%{opacity:1}}.control-panel-themes .customize-themes-full-container.animate{animation:.6s themes-fade-in 1}.in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count{animation:.6s themes-fade-in 1}.control-panel-themes .filter-themes-count{position:relative;float:right;line-height:2.6}.control-panel-themes .filter-themes-count .themes-displayed{font-weight:600;color:#50575e}.customize-themes-notifications{margin:0}.control-panel-themes .customize-themes-notifications .notice{margin:0 0 25px}.customize-themes-full-container .customize-themes-section{display:none!important;overflow:hidden}.customize-themes-full-container .customize-themes-section.current-section{display:list-item!important}.control-section .customize-section-text-before{padding:0 0 8px 15px;margin:15px 0 0;line-height:16px;border-bottom:1px solid #dcdcde;color:#50575e}.control-panel-themes .customize-themes-section-title{width:100%;background:#fff;box-shadow:none;outline:0;border-top:none;border-bottom:1px solid #dcdcde;border-left:4px solid #fff;border-right:none;cursor:pointer;padding:10px 15px;position:relative;text-align:left;font-size:14px;font-weight:600;color:#50575e;text-shadow:none}.control-panel-themes #accordion-section-installed_themes{border-top:1px solid #dcdcde}.control-panel-themes .theme-section{margin:0;position:relative}.control-panel-themes .customize-themes-section-title:focus,.control-panel-themes .customize-themes-section-title:hover{border-left-color:#2271b1;color:#2271b1;background:#f6f7f7}.customize-themes-section-title:not(.selected):after{content:"";display:block;position:absolute;top:9px;right:15px;width:18px;height:18px;border-radius:100%;border:1px solid #c3c4c7;background:#fff}.control-panel-themes .theme-section .customize-themes-section-title.selected:after{content:"\f147";font:16px/1 dashicons;box-sizing:border-box;width:20px;height:20px;padding:3px 3px 1px 1px;border-radius:100%;position:absolute;top:9px;right:15px;background:#2271b1;color:#fff}.control-panel-themes .customize-themes-section-title.selected{color:#2271b1}#customize-theme-controls .themes.accordion-section-content{position:relative;left:0;padding:0;width:100%}.loading .customize-themes-section .spinner{display:block;visibility:visible;position:relative;clear:both;width:20px;height:20px;left:calc(50% - 10px);float:none;margin-top:50px}.customize-themes-section .no-themes,.customize-themes-section .no-themes-local{display:none}.themes-section-installed_themes .theme .notice-success:not(.updated-message){display:none}.customize-control-theme .theme{width:100%;margin:0;border:1px solid #dcdcde;background:#fff}.customize-control-theme .theme .theme-actions,.customize-control-theme .theme .theme-name{background:#fff;border:none}.customize-control.customize-control-theme{box-sizing:border-box;width:25%;max-width:600px;margin:0 25px 25px 0;padding:0;clear:none}@media screen and (min-width:2101px){.customize-control.customize-control-theme{width:calc((100% - 125px)/ 5 - 1px)}}@media screen and (min-width:1601px) and (max-width:2100px){.customize-control.customize-control-theme{width:calc((100% - 100px)/ 4 - 1px)}}@media screen and (min-width:1201px) and (max-width:1600px){.customize-control.customize-control-theme{width:calc((100% - 75px)/ 3 - 1px)}}@media screen and (min-width:851px) and (max-width:1200px){.customize-control.customize-control-theme{width:calc((100% - 50px)/ 2 - 1px)}}@media screen and (max-width:850px){.customize-control.customize-control-theme{width:100%}}.wp-customizer .theme-browser .themes{padding:0 0 25px 25px;transition:.18s margin-top linear}.wp-customizer .theme-browser .theme .theme-actions{opacity:1}#customize-controls h3.theme-name{font-size:15px}#customize-controls .theme-overlay .theme-name{font-size:32px}.customize-preview-header.themes-filter-bar{position:fixed;top:0;left:300px;width:calc(100% - 300px);height:46px;background:#f0f0f1;z-index:10;padding:6px 25px;box-sizing:border-box;border-bottom:1px solid #dcdcde}@media screen and (min-width:1670px){.customize-preview-header.themes-filter-bar{width:82%;right:0;left:initial}}.themes-filter-bar .themes-filter-container{margin:0;padding:0}.themes-filter-bar .wp-filter-search{line-height:1.8;padding:6px 10px 6px 30px;max-width:100%;width:40%;min-width:300px;position:absolute;top:6px;left:25px;height:32px;margin:1px 0}@media screen and (max-height:540px),screen and (max-width:1018px){.customize-preview-header.themes-filter-bar{position:relative;left:0;width:100%;margin:0 0 25px}.filter-drawer{top:46px}.wp-customizer .theme-browser .themes{padding:0 0 25px 25px;overflow:hidden}.control-panel-themes .customize-themes-full-container{margin-top:0;padding:0;height:100%;width:calc(100% - 300px)}}@media screen and (max-width:1018px){.filter-drawer .filter-group{width:calc((100% - 50px)/ 2)}}@media screen and (max-width:900px){.customize-preview-header.themes-filter-bar{height:86px;padding-top:46px}.themes-filter-bar .wp-filter-search{width:calc(100% - 50px);margin:0;min-width:200px}.filter-drawer{top:86px}.control-panel-themes .filter-themes-count{float:left}}@media screen and (max-width:792px){.filter-drawer .filter-group{width:calc(100% - 25px)}}.control-panel-themes .customize-themes-mobile-back{display:none}@media screen and (max-width:600px){.filter-drawer{top:132px}.wp-full-overlay.showing-themes .control-panel-themes .filter-themes-count .filter-themes{display:block;float:right}.control-panel-themes .customize-themes-full-container{width:100%;margin:0;padding-top:46px;height:calc(100% - 46px);z-index:1;display:none}.showing-themes .control-panel-themes .customize-themes-full-container{display:block}.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back{display:block;position:fixed;top:0;left:0;background:#f0f0f1;color:#3c434a;border-radius:0;box-shadow:none;border:none;height:46px;width:100%;z-index:10;text-align:left;text-shadow:none;border-bottom:1px solid #dcdcde;border-left:4px solid transparent;margin:0;padding:0;font-size:0;overflow:hidden}.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:before{left:0;top:0;height:46px;width:26px;display:block;line-height:2.3;padding:0 8px;border-right:1px solid #dcdcde}.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:focus,.wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover{color:#2271b1;background:#f6f7f7;border-left-color:#2271b1;box-shadow:none;outline:2px solid transparent;outline-offset:-2px}.showing-themes #customize-header-actions{display:none}#customize-controls{width:100%}}.wp-customizer .theme-overlay{display:none}.wp-customizer.modal-open .theme-overlay{position:fixed;left:0;top:0;right:0;bottom:0;z-index:109}.wp-customizer.modal-open #customize-header-actions,.wp-customizer.modal-open .control-panel-themes .customize-themes-section-title.selected:after,.wp-customizer.modal-open .control-panel-themes .filter-themes-count{z-index:-1}.wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.wp-customizer .theme-overlay .theme-backdrop{background:rgba(240,240,241,.75);position:fixed;z-index:110}.wp-customizer .theme-overlay .star-rating{float:left;margin-right:8px}.wp-customizer .theme-rating .num-ratings{line-height:20px}.wp-customizer .theme-overlay .theme-wrap{left:90px;right:90px;top:45px;bottom:45px;z-index:120}.wp-customizer .theme-overlay .theme-actions{text-align:right;padding:10px 25px;background:#f0f0f1;border-top:1px solid #dcdcde}.wp-customizer .theme-overlay .theme-actions .theme-install.preview{margin-left:8px}.control-panel-themes .theme-actions .delete-theme{left:15px;right:auto;bottom:auto;position:absolute}.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.wp-customizer .theme-header{background:#f0f0f1}.wp-customizer .theme-overlay .theme-header .close:before,.wp-customizer .theme-overlay .theme-header button{color:#3c434a}.wp-customizer .theme-overlay .theme-header .close:focus,.wp-customizer .theme-overlay .theme-header .close:hover,.wp-customizer .theme-overlay .theme-header .left:focus,.wp-customizer .theme-overlay .theme-header .left:hover,.wp-customizer .theme-overlay .theme-header .right:focus,.wp-customizer .theme-overlay .theme-header .right:hover{background:#fff;border-bottom:4px solid #2271b1;color:#2271b1}.wp-customizer .theme-overlay .theme-header .close:focus:before,.wp-customizer .theme-overlay .theme-header .close:hover:before{color:#2271b1}.wp-customizer .theme-overlay .theme-header button.disabled,.wp-customizer .theme-overlay .theme-header button.disabled:focus,.wp-customizer .theme-overlay .theme-header button.disabled:hover{border-bottom:none;background:0 0;color:#c3c4c7}@media (max-width:850px),(max-height:472px){.wp-customizer .theme-overlay .theme-wrap{left:0;right:0;top:0;bottom:0}.wp-customizer .theme-browser .themes{padding-right:25px}}body.cheatin{font-size:medium;height:auto;background:#fff;border:1px solid #c3c4c7;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;box-shadow:0 1px 1px rgba(0,0,0,.04)}body.cheatin h1{border-bottom:1px solid #dcdcde;clear:both;color:#50575e;font-size:24px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:30px 0 0;padding:0 0 7px}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px}#customize-theme-controls .add-new-menu-item,#customize-theme-controls .add-new-widget{cursor:pointer;float:right;margin:0 0 0 10px;transition:all .2s;-webkit-user-select:none;user-select:none;outline:0}.reordering .add-new-menu-item,.reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}#available-menu-items .new-content-item .add-content:before,.add-new-menu-item:before,.add-new-widget:before{content:"\f132";display:inline-block;position:relative;left:-2px;top:0;font:normal 20px/1 dashicons;vertical-align:middle;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reorder-toggle{float:right;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0}.reorder,.reordering .reorder-done{display:block;padding:5px 8px}.reorder-done,.reordering .reorder{display:none}.menu-item-reorder-nav button,.widget-reorder-nav span{position:relative;overflow:hidden;float:left;display:block;width:33px;height:43px;color:#8c8f94;text-indent:-9999px;cursor:pointer;outline:0}.menu-item-reorder-nav button{width:30px;height:40px;background:0 0;border:none;box-shadow:none}.menu-item-reorder-nav button:before,.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:normal 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-reorder-nav button:focus,.menu-item-reorder-nav button:hover,.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#1d2327;background:#f0f0f1}.menus-move-down:before,.move-widget-down:before{content:"\f347"}.menus-move-up:before,.move-widget-up:before{content:"\f343"}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down,.move-down-disabled .menus-move-down,.move-left-disabled .menus-move-left,.move-right-disabled .menus-move-right,.move-up-disabled .menus-move-up{color:#dcdcde;background-color:#fff;cursor:default;pointer-events:none}.wp-full-overlay-main{right:auto;width:100%}.add-menu-toggle.open,.add-menu-toggle.open:hover,.adding-menu-items .add-new-menu-item,.adding-menu-items .add-new-menu-item:hover,body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#f0f0f1;border-color:#8c8f94;color:#2c3338;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#accordion-section-add_menu .add-new-menu-item.open:before,.adding-menu-items .add-new-menu-item:before,body.adding-widget .add-new-widget:before{transform:rotate(45deg)}#available-menu-items,#available-widgets{position:absolute;top:0;bottom:0;left:-301px;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:300px;margin:0;z-index:4;background:#f0f0f1;transition:left .18s;border-right:1px solid #dcdcde}#available-menu-items .customize-section-title,#available-widgets .customize-section-title{display:none}#available-widgets-list{top:60px;position:absolute;overflow:auto;bottom:0;width:100%;border-top:1px solid #dcdcde}.no-widgets-found #available-widgets-list{border-top:none}#available-widgets-filter{position:fixed;top:0;z-index:1;width:300px;background:#f0f0f1}#available-menu-items-search .accordion-section-title,#available-widgets-filter{padding:13px 15px;box-sizing:border-box}#available-menu-items-search input,#available-widgets-filter input{width:100%;min-height:32px;margin:1px 0;padding:0 30px}#available-menu-items-search input::-ms-clear,#available-widgets-filter input::-ms-clear{display:none}#available-menu-items-search .search-icon,#available-widgets-filter .search-icon{display:block;position:absolute;top:15px;left:16px;width:30px;height:30px;line-height:2.1;text-align:center;color:#646970}#available-menu-items-search .clear-results,#available-widgets-filter .clear-results{position:absolute;top:15px;right:16px;width:30px;height:30px;padding:0;border:0;cursor:pointer;background:0 0;color:#d63638;text-decoration:none;outline:0}#available-menu-items-search .clear-results,#available-menu-items-search.loading .clear-results.is-visible,#available-widgets-filter .clear-results{display:none}#available-menu-items-search .clear-results.is-visible,#available-widgets-filter .clear-results.is-visible{display:block}#available-menu-items-search .clear-results:before,#available-widgets-filter .clear-results:before{content:"\f335";font:normal 20px/1 dashicons;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-menu-items-search .clear-results:focus,#available-menu-items-search .clear-results:hover,#available-widgets-filter .clear-results:focus,#available-widgets-filter .clear-results:hover{color:#d63638}#available-menu-items-search .clear-results:focus,#available-widgets-filter .clear-results:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}#available-menu-items-search .search-icon:after,#available-widgets-filter .search-icon:after,.themes-filter-bar .search-icon:after{content:"\f179";font:normal 20px/1 dashicons;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.themes-filter-bar .search-icon{position:absolute;top:7px;left:26px;z-index:1;color:#646970;height:30px;width:30px;line-height:2;text-align:center}.no-widgets-found-message{display:none;margin:0;padding:0 15px;line-height:inherit}.no-widgets-found .no-widgets-found-message{display:block}#available-menu-items .item-top,#available-menu-items .item-top:hover,#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;box-shadow:none}#available-menu-items .item-tpl,#available-widgets .widget-tpl{position:relative;padding:15px 15px 15px 60px;background:#fff;border-bottom:1px solid #dcdcde;border-left:4px solid #fff;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;cursor:pointer;display:none}#available-menu-items .item,#available-widgets .widget{position:static}.customize-controls-preview-toggle{display:none}@media only screen and (max-width:782px){.wp-customizer .theme:not(.active):focus .theme-actions,.wp-customizer .theme:not(.active):hover .theme-actions{display:block}.wp-customizer .theme-browser .theme.active .theme-name span{display:inline}.customize-control-header button.random .dice{margin-top:0}.customize-control-checkbox .customize-inside-control-row,.customize-control-nav_menu_auto_add .customize-inside-control-row,.customize-control-radio .customize-inside-control-row{margin-left:32px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-left:-32px}.customize-control input[type=checkbox]+label+br,.customize-control input[type=radio]+label+br{line-height:2.5}.customize-control .date-time-fields select{height:39px}.date-time-fields .date-input.month{width:79px}.date-time-fields .date-input.day,.date-time-fields .date-input.hour,.date-time-fields .date-input.minute{width:55px}.date-time-fields .date-input.year{width:80px}#customize-control-changeset_preview_link a{bottom:16px}.preview-link-wrapper .customize-copy-preview-link.preview-control-element.button{bottom:10px}.media-widget-control .media-widget-buttons .button.change-media,.media-widget-control .media-widget-buttons .button.edit-media,.media-widget-control .media-widget-buttons .button.select-media{margin-top:12px}.wp-core-ui .themes-filter-bar .feature-filter-toggle{margin:3px 0 3px 25px}}@media screen and (max-width:1200px){.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main{left:67%}}@media screen and (max-width:640px){.wp-full-overlay.collapsed #customize-controls{margin-left:0}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:0}.customize-controls-preview-toggle{display:block;position:absolute;top:0;left:48px;line-height:2.6;font-size:14px;padding:0 12px 4px;margin:0;height:45px;background:#f0f0f1;border:0;border-right:1px solid #dcdcde;border-top:4px solid #f0f0f1;color:#50575e;cursor:pointer;transition:color .1s ease-in-out,background .1s ease-in-out}#customize-footer-actions,.customize-controls-preview-toggle .controls,.preview-only .customize-controls-preview-toggle .preview,.preview-only .wp-full-overlay-sidebar-content{display:none}.preview-only #customize-save-button-wrapper{margin-top:-46px}.customize-controls-preview-toggle .controls:before,.customize-controls-preview-toggle .preview:before{font:normal 20px/1 dashicons;content:"\f177";position:relative;top:4px;margin-right:6px}.customize-controls-preview-toggle .controls:before{content:"\f540"}.preview-only #customize-controls{height:45px}.preview-only #customize-preview,.preview-only .customize-controls-preview-toggle .controls{display:block}.wp-core-ui.wp-customizer .button{min-height:30px;padding:0 14px;line-height:2;font-size:14px;vertical-align:middle}#customize-control-changeset_status .customize-inside-control-row{padding-top:15px}body.adding-menu-items div#available-menu-items,body.adding-widget div#available-widgets,body.outer-section-open div#customize-sidebar-outer-content{width:100%}#available-menu-items .customize-section-title,#available-widgets .customize-section-title{display:block;margin:0}#available-menu-items .customize-section-back,#available-widgets .customize-section-back{height:69px}#available-menu-items .customize-section-title h3,#available-widgets .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 10px 12px 14px;margin:0;line-height:24px;color:#50575e;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-menu-items .customize-section-title .customize-action,#available-widgets .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets-filter{position:relative;width:100%;height:auto}#available-widgets-list{top:130px}#available-menu-items-search .clear-results,#available-menu-items-search .search-icon{top:85px}.reorder,.reordering .reorder-done{padding:8px}.wp-core-ui .themes-filter-bar .feature-filter-toggle{margin:0}}@media screen and (max-width:600px){.wp-full-overlay.expanded{margin-left:0}body.adding-menu-items div#available-menu-items,body.adding-widget div#available-widgets,body.outer-section-open div#customize-sidebar-outer-content{top:46px;z-index:10}body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content{left:-100%}body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content{left:0}} \ No newline at end of file diff --git a/build/wp-admin/css/customize-nav-menus-rtl.css b/build/wp-admin/css/customize-nav-menus-rtl.css deleted file mode 100644 index 677a29e22e..0000000000 --- a/build/wp-admin/css/customize-nav-menus-rtl.css +++ /dev/null @@ -1,884 +0,0 @@ -/*! This file is auto-generated */ -#customize-theme-controls #accordion-section-menu_locations { - position: relative; - margin-top: 30px; -} - -#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title { - border-bottom-color: #dcdcde; - margin-top: 15px; -} - -#customize-theme-controls .customize-section-title-nav_menus-heading, -#customize-theme-controls .customize-section-title-menu_locations-heading, -#customize-theme-controls .customize-section-title-menu_locations-description { - padding: 0 12px; -} - -#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description { - /* Override the default italic style for control descriptions */ - font-style: normal; -} - -.menu-in-location, -.menu-in-locations { - display: block; - font-weight: 600; - font-size: 10px; -} - -#customize-controls .theme-location-set, -#customize-controls .control-section .accordion-section-title:focus .menu-in-location, -#customize-controls .control-section .accordion-section-title:hover .menu-in-location { - color: #50575e; -} - -/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */ -.customize-control-nav_menu_location .edit-menu, -.customize-control-nav_menu_location .create-menu { - margin-right: 6px; - vertical-align: middle; - line-height: 2.2; -} - -#customize-controls .customize-control-nav_menu_name { - margin-bottom: 12px; -} - -.customize-control-nav_menu_name p:last-of-type { - margin-bottom: 0; -} - -#customize-new-menu-submit { - float: left; - min-width: 85px; -} - -.wp-customizer .menu-item-bar .menu-item-handle, -.wp-customizer .menu-item-settings, -.wp-customizer .menu-item-settings .description-thin { - box-sizing: border-box; -} - -.wp-customizer .menu-item-bar { - margin: 0; -} - -.wp-customizer .menu-item-bar .menu-item-handle { - width: 100%; - max-width: 100%; - background: #fff; -} - -.wp-customizer .menu-item-handle .item-title { - margin-left: 0; -} - -.wp-customizer .menu-item-handle .item-type { - padding: 1px 5px 0 21px; - float: left; - text-align: left; -} - -.wp-customizer .menu-item-handle:hover { - z-index: 8; -} - -.customize-control-nav_menu_item.has-notifications .menu-item-handle { - border-right: 4px solid #72aee6; -} - -.wp-customizer .menu-item-settings { - max-width: 100%; - overflow: hidden; - z-index: 8; - padding: 10px; - background: #f0f0f1; - border: 1px solid #8c8f94; - border-top: none; -} - -.wp-customizer .menu-item-settings .description-thin { - width: 100%; - height: auto; - margin: 0 0 8px; -} - -.wp-customizer .menu-item-settings input[type="text"] { - width: 100%; -} - -.wp-customizer .menu-item-settings .submitbox { - margin: 0; - padding: 0; -} - -.wp-customizer .menu-item-settings .link-to-original { - padding: 5px 0; - border: none; - font-style: normal; - margin: 0; - width: 100%; -} - -.wp-customizer .menu-item .submitbox .submitdelete { - float: right; - margin: 6px 0 0; - padding: 0; - cursor: pointer; -} - - -/** - * Menu items reordering styles - */ - -.menu-item-reorder-nav { - display: none; - background-color: #fff; - position: absolute; - top: 0; - left: 0; -} - -.menus-move-left:before { - content: "\f345"; -} - -.menus-move-right:before { - content: "\f341"; -} - -.reordering .menu-item .item-controls, -.reordering .menu-item .item-type { - display: none; -} - -.reordering .menu-item-reorder-nav { - display: block; -} - -.customize-control input.menu-name-field { - width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */ -} - -.wp-customizer .menu-item .item-edit { - position: absolute; - left: -19px; - top: 2px; - display: block; - width: 30px; - height: 38px; - margin-left: 0 !important; - box-shadow: none; - outline: none; - overflow: hidden; - cursor: pointer; - text-align: center; -} - -.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before { - content: "\f142"; -} - -.wp-customizer .menu-item-settings p.description { - font-style: normal; -} - -.wp-customizer .menu-settings dl { - margin: 12px 0 0; - padding: 0; -} - -.wp-customizer .menu-settings .checkbox-input { - margin-top: 8px; -} - -.wp-customizer .menu-settings .menu-theme-locations { - border-top: 1px solid #c3c4c7; -} - -.wp-customizer .menu-settings { - margin-top: 36px; - border-top: none; -} - -.wp-customizer .menu-location-settings { - margin-top: 12px; - border-top: none; -} - -.wp-customizer .control-section-nav_menu .menu-location-settings { - margin-top: 24px; - border-top: 1px solid #dcdcde; -} - -.wp-customizer .control-section-nav_menu .menu-location-settings, -.customize-control-nav_menu_auto_add { - padding-top: 12px; -} - -.menu-location-settings .customize-control-checkbox .theme-location-set { - line-height: 1; -} - -.customize-control-nav_menu_auto_add label { - vertical-align: top; -} - -.menu-location-settings .new-menu-locations-widget-note { - display: block; -} - -.customize-control-menu { - margin-top: 4px; -} - -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle { - color: #50575e; -} - -/* Screen Options */ -.customize-screen-options-toggle { - background: none; - border: none; - color: #50575e; - cursor: pointer; - margin: 0; - padding: 20px; - position: absolute; - left: 0; - top: 30px; -} - -#customize-controls .customize-info .customize-help-toggle { - padding: 20px; -} - -#customize-controls .customize-info .customize-help-toggle:before { - padding: 4px; -} - -.customize-screen-options-toggle:hover, -.customize-screen-options-toggle:active, -.customize-screen-options-toggle:focus, -.active-menu-screen-options .customize-screen-options-toggle, -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #2271b1; -} - -.customize-screen-options-toggle:focus, -#customize-controls .customize-info .customize-help-toggle:focus { - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.customize-screen-options-toggle:before { - -moz-osx-font-smoothing: grayscale; - border: none; - content: "\f111"; - display: block; - font: 18px/1 dashicons; - padding: 5px; - text-align: center; - text-decoration: none !important; - text-indent: 0; - right: 6px; - position: absolute; - top: 6px; -} - -.customize-screen-options-toggle:focus:before, -#customize-controls .customize-info .customize-help-toggle:focus:before { - border-radius: 100%; -} - -.wp-customizer #screen-options-wrap { - display: none; - background: #fff; - border-top: 1px solid #dcdcde; - padding: 4px 15px 15px; -} - -.wp-customizer .metabox-prefs label { - display: block; - padding-left: 0; - line-height: 30px; -} - -/* rework the arrow indicator implementation for NVDA bug same as #32715 */ -.wp-customizer .toggle-indicator { - display: inline-block; - font-size: 20px; - line-height: 1; -} - -.rtl .wp-customizer .toggle-indicator { - text-indent: 1px; /* account for the dashicon alignment */ -} - -.wp-customizer .menu-item .item-edit .toggle-indicator:before, -#available-menu-items .accordion-section-title .toggle-indicator:before { - content: "\f140"; - display: block; - padding: 1px 0 1px 2px; - speak: never; - border-radius: 50%; - color: #787c82; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.control-section-nav_menu .field-link-target, -.control-section-nav_menu .field-title-attribute, -.control-section-nav_menu .field-css-classes, -.control-section-nav_menu .field-xfn, -.control-section-nav_menu .field-description { - display: none; -} - -.control-section-nav_menu.field-link-target-active .field-link-target, -.control-section-nav_menu.field-title-attribute-active .field-title-attribute, -.control-section-nav_menu.field-css-classes-active .field-css-classes, -.control-section-nav_menu.field-xfn-active .field-xfn, -.control-section-nav_menu.field-description-active .field-description { - display: block; -} - -/* WARNING: The 20px factor is hard-coded in JS. */ -.menu-item-depth-0 { margin-right: 0; } -.menu-item-depth-1 { margin-right: 20px; } -.menu-item-depth-2 { margin-right: 40px; } -.menu-item-depth-3 { margin-right: 60px; } -.menu-item-depth-4 { margin-right: 80px; } -.menu-item-depth-5 { margin-right: 100px; } -.menu-item-depth-6 { margin-right: 120px; } -.menu-item-depth-7 { margin-right: 140px; } -.menu-item-depth-8 { margin-right: 160px; } /* Not likely to be used or useful beyond this depth */ -.menu-item-depth-9 { margin-right: 180px; } -.menu-item-depth-10 { margin-right: 200px; } -.menu-item-depth-11 { margin-right: 220px; } - -/* @todo handle .menu-item-settings width */ -.menu-item-depth-0 > .menu-item-bar { margin-left: 0; } -.menu-item-depth-1 > .menu-item-bar { margin-left: 20px; } -.menu-item-depth-2 > .menu-item-bar { margin-left: 40px; } -.menu-item-depth-3 > .menu-item-bar { margin-left: 60px; } -.menu-item-depth-4 > .menu-item-bar { margin-left: 80px; } -.menu-item-depth-5 > .menu-item-bar { margin-left: 100px; } -.menu-item-depth-6 > .menu-item-bar { margin-left: 120px; } -.menu-item-depth-7 > .menu-item-bar { margin-left: 140px; } -.menu-item-depth-8 > .menu-item-bar { margin-left: 160px; } -.menu-item-depth-9 > .menu-item-bar { margin-left: 180px; } -.menu-item-depth-10 > .menu-item-bar { margin-left: 200px; } -.menu-item-depth-11 > .menu-item-bar { margin-left: 220px; } - -/* Submenu left margin. */ -.menu-item-depth-0 .menu-item-transport { margin-right: 0; } -.menu-item-depth-1 .menu-item-transport { margin-right: -20px; } -.menu-item-depth-3 .menu-item-transport { margin-right: -60px; } -.menu-item-depth-4 .menu-item-transport { margin-right: -80px; } -.menu-item-depth-2 .menu-item-transport { margin-right: -40px; } -.menu-item-depth-5 .menu-item-transport { margin-right: -100px; } -.menu-item-depth-6 .menu-item-transport { margin-right: -120px; } -.menu-item-depth-7 .menu-item-transport { margin-right: -140px; } -.menu-item-depth-8 .menu-item-transport { margin-right: -160px; } -.menu-item-depth-9 .menu-item-transport { margin-right: -180px; } -.menu-item-depth-10 .menu-item-transport { margin-right: -200px; } -.menu-item-depth-11 .menu-item-transport { margin-right: -220px; } - -/* WARNING: The 20px factor is hard-coded in JS. */ -.reordering .menu-item-depth-0 { margin-right: 0; } -.reordering .menu-item-depth-1 { margin-right: 15px; } -.reordering .menu-item-depth-2 { margin-right: 30px; } -.reordering .menu-item-depth-3 { margin-right: 45px; } -.reordering .menu-item-depth-4 { margin-right: 60px; } -.reordering .menu-item-depth-5 { margin-right: 75px; } -.reordering .menu-item-depth-6 { margin-right: 90px; } -.reordering .menu-item-depth-7 { margin-right: 105px; } -.reordering .menu-item-depth-8 { margin-right: 120px; } /* Not likely to be used or useful beyond this depth */ -.reordering .menu-item-depth-9 { margin-right: 135px; } -.reordering .menu-item-depth-10 { margin-right: 150px; } -.reordering .menu-item-depth-11 { margin-right: 165px; } - -.reordering .menu-item-depth-0 > .menu-item-bar { margin-left: 0; } -.reordering .menu-item-depth-1 > .menu-item-bar { margin-left: 15px; } -.reordering .menu-item-depth-2 > .menu-item-bar { margin-left: 30px; } -.reordering .menu-item-depth-3 > .menu-item-bar { margin-left: 45px; } -.reordering .menu-item-depth-4 > .menu-item-bar { margin-left: 60px; } -.reordering .menu-item-depth-5 > .menu-item-bar { margin-left: 75px; } -.reordering .menu-item-depth-6 > .menu-item-bar { margin-left: 90px; } -.reordering .menu-item-depth-7 > .menu-item-bar { margin-left: 105px; } -.reordering .menu-item-depth-8 > .menu-item-bar { margin-left: 120px; } -.reordering .menu-item-depth-9 > .menu-item-bar { margin-left: 135px; } -.reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; } -.reordering .menu-item-depth-11 > .menu-item-bar { margin-left: 165px; } - -.control-section-nav_menu.menu .menu-item-edit-active { - margin-right: 0; -} - -.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar { - margin-left: 0; -} - -.control-section-nav_menu.menu .sortable-placeholder { - margin-top: 0; - margin-bottom: 1px; - max-width: calc(100% - 2px); - float: right; - display: list-item; - border-color: #a7aaad; -} - -.menu-item-transport li.customize-control { - float: none; -} - -.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar { - margin-top: 0; -} - -/** - * Add-menu-items mode - */ - -.adding-menu-items .control-section { - opacity: .4; -} - -.adding-menu-items .control-panel.control-section, -.adding-menu-items .control-section.open { - opacity: 1; -} - -.menu-item-bar .item-delete { - color: #d63638; - position: absolute; - top: 2px; - left: -19px; - width: 30px; - height: 38px; - cursor: pointer; - display: none; -} - -.menu-item-bar .item-delete:before { - content: "\f335"; - position: absolute; - top: 9px; - right: 5px; - border-radius: 50%; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.menu-item-bar .item-delete:hover, -.menu-item-bar .item-delete:focus { - box-shadow: none; - outline: none; - color: #d63638; -} - -.adding-menu-items .menu-item-bar .item-edit { - display: none; -} - -.adding-menu-items .menu-item-bar .item-delete { - display: block; -} - -/** - * Styles for menu-item addition panel - */ - -#available-menu-items.opening { - overflow-y: hidden; /* avoid scrollbar jitter with animating heights */ -} - -#available-menu-items #available-menu-items-search.open { - height: 100%; - border-bottom: none; -} - -#available-menu-items .accordion-section-title { - border-right: none; - border-left: none; - background: #fff; - transition: background-color 0.15s; - /* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */ - -webkit-user-select: auto; - user-select: auto; -} - -#available-menu-items .open .accordion-section-title, -#available-menu-items #available-menu-items-search .accordion-section-title { - background: #f0f0f1; -} - -/* rework the arrow indicator implementation for NVDA bug see #32715 */ -#available-menu-items .accordion-section-title:after { - content: none !important; -} - -#available-menu-items .accordion-section-title:hover .toggle-indicator:before, -#available-menu-items .button-link:hover .toggle-indicator:before, -#available-menu-items .button-link:focus .toggle-indicator:before { - color: #1d2327; -} - -#available-menu-items .open .accordion-section-title .toggle-indicator:before { - content: "\f142"; - color: #1d2327; -} - -#available-menu-items .available-menu-items-list { - overflow-y: auto; - max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */ - background: transparent; -} - -#available-menu-items .accordion-section-title button { - display: block; - width: 28px; - height: 35px; - position: absolute; - top: 5px; - left: 5px; - box-shadow: none; - outline: none; - cursor: pointer; - text-align: center; -} - -#available-menu-items .accordion-section-title .no-items, -#available-menu-items .cannot-expand .accordion-section-title .spinner, -#available-menu-items .cannot-expand .accordion-section-title > button { - display: none; -} - -#available-menu-items-search.cannot-expand .accordion-section-title .spinner { - display: block; -} - -#available-menu-items .cannot-expand .accordion-section-title .no-items { - float: left; - color: #50575e; - font-weight: 400; - margin-right: 5px; -} - -#available-menu-items .accordion-section-content { - max-height: 290px; - margin: 0; - padding: 0; - position: relative; - background: transparent; -} - -#available-menu-items .accordion-section-content .available-menu-items-list { - margin: 0 0 45px; - padding: 1px 15px 15px; -} - -#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */ - margin-bottom: 0; -} - -#new-custom-menu-item .accordion-section-content { - padding: 0 15px 15px; -} - -#available-menu-items .menu-item-tpl { - margin: 0; -} - -#custom-menu-item-name.invalid, -#custom-menu-item-url.invalid, -.edit-menu-item-url.invalid, -.menu-name-field.invalid, -.menu-name-field.invalid:focus, -#available-menu-items .new-content-item .create-item-input.invalid, -#available-menu-items .new-content-item .create-item-input.invalid:focus { - border: 1px solid #d63638; -} - -#available-menu-items .menu-item-handle .item-type { - padding-left: 0; -} - -#available-menu-items .menu-item-handle .item-title { - padding-right: 20px; -} - -#available-menu-items .menu-item-handle { - cursor: pointer; -} - -#available-menu-items .menu-item-handle { - box-shadow: none; - margin-top: -1px; -} - -#available-menu-items .menu-item-handle:hover { - z-index: 1; -} - -#available-menu-items .item-title h4 { - padding: 0 0 5px; - font-size: 14px; -} - -#available-menu-items .item-add { - position: absolute; - top: 1px; - right: 1px; - color: #8c8f94; - width: 30px; - height: 38px; - box-shadow: none; - outline: none; - cursor: pointer; - text-align: center; -} - -#available-menu-items .menu-item-handle .item-add:focus { - color: #1d2327; -} - -#available-menu-items .item-add:before { - content: "\f543"; - position: relative; - right: 2px; - top: 3px; - display: inline-block; - height: 20px; - border-radius: 50%; - font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */ -} - -#available-menu-items .menu-item-handle.item-added .item-type, -#available-menu-items .menu-item-handle.item-added .item-title, -#available-menu-items .menu-item-handle.item-added:hover .item-add, -#available-menu-items .menu-item-handle.item-added .item-add:focus { - color: #8c8f94; -} - -#available-menu-items .menu-item-handle.item-added .item-add:before { - content: "\f147"; -} - -#available-menu-items .accordion-section-title.loading .spinner, -#available-menu-items-search.loading .accordion-section-title .spinner { - visibility: visible; - margin: 0 20px; -} - -#available-menu-items-search .spinner { - position: absolute; - top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */ - left: 21px; - margin: 0 !important; -} - -/* search results list */ -#available-menu-items #available-menu-items-search .accordion-section-content { - position: absolute; - right: 0; - top: 60px; /* below title div / search input */ - bottom: 0; /* 100% height that still triggers lazy load */ - max-height: none; - width: 100%; - padding: 1px 15px 15px; - box-sizing: border-box; -} - -#available-menu-items-search .nothing-found { - /* Compensate the 1px top padding of the container. */ - margin-top: -1px; -} - -#available-menu-items-search .accordion-section-title:after { - display: none; -} - -#available-menu-items-search .accordion-section-content:empty { - min-height: 0; - padding: 0; -} - -#available-menu-items-search.loading .accordion-section-content div { - opacity: .5; -} - -#available-menu-items-search.loading.loading-more .accordion-section-content div { - opacity: 1; -} - -#customize-preview { - transition: all 0.2s; -} - -body.adding-menu-items #available-menu-items { - right: 0; - visibility: visible; -} - -body.adding-menu-items .wp-full-overlay-main { - right: 300px; -} - -body.adding-menu-items #customize-preview { - opacity: 0.4; -} - -body.adding-menu-items #customize-preview iframe { - pointer-events: none; -} - -.menu-item-handle .spinner { - display: none; - float: right; - margin: 0 0 0 8px; -} - -.nav-menu-inserted-item-loading .spinner { - display: block; -} - -.nav-menu-inserted-item-loading .menu-item-handle .item-type { - padding: 0 8px 0 0; -} - -.nav-menu-inserted-item-loading .menu-item-handle, -.added-menu-item .menu-item-handle.loading { - padding: 10px 8px 10px 15px; - cursor: default; - opacity: .5; - background: #fff; - color: #787c82; -} - -.added-menu-item .menu-item-handle { - transition-property: opacity, background, color; - transition-duration: 1.25s; - transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */ -} - -/* Add/delete Menus */ - -#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title { - border-bottom-color: #dcdcde; -} - -/* @todo update selector */ -#accordion-section-add_menu { - margin: 15px 12px; -} - -#accordion-section-add_menu h3 { - text-align: left; -} - -#accordion-section-add_menu h3, -#accordion-section-add_menu .customize-add-menu-button { - margin: 0; -} - -#accordion-section-add_menu .customize-add-menu-button { - font-weight: 400; -} - -#create-new-menu-submit { - float: left; - margin: 0 0 12px; -} - -.menu-delete-item { - float: right; - padding: 1em 0; - width: 100%; -} - -.assigned-menu-locations-title p { - margin: 0 0 8px; -} - -li.assigned-to-menu-location .menu-delete-item { - display: none; -} - -li.assigned-to-menu-location .add-new-menu-item { - margin-bottom: 1em; -} - -.menu-item-handle { - margin-top: -1px; -} -.ui-sortable-disabled .menu-item-handle { - cursor: default; -} - -.menu-item-handle:hover { - position: relative; - z-index: 10; - color: #2271b1; -} - -.menu-item-handle:hover .item-type, -.menu-item-handle:hover .item-edit, -#available-menu-items .menu-item-handle:hover .item-add { - color: #2271b1; -} - -.menu-item-edit-active .menu-item-handle { - border-color: #8c8f94; - border-bottom: none; -} - -.customize-control-nav_menu_item { - margin-bottom: 0; -} - -.customize-control-nav_menu .new-menu-item-invitation { - margin-top: 0; - margin-bottom: 0; -} - -.customize-control-nav_menu .customize-control-nav_menu-buttons { - margin-top: 12px; -} - -/** - * box-shadows - */ - -.wp-customizer .menu-item .submitbox .submitdelete:focus, -.customize-screen-options-toggle:focus:before, -#customize-controls .customize-info .customize-help-toggle:focus:before, -.wp-customizer button:focus .toggle-indicator:before, -.menu-delete:focus, -.menu-item-bar .item-delete:focus:before, -#available-menu-items .item-add:focus:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - - -@media screen and (max-width: 782px) { - #available-menu-items #available-menu-items-search .accordion-section-content { - top: 63px; - } -} - -@media screen and (max-width: 640px) { - #available-menu-items #available-menu-items-search .accordion-section-content { - top: 130px; - } -} diff --git a/build/wp-admin/css/customize-nav-menus-rtl.min.css b/build/wp-admin/css/customize-nav-menus-rtl.min.css deleted file mode 100644 index e5af0a370a..0000000000 --- a/build/wp-admin/css/customize-nav-menus-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#customize-theme-controls #accordion-section-menu_locations{position:relative;margin-top:30px}#customize-theme-controls #accordion-section-menu_locations>.accordion-section-title{border-bottom-color:#dcdcde;margin-top:15px}#customize-theme-controls .customize-section-title-menu_locations-description,#customize-theme-controls .customize-section-title-menu_locations-heading,#customize-theme-controls .customize-section-title-nav_menus-heading{padding:0 12px}#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description{font-style:normal}.menu-in-location,.menu-in-locations{display:block;font-weight:600;font-size:10px}#customize-controls .control-section .accordion-section-title:focus .menu-in-location,#customize-controls .control-section .accordion-section-title:hover .menu-in-location,#customize-controls .theme-location-set{color:#50575e}.customize-control-nav_menu_location .create-menu,.customize-control-nav_menu_location .edit-menu{margin-right:6px;vertical-align:middle;line-height:2.2}#customize-controls .customize-control-nav_menu_name{margin-bottom:12px}.customize-control-nav_menu_name p:last-of-type{margin-bottom:0}#customize-new-menu-submit{float:left;min-width:85px}.wp-customizer .menu-item-bar .menu-item-handle,.wp-customizer .menu-item-settings,.wp-customizer .menu-item-settings .description-thin{box-sizing:border-box}.wp-customizer .menu-item-bar{margin:0}.wp-customizer .menu-item-bar .menu-item-handle{width:100%;max-width:100%;background:#fff}.wp-customizer .menu-item-handle .item-title{margin-left:0}.wp-customizer .menu-item-handle .item-type{padding:1px 5px 0 21px;float:left;text-align:left}.wp-customizer .menu-item-handle:hover{z-index:8}.customize-control-nav_menu_item.has-notifications .menu-item-handle{border-right:4px solid #72aee6}.wp-customizer .menu-item-settings{max-width:100%;overflow:hidden;z-index:8;padding:10px;background:#f0f0f1;border:1px solid #8c8f94;border-top:none}.wp-customizer .menu-item-settings .description-thin{width:100%;height:auto;margin:0 0 8px}.wp-customizer .menu-item-settings input[type=text]{width:100%}.wp-customizer .menu-item-settings .submitbox{margin:0;padding:0}.wp-customizer .menu-item-settings .link-to-original{padding:5px 0;border:none;font-style:normal;margin:0;width:100%}.wp-customizer .menu-item .submitbox .submitdelete{float:right;margin:6px 0 0;padding:0;cursor:pointer}.menu-item-reorder-nav{display:none;background-color:#fff;position:absolute;top:0;left:0}.menus-move-left:before{content:"\f345"}.menus-move-right:before{content:"\f341"}.reordering .menu-item .item-controls,.reordering .menu-item .item-type{display:none}.reordering .menu-item-reorder-nav{display:block}.customize-control input.menu-name-field{width:100%}.wp-customizer .menu-item .item-edit{position:absolute;left:-19px;top:2px;display:block;width:30px;height:38px;margin-left:0!important;box-shadow:none;outline:0;overflow:hidden;cursor:pointer;text-align:center}.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before{content:"\f142"}.wp-customizer .menu-item-settings p.description{font-style:normal}.wp-customizer .menu-settings dl{margin:12px 0 0;padding:0}.wp-customizer .menu-settings .checkbox-input{margin-top:8px}.wp-customizer .menu-settings .menu-theme-locations{border-top:1px solid #c3c4c7}.wp-customizer .menu-settings{margin-top:36px;border-top:none}.wp-customizer .menu-location-settings{margin-top:12px;border-top:none}.wp-customizer .control-section-nav_menu .menu-location-settings{margin-top:24px;border-top:1px solid #dcdcde}.customize-control-nav_menu_auto_add,.wp-customizer .control-section-nav_menu .menu-location-settings{padding-top:12px}.menu-location-settings .customize-control-checkbox .theme-location-set{line-height:1}.customize-control-nav_menu_auto_add label{vertical-align:top}.menu-location-settings .new-menu-locations-widget-note{display:block}.customize-control-menu{margin-top:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle{color:#50575e}.customize-screen-options-toggle{background:0 0;border:none;color:#50575e;cursor:pointer;margin:0;padding:20px;position:absolute;left:0;top:30px}#customize-controls .customize-info .customize-help-toggle{padding:20px}#customize-controls .customize-info .customize-help-toggle:before{padding:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#2271b1}#customize-controls .customize-info .customize-help-toggle:focus,.customize-screen-options-toggle:focus{outline:1px solid transparent}.customize-screen-options-toggle:before{-moz-osx-font-smoothing:grayscale;border:none;content:"\f111";display:block;font:18px/1 dashicons;padding:5px;text-align:center;text-decoration:none!important;text-indent:0;right:6px;position:absolute;top:6px}#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before{border-radius:100%}.wp-customizer #screen-options-wrap{display:none;background:#fff;border-top:1px solid #dcdcde;padding:4px 15px 15px}.wp-customizer .metabox-prefs label{display:block;padding-left:0;line-height:30px}.wp-customizer .toggle-indicator{display:inline-block;font-size:20px;line-height:1}.rtl .wp-customizer .toggle-indicator{text-indent:1px}#available-menu-items .accordion-section-title .toggle-indicator:before,.wp-customizer .menu-item .item-edit .toggle-indicator:before{content:"\f140";display:block;padding:1px 0 1px 2px;speak:never;border-radius:50%;color:#787c82;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.control-section-nav_menu .field-css-classes,.control-section-nav_menu .field-description,.control-section-nav_menu .field-link-target,.control-section-nav_menu .field-title-attribute,.control-section-nav_menu .field-xfn{display:none}.control-section-nav_menu.field-css-classes-active .field-css-classes,.control-section-nav_menu.field-description-active .field-description,.control-section-nav_menu.field-link-target-active .field-link-target,.control-section-nav_menu.field-title-attribute-active .field-title-attribute,.control-section-nav_menu.field-xfn-active .field-xfn{display:block}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:20px}.menu-item-depth-2{margin-right:40px}.menu-item-depth-3{margin-right:60px}.menu-item-depth-4{margin-right:80px}.menu-item-depth-5{margin-right:100px}.menu-item-depth-6{margin-right:120px}.menu-item-depth-7{margin-right:140px}.menu-item-depth-8{margin-right:160px}.menu-item-depth-9{margin-right:180px}.menu-item-depth-10{margin-right:200px}.menu-item-depth-11{margin-right:220px}.menu-item-depth-0>.menu-item-bar{margin-left:0}.menu-item-depth-1>.menu-item-bar{margin-left:20px}.menu-item-depth-2>.menu-item-bar{margin-left:40px}.menu-item-depth-3>.menu-item-bar{margin-left:60px}.menu-item-depth-4>.menu-item-bar{margin-left:80px}.menu-item-depth-5>.menu-item-bar{margin-left:100px}.menu-item-depth-6>.menu-item-bar{margin-left:120px}.menu-item-depth-7>.menu-item-bar{margin-left:140px}.menu-item-depth-8>.menu-item-bar{margin-left:160px}.menu-item-depth-9>.menu-item-bar{margin-left:180px}.menu-item-depth-10>.menu-item-bar{margin-left:200px}.menu-item-depth-11>.menu-item-bar{margin-left:220px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-20px}.menu-item-depth-3 .menu-item-transport{margin-right:-60px}.menu-item-depth-4 .menu-item-transport{margin-right:-80px}.menu-item-depth-2 .menu-item-transport{margin-right:-40px}.menu-item-depth-5 .menu-item-transport{margin-right:-100px}.menu-item-depth-6 .menu-item-transport{margin-right:-120px}.menu-item-depth-7 .menu-item-transport{margin-right:-140px}.menu-item-depth-8 .menu-item-transport{margin-right:-160px}.menu-item-depth-9 .menu-item-transport{margin-right:-180px}.menu-item-depth-10 .menu-item-transport{margin-right:-200px}.menu-item-depth-11 .menu-item-transport{margin-right:-220px}.reordering .menu-item-depth-0{margin-right:0}.reordering .menu-item-depth-1{margin-right:15px}.reordering .menu-item-depth-2{margin-right:30px}.reordering .menu-item-depth-3{margin-right:45px}.reordering .menu-item-depth-4{margin-right:60px}.reordering .menu-item-depth-5{margin-right:75px}.reordering .menu-item-depth-6{margin-right:90px}.reordering .menu-item-depth-7{margin-right:105px}.reordering .menu-item-depth-8{margin-right:120px}.reordering .menu-item-depth-9{margin-right:135px}.reordering .menu-item-depth-10{margin-right:150px}.reordering .menu-item-depth-11{margin-right:165px}.reordering .menu-item-depth-0>.menu-item-bar{margin-left:0}.reordering .menu-item-depth-1>.menu-item-bar{margin-left:15px}.reordering .menu-item-depth-2>.menu-item-bar{margin-left:30px}.reordering .menu-item-depth-3>.menu-item-bar{margin-left:45px}.reordering .menu-item-depth-4>.menu-item-bar{margin-left:60px}.reordering .menu-item-depth-5>.menu-item-bar{margin-left:75px}.reordering .menu-item-depth-6>.menu-item-bar{margin-left:90px}.reordering .menu-item-depth-7>.menu-item-bar{margin-left:105px}.reordering .menu-item-depth-8>.menu-item-bar{margin-left:120px}.reordering .menu-item-depth-9>.menu-item-bar{margin-left:135px}.reordering .menu-item-depth-10>.menu-item-bar{margin-left:150px}.reordering .menu-item-depth-11>.menu-item-bar{margin-left:165px}.control-section-nav_menu.menu .menu-item-edit-active{margin-right:0}.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar{margin-left:0}.control-section-nav_menu.menu .sortable-placeholder{margin-top:0;margin-bottom:1px;max-width:calc(100% - 2px);float:right;display:list-item;border-color:#a7aaad}.menu-item-transport li.customize-control{float:none}.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar{margin-top:0}.adding-menu-items .control-section{opacity:.4}.adding-menu-items .control-panel.control-section,.adding-menu-items .control-section.open{opacity:1}.menu-item-bar .item-delete{color:#d63638;position:absolute;top:2px;left:-19px;width:30px;height:38px;cursor:pointer;display:none}.menu-item-bar .item-delete:before{content:"\f335";position:absolute;top:9px;right:5px;border-radius:50%;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-bar .item-delete:focus,.menu-item-bar .item-delete:hover{box-shadow:none;outline:0;color:#d63638}.adding-menu-items .menu-item-bar .item-edit{display:none}.adding-menu-items .menu-item-bar .item-delete{display:block}#available-menu-items.opening{overflow-y:hidden}#available-menu-items #available-menu-items-search.open{height:100%;border-bottom:none}#available-menu-items .accordion-section-title{border-right:none;border-left:none;background:#fff;transition:background-color .15s;-webkit-user-select:auto;user-select:auto}#available-menu-items #available-menu-items-search .accordion-section-title,#available-menu-items .open .accordion-section-title{background:#f0f0f1}#available-menu-items .accordion-section-title:after{content:none!important}#available-menu-items .accordion-section-title:hover .toggle-indicator:before,#available-menu-items .button-link:focus .toggle-indicator:before,#available-menu-items .button-link:hover .toggle-indicator:before{color:#1d2327}#available-menu-items .open .accordion-section-title .toggle-indicator:before{content:"\f142";color:#1d2327}#available-menu-items .available-menu-items-list{overflow-y:auto;max-height:200px;background:0 0}#available-menu-items .accordion-section-title button{display:block;width:28px;height:35px;position:absolute;top:5px;left:5px;box-shadow:none;outline:0;cursor:pointer;text-align:center}#available-menu-items .accordion-section-title .no-items,#available-menu-items .cannot-expand .accordion-section-title .spinner,#available-menu-items .cannot-expand .accordion-section-title>button{display:none}#available-menu-items-search.cannot-expand .accordion-section-title .spinner{display:block}#available-menu-items .cannot-expand .accordion-section-title .no-items{float:left;color:#50575e;font-weight:400;margin-right:5px}#available-menu-items .accordion-section-content{max-height:290px;margin:0;padding:0;position:relative;background:0 0}#available-menu-items .accordion-section-content .available-menu-items-list{margin:0 0 45px;padding:1px 15px 15px}#available-menu-items .accordion-section-content .available-menu-items-list:only-child{margin-bottom:0}#new-custom-menu-item .accordion-section-content{padding:0 15px 15px}#available-menu-items .menu-item-tpl{margin:0}#available-menu-items .new-content-item .create-item-input.invalid,#available-menu-items .new-content-item .create-item-input.invalid:focus,#custom-menu-item-name.invalid,#custom-menu-item-url.invalid,.edit-menu-item-url.invalid,.menu-name-field.invalid,.menu-name-field.invalid:focus{border:1px solid #d63638}#available-menu-items .menu-item-handle .item-type{padding-left:0}#available-menu-items .menu-item-handle .item-title{padding-right:20px}#available-menu-items .menu-item-handle{cursor:pointer}#available-menu-items .menu-item-handle{box-shadow:none;margin-top:-1px}#available-menu-items .menu-item-handle:hover{z-index:1}#available-menu-items .item-title h4{padding:0 0 5px;font-size:14px}#available-menu-items .item-add{position:absolute;top:1px;right:1px;color:#8c8f94;width:30px;height:38px;box-shadow:none;outline:0;cursor:pointer;text-align:center}#available-menu-items .menu-item-handle .item-add:focus{color:#1d2327}#available-menu-items .item-add:before{content:"\f543";position:relative;right:2px;top:3px;display:inline-block;height:20px;border-radius:50%;font:normal 20px/1.05 dashicons}#available-menu-items .menu-item-handle.item-added .item-add:focus,#available-menu-items .menu-item-handle.item-added .item-title,#available-menu-items .menu-item-handle.item-added .item-type,#available-menu-items .menu-item-handle.item-added:hover .item-add{color:#8c8f94}#available-menu-items .menu-item-handle.item-added .item-add:before{content:"\f147"}#available-menu-items .accordion-section-title.loading .spinner,#available-menu-items-search.loading .accordion-section-title .spinner{visibility:visible;margin:0 20px}#available-menu-items-search .spinner{position:absolute;top:20px;left:21px;margin:0!important}#available-menu-items #available-menu-items-search .accordion-section-content{position:absolute;right:0;top:60px;bottom:0;max-height:none;width:100%;padding:1px 15px 15px;box-sizing:border-box}#available-menu-items-search .nothing-found{margin-top:-1px}#available-menu-items-search .accordion-section-title:after{display:none}#available-menu-items-search .accordion-section-content:empty{min-height:0;padding:0}#available-menu-items-search.loading .accordion-section-content div{opacity:.5}#available-menu-items-search.loading.loading-more .accordion-section-content div{opacity:1}#customize-preview{transition:all .2s}body.adding-menu-items #available-menu-items{right:0;visibility:visible}body.adding-menu-items .wp-full-overlay-main{right:300px}body.adding-menu-items #customize-preview{opacity:.4}body.adding-menu-items #customize-preview iframe{pointer-events:none}.menu-item-handle .spinner{display:none;float:right;margin:0 0 0 8px}.nav-menu-inserted-item-loading .spinner{display:block}.nav-menu-inserted-item-loading .menu-item-handle .item-type{padding:0 8px 0 0}.added-menu-item .menu-item-handle.loading,.nav-menu-inserted-item-loading .menu-item-handle{padding:10px 8px 10px 15px;cursor:default;opacity:.5;background:#fff;color:#787c82}.added-menu-item .menu-item-handle{transition-property:opacity,background,color;transition-duration:1.25s;transition-timing-function:cubic-bezier(.25,-2.5,.75,8)}#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title{border-bottom-color:#dcdcde}#accordion-section-add_menu{margin:15px 12px}#accordion-section-add_menu h3{text-align:left}#accordion-section-add_menu .customize-add-menu-button,#accordion-section-add_menu h3{margin:0}#accordion-section-add_menu .customize-add-menu-button{font-weight:400}#create-new-menu-submit{float:left;margin:0 0 12px}.menu-delete-item{float:right;padding:1em 0;width:100%}.assigned-menu-locations-title p{margin:0 0 8px}li.assigned-to-menu-location .menu-delete-item{display:none}li.assigned-to-menu-location .add-new-menu-item{margin-bottom:1em}.menu-item-handle{margin-top:-1px}.ui-sortable-disabled .menu-item-handle{cursor:default}.menu-item-handle:hover{position:relative;z-index:10;color:#2271b1}#available-menu-items .menu-item-handle:hover .item-add,.menu-item-handle:hover .item-edit,.menu-item-handle:hover .item-type{color:#2271b1}.menu-item-edit-active .menu-item-handle{border-color:#8c8f94;border-bottom:none}.customize-control-nav_menu_item{margin-bottom:0}.customize-control-nav_menu .new-menu-item-invitation{margin-top:0;margin-bottom:0}.customize-control-nav_menu .customize-control-nav_menu-buttons{margin-top:12px}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}@media screen and (max-width:782px){#available-menu-items #available-menu-items-search .accordion-section-content{top:63px}}@media screen and (max-width:640px){#available-menu-items #available-menu-items-search .accordion-section-content{top:130px}} \ No newline at end of file diff --git a/build/wp-admin/css/customize-nav-menus.css b/build/wp-admin/css/customize-nav-menus.css deleted file mode 100644 index 46ac3066ef..0000000000 --- a/build/wp-admin/css/customize-nav-menus.css +++ /dev/null @@ -1,883 +0,0 @@ -#customize-theme-controls #accordion-section-menu_locations { - position: relative; - margin-top: 30px; -} - -#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title { - border-bottom-color: #dcdcde; - margin-top: 15px; -} - -#customize-theme-controls .customize-section-title-nav_menus-heading, -#customize-theme-controls .customize-section-title-menu_locations-heading, -#customize-theme-controls .customize-section-title-menu_locations-description { - padding: 0 12px; -} - -#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description { - /* Override the default italic style for control descriptions */ - font-style: normal; -} - -.menu-in-location, -.menu-in-locations { - display: block; - font-weight: 600; - font-size: 10px; -} - -#customize-controls .theme-location-set, -#customize-controls .control-section .accordion-section-title:focus .menu-in-location, -#customize-controls .control-section .accordion-section-title:hover .menu-in-location { - color: #50575e; -} - -/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */ -.customize-control-nav_menu_location .edit-menu, -.customize-control-nav_menu_location .create-menu { - margin-left: 6px; - vertical-align: middle; - line-height: 2.2; -} - -#customize-controls .customize-control-nav_menu_name { - margin-bottom: 12px; -} - -.customize-control-nav_menu_name p:last-of-type { - margin-bottom: 0; -} - -#customize-new-menu-submit { - float: right; - min-width: 85px; -} - -.wp-customizer .menu-item-bar .menu-item-handle, -.wp-customizer .menu-item-settings, -.wp-customizer .menu-item-settings .description-thin { - box-sizing: border-box; -} - -.wp-customizer .menu-item-bar { - margin: 0; -} - -.wp-customizer .menu-item-bar .menu-item-handle { - width: 100%; - max-width: 100%; - background: #fff; -} - -.wp-customizer .menu-item-handle .item-title { - margin-right: 0; -} - -.wp-customizer .menu-item-handle .item-type { - padding: 1px 21px 0 5px; - float: right; - text-align: right; -} - -.wp-customizer .menu-item-handle:hover { - z-index: 8; -} - -.customize-control-nav_menu_item.has-notifications .menu-item-handle { - border-left: 4px solid #72aee6; -} - -.wp-customizer .menu-item-settings { - max-width: 100%; - overflow: hidden; - z-index: 8; - padding: 10px; - background: #f0f0f1; - border: 1px solid #8c8f94; - border-top: none; -} - -.wp-customizer .menu-item-settings .description-thin { - width: 100%; - height: auto; - margin: 0 0 8px; -} - -.wp-customizer .menu-item-settings input[type="text"] { - width: 100%; -} - -.wp-customizer .menu-item-settings .submitbox { - margin: 0; - padding: 0; -} - -.wp-customizer .menu-item-settings .link-to-original { - padding: 5px 0; - border: none; - font-style: normal; - margin: 0; - width: 100%; -} - -.wp-customizer .menu-item .submitbox .submitdelete { - float: left; - margin: 6px 0 0; - padding: 0; - cursor: pointer; -} - - -/** - * Menu items reordering styles - */ - -.menu-item-reorder-nav { - display: none; - background-color: #fff; - position: absolute; - top: 0; - right: 0; -} - -.menus-move-left:before { - content: "\f341"; -} - -.menus-move-right:before { - content: "\f345"; -} - -.reordering .menu-item .item-controls, -.reordering .menu-item .item-type { - display: none; -} - -.reordering .menu-item-reorder-nav { - display: block; -} - -.customize-control input.menu-name-field { - width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */ -} - -.wp-customizer .menu-item .item-edit { - position: absolute; - right: -19px; - top: 2px; - display: block; - width: 30px; - height: 38px; - margin-right: 0 !important; - box-shadow: none; - outline: none; - overflow: hidden; - cursor: pointer; - text-align: center; -} - -.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before { - content: "\f142"; -} - -.wp-customizer .menu-item-settings p.description { - font-style: normal; -} - -.wp-customizer .menu-settings dl { - margin: 12px 0 0; - padding: 0; -} - -.wp-customizer .menu-settings .checkbox-input { - margin-top: 8px; -} - -.wp-customizer .menu-settings .menu-theme-locations { - border-top: 1px solid #c3c4c7; -} - -.wp-customizer .menu-settings { - margin-top: 36px; - border-top: none; -} - -.wp-customizer .menu-location-settings { - margin-top: 12px; - border-top: none; -} - -.wp-customizer .control-section-nav_menu .menu-location-settings { - margin-top: 24px; - border-top: 1px solid #dcdcde; -} - -.wp-customizer .control-section-nav_menu .menu-location-settings, -.customize-control-nav_menu_auto_add { - padding-top: 12px; -} - -.menu-location-settings .customize-control-checkbox .theme-location-set { - line-height: 1; -} - -.customize-control-nav_menu_auto_add label { - vertical-align: top; -} - -.menu-location-settings .new-menu-locations-widget-note { - display: block; -} - -.customize-control-menu { - margin-top: 4px; -} - -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle { - color: #50575e; -} - -/* Screen Options */ -.customize-screen-options-toggle { - background: none; - border: none; - color: #50575e; - cursor: pointer; - margin: 0; - padding: 20px; - position: absolute; - right: 0; - top: 30px; -} - -#customize-controls .customize-info .customize-help-toggle { - padding: 20px; -} - -#customize-controls .customize-info .customize-help-toggle:before { - padding: 4px; -} - -.customize-screen-options-toggle:hover, -.customize-screen-options-toggle:active, -.customize-screen-options-toggle:focus, -.active-menu-screen-options .customize-screen-options-toggle, -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, -#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { - color: #2271b1; -} - -.customize-screen-options-toggle:focus, -#customize-controls .customize-info .customize-help-toggle:focus { - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -.customize-screen-options-toggle:before { - -moz-osx-font-smoothing: grayscale; - border: none; - content: "\f111"; - display: block; - font: 18px/1 dashicons; - padding: 5px; - text-align: center; - text-decoration: none !important; - text-indent: 0; - left: 6px; - position: absolute; - top: 6px; -} - -.customize-screen-options-toggle:focus:before, -#customize-controls .customize-info .customize-help-toggle:focus:before { - border-radius: 100%; -} - -.wp-customizer #screen-options-wrap { - display: none; - background: #fff; - border-top: 1px solid #dcdcde; - padding: 4px 15px 15px; -} - -.wp-customizer .metabox-prefs label { - display: block; - padding-right: 0; - line-height: 30px; -} - -/* rework the arrow indicator implementation for NVDA bug same as #32715 */ -.wp-customizer .toggle-indicator { - display: inline-block; - font-size: 20px; - line-height: 1; -} - -.rtl .wp-customizer .toggle-indicator { - text-indent: 1px; /* account for the dashicon alignment */ -} - -.wp-customizer .menu-item .item-edit .toggle-indicator:before, -#available-menu-items .accordion-section-title .toggle-indicator:before { - content: "\f140"; - display: block; - padding: 1px 2px 1px 0; - speak: never; - border-radius: 50%; - color: #787c82; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - -.control-section-nav_menu .field-link-target, -.control-section-nav_menu .field-title-attribute, -.control-section-nav_menu .field-css-classes, -.control-section-nav_menu .field-xfn, -.control-section-nav_menu .field-description { - display: none; -} - -.control-section-nav_menu.field-link-target-active .field-link-target, -.control-section-nav_menu.field-title-attribute-active .field-title-attribute, -.control-section-nav_menu.field-css-classes-active .field-css-classes, -.control-section-nav_menu.field-xfn-active .field-xfn, -.control-section-nav_menu.field-description-active .field-description { - display: block; -} - -/* WARNING: The 20px factor is hard-coded in JS. */ -.menu-item-depth-0 { margin-left: 0; } -.menu-item-depth-1 { margin-left: 20px; } -.menu-item-depth-2 { margin-left: 40px; } -.menu-item-depth-3 { margin-left: 60px; } -.menu-item-depth-4 { margin-left: 80px; } -.menu-item-depth-5 { margin-left: 100px; } -.menu-item-depth-6 { margin-left: 120px; } -.menu-item-depth-7 { margin-left: 140px; } -.menu-item-depth-8 { margin-left: 160px; } /* Not likely to be used or useful beyond this depth */ -.menu-item-depth-9 { margin-left: 180px; } -.menu-item-depth-10 { margin-left: 200px; } -.menu-item-depth-11 { margin-left: 220px; } - -/* @todo handle .menu-item-settings width */ -.menu-item-depth-0 > .menu-item-bar { margin-right: 0; } -.menu-item-depth-1 > .menu-item-bar { margin-right: 20px; } -.menu-item-depth-2 > .menu-item-bar { margin-right: 40px; } -.menu-item-depth-3 > .menu-item-bar { margin-right: 60px; } -.menu-item-depth-4 > .menu-item-bar { margin-right: 80px; } -.menu-item-depth-5 > .menu-item-bar { margin-right: 100px; } -.menu-item-depth-6 > .menu-item-bar { margin-right: 120px; } -.menu-item-depth-7 > .menu-item-bar { margin-right: 140px; } -.menu-item-depth-8 > .menu-item-bar { margin-right: 160px; } -.menu-item-depth-9 > .menu-item-bar { margin-right: 180px; } -.menu-item-depth-10 > .menu-item-bar { margin-right: 200px; } -.menu-item-depth-11 > .menu-item-bar { margin-right: 220px; } - -/* Submenu left margin. */ -.menu-item-depth-0 .menu-item-transport { margin-left: 0; } -.menu-item-depth-1 .menu-item-transport { margin-left: -20px; } -.menu-item-depth-3 .menu-item-transport { margin-left: -60px; } -.menu-item-depth-4 .menu-item-transport { margin-left: -80px; } -.menu-item-depth-2 .menu-item-transport { margin-left: -40px; } -.menu-item-depth-5 .menu-item-transport { margin-left: -100px; } -.menu-item-depth-6 .menu-item-transport { margin-left: -120px; } -.menu-item-depth-7 .menu-item-transport { margin-left: -140px; } -.menu-item-depth-8 .menu-item-transport { margin-left: -160px; } -.menu-item-depth-9 .menu-item-transport { margin-left: -180px; } -.menu-item-depth-10 .menu-item-transport { margin-left: -200px; } -.menu-item-depth-11 .menu-item-transport { margin-left: -220px; } - -/* WARNING: The 20px factor is hard-coded in JS. */ -.reordering .menu-item-depth-0 { margin-left: 0; } -.reordering .menu-item-depth-1 { margin-left: 15px; } -.reordering .menu-item-depth-2 { margin-left: 30px; } -.reordering .menu-item-depth-3 { margin-left: 45px; } -.reordering .menu-item-depth-4 { margin-left: 60px; } -.reordering .menu-item-depth-5 { margin-left: 75px; } -.reordering .menu-item-depth-6 { margin-left: 90px; } -.reordering .menu-item-depth-7 { margin-left: 105px; } -.reordering .menu-item-depth-8 { margin-left: 120px; } /* Not likely to be used or useful beyond this depth */ -.reordering .menu-item-depth-9 { margin-left: 135px; } -.reordering .menu-item-depth-10 { margin-left: 150px; } -.reordering .menu-item-depth-11 { margin-left: 165px; } - -.reordering .menu-item-depth-0 > .menu-item-bar { margin-right: 0; } -.reordering .menu-item-depth-1 > .menu-item-bar { margin-right: 15px; } -.reordering .menu-item-depth-2 > .menu-item-bar { margin-right: 30px; } -.reordering .menu-item-depth-3 > .menu-item-bar { margin-right: 45px; } -.reordering .menu-item-depth-4 > .menu-item-bar { margin-right: 60px; } -.reordering .menu-item-depth-5 > .menu-item-bar { margin-right: 75px; } -.reordering .menu-item-depth-6 > .menu-item-bar { margin-right: 90px; } -.reordering .menu-item-depth-7 > .menu-item-bar { margin-right: 105px; } -.reordering .menu-item-depth-8 > .menu-item-bar { margin-right: 120px; } -.reordering .menu-item-depth-9 > .menu-item-bar { margin-right: 135px; } -.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; } -.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; } - -.control-section-nav_menu.menu .menu-item-edit-active { - margin-left: 0; -} - -.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar { - margin-right: 0; -} - -.control-section-nav_menu.menu .sortable-placeholder { - margin-top: 0; - margin-bottom: 1px; - max-width: calc(100% - 2px); - float: left; - display: list-item; - border-color: #a7aaad; -} - -.menu-item-transport li.customize-control { - float: none; -} - -.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar { - margin-top: 0; -} - -/** - * Add-menu-items mode - */ - -.adding-menu-items .control-section { - opacity: .4; -} - -.adding-menu-items .control-panel.control-section, -.adding-menu-items .control-section.open { - opacity: 1; -} - -.menu-item-bar .item-delete { - color: #d63638; - position: absolute; - top: 2px; - right: -19px; - width: 30px; - height: 38px; - cursor: pointer; - display: none; -} - -.menu-item-bar .item-delete:before { - content: "\f335"; - position: absolute; - top: 9px; - left: 5px; - border-radius: 50%; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.menu-item-bar .item-delete:hover, -.menu-item-bar .item-delete:focus { - box-shadow: none; - outline: none; - color: #d63638; -} - -.adding-menu-items .menu-item-bar .item-edit { - display: none; -} - -.adding-menu-items .menu-item-bar .item-delete { - display: block; -} - -/** - * Styles for menu-item addition panel - */ - -#available-menu-items.opening { - overflow-y: hidden; /* avoid scrollbar jitter with animating heights */ -} - -#available-menu-items #available-menu-items-search.open { - height: 100%; - border-bottom: none; -} - -#available-menu-items .accordion-section-title { - border-left: none; - border-right: none; - background: #fff; - transition: background-color 0.15s; - /* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */ - -webkit-user-select: auto; - user-select: auto; -} - -#available-menu-items .open .accordion-section-title, -#available-menu-items #available-menu-items-search .accordion-section-title { - background: #f0f0f1; -} - -/* rework the arrow indicator implementation for NVDA bug see #32715 */ -#available-menu-items .accordion-section-title:after { - content: none !important; -} - -#available-menu-items .accordion-section-title:hover .toggle-indicator:before, -#available-menu-items .button-link:hover .toggle-indicator:before, -#available-menu-items .button-link:focus .toggle-indicator:before { - color: #1d2327; -} - -#available-menu-items .open .accordion-section-title .toggle-indicator:before { - content: "\f142"; - color: #1d2327; -} - -#available-menu-items .available-menu-items-list { - overflow-y: auto; - max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */ - background: transparent; -} - -#available-menu-items .accordion-section-title button { - display: block; - width: 28px; - height: 35px; - position: absolute; - top: 5px; - right: 5px; - box-shadow: none; - outline: none; - cursor: pointer; - text-align: center; -} - -#available-menu-items .accordion-section-title .no-items, -#available-menu-items .cannot-expand .accordion-section-title .spinner, -#available-menu-items .cannot-expand .accordion-section-title > button { - display: none; -} - -#available-menu-items-search.cannot-expand .accordion-section-title .spinner { - display: block; -} - -#available-menu-items .cannot-expand .accordion-section-title .no-items { - float: right; - color: #50575e; - font-weight: 400; - margin-left: 5px; -} - -#available-menu-items .accordion-section-content { - max-height: 290px; - margin: 0; - padding: 0; - position: relative; - background: transparent; -} - -#available-menu-items .accordion-section-content .available-menu-items-list { - margin: 0 0 45px; - padding: 1px 15px 15px; -} - -#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */ - margin-bottom: 0; -} - -#new-custom-menu-item .accordion-section-content { - padding: 0 15px 15px; -} - -#available-menu-items .menu-item-tpl { - margin: 0; -} - -#custom-menu-item-name.invalid, -#custom-menu-item-url.invalid, -.edit-menu-item-url.invalid, -.menu-name-field.invalid, -.menu-name-field.invalid:focus, -#available-menu-items .new-content-item .create-item-input.invalid, -#available-menu-items .new-content-item .create-item-input.invalid:focus { - border: 1px solid #d63638; -} - -#available-menu-items .menu-item-handle .item-type { - padding-right: 0; -} - -#available-menu-items .menu-item-handle .item-title { - padding-left: 20px; -} - -#available-menu-items .menu-item-handle { - cursor: pointer; -} - -#available-menu-items .menu-item-handle { - box-shadow: none; - margin-top: -1px; -} - -#available-menu-items .menu-item-handle:hover { - z-index: 1; -} - -#available-menu-items .item-title h4 { - padding: 0 0 5px; - font-size: 14px; -} - -#available-menu-items .item-add { - position: absolute; - top: 1px; - left: 1px; - color: #8c8f94; - width: 30px; - height: 38px; - box-shadow: none; - outline: none; - cursor: pointer; - text-align: center; -} - -#available-menu-items .menu-item-handle .item-add:focus { - color: #1d2327; -} - -#available-menu-items .item-add:before { - content: "\f543"; - position: relative; - left: 2px; - top: 3px; - display: inline-block; - height: 20px; - border-radius: 50%; - font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */ -} - -#available-menu-items .menu-item-handle.item-added .item-type, -#available-menu-items .menu-item-handle.item-added .item-title, -#available-menu-items .menu-item-handle.item-added:hover .item-add, -#available-menu-items .menu-item-handle.item-added .item-add:focus { - color: #8c8f94; -} - -#available-menu-items .menu-item-handle.item-added .item-add:before { - content: "\f147"; -} - -#available-menu-items .accordion-section-title.loading .spinner, -#available-menu-items-search.loading .accordion-section-title .spinner { - visibility: visible; - margin: 0 20px; -} - -#available-menu-items-search .spinner { - position: absolute; - top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */ - right: 21px; - margin: 0 !important; -} - -/* search results list */ -#available-menu-items #available-menu-items-search .accordion-section-content { - position: absolute; - left: 0; - top: 60px; /* below title div / search input */ - bottom: 0; /* 100% height that still triggers lazy load */ - max-height: none; - width: 100%; - padding: 1px 15px 15px; - box-sizing: border-box; -} - -#available-menu-items-search .nothing-found { - /* Compensate the 1px top padding of the container. */ - margin-top: -1px; -} - -#available-menu-items-search .accordion-section-title:after { - display: none; -} - -#available-menu-items-search .accordion-section-content:empty { - min-height: 0; - padding: 0; -} - -#available-menu-items-search.loading .accordion-section-content div { - opacity: .5; -} - -#available-menu-items-search.loading.loading-more .accordion-section-content div { - opacity: 1; -} - -#customize-preview { - transition: all 0.2s; -} - -body.adding-menu-items #available-menu-items { - left: 0; - visibility: visible; -} - -body.adding-menu-items .wp-full-overlay-main { - left: 300px; -} - -body.adding-menu-items #customize-preview { - opacity: 0.4; -} - -body.adding-menu-items #customize-preview iframe { - pointer-events: none; -} - -.menu-item-handle .spinner { - display: none; - float: left; - margin: 0 8px 0 0; -} - -.nav-menu-inserted-item-loading .spinner { - display: block; -} - -.nav-menu-inserted-item-loading .menu-item-handle .item-type { - padding: 0 0 0 8px; -} - -.nav-menu-inserted-item-loading .menu-item-handle, -.added-menu-item .menu-item-handle.loading { - padding: 10px 15px 10px 8px; - cursor: default; - opacity: .5; - background: #fff; - color: #787c82; -} - -.added-menu-item .menu-item-handle { - transition-property: opacity, background, color; - transition-duration: 1.25s; - transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */ -} - -/* Add/delete Menus */ - -#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title { - border-bottom-color: #dcdcde; -} - -/* @todo update selector */ -#accordion-section-add_menu { - margin: 15px 12px; -} - -#accordion-section-add_menu h3 { - text-align: right; -} - -#accordion-section-add_menu h3, -#accordion-section-add_menu .customize-add-menu-button { - margin: 0; -} - -#accordion-section-add_menu .customize-add-menu-button { - font-weight: 400; -} - -#create-new-menu-submit { - float: right; - margin: 0 0 12px; -} - -.menu-delete-item { - float: left; - padding: 1em 0; - width: 100%; -} - -.assigned-menu-locations-title p { - margin: 0 0 8px; -} - -li.assigned-to-menu-location .menu-delete-item { - display: none; -} - -li.assigned-to-menu-location .add-new-menu-item { - margin-bottom: 1em; -} - -.menu-item-handle { - margin-top: -1px; -} -.ui-sortable-disabled .menu-item-handle { - cursor: default; -} - -.menu-item-handle:hover { - position: relative; - z-index: 10; - color: #2271b1; -} - -.menu-item-handle:hover .item-type, -.menu-item-handle:hover .item-edit, -#available-menu-items .menu-item-handle:hover .item-add { - color: #2271b1; -} - -.menu-item-edit-active .menu-item-handle { - border-color: #8c8f94; - border-bottom: none; -} - -.customize-control-nav_menu_item { - margin-bottom: 0; -} - -.customize-control-nav_menu .new-menu-item-invitation { - margin-top: 0; - margin-bottom: 0; -} - -.customize-control-nav_menu .customize-control-nav_menu-buttons { - margin-top: 12px; -} - -/** - * box-shadows - */ - -.wp-customizer .menu-item .submitbox .submitdelete:focus, -.customize-screen-options-toggle:focus:before, -#customize-controls .customize-info .customize-help-toggle:focus:before, -.wp-customizer button:focus .toggle-indicator:before, -.menu-delete:focus, -.menu-item-bar .item-delete:focus:before, -#available-menu-items .item-add:focus:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - - -@media screen and (max-width: 782px) { - #available-menu-items #available-menu-items-search .accordion-section-content { - top: 63px; - } -} - -@media screen and (max-width: 640px) { - #available-menu-items #available-menu-items-search .accordion-section-content { - top: 130px; - } -} diff --git a/build/wp-admin/css/customize-nav-menus.min.css b/build/wp-admin/css/customize-nav-menus.min.css deleted file mode 100644 index 613dca605b..0000000000 --- a/build/wp-admin/css/customize-nav-menus.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#customize-theme-controls #accordion-section-menu_locations{position:relative;margin-top:30px}#customize-theme-controls #accordion-section-menu_locations>.accordion-section-title{border-bottom-color:#dcdcde;margin-top:15px}#customize-theme-controls .customize-section-title-menu_locations-description,#customize-theme-controls .customize-section-title-menu_locations-heading,#customize-theme-controls .customize-section-title-nav_menus-heading{padding:0 12px}#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description{font-style:normal}.menu-in-location,.menu-in-locations{display:block;font-weight:600;font-size:10px}#customize-controls .control-section .accordion-section-title:focus .menu-in-location,#customize-controls .control-section .accordion-section-title:hover .menu-in-location,#customize-controls .theme-location-set{color:#50575e}.customize-control-nav_menu_location .create-menu,.customize-control-nav_menu_location .edit-menu{margin-left:6px;vertical-align:middle;line-height:2.2}#customize-controls .customize-control-nav_menu_name{margin-bottom:12px}.customize-control-nav_menu_name p:last-of-type{margin-bottom:0}#customize-new-menu-submit{float:right;min-width:85px}.wp-customizer .menu-item-bar .menu-item-handle,.wp-customizer .menu-item-settings,.wp-customizer .menu-item-settings .description-thin{box-sizing:border-box}.wp-customizer .menu-item-bar{margin:0}.wp-customizer .menu-item-bar .menu-item-handle{width:100%;max-width:100%;background:#fff}.wp-customizer .menu-item-handle .item-title{margin-right:0}.wp-customizer .menu-item-handle .item-type{padding:1px 21px 0 5px;float:right;text-align:right}.wp-customizer .menu-item-handle:hover{z-index:8}.customize-control-nav_menu_item.has-notifications .menu-item-handle{border-left:4px solid #72aee6}.wp-customizer .menu-item-settings{max-width:100%;overflow:hidden;z-index:8;padding:10px;background:#f0f0f1;border:1px solid #8c8f94;border-top:none}.wp-customizer .menu-item-settings .description-thin{width:100%;height:auto;margin:0 0 8px}.wp-customizer .menu-item-settings input[type=text]{width:100%}.wp-customizer .menu-item-settings .submitbox{margin:0;padding:0}.wp-customizer .menu-item-settings .link-to-original{padding:5px 0;border:none;font-style:normal;margin:0;width:100%}.wp-customizer .menu-item .submitbox .submitdelete{float:left;margin:6px 0 0;padding:0;cursor:pointer}.menu-item-reorder-nav{display:none;background-color:#fff;position:absolute;top:0;right:0}.menus-move-left:before{content:"\f341"}.menus-move-right:before{content:"\f345"}.reordering .menu-item .item-controls,.reordering .menu-item .item-type{display:none}.reordering .menu-item-reorder-nav{display:block}.customize-control input.menu-name-field{width:100%}.wp-customizer .menu-item .item-edit{position:absolute;right:-19px;top:2px;display:block;width:30px;height:38px;margin-right:0!important;box-shadow:none;outline:0;overflow:hidden;cursor:pointer;text-align:center}.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before{content:"\f142"}.wp-customizer .menu-item-settings p.description{font-style:normal}.wp-customizer .menu-settings dl{margin:12px 0 0;padding:0}.wp-customizer .menu-settings .checkbox-input{margin-top:8px}.wp-customizer .menu-settings .menu-theme-locations{border-top:1px solid #c3c4c7}.wp-customizer .menu-settings{margin-top:36px;border-top:none}.wp-customizer .menu-location-settings{margin-top:12px;border-top:none}.wp-customizer .control-section-nav_menu .menu-location-settings{margin-top:24px;border-top:1px solid #dcdcde}.customize-control-nav_menu_auto_add,.wp-customizer .control-section-nav_menu .menu-location-settings{padding-top:12px}.menu-location-settings .customize-control-checkbox .theme-location-set{line-height:1}.customize-control-nav_menu_auto_add label{vertical-align:top}.menu-location-settings .new-menu-locations-widget-note{display:block}.customize-control-menu{margin-top:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle{color:#50575e}.customize-screen-options-toggle{background:0 0;border:none;color:#50575e;cursor:pointer;margin:0;padding:20px;position:absolute;right:0;top:30px}#customize-controls .customize-info .customize-help-toggle{padding:20px}#customize-controls .customize-info .customize-help-toggle:before{padding:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#2271b1}#customize-controls .customize-info .customize-help-toggle:focus,.customize-screen-options-toggle:focus{outline:1px solid transparent}.customize-screen-options-toggle:before{-moz-osx-font-smoothing:grayscale;border:none;content:"\f111";display:block;font:18px/1 dashicons;padding:5px;text-align:center;text-decoration:none!important;text-indent:0;left:6px;position:absolute;top:6px}#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before{border-radius:100%}.wp-customizer #screen-options-wrap{display:none;background:#fff;border-top:1px solid #dcdcde;padding:4px 15px 15px}.wp-customizer .metabox-prefs label{display:block;padding-right:0;line-height:30px}.wp-customizer .toggle-indicator{display:inline-block;font-size:20px;line-height:1}.rtl .wp-customizer .toggle-indicator{text-indent:1px}#available-menu-items .accordion-section-title .toggle-indicator:before,.wp-customizer .menu-item .item-edit .toggle-indicator:before{content:"\f140";display:block;padding:1px 2px 1px 0;speak:never;border-radius:50%;color:#787c82;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.control-section-nav_menu .field-css-classes,.control-section-nav_menu .field-description,.control-section-nav_menu .field-link-target,.control-section-nav_menu .field-title-attribute,.control-section-nav_menu .field-xfn{display:none}.control-section-nav_menu.field-css-classes-active .field-css-classes,.control-section-nav_menu.field-description-active .field-description,.control-section-nav_menu.field-link-target-active .field-link-target,.control-section-nav_menu.field-title-attribute-active .field-title-attribute,.control-section-nav_menu.field-xfn-active .field-xfn{display:block}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:20px}.menu-item-depth-2{margin-left:40px}.menu-item-depth-3{margin-left:60px}.menu-item-depth-4{margin-left:80px}.menu-item-depth-5{margin-left:100px}.menu-item-depth-6{margin-left:120px}.menu-item-depth-7{margin-left:140px}.menu-item-depth-8{margin-left:160px}.menu-item-depth-9{margin-left:180px}.menu-item-depth-10{margin-left:200px}.menu-item-depth-11{margin-left:220px}.menu-item-depth-0>.menu-item-bar{margin-right:0}.menu-item-depth-1>.menu-item-bar{margin-right:20px}.menu-item-depth-2>.menu-item-bar{margin-right:40px}.menu-item-depth-3>.menu-item-bar{margin-right:60px}.menu-item-depth-4>.menu-item-bar{margin-right:80px}.menu-item-depth-5>.menu-item-bar{margin-right:100px}.menu-item-depth-6>.menu-item-bar{margin-right:120px}.menu-item-depth-7>.menu-item-bar{margin-right:140px}.menu-item-depth-8>.menu-item-bar{margin-right:160px}.menu-item-depth-9>.menu-item-bar{margin-right:180px}.menu-item-depth-10>.menu-item-bar{margin-right:200px}.menu-item-depth-11>.menu-item-bar{margin-right:220px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-20px}.menu-item-depth-3 .menu-item-transport{margin-left:-60px}.menu-item-depth-4 .menu-item-transport{margin-left:-80px}.menu-item-depth-2 .menu-item-transport{margin-left:-40px}.menu-item-depth-5 .menu-item-transport{margin-left:-100px}.menu-item-depth-6 .menu-item-transport{margin-left:-120px}.menu-item-depth-7 .menu-item-transport{margin-left:-140px}.menu-item-depth-8 .menu-item-transport{margin-left:-160px}.menu-item-depth-9 .menu-item-transport{margin-left:-180px}.menu-item-depth-10 .menu-item-transport{margin-left:-200px}.menu-item-depth-11 .menu-item-transport{margin-left:-220px}.reordering .menu-item-depth-0{margin-left:0}.reordering .menu-item-depth-1{margin-left:15px}.reordering .menu-item-depth-2{margin-left:30px}.reordering .menu-item-depth-3{margin-left:45px}.reordering .menu-item-depth-4{margin-left:60px}.reordering .menu-item-depth-5{margin-left:75px}.reordering .menu-item-depth-6{margin-left:90px}.reordering .menu-item-depth-7{margin-left:105px}.reordering .menu-item-depth-8{margin-left:120px}.reordering .menu-item-depth-9{margin-left:135px}.reordering .menu-item-depth-10{margin-left:150px}.reordering .menu-item-depth-11{margin-left:165px}.reordering .menu-item-depth-0>.menu-item-bar{margin-right:0}.reordering .menu-item-depth-1>.menu-item-bar{margin-right:15px}.reordering .menu-item-depth-2>.menu-item-bar{margin-right:30px}.reordering .menu-item-depth-3>.menu-item-bar{margin-right:45px}.reordering .menu-item-depth-4>.menu-item-bar{margin-right:60px}.reordering .menu-item-depth-5>.menu-item-bar{margin-right:75px}.reordering .menu-item-depth-6>.menu-item-bar{margin-right:90px}.reordering .menu-item-depth-7>.menu-item-bar{margin-right:105px}.reordering .menu-item-depth-8>.menu-item-bar{margin-right:120px}.reordering .menu-item-depth-9>.menu-item-bar{margin-right:135px}.reordering .menu-item-depth-10>.menu-item-bar{margin-right:150px}.reordering .menu-item-depth-11>.menu-item-bar{margin-right:165px}.control-section-nav_menu.menu .menu-item-edit-active{margin-left:0}.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar{margin-right:0}.control-section-nav_menu.menu .sortable-placeholder{margin-top:0;margin-bottom:1px;max-width:calc(100% - 2px);float:left;display:list-item;border-color:#a7aaad}.menu-item-transport li.customize-control{float:none}.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar{margin-top:0}.adding-menu-items .control-section{opacity:.4}.adding-menu-items .control-panel.control-section,.adding-menu-items .control-section.open{opacity:1}.menu-item-bar .item-delete{color:#d63638;position:absolute;top:2px;right:-19px;width:30px;height:38px;cursor:pointer;display:none}.menu-item-bar .item-delete:before{content:"\f335";position:absolute;top:9px;left:5px;border-radius:50%;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-bar .item-delete:focus,.menu-item-bar .item-delete:hover{box-shadow:none;outline:0;color:#d63638}.adding-menu-items .menu-item-bar .item-edit{display:none}.adding-menu-items .menu-item-bar .item-delete{display:block}#available-menu-items.opening{overflow-y:hidden}#available-menu-items #available-menu-items-search.open{height:100%;border-bottom:none}#available-menu-items .accordion-section-title{border-left:none;border-right:none;background:#fff;transition:background-color .15s;-webkit-user-select:auto;user-select:auto}#available-menu-items #available-menu-items-search .accordion-section-title,#available-menu-items .open .accordion-section-title{background:#f0f0f1}#available-menu-items .accordion-section-title:after{content:none!important}#available-menu-items .accordion-section-title:hover .toggle-indicator:before,#available-menu-items .button-link:focus .toggle-indicator:before,#available-menu-items .button-link:hover .toggle-indicator:before{color:#1d2327}#available-menu-items .open .accordion-section-title .toggle-indicator:before{content:"\f142";color:#1d2327}#available-menu-items .available-menu-items-list{overflow-y:auto;max-height:200px;background:0 0}#available-menu-items .accordion-section-title button{display:block;width:28px;height:35px;position:absolute;top:5px;right:5px;box-shadow:none;outline:0;cursor:pointer;text-align:center}#available-menu-items .accordion-section-title .no-items,#available-menu-items .cannot-expand .accordion-section-title .spinner,#available-menu-items .cannot-expand .accordion-section-title>button{display:none}#available-menu-items-search.cannot-expand .accordion-section-title .spinner{display:block}#available-menu-items .cannot-expand .accordion-section-title .no-items{float:right;color:#50575e;font-weight:400;margin-left:5px}#available-menu-items .accordion-section-content{max-height:290px;margin:0;padding:0;position:relative;background:0 0}#available-menu-items .accordion-section-content .available-menu-items-list{margin:0 0 45px;padding:1px 15px 15px}#available-menu-items .accordion-section-content .available-menu-items-list:only-child{margin-bottom:0}#new-custom-menu-item .accordion-section-content{padding:0 15px 15px}#available-menu-items .menu-item-tpl{margin:0}#available-menu-items .new-content-item .create-item-input.invalid,#available-menu-items .new-content-item .create-item-input.invalid:focus,#custom-menu-item-name.invalid,#custom-menu-item-url.invalid,.edit-menu-item-url.invalid,.menu-name-field.invalid,.menu-name-field.invalid:focus{border:1px solid #d63638}#available-menu-items .menu-item-handle .item-type{padding-right:0}#available-menu-items .menu-item-handle .item-title{padding-left:20px}#available-menu-items .menu-item-handle{cursor:pointer}#available-menu-items .menu-item-handle{box-shadow:none;margin-top:-1px}#available-menu-items .menu-item-handle:hover{z-index:1}#available-menu-items .item-title h4{padding:0 0 5px;font-size:14px}#available-menu-items .item-add{position:absolute;top:1px;left:1px;color:#8c8f94;width:30px;height:38px;box-shadow:none;outline:0;cursor:pointer;text-align:center}#available-menu-items .menu-item-handle .item-add:focus{color:#1d2327}#available-menu-items .item-add:before{content:"\f543";position:relative;left:2px;top:3px;display:inline-block;height:20px;border-radius:50%;font:normal 20px/1.05 dashicons}#available-menu-items .menu-item-handle.item-added .item-add:focus,#available-menu-items .menu-item-handle.item-added .item-title,#available-menu-items .menu-item-handle.item-added .item-type,#available-menu-items .menu-item-handle.item-added:hover .item-add{color:#8c8f94}#available-menu-items .menu-item-handle.item-added .item-add:before{content:"\f147"}#available-menu-items .accordion-section-title.loading .spinner,#available-menu-items-search.loading .accordion-section-title .spinner{visibility:visible;margin:0 20px}#available-menu-items-search .spinner{position:absolute;top:20px;right:21px;margin:0!important}#available-menu-items #available-menu-items-search .accordion-section-content{position:absolute;left:0;top:60px;bottom:0;max-height:none;width:100%;padding:1px 15px 15px;box-sizing:border-box}#available-menu-items-search .nothing-found{margin-top:-1px}#available-menu-items-search .accordion-section-title:after{display:none}#available-menu-items-search .accordion-section-content:empty{min-height:0;padding:0}#available-menu-items-search.loading .accordion-section-content div{opacity:.5}#available-menu-items-search.loading.loading-more .accordion-section-content div{opacity:1}#customize-preview{transition:all .2s}body.adding-menu-items #available-menu-items{left:0;visibility:visible}body.adding-menu-items .wp-full-overlay-main{left:300px}body.adding-menu-items #customize-preview{opacity:.4}body.adding-menu-items #customize-preview iframe{pointer-events:none}.menu-item-handle .spinner{display:none;float:left;margin:0 8px 0 0}.nav-menu-inserted-item-loading .spinner{display:block}.nav-menu-inserted-item-loading .menu-item-handle .item-type{padding:0 0 0 8px}.added-menu-item .menu-item-handle.loading,.nav-menu-inserted-item-loading .menu-item-handle{padding:10px 15px 10px 8px;cursor:default;opacity:.5;background:#fff;color:#787c82}.added-menu-item .menu-item-handle{transition-property:opacity,background,color;transition-duration:1.25s;transition-timing-function:cubic-bezier(.25,-2.5,.75,8)}#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title{border-bottom-color:#dcdcde}#accordion-section-add_menu{margin:15px 12px}#accordion-section-add_menu h3{text-align:right}#accordion-section-add_menu .customize-add-menu-button,#accordion-section-add_menu h3{margin:0}#accordion-section-add_menu .customize-add-menu-button{font-weight:400}#create-new-menu-submit{float:right;margin:0 0 12px}.menu-delete-item{float:left;padding:1em 0;width:100%}.assigned-menu-locations-title p{margin:0 0 8px}li.assigned-to-menu-location .menu-delete-item{display:none}li.assigned-to-menu-location .add-new-menu-item{margin-bottom:1em}.menu-item-handle{margin-top:-1px}.ui-sortable-disabled .menu-item-handle{cursor:default}.menu-item-handle:hover{position:relative;z-index:10;color:#2271b1}#available-menu-items .menu-item-handle:hover .item-add,.menu-item-handle:hover .item-edit,.menu-item-handle:hover .item-type{color:#2271b1}.menu-item-edit-active .menu-item-handle{border-color:#8c8f94;border-bottom:none}.customize-control-nav_menu_item{margin-bottom:0}.customize-control-nav_menu .new-menu-item-invitation{margin-top:0;margin-bottom:0}.customize-control-nav_menu .customize-control-nav_menu-buttons{margin-top:12px}#available-menu-items .item-add:focus:before,#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before,.menu-delete:focus,.menu-item-bar .item-delete:focus:before,.wp-customizer .menu-item .submitbox .submitdelete:focus,.wp-customizer button:focus .toggle-indicator:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}@media screen and (max-width:782px){#available-menu-items #available-menu-items-search .accordion-section-content{top:63px}}@media screen and (max-width:640px){#available-menu-items #available-menu-items-search .accordion-section-content{top:130px}} \ No newline at end of file diff --git a/build/wp-admin/css/customize-widgets-rtl.css b/build/wp-admin/css/customize-widgets-rtl.css deleted file mode 100644 index baec34a146..0000000000 --- a/build/wp-admin/css/customize-widgets-rtl.css +++ /dev/null @@ -1,479 +0,0 @@ -/*! This file is auto-generated */ -.wp-full-overlay-sidebar { - overflow: visible; -} - -/** - * Hide all sidebar sections by default, only show them (via JS) once the - * preview loads and we know whether the sidebars are used in the template. - */ - -.control-section.control-section-sidebar, -.customize-control-sidebar_widgets label, -.customize-control-sidebar_widgets .hide-if-js { - /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */ - display: none; -} - -.control-section.control-section-sidebar .accordion-section-content.ui-sortable { - overflow: visible; -} - -/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */ -.customize-control-widget_form .widget-top { - background: #fff; - transition: opacity 0.5s; -} - -.customize-control .widget-action { - color: #787c82; -} - -.customize-control .widget-top:hover .widget-action, -.customize-control .widget-action:focus { - color: #1d2327; -} - -.customize-control-widget_form:not(.widget-rendered) .widget-top { - opacity: 0.5; -} - -.customize-control-widget_form .widget-control-save { - display: none; -} - -.customize-control-widget_form .spinner { - visibility: hidden; - margin-top: 0; -} - -.customize-control-widget_form.previewer-loading .spinner { - visibility: visible; -} - -.customize-control-widget_form.widget-form-disabled .widget-content { - opacity: 0.7; - pointer-events: none; - -webkit-user-select: none; - user-select: none; -} - -.customize-control-widget_form .widget { - margin-bottom: 0; -} - -.customize-control-widget_form.wide-widget-control .widget-inside { - position: fixed; - right: 299px; - top: 25%; - border: 1px solid #dcdcde; - overflow: auto; -} -.customize-control-widget_form.wide-widget-control .widget-inside > .form { - padding: 20px; -} - -.customize-control-widget_form.wide-widget-control .widget-top { - transition: background-color 0.4s; -} -.customize-control-widget_form.wide-widget-control.expanding .widget-top, -.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top { - background-color: #dcdcde; -} - -.widget-inside { - padding: 1px 10px 10px; - border-top: none; - line-height: 1.23076923; -} - -.customize-control-widget_form.expanded .widget-action .toggle-indicator:before { - content: "\f142"; -} - -.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before { - content: "\f141"; -} - -.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before { - content: "\f139"; -} - -.widget-title-action { - cursor: pointer; -} - -.widget-top, -.customize-control-widget_form .widget .customize-control-title { - cursor: move; -} - -.control-section.accordion-section.highlighted > .accordion-section-title, -.customize-control-widget_form.highlighted { - outline: none; - box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); - position: relative; - z-index: 1; -} - -#widget-customizer-control-templates { - display: none; -} - -/** - * Widget reordering styles - */ - -#customize-theme-controls .widget-reorder-nav { - display: none; - float: left; - background-color: #f6f7f7; -} - -.move-widget:before { - content: "\f504"; -} - -#customize-theme-controls .move-widget-area { - display: none; - background: #fff; - border: 1px solid #c3c4c7; - border-top: none; - cursor: auto; -} - -#customize-theme-controls .reordering .move-widget-area.active { - display: block; -} - -#customize-theme-controls .move-widget-area .description { - margin: 0; - padding: 15px 20px; - font-weight: 400; -} - -#customize-theme-controls .widget-area-select { - margin: 0; - padding: 0; - list-style: none; -} - -#customize-theme-controls .widget-area-select li { - position: relative; - margin: 0; - padding: 13px 42px 15px 15px; - color: #50575e; - border-top: 1px solid #c3c4c7; - cursor: pointer; - -webkit-user-select: none; - user-select: none; -} - -#customize-theme-controls .widget-area-select li:before { - display: none; - content: "\f147"; - position: absolute; - top: 12px; - right: 10px; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#customize-theme-controls .widget-area-select li:last-child { - border-bottom: 1px solid #c3c4c7; -} - -#customize-theme-controls .widget-area-select .selected { - color: #fff; - background: #2271b1; -} - -#customize-theme-controls .widget-area-select .selected:before { - display: block; -} - -#customize-theme-controls .move-widget-actions { - text-align: left; - padding: 12px; -} - -#customize-theme-controls .reordering .widget-title-action { - display: none; -} - -#customize-theme-controls .reordering .widget-reorder-nav { - display: block; -} - -/* Text Widget */ -.wp-customizer div.mce-inline-toolbar-grp, -.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 */ -} - -/** - * Styles for new widget addition panel - */ - -/* override widgets admin page rules in wp-admin/css/widgets.css */ -#widgets-left #available-widgets .widget { - float: none !important; - width: auto !important; -} - -/* Keep rule that is no longer necessary on widgets.php. */ -#available-widgets .widget-action { - display: none; -} - -.ios #available-widgets { - transition: right 0s; -} - -#available-widgets .widget-tpl:hover, -#available-widgets .widget-tpl.selected { - background: #f6f7f7; - border-bottom-color: #c3c4c7; - color: #2271b1; - border-right: 4px solid #2271b1; -} - -#customize-controls .widget-title h3 { - font-size: 1em; -} - -#available-widgets .widget-title h3 { - padding: 0 0 5px; - font-size: 14px; -} - -#available-widgets .widget .widget-description { - padding: 0; - color: #646970; -} - -#customize-preview { - transition: all 0.2s; -} - -body.adding-widget #available-widgets { - right: 0; - visibility: visible; -} - -body.adding-widget .wp-full-overlay-main { - right: 300px; -} - -body.adding-widget #customize-preview { - opacity: 0.4; -} - - -/** - * 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"; - position: absolute; - top: -3px; - left: 100%; - margin-left: 20px; - width: 20px; - height: 20px; - color: #2c3338; - font: normal 20px/1 dashicons; - text-align: center; - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* dashicons-smiley */ -#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; } - -/* dashicons-star-filled */ -#available-widgets [class*="super"] .widget-title:before, -#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; } - -/* dashicons-wordpress */ -#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; } - -/* dashicons-archive */ -#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; } - -/* dashicons-category */ -#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; } - -/* dashicons-admin-comments */ -#available-widgets [class*="comment"] .widget-title:before, -#available-widgets [class*="testimonial"] .widget-title:before, -#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; } - -/* dashicons-admin-post */ -#available-widgets [class*="post"] .widget-title:before { content: "\f109"; } - -/* dashicons-admin-page */ -#available-widgets [class*="page"] .widget-title:before { content: "\f105"; } - -/* dashicons-text */ -#available-widgets [class*="text"] .widget-title:before { content: "\f478"; } - -/* dashicons-admin-links */ -#available-widgets [class*="link"] .widget-title:before { content: "\f103"; } - -/* dashicons-search */ -#available-widgets [class*="search"] .widget-title:before { content: "\f179"; } - -/* dashicons-menu */ -#available-widgets [class*="menu"] .widget-title:before, -#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; } - -/* dashicons-tagcloud */ -#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; } - -/* dashicons-rss */ -#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; } - -/* dashicons-calendar */ -#available-widgets [class*="event"] .widget-title:before, -#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;} - -/* dashicons-format-image */ -#available-widgets [class*="image"] .widget-title:before, -#available-widgets [class*="photo"] .widget-title:before, -#available-widgets [class*="slide"] .widget-title:before, -#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; } - -/* dashicons-format-gallery */ -#available-widgets [class*="album"] .widget-title:before, -#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; } - -/* dashicons-format-video */ -#available-widgets [class*="video"] .widget-title:before, -#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; } - -/* dashicons-format-audio */ -#available-widgets [class*="music"] .widget-title:before, -#available-widgets [class*="radio"] .widget-title:before, -#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; } - -/* dashicons-admin-users */ -#available-widgets [class*="login"] .widget-title:before, -#available-widgets [class*="user"] .widget-title:before, -#available-widgets [class*="member"] .widget-title:before, -#available-widgets [class*="avatar"] .widget-title:before, -#available-widgets [class*="subscriber"] .widget-title:before, -#available-widgets [class*="profile"] .widget-title:before, -#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; } - -/* dashicons-cart */ -#available-widgets [class*="commerce"] .widget-title:before, -#available-widgets [class*="shop"] .widget-title:before, -#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; } - -/* dashicons-shield */ -#available-widgets [class*="secur"] .widget-title:before, -#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; } - -/* dashicons-chart-bar */ -#available-widgets [class*="analytic"] .widget-title:before, -#available-widgets [class*="stat"] .widget-title:before, -#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; } - -/* dashicons-feedback */ -#available-widgets [class*="form"] .widget-title:before { content: "\f175"; } - -/* dashicons-email-alt */ -#available-widgets [class*="subscribe"] .widget-title:before, -#available-widgets [class*="news"] .widget-title:before, -#available-widgets [class*="contact"] .widget-title:before, -#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; } - -/* dashicons-share */ -#available-widgets [class*="share"] .widget-title:before, -#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; } - -/* dashicons-translation */ -#available-widgets [class*="lang"] .widget-title:before, -#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; } - -/* dashicons-location-alt */ -#available-widgets [class*="locat"] .widget-title:before, -#available-widgets [class*="map"] .widget-title:before { content: "\f231"; } - -/* dashicons-download */ -#available-widgets [class*="download"] .widget-title:before { content: "\f316"; } - -/* dashicons-cloud */ -#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;} - -/* dashicons-facebook */ -#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; } - -/* dashicons-twitter */ -#available-widgets [class*="tweet"] .widget-title:before, -#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; } - -@media screen and (max-height: 700px) and (min-width: 981px) { - /* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */ - .customize-control-widget_form { - margin-bottom: 0; - } - - .widget-top { - box-shadow: none; - margin-top: -1px; - } - - .widget-top:hover { - position: relative; - z-index: 1; - } - - .last-widget { - margin-bottom: 15px; - } - - .widget-title h3 { - padding: 13px 15px; - } - - .widget-top .widget-action { - padding: 8px 10px; - } - - .widget-reorder-nav span { - height: 39px; - } - - .widget-reorder-nav span:before { - line-height: 39px; - } - - /* Compact the move widget areas. */ - #customize-theme-controls .widget-area-select li { - padding: 9px 42px 11px 15px; - } - - #customize-theme-controls .widget-area-select li:before { - top: 8px; - } -} diff --git a/build/wp-admin/css/customize-widgets-rtl.min.css b/build/wp-admin/css/customize-widgets-rtl.min.css deleted file mode 100644 index 255d2c854d..0000000000 --- a/build/wp-admin/css/customize-widgets-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.wp-full-overlay-sidebar{overflow:visible}.control-section.control-section-sidebar,.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label{display:none}.control-section.control-section-sidebar .accordion-section-content.ui-sortable{overflow:visible}.customize-control-widget_form .widget-top{background:#fff;transition:opacity .5s}.customize-control .widget-action{color:#787c82}.customize-control .widget-action:focus,.customize-control .widget-top:hover .widget-action{color:#1d2327}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .widget-control-save{display:none}.customize-control-widget_form .spinner{visibility:hidden;margin-top:0}.customize-control-widget_form.previewer-loading .spinner{visibility:visible}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-webkit-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;right:299px;top:25%;border:1px solid #dcdcde;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#dcdcde}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:1.23076923}.customize-control-widget_form.expanded .widget-action .toggle-indicator:before{content:"\f142"}.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before{content:"\f141"}.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before{content:"\f139"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title,.widget-top{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;box-shadow:0 0 2px rgba(79,148,212,.8);position:relative;z-index:1}#widget-customizer-control-templates{display:none}#customize-theme-controls .widget-reorder-nav{display:none;float:left;background-color:#f6f7f7}.move-widget:before{content:"\f504"}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #c3c4c7;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 42px 15px 15px;color:#50575e;border-top:1px solid #c3c4c7;cursor:pointer;-webkit-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:"\f147";position:absolute;top:12px;right:10px;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #c3c4c7}#customize-theme-controls .widget-area-select .selected{color:#fff;background:#2271b1}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:left;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-customizer div.mce-inline-toolbar-grp,.wp-customizer div.mce-tooltip{z-index:500100!important}.wp-customizer .ui-autocomplete.wplink-autocomplete{z-index:500110}.wp-customizer #wp-link-backdrop{z-index:500100}.wp-customizer #wp-link-wrap{z-index:500105}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets .widget-action{display:none}.ios #available-widgets{transition:right 0s}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#f6f7f7;border-bottom-color:#c3c4c7;color:#2271b1;border-right:4px solid #2271b1}#customize-controls .widget-title h3{font-size:1em}#available-widgets .widget-title h3{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#646970}#customize-preview{transition:all .2s}body.adding-widget #available-widgets{right:0;visibility:visible}body.adding-widget .wp-full-overlay-main{right:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{content:"\f132";position:absolute;top:-3px;left:100%;margin-left:20px;width:20px;height:20px;color:#2c3338;font:normal 20px/1 dashicons;text-align:center;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=like] .widget-title:before,#available-widgets [class*=super] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=chat] .widget-title:before,#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=calendar] .widget-title:before,#available-widgets [class*=event] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=tube] .widget-title:before,#available-widgets [class*=video] .widget-title:before{content:"\f126"}#available-widgets [class*=audio] .widget-title:before,#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before{content:"\f127"}#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before,#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=user] .widget-title:before{content:"\f110"}#available-widgets [class*=cart] .widget-title:before,#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=firewall] .widget-title:before,#available-widgets [class*=secur] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=poll] .widget-title:before,#available-widgets [class*=stat] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=subscribe] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=tweet] .widget-title:before,#available-widgets [class*=twitter] .widget-title:before{content:"\f301"}@media screen and (max-height:700px) and (min-width:981px){.customize-control-widget_form{margin-bottom:0}.widget-top{box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h3{padding:13px 15px}.widget-top .widget-action{padding:8px 10px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 42px 11px 15px}#customize-theme-controls .widget-area-select li:before{top:8px}} \ No newline at end of file diff --git a/build/wp-admin/css/customize-widgets.css b/build/wp-admin/css/customize-widgets.css deleted file mode 100644 index 3bd7a46b28..0000000000 --- a/build/wp-admin/css/customize-widgets.css +++ /dev/null @@ -1,478 +0,0 @@ -.wp-full-overlay-sidebar { - overflow: visible; -} - -/** - * Hide all sidebar sections by default, only show them (via JS) once the - * preview loads and we know whether the sidebars are used in the template. - */ - -.control-section.control-section-sidebar, -.customize-control-sidebar_widgets label, -.customize-control-sidebar_widgets .hide-if-js { - /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */ - display: none; -} - -.control-section.control-section-sidebar .accordion-section-content.ui-sortable { - overflow: visible; -} - -/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */ -.customize-control-widget_form .widget-top { - background: #fff; - transition: opacity 0.5s; -} - -.customize-control .widget-action { - color: #787c82; -} - -.customize-control .widget-top:hover .widget-action, -.customize-control .widget-action:focus { - color: #1d2327; -} - -.customize-control-widget_form:not(.widget-rendered) .widget-top { - opacity: 0.5; -} - -.customize-control-widget_form .widget-control-save { - display: none; -} - -.customize-control-widget_form .spinner { - visibility: hidden; - margin-top: 0; -} - -.customize-control-widget_form.previewer-loading .spinner { - visibility: visible; -} - -.customize-control-widget_form.widget-form-disabled .widget-content { - opacity: 0.7; - pointer-events: none; - -webkit-user-select: none; - user-select: none; -} - -.customize-control-widget_form .widget { - margin-bottom: 0; -} - -.customize-control-widget_form.wide-widget-control .widget-inside { - position: fixed; - left: 299px; - top: 25%; - border: 1px solid #dcdcde; - overflow: auto; -} -.customize-control-widget_form.wide-widget-control .widget-inside > .form { - padding: 20px; -} - -.customize-control-widget_form.wide-widget-control .widget-top { - transition: background-color 0.4s; -} -.customize-control-widget_form.wide-widget-control.expanding .widget-top, -.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top { - background-color: #dcdcde; -} - -.widget-inside { - padding: 1px 10px 10px; - border-top: none; - line-height: 1.23076923; -} - -.customize-control-widget_form.expanded .widget-action .toggle-indicator:before { - content: "\f142"; -} - -.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before { - content: "\f139"; -} - -.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before { - content: "\f141"; -} - -.widget-title-action { - cursor: pointer; -} - -.widget-top, -.customize-control-widget_form .widget .customize-control-title { - cursor: move; -} - -.control-section.accordion-section.highlighted > .accordion-section-title, -.customize-control-widget_form.highlighted { - outline: none; - box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); - position: relative; - z-index: 1; -} - -#widget-customizer-control-templates { - display: none; -} - -/** - * Widget reordering styles - */ - -#customize-theme-controls .widget-reorder-nav { - display: none; - float: right; - background-color: #f6f7f7; -} - -.move-widget:before { - content: "\f504"; -} - -#customize-theme-controls .move-widget-area { - display: none; - background: #fff; - border: 1px solid #c3c4c7; - border-top: none; - cursor: auto; -} - -#customize-theme-controls .reordering .move-widget-area.active { - display: block; -} - -#customize-theme-controls .move-widget-area .description { - margin: 0; - padding: 15px 20px; - font-weight: 400; -} - -#customize-theme-controls .widget-area-select { - margin: 0; - padding: 0; - list-style: none; -} - -#customize-theme-controls .widget-area-select li { - position: relative; - margin: 0; - padding: 13px 15px 15px 42px; - color: #50575e; - border-top: 1px solid #c3c4c7; - cursor: pointer; - -webkit-user-select: none; - user-select: none; -} - -#customize-theme-controls .widget-area-select li:before { - display: none; - content: "\f147"; - position: absolute; - top: 12px; - left: 10px; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#customize-theme-controls .widget-area-select li:last-child { - border-bottom: 1px solid #c3c4c7; -} - -#customize-theme-controls .widget-area-select .selected { - color: #fff; - background: #2271b1; -} - -#customize-theme-controls .widget-area-select .selected:before { - display: block; -} - -#customize-theme-controls .move-widget-actions { - text-align: right; - padding: 12px; -} - -#customize-theme-controls .reordering .widget-title-action { - display: none; -} - -#customize-theme-controls .reordering .widget-reorder-nav { - display: block; -} - -/* Text Widget */ -.wp-customizer div.mce-inline-toolbar-grp, -.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 */ -} - -/** - * Styles for new widget addition panel - */ - -/* override widgets admin page rules in wp-admin/css/widgets.css */ -#widgets-left #available-widgets .widget { - float: none !important; - width: auto !important; -} - -/* Keep rule that is no longer necessary on widgets.php. */ -#available-widgets .widget-action { - display: none; -} - -.ios #available-widgets { - transition: left 0s; -} - -#available-widgets .widget-tpl:hover, -#available-widgets .widget-tpl.selected { - background: #f6f7f7; - border-bottom-color: #c3c4c7; - color: #2271b1; - border-left: 4px solid #2271b1; -} - -#customize-controls .widget-title h3 { - font-size: 1em; -} - -#available-widgets .widget-title h3 { - padding: 0 0 5px; - font-size: 14px; -} - -#available-widgets .widget .widget-description { - padding: 0; - color: #646970; -} - -#customize-preview { - transition: all 0.2s; -} - -body.adding-widget #available-widgets { - left: 0; - visibility: visible; -} - -body.adding-widget .wp-full-overlay-main { - left: 300px; -} - -body.adding-widget #customize-preview { - opacity: 0.4; -} - - -/** - * 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"; - position: absolute; - top: -3px; - right: 100%; - margin-right: 20px; - width: 20px; - height: 20px; - color: #2c3338; - font: normal 20px/1 dashicons; - text-align: center; - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* dashicons-smiley */ -#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; } - -/* dashicons-star-filled */ -#available-widgets [class*="super"] .widget-title:before, -#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; } - -/* dashicons-wordpress */ -#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; } - -/* dashicons-archive */ -#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; } - -/* dashicons-category */ -#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; } - -/* dashicons-admin-comments */ -#available-widgets [class*="comment"] .widget-title:before, -#available-widgets [class*="testimonial"] .widget-title:before, -#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; } - -/* dashicons-admin-post */ -#available-widgets [class*="post"] .widget-title:before { content: "\f109"; } - -/* dashicons-admin-page */ -#available-widgets [class*="page"] .widget-title:before { content: "\f105"; } - -/* dashicons-text */ -#available-widgets [class*="text"] .widget-title:before { content: "\f478"; } - -/* dashicons-admin-links */ -#available-widgets [class*="link"] .widget-title:before { content: "\f103"; } - -/* dashicons-search */ -#available-widgets [class*="search"] .widget-title:before { content: "\f179"; } - -/* dashicons-menu */ -#available-widgets [class*="menu"] .widget-title:before, -#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; } - -/* dashicons-tagcloud */ -#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; } - -/* dashicons-rss */ -#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; } - -/* dashicons-calendar */ -#available-widgets [class*="event"] .widget-title:before, -#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;} - -/* dashicons-format-image */ -#available-widgets [class*="image"] .widget-title:before, -#available-widgets [class*="photo"] .widget-title:before, -#available-widgets [class*="slide"] .widget-title:before, -#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; } - -/* dashicons-format-gallery */ -#available-widgets [class*="album"] .widget-title:before, -#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; } - -/* dashicons-format-video */ -#available-widgets [class*="video"] .widget-title:before, -#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; } - -/* dashicons-format-audio */ -#available-widgets [class*="music"] .widget-title:before, -#available-widgets [class*="radio"] .widget-title:before, -#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; } - -/* dashicons-admin-users */ -#available-widgets [class*="login"] .widget-title:before, -#available-widgets [class*="user"] .widget-title:before, -#available-widgets [class*="member"] .widget-title:before, -#available-widgets [class*="avatar"] .widget-title:before, -#available-widgets [class*="subscriber"] .widget-title:before, -#available-widgets [class*="profile"] .widget-title:before, -#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; } - -/* dashicons-cart */ -#available-widgets [class*="commerce"] .widget-title:before, -#available-widgets [class*="shop"] .widget-title:before, -#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; } - -/* dashicons-shield */ -#available-widgets [class*="secur"] .widget-title:before, -#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; } - -/* dashicons-chart-bar */ -#available-widgets [class*="analytic"] .widget-title:before, -#available-widgets [class*="stat"] .widget-title:before, -#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; } - -/* dashicons-feedback */ -#available-widgets [class*="form"] .widget-title:before { content: "\f175"; } - -/* dashicons-email-alt */ -#available-widgets [class*="subscribe"] .widget-title:before, -#available-widgets [class*="news"] .widget-title:before, -#available-widgets [class*="contact"] .widget-title:before, -#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; } - -/* dashicons-share */ -#available-widgets [class*="share"] .widget-title:before, -#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; } - -/* dashicons-translation */ -#available-widgets [class*="lang"] .widget-title:before, -#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; } - -/* dashicons-location-alt */ -#available-widgets [class*="locat"] .widget-title:before, -#available-widgets [class*="map"] .widget-title:before { content: "\f231"; } - -/* dashicons-download */ -#available-widgets [class*="download"] .widget-title:before { content: "\f316"; } - -/* dashicons-cloud */ -#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;} - -/* dashicons-facebook */ -#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; } - -/* dashicons-twitter */ -#available-widgets [class*="tweet"] .widget-title:before, -#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; } - -@media screen and (max-height: 700px) and (min-width: 981px) { - /* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */ - .customize-control-widget_form { - margin-bottom: 0; - } - - .widget-top { - box-shadow: none; - margin-top: -1px; - } - - .widget-top:hover { - position: relative; - z-index: 1; - } - - .last-widget { - margin-bottom: 15px; - } - - .widget-title h3 { - padding: 13px 15px; - } - - .widget-top .widget-action { - padding: 8px 10px; - } - - .widget-reorder-nav span { - height: 39px; - } - - .widget-reorder-nav span:before { - line-height: 39px; - } - - /* Compact the move widget areas. */ - #customize-theme-controls .widget-area-select li { - padding: 9px 15px 11px 42px; - } - - #customize-theme-controls .widget-area-select li:before { - top: 8px; - } -} diff --git a/build/wp-admin/css/customize-widgets.min.css b/build/wp-admin/css/customize-widgets.min.css deleted file mode 100644 index 657e21dffe..0000000000 --- a/build/wp-admin/css/customize-widgets.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.wp-full-overlay-sidebar{overflow:visible}.control-section.control-section-sidebar,.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label{display:none}.control-section.control-section-sidebar .accordion-section-content.ui-sortable{overflow:visible}.customize-control-widget_form .widget-top{background:#fff;transition:opacity .5s}.customize-control .widget-action{color:#787c82}.customize-control .widget-action:focus,.customize-control .widget-top:hover .widget-action{color:#1d2327}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .widget-control-save{display:none}.customize-control-widget_form .spinner{visibility:hidden;margin-top:0}.customize-control-widget_form.previewer-loading .spinner{visibility:visible}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-webkit-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;left:299px;top:25%;border:1px solid #dcdcde;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#dcdcde}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:1.23076923}.customize-control-widget_form.expanded .widget-action .toggle-indicator:before{content:"\f142"}.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before{content:"\f139"}.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before{content:"\f141"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title,.widget-top{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;box-shadow:0 0 2px rgba(79,148,212,.8);position:relative;z-index:1}#widget-customizer-control-templates{display:none}#customize-theme-controls .widget-reorder-nav{display:none;float:right;background-color:#f6f7f7}.move-widget:before{content:"\f504"}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #c3c4c7;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 15px 15px 42px;color:#50575e;border-top:1px solid #c3c4c7;cursor:pointer;-webkit-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:"\f147";position:absolute;top:12px;left:10px;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #c3c4c7}#customize-theme-controls .widget-area-select .selected{color:#fff;background:#2271b1}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:right;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-customizer div.mce-inline-toolbar-grp,.wp-customizer div.mce-tooltip{z-index:500100!important}.wp-customizer .ui-autocomplete.wplink-autocomplete{z-index:500110}.wp-customizer #wp-link-backdrop{z-index:500100}.wp-customizer #wp-link-wrap{z-index:500105}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets .widget-action{display:none}.ios #available-widgets{transition:left 0s}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#f6f7f7;border-bottom-color:#c3c4c7;color:#2271b1;border-left:4px solid #2271b1}#customize-controls .widget-title h3{font-size:1em}#available-widgets .widget-title h3{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#646970}#customize-preview{transition:all .2s}body.adding-widget #available-widgets{left:0;visibility:visible}body.adding-widget .wp-full-overlay-main{left:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{content:"\f132";position:absolute;top:-3px;right:100%;margin-right:20px;width:20px;height:20px;color:#2c3338;font:normal 20px/1 dashicons;text-align:center;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=like] .widget-title:before,#available-widgets [class*=super] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=chat] .widget-title:before,#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=calendar] .widget-title:before,#available-widgets [class*=event] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=tube] .widget-title:before,#available-widgets [class*=video] .widget-title:before{content:"\f126"}#available-widgets [class*=audio] .widget-title:before,#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before{content:"\f127"}#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before,#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=user] .widget-title:before{content:"\f110"}#available-widgets [class*=cart] .widget-title:before,#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=firewall] .widget-title:before,#available-widgets [class*=secur] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=poll] .widget-title:before,#available-widgets [class*=stat] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=subscribe] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=tweet] .widget-title:before,#available-widgets [class*=twitter] .widget-title:before{content:"\f301"}@media screen and (max-height:700px) and (min-width:981px){.customize-control-widget_form{margin-bottom:0}.widget-top{box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h3{padding:13px 15px}.widget-top .widget-action{padding:8px 10px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 15px 11px 42px}#customize-theme-controls .widget-area-select li:before{top:8px}} \ No newline at end of file diff --git a/build/wp-admin/css/dashboard-rtl.css b/build/wp-admin/css/dashboard-rtl.css deleted file mode 100644 index 58fdf9f38a..0000000000 --- a/build/wp-admin/css/dashboard-rtl.css +++ /dev/null @@ -1,1492 +0,0 @@ -/*! This file is auto-generated */ -#wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; -} - -#wpbody-content #dashboard-widgets.columns-2 .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { - float: left; - width: 50.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 .postbox-container { - width: 33.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 { - width: 33%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 { - float: left; -} - -#wpbody-content #dashboard-widgets.columns-4 .postbox-container { - width: 25%; -} - -#dashboard-widgets .postbox-container { - width: 25%; -} - -#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container { - border: none !important; -} - -#dashboard-widgets-wrap { - overflow: hidden; - margin: 0 -8px; -} - -#dashboard-widgets .postbox .inside { - margin-bottom: 0; -} - -#dashboard-widgets .meta-box-sortables { - display: flow-root; /* avoid margin collapsing between parent and first/last child elements */ - /* Required min-height to make the jQuery UI Sortable drop zone work. */ - min-height: 100px; - margin: 0 8px 20px; -} - -#dashboard-widgets .postbox-container .empty-container { - outline: 3px dashed #c3c4c7; - height: 250px; -} - -/* Only highlight drop zones when dragging and only in the 2 columns layout. */ -.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { - outline: 3px dashed #646970; - /* Prevent margin on the child from collapsing with margin on the parent. */ - display: flow-root; -} - -#dashboard-widgets .postbox-container .empty-container:after { - content: attr(data-emptystring); - margin: auto; - position: absolute; - top: 50%; - right: 0; - left: 0; - transform: translateY( -50% ); - padding: 0 2em; - text-align: center; - color: #646970; - font-size: 16px; - line-height: 1.5; - display: none; -} - - -/* @todo: this was originally in this section, but likely belongs elsewhere */ -#the-comment-list td.comment p.comment-author { - margin-top: 0; - margin-right: 0; -} - -#the-comment-list p.comment-author img { - float: right; - margin-left: 8px; -} - -#the-comment-list p.comment-author strong a { - border: none; -} - -#the-comment-list td { - vertical-align: top; -} - -#the-comment-list td.comment { - word-wrap: break-word; -} - -#the-comment-list td.comment img { - max-width: 100%; -} - -/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */ -.index-php #screen-meta-links { - margin: 0 0 8px 20px; -} - -/* Welcome Panel */ -.welcome-panel { - position: relative; - overflow: auto; - margin: 16px 0; - background-color: #273fcc; - font-size: 14px; - line-height: 1.3; - clear: both; -} - -.welcome-panel h2 { - margin: 0; - font-size: 48px; - font-weight: 600; - line-height: 1.25; -} - -.welcome-panel h3 { - margin: 0; - font-size: 20px; - font-weight: 400; - line-height: 1.4; -} - -.welcome-panel p { - font-size: inherit; - line-height: inherit; -} - -.welcome-panel-header { - --about-header-bg-width: 780px; - - position: relative; - color: #fff; -} - -.welcome-panel-header-image { - position: absolute !important; - top: 0; - left: 0; - bottom: 0; - right: 0; - z-index: 0 !important; - overflow: hidden; -} - -.welcome-panel-header-image svg { - display: block; - margin: auto; - width: var(--about-header-bg-width); - height: auto; - transform: scale(0.75); - transform-origin: center top; -} - -.welcome-panel-header * { - color: inherit; - position: relative; - z-index: 1; -} - -.welcome-panel-header a:focus, -.welcome-panel-header a:hover { - color: inherit; - text-decoration: none; -} - -.welcome-panel-header a:focus, -.welcome-panel .welcome-panel-close:focus { - outline-color: currentColor; - outline-offset: 1px; - box-shadow: none; -} - -.welcome-panel-header p { - margin: 0.5em 0 0; - font-size: 20px; - line-height: 1.4; -} - -.welcome-panel .welcome-panel-close { - position: absolute; - top: 10px; - left: 10px; - padding: 10px 24px 10px 15px; - font-size: 13px; - line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */ - text-decoration: none; - z-index: 1; /* Raise above the version image. */ -} - -.welcome-panel .welcome-panel-close:before { - position: absolute; - top: 8px; - right: 0; - transition: all .1s ease-in-out; - content: '\f335'; - font-size: 24px; - color: #fff; -} - -.welcome-panel .welcome-panel-close { - color: #fff; -} - -.welcome-panel .welcome-panel-close:hover, -.welcome-panel .welcome-panel-close:focus, -.welcome-panel .welcome-panel-close:hover::before, -.welcome-panel .welcome-panel-close:focus::before { - color: #fff972; -} - -/* @deprecated 5.9.0 -- Button removed from panel. */ -.wp-core-ui .welcome-panel .button.button-hero { - margin: 15px 0 3px 13px; - padding: 12px 36px; - height: auto; - line-height: 1.4285714; - white-space: normal; -} - -.welcome-panel-content { - min-height: 400px; - display: flex; - flex-direction: column; - justify-content: space-between; -} - -.welcome-panel-header { - box-sizing: border-box; - margin-right: auto; - margin-left: auto; - max-width: 1500px; - width: 100%; - padding: 48px 48px 80px 0; -} - -.welcome-panel .welcome-panel-column-container { - box-sizing: border-box; - width: 100%; - clear: both; - display: grid; - z-index: 1; - padding: 48px; - grid-template-columns: repeat(3, 1fr); - gap: 32px; - align-self: flex-end; - background: #fff; -} - -[class*="welcome-panel-icon"] { - height: 60px; - width: 60px; - background-position: center; - background-size: 24px 24px; - background-repeat: no-repeat; - border-radius: 100%; -} - -.welcome-panel-column > svg { - margin-top: 4px; -} - -.welcome-panel-column { - display: grid; - grid-template-columns: min-content 1fr; - gap: 24px; -} - -.welcome-panel-icon-pages { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E"); -} - -.welcome-panel-icon-layout { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E"); -} - -.welcome-panel-icon-styles { - background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E"); -} - -/* @deprecated 5.9.0 -- Section removed from welcome panel. */ -.welcome-panel .welcome-widgets-menus { - line-height: 1.14285714; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel .welcome-panel-column ul { - margin: 0.8em 0 1em 1em; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel li { - font-size: 14px; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel li a { - text-decoration: none; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel .welcome-panel-column li { - line-height: 1.14285714; - list-style-type: none; - padding: 0 0 8px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-icon { - background: transparent !important; -} - -/* Welcome Panel and Right Now common Icons style */ - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-icon:before, -#dashboard_right_now li a:before, -#dashboard_right_now li span:before, -#dashboard_right_now .search-engines-info:before { - color: #646970; - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - padding: 0 0 0 10px; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - vertical-align: top; -} - -/* Welcome Panel specific Icons styles */ - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-write-blog:before, -.welcome-panel .welcome-edit-page:before { - content: "\f119"; - top: -3px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-add-page:before { - content: "\f132"; - top: -1px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-setup-home:before { - content: "\f102"; - top: -1px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-view-site:before { - content: "\f115"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-widgets-menus:before { - content: "\f116"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-widgets:before { - content: "\f538"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-menus:before { - content: "\f163"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-comments:before { - content: "\f117"; - top: -1px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-learn-more:before { - content: "\f118"; - top: -1px; -} - -/* Right Now specific Icons styles */ - -#dashboard_right_now .search-engines-info:before, -#dashboard_right_now li a:before, -#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */ - content: "\f159"; /* generic icon for items added by CPTs ? */ - padding: 0 0 0 5px; -} - -#dashboard_right_now .page-count a:before, -#dashboard_right_now .page-count span:before { - content: "\f105"; -} - -#dashboard_right_now .post-count a:before, -#dashboard_right_now .post-count span:before { - content: "\f109"; -} - -#dashboard_right_now .comment-count a:before { - content: "\f101"; -} - -#dashboard_right_now .comment-mod-count a:before { - content: "\f125"; -} - -#dashboard_right_now .storage-count a:before { - content: "\f104"; -} - -#dashboard_right_now .storage-count.warning a:before { - content: "\f153"; -} - -#dashboard_right_now .search-engines-info:before { - content: "\f348"; -} - -/* Dashboard WordPress events */ - -.community-events-errors { - margin: 0; -} - -.community-events-loading { - padding: 10px 12px 8px; -} - -.community-events { - margin-bottom: 6px; - padding: 0 12px; -} - -.community-events .spinner { - float: none; - margin: 5px 2px 0; - vertical-align: top; -} - -.community-events-errors[aria-hidden="true"], -.community-events-errors [aria-hidden="true"], -.community-events-loading[aria-hidden="true"], -.community-events[aria-hidden="true"], -.community-events form[aria-hidden="true"] { - display: none; -} - -.community-events .activity-block:first-child, -.community-events h2 { - padding-top: 12px; - padding-bottom: 10px; -} - -.community-events-form { - margin: 15px 0 5px; -} - -.community-events-form .regular-text { - width: 40%; - height: 29px; - margin: 0; - vertical-align: top; -} - -.community-events li.event-none { - border-right: 4px solid #72aee6; -} - -#dashboard-widgets .community-events li.event-none a { - text-decoration: underline; -} - -.community-events-form label { - display: inline-block; - vertical-align: top; - line-height: 2.15384615; - height: 28px; -} - -.community-events .activity-block > p { - margin-bottom: 0; - display: inline; -} - -.community-events-toggle-location { - vertical-align: middle; -} - -#community-events-submit { - margin-right: 3px; - margin-left: 3px; -} - -/* Needs higher specificity than #dashboard-widgets .button-link */ -#dashboard-widgets .community-events-cancel.button-link { - vertical-align: top; - /* Same properties as the submit button for cross-browsers alignment. */ - line-height: 2; - height: 28px; - text-decoration: underline; -} - -.community-events ul { - background-color: #f6f7f7; - padding-right: 0; - padding-left: 0; - padding-bottom: 0; -} - -.community-events li { - margin: 0; - padding: 8px 12px; - color: #2c3338; -} -.community-events li:first-child { - border-top: 1px solid #f0f0f1; -} - -.community-events li ~ li { - border-top: 1px solid #f0f0f1; -} - -.community-events .activity-block.last { - border-bottom: 1px solid #f0f0f1; - padding-top: 0; - margin-top: -1px; -} - -.community-events .event-info { - display: block; -} - -.event-icon { - height: 18px; - padding-left: 10px; - width: 18px; - display: none; /* Hide on smaller screens */ -} - -.event-icon:before { - color: #646970; - font-size: 18px; -} -.event-meetup .event-icon:before { - content: "\f484"; -} -.event-wordcamp .event-icon:before { - content: "\f486"; -} - -.community-events .event-title { - font-weight: 600; - display: block; -} - -.community-events .event-date, -.community-events .event-time { - display: block; -} - -.community-events-footer { - margin-top: 0; - margin-bottom: 0; - padding: 12px; - border-top: 1px solid #f0f0f1; - color: #dcdcde; -} - -/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */ -.community-events-footer .screen-reader-text { - height: inherit; - white-space: nowrap; -} - -/* Dashboard WordPress news */ - -#dashboard_primary .inside { - margin: 0; - padding: 0; -} - -#dashboard_primary .widget-loading { - padding: 12px 12px 0; - margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */ -} - -/* Notice when JS is off. */ -#dashboard_primary .inside .notice { - margin: 0; -} - -body #dashboard-widgets .postbox form .submit { - margin: 0; -} - -/* Used only for configurable widgets. */ -.dashboard-widget-control-form p { - margin-top: 0; -} - -.rssSummary { - color: #646970; - margin-top: 4px; -} - -#dashboard_primary .rss-widget { - font-size: 13px; - padding: 0 12px; -} - -#dashboard_primary .rss-widget:last-child { - border-bottom: none; - padding-bottom: 8px; -} - -#dashboard_primary .rss-widget a { - font-weight: 400; -} - -#dashboard_primary .rss-widget span, -#dashboard_primary .rss-widget span.rss-date { - color: #646970; -} - -#dashboard_primary .rss-widget span.rss-date { - margin-right: 12px; -} - -#dashboard_primary .rss-widget ul li { - padding: 4px 0; - margin: 0; -} - -/* Dashboard right now */ - -#dashboard_right_now ul { - margin: 0; - /* contain floats but don't use overflow: hidden */ - display: inline-block; - width: 100%; -} - -#dashboard_right_now li { - width: 50%; - float: right; - margin-bottom: 10px; -} - -#dashboard_right_now .inside { - padding: 0; -} - -#dashboard_right_now .main { - padding: 0 12px 11px; -} - -#dashboard_right_now .main p { - margin: 0; -} - -#dashboard_right_now #wp-version-message .button { - float: left; - position: relative; - top: -5px; - margin-right: 5px; -} - -#dashboard_right_now p.search-engines-info { - margin: 1em 0; -} - -.mu-storage { - overflow: hidden; -} - -#dashboard-widgets h3.mu-storage { - margin: 0 0 10px; - padding: 0; - font-size: 14px; - font-weight: 400; -} - -/* Dashboard right now - Colors */ - -#dashboard_right_now .sub { - color: #50575e; - background: #f6f7f7; - border-top: 1px solid #f0f0f1; - padding: 10px 12px 6px; -} - -#dashboard_right_now .sub h3 { - color: #50575e; -} - -#dashboard_right_now .sub p { - margin: 0 0 1em; -} - -#dashboard_right_now .warning a:before, -#dashboard_right_now .warning span:before { - color: #d63638; -} - -/* Dashboard Quick Draft */ - -#dashboard_quick_press .inside { - margin: 0; - padding: 0; -} - -#dashboard_quick_press div.updated { - margin-bottom: 10px; - border: 1px solid #f0f0f1; - border-width: 1px 0 1px 1px; -} - -#dashboard_quick_press form { - margin: 12px; -} - -#dashboard_quick_press .drafts { - padding: 10px 0 0; -} - -/* Dashboard Quick Draft - Form styling */ - -#dashboard_quick_press label { - display: inline-block; - margin-bottom: 4px; -} - -#dashboard_quick_press input, -#dashboard_quick_press textarea { - box-sizing: border-box; - margin: 0; -} - -#dashboard-widgets .postbox form .submit { - margin: -39px 0; - float: left; -} - -#description-wrap { - margin-top: 12px; -} - -#quick-press textarea#content { - min-height: 90px; - max-height: 1300px; - margin: 0 0 8px; - padding: 6px 7px; - resize: none; -} - -/* Dashboard Quick Draft - Drafts list */ - -.js #dashboard_quick_press .drafts { - border-top: 1px solid #f0f0f1; -} - -#dashboard_quick_press .drafts abbr { - border: none; -} - -#dashboard_quick_press .drafts .view-all { - float: left; - margin: 0 0 0 12px; -} - -#dashboard_primary a.rsswidget { - font-weight: 400; -} - -#dashboard_quick_press .drafts ul { - margin: 0 12px; -} - -#dashboard_quick_press .drafts li { - margin-bottom: 1em; -} -#dashboard_quick_press .drafts li time { - color: #646970; -} - -#dashboard_quick_press .drafts p { - margin: 0; - word-wrap: break-word; -} - -#dashboard_quick_press .draft-title { - word-wrap: break-word; -} - -#dashboard_quick_press .draft-title a, -#dashboard_quick_press .draft-title time { - margin: 0 0 0 5px; -} - -/* Dashboard common styles */ - -#dashboard-widgets h4, /* Back-compat for pre-4.4 */ -#dashboard-widgets h3, -#dashboard_quick_press .drafts h2 { - margin: 0 12px 8px; - padding: 0; - font-size: 14px; - font-weight: 400; - color: #1d2327; -} - -#dashboard_quick_press .drafts h2 { - line-height: inherit; -} - -#dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ -#dashboard-widgets .inside h3 { - margin-right: 0; - margin-left: 0; -} - -/* Dashboard activity widget */ - -#dashboard_activity .comment-meta span.approve:before { - content: "\f227"; - font: 20px/.5 dashicons; - margin-right: 5px; - vertical-align: middle; - position: relative; - top: -1px; - margin-left: 2px; -} - -#dashboard_activity .inside { - margin: 0; - padding-bottom: 0; -} - -#dashboard_activity .no-activity { - overflow: hidden; - padding: 12px 0; - text-align: center; -} - -#dashboard_activity .no-activity p { - color: #646970; - font-size: 16px; -} - -#dashboard_activity .subsubsub { - float: none; - border-top: 1px solid #f0f0f1; - margin: 0 -12px; - padding: 8px 12px 4px; -} - -#dashboard_activity .subsubsub a .count, -#dashboard_activity .subsubsub a.current .count { - color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */ -} - -#future-posts ul, -#published-posts ul { - clear: both; - margin-bottom: 0; -} - -#future-posts li, -#published-posts li { - margin-bottom: 8px; -} - -#future-posts ul span, -#published-posts ul span { - display: inline-block; - margin-left: 5px; - min-width: 150px; - color: #646970; -} - -.activity-block { - border-bottom: 1px solid #f0f0f1; - margin: 0 -12px; - padding: 8px 12px 4px; -} - -.activity-block:last-child { - border-bottom: none; -} - -.activity-block .subsubsub li { - color: #dcdcde; -} - -/* Dashboard activity widget - Comments */ -/* @todo: needs serious de-duplication */ - -#activity-widget #the-comment-list tr.undo, -#activity-widget #the-comment-list div.undo { - background: none; - padding: 6px 0; - margin-right: 12px; -} - -#activity-widget #the-comment-list .comment-item { - background: #f6f7f7; - padding: 12px; - position: relative; -} - -#activity-widget #the-comment-list .avatar { - position: absolute; - top: 12px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar { - padding-right: 63px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap blockquote { - margin: 1em 0; -} - -#activity-widget #the-comment-list .comment-item p.row-actions { - margin: 4px 0 0; -} - -#activity-widget #the-comment-list .comment-item:first-child { - border-top: 1px solid #f0f0f1; -} - -#activity-widget #the-comment-list .unapproved { - background-color: #fcf9e8; -} - -#activity-widget #the-comment-list .unapproved:before { - content: ""; - display: block; - position: absolute; - right: 0; - top: 0; - bottom: 0; - background: #d63638; - width: 4px; -} - -#activity-widget #the-comment-list .spam-undo-inside .avatar, -#activity-widget #the-comment-list .trash-undo-inside .avatar { - position: relative; - top: 0; -} - -/* Browse happy box */ - -#dashboard-widgets #dashboard_browser_nag.postbox .inside { - margin: 10px; -} - -.postbox .button-link .edit-box { - display: none; -} - -.edit-box { - opacity: 0; -} - -.hndle:hover .edit-box, -.edit-box:focus { - opacity: 1; -} - -#dashboard-widgets form .input-text-wrap input { - width: 100%; -} - -#dashboard-widgets form .textarea-wrap textarea { - width: 100%; -} - -#dashboard-widgets .postbox form .submit { - float: none; - margin: .5em 0 0; - padding: 0; - border: none; -} - -#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { - min-width: 0; -} - -#dashboard-widgets li a, -#dashboard-widgets .button-link, -.community-events-footer a { - text-decoration: none; -} - -#dashboard-widgets h2 a { - text-decoration: underline; -} - -#dashboard-widgets .hndle .postbox-title-action { - float: left; - line-height: 1.2; -} - -#dashboard_plugins h5 { - font-size: 14px; -} - -/* Recent Comments */ - -#latest-comments #the-comment-list { - position: relative; - margin: 0 -12px; -} - -#activity-widget #the-comment-list .comment, -#activity-widget #the-comment-list .pingback { - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); -} - -#activity-widget .comments #the-comment-list .alt { - background-color: transparent; -} - -#activity-widget #latest-comments #the-comment-list .comment-item { - /* the row-actions paragraph is output only for users with 'edit_comment' capabilities, - for other users this needs a min height equal to the gravatar image */ - min-height: 50px; - margin: 0; - padding: 12px; -} - -#latest-comments #the-comment-list .pingback { - padding-right: 12px !important; -} - -#latest-comments #the-comment-list .comment-item:first-child { - border-top: none; -} - -#latest-comments #the-comment-list .comment-meta { - line-height: 1.5; - margin: 0; - color: #646970; -} - -#latest-comments #the-comment-list .comment-meta cite { - font-style: normal; - font-weight: 400; -} - -#latest-comments #the-comment-list .comment-item blockquote, -#latest-comments #the-comment-list .comment-item blockquote p { - margin: 0; - padding: 0; - display: inline; -} - -#latest-comments #the-comment-list .comment-item p.row-actions { - margin: 3px 0 0; - padding: 0; - font-size: 13px; -} - -/* Feeds */ -.rss-widget ul { - margin: 0; - padding: 0; - list-style: none; -} - -a.rsswidget { - font-size: 13px; - font-weight: 600; - line-height: 1.4; -} - -.rss-widget ul li { - line-height: 1.5; - margin-bottom: 12px; -} - -.rss-widget span.rss-date { - color: #646970; - font-size: 13px; - margin-right: 3px; -} - -.rss-widget cite { - display: block; - text-align: left; - margin: 0 0 1em; - padding: 0; -} - -.rss-widget cite:before { - content: "\2014"; -} - -.dashboard-comment-wrap { - word-wrap: break-word; -} - -/* Browser Nag */ -#dashboard_browser_nag a.update-browser-link { - font-size: 1.2em; - font-weight: 600; -} - -#dashboard_browser_nag a { - text-decoration: underline; -} - -#dashboard_browser_nag p.browser-update-nag.has-browser-icon { - padding-left: 128px; -} - -#dashboard_browser_nag .browser-icon { - margin-top: -32px; -} - -#dashboard_browser_nag.postbox { - background-color: #b32d2e; - background-image: none; - border-color: #b32d2e; - color: #fff; - box-shadow: none; -} - -#dashboard_browser_nag.postbox h2 { - border-bottom-color: transparent; - background: transparent none; - color: #fff; - box-shadow: none; -} - -#dashboard_browser_nag a { - color: #fff; -} - -#dashboard_browser_nag.postbox .postbox-header { - border-color: transparent; -} - -#dashboard_browser_nag h2.hndle { - border: none; - font-weight: 600; - font-size: 20px; - padding-top: 10px; -} - -.postbox#dashboard_browser_nag p a.dismiss { - font-size: 14px; -} - -.postbox#dashboard_browser_nag p, -.postbox#dashboard_browser_nag a, -.postbox#dashboard_browser_nag p.browser-update-nag { - font-size: 16px; -} - -/* PHP Nag */ -#dashboard_php_nag .dashicons-warning { - color: #dba617; - padding-left: 6px; -} - -#dashboard_php_nag.php-no-security-updates .dashicons-warning, -#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning { - color: #d63638; -} - -#dashboard_php_nag h2 { - display: inline-block; -} - -#dashboard_php_nag p { - margin: 12px 0; -} - -#dashboard_php_nag .button .dashicons-external { - line-height: 25px; -} - -.bigger-bolder-text { - font-weight: 600; - font-size: 14px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media only screen and (min-width: 1600px) { - .welcome-panel .welcome-panel-column-container { - display: flex; - justify-content: center; - } - - .welcome-panel-column { - width: 100%; - max-width: 460px; - } -} - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 100%; - } - - #dashboard-widgets .meta-box-sortables { - min-height: 0; - } - - .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { - min-height: 100px; - } - - #dashboard-widgets .meta-box-sortables.empty-container { - margin-bottom: 0; - } -} - -/* two columns on the dash, but keep the setting if one is selected */ -@media only screen and (min-width: 800px) and (max-width: 1499px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-2, - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: left; - width: 50.5%; - } - - #dashboard-widgets #postbox-container-3 .empty-container, - #dashboard-widgets #postbox-container-4 .empty-container { - outline: none; - height: 0; - min-height: 0; - margin-bottom: 0; - } - - #dashboard-widgets #postbox-container-3 .empty-container:after, - #dashboard-widgets #postbox-container-4 .empty-container:after { - display: none; - } - - #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; - } - - #wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container { - outline: none; - height: 0; - min-height: 0; - margin-bottom: 0; - } - - /* show the radio buttons for column prefs only for one or two columns */ - .index-php .screen-layout, - .index-php .columns-prefs { - display: block; - } - - .columns-prefs .columns-prefs-3, - .columns-prefs .columns-prefs-4 { - display: none; - } - - #dashboard-widgets .postbox-container .empty-container:after { - display: block; - } -} - -/* three columns on the dash */ -@media only screen and (min-width: 1500px) and (max-width: 1800px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 33.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-1 { - width: 33%; - } - - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: left; - } - - #dashboard-widgets #postbox-container-4 .empty-container { - outline: none; - height: 0; - min-height: 0; - margin-bottom: 0; - } - - #dashboard-widgets #postbox-container-4 .empty-container:after { - display: none; - } - - #dashboard-widgets .postbox-container .empty-container:after { - display: block; - } -} - -/* Always show the "Drag boxes here" CSS generated content on large screens. */ -@media only screen and (min-width: 1801px) { - #dashboard-widgets .postbox-container .empty-container:after { - display: block; - } -} - -@media screen and (max-width: 870px) { - /* @deprecated 5.9.0 -- Lists removed from welcome panel. */ - .welcome-panel .welcome-panel-column li { - display: inline-block; - margin-left: 13px; - } - - /* @deprecated 5.9.0 -- Lists removed from welcome panel. */ - .welcome-panel .welcome-panel-column ul { - margin: 0.4em 0 0; - } - -} - -@media screen and (max-width: 1180px) and (min-width: 783px) { - .welcome-panel-column { - grid-template-columns: 1fr; - } - - [class*="welcome-panel-icon"], - .welcome-panel-column > svg { - display: none; - } -} - -@media screen and (max-width: 782px) { - .welcome-panel .welcome-panel-column-container { - grid-template-columns: 1fr; - box-sizing: border-box; - padding: 32px; - width: 100%; - } - - .welcome-panel .welcome-panel-column-content { - max-width: 520px; - } - - /* Keep the close icon from overlapping the Welcome text. */ - .welcome-panel .welcome-panel-close { - overflow: hidden; - text-indent: 40px; - white-space: nowrap; - width: 20px; - height: 20px; - padding: 5px; - top: 5px; - left: 5px; - } - - .welcome-panel .welcome-panel-close::before { - top: 5px; - right: -35px; - } - - #dashboard-widgets h2 { - padding: 12px; - } - - #dashboard_recent_comments #the-comment-list .comment-item .avatar { - height: 30px; - width: 30px; - margin: 4px 0 5px 10px; - } - - .community-events-toggle-location { - height: 38px; - vertical-align: baseline; - } - - .community-events-form .regular-text { - height: 32px; - } - - #community-events-submit { - margin-bottom: 0; - /* Override .wp-core-ui .button */ - vertical-align: top; - } - - .community-events-form label, - #dashboard-widgets .community-events-cancel.button-link { - /* Same properties as the submit button for cross-browsers alignment. */ - font-size: 14px; - line-height: normal; - height: auto; - padding: 6px 0; - border: 1px solid transparent; - } - - .community-events .spinner { - margin-top: 7px; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - .welcome-panel-header { - padding: 32px 32px 64px; - } - - .welcome-panel-header-image { - display: none; - } -} - -@media screen and (max-width: 480px) { - .welcome-panel-column { - gap: 16px; - } -} - -@media screen and (max-width: 360px) { - .welcome-panel-column { - grid-template-columns: 1fr; - } - - [class*="welcome-panel-icon"], - .welcome-panel-column > svg { - display: none; - } -} - -@media screen and (min-width: 355px) { - .community-events .event-info { - display: table-row; - float: right; - max-width: 59%; - } - - .event-icon, - .event-icon[aria-hidden="true"] { - display: table-cell; - } - - .event-info-inner { - display: table-cell; - } - - .community-events .event-date-time { - float: left; - max-width: 39%; - } - - .community-events .event-date, - .community-events .event-time { - text-align: left; - } -} diff --git a/build/wp-admin/css/dashboard-rtl.min.css b/build/wp-admin/css/dashboard-rtl.min.css deleted file mode 100644 index f2b1238fba..0000000000 --- a/build/wp-admin/css/dashboard-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:left;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:left}#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{display:flow-root;min-height:100px;margin:0 8px 20px}#dashboard-widgets .postbox-container .empty-container{outline:3px dashed #c3c4c7;height:250px}.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables{outline:3px dashed #646970;display:flow-root}#dashboard-widgets .postbox-container .empty-container:after{content:attr(data-emptystring);margin:auto;position:absolute;top:50%;right:0;left:0;transform:translateY(-50%);padding:0 2em;text-align:center;color:#646970;font-size:16px;line-height:1.5;display:none}#the-comment-list td.comment p.comment-author{margin-top:0;margin-right:0}#the-comment-list p.comment-author img{float:right;margin-left:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}#the-comment-list td.comment{word-wrap:break-word}#the-comment-list td.comment img{max-width:100%}.index-php #screen-meta-links{margin:0 0 8px 20px}.welcome-panel{position:relative;overflow:auto;margin:16px 0;background-color:#273fcc;font-size:14px;line-height:1.3;clear:both}.welcome-panel h2{margin:0;font-size:48px;font-weight:600;line-height:1.25}.welcome-panel h3{margin:0;font-size:20px;font-weight:400;line-height:1.4}.welcome-panel p{font-size:inherit;line-height:inherit}.welcome-panel-header{--about-header-bg-width:780px;position:relative;color:#fff}.welcome-panel-header-image{position:absolute!important;top:0;left:0;bottom:0;right:0;z-index:0!important;overflow:hidden}.welcome-panel-header-image svg{display:block;margin:auto;width:var(--about-header-bg-width);height:auto;transform:scale(.75);transform-origin:center top}.welcome-panel-header *{color:inherit;position:relative;z-index:1}.welcome-panel-header a:focus,.welcome-panel-header a:hover{color:inherit;text-decoration:none}.welcome-panel .welcome-panel-close:focus,.welcome-panel-header a:focus{outline-color:currentColor;outline-offset:1px;box-shadow:none}.welcome-panel-header p{margin:.5em 0 0;font-size:20px;line-height:1.4}.welcome-panel .welcome-panel-close{position:absolute;top:10px;left:10px;padding:10px 24px 10px 15px;font-size:13px;line-height:1.23076923;text-decoration:none;z-index:1}.welcome-panel .welcome-panel-close:before{position:absolute;top:8px;right:0;transition:all .1s ease-in-out;content:'\f335';font-size:24px;color:#fff}.welcome-panel .welcome-panel-close{color:#fff}.welcome-panel .welcome-panel-close:focus,.welcome-panel .welcome-panel-close:focus::before,.welcome-panel .welcome-panel-close:hover,.welcome-panel .welcome-panel-close:hover::before{color:#fff972}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 0 3px 13px;padding:12px 36px;height:auto;line-height:1.4285714;white-space:normal}.welcome-panel-content{min-height:400px;display:flex;flex-direction:column;justify-content:space-between}.welcome-panel-header{box-sizing:border-box;margin-right:auto;margin-left:auto;max-width:1500px;width:100%;padding:48px 48px 80px 0}.welcome-panel .welcome-panel-column-container{box-sizing:border-box;width:100%;clear:both;display:grid;z-index:1;padding:48px;grid-template-columns:repeat(3,1fr);gap:32px;align-self:flex-end;background:#fff}[class*=welcome-panel-icon]{height:60px;width:60px;background-position:center;background-size:24px 24px;background-repeat:no-repeat;border-radius:100%}.welcome-panel-column>svg{margin-top:4px}.welcome-panel-column{display:grid;grid-template-columns:min-content 1fr;gap:24px}.welcome-panel-icon-pages{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E")}.welcome-panel-icon-layout{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E")}.welcome-panel-icon-styles{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E")}.welcome-panel .welcome-widgets-menus{line-height:1.14285714}.welcome-panel .welcome-panel-column ul{margin:.8em 0 1em 1em}.welcome-panel li{font-size:14px}.welcome-panel li a{text-decoration:none}.welcome-panel .welcome-panel-column li{line-height:1.14285714;list-style-type:none;padding:0 0 8px}.welcome-panel .welcome-icon{background:0 0!important}#dashboard_right_now .search-engines-info:before,#dashboard_right_now li a:before,#dashboard_right_now li span:before,.welcome-panel .welcome-icon:before{color:#646970;font:normal 20px/1 dashicons;speak:never;display:inline-block;padding:0 0 0 10px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:"\f119";top:-3px}.welcome-panel .welcome-add-page:before{content:"\f132";top:-1px}.welcome-panel .welcome-setup-home:before{content:"\f102";top:-1px}.welcome-panel .welcome-view-site:before{content:"\f115";top:-2px}.welcome-panel .welcome-widgets-menus:before{content:"\f116";top:-2px}.welcome-panel .welcome-widgets:before{content:"\f538";top:-2px}.welcome-panel .welcome-menus:before{content:"\f163";top:-2px}.welcome-panel .welcome-comments:before{content:"\f117";top:-1px}.welcome-panel .welcome-learn-more:before{content:"\f118";top:-1px}#dashboard_right_now .search-engines-info:before,#dashboard_right_now li a:before,#dashboard_right_now li>span:before{content:"\f159";padding:0 0 0 5px}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:"\f105"}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:"\f109"}#dashboard_right_now .comment-count a:before{content:"\f101"}#dashboard_right_now .comment-mod-count a:before{content:"\f125"}#dashboard_right_now .storage-count a:before{content:"\f104"}#dashboard_right_now .storage-count.warning a:before{content:"\f153"}#dashboard_right_now .search-engines-info:before{content:"\f348"}.community-events-errors{margin:0}.community-events-loading{padding:10px 12px 8px}.community-events{margin-bottom:6px;padding:0 12px}.community-events .spinner{float:none;margin:5px 2px 0;vertical-align:top}.community-events form[aria-hidden=true],.community-events-errors [aria-hidden=true],.community-events-errors[aria-hidden=true],.community-events-loading[aria-hidden=true],.community-events[aria-hidden=true]{display:none}.community-events .activity-block:first-child,.community-events h2{padding-top:12px;padding-bottom:10px}.community-events-form{margin:15px 0 5px}.community-events-form .regular-text{width:40%;height:29px;margin:0;vertical-align:top}.community-events li.event-none{border-right:4px solid #72aee6}#dashboard-widgets .community-events li.event-none a{text-decoration:underline}.community-events-form label{display:inline-block;vertical-align:top;line-height:2.15384615;height:28px}.community-events .activity-block>p{margin-bottom:0;display:inline}.community-events-toggle-location{vertical-align:middle}#community-events-submit{margin-right:3px;margin-left:3px}#dashboard-widgets .community-events-cancel.button-link{vertical-align:top;line-height:2;height:28px;text-decoration:underline}.community-events ul{background-color:#f6f7f7;padding-right:0;padding-left:0;padding-bottom:0}.community-events li{margin:0;padding:8px 12px;color:#2c3338}.community-events li:first-child{border-top:1px solid #f0f0f1}.community-events li~li{border-top:1px solid #f0f0f1}.community-events .activity-block.last{border-bottom:1px solid #f0f0f1;padding-top:0;margin-top:-1px}.community-events .event-info{display:block}.event-icon{height:18px;padding-left:10px;width:18px;display:none}.event-icon:before{color:#646970;font-size:18px}.event-meetup .event-icon:before{content:"\f484"}.event-wordcamp .event-icon:before{content:"\f486"}.community-events .event-title{font-weight:600;display:block}.community-events .event-date,.community-events .event-time{display:block}.community-events-footer{margin-top:0;margin-bottom:0;padding:12px;border-top:1px solid #f0f0f1;color:#dcdcde}.community-events-footer .screen-reader-text{height:inherit;white-space:nowrap}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .widget-loading{padding:12px 12px 0;margin-bottom:1em!important}#dashboard_primary .inside .notice{margin:0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#646970;margin-top:4px}#dashboard_primary .rss-widget{font-size:13px;padding:0 12px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#646970}#dashboard_primary .rss-widget span.rss-date{margin-right:12px}#dashboard_primary .rss-widget ul li{padding:4px 0;margin:0}#dashboard_right_now ul{margin:0;display:inline-block;width:100%}#dashboard_right_now li{width:50%;float:right;margin-bottom:10px}#dashboard_right_now .inside{padding:0}#dashboard_right_now .main{padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{float:left;position:relative;top:-5px;margin-right:5px}#dashboard_right_now p.search-engines-info{margin:1em 0}.mu-storage{overflow:hidden}#dashboard-widgets h3.mu-storage{margin:0 0 10px;padding:0;font-size:14px;font-weight:400}#dashboard_right_now .sub{color:#50575e;background:#f6f7f7;border-top:1px solid #f0f0f1;padding:10px 12px 6px}#dashboard_right_now .sub h3{color:#50575e}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d63638}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #f0f0f1;border-width:1px 0 1px 1px}#dashboard_quick_press form{margin:12px}#dashboard_quick_press .drafts{padding:10px 0 0}#dashboard_quick_press label{display:inline-block;margin-bottom:4px}#dashboard_quick_press input,#dashboard_quick_press textarea{box-sizing:border-box;margin:0}#dashboard-widgets .postbox form .submit{margin:-39px 0;float:left}#description-wrap{margin-top:12px}#quick-press textarea#content{min-height:90px;max-height:1300px;margin:0 0 8px;padding:6px 7px;resize:none}.js #dashboard_quick_press .drafts{border-top:1px solid #f0f0f1}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts .view-all{float:left;margin:0 0 0 12px}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts li time{color:#646970}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title{word-wrap:break-word}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{margin:0 0 0 5px}#dashboard-widgets h3,#dashboard-widgets h4,#dashboard_quick_press .drafts h2{margin:0 12px 8px;padding:0;font-size:14px;font-weight:400;color:#1d2327}#dashboard_quick_press .drafts h2{line-height:inherit}#dashboard-widgets .inside h3,#dashboard-widgets .inside h4{margin-right:0;margin-left:0}#dashboard_activity .comment-meta span.approve:before{content:"\f227";font:20px/.5 dashicons;margin-right:5px;vertical-align:middle;position:relative;top:-1px;margin-left:2px}#dashboard_activity .inside{margin:0;padding-bottom:0}#dashboard_activity .no-activity{overflow:hidden;padding:12px 0;text-align:center}#dashboard_activity .no-activity p{color:#646970;font-size:16px}#dashboard_activity .subsubsub{float:none;border-top:1px solid #f0f0f1;margin:0 -12px;padding:8px 12px 4px}#dashboard_activity .subsubsub a .count,#dashboard_activity .subsubsub a.current .count{color:#646970}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{margin-bottom:8px}#future-posts ul span,#published-posts ul span{display:inline-block;margin-left:5px;min-width:150px;color:#646970}.activity-block{border-bottom:1px solid #f0f0f1;margin:0 -12px;padding:8px 12px 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#dcdcde}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-right:12px}#activity-widget #the-comment-list .comment-item{background:#f6f7f7;padding:12px;position:relative}#activity-widget #the-comment-list .avatar{position:absolute;top:12px}#activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar{padding-right:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .comment-item:first-child{border-top:1px solid #f0f0f1}#activity-widget #the-comment-list .unapproved{background-color:#fcf9e8}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;right:0;top:0;bottom:0;background:#d63638;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.postbox .button-link .edit-box{display:none}.edit-box{opacity:0}.edit-box:focus,.hndle:hover .edit-box{opacity:1}#dashboard-widgets form .input-text-wrap input{width:100%}#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets .button-link,#dashboard-widgets li a,.community-events-footer a{text-decoration:none}#dashboard-widgets h2 a{text-decoration:underline}#dashboard-widgets .hndle .postbox-title-action{float:left;line-height:1.2}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative;margin:0 -12px}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{min-height:50px;margin:0;padding:12px}#latest-comments #the-comment-list .pingback{padding-right:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-meta{line-height:1.5;margin:0;color:#646970}#latest-comments #the-comment-list .comment-meta cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:13px;font-weight:600;line-height:1.4}.rss-widget ul li{line-height:1.5;margin-bottom:12px}.rss-widget span.rss-date{color:#646970;font-size:13px;margin-right:3px}.rss-widget cite{display:block;text-align:left;margin:0 0 1em;padding:0}.rss-widget cite:before{content:"\2014"}.dashboard-comment-wrap{word-wrap:break-word}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{text-decoration:underline}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-left:128px}#dashboard_browser_nag .browser-icon{margin-top:-32px}#dashboard_browser_nag.postbox{background-color:#b32d2e;background-image:none;border-color:#b32d2e;color:#fff;box-shadow:none}#dashboard_browser_nag.postbox h2{border-bottom-color:transparent;background:transparent none;color:#fff;box-shadow:none}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag.postbox .postbox-header{border-color:transparent}#dashboard_browser_nag h2.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}#dashboard_php_nag .dashicons-warning{color:#dba617;padding-left:6px}#dashboard_php_nag.php-no-security-updates .dashicons-warning,#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning{color:#d63638}#dashboard_php_nag h2{display:inline-block}#dashboard_php_nag p{margin:12px 0}#dashboard_php_nag .button .dashicons-external{line-height:25px}.bigger-bolder-text{font-weight:600;font-size:14px}@media only screen and (min-width:1600px){.welcome-panel .welcome-panel-column-container{display:flex;justify-content:center}.welcome-panel-column{width:100%;max-width:460px}}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}#dashboard-widgets .meta-box-sortables{min-height:0}.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables{min-height:100px}#dashboard-widgets .meta-box-sortables.empty-container{margin-bottom:0}}@media only screen and (min-width:800px) and (max-width:1499px){#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{outline:0;height:0;min-height:0;margin-bottom:0}#dashboard-widgets #postbox-container-3 .empty-container:after,#dashboard-widgets #postbox-container-4 .empty-container:after{display:none}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container{outline:0;height:0;min-height:0;margin-bottom:0}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}#dashboard-widgets .postbox-container .empty-container:after{display:block}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left}#dashboard-widgets #postbox-container-4 .empty-container{outline:0;height:0;min-height:0;margin-bottom:0}#dashboard-widgets #postbox-container-4 .empty-container:after{display:none}#dashboard-widgets .postbox-container .empty-container:after{display:block}}@media only screen and (min-width:1801px){#dashboard-widgets .postbox-container .empty-container:after{display:block}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column li{display:inline-block;margin-left:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:1180px) and (min-width:783px){.welcome-panel-column{grid-template-columns:1fr}.welcome-panel-column>svg,[class*=welcome-panel-icon]{display:none}}@media screen and (max-width:782px){.welcome-panel .welcome-panel-column-container{grid-template-columns:1fr;box-sizing:border-box;padding:32px;width:100%}.welcome-panel .welcome-panel-column-content{max-width:520px}.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:40px;white-space:nowrap;width:20px;height:20px;padding:5px;top:5px;left:5px}.welcome-panel .welcome-panel-close::before{top:5px;right:-35px}#dashboard-widgets h2{padding:12px}#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 0 5px 10px}.community-events-toggle-location{height:38px;vertical-align:baseline}.community-events-form .regular-text{height:32px}#community-events-submit{margin-bottom:0;vertical-align:top}#dashboard-widgets .community-events-cancel.button-link,.community-events-form label{font-size:14px;line-height:normal;height:auto;padding:6px 0;border:1px solid transparent}.community-events .spinner{margin-top:7px}}@media screen and (max-width:600px){.welcome-panel-header{padding:32px 32px 64px}.welcome-panel-header-image{display:none}}@media screen and (max-width:480px){.welcome-panel-column{gap:16px}}@media screen and (max-width:360px){.welcome-panel-column{grid-template-columns:1fr}.welcome-panel-column>svg,[class*=welcome-panel-icon]{display:none}}@media screen and (min-width:355px){.community-events .event-info{display:table-row;float:right;max-width:59%}.event-icon,.event-icon[aria-hidden=true]{display:table-cell}.event-info-inner{display:table-cell}.community-events .event-date-time{float:left;max-width:39%}.community-events .event-date,.community-events .event-time{text-align:left}} \ No newline at end of file diff --git a/build/wp-admin/css/dashboard.css b/build/wp-admin/css/dashboard.css deleted file mode 100644 index 77084bd9f6..0000000000 --- a/build/wp-admin/css/dashboard.css +++ /dev/null @@ -1,1491 +0,0 @@ -#wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; -} - -#wpbody-content #dashboard-widgets.columns-2 .postbox-container { - width: 49.5%; -} - -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { - float: right; - width: 50.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 .postbox-container { - width: 33.5%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1 { - width: 33%; -} - -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3, -#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4 { - float: right; -} - -#wpbody-content #dashboard-widgets.columns-4 .postbox-container { - width: 25%; -} - -#dashboard-widgets .postbox-container { - width: 25%; -} - -#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container { - border: none !important; -} - -#dashboard-widgets-wrap { - overflow: hidden; - margin: 0 -8px; -} - -#dashboard-widgets .postbox .inside { - margin-bottom: 0; -} - -#dashboard-widgets .meta-box-sortables { - display: flow-root; /* avoid margin collapsing between parent and first/last child elements */ - /* Required min-height to make the jQuery UI Sortable drop zone work. */ - min-height: 100px; - margin: 0 8px 20px; -} - -#dashboard-widgets .postbox-container .empty-container { - outline: 3px dashed #c3c4c7; - height: 250px; -} - -/* Only highlight drop zones when dragging and only in the 2 columns layout. */ -.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { - outline: 3px dashed #646970; - /* Prevent margin on the child from collapsing with margin on the parent. */ - display: flow-root; -} - -#dashboard-widgets .postbox-container .empty-container:after { - content: attr(data-emptystring); - margin: auto; - position: absolute; - top: 50%; - left: 0; - right: 0; - transform: translateY( -50% ); - padding: 0 2em; - text-align: center; - color: #646970; - font-size: 16px; - line-height: 1.5; - display: none; -} - - -/* @todo: this was originally in this section, but likely belongs elsewhere */ -#the-comment-list td.comment p.comment-author { - margin-top: 0; - margin-left: 0; -} - -#the-comment-list p.comment-author img { - float: left; - margin-right: 8px; -} - -#the-comment-list p.comment-author strong a { - border: none; -} - -#the-comment-list td { - vertical-align: top; -} - -#the-comment-list td.comment { - word-wrap: break-word; -} - -#the-comment-list td.comment img { - max-width: 100%; -} - -/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */ -.index-php #screen-meta-links { - margin: 0 20px 8px 0; -} - -/* Welcome Panel */ -.welcome-panel { - position: relative; - overflow: auto; - margin: 16px 0; - background-color: #273fcc; - font-size: 14px; - line-height: 1.3; - clear: both; -} - -.welcome-panel h2 { - margin: 0; - font-size: 48px; - font-weight: 600; - line-height: 1.25; -} - -.welcome-panel h3 { - margin: 0; - font-size: 20px; - font-weight: 400; - line-height: 1.4; -} - -.welcome-panel p { - font-size: inherit; - line-height: inherit; -} - -.welcome-panel-header { - --about-header-bg-width: 780px; - - position: relative; - color: #fff; -} - -.welcome-panel-header-image { - position: absolute !important; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 0 !important; - overflow: hidden; -} - -.welcome-panel-header-image svg { - display: block; - margin: auto; - width: var(--about-header-bg-width); - height: auto; - transform: scale(0.75); - transform-origin: center top; -} - -.welcome-panel-header * { - color: inherit; - position: relative; - z-index: 1; -} - -.welcome-panel-header a:focus, -.welcome-panel-header a:hover { - color: inherit; - text-decoration: none; -} - -.welcome-panel-header a:focus, -.welcome-panel .welcome-panel-close:focus { - outline-color: currentColor; - outline-offset: 1px; - box-shadow: none; -} - -.welcome-panel-header p { - margin: 0.5em 0 0; - font-size: 20px; - line-height: 1.4; -} - -.welcome-panel .welcome-panel-close { - position: absolute; - top: 10px; - right: 10px; - padding: 10px 15px 10px 24px; - font-size: 13px; - line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */ - text-decoration: none; - z-index: 1; /* Raise above the version image. */ -} - -.welcome-panel .welcome-panel-close:before { - position: absolute; - top: 8px; - left: 0; - transition: all .1s ease-in-out; - content: '\f335'; - font-size: 24px; - color: #fff; -} - -.welcome-panel .welcome-panel-close { - color: #fff; -} - -.welcome-panel .welcome-panel-close:hover, -.welcome-panel .welcome-panel-close:focus, -.welcome-panel .welcome-panel-close:hover::before, -.welcome-panel .welcome-panel-close:focus::before { - color: #fff972; -} - -/* @deprecated 5.9.0 -- Button removed from panel. */ -.wp-core-ui .welcome-panel .button.button-hero { - margin: 15px 13px 3px 0; - padding: 12px 36px; - height: auto; - line-height: 1.4285714; - white-space: normal; -} - -.welcome-panel-content { - min-height: 400px; - display: flex; - flex-direction: column; - justify-content: space-between; -} - -.welcome-panel-header { - box-sizing: border-box; - margin-left: auto; - margin-right: auto; - max-width: 1500px; - width: 100%; - padding: 48px 0 80px 48px; -} - -.welcome-panel .welcome-panel-column-container { - box-sizing: border-box; - width: 100%; - clear: both; - display: grid; - z-index: 1; - padding: 48px; - grid-template-columns: repeat(3, 1fr); - gap: 32px; - align-self: flex-end; - background: #fff; -} - -[class*="welcome-panel-icon"] { - height: 60px; - width: 60px; - background-position: center; - background-size: 24px 24px; - background-repeat: no-repeat; - border-radius: 100%; -} - -.welcome-panel-column > svg { - margin-top: 4px; -} - -.welcome-panel-column { - display: grid; - grid-template-columns: min-content 1fr; - gap: 24px; -} - -.welcome-panel-icon-pages { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E"); -} - -.welcome-panel-icon-layout { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E"); -} - -.welcome-panel-icon-styles { - background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E"); -} - -/* @deprecated 5.9.0 -- Section removed from welcome panel. */ -.welcome-panel .welcome-widgets-menus { - line-height: 1.14285714; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel .welcome-panel-column ul { - margin: 0.8em 1em 1em 0; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel li { - font-size: 14px; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel li a { - text-decoration: none; -} - -/* @deprecated 5.9.0 -- Lists removed from welcome panel. */ -.welcome-panel .welcome-panel-column li { - line-height: 1.14285714; - list-style-type: none; - padding: 0 0 8px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-icon { - background: transparent !important; -} - -/* Welcome Panel and Right Now common Icons style */ - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-icon:before, -#dashboard_right_now li a:before, -#dashboard_right_now li span:before, -#dashboard_right_now .search-engines-info:before { - color: #646970; - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - padding: 0 10px 0 0; - position: relative; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - vertical-align: top; -} - -/* Welcome Panel specific Icons styles */ - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-write-blog:before, -.welcome-panel .welcome-edit-page:before { - content: "\f119"; - top: -3px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-add-page:before { - content: "\f132"; - top: -1px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-setup-home:before { - content: "\f102"; - top: -1px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-view-site:before { - content: "\f115"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-widgets-menus:before { - content: "\f116"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-widgets:before { - content: "\f538"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-menus:before { - content: "\f163"; - top: -2px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-comments:before { - content: "\f117"; - top: -1px; -} - -/* @deprecated 5.9.0 -- Icons removed from welcome panel. */ -.welcome-panel .welcome-learn-more:before { - content: "\f118"; - top: -1px; -} - -/* Right Now specific Icons styles */ - -#dashboard_right_now .search-engines-info:before, -#dashboard_right_now li a:before, -#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */ - content: "\f159"; /* generic icon for items added by CPTs ? */ - padding: 0 5px 0 0; -} - -#dashboard_right_now .page-count a:before, -#dashboard_right_now .page-count span:before { - content: "\f105"; -} - -#dashboard_right_now .post-count a:before, -#dashboard_right_now .post-count span:before { - content: "\f109"; -} - -#dashboard_right_now .comment-count a:before { - content: "\f101"; -} - -#dashboard_right_now .comment-mod-count a:before { - content: "\f125"; -} - -#dashboard_right_now .storage-count a:before { - content: "\f104"; -} - -#dashboard_right_now .storage-count.warning a:before { - content: "\f153"; -} - -#dashboard_right_now .search-engines-info:before { - content: "\f348"; -} - -/* Dashboard WordPress events */ - -.community-events-errors { - margin: 0; -} - -.community-events-loading { - padding: 10px 12px 8px; -} - -.community-events { - margin-bottom: 6px; - padding: 0 12px; -} - -.community-events .spinner { - float: none; - margin: 5px 2px 0; - vertical-align: top; -} - -.community-events-errors[aria-hidden="true"], -.community-events-errors [aria-hidden="true"], -.community-events-loading[aria-hidden="true"], -.community-events[aria-hidden="true"], -.community-events form[aria-hidden="true"] { - display: none; -} - -.community-events .activity-block:first-child, -.community-events h2 { - padding-top: 12px; - padding-bottom: 10px; -} - -.community-events-form { - margin: 15px 0 5px; -} - -.community-events-form .regular-text { - width: 40%; - height: 29px; - margin: 0; - vertical-align: top; -} - -.community-events li.event-none { - border-left: 4px solid #72aee6; -} - -#dashboard-widgets .community-events li.event-none a { - text-decoration: underline; -} - -.community-events-form label { - display: inline-block; - vertical-align: top; - line-height: 2.15384615; - height: 28px; -} - -.community-events .activity-block > p { - margin-bottom: 0; - display: inline; -} - -.community-events-toggle-location { - vertical-align: middle; -} - -#community-events-submit { - margin-left: 3px; - margin-right: 3px; -} - -/* Needs higher specificity than #dashboard-widgets .button-link */ -#dashboard-widgets .community-events-cancel.button-link { - vertical-align: top; - /* Same properties as the submit button for cross-browsers alignment. */ - line-height: 2; - height: 28px; - text-decoration: underline; -} - -.community-events ul { - background-color: #f6f7f7; - padding-left: 0; - padding-right: 0; - padding-bottom: 0; -} - -.community-events li { - margin: 0; - padding: 8px 12px; - color: #2c3338; -} -.community-events li:first-child { - border-top: 1px solid #f0f0f1; -} - -.community-events li ~ li { - border-top: 1px solid #f0f0f1; -} - -.community-events .activity-block.last { - border-bottom: 1px solid #f0f0f1; - padding-top: 0; - margin-top: -1px; -} - -.community-events .event-info { - display: block; -} - -.event-icon { - height: 18px; - padding-right: 10px; - width: 18px; - display: none; /* Hide on smaller screens */ -} - -.event-icon:before { - color: #646970; - font-size: 18px; -} -.event-meetup .event-icon:before { - content: "\f484"; -} -.event-wordcamp .event-icon:before { - content: "\f486"; -} - -.community-events .event-title { - font-weight: 600; - display: block; -} - -.community-events .event-date, -.community-events .event-time { - display: block; -} - -.community-events-footer { - margin-top: 0; - margin-bottom: 0; - padding: 12px; - border-top: 1px solid #f0f0f1; - color: #dcdcde; -} - -/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */ -.community-events-footer .screen-reader-text { - height: inherit; - white-space: nowrap; -} - -/* Dashboard WordPress news */ - -#dashboard_primary .inside { - margin: 0; - padding: 0; -} - -#dashboard_primary .widget-loading { - padding: 12px 12px 0; - margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */ -} - -/* Notice when JS is off. */ -#dashboard_primary .inside .notice { - margin: 0; -} - -body #dashboard-widgets .postbox form .submit { - margin: 0; -} - -/* Used only for configurable widgets. */ -.dashboard-widget-control-form p { - margin-top: 0; -} - -.rssSummary { - color: #646970; - margin-top: 4px; -} - -#dashboard_primary .rss-widget { - font-size: 13px; - padding: 0 12px; -} - -#dashboard_primary .rss-widget:last-child { - border-bottom: none; - padding-bottom: 8px; -} - -#dashboard_primary .rss-widget a { - font-weight: 400; -} - -#dashboard_primary .rss-widget span, -#dashboard_primary .rss-widget span.rss-date { - color: #646970; -} - -#dashboard_primary .rss-widget span.rss-date { - margin-left: 12px; -} - -#dashboard_primary .rss-widget ul li { - padding: 4px 0; - margin: 0; -} - -/* Dashboard right now */ - -#dashboard_right_now ul { - margin: 0; - /* contain floats but don't use overflow: hidden */ - display: inline-block; - width: 100%; -} - -#dashboard_right_now li { - width: 50%; - float: left; - margin-bottom: 10px; -} - -#dashboard_right_now .inside { - padding: 0; -} - -#dashboard_right_now .main { - padding: 0 12px 11px; -} - -#dashboard_right_now .main p { - margin: 0; -} - -#dashboard_right_now #wp-version-message .button { - float: right; - position: relative; - top: -5px; - margin-left: 5px; -} - -#dashboard_right_now p.search-engines-info { - margin: 1em 0; -} - -.mu-storage { - overflow: hidden; -} - -#dashboard-widgets h3.mu-storage { - margin: 0 0 10px; - padding: 0; - font-size: 14px; - font-weight: 400; -} - -/* Dashboard right now - Colors */ - -#dashboard_right_now .sub { - color: #50575e; - background: #f6f7f7; - border-top: 1px solid #f0f0f1; - padding: 10px 12px 6px; -} - -#dashboard_right_now .sub h3 { - color: #50575e; -} - -#dashboard_right_now .sub p { - margin: 0 0 1em; -} - -#dashboard_right_now .warning a:before, -#dashboard_right_now .warning span:before { - color: #d63638; -} - -/* Dashboard Quick Draft */ - -#dashboard_quick_press .inside { - margin: 0; - padding: 0; -} - -#dashboard_quick_press div.updated { - margin-bottom: 10px; - border: 1px solid #f0f0f1; - border-width: 1px 1px 1px 0; -} - -#dashboard_quick_press form { - margin: 12px; -} - -#dashboard_quick_press .drafts { - padding: 10px 0 0; -} - -/* Dashboard Quick Draft - Form styling */ - -#dashboard_quick_press label { - display: inline-block; - margin-bottom: 4px; -} - -#dashboard_quick_press input, -#dashboard_quick_press textarea { - box-sizing: border-box; - margin: 0; -} - -#dashboard-widgets .postbox form .submit { - margin: -39px 0; - float: right; -} - -#description-wrap { - margin-top: 12px; -} - -#quick-press textarea#content { - min-height: 90px; - max-height: 1300px; - margin: 0 0 8px; - padding: 6px 7px; - resize: none; -} - -/* Dashboard Quick Draft - Drafts list */ - -.js #dashboard_quick_press .drafts { - border-top: 1px solid #f0f0f1; -} - -#dashboard_quick_press .drafts abbr { - border: none; -} - -#dashboard_quick_press .drafts .view-all { - float: right; - margin: 0 12px 0 0; -} - -#dashboard_primary a.rsswidget { - font-weight: 400; -} - -#dashboard_quick_press .drafts ul { - margin: 0 12px; -} - -#dashboard_quick_press .drafts li { - margin-bottom: 1em; -} -#dashboard_quick_press .drafts li time { - color: #646970; -} - -#dashboard_quick_press .drafts p { - margin: 0; - word-wrap: break-word; -} - -#dashboard_quick_press .draft-title { - word-wrap: break-word; -} - -#dashboard_quick_press .draft-title a, -#dashboard_quick_press .draft-title time { - margin: 0 5px 0 0; -} - -/* Dashboard common styles */ - -#dashboard-widgets h4, /* Back-compat for pre-4.4 */ -#dashboard-widgets h3, -#dashboard_quick_press .drafts h2 { - margin: 0 12px 8px; - padding: 0; - font-size: 14px; - font-weight: 400; - color: #1d2327; -} - -#dashboard_quick_press .drafts h2 { - line-height: inherit; -} - -#dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ -#dashboard-widgets .inside h3 { - margin-left: 0; - margin-right: 0; -} - -/* Dashboard activity widget */ - -#dashboard_activity .comment-meta span.approve:before { - content: "\f227"; - font: 20px/.5 dashicons; - margin-left: 5px; - vertical-align: middle; - position: relative; - top: -1px; - margin-right: 2px; -} - -#dashboard_activity .inside { - margin: 0; - padding-bottom: 0; -} - -#dashboard_activity .no-activity { - overflow: hidden; - padding: 12px 0; - text-align: center; -} - -#dashboard_activity .no-activity p { - color: #646970; - font-size: 16px; -} - -#dashboard_activity .subsubsub { - float: none; - border-top: 1px solid #f0f0f1; - margin: 0 -12px; - padding: 8px 12px 4px; -} - -#dashboard_activity .subsubsub a .count, -#dashboard_activity .subsubsub a.current .count { - color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */ -} - -#future-posts ul, -#published-posts ul { - clear: both; - margin-bottom: 0; -} - -#future-posts li, -#published-posts li { - margin-bottom: 8px; -} - -#future-posts ul span, -#published-posts ul span { - display: inline-block; - margin-right: 5px; - min-width: 150px; - color: #646970; -} - -.activity-block { - border-bottom: 1px solid #f0f0f1; - margin: 0 -12px; - padding: 8px 12px 4px; -} - -.activity-block:last-child { - border-bottom: none; -} - -.activity-block .subsubsub li { - color: #dcdcde; -} - -/* Dashboard activity widget - Comments */ -/* @todo: needs serious de-duplication */ - -#activity-widget #the-comment-list tr.undo, -#activity-widget #the-comment-list div.undo { - background: none; - padding: 6px 0; - margin-left: 12px; -} - -#activity-widget #the-comment-list .comment-item { - background: #f6f7f7; - padding: 12px; - position: relative; -} - -#activity-widget #the-comment-list .avatar { - position: absolute; - top: 12px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar { - padding-left: 63px; -} - -#activity-widget #the-comment-list .dashboard-comment-wrap blockquote { - margin: 1em 0; -} - -#activity-widget #the-comment-list .comment-item p.row-actions { - margin: 4px 0 0; -} - -#activity-widget #the-comment-list .comment-item:first-child { - border-top: 1px solid #f0f0f1; -} - -#activity-widget #the-comment-list .unapproved { - background-color: #fcf9e8; -} - -#activity-widget #the-comment-list .unapproved:before { - content: ""; - display: block; - position: absolute; - left: 0; - top: 0; - bottom: 0; - background: #d63638; - width: 4px; -} - -#activity-widget #the-comment-list .spam-undo-inside .avatar, -#activity-widget #the-comment-list .trash-undo-inside .avatar { - position: relative; - top: 0; -} - -/* Browse happy box */ - -#dashboard-widgets #dashboard_browser_nag.postbox .inside { - margin: 10px; -} - -.postbox .button-link .edit-box { - display: none; -} - -.edit-box { - opacity: 0; -} - -.hndle:hover .edit-box, -.edit-box:focus { - opacity: 1; -} - -#dashboard-widgets form .input-text-wrap input { - width: 100%; -} - -#dashboard-widgets form .textarea-wrap textarea { - width: 100%; -} - -#dashboard-widgets .postbox form .submit { - float: none; - margin: .5em 0 0; - padding: 0; - border: none; -} - -#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish { - min-width: 0; -} - -#dashboard-widgets li a, -#dashboard-widgets .button-link, -.community-events-footer a { - text-decoration: none; -} - -#dashboard-widgets h2 a { - text-decoration: underline; -} - -#dashboard-widgets .hndle .postbox-title-action { - float: right; - line-height: 1.2; -} - -#dashboard_plugins h5 { - font-size: 14px; -} - -/* Recent Comments */ - -#latest-comments #the-comment-list { - position: relative; - margin: 0 -12px; -} - -#activity-widget #the-comment-list .comment, -#activity-widget #the-comment-list .pingback { - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06); -} - -#activity-widget .comments #the-comment-list .alt { - background-color: transparent; -} - -#activity-widget #latest-comments #the-comment-list .comment-item { - /* the row-actions paragraph is output only for users with 'edit_comment' capabilities, - for other users this needs a min height equal to the gravatar image */ - min-height: 50px; - margin: 0; - padding: 12px; -} - -#latest-comments #the-comment-list .pingback { - padding-left: 12px !important; -} - -#latest-comments #the-comment-list .comment-item:first-child { - border-top: none; -} - -#latest-comments #the-comment-list .comment-meta { - line-height: 1.5; - margin: 0; - color: #646970; -} - -#latest-comments #the-comment-list .comment-meta cite { - font-style: normal; - font-weight: 400; -} - -#latest-comments #the-comment-list .comment-item blockquote, -#latest-comments #the-comment-list .comment-item blockquote p { - margin: 0; - padding: 0; - display: inline; -} - -#latest-comments #the-comment-list .comment-item p.row-actions { - margin: 3px 0 0; - padding: 0; - font-size: 13px; -} - -/* Feeds */ -.rss-widget ul { - margin: 0; - padding: 0; - list-style: none; -} - -a.rsswidget { - font-size: 13px; - font-weight: 600; - line-height: 1.4; -} - -.rss-widget ul li { - line-height: 1.5; - margin-bottom: 12px; -} - -.rss-widget span.rss-date { - color: #646970; - font-size: 13px; - margin-left: 3px; -} - -.rss-widget cite { - display: block; - text-align: right; - margin: 0 0 1em; - padding: 0; -} - -.rss-widget cite:before { - content: "\2014"; -} - -.dashboard-comment-wrap { - word-wrap: break-word; -} - -/* Browser Nag */ -#dashboard_browser_nag a.update-browser-link { - font-size: 1.2em; - font-weight: 600; -} - -#dashboard_browser_nag a { - text-decoration: underline; -} - -#dashboard_browser_nag p.browser-update-nag.has-browser-icon { - padding-right: 128px; -} - -#dashboard_browser_nag .browser-icon { - margin-top: -32px; -} - -#dashboard_browser_nag.postbox { - background-color: #b32d2e; - background-image: none; - border-color: #b32d2e; - color: #fff; - box-shadow: none; -} - -#dashboard_browser_nag.postbox h2 { - border-bottom-color: transparent; - background: transparent none; - color: #fff; - box-shadow: none; -} - -#dashboard_browser_nag a { - color: #fff; -} - -#dashboard_browser_nag.postbox .postbox-header { - border-color: transparent; -} - -#dashboard_browser_nag h2.hndle { - border: none; - font-weight: 600; - font-size: 20px; - padding-top: 10px; -} - -.postbox#dashboard_browser_nag p a.dismiss { - font-size: 14px; -} - -.postbox#dashboard_browser_nag p, -.postbox#dashboard_browser_nag a, -.postbox#dashboard_browser_nag p.browser-update-nag { - font-size: 16px; -} - -/* PHP Nag */ -#dashboard_php_nag .dashicons-warning { - color: #dba617; - padding-right: 6px; -} - -#dashboard_php_nag.php-no-security-updates .dashicons-warning, -#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning { - color: #d63638; -} - -#dashboard_php_nag h2 { - display: inline-block; -} - -#dashboard_php_nag p { - margin: 12px 0; -} - -#dashboard_php_nag .button .dashicons-external { - line-height: 25px; -} - -.bigger-bolder-text { - font-weight: 600; - font-size: 14px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media only screen and (min-width: 1600px) { - .welcome-panel .welcome-panel-column-container { - display: flex; - justify-content: center; - } - - .welcome-panel-column { - width: 100%; - max-width: 460px; - } -} - -/* one column on the dash */ -@media only screen and (max-width: 799px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 100%; - } - - #dashboard-widgets .meta-box-sortables { - min-height: 0; - } - - .is-dragging-metaboxes #dashboard-widgets .meta-box-sortables { - min-height: 100px; - } - - #dashboard-widgets .meta-box-sortables.empty-container { - margin-bottom: 0; - } -} - -/* two columns on the dash, but keep the setting if one is selected */ -@media only screen and (min-width: 800px) and (max-width: 1499px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 49.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-2, - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - width: 50.5%; - } - - #dashboard-widgets #postbox-container-3 .empty-container, - #dashboard-widgets #postbox-container-4 .empty-container { - outline: none; - height: 0; - min-height: 0; - margin-bottom: 0; - } - - #dashboard-widgets #postbox-container-3 .empty-container:after, - #dashboard-widgets #postbox-container-4 .empty-container:after { - display: none; - } - - #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container { - width: 100%; - } - - #wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container { - outline: none; - height: 0; - min-height: 0; - margin-bottom: 0; - } - - /* show the radio buttons for column prefs only for one or two columns */ - .index-php .screen-layout, - .index-php .columns-prefs { - display: block; - } - - .columns-prefs .columns-prefs-3, - .columns-prefs .columns-prefs-4 { - display: none; - } - - #dashboard-widgets .postbox-container .empty-container:after { - display: block; - } -} - -/* three columns on the dash */ -@media only screen and (min-width: 1500px) and (max-width: 1800px) { - #wpbody-content #dashboard-widgets .postbox-container { - width: 33.5%; - } - - #wpbody-content #dashboard-widgets #postbox-container-1 { - width: 33%; - } - - #wpbody-content #dashboard-widgets #postbox-container-3, - #wpbody-content #dashboard-widgets #postbox-container-4 { - float: right; - } - - #dashboard-widgets #postbox-container-4 .empty-container { - outline: none; - height: 0; - min-height: 0; - margin-bottom: 0; - } - - #dashboard-widgets #postbox-container-4 .empty-container:after { - display: none; - } - - #dashboard-widgets .postbox-container .empty-container:after { - display: block; - } -} - -/* Always show the "Drag boxes here" CSS generated content on large screens. */ -@media only screen and (min-width: 1801px) { - #dashboard-widgets .postbox-container .empty-container:after { - display: block; - } -} - -@media screen and (max-width: 870px) { - /* @deprecated 5.9.0 -- Lists removed from welcome panel. */ - .welcome-panel .welcome-panel-column li { - display: inline-block; - margin-right: 13px; - } - - /* @deprecated 5.9.0 -- Lists removed from welcome panel. */ - .welcome-panel .welcome-panel-column ul { - margin: 0.4em 0 0; - } - -} - -@media screen and (max-width: 1180px) and (min-width: 783px) { - .welcome-panel-column { - grid-template-columns: 1fr; - } - - [class*="welcome-panel-icon"], - .welcome-panel-column > svg { - display: none; - } -} - -@media screen and (max-width: 782px) { - .welcome-panel .welcome-panel-column-container { - grid-template-columns: 1fr; - box-sizing: border-box; - padding: 32px; - width: 100%; - } - - .welcome-panel .welcome-panel-column-content { - max-width: 520px; - } - - /* Keep the close icon from overlapping the Welcome text. */ - .welcome-panel .welcome-panel-close { - overflow: hidden; - text-indent: 40px; - white-space: nowrap; - width: 20px; - height: 20px; - padding: 5px; - top: 5px; - right: 5px; - } - - .welcome-panel .welcome-panel-close::before { - top: 5px; - left: -35px; - } - - #dashboard-widgets h2 { - padding: 12px; - } - - #dashboard_recent_comments #the-comment-list .comment-item .avatar { - height: 30px; - width: 30px; - margin: 4px 10px 5px 0; - } - - .community-events-toggle-location { - height: 38px; - vertical-align: baseline; - } - - .community-events-form .regular-text { - height: 32px; - } - - #community-events-submit { - margin-bottom: 0; - /* Override .wp-core-ui .button */ - vertical-align: top; - } - - .community-events-form label, - #dashboard-widgets .community-events-cancel.button-link { - /* Same properties as the submit button for cross-browsers alignment. */ - font-size: 14px; - line-height: normal; - height: auto; - padding: 6px 0; - border: 1px solid transparent; - } - - .community-events .spinner { - margin-top: 7px; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - .welcome-panel-header { - padding: 32px 32px 64px; - } - - .welcome-panel-header-image { - display: none; - } -} - -@media screen and (max-width: 480px) { - .welcome-panel-column { - gap: 16px; - } -} - -@media screen and (max-width: 360px) { - .welcome-panel-column { - grid-template-columns: 1fr; - } - - [class*="welcome-panel-icon"], - .welcome-panel-column > svg { - display: none; - } -} - -@media screen and (min-width: 355px) { - .community-events .event-info { - display: table-row; - float: left; - max-width: 59%; - } - - .event-icon, - .event-icon[aria-hidden="true"] { - display: table-cell; - } - - .event-info-inner { - display: table-cell; - } - - .community-events .event-date-time { - float: right; - max-width: 39%; - } - - .community-events .event-date, - .community-events .event-time { - text-align: right; - } -} diff --git a/build/wp-admin/css/dashboard.min.css b/build/wp-admin/css/dashboard.min.css deleted file mode 100644 index 22c9a61ba3..0000000000 --- a/build/wp-admin/css/dashboard.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:right;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:right}#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{display:flow-root;min-height:100px;margin:0 8px 20px}#dashboard-widgets .postbox-container .empty-container{outline:3px dashed #c3c4c7;height:250px}.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables{outline:3px dashed #646970;display:flow-root}#dashboard-widgets .postbox-container .empty-container:after{content:attr(data-emptystring);margin:auto;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);padding:0 2em;text-align:center;color:#646970;font-size:16px;line-height:1.5;display:none}#the-comment-list td.comment p.comment-author{margin-top:0;margin-left:0}#the-comment-list p.comment-author img{float:left;margin-right:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}#the-comment-list td.comment{word-wrap:break-word}#the-comment-list td.comment img{max-width:100%}.index-php #screen-meta-links{margin:0 20px 8px 0}.welcome-panel{position:relative;overflow:auto;margin:16px 0;background-color:#273fcc;font-size:14px;line-height:1.3;clear:both}.welcome-panel h2{margin:0;font-size:48px;font-weight:600;line-height:1.25}.welcome-panel h3{margin:0;font-size:20px;font-weight:400;line-height:1.4}.welcome-panel p{font-size:inherit;line-height:inherit}.welcome-panel-header{--about-header-bg-width:780px;position:relative;color:#fff}.welcome-panel-header-image{position:absolute!important;top:0;right:0;bottom:0;left:0;z-index:0!important;overflow:hidden}.welcome-panel-header-image svg{display:block;margin:auto;width:var(--about-header-bg-width);height:auto;transform:scale(.75);transform-origin:center top}.welcome-panel-header *{color:inherit;position:relative;z-index:1}.welcome-panel-header a:focus,.welcome-panel-header a:hover{color:inherit;text-decoration:none}.welcome-panel .welcome-panel-close:focus,.welcome-panel-header a:focus{outline-color:currentColor;outline-offset:1px;box-shadow:none}.welcome-panel-header p{margin:.5em 0 0;font-size:20px;line-height:1.4}.welcome-panel .welcome-panel-close{position:absolute;top:10px;right:10px;padding:10px 15px 10px 24px;font-size:13px;line-height:1.23076923;text-decoration:none;z-index:1}.welcome-panel .welcome-panel-close:before{position:absolute;top:8px;left:0;transition:all .1s ease-in-out;content:'\f335';font-size:24px;color:#fff}.welcome-panel .welcome-panel-close{color:#fff}.welcome-panel .welcome-panel-close:focus,.welcome-panel .welcome-panel-close:focus::before,.welcome-panel .welcome-panel-close:hover,.welcome-panel .welcome-panel-close:hover::before{color:#fff972}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 13px 3px 0;padding:12px 36px;height:auto;line-height:1.4285714;white-space:normal}.welcome-panel-content{min-height:400px;display:flex;flex-direction:column;justify-content:space-between}.welcome-panel-header{box-sizing:border-box;margin-left:auto;margin-right:auto;max-width:1500px;width:100%;padding:48px 0 80px 48px}.welcome-panel .welcome-panel-column-container{box-sizing:border-box;width:100%;clear:both;display:grid;z-index:1;padding:48px;grid-template-columns:repeat(3,1fr);gap:32px;align-self:flex-end;background:#fff}[class*=welcome-panel-icon]{height:60px;width:60px;background-position:center;background-size:24px 24px;background-repeat:no-repeat;border-radius:100%}.welcome-panel-column>svg{margin-top:4px}.welcome-panel-column{display:grid;grid-template-columns:min-content 1fr;gap:24px}.welcome-panel-icon-pages{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z' /%3E%3C/svg%3E")}.welcome-panel-icon-layout{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z' /%3E%3C/svg%3E")}.welcome-panel-icon-styles{background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' /%3E%3C/svg%3E")}.welcome-panel .welcome-widgets-menus{line-height:1.14285714}.welcome-panel .welcome-panel-column ul{margin:.8em 1em 1em 0}.welcome-panel li{font-size:14px}.welcome-panel li a{text-decoration:none}.welcome-panel .welcome-panel-column li{line-height:1.14285714;list-style-type:none;padding:0 0 8px}.welcome-panel .welcome-icon{background:0 0!important}#dashboard_right_now .search-engines-info:before,#dashboard_right_now li a:before,#dashboard_right_now li span:before,.welcome-panel .welcome-icon:before{color:#646970;font:normal 20px/1 dashicons;speak:never;display:inline-block;padding:0 10px 0 0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:"\f119";top:-3px}.welcome-panel .welcome-add-page:before{content:"\f132";top:-1px}.welcome-panel .welcome-setup-home:before{content:"\f102";top:-1px}.welcome-panel .welcome-view-site:before{content:"\f115";top:-2px}.welcome-panel .welcome-widgets-menus:before{content:"\f116";top:-2px}.welcome-panel .welcome-widgets:before{content:"\f538";top:-2px}.welcome-panel .welcome-menus:before{content:"\f163";top:-2px}.welcome-panel .welcome-comments:before{content:"\f117";top:-1px}.welcome-panel .welcome-learn-more:before{content:"\f118";top:-1px}#dashboard_right_now .search-engines-info:before,#dashboard_right_now li a:before,#dashboard_right_now li>span:before{content:"\f159";padding:0 5px 0 0}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:"\f105"}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:"\f109"}#dashboard_right_now .comment-count a:before{content:"\f101"}#dashboard_right_now .comment-mod-count a:before{content:"\f125"}#dashboard_right_now .storage-count a:before{content:"\f104"}#dashboard_right_now .storage-count.warning a:before{content:"\f153"}#dashboard_right_now .search-engines-info:before{content:"\f348"}.community-events-errors{margin:0}.community-events-loading{padding:10px 12px 8px}.community-events{margin-bottom:6px;padding:0 12px}.community-events .spinner{float:none;margin:5px 2px 0;vertical-align:top}.community-events form[aria-hidden=true],.community-events-errors [aria-hidden=true],.community-events-errors[aria-hidden=true],.community-events-loading[aria-hidden=true],.community-events[aria-hidden=true]{display:none}.community-events .activity-block:first-child,.community-events h2{padding-top:12px;padding-bottom:10px}.community-events-form{margin:15px 0 5px}.community-events-form .regular-text{width:40%;height:29px;margin:0;vertical-align:top}.community-events li.event-none{border-left:4px solid #72aee6}#dashboard-widgets .community-events li.event-none a{text-decoration:underline}.community-events-form label{display:inline-block;vertical-align:top;line-height:2.15384615;height:28px}.community-events .activity-block>p{margin-bottom:0;display:inline}.community-events-toggle-location{vertical-align:middle}#community-events-submit{margin-left:3px;margin-right:3px}#dashboard-widgets .community-events-cancel.button-link{vertical-align:top;line-height:2;height:28px;text-decoration:underline}.community-events ul{background-color:#f6f7f7;padding-left:0;padding-right:0;padding-bottom:0}.community-events li{margin:0;padding:8px 12px;color:#2c3338}.community-events li:first-child{border-top:1px solid #f0f0f1}.community-events li~li{border-top:1px solid #f0f0f1}.community-events .activity-block.last{border-bottom:1px solid #f0f0f1;padding-top:0;margin-top:-1px}.community-events .event-info{display:block}.event-icon{height:18px;padding-right:10px;width:18px;display:none}.event-icon:before{color:#646970;font-size:18px}.event-meetup .event-icon:before{content:"\f484"}.event-wordcamp .event-icon:before{content:"\f486"}.community-events .event-title{font-weight:600;display:block}.community-events .event-date,.community-events .event-time{display:block}.community-events-footer{margin-top:0;margin-bottom:0;padding:12px;border-top:1px solid #f0f0f1;color:#dcdcde}.community-events-footer .screen-reader-text{height:inherit;white-space:nowrap}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .widget-loading{padding:12px 12px 0;margin-bottom:1em!important}#dashboard_primary .inside .notice{margin:0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#646970;margin-top:4px}#dashboard_primary .rss-widget{font-size:13px;padding:0 12px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#646970}#dashboard_primary .rss-widget span.rss-date{margin-left:12px}#dashboard_primary .rss-widget ul li{padding:4px 0;margin:0}#dashboard_right_now ul{margin:0;display:inline-block;width:100%}#dashboard_right_now li{width:50%;float:left;margin-bottom:10px}#dashboard_right_now .inside{padding:0}#dashboard_right_now .main{padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{float:right;position:relative;top:-5px;margin-left:5px}#dashboard_right_now p.search-engines-info{margin:1em 0}.mu-storage{overflow:hidden}#dashboard-widgets h3.mu-storage{margin:0 0 10px;padding:0;font-size:14px;font-weight:400}#dashboard_right_now .sub{color:#50575e;background:#f6f7f7;border-top:1px solid #f0f0f1;padding:10px 12px 6px}#dashboard_right_now .sub h3{color:#50575e}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d63638}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #f0f0f1;border-width:1px 1px 1px 0}#dashboard_quick_press form{margin:12px}#dashboard_quick_press .drafts{padding:10px 0 0}#dashboard_quick_press label{display:inline-block;margin-bottom:4px}#dashboard_quick_press input,#dashboard_quick_press textarea{box-sizing:border-box;margin:0}#dashboard-widgets .postbox form .submit{margin:-39px 0;float:right}#description-wrap{margin-top:12px}#quick-press textarea#content{min-height:90px;max-height:1300px;margin:0 0 8px;padding:6px 7px;resize:none}.js #dashboard_quick_press .drafts{border-top:1px solid #f0f0f1}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts .view-all{float:right;margin:0 12px 0 0}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts li time{color:#646970}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title{word-wrap:break-word}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{margin:0 5px 0 0}#dashboard-widgets h3,#dashboard-widgets h4,#dashboard_quick_press .drafts h2{margin:0 12px 8px;padding:0;font-size:14px;font-weight:400;color:#1d2327}#dashboard_quick_press .drafts h2{line-height:inherit}#dashboard-widgets .inside h3,#dashboard-widgets .inside h4{margin-left:0;margin-right:0}#dashboard_activity .comment-meta span.approve:before{content:"\f227";font:20px/.5 dashicons;margin-left:5px;vertical-align:middle;position:relative;top:-1px;margin-right:2px}#dashboard_activity .inside{margin:0;padding-bottom:0}#dashboard_activity .no-activity{overflow:hidden;padding:12px 0;text-align:center}#dashboard_activity .no-activity p{color:#646970;font-size:16px}#dashboard_activity .subsubsub{float:none;border-top:1px solid #f0f0f1;margin:0 -12px;padding:8px 12px 4px}#dashboard_activity .subsubsub a .count,#dashboard_activity .subsubsub a.current .count{color:#646970}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{margin-bottom:8px}#future-posts ul span,#published-posts ul span{display:inline-block;margin-right:5px;min-width:150px;color:#646970}.activity-block{border-bottom:1px solid #f0f0f1;margin:0 -12px;padding:8px 12px 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#dcdcde}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-left:12px}#activity-widget #the-comment-list .comment-item{background:#f6f7f7;padding:12px;position:relative}#activity-widget #the-comment-list .avatar{position:absolute;top:12px}#activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar{padding-left:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .comment-item:first-child{border-top:1px solid #f0f0f1}#activity-widget #the-comment-list .unapproved{background-color:#fcf9e8}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;background:#d63638;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.postbox .button-link .edit-box{display:none}.edit-box{opacity:0}.edit-box:focus,.hndle:hover .edit-box{opacity:1}#dashboard-widgets form .input-text-wrap input{width:100%}#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets .button-link,#dashboard-widgets li a,.community-events-footer a{text-decoration:none}#dashboard-widgets h2 a{text-decoration:underline}#dashboard-widgets .hndle .postbox-title-action{float:right;line-height:1.2}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative;margin:0 -12px}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{min-height:50px;margin:0;padding:12px}#latest-comments #the-comment-list .pingback{padding-left:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-meta{line-height:1.5;margin:0;color:#646970}#latest-comments #the-comment-list .comment-meta cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:13px;font-weight:600;line-height:1.4}.rss-widget ul li{line-height:1.5;margin-bottom:12px}.rss-widget span.rss-date{color:#646970;font-size:13px;margin-left:3px}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0}.rss-widget cite:before{content:"\2014"}.dashboard-comment-wrap{word-wrap:break-word}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{text-decoration:underline}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-right:128px}#dashboard_browser_nag .browser-icon{margin-top:-32px}#dashboard_browser_nag.postbox{background-color:#b32d2e;background-image:none;border-color:#b32d2e;color:#fff;box-shadow:none}#dashboard_browser_nag.postbox h2{border-bottom-color:transparent;background:transparent none;color:#fff;box-shadow:none}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag.postbox .postbox-header{border-color:transparent}#dashboard_browser_nag h2.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}#dashboard_php_nag .dashicons-warning{color:#dba617;padding-right:6px}#dashboard_php_nag.php-no-security-updates .dashicons-warning,#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning{color:#d63638}#dashboard_php_nag h2{display:inline-block}#dashboard_php_nag p{margin:12px 0}#dashboard_php_nag .button .dashicons-external{line-height:25px}.bigger-bolder-text{font-weight:600;font-size:14px}@media only screen and (min-width:1600px){.welcome-panel .welcome-panel-column-container{display:flex;justify-content:center}.welcome-panel-column{width:100%;max-width:460px}}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}#dashboard-widgets .meta-box-sortables{min-height:0}.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables{min-height:100px}#dashboard-widgets .meta-box-sortables.empty-container{margin-bottom:0}}@media only screen and (min-width:800px) and (max-width:1499px){#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{outline:0;height:0;min-height:0;margin-bottom:0}#dashboard-widgets #postbox-container-3 .empty-container:after,#dashboard-widgets #postbox-container-4 .empty-container:after{display:none}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container{outline:0;height:0;min-height:0;margin-bottom:0}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}#dashboard-widgets .postbox-container .empty-container:after{display:block}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right}#dashboard-widgets #postbox-container-4 .empty-container{outline:0;height:0;min-height:0;margin-bottom:0}#dashboard-widgets #postbox-container-4 .empty-container:after{display:none}#dashboard-widgets .postbox-container .empty-container:after{display:block}}@media only screen and (min-width:1801px){#dashboard-widgets .postbox-container .empty-container:after{display:block}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column li{display:inline-block;margin-right:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:1180px) and (min-width:783px){.welcome-panel-column{grid-template-columns:1fr}.welcome-panel-column>svg,[class*=welcome-panel-icon]{display:none}}@media screen and (max-width:782px){.welcome-panel .welcome-panel-column-container{grid-template-columns:1fr;box-sizing:border-box;padding:32px;width:100%}.welcome-panel .welcome-panel-column-content{max-width:520px}.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:40px;white-space:nowrap;width:20px;height:20px;padding:5px;top:5px;right:5px}.welcome-panel .welcome-panel-close::before{top:5px;left:-35px}#dashboard-widgets h2{padding:12px}#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 10px 5px 0}.community-events-toggle-location{height:38px;vertical-align:baseline}.community-events-form .regular-text{height:32px}#community-events-submit{margin-bottom:0;vertical-align:top}#dashboard-widgets .community-events-cancel.button-link,.community-events-form label{font-size:14px;line-height:normal;height:auto;padding:6px 0;border:1px solid transparent}.community-events .spinner{margin-top:7px}}@media screen and (max-width:600px){.welcome-panel-header{padding:32px 32px 64px}.welcome-panel-header-image{display:none}}@media screen and (max-width:480px){.welcome-panel-column{gap:16px}}@media screen and (max-width:360px){.welcome-panel-column{grid-template-columns:1fr}.welcome-panel-column>svg,[class*=welcome-panel-icon]{display:none}}@media screen and (min-width:355px){.community-events .event-info{display:table-row;float:left;max-width:59%}.event-icon,.event-icon[aria-hidden=true]{display:table-cell}.event-info-inner{display:table-cell}.community-events .event-date-time{float:right;max-width:39%}.community-events .event-date,.community-events .event-time{text-align:right}} \ No newline at end of file diff --git a/build/wp-admin/css/deprecated-media-rtl.css b/build/wp-admin/css/deprecated-media-rtl.css deleted file mode 100644 index 3211e7db4c..0000000000 --- a/build/wp-admin/css/deprecated-media-rtl.css +++ /dev/null @@ -1,430 +0,0 @@ -/*! This file is auto-generated */ -/* Styles for the media library iframe (not used on the Library screen) */ - -div#media-upload-header { - margin: 0; - padding: 5px 5px 0; - font-weight: 600; - position: relative; - border-bottom: 1px solid #dcdcde; - background: #f6f7f7; -} - -#sidemenu { - overflow: hidden; - float: none; - position: relative; - right: 0; - bottom: -1px; - margin: 0 5px; - padding-right: 10px; - list-style: none; - font-size: 12px; - font-weight: 400; -} - -#sidemenu a { - padding: 0 7px; - display: block; - float: right; - line-height: 28px; - border-top: 1px solid #f6f7f7; - border-bottom: 1px solid #dcdcde; - background-color: #f6f7f7; - text-decoration: none; - transition: none; -} - -#sidemenu li { - display: inline; - line-height: 200%; - list-style: none; - text-align: center; - white-space: nowrap; - margin: 0; - padding: 0; -} - -#sidemenu a.current { - font-weight: 400; - padding-right: 6px; - padding-left: 6px; - border: 1px solid #dcdcde; - border-bottom-color: #f0f0f1; - background-color: #f0f0f1; - color: #000; -} - -#media-upload:after { /* clearfix */ - content: ""; - display: table; - clear: both; -} - -#media-upload .slidetoggle { - border-top-color: #dcdcde; -} - -#media-upload input[type="radio"] { - padding: 0; -} - -.media-upload-form label.form-help, -td.help { - color: #646970; -} - -form { - margin: 1em; -} - -#search-filter { - text-align: left; -} - -th { - position: relative; -} - -.media-upload-form label.form-help, td.help { - font-family: sans-serif; - font-style: italic; - font-weight: 400; -} - -.media-upload-form p.help { - margin: 0; - padding: 0; -} - -.media-upload-form fieldset { - width: 100%; - border: none; - text-align: justify; - margin: 0 0 1em; - padding: 0; -} - -/* specific to the image upload form */ - -.image-align-none-label { - background: url(../images/align-none.png) no-repeat center right; -} - -.image-align-left-label { - background: url(../images/align-left.png) no-repeat center right; -} - -.image-align-center-label { - background: url(../images/align-center.png) no-repeat center right; -} - -.image-align-right-label { - background: url(../images/align-right.png) no-repeat center right; -} - -tr.image-size td { - width: 460px; -} - -tr.image-size div.image-size-item { - margin: 0 0 5px; -} - -#library-form .progress, -#gallery-form .progress, -.insert-gallery, -.describe.startopen, -.describe.startclosed { - display: none; -} - -.media-item .thumbnail { - max-width: 128px; - max-height: 128px; -} - -thead.media-item-info tr { - background-color: transparent; -} - -.form-table thead.media-item-info { - border: 8px solid #fff; -} - -abbr.required, -span.required { - text-decoration: none; - border: none; -} - -.describe label { - display: inline; -} - -.describe td.error { - padding: 2px 8px; -} - -.describe td.A1 { - width: 132px; -} - -.describe input[type="text"], -.describe textarea { - width: 460px; - border-width: 1px; - border-style: solid; -} - -/* Specific to Uploader */ - -#media-upload p.ml-submit { - padding: 1em 0; -} - -#media-upload p.help, -#media-upload label.help { - font-family: sans-serif; - font-style: italic; - font-weight: 400; -} - -#media-upload .ui-sortable .media-item { - cursor: move; -} - -#media-upload tr.image-size { - margin-bottom: 1em; - height: 3em; -} - -#media-upload #filter { - width: 623px; -} - -#media-upload #filter .subsubsub { - margin: 8px 0; -} - -#media-upload .tablenav-pages a, -#media-upload .tablenav-pages .current { - display: inline-block; - padding: 4px 5px 6px; - font-size: 16px; - line-height: 1; - text-align: center; - text-decoration: none; -} - -#media-upload .tablenav-pages a { - min-width: 17px; - border: 1px solid #c3c4c7; - background: #f6f7f7; -} - -#filter .tablenav select { - border-style: solid; - border-width: 1px; - padding: 2px; - vertical-align: top; - width: auto; -} - -#media-upload .del-attachment { - display: none; - margin: 5px 0; -} - -.menu_order { - float: left; - font-size: 11px; - margin: 8px 10px 0; -} - -.menu_order_input { - border: 1px solid #dcdcde; - font-size: 10px; - padding: 1px; - width: 23px; -} - -.ui-sortable-helper { - background-color: #fff; - border: 1px solid #a7aaad; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#media-upload th.order-head { - width: 20%; - text-align: center; -} - -#media-upload th.actions-head { - width: 25%; - text-align: center; -} - -#media-upload a.wp-post-thumbnail { - margin: 0 20px; -} - -#media-upload .widefat { - border-style: solid solid none; -} - -.sorthelper { - height: 37px; - width: 623px; - display: block; -} - -#gallery-settings th.label { - width: 160px; -} - -#gallery-settings #basic th.label { - padding: 5px 0 5px 5px; -} - -#gallery-settings .title { - clear: both; - padding: 0 0 3px; - font-size: 1.6em; - border-bottom: 1px solid #dcdcde; -} - -h3.media-title { - font-size: 1.6em; -} - -h4.media-sub-title { - border-bottom: 1px solid #dcdcde; - font-size: 1.3em; - margin: 12px; - padding: 0 0 3px; -} - -#gallery-settings .title, -h3.media-title, -h4.media-sub-title { - font-family: Georgia,"Times New Roman",Times,serif; - font-weight: 400; - color: #50575e; -} - -#gallery-settings .describe td { - vertical-align: middle; - height: 3em; -} - -#gallery-settings .describe th.label { - padding-top: .5em; - text-align: right; -} - -#gallery-settings .describe { - padding: 5px; - width: 100%; - clear: both; - cursor: default; - background: #fff; -} - -#gallery-settings .describe select { - width: 15em; -} - -#gallery-settings .describe select option, -#gallery-settings .describe td { - padding: 0; -} - -#gallery-settings label, -#gallery-settings legend { - font-size: 13px; - color: #3c434a; - margin-left: 15px; -} - -#gallery-settings .align .field label { - margin: 0 3px 0 1em; -} - -#gallery-settings p.ml-submit { - border-top: 1px solid #dcdcde; -} - -#gallery-settings select#columns { - width: 6em; -} - -#sort-buttons { - font-size: 0.8em; - margin: 3px 0 -8px 25px; - text-align: left; - max-width: 625px; -} - -#sort-buttons a { - text-decoration: none; -} - -#sort-buttons #asc, -#sort-buttons #showall { - padding-right: 5px; -} - -#sort-buttons span { - margin-left: 25px; -} - -p.media-types { - margin: 0; - padding: 1em; -} - -p.media-types-required-info { - padding-top: 0; -} - -tr.not-image { - display: none; -} - -table.not-image tr.not-image { - display: table-row; -} - -table.not-image tr.image-only { - display: none; -} - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .image-align-none-label { - background-image: url(../images/align-none-2x.png?ver=20120916); - background-size: 21px 15px; - } - - .image-align-left-label { - background-image: url(../images/align-left-2x.png?ver=20120916); - background-size: 22px 15px; - } - - .image-align-center-label { - background-image: url(../images/align-center-2x.png?ver=20120916); - background-size: 21px 15px; - } - - .image-align-right-label { - background-image: url(../images/align-right-2x.png?ver=20120916); - background-size: 22px 15px; - } -} diff --git a/build/wp-admin/css/deprecated-media-rtl.min.css b/build/wp-admin/css/deprecated-media-rtl.min.css deleted file mode 100644 index d08a18838b..0000000000 --- a/build/wp-admin/css/deprecated-media-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -div#media-upload-header{margin:0;padding:5px 5px 0;font-weight:600;position:relative;border-bottom:1px solid #dcdcde;background:#f6f7f7}#sidemenu{overflow:hidden;float:none;position:relative;right:0;bottom:-1px;margin:0 5px;padding-right:10px;list-style:none;font-size:12px;font-weight:400}#sidemenu a{padding:0 7px;display:block;float:right;line-height:28px;border-top:1px solid #f6f7f7;border-bottom:1px solid #dcdcde;background-color:#f6f7f7;text-decoration:none;transition:none}#sidemenu li{display:inline;line-height:200%;list-style:none;text-align:center;white-space:nowrap;margin:0;padding:0}#sidemenu a.current{font-weight:400;padding-right:6px;padding-left:6px;border:1px solid #dcdcde;border-bottom-color:#f0f0f1;background-color:#f0f0f1;color:#000}#media-upload:after{content:"";display:table;clear:both}#media-upload .slidetoggle{border-top-color:#dcdcde}#media-upload input[type=radio]{padding:0}.media-upload-form label.form-help,td.help{color:#646970}form{margin:1em}#search-filter{text-align:left}th{position:relative}.media-upload-form label.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:400}.media-upload-form p.help{margin:0;padding:0}.media-upload-form fieldset{width:100%;border:none;text-align:justify;margin:0 0 1em;padding:0}.image-align-none-label{background:url(../images/align-none.png) no-repeat center right}.image-align-left-label{background:url(../images/align-left.png) no-repeat center right}.image-align-center-label{background:url(../images/align-center.png) no-repeat center right}.image-align-right-label{background:url(../images/align-right.png) no-repeat center right}tr.image-size td{width:460px}tr.image-size div.image-size-item{margin:0 0 5px}#gallery-form .progress,#library-form .progress,.describe.startclosed,.describe.startopen,.insert-gallery{display:none}.media-item .thumbnail{max-width:128px;max-height:128px}thead.media-item-info tr{background-color:transparent}.form-table thead.media-item-info{border:8px solid #fff}abbr.required,span.required{text-decoration:none;border:none}.describe label{display:inline}.describe td.error{padding:2px 8px}.describe td.A1{width:132px}.describe input[type=text],.describe textarea{width:460px;border-width:1px;border-style:solid}#media-upload p.ml-submit{padding:1em 0}#media-upload label.help,#media-upload p.help{font-family:sans-serif;font-style:italic;font-weight:400}#media-upload .ui-sortable .media-item{cursor:move}#media-upload tr.image-size{margin-bottom:1em;height:3em}#media-upload #filter{width:623px}#media-upload #filter .subsubsub{margin:8px 0}#media-upload .tablenav-pages .current,#media-upload .tablenav-pages a{display:inline-block;padding:4px 5px 6px;font-size:16px;line-height:1;text-align:center;text-decoration:none}#media-upload .tablenav-pages a{min-width:17px;border:1px solid #c3c4c7;background:#f6f7f7}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto}#media-upload .del-attachment{display:none;margin:5px 0}.menu_order{float:left;font-size:11px;margin:8px 10px 0}.menu_order_input{border:1px solid #dcdcde;font-size:10px;padding:1px;width:23px}.ui-sortable-helper{background-color:#fff;border:1px solid #a7aaad;opacity:.6}#media-upload th.order-head{width:20%;text-align:center}#media-upload th.actions-head{width:25%;text-align:center}#media-upload a.wp-post-thumbnail{margin:0 20px}#media-upload .widefat{border-style:solid solid none}.sorthelper{height:37px;width:623px;display:block}#gallery-settings th.label{width:160px}#gallery-settings #basic th.label{padding:5px 0 5px 5px}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #dcdcde}h3.media-title{font-size:1.6em}h4.media-sub-title{border-bottom:1px solid #dcdcde;font-size:1.3em;margin:12px;padding:0 0 3px}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:400;color:#50575e}#gallery-settings .describe td{vertical-align:middle;height:3em}#gallery-settings .describe th.label{padding-top:.5em;text-align:right}#gallery-settings .describe{padding:5px;width:100%;clear:both;cursor:default;background:#fff}#gallery-settings .describe select{width:15em}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#3c434a;margin-left:15px}#gallery-settings .align .field label{margin:0 3px 0 1em}#gallery-settings p.ml-submit{border-top:1px solid #dcdcde}#gallery-settings select#columns{width:6em}#sort-buttons{font-size:.8em;margin:3px 0 -8px 25px;text-align:left;max-width:625px}#sort-buttons a{text-decoration:none}#sort-buttons #asc,#sort-buttons #showall{padding-right:5px}#sort-buttons span{margin-left:25px}p.media-types{margin:0;padding:1em}p.media-types-required-info{padding-top:0}tr.not-image{display:none}table.not-image tr.not-image{display:table-row}table.not-image tr.image-only{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.image-align-none-label{background-image:url(../images/align-none-2x.png?ver=20120916);background-size:21px 15px}.image-align-left-label{background-image:url(../images/align-left-2x.png?ver=20120916);background-size:22px 15px}.image-align-center-label{background-image:url(../images/align-center-2x.png?ver=20120916);background-size:21px 15px}.image-align-right-label{background-image:url(../images/align-right-2x.png?ver=20120916);background-size:22px 15px}} \ No newline at end of file diff --git a/build/wp-admin/css/deprecated-media.css b/build/wp-admin/css/deprecated-media.css deleted file mode 100644 index 359fc59e3c..0000000000 --- a/build/wp-admin/css/deprecated-media.css +++ /dev/null @@ -1,429 +0,0 @@ -/* Styles for the media library iframe (not used on the Library screen) */ - -div#media-upload-header { - margin: 0; - padding: 5px 5px 0; - font-weight: 600; - position: relative; - border-bottom: 1px solid #dcdcde; - background: #f6f7f7; -} - -#sidemenu { - overflow: hidden; - float: none; - position: relative; - left: 0; - bottom: -1px; - margin: 0 5px; - padding-left: 10px; - list-style: none; - font-size: 12px; - font-weight: 400; -} - -#sidemenu a { - padding: 0 7px; - display: block; - float: left; - line-height: 28px; - border-top: 1px solid #f6f7f7; - border-bottom: 1px solid #dcdcde; - background-color: #f6f7f7; - text-decoration: none; - transition: none; -} - -#sidemenu li { - display: inline; - line-height: 200%; - list-style: none; - text-align: center; - white-space: nowrap; - margin: 0; - padding: 0; -} - -#sidemenu a.current { - font-weight: 400; - padding-left: 6px; - padding-right: 6px; - border: 1px solid #dcdcde; - border-bottom-color: #f0f0f1; - background-color: #f0f0f1; - color: #000; -} - -#media-upload:after { /* clearfix */ - content: ""; - display: table; - clear: both; -} - -#media-upload .slidetoggle { - border-top-color: #dcdcde; -} - -#media-upload input[type="radio"] { - padding: 0; -} - -.media-upload-form label.form-help, -td.help { - color: #646970; -} - -form { - margin: 1em; -} - -#search-filter { - text-align: right; -} - -th { - position: relative; -} - -.media-upload-form label.form-help, td.help { - font-family: sans-serif; - font-style: italic; - font-weight: 400; -} - -.media-upload-form p.help { - margin: 0; - padding: 0; -} - -.media-upload-form fieldset { - width: 100%; - border: none; - text-align: justify; - margin: 0 0 1em; - padding: 0; -} - -/* specific to the image upload form */ - -.image-align-none-label { - background: url(../images/align-none.png) no-repeat center left; -} - -.image-align-left-label { - background: url(../images/align-left.png) no-repeat center left; -} - -.image-align-center-label { - background: url(../images/align-center.png) no-repeat center left; -} - -.image-align-right-label { - background: url(../images/align-right.png) no-repeat center left; -} - -tr.image-size td { - width: 460px; -} - -tr.image-size div.image-size-item { - margin: 0 0 5px; -} - -#library-form .progress, -#gallery-form .progress, -.insert-gallery, -.describe.startopen, -.describe.startclosed { - display: none; -} - -.media-item .thumbnail { - max-width: 128px; - max-height: 128px; -} - -thead.media-item-info tr { - background-color: transparent; -} - -.form-table thead.media-item-info { - border: 8px solid #fff; -} - -abbr.required, -span.required { - text-decoration: none; - border: none; -} - -.describe label { - display: inline; -} - -.describe td.error { - padding: 2px 8px; -} - -.describe td.A1 { - width: 132px; -} - -.describe input[type="text"], -.describe textarea { - width: 460px; - border-width: 1px; - border-style: solid; -} - -/* Specific to Uploader */ - -#media-upload p.ml-submit { - padding: 1em 0; -} - -#media-upload p.help, -#media-upload label.help { - font-family: sans-serif; - font-style: italic; - font-weight: 400; -} - -#media-upload .ui-sortable .media-item { - cursor: move; -} - -#media-upload tr.image-size { - margin-bottom: 1em; - height: 3em; -} - -#media-upload #filter { - width: 623px; -} - -#media-upload #filter .subsubsub { - margin: 8px 0; -} - -#media-upload .tablenav-pages a, -#media-upload .tablenav-pages .current { - display: inline-block; - padding: 4px 5px 6px; - font-size: 16px; - line-height: 1; - text-align: center; - text-decoration: none; -} - -#media-upload .tablenav-pages a { - min-width: 17px; - border: 1px solid #c3c4c7; - background: #f6f7f7; -} - -#filter .tablenav select { - border-style: solid; - border-width: 1px; - padding: 2px; - vertical-align: top; - width: auto; -} - -#media-upload .del-attachment { - display: none; - margin: 5px 0; -} - -.menu_order { - float: right; - font-size: 11px; - margin: 8px 10px 0; -} - -.menu_order_input { - border: 1px solid #dcdcde; - font-size: 10px; - padding: 1px; - width: 23px; -} - -.ui-sortable-helper { - background-color: #fff; - border: 1px solid #a7aaad; - opacity: 0.6; - filter: alpha(opacity=60); -} - -#media-upload th.order-head { - width: 20%; - text-align: center; -} - -#media-upload th.actions-head { - width: 25%; - text-align: center; -} - -#media-upload a.wp-post-thumbnail { - margin: 0 20px; -} - -#media-upload .widefat { - border-style: solid solid none; -} - -.sorthelper { - height: 37px; - width: 623px; - display: block; -} - -#gallery-settings th.label { - width: 160px; -} - -#gallery-settings #basic th.label { - padding: 5px 5px 5px 0; -} - -#gallery-settings .title { - clear: both; - padding: 0 0 3px; - font-size: 1.6em; - border-bottom: 1px solid #dcdcde; -} - -h3.media-title { - font-size: 1.6em; -} - -h4.media-sub-title { - border-bottom: 1px solid #dcdcde; - font-size: 1.3em; - margin: 12px; - padding: 0 0 3px; -} - -#gallery-settings .title, -h3.media-title, -h4.media-sub-title { - font-family: Georgia,"Times New Roman",Times,serif; - font-weight: 400; - color: #50575e; -} - -#gallery-settings .describe td { - vertical-align: middle; - height: 3em; -} - -#gallery-settings .describe th.label { - padding-top: .5em; - text-align: left; -} - -#gallery-settings .describe { - padding: 5px; - width: 100%; - clear: both; - cursor: default; - background: #fff; -} - -#gallery-settings .describe select { - width: 15em; -} - -#gallery-settings .describe select option, -#gallery-settings .describe td { - padding: 0; -} - -#gallery-settings label, -#gallery-settings legend { - font-size: 13px; - color: #3c434a; - margin-right: 15px; -} - -#gallery-settings .align .field label { - margin: 0 1em 0 3px; -} - -#gallery-settings p.ml-submit { - border-top: 1px solid #dcdcde; -} - -#gallery-settings select#columns { - width: 6em; -} - -#sort-buttons { - font-size: 0.8em; - margin: 3px 25px -8px 0; - text-align: right; - max-width: 625px; -} - -#sort-buttons a { - text-decoration: none; -} - -#sort-buttons #asc, -#sort-buttons #showall { - padding-left: 5px; -} - -#sort-buttons span { - margin-right: 25px; -} - -p.media-types { - margin: 0; - padding: 1em; -} - -p.media-types-required-info { - padding-top: 0; -} - -tr.not-image { - display: none; -} - -table.not-image tr.not-image { - display: table-row; -} - -table.not-image tr.image-only { - display: none; -} - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .image-align-none-label { - background-image: url(../images/align-none-2x.png?ver=20120916); - background-size: 21px 15px; - } - - .image-align-left-label { - background-image: url(../images/align-left-2x.png?ver=20120916); - background-size: 22px 15px; - } - - .image-align-center-label { - background-image: url(../images/align-center-2x.png?ver=20120916); - background-size: 21px 15px; - } - - .image-align-right-label { - background-image: url(../images/align-right-2x.png?ver=20120916); - background-size: 22px 15px; - } -} diff --git a/build/wp-admin/css/deprecated-media.min.css b/build/wp-admin/css/deprecated-media.min.css deleted file mode 100644 index 77543f742d..0000000000 --- a/build/wp-admin/css/deprecated-media.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -div#media-upload-header{margin:0;padding:5px 5px 0;font-weight:600;position:relative;border-bottom:1px solid #dcdcde;background:#f6f7f7}#sidemenu{overflow:hidden;float:none;position:relative;left:0;bottom:-1px;margin:0 5px;padding-left:10px;list-style:none;font-size:12px;font-weight:400}#sidemenu a{padding:0 7px;display:block;float:left;line-height:28px;border-top:1px solid #f6f7f7;border-bottom:1px solid #dcdcde;background-color:#f6f7f7;text-decoration:none;transition:none}#sidemenu li{display:inline;line-height:200%;list-style:none;text-align:center;white-space:nowrap;margin:0;padding:0}#sidemenu a.current{font-weight:400;padding-left:6px;padding-right:6px;border:1px solid #dcdcde;border-bottom-color:#f0f0f1;background-color:#f0f0f1;color:#000}#media-upload:after{content:"";display:table;clear:both}#media-upload .slidetoggle{border-top-color:#dcdcde}#media-upload input[type=radio]{padding:0}.media-upload-form label.form-help,td.help{color:#646970}form{margin:1em}#search-filter{text-align:right}th{position:relative}.media-upload-form label.form-help,td.help{font-family:sans-serif;font-style:italic;font-weight:400}.media-upload-form p.help{margin:0;padding:0}.media-upload-form fieldset{width:100%;border:none;text-align:justify;margin:0 0 1em;padding:0}.image-align-none-label{background:url(../images/align-none.png) no-repeat center left}.image-align-left-label{background:url(../images/align-left.png) no-repeat center left}.image-align-center-label{background:url(../images/align-center.png) no-repeat center left}.image-align-right-label{background:url(../images/align-right.png) no-repeat center left}tr.image-size td{width:460px}tr.image-size div.image-size-item{margin:0 0 5px}#gallery-form .progress,#library-form .progress,.describe.startclosed,.describe.startopen,.insert-gallery{display:none}.media-item .thumbnail{max-width:128px;max-height:128px}thead.media-item-info tr{background-color:transparent}.form-table thead.media-item-info{border:8px solid #fff}abbr.required,span.required{text-decoration:none;border:none}.describe label{display:inline}.describe td.error{padding:2px 8px}.describe td.A1{width:132px}.describe input[type=text],.describe textarea{width:460px;border-width:1px;border-style:solid}#media-upload p.ml-submit{padding:1em 0}#media-upload label.help,#media-upload p.help{font-family:sans-serif;font-style:italic;font-weight:400}#media-upload .ui-sortable .media-item{cursor:move}#media-upload tr.image-size{margin-bottom:1em;height:3em}#media-upload #filter{width:623px}#media-upload #filter .subsubsub{margin:8px 0}#media-upload .tablenav-pages .current,#media-upload .tablenav-pages a{display:inline-block;padding:4px 5px 6px;font-size:16px;line-height:1;text-align:center;text-decoration:none}#media-upload .tablenav-pages a{min-width:17px;border:1px solid #c3c4c7;background:#f6f7f7}#filter .tablenav select{border-style:solid;border-width:1px;padding:2px;vertical-align:top;width:auto}#media-upload .del-attachment{display:none;margin:5px 0}.menu_order{float:right;font-size:11px;margin:8px 10px 0}.menu_order_input{border:1px solid #dcdcde;font-size:10px;padding:1px;width:23px}.ui-sortable-helper{background-color:#fff;border:1px solid #a7aaad;opacity:.6}#media-upload th.order-head{width:20%;text-align:center}#media-upload th.actions-head{width:25%;text-align:center}#media-upload a.wp-post-thumbnail{margin:0 20px}#media-upload .widefat{border-style:solid solid none}.sorthelper{height:37px;width:623px;display:block}#gallery-settings th.label{width:160px}#gallery-settings #basic th.label{padding:5px 5px 5px 0}#gallery-settings .title{clear:both;padding:0 0 3px;font-size:1.6em;border-bottom:1px solid #dcdcde}h3.media-title{font-size:1.6em}h4.media-sub-title{border-bottom:1px solid #dcdcde;font-size:1.3em;margin:12px;padding:0 0 3px}#gallery-settings .title,h3.media-title,h4.media-sub-title{font-family:Georgia,"Times New Roman",Times,serif;font-weight:400;color:#50575e}#gallery-settings .describe td{vertical-align:middle;height:3em}#gallery-settings .describe th.label{padding-top:.5em;text-align:left}#gallery-settings .describe{padding:5px;width:100%;clear:both;cursor:default;background:#fff}#gallery-settings .describe select{width:15em}#gallery-settings .describe select option,#gallery-settings .describe td{padding:0}#gallery-settings label,#gallery-settings legend{font-size:13px;color:#3c434a;margin-right:15px}#gallery-settings .align .field label{margin:0 1em 0 3px}#gallery-settings p.ml-submit{border-top:1px solid #dcdcde}#gallery-settings select#columns{width:6em}#sort-buttons{font-size:.8em;margin:3px 25px -8px 0;text-align:right;max-width:625px}#sort-buttons a{text-decoration:none}#sort-buttons #asc,#sort-buttons #showall{padding-left:5px}#sort-buttons span{margin-right:25px}p.media-types{margin:0;padding:1em}p.media-types-required-info{padding-top:0}tr.not-image{display:none}table.not-image tr.not-image{display:table-row}table.not-image tr.image-only{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.image-align-none-label{background-image:url(../images/align-none-2x.png?ver=20120916);background-size:21px 15px}.image-align-left-label{background-image:url(../images/align-left-2x.png?ver=20120916);background-size:22px 15px}.image-align-center-label{background-image:url(../images/align-center-2x.png?ver=20120916);background-size:21px 15px}.image-align-right-label{background-image:url(../images/align-right-2x.png?ver=20120916);background-size:22px 15px}} \ No newline at end of file diff --git a/build/wp-admin/css/edit-rtl.css b/build/wp-admin/css/edit-rtl.css deleted file mode 100644 index 97907fa373..0000000000 --- a/build/wp-admin/css/edit-rtl.css +++ /dev/null @@ -1,2033 +0,0 @@ -/*! This file is auto-generated */ -#poststuff { - padding-top: 10px; - min-width: 763px; -} - -#poststuff #post-body { - padding: 0; -} - -#poststuff .postbox-container { - width: 100%; -} - -#poststuff #post-body.columns-2 { - margin-left: 300px; -} - -/*------------------------------------------------------------------------------ - 11.0 - Write/Edit Post Screen -------------------------------------------------------------------------------*/ - -#show-comments { - overflow: hidden; -} - -#save-action .spinner, -#show-comments a { - float: right; -} - -#show-comments .spinner { - float: none; - margin-top: 0; -} - -#lost-connection-notice .spinner { - visibility: visible; - float: right; - margin: 0 0 0 5px; -} - -#titlediv { - position: relative; -} - -#titlediv label { - cursor: text; -} - -#titlediv div.inside { - margin: 0; -} - -#poststuff #titlewrap { - border: 0; - padding: 0; -} - -#titlediv #title { - padding: 3px 8px; - font-size: 1.7em; - line-height: 100%; - height: 1.7em; - width: 100%; - outline: none; - margin: 0 0 3px; - background-color: #fff; -} - -#titlediv #title-prompt-text { - color: #646970; - position: absolute; - font-size: 1.7em; - padding: 10px; - pointer-events: none; -} - -input#link_description, -input#link_url { - width: 100%; -} - -#pending { - background: 100% none; - border: 0 none; - padding: 0; - font-size: 11px; - margin-top: -1px; -} - -#edit-slug-box, -#comment-link-box { - line-height: 1.84615384; - min-height: 25px; - margin-top: 5px; - padding: 0 10px; - color: #646970; -} - -#sample-permalink { - display: inline-block; - max-width: 100%; - word-wrap: break-word; -} - -#edit-slug-box .cancel { - margin-left: 10px; - padding: 0; - font-size: 11px; -} - -#comment-link-box { - margin: 5px 0; - padding: 0 5px; -} - -#editable-post-name-full { - display: none; -} - -#editable-post-name { - font-weight: 600; -} - -#editable-post-name input { - font-size: 13px; - font-weight: 400; - height: 24px; - margin: 0; - width: 16em; -} - -.postarea h3 label { - float: right; -} - -body.post-new-php .submitbox .submitdelete { - display: none; -} - -.submitbox .submit a:hover { - text-decoration: underline; -} - -.submitbox .submit input { - margin-bottom: 8px; - margin-left: 4px; - padding: 6px; -} - -#post-status-select { - margin-top: 3px; -} - -body.post-type-wp_navigation div#minor-publishing, -body.post-type-wp_navigation .inline-edit-status { - display: none; -} - -/* Post Screen */ - -/* Only highlight drop zones when dragging and only in the 2 columns layout. */ -.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables { - outline: 3px dashed #646970; - /* Prevent margin on the child from collapsing with margin on the parent. */ - display: flow-root; - /* - * This min-height is meant to limit jumpiness while dragging. It's equivalent - * to the minimum height of the sortable-placeholder which is given by the height - * of a collapsed post box (36px + 1px top and bottom borders) + the placeholder - * bottom margin (20px) + 2 additional pixels to compensate browsers rounding. - */ - min-height: 60px; - margin-bottom: 20px; -} - -.postbox { - position: relative; - min-width: 255px; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; -} - -#trackback_url { - width: 99%; -} - -#normal-sortables .postbox .submit { - background: transparent none; - border: 0 none; - float: left; - padding: 0 12px; - margin: 0; -} - -.category-add input[type="text"], -.category-add select { - width: 100%; - max-width: 260px; - vertical-align: baseline; -} - -#side-sortables .category-add input[type="text"], -#side-sortables .category-add select { - margin: 0 0 1em; -} - -ul.category-tabs li, -#side-sortables .add-menu-item-tabs li, -.wp-tab-bar li { - display: inline; - line-height: 1.35; -} - -.no-js .category-tabs li.hide-if-no-js { - display: none; -} - -.category-tabs a, -#side-sortables .add-menu-item-tabs a, -.wp-tab-bar a { - text-decoration: none; -} - -/* @todo: do these really need to be so specific? */ -#side-sortables .category-tabs .tabs a, -#side-sortables .add-menu-item-tabs .tabs a, -.wp-tab-bar .wp-tab-active a, -#post-body ul.category-tabs li.tabs a, -#post-body ul.add-menu-item-tabs li.tabs a { - color: #2c3338; -} - -.category-tabs { - margin: 8px 0 5px; -} - -/* Back-compat for pre-4.4 */ -#category-adder h4 { - margin: 0; -} - -.taxonomy-add-new { - display: inline-block; - margin: 10px 0; - font-weight: 600; -} - -#side-sortables .add-menu-item-tabs, -.wp-tab-bar { - margin-bottom: 3px; -} - -#normal-sortables .postbox #replyrow .submit { - float: none; - margin: 0; - padding: 5px 7px 10px; - overflow: hidden; -} - -#side-sortables .submitbox .submit input, -#side-sortables .submitbox .submit .preview, -#side-sortables .submitbox .submit a.preview:hover { - border: 0 none; -} - -/* @todo: make this a more generic class */ -ul.category-tabs, -ul.add-menu-item-tabs, -ul.wp-tab-bar { - margin-top: 12px; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li { - border: solid 1px transparent; - position: relative; -} - -ul.category-tabs li.tabs, -ul.add-menu-item-tabs li.tabs, -.wp-tab-active { - border: 1px solid #dcdcde; - border-bottom-color: #fff; - background-color: #fff; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li, -ul.wp-tab-bar li { - padding: 3px 5px 6px; -} - -#set-post-thumbnail { - display: inline-block; - max-width: 100%; -} - -#postimagediv .inside img { - max-width: 100%; - height: auto; - width: auto; - vertical-align: top; - background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 100% 0, 10px 10px; - background-size: 20px 20px; -} - -form#tags-filter { - position: relative; -} - -/* Global classes */ -.wp-hidden-children .wp-hidden-child, -.ui-tabs-hide { - display: none; -} - -#post-body .tagsdiv #newtag { - margin-left: 5px; - width: 16em; -} - -#side-sortables input#post_password { - width: 94% -} - -#side-sortables .tagsdiv #newtag { - width: 68%; -} - -#post-status-info { - width: 100%; - border-spacing: 0; - border: 1px solid #c3c4c7; - border-top: none; - background-color: #f6f7f7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - z-index: 999; -} - -#post-status-info td { - font-size: 12px; -} - -.autosave-info { - padding: 2px 10px; - text-align: left; -} - -#editorcontent #post-status-info { - border: none; -} - -#content-resize-handle { - background: transparent url(../images/resize.gif) no-repeat scroll left bottom; - width: 12px; - cursor: row-resize; -} - -/*rtl:ignore*/ -.rtl #content-resize-handle { - background-image: url(../images/resize-rtl.gif); - background-position: left bottom; -} - -.wp-editor-expand #content-resize-handle { - display: none; -} - -#postdivrich #content { - resize: none; -} - -#wp-word-count { - padding: 2px 10px; -} - -#wp-content-editor-container { - position: relative; -} - -.wp-editor-expand #wp-content-editor-tools { - z-index: 1000; - border-bottom: 1px solid #c3c4c7; -} - -.wp-editor-expand #wp-content-editor-container { - box-shadow: none; - margin-top: -1px; -} - -.wp-editor-expand #wp-content-editor-container { - border-bottom: 0 none; -} - -.wp-editor-expand div.mce-statusbar { - z-index: 1; -} - -.wp-editor-expand #post-status-info { - border-top: 1px solid #c3c4c7; -} - -.wp-editor-expand div.mce-toolbar-grp { - z-index: 999; -} - -/* TinyMCE native fullscreen mode override */ -.mce-fullscreen #wp-content-wrap .mce-menubar, -.mce-fullscreen #wp-content-wrap .mce-toolbar-grp, -.mce-fullscreen #wp-content-wrap .mce-edit-area, -.mce-fullscreen #wp-content-wrap .mce-statusbar { - position: static !important; - width: auto !important; - padding: 0 !important; -} - -.mce-fullscreen #wp-content-wrap .mce-statusbar { - visibility: visible !important; -} - -.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw { - display: none; -} - -.post-php.mce-fullscreen #wpadminbar, -.mce-fullscreen #wp-content-wrap .mce-wp-dfw { - display: none; -} -/* End TinyMCE native fullscreen mode override */ - -#wp-content-editor-tools { - background-color: #f0f0f1; - padding-top: 20px; -} - -#poststuff #post-body.columns-2 #side-sortables { - width: 280px; -} - -#timestampdiv select { - vertical-align: top; - font-size: 12px; - line-height: 2.33333333; /* 28px */ -} - -#aa, #jj, #hh, #mn { - padding: 6px 1px; - font-size: 12px; - line-height: 1.16666666; /* 14px */ -} - -#jj, #hh, #mn { - width: 2em; -} - -#aa { - width: 3.4em; -} - -.curtime #timestamp { - padding: 2px 0 1px; - display: inline !important; - height: auto !important; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-uploadedby:before, -#post-body .misc-pub-uploadedto:before, -#post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, -#post-body .misc-pub-comment-status:before { - color: #8c8f94; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-uploadedby:before, -#post-body .misc-pub-uploadedto:before, -#post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, -#post-body .misc-pub-comment-status:before { - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - margin-right: -1px; - padding-left: 3px; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#post-body .misc-pub-post-status:before, -#post-body .misc-pub-comment-status:before { - content: "\f173"; -} - -#post-body #visibility:before { - content: "\f177"; -} - -.curtime #timestamp:before { - content: "\f145"; - position: relative; - top: -1px; -} - -#post-body .misc-pub-uploadedby:before { - content: "\f110"; - position: relative; - top: -1px; -} - -#post-body .misc-pub-uploadedto:before { - content: "\f318"; - position: relative; - top: -1px; -} - -#post-body .misc-pub-revisions:before { - content: "\f321"; -} - -#post-body .misc-pub-response-to:before { - content: "\f101"; -} - -#timestampdiv { - padding-top: 5px; - line-height: 1.76923076; -} - -#timestampdiv p { - margin: 8px 0 6px; -} - -#timestampdiv input { - text-align: center; -} - -.notification-dialog { - position: fixed; - top: 30%; - max-height: 70%; - right: 50%; - width: 450px; - margin-right: -225px; - background: #fff; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); - line-height: 1.5; - z-index: 1000005; - overflow-y: auto; -} - -.notification-dialog-background { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 1000000; -} - -#post-lock-dialog .post-locked-message, -#post-lock-dialog .post-taken-over { - margin: 25px; -} - -#post-lock-dialog .post-locked-message a.button, -#file-editor-warning .button { - margin-left: 10px; -} - -#post-lock-dialog .post-locked-avatar { - float: right; - margin: 0 0 20px 20px; -} - -#post-lock-dialog .wp-tab-first { - outline: 0; -} - -#post-lock-dialog .locked-saving img { - float: right; - margin-left: 3px; -} - -#post-lock-dialog.saving .locked-saving, -#post-lock-dialog.saved .locked-saved { - display: inline; -} - -#excerpt { - display: block; - margin: 12px 0 0; - height: 4em; - width: 100%; -} - -.tagchecklist { - margin-right: 14px; - font-size: 12px; - overflow: auto; -} - -.tagchecklist br { - display: none; -} - -.tagchecklist strong { - margin-right: -8px; - position: absolute; -} - -.tagchecklist > li { - float: right; - margin-left: 25px; - font-size: 13px; - line-height: 1.8; - cursor: default; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; -} - -.tagchecklist .ntdelbutton { - position: absolute; - width: 24px; - height: 24px; - border: none; - margin: 0 -19px 0 0; - padding: 0; - background: none; - cursor: pointer; - text-indent: 0; -} - -#poststuff h3.hndle, /* Back-compat for pre-4.4 */ -#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ -#poststuff h2 { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -#poststuff .stuffbox h2 { - padding: 8px 10px; -} - -#poststuff .stuffbox > h2 { - border-bottom: 1px solid #f0f0f1; -} - -#poststuff .inside { - margin: 6px 0 0; -} - -.link-php #poststuff .inside, -.link-add-php #poststuff .inside { - margin-top: 12px; -} - -#poststuff .stuffbox .inside { - margin: 0; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template { - max-width: 100%; -} - -.post-attributes-label-wrapper { - margin-bottom: 0.5em; -} - -.post-attributes-label { - vertical-align: baseline; - font-weight: 600; -} - -#post-visibility-select, -#comment-status-radio { - line-height: 1.5; - margin-top: 3px; -} - -#linksubmitdiv .inside, /* Old Link Manager back-compat. */ -#poststuff #submitdiv .inside { - margin: 0; - padding: 0; -} - -#post-body-content, -.edit-form-section { - margin-bottom: 20px; -} - -.wp_attachment_details .attachment-content-description { - margin-top: 0.5385em; - display: inline-block; - min-height: 1.6923em; -} - -/** -* Privacy Settings section -* -* Note: This section includes selectors from -* Site Health where duplicate styling is used. -*/ - -/* General */ -.privacy-settings #wpcontent, -.privacy-settings.auto-fold #wpcontent, -.site-health #wpcontent, -.site-health.auto-fold #wpcontent { - padding-right: 0; -} - -/* Better position for the WordPress admin notices. */ -.privacy-settings .notice, -.site-health .notice { - margin: 25px 22px 15px 20px; -} - -.privacy-settings .notice ~ .notice, -.site-health .notice ~ .notice { - margin-top: 5px; -} - -/* Emulates .wrap h1 styling */ -.privacy-settings-header h1, -.health-check-header h1 { - display: inline-block; - font-weight: 600; - margin: 0 0.8rem 1rem; - font-size: 23px; - padding: 9px 0 4px; - line-height: 1.3; -} - -/* Header */ -.privacy-settings-header, -.health-check-header { - text-align: center; - margin: 0 0 1rem; - background: #fff; - border-bottom: 1px solid #dcdcde; -} - -.privacy-settings-title-section, -.health-check-title-section { - display: flex; - align-items: center; - justify-content: center; - clear: both; - padding-top: 8px; -} - -.privacy-settings-tabs-wrapper { - /* IE 11 */ - display: -ms-inline-grid; - -ms-grid-columns: 1fr 1fr; - vertical-align: top; - /* modern browsers */ - display: inline-grid; - grid-template-columns: 1fr 1fr; -} - -.privacy-settings-tab { - display: block; /* IE 11 */ - text-decoration: none; - color: inherit; - padding: 0.5rem 1rem 1rem; - margin: 0 1rem; - transition: box-shadow 0.5s ease-in-out; -} - -.privacy-settings-tab:nth-child(1), -.health-check-tab:nth-child(1) { - -ms-grid-column: 1; /* IE 11 */ -} - -.privacy-settings-tab:nth-child(2), -.health-check-tab:nth-child(2) { - -ms-grid-column: 2; /* IE 11 */ -} - -.privacy-settings-tab:focus, -.health-check-tab:focus { - color: #1d2327; - outline: 1px solid #787c82; - box-shadow: none; -} - -.privacy-settings-tab.active, -.health-check-tab.active { - box-shadow: inset 0 -3px #3582c4; - font-weight: 600; -} - -/* Body */ -.privacy-settings-body, -.health-check-body { - max-width: 800px; - margin: 0 auto; -} - -.tools-privacy-policy-page th { - min-width: 230px; -} - -.hr-separator { - margin-top: 20px; - margin-bottom: 15px; -} - -/* Accordions */ -.privacy-settings-accordion, -.health-check-accordion { - border: 1px solid #c3c4c7; -} - -.privacy-settings-accordion-heading, -.health-check-accordion-heading { - margin: 0; - border-top: 1px solid #c3c4c7; - font-size: inherit; - line-height: inherit; - font-weight: 600; - color: inherit; -} - -.privacy-settings-accordion-heading:first-child, -.health-check-accordion-heading:first-child { - border-top: none; -} - -.privacy-settings-accordion-trigger, -.health-check-accordion-trigger { - background: #fff; - border: 0; - color: #2c3338; - cursor: pointer; - display: flex; - font-weight: 400; - margin: 0; - padding: 1em 1.5em 1em 3.5em; - min-height: 46px; - position: relative; - text-align: right; - width: 100%; - align-items: center; - justify-content: space-between; - -webkit-user-select: auto; - user-select: auto; -} - -.privacy-settings-accordion-trigger:hover, -.privacy-settings-accordion-trigger:active, -.health-check-accordion-trigger:hover, -.health-check-accordion-trigger:active { - background: #f6f7f7; -} - -.privacy-settings-accordion-trigger:focus, -.health-check-accordion-trigger:focus { - color: #1d2327; - border: none; - box-shadow: none; - outline-offset: -1px; - outline: 2px solid #2271b1; - background-color: #f6f7f7; -} - -.privacy-settings-accordion-trigger .title, -.health-check-accordion-trigger .title { - pointer-events: none; - font-weight: 600; - flex-grow: 1; -} - -.privacy-settings-accordion-trigger .icon, -.privacy-settings-view-read .icon, -.health-check-accordion-trigger .icon, -.site-health-view-passed .icon { - border: solid #50575e; - border-width: 0 0 2px 2px; - height: 0.5rem; - pointer-events: none; - position: absolute; - left: 1.5em; - top: 50%; - transform: translateY(-70%) rotate(-45deg); - width: 0.5rem; -} - -.privacy-settings-accordion-trigger .badge, -.health-check-accordion-trigger .badge { - padding: 0.1rem 0.5rem 0.15rem; - color: #2c3338; - font-weight: 600; -} - -.privacy-settings-accordion-trigger .badge { - margin-right: 0.5rem; -} - -.privacy-settings-accordion-trigger .badge.blue, -.health-check-accordion-trigger .badge.blue { - border: 1px solid #72aee6; -} - -.privacy-settings-accordion-trigger .badge.orange, -.health-check-accordion-trigger .badge.orange { - border: 1px solid #dba617; -} - -.privacy-settings-accordion-trigger .badge.red, -.health-check-accordion-trigger .badge.red { - border: 1px solid #e65054; -} - -.privacy-settings-accordion-trigger .badge.green, -.health-check-accordion-trigger .badge.green { - border: 1px solid #00ba37; -} - -.privacy-settings-accordion-trigger .badge.purple, -.health-check-accordion-trigger .badge.purple { - border: 1px solid #2271b1; -} - -.privacy-settings-accordion-trigger .badge.gray, -.health-check-accordion-trigger .badge.gray { - border: 1px solid #c3c4c7; -} - -.privacy-settings-accordion-trigger[aria-expanded="true"] .icon, -.privacy-settings-view-passed[aria-expanded="true"] .icon, -.health-check-accordion-trigger[aria-expanded="true"] .icon, -.site-health-view-passed[aria-expanded="true"] .icon { - transform: translateY(-30%) rotate(135deg) -} - -.privacy-settings-accordion-panel, -.health-check-accordion-panel { - margin: 0; - padding: 1em 1.5em; - background: #fff; -} - -.privacy-settings-accordion-panel[hidden], -.health-check-accordion-panel[hidden] { - display: none; -} - -.privacy-settings-accordion-panel a .dashicons, -.health-check-accordion-panel a .dashicons { - text-decoration: none; -} - -.privacy-settings-accordion-actions { - text-align: left; - display: block; -} - -.privacy-settings-accordion-actions .success { - display: none; - color: #008a20; - padding-left: 1em; - padding-top: 6px; -} - -.privacy-settings-accordion-actions .success.visible { - display: inline-block; -} - -/* Suggested text for privacy policy */ -.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat, see #49282 */ -.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-policy-tutorial, -.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-text-copy { - display: none; -} - -.privacy-settings-accordion-panel strong.wp-policy-help, /* For back-compat, see #49282 */ -.privacy-settings-accordion-panel strong.privacy-policy-tutorial { - display: block; - margin: 0 0 1em; -} - -.privacy-text-copy span { - pointer-events: none; -} - -.privacy-settings-accordion-panel .wp-suggested-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p), -.privacy-settings-accordion-panel .wp-suggested-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p), -.privacy-settings-accordion-panel > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p), -.privacy-settings-accordion-panel div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p) { - margin: 0; - padding: 1em; - border-right: 2px solid #787c82; -} - -/* Media queries */ -@media screen and (max-width: 782px) { - - .privacy-settings-body, - .health-check-body { - margin: 0 12px; - width: auto; - } - - .privacy-settings .notice, - .site-health .notice { - margin: 5px 10px 15px; - } - - .privacy-settings .update-nag, - .site-health .update-nag { - margin-left: 10px; - margin-right: 10px; - } - - input#create-page { - margin-top: 10px; - } - - .wp-core-ui button.privacy-text-copy { - white-space: normal; - line-height: 1.8; - } -} - -@media only screen and (max-width: 1004px) { - - .privacy-settings-body, - .health-check-body { - margin: 0 22px; - width: auto; - } -} - -/** -* End Privacy Settings section -*/ - -/*------------------------------------------------------------------------------ - 11.1 - Custom Fields -------------------------------------------------------------------------------*/ - -#postcustomstuff thead th { - padding: 5px 8px 8px; - background-color: #f0f0f1; -} - -#postcustom #postcustomstuff .submit { - border: 0 none; - float: none; - padding: 0 8px 8px; -} - -#side-sortables #postcustom #postcustomstuff .submit { - margin: 0; - padding: 0; -} - -#side-sortables #postcustom #postcustomstuff #the-list textarea { - height: 85px; -} - -#side-sortables #postcustom #postcustomstuff td.left input, -#side-sortables #postcustom #postcustomstuff td.left select, -#side-sortables #postcustomstuff #newmetaleft a { - margin: 3px 3px 0; -} - -#postcustomstuff table { - margin: 0; - width: 100%; - border: 1px solid #dcdcde; - border-spacing: 0; - background-color: #f6f7f7; -} - -#postcustomstuff tr { - vertical-align: top; -} - -#postcustomstuff table input, -#postcustomstuff table select, -#postcustomstuff table textarea { - width: 96%; - margin: 8px; -} - -#side-sortables #postcustomstuff table input, -#side-sortables #postcustomstuff table select, -#side-sortables #postcustomstuff table textarea { - margin: 3px; -} - -#postcustomstuff th.left, -#postcustomstuff td.left { - width: 38%; -} - -#postcustomstuff .submit input { - margin: 0; - width: auto; -} - -#postcustomstuff #newmetaleft a { - display: inline-block; - margin: 0 8px 8px; - text-decoration: none; -} - -.no-js #postcustomstuff #enternew { - display: none; -} - -#post-body-content .compat-attachment-fields { - margin-bottom: 20px; -} - -.compat-attachment-fields th { - padding-top: 5px; - padding-left: 10px; -} - -/*------------------------------------------------------------------------------ - 11.3 - Featured Images -------------------------------------------------------------------------------*/ - -#select-featured-image { - padding: 4px 0; - overflow: hidden; -} - -#select-featured-image img { - max-width: 100%; - height: auto; - margin-bottom: 10px; -} - -#select-featured-image a { - float: right; - clear: both; -} - -#select-featured-image .remove { - display: none; - margin-top: 10px; -} - -.js #select-featured-image.has-featured-image .remove { - display: inline-block; -} - -.no-js #select-featured-image .choose { - display: none; -} - -/*------------------------------------------------------------------------------ - 11.4 - Post formats -------------------------------------------------------------------------------*/ - -.post-format-icon::before { - display: inline-block; - vertical-align: middle; - height: 20px; - width: 20px; - margin-top: -4px; - margin-left: 7px; - color: #dcdcde; - font: normal 20px/1 dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a.post-format-icon:hover:before { - color: #135e96; -} - -#post-formats-select { - line-height: 2; -} - -#post-formats-select .post-format-icon::before { - top: 5px; -} - -input.post-format { - margin-top: 1px; -} - -label.post-format-icon { - margin-right: 0; - padding: 2px 0; -} - -.post-format-icon.post-format-standard::before { - content: "\f109"; -} - -.post-format-icon.post-format-image::before { - content: "\f128"; -} - -.post-format-icon.post-format-gallery::before { - content: "\f161"; -} - -.post-format-icon.post-format-audio::before { - content: "\f127"; -} - -.post-format-icon.post-format-video::before { - content: "\f126"; -} - -.post-format-icon.post-format-chat::before { - content: "\f125"; -} - -.post-format-icon.post-format-status::before { - content: "\f130"; -} - -.post-format-icon.post-format-aside::before { - content: "\f123"; -} - -.post-format-icon.post-format-quote::before { - content: "\f122"; -} - -.post-format-icon.post-format-link::before { - content: "\f103"; -} - -/*------------------------------------------------------------------------------ - 12.0 - Categories -------------------------------------------------------------------------------*/ - -.category-adder { - margin-right: 120px; - padding: 4px 0; -} - -.category-adder h4 { - margin: 0 0 8px; -} - -#side-sortables .category-adder { - margin: 0; -} - -.wp-tab-panel, -.categorydiv div.tabs-panel, -.customlinkdiv div.tabs-panel, -.posttypediv div.tabs-panel, -.taxonomydiv div.tabs-panel { - min-height: 42px; - max-height: 200px; - overflow: auto; - padding: 0 0.9em; - border: solid 1px #dcdcde; - background-color: #fff; -} - -div.tabs-panel-active { - display: block; -} - -div.tabs-panel-inactive { - display: none; -} - -div.tabs-panel-active:focus { - box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(79, 148, 212, 0.8); - outline: 0 none; -} - -#front-page-warning, -#front-static-pages ul, -ul.export-filters, -.inline-editor ul.cat-checklist ul, -.categorydiv ul.categorychecklist ul, -.customlinkdiv ul.categorychecklist ul, -.posttypediv ul.categorychecklist ul, -.taxonomydiv ul.categorychecklist ul { - margin-right: 18px; -} - -ul.categorychecklist li { - margin: 0; - padding: 0; - line-height: 1.69230769; - word-wrap: break-word; -} - -.categorydiv .tabs-panel, -.customlinkdiv .tabs-panel, -.posttypediv .tabs-panel, -.taxonomydiv .tabs-panel { - border-width: 3px; - border-style: solid; -} - -.form-wrap label { - display: block; - padding: 2px 0; -} - -.form-field input[type="text"], -.form-field input[type="password"], -.form-field input[type="email"], -.form-field input[type="number"], -.form-field input[type="search"], -.form-field input[type="tel"], -.form-field input[type="url"], -.form-field textarea { - border-style: solid; - border-width: 1px; - width: 95%; -} - -.form-field select, -.form-field p { - max-width: 95%; -} - -p.description, -.form-wrap p { - margin: 2px 0 5px; - color: #646970; -} - -p.help, -p.description, -span.description, -.form-wrap p { - font-size: 13px; -} - -p.description code { - font-style: normal; -} - -.form-wrap .form-field { - margin: 1em 0; - padding: 0; -} - -.col-wrap h2 { - margin: 12px 0; - font-size: 1.1em; -} - -.col-wrap p.submit { - margin-top: -10px; -} - -.edit-term-notes { - margin-top: 2em; -} - -/*------------------------------------------------------------------------------ - 13.0 - Tags -------------------------------------------------------------------------------*/ - -#poststuff .tagsdiv .ajaxtag { - margin-top: 1em; -} - -#poststuff .tagsdiv .howto { - margin: 1em 0 6px; -} - -.ajaxtag .newtag { - position: relative; -} - -.tagsdiv .newtag { - width: 180px; -} - -.tagsdiv .the-tags { - display: block; - height: 60px; - margin: 0 auto; - overflow: auto; - width: 260px; -} - -#post-body-content .tagsdiv .the-tags { - margin: 0 5px; -} - -p.popular-tags { - border: none; - line-height: 2em; - padding: 8px 12px 12px; - text-align: justify; -} - -p.popular-tags a { - padding: 0 3px; -} - -.tagcloud { - width: 97%; - margin: 0 0 40px; - text-align: justify; -} - -.tagcloud h2 { - margin: 2px 0 12px; -} - -#poststuff .inside .the-tagcloud { - margin: 5px 0 10px; - padding: 8px; - border: 1px solid #dcdcde; - line-height: 1.2; - word-spacing: 3px; -} - -.the-tagcloud ul { - margin: 0; -} - -.the-tagcloud ul li { - display: inline-block; -} - -/* Back-compat styles from deprecated jQuery.suggest, see ticket #40260. */ -.ac_results { - display: none; - margin: -1px 0 0; - padding: 0; - list-style: none; - position: absolute; - z-index: 10000; - border: 1px solid #4f94d4; - background-color: #fff; -} - -.wp-customizer .ac_results { - z-index: 500000; -} - -.ac_results li { - margin: 0; - padding: 5px 10px; - white-space: nowrap; - text-align: right; -} - -.ac_results .ac_over, -.ac_over .ac_match { - background-color: #2271b1; - color: #fff; - cursor: pointer; -} - -.ac_match { - text-decoration: underline; -} - -#addtag .spinner { - float: none; - vertical-align: top; -} - -#edittag { - max-width: 800px; -} - -.edit-tag-actions { - margin-top: 20px; -} - -/* Comments */ - -.comment-php .wp-editor-area { - height: 200px; -} - -.comment-ays th, -.comment-ays td { - padding: 10px 15px; -} - -.comment-ays .comment-content ul { - list-style: initial; - margin-right: 2em; -} - -.comment-ays .comment-content a[href]:after { - content: "(" attr( href ) ")"; - display: inline-block; - padding: 0 4px; - color: #646970; - font-size: 13px; - word-break: break-all; -} - -.comment-ays .comment-content p.edit-comment { - margin-top: 10px; -} - -.comment-ays .comment-content p.edit-comment a[href]:after { - content: ""; - padding: 0; -} - -.comment-ays-submit .button-cancel { - margin-right: 1em; -} - -.trash-undo-inside, -.spam-undo-inside { - margin: 1px 0 1px 8px; - line-height: 1.23076923; -} - -.spam-undo-inside .avatar, -.trash-undo-inside .avatar { - height: 20px; - width: 20px; - margin-left: 8px; - vertical-align: middle; -} - -.stuffbox .editcomment { - clear: none; - margin-top: 0; -} - -#namediv.stuffbox .editcomment input { - width: 100%; -} - -#namediv.stuffbox .editcomment.form-table td { - padding: 10px; -} - -#comment-status-radio p { - margin: 3px 0 5px; -} - -#comment-status-radio input { - margin: 2px 0 5px 3px; - vertical-align: middle; -} - -#comment-status-radio label { - padding: 5px 0; -} - -/* links tables */ -table.links-table { - width: 100%; - border-spacing: 0; -} - -.links-table th { - font-weight: 400; - text-align: right; - vertical-align: top; - min-width: 80px; - width: 20%; - word-wrap: break-word; -} - -.links-table th, -.links-table td { - padding: 5px 0; -} - -.links-table td label { - margin-left: 8px; -} - -.links-table td input[type="text"], -.links-table td textarea { - width: 100%; -} - -.links-table #link_rel { - max-width: 280px; -} - -/* DFW 2 --------------------------------------------------------------- */ - -#qt_content_dfw { - display: none; -} - -.wp-editor-expand #qt_content_dfw { - display: inline-block; -} - -.focus-on .wrap > h1, -.focus-on .page-title-action, -.focus-on #wpfooter, -.focus-on .postbox-container > *, -.focus-on div.updated, -.focus-on div.error, -.focus-on div.notice, -.focus-on .update-nag, -.focus-on #wp-toolbar, -.focus-on #screen-meta-links, -.focus-on #screen-meta { - opacity: 0; - transition-duration: 0.6s; - transition-property: opacity; - transition-timing-function: ease-in-out; -} - -.focus-on #wp-toolbar { - opacity: 0.3; -} - -.focus-off .wrap > h1, -.focus-off .page-title-action, -.focus-off #wpfooter, -.focus-off .postbox-container > *, -.focus-off div.updated, -.focus-off div.error, -.focus-off div.notice, -.focus-off .update-nag, -.focus-off #wp-toolbar, -.focus-off #screen-meta-links, -.focus-off #screen-meta { - opacity: 1; - transition-duration: 0.2s; - transition-property: opacity; - transition-timing-function: ease-in-out; -} - -.focus-off #wp-toolbar { - -webkit-transform: translate(0, 0); -} - -.focus-on #adminmenuback, -.focus-on #adminmenuwrap { - transition-duration: 0.6s; - transition-property: transform; - transition-timing-function: ease-in-out; -} - -.focus-on #adminmenuback, -.focus-on #adminmenuwrap { - transform: translateX( 100% ); -} - -.focus-off #adminmenuback, -.focus-off #adminmenuwrap { - transform: translateX( 0 ); - transition-duration: 0.2s; - transition-property: transform; - transition-timing-function: ease-in-out; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - #content-resize-handle, - #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom; - background-size: 11px 11px; - } - - /*rtl:ignore*/ - .rtl #content-resize-handle, - .rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background-image: url(../images/resize-rtl-2x.gif); - background-position: left bottom; - } -} - -/* - * The edit attachment screen auto-switches to one column layout when the - * viewport is smaller than 1200 pixels. - */ -@media only screen and (max-width: 1200px) { - .post-type-attachment #poststuff { - min-width: 0; - } - - .post-type-attachment #wpbody-content #poststuff #post-body { - margin: 0; - } - - .post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1 { - margin-left: 0; - width: 100%; - } - - .post-type-attachment #poststuff #postbox-container-1 .empty-container, - .post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty { - outline: none; - height: 0; - min-height: 0; - } - - .post-type-attachment #poststuff #post-body.columns-2 #side-sortables { - min-height: 0; - width: auto; - } - - .is-dragging-metaboxes.post-type-attachment #post-body .meta-box-sortables { - outline: none; - min-height: 0; - margin-bottom: 0; - } - - /* hide the radio buttons for column prefs */ - .post-type-attachment .screen-layout, - .post-type-attachment .columns-prefs { - display: none; - } -} - -/* one column on the post write/edit screen */ -@media only screen and (max-width: 850px) { - #poststuff { - min-width: 0; - } - - #wpbody-content #poststuff #post-body { - margin: 0; - } - - #wpbody-content #post-body.columns-2 #postbox-container-1 { - margin-left: 0; - width: 100%; - } - - #poststuff #postbox-container-1 .empty-container, - #poststuff #postbox-container-1 #side-sortables:empty { - height: 0; - min-height: 0; - } - - #poststuff #post-body.columns-2 #side-sortables { - min-height: 0; - width: auto; - } - - /* Increase min-height while dragging for the #side-sortables and any potential sortables area with custom ID. */ - .is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container, - .is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty, - .is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables, - .is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables { - height: auto; - min-height: 60px; - } - - /* hide the radio buttons for column prefs */ - .screen-layout, - .columns-prefs { - display: none; - } -} - -@media screen and (max-width: 782px) { - .wp-core-ui .edit-tag-actions .button-primary { - margin-bottom: 0; - } - - #post-body-content { - min-width: 0; - } - - #titlediv #title-prompt-text { - padding: 10px; - } - - #poststuff .stuffbox .inside { - padding: 0 0 4px 2px; - } - - #poststuff h3.hndle, /* Back-compat for pre-4.4 */ - #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ - #poststuff h2 { - padding: 12px; - } - - #namediv.stuffbox .editcomment.form-table td { - padding: 5px 10px; - } - - .post-format-options { - padding-left: 0; - } - - .post-format-options a { - margin-left: 5px; - margin-bottom: 5px; - min-width: 52px; - } - - .post-format-options .post-format-title { - font-size: 11px; - } - - .post-format-options a div { - height: 28px; - width: 28px; - } - - .post-format-options a div:before { - font-size: 26px !important; - } - - /* Publish Metabox Options */ - #post-visibility-select { - line-height: 280%; - } - - .wp-core-ui .save-post-visibility, - .wp-core-ui .save-timestamp { - vertical-align: middle; - margin-left: 15px; - } - - .timestamp-wrap select#mm { - display: block; - width: 100%; - margin-bottom: 10px; - } - - .timestamp-wrap #jj, - .timestamp-wrap #aa, - .timestamp-wrap #hh, - .timestamp-wrap #mn { - padding: 12px 3px; - font-size: 14px; - margin-bottom: 5px; - width: auto; - text-align: center; - } - - /* Categories Metabox */ - ul.category-tabs { - margin: 30px 0 15px; - } - - ul.category-tabs li.tabs { - padding: 15px; - } - - ul.categorychecklist li { - margin-bottom: 15px; - } - - ul.categorychecklist ul { - margin-top: 15px; - } - - .category-add input[type=text], - .category-add select { - max-width: none; - margin-bottom: 15px; - } - - /* Tags Metabox */ - .tagsdiv .newtag { - width: 100%; - height: auto; - margin-bottom: 15px; - } - - .tagchecklist { - margin: 25px 10px; - } - - .tagchecklist > li { - font-size: 16px; - line-height: 1.4; - } - - /* Discussion */ - #commentstatusdiv p { - line-height: 2.8; - } - - /* TinyMCE Adjustments */ - .mceToolbar * { - white-space: normal !important; - } - - .mceToolbar tr, - .mceToolbar td { - float: right !important; - } - - .wp_themeSkin a.mceButton { - width: 30px; - height: 30px; - } - - .wp_themeSkin .mceButton .mceIcon { - margin-top: 5px; - margin-right: 5px; - } - - .wp_themeSkin .mceSplitButton { - margin-top: 1px; - } - - .wp_themeSkin .mceSplitButton td a.mceAction { - padding: 6px 6px 6px 3px; - } - - .wp_themeSkin .mceSplitButton td a.mceOpen, - .wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen { - padding-top: 6px; - padding-bottom: 6px; - background-position: 1px 6px; - } - - .wp_themeSkin table.mceListBox { - margin: 5px; - } - - div.quicktags-toolbar input { - padding: 10px 20px; - } - - button.wp-switch-editor { - font-size: 16px; - line-height: 1; - margin: 7px 7px 0 0; - padding: 8px 12px; - } - - #wp-content-media-buttons a { - font-size: 14px; - padding: 6px 10px; - } - - .wp-media-buttons span.wp-media-buttons-icon, - .wp-media-buttons span.jetpack-contact-form-icon { - width: 22px !important; - margin-right: -2px !important; - } - - .wp-media-buttons .add_media span.wp-media-buttons-icon:before, - .wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before { - font-size: 20px !important; - } - - #content_wp_fullscreen { - display: none; - } - - .misc-pub-section { - padding: 20px 10px; - } - - #delete-action, - #publishing-action { - line-height: 3.61538461; - } - - #publishing-action .spinner { - float: none; - margin-top: -2px; /* Half of the Publish button's bottom margin. */ - } - - /* Moderate Comment */ - .comment-ays th, - .comment-ays td { - padding-bottom: 0; - } - - .comment-ays td { - padding-top: 6px; - } - - /* Links */ - .links-table #link_rel { - max-width: none; - } - - .links-table th, - .links-table td { - padding: 10px 0; - } - - .edit-term-notes { - display: none; - } - - .privacy-text-box { - width: auto; - } - - .privacy-text-box-toc { - float: none; - width: auto; - height: 100%; - display: flex; - flex-direction: column; - } - - .privacy-text-section .return-to-top { - margin: 2em 0 0; - } -} diff --git a/build/wp-admin/css/edit-rtl.min.css b/build/wp-admin/css/edit-rtl.min.css deleted file mode 100644 index 43f4ae7522..0000000000 --- a/build/wp-admin/css/edit-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-left:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:right}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:right;margin:0 0 0 5px}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#646970;position:absolute;font-size:1.7em;padding:10px;pointer-events:none}input#link_description,input#link_url{width:100%}#pending{background:100% none;border:0 none;padding:0;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:1.84615384;min-height:25px;margin-top:5px;padding:0 10px;color:#646970}#sample-permalink{display:inline-block;max-width:100%;word-wrap:break-word}#edit-slug-box .cancel{margin-left:10px;padding:0;font-size:11px}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:600}#editable-post-name input{font-size:13px;font-weight:400;height:24px;margin:0;width:16em}.postarea h3 label{float:right}body.post-new-php .submitbox .submitdelete{display:none}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-left:4px;padding:6px}#post-status-select{margin-top:3px}body.post-type-wp_navigation .inline-edit-status,body.post-type-wp_navigation div#minor-publishing{display:none}.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables{outline:3px dashed #646970;display:flow-root;min-height:60px;margin-bottom:20px}.postbox{position:relative;min-width:255px;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:left;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#2c3338}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0 none}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:solid 1px transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dcdcde;border-bottom-color:#fff;background-color:#fff}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 6px}#set-post-thumbnail{display:inline-block;max-width:100%}#postimagediv .inside img{max-width:100%;height:auto;width:auto;vertical-align:top;background-image:linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:100% 0,10px 10px;background-size:20px 20px}form#tags-filter{position:relative}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-left:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #c3c4c7;border-top:none;background-color:#f6f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:left}#editorcontent #post-status-info{border:none}#content-resize-handle{background:transparent url(../images/resize.gif) no-repeat scroll left bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background-image:url(../images/resize-rtl.gif);background-position:left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{padding:2px 10px}#wp-content-editor-container{position:relative}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #c3c4c7}.wp-editor-expand #wp-content-editor-container{box-shadow:none;margin-top:-1px}.wp-editor-expand #wp-content-editor-container{border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #c3c4c7}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw{display:none}.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f0f0f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{vertical-align:top;font-size:12px;line-height:2.33333333}#aa,#hh,#jj,#mn{padding:6px 1px;font-size:12px;line-height:1.16666666}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,#post-body .misc-pub-uploadedby:before,#post-body .misc-pub-uploadedto:before,.curtime #timestamp:before{color:#8c8f94}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,#post-body .misc-pub-uploadedby:before,#post-body .misc-pub-uploadedto:before,.curtime #timestamp:before{font:normal 20px/1 dashicons;speak:never;display:inline-block;margin-right:-1px;padding-left:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before{content:"\f173"}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";position:relative;top:-1px}#post-body .misc-pub-uploadedby:before{content:"\f110";position:relative;top:-1px}#post-body .misc-pub-uploadedto:before{content:"\f318";position:relative;top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#post-body .misc-pub-response-to:before{content:"\f101"}#timestampdiv{padding-top:5px;line-height:1.76923076}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{text-align:center}.notification-dialog{position:fixed;top:30%;max-height:70%;right:50%;width:450px;margin-right:-225px;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#file-editor-warning .button,#post-lock-dialog .post-locked-message a.button{margin-left:10px}#post-lock-dialog .post-locked-avatar{float:right;margin:0 0 20px 20px}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:right;margin-left:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-right:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-right:-8px;position:absolute}.tagchecklist>li{float:right;margin-left:25px;font-size:13px;line-height:1.8;cursor:default;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tagchecklist .ntdelbutton{position:absolute;width:24px;height:24px;border:none;margin:0 -19px 0 0;padding:0;background:0 0;cursor:pointer;text-indent:0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .stuffbox h2{padding:8px 10px}#poststuff .stuffbox>h2{border-bottom:1px solid #f0f0f1}#poststuff .inside{margin:6px 0 0}.link-add-php #poststuff .inside,.link-php #poststuff .inside{margin-top:12px}#poststuff .stuffbox .inside{margin:0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}.post-attributes-label-wrapper{margin-bottom:.5em}.post-attributes-label{vertical-align:baseline;font-weight:600}#comment-status-radio,#post-visibility-select{line-height:1.5;margin-top:3px}#linksubmitdiv .inside,#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}.wp_attachment_details .attachment-content-description{margin-top:.5385em;display:inline-block;min-height:1.6923em}.privacy-settings #wpcontent,.privacy-settings.auto-fold #wpcontent,.site-health #wpcontent,.site-health.auto-fold #wpcontent{padding-right:0}.privacy-settings .notice,.site-health .notice{margin:25px 22px 15px 20px}.privacy-settings .notice~.notice,.site-health .notice~.notice{margin-top:5px}.health-check-header h1,.privacy-settings-header h1{display:inline-block;font-weight:600;margin:0 .8rem 1rem;font-size:23px;padding:9px 0 4px;line-height:1.3}.health-check-header,.privacy-settings-header{text-align:center;margin:0 0 1rem;background:#fff;border-bottom:1px solid #dcdcde}.health-check-title-section,.privacy-settings-title-section{display:flex;align-items:center;justify-content:center;clear:both;padding-top:8px}.privacy-settings-tabs-wrapper{display:-ms-inline-grid;-ms-grid-columns:1fr 1fr;vertical-align:top;display:inline-grid;grid-template-columns:1fr 1fr}.privacy-settings-tab{display:block;text-decoration:none;color:inherit;padding:.5rem 1rem 1rem;margin:0 1rem;transition:box-shadow .5s ease-in-out}.health-check-tab:nth-child(1),.privacy-settings-tab:nth-child(1){-ms-grid-column:1}.health-check-tab:nth-child(2),.privacy-settings-tab:nth-child(2){-ms-grid-column:2}.health-check-tab:focus,.privacy-settings-tab:focus{color:#1d2327;outline:1px solid #787c82;box-shadow:none}.health-check-tab.active,.privacy-settings-tab.active{box-shadow:inset 0 -3px #3582c4;font-weight:600}.health-check-body,.privacy-settings-body{max-width:800px;margin:0 auto}.tools-privacy-policy-page th{min-width:230px}.hr-separator{margin-top:20px;margin-bottom:15px}.health-check-accordion,.privacy-settings-accordion{border:1px solid #c3c4c7}.health-check-accordion-heading,.privacy-settings-accordion-heading{margin:0;border-top:1px solid #c3c4c7;font-size:inherit;line-height:inherit;font-weight:600;color:inherit}.health-check-accordion-heading:first-child,.privacy-settings-accordion-heading:first-child{border-top:none}.health-check-accordion-trigger,.privacy-settings-accordion-trigger{background:#fff;border:0;color:#2c3338;cursor:pointer;display:flex;font-weight:400;margin:0;padding:1em 1.5em 1em 3.5em;min-height:46px;position:relative;text-align:right;width:100%;align-items:center;justify-content:space-between;-webkit-user-select:auto;user-select:auto}.health-check-accordion-trigger:active,.health-check-accordion-trigger:hover,.privacy-settings-accordion-trigger:active,.privacy-settings-accordion-trigger:hover{background:#f6f7f7}.health-check-accordion-trigger:focus,.privacy-settings-accordion-trigger:focus{color:#1d2327;border:none;box-shadow:none;outline-offset:-1px;outline:2px solid #2271b1;background-color:#f6f7f7}.health-check-accordion-trigger .title,.privacy-settings-accordion-trigger .title{pointer-events:none;font-weight:600;flex-grow:1}.health-check-accordion-trigger .icon,.privacy-settings-accordion-trigger .icon,.privacy-settings-view-read .icon,.site-health-view-passed .icon{border:solid #50575e;border-width:0 0 2px 2px;height:.5rem;pointer-events:none;position:absolute;left:1.5em;top:50%;transform:translateY(-70%) rotate(-45deg);width:.5rem}.health-check-accordion-trigger .badge,.privacy-settings-accordion-trigger .badge{padding:.1rem .5rem .15rem;color:#2c3338;font-weight:600}.privacy-settings-accordion-trigger .badge{margin-right:.5rem}.health-check-accordion-trigger .badge.blue,.privacy-settings-accordion-trigger .badge.blue{border:1px solid #72aee6}.health-check-accordion-trigger .badge.orange,.privacy-settings-accordion-trigger .badge.orange{border:1px solid #dba617}.health-check-accordion-trigger .badge.red,.privacy-settings-accordion-trigger .badge.red{border:1px solid #e65054}.health-check-accordion-trigger .badge.green,.privacy-settings-accordion-trigger .badge.green{border:1px solid #00ba37}.health-check-accordion-trigger .badge.purple,.privacy-settings-accordion-trigger .badge.purple{border:1px solid #2271b1}.health-check-accordion-trigger .badge.gray,.privacy-settings-accordion-trigger .badge.gray{border:1px solid #c3c4c7}.health-check-accordion-trigger[aria-expanded=true] .icon,.privacy-settings-accordion-trigger[aria-expanded=true] .icon,.privacy-settings-view-passed[aria-expanded=true] .icon,.site-health-view-passed[aria-expanded=true] .icon{transform:translateY(-30%) rotate(135deg)}.health-check-accordion-panel,.privacy-settings-accordion-panel{margin:0;padding:1em 1.5em;background:#fff}.health-check-accordion-panel[hidden],.privacy-settings-accordion-panel[hidden]{display:none}.health-check-accordion-panel a .dashicons,.privacy-settings-accordion-panel a .dashicons{text-decoration:none}.privacy-settings-accordion-actions{text-align:left;display:block}.privacy-settings-accordion-actions .success{display:none;color:#008a20;padding-left:1em;padding-top:6px}.privacy-settings-accordion-actions .success.visible{display:inline-block}.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-policy-tutorial,.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-text-copy,.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .wp-policy-help{display:none}.privacy-settings-accordion-panel strong.privacy-policy-tutorial,.privacy-settings-accordion-panel strong.wp-policy-help{display:block;margin:0 0 1em}.privacy-text-copy span{pointer-events:none}.privacy-settings-accordion-panel .wp-suggested-text div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep),.privacy-settings-accordion-panel .wp-suggested-text>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep),.privacy-settings-accordion-panel div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep),.privacy-settings-accordion-panel>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep){margin:0;padding:1em;border-right:2px solid #787c82}@media screen and (max-width:782px){.health-check-body,.privacy-settings-body{margin:0 12px;width:auto}.privacy-settings .notice,.site-health .notice{margin:5px 10px 15px}.privacy-settings .update-nag,.site-health .update-nag{margin-left:10px;margin-right:10px}input#create-page{margin-top:10px}.wp-core-ui button.privacy-text-copy{white-space:normal;line-height:1.8}}@media only screen and (max-width:1004px){.health-check-body,.privacy-settings-body{margin:0 22px;width:auto}}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f0f0f1}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dcdcde;border-spacing:0;background-color:#f6f7f7}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-left:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:right;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-format-icon::before{display:inline-block;vertical-align:middle;height:20px;width:20px;margin-top:-4px;margin-left:7px;color:#dcdcde;font:normal 20px/1 dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a.post-format-icon:hover:before{color:#135e96}#post-formats-select{line-height:2}#post-formats-select .post-format-icon::before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-right:0;padding:2px 0}.post-format-icon.post-format-standard::before{content:"\f109"}.post-format-icon.post-format-image::before{content:"\f128"}.post-format-icon.post-format-gallery::before{content:"\f161"}.post-format-icon.post-format-audio::before{content:"\f127"}.post-format-icon.post-format-video::before{content:"\f126"}.post-format-icon.post-format-chat::before{content:"\f125"}.post-format-icon.post-format-status::before{content:"\f130"}.post-format-icon.post-format-aside::before{content:"\f123"}.post-format-icon.post-format-quote::before{content:"\f122"}.post-format-icon.post-format-link::before{content:"\f103"}.category-adder{margin-right:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:solid 1px #dcdcde;background-color:#fff}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}div.tabs-panel-active:focus{box-shadow:inset 0 0 0 1px #4f94d4,inset 0 0 2px 1px rgba(79,148,212,.8);outline:0 none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-right:18px}ul.categorychecklist li{margin:0;padding:0;line-height:1.69230769;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px 0}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-field p,.form-field select{max-width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#646970}.form-wrap p,p.description,p.help,span.description{font-size:13px}p.description code{font-style:normal}.form-wrap .form-field{margin:1em 0;padding:0}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.edit-term-notes{margin-top:2em}#poststuff .tagsdiv .ajaxtag{margin-top:1em}#poststuff .tagsdiv .howto{margin:1em 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #dcdcde;line-height:1.2;word-spacing:3px}.the-tagcloud ul{margin:0}.the-tagcloud ul li{display:inline-block}.ac_results{display:none;margin:-1px 0 0;padding:0;list-style:none;position:absolute;z-index:10000;border:1px solid #4f94d4;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{margin:0;padding:5px 10px;white-space:nowrap;text-align:right}.ac_over .ac_match,.ac_results .ac_over{background-color:#2271b1;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}#addtag .spinner{float:none;vertical-align:top}#edittag{max-width:800px}.edit-tag-actions{margin-top:20px}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}.comment-ays .comment-content ul{list-style:initial;margin-right:2em}.comment-ays .comment-content a[href]:after{content:"(" attr(href) ")";display:inline-block;padding:0 4px;color:#646970;font-size:13px;word-break:break-all}.comment-ays .comment-content p.edit-comment{margin-top:10px}.comment-ays .comment-content p.edit-comment a[href]:after{content:"";padding:0}.comment-ays-submit .button-cancel{margin-right:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 0 1px 8px;line-height:1.23076923}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-left:8px;vertical-align:middle}.stuffbox .editcomment{clear:none;margin-top:0}#namediv.stuffbox .editcomment input{width:100%}#namediv.stuffbox .editcomment.form-table td{padding:10px}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 0 5px 3px;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:right;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-left:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}#qt_content_dfw{display:none}.wp-editor-expand #qt_content_dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .page-title-action,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;transition-duration:.6s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .page-title-action,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;transition-duration:.2s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transition-duration:.6s;transition-property:transform;transition-timing-function:ease-in-out}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transform:translateX(100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{transform:translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background-image:url(../images/resize-rtl-2x.gif);background-position:left bottom}}@media only screen and (max-width:1200px){.post-type-attachment #poststuff{min-width:0}.post-type-attachment #wpbody-content #poststuff #post-body{margin:0}.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty,.post-type-attachment #poststuff #postbox-container-1 .empty-container{outline:0;height:0;min-height:0}.post-type-attachment #poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.is-dragging-metaboxes.post-type-attachment #post-body .meta-box-sortables{outline:0;min-height:0;margin-bottom:0}.post-type-attachment .columns-prefs,.post-type-attachment .screen-layout{display:none}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables,.is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables,.is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty,.is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container{height:auto;min-height:60px}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){.wp-core-ui .edit-tag-actions .button-primary{margin-bottom:0}#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff .stuffbox .inside{padding:0 0 4px 2px}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}#namediv.stuffbox .editcomment.form-table td{padding:5px 10px}.post-format-options{padding-left:0}.post-format-options a{margin-left:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-left:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist>li{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:right!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-right:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 6px 6px 3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1;margin:7px 7px 0 0;padding:8px 12px}#wp-content-media-buttons a{font-size:14px;padding:6px 10px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-right:-2px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}#delete-action,#publishing-action{line-height:3.61538461}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}.edit-term-notes{display:none}.privacy-text-box{width:auto}.privacy-text-box-toc{float:none;width:auto;height:100%;display:flex;flex-direction:column}.privacy-text-section .return-to-top{margin:2em 0 0}} \ No newline at end of file diff --git a/build/wp-admin/css/edit.css b/build/wp-admin/css/edit.css deleted file mode 100644 index 2033113664..0000000000 --- a/build/wp-admin/css/edit.css +++ /dev/null @@ -1,2032 +0,0 @@ -#poststuff { - padding-top: 10px; - min-width: 763px; -} - -#poststuff #post-body { - padding: 0; -} - -#poststuff .postbox-container { - width: 100%; -} - -#poststuff #post-body.columns-2 { - margin-right: 300px; -} - -/*------------------------------------------------------------------------------ - 11.0 - Write/Edit Post Screen -------------------------------------------------------------------------------*/ - -#show-comments { - overflow: hidden; -} - -#save-action .spinner, -#show-comments a { - float: left; -} - -#show-comments .spinner { - float: none; - margin-top: 0; -} - -#lost-connection-notice .spinner { - visibility: visible; - float: left; - margin: 0 5px 0 0; -} - -#titlediv { - position: relative; -} - -#titlediv label { - cursor: text; -} - -#titlediv div.inside { - margin: 0; -} - -#poststuff #titlewrap { - border: 0; - padding: 0; -} - -#titlediv #title { - padding: 3px 8px; - font-size: 1.7em; - line-height: 100%; - height: 1.7em; - width: 100%; - outline: none; - margin: 0 0 3px; - background-color: #fff; -} - -#titlediv #title-prompt-text { - color: #646970; - position: absolute; - font-size: 1.7em; - padding: 10px; - pointer-events: none; -} - -input#link_description, -input#link_url { - width: 100%; -} - -#pending { - background: 0 none; - border: 0 none; - padding: 0; - font-size: 11px; - margin-top: -1px; -} - -#edit-slug-box, -#comment-link-box { - line-height: 1.84615384; - min-height: 25px; - margin-top: 5px; - padding: 0 10px; - color: #646970; -} - -#sample-permalink { - display: inline-block; - max-width: 100%; - word-wrap: break-word; -} - -#edit-slug-box .cancel { - margin-right: 10px; - padding: 0; - font-size: 11px; -} - -#comment-link-box { - margin: 5px 0; - padding: 0 5px; -} - -#editable-post-name-full { - display: none; -} - -#editable-post-name { - font-weight: 600; -} - -#editable-post-name input { - font-size: 13px; - font-weight: 400; - height: 24px; - margin: 0; - width: 16em; -} - -.postarea h3 label { - float: left; -} - -body.post-new-php .submitbox .submitdelete { - display: none; -} - -.submitbox .submit a:hover { - text-decoration: underline; -} - -.submitbox .submit input { - margin-bottom: 8px; - margin-right: 4px; - padding: 6px; -} - -#post-status-select { - margin-top: 3px; -} - -body.post-type-wp_navigation div#minor-publishing, -body.post-type-wp_navigation .inline-edit-status { - display: none; -} - -/* Post Screen */ - -/* Only highlight drop zones when dragging and only in the 2 columns layout. */ -.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables { - outline: 3px dashed #646970; - /* Prevent margin on the child from collapsing with margin on the parent. */ - display: flow-root; - /* - * This min-height is meant to limit jumpiness while dragging. It's equivalent - * to the minimum height of the sortable-placeholder which is given by the height - * of a collapsed post box (36px + 1px top and bottom borders) + the placeholder - * bottom margin (20px) + 2 additional pixels to compensate browsers rounding. - */ - min-height: 60px; - margin-bottom: 20px; -} - -.postbox { - position: relative; - min-width: 255px; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; -} - -#trackback_url { - width: 99%; -} - -#normal-sortables .postbox .submit { - background: transparent none; - border: 0 none; - float: right; - padding: 0 12px; - margin: 0; -} - -.category-add input[type="text"], -.category-add select { - width: 100%; - max-width: 260px; - vertical-align: baseline; -} - -#side-sortables .category-add input[type="text"], -#side-sortables .category-add select { - margin: 0 0 1em; -} - -ul.category-tabs li, -#side-sortables .add-menu-item-tabs li, -.wp-tab-bar li { - display: inline; - line-height: 1.35; -} - -.no-js .category-tabs li.hide-if-no-js { - display: none; -} - -.category-tabs a, -#side-sortables .add-menu-item-tabs a, -.wp-tab-bar a { - text-decoration: none; -} - -/* @todo: do these really need to be so specific? */ -#side-sortables .category-tabs .tabs a, -#side-sortables .add-menu-item-tabs .tabs a, -.wp-tab-bar .wp-tab-active a, -#post-body ul.category-tabs li.tabs a, -#post-body ul.add-menu-item-tabs li.tabs a { - color: #2c3338; -} - -.category-tabs { - margin: 8px 0 5px; -} - -/* Back-compat for pre-4.4 */ -#category-adder h4 { - margin: 0; -} - -.taxonomy-add-new { - display: inline-block; - margin: 10px 0; - font-weight: 600; -} - -#side-sortables .add-menu-item-tabs, -.wp-tab-bar { - margin-bottom: 3px; -} - -#normal-sortables .postbox #replyrow .submit { - float: none; - margin: 0; - padding: 5px 7px 10px; - overflow: hidden; -} - -#side-sortables .submitbox .submit input, -#side-sortables .submitbox .submit .preview, -#side-sortables .submitbox .submit a.preview:hover { - border: 0 none; -} - -/* @todo: make this a more generic class */ -ul.category-tabs, -ul.add-menu-item-tabs, -ul.wp-tab-bar { - margin-top: 12px; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li { - border: solid 1px transparent; - position: relative; -} - -ul.category-tabs li.tabs, -ul.add-menu-item-tabs li.tabs, -.wp-tab-active { - border: 1px solid #dcdcde; - border-bottom-color: #fff; - background-color: #fff; -} - -ul.category-tabs li, -ul.add-menu-item-tabs li, -ul.wp-tab-bar li { - padding: 3px 5px 6px; -} - -#set-post-thumbnail { - display: inline-block; - max-width: 100%; -} - -#postimagediv .inside img { - max-width: 100%; - height: auto; - width: auto; - vertical-align: top; - background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 0 0, 10px 10px; - background-size: 20px 20px; -} - -form#tags-filter { - position: relative; -} - -/* Global classes */ -.wp-hidden-children .wp-hidden-child, -.ui-tabs-hide { - display: none; -} - -#post-body .tagsdiv #newtag { - margin-right: 5px; - width: 16em; -} - -#side-sortables input#post_password { - width: 94% -} - -#side-sortables .tagsdiv #newtag { - width: 68%; -} - -#post-status-info { - width: 100%; - border-spacing: 0; - border: 1px solid #c3c4c7; - border-top: none; - background-color: #f6f7f7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - z-index: 999; -} - -#post-status-info td { - font-size: 12px; -} - -.autosave-info { - padding: 2px 10px; - text-align: right; -} - -#editorcontent #post-status-info { - border: none; -} - -#content-resize-handle { - background: transparent url(../images/resize.gif) no-repeat scroll right bottom; - width: 12px; - cursor: row-resize; -} - -/*rtl:ignore*/ -.rtl #content-resize-handle { - background-image: url(../images/resize-rtl.gif); - background-position: left bottom; -} - -.wp-editor-expand #content-resize-handle { - display: none; -} - -#postdivrich #content { - resize: none; -} - -#wp-word-count { - padding: 2px 10px; -} - -#wp-content-editor-container { - position: relative; -} - -.wp-editor-expand #wp-content-editor-tools { - z-index: 1000; - border-bottom: 1px solid #c3c4c7; -} - -.wp-editor-expand #wp-content-editor-container { - box-shadow: none; - margin-top: -1px; -} - -.wp-editor-expand #wp-content-editor-container { - border-bottom: 0 none; -} - -.wp-editor-expand div.mce-statusbar { - z-index: 1; -} - -.wp-editor-expand #post-status-info { - border-top: 1px solid #c3c4c7; -} - -.wp-editor-expand div.mce-toolbar-grp { - z-index: 999; -} - -/* TinyMCE native fullscreen mode override */ -.mce-fullscreen #wp-content-wrap .mce-menubar, -.mce-fullscreen #wp-content-wrap .mce-toolbar-grp, -.mce-fullscreen #wp-content-wrap .mce-edit-area, -.mce-fullscreen #wp-content-wrap .mce-statusbar { - position: static !important; - width: auto !important; - padding: 0 !important; -} - -.mce-fullscreen #wp-content-wrap .mce-statusbar { - visibility: visible !important; -} - -.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw { - display: none; -} - -.post-php.mce-fullscreen #wpadminbar, -.mce-fullscreen #wp-content-wrap .mce-wp-dfw { - display: none; -} -/* End TinyMCE native fullscreen mode override */ - -#wp-content-editor-tools { - background-color: #f0f0f1; - padding-top: 20px; -} - -#poststuff #post-body.columns-2 #side-sortables { - width: 280px; -} - -#timestampdiv select { - vertical-align: top; - font-size: 12px; - line-height: 2.33333333; /* 28px */ -} - -#aa, #jj, #hh, #mn { - padding: 6px 1px; - font-size: 12px; - line-height: 1.16666666; /* 14px */ -} - -#jj, #hh, #mn { - width: 2em; -} - -#aa { - width: 3.4em; -} - -.curtime #timestamp { - padding: 2px 0 1px; - display: inline !important; - height: auto !important; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-uploadedby:before, -#post-body .misc-pub-uploadedto:before, -#post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, -#post-body .misc-pub-comment-status:before { - color: #8c8f94; -} - -#post-body .misc-pub-post-status:before, -#post-body #visibility:before, -.curtime #timestamp:before, -#post-body .misc-pub-uploadedby:before, -#post-body .misc-pub-uploadedto:before, -#post-body .misc-pub-revisions:before, -#post-body .misc-pub-response-to:before, -#post-body .misc-pub-comment-status:before { - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - margin-left: -1px; - padding-right: 3px; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#post-body .misc-pub-post-status:before, -#post-body .misc-pub-comment-status:before { - content: "\f173"; -} - -#post-body #visibility:before { - content: "\f177"; -} - -.curtime #timestamp:before { - content: "\f145"; - position: relative; - top: -1px; -} - -#post-body .misc-pub-uploadedby:before { - content: "\f110"; - position: relative; - top: -1px; -} - -#post-body .misc-pub-uploadedto:before { - content: "\f318"; - position: relative; - top: -1px; -} - -#post-body .misc-pub-revisions:before { - content: "\f321"; -} - -#post-body .misc-pub-response-to:before { - content: "\f101"; -} - -#timestampdiv { - padding-top: 5px; - line-height: 1.76923076; -} - -#timestampdiv p { - margin: 8px 0 6px; -} - -#timestampdiv input { - text-align: center; -} - -.notification-dialog { - position: fixed; - top: 30%; - max-height: 70%; - left: 50%; - width: 450px; - margin-left: -225px; - background: #fff; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); - line-height: 1.5; - z-index: 1000005; - overflow-y: auto; -} - -.notification-dialog-background { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 1000000; -} - -#post-lock-dialog .post-locked-message, -#post-lock-dialog .post-taken-over { - margin: 25px; -} - -#post-lock-dialog .post-locked-message a.button, -#file-editor-warning .button { - margin-right: 10px; -} - -#post-lock-dialog .post-locked-avatar { - float: left; - margin: 0 20px 20px 0; -} - -#post-lock-dialog .wp-tab-first { - outline: 0; -} - -#post-lock-dialog .locked-saving img { - float: left; - margin-right: 3px; -} - -#post-lock-dialog.saving .locked-saving, -#post-lock-dialog.saved .locked-saved { - display: inline; -} - -#excerpt { - display: block; - margin: 12px 0 0; - height: 4em; - width: 100%; -} - -.tagchecklist { - margin-left: 14px; - font-size: 12px; - overflow: auto; -} - -.tagchecklist br { - display: none; -} - -.tagchecklist strong { - margin-left: -8px; - position: absolute; -} - -.tagchecklist > li { - float: left; - margin-right: 25px; - font-size: 13px; - line-height: 1.8; - cursor: default; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; -} - -.tagchecklist .ntdelbutton { - position: absolute; - width: 24px; - height: 24px; - border: none; - margin: 0 0 0 -19px; - padding: 0; - background: none; - cursor: pointer; - text-indent: 0; -} - -#poststuff h3.hndle, /* Back-compat for pre-4.4 */ -#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ -#poststuff h2 { - font-size: 14px; - padding: 8px 12px; - margin: 0; - line-height: 1.4; -} - -#poststuff .stuffbox h2 { - padding: 8px 10px; -} - -#poststuff .stuffbox > h2 { - border-bottom: 1px solid #f0f0f1; -} - -#poststuff .inside { - margin: 6px 0 0; -} - -.link-php #poststuff .inside, -.link-add-php #poststuff .inside { - margin-top: 12px; -} - -#poststuff .stuffbox .inside { - margin: 0; -} - -#poststuff .inside #parent_id, -#poststuff .inside #page_template { - max-width: 100%; -} - -.post-attributes-label-wrapper { - margin-bottom: 0.5em; -} - -.post-attributes-label { - vertical-align: baseline; - font-weight: 600; -} - -#post-visibility-select, -#comment-status-radio { - line-height: 1.5; - margin-top: 3px; -} - -#linksubmitdiv .inside, /* Old Link Manager back-compat. */ -#poststuff #submitdiv .inside { - margin: 0; - padding: 0; -} - -#post-body-content, -.edit-form-section { - margin-bottom: 20px; -} - -.wp_attachment_details .attachment-content-description { - margin-top: 0.5385em; - display: inline-block; - min-height: 1.6923em; -} - -/** -* Privacy Settings section -* -* Note: This section includes selectors from -* Site Health where duplicate styling is used. -*/ - -/* General */ -.privacy-settings #wpcontent, -.privacy-settings.auto-fold #wpcontent, -.site-health #wpcontent, -.site-health.auto-fold #wpcontent { - padding-left: 0; -} - -/* Better position for the WordPress admin notices. */ -.privacy-settings .notice, -.site-health .notice { - margin: 25px 20px 15px 22px; -} - -.privacy-settings .notice ~ .notice, -.site-health .notice ~ .notice { - margin-top: 5px; -} - -/* Emulates .wrap h1 styling */ -.privacy-settings-header h1, -.health-check-header h1 { - display: inline-block; - font-weight: 600; - margin: 0 0.8rem 1rem; - font-size: 23px; - padding: 9px 0 4px; - line-height: 1.3; -} - -/* Header */ -.privacy-settings-header, -.health-check-header { - text-align: center; - margin: 0 0 1rem; - background: #fff; - border-bottom: 1px solid #dcdcde; -} - -.privacy-settings-title-section, -.health-check-title-section { - display: flex; - align-items: center; - justify-content: center; - clear: both; - padding-top: 8px; -} - -.privacy-settings-tabs-wrapper { - /* IE 11 */ - display: -ms-inline-grid; - -ms-grid-columns: 1fr 1fr; - vertical-align: top; - /* modern browsers */ - display: inline-grid; - grid-template-columns: 1fr 1fr; -} - -.privacy-settings-tab { - display: block; /* IE 11 */ - text-decoration: none; - color: inherit; - padding: 0.5rem 1rem 1rem; - margin: 0 1rem; - transition: box-shadow 0.5s ease-in-out; -} - -.privacy-settings-tab:nth-child(1), -.health-check-tab:nth-child(1) { - -ms-grid-column: 1; /* IE 11 */ -} - -.privacy-settings-tab:nth-child(2), -.health-check-tab:nth-child(2) { - -ms-grid-column: 2; /* IE 11 */ -} - -.privacy-settings-tab:focus, -.health-check-tab:focus { - color: #1d2327; - outline: 1px solid #787c82; - box-shadow: none; -} - -.privacy-settings-tab.active, -.health-check-tab.active { - box-shadow: inset 0 -3px #3582c4; - font-weight: 600; -} - -/* Body */ -.privacy-settings-body, -.health-check-body { - max-width: 800px; - margin: 0 auto; -} - -.tools-privacy-policy-page th { - min-width: 230px; -} - -.hr-separator { - margin-top: 20px; - margin-bottom: 15px; -} - -/* Accordions */ -.privacy-settings-accordion, -.health-check-accordion { - border: 1px solid #c3c4c7; -} - -.privacy-settings-accordion-heading, -.health-check-accordion-heading { - margin: 0; - border-top: 1px solid #c3c4c7; - font-size: inherit; - line-height: inherit; - font-weight: 600; - color: inherit; -} - -.privacy-settings-accordion-heading:first-child, -.health-check-accordion-heading:first-child { - border-top: none; -} - -.privacy-settings-accordion-trigger, -.health-check-accordion-trigger { - background: #fff; - border: 0; - color: #2c3338; - cursor: pointer; - display: flex; - font-weight: 400; - margin: 0; - padding: 1em 3.5em 1em 1.5em; - min-height: 46px; - position: relative; - text-align: left; - width: 100%; - align-items: center; - justify-content: space-between; - -webkit-user-select: auto; - user-select: auto; -} - -.privacy-settings-accordion-trigger:hover, -.privacy-settings-accordion-trigger:active, -.health-check-accordion-trigger:hover, -.health-check-accordion-trigger:active { - background: #f6f7f7; -} - -.privacy-settings-accordion-trigger:focus, -.health-check-accordion-trigger:focus { - color: #1d2327; - border: none; - box-shadow: none; - outline-offset: -1px; - outline: 2px solid #2271b1; - background-color: #f6f7f7; -} - -.privacy-settings-accordion-trigger .title, -.health-check-accordion-trigger .title { - pointer-events: none; - font-weight: 600; - flex-grow: 1; -} - -.privacy-settings-accordion-trigger .icon, -.privacy-settings-view-read .icon, -.health-check-accordion-trigger .icon, -.site-health-view-passed .icon { - border: solid #50575e; - border-width: 0 2px 2px 0; - height: 0.5rem; - pointer-events: none; - position: absolute; - right: 1.5em; - top: 50%; - transform: translateY(-70%) rotate(45deg); - width: 0.5rem; -} - -.privacy-settings-accordion-trigger .badge, -.health-check-accordion-trigger .badge { - padding: 0.1rem 0.5rem 0.15rem; - color: #2c3338; - font-weight: 600; -} - -.privacy-settings-accordion-trigger .badge { - margin-left: 0.5rem; -} - -.privacy-settings-accordion-trigger .badge.blue, -.health-check-accordion-trigger .badge.blue { - border: 1px solid #72aee6; -} - -.privacy-settings-accordion-trigger .badge.orange, -.health-check-accordion-trigger .badge.orange { - border: 1px solid #dba617; -} - -.privacy-settings-accordion-trigger .badge.red, -.health-check-accordion-trigger .badge.red { - border: 1px solid #e65054; -} - -.privacy-settings-accordion-trigger .badge.green, -.health-check-accordion-trigger .badge.green { - border: 1px solid #00ba37; -} - -.privacy-settings-accordion-trigger .badge.purple, -.health-check-accordion-trigger .badge.purple { - border: 1px solid #2271b1; -} - -.privacy-settings-accordion-trigger .badge.gray, -.health-check-accordion-trigger .badge.gray { - border: 1px solid #c3c4c7; -} - -.privacy-settings-accordion-trigger[aria-expanded="true"] .icon, -.privacy-settings-view-passed[aria-expanded="true"] .icon, -.health-check-accordion-trigger[aria-expanded="true"] .icon, -.site-health-view-passed[aria-expanded="true"] .icon { - transform: translateY(-30%) rotate(-135deg) -} - -.privacy-settings-accordion-panel, -.health-check-accordion-panel { - margin: 0; - padding: 1em 1.5em; - background: #fff; -} - -.privacy-settings-accordion-panel[hidden], -.health-check-accordion-panel[hidden] { - display: none; -} - -.privacy-settings-accordion-panel a .dashicons, -.health-check-accordion-panel a .dashicons { - text-decoration: none; -} - -.privacy-settings-accordion-actions { - text-align: right; - display: block; -} - -.privacy-settings-accordion-actions .success { - display: none; - color: #008a20; - padding-right: 1em; - padding-top: 6px; -} - -.privacy-settings-accordion-actions .success.visible { - display: inline-block; -} - -/* Suggested text for privacy policy */ -.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat, see #49282 */ -.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-policy-tutorial, -.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-text-copy { - display: none; -} - -.privacy-settings-accordion-panel strong.wp-policy-help, /* For back-compat, see #49282 */ -.privacy-settings-accordion-panel strong.privacy-policy-tutorial { - display: block; - margin: 0 0 1em; -} - -.privacy-text-copy span { - pointer-events: none; -} - -.privacy-settings-accordion-panel .wp-suggested-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p), -.privacy-settings-accordion-panel .wp-suggested-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p), -.privacy-settings-accordion-panel > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p), -.privacy-settings-accordion-panel div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.notice p) { - margin: 0; - padding: 1em; - border-left: 2px solid #787c82; -} - -/* Media queries */ -@media screen and (max-width: 782px) { - - .privacy-settings-body, - .health-check-body { - margin: 0 12px; - width: auto; - } - - .privacy-settings .notice, - .site-health .notice { - margin: 5px 10px 15px; - } - - .privacy-settings .update-nag, - .site-health .update-nag { - margin-right: 10px; - margin-left: 10px; - } - - input#create-page { - margin-top: 10px; - } - - .wp-core-ui button.privacy-text-copy { - white-space: normal; - line-height: 1.8; - } -} - -@media only screen and (max-width: 1004px) { - - .privacy-settings-body, - .health-check-body { - margin: 0 22px; - width: auto; - } -} - -/** -* End Privacy Settings section -*/ - -/*------------------------------------------------------------------------------ - 11.1 - Custom Fields -------------------------------------------------------------------------------*/ - -#postcustomstuff thead th { - padding: 5px 8px 8px; - background-color: #f0f0f1; -} - -#postcustom #postcustomstuff .submit { - border: 0 none; - float: none; - padding: 0 8px 8px; -} - -#side-sortables #postcustom #postcustomstuff .submit { - margin: 0; - padding: 0; -} - -#side-sortables #postcustom #postcustomstuff #the-list textarea { - height: 85px; -} - -#side-sortables #postcustom #postcustomstuff td.left input, -#side-sortables #postcustom #postcustomstuff td.left select, -#side-sortables #postcustomstuff #newmetaleft a { - margin: 3px 3px 0; -} - -#postcustomstuff table { - margin: 0; - width: 100%; - border: 1px solid #dcdcde; - border-spacing: 0; - background-color: #f6f7f7; -} - -#postcustomstuff tr { - vertical-align: top; -} - -#postcustomstuff table input, -#postcustomstuff table select, -#postcustomstuff table textarea { - width: 96%; - margin: 8px; -} - -#side-sortables #postcustomstuff table input, -#side-sortables #postcustomstuff table select, -#side-sortables #postcustomstuff table textarea { - margin: 3px; -} - -#postcustomstuff th.left, -#postcustomstuff td.left { - width: 38%; -} - -#postcustomstuff .submit input { - margin: 0; - width: auto; -} - -#postcustomstuff #newmetaleft a { - display: inline-block; - margin: 0 8px 8px; - text-decoration: none; -} - -.no-js #postcustomstuff #enternew { - display: none; -} - -#post-body-content .compat-attachment-fields { - margin-bottom: 20px; -} - -.compat-attachment-fields th { - padding-top: 5px; - padding-right: 10px; -} - -/*------------------------------------------------------------------------------ - 11.3 - Featured Images -------------------------------------------------------------------------------*/ - -#select-featured-image { - padding: 4px 0; - overflow: hidden; -} - -#select-featured-image img { - max-width: 100%; - height: auto; - margin-bottom: 10px; -} - -#select-featured-image a { - float: left; - clear: both; -} - -#select-featured-image .remove { - display: none; - margin-top: 10px; -} - -.js #select-featured-image.has-featured-image .remove { - display: inline-block; -} - -.no-js #select-featured-image .choose { - display: none; -} - -/*------------------------------------------------------------------------------ - 11.4 - Post formats -------------------------------------------------------------------------------*/ - -.post-format-icon::before { - display: inline-block; - vertical-align: middle; - height: 20px; - width: 20px; - margin-top: -4px; - margin-right: 7px; - color: #dcdcde; - font: normal 20px/1 dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a.post-format-icon:hover:before { - color: #135e96; -} - -#post-formats-select { - line-height: 2; -} - -#post-formats-select .post-format-icon::before { - top: 5px; -} - -input.post-format { - margin-top: 1px; -} - -label.post-format-icon { - margin-left: 0; - padding: 2px 0; -} - -.post-format-icon.post-format-standard::before { - content: "\f109"; -} - -.post-format-icon.post-format-image::before { - content: "\f128"; -} - -.post-format-icon.post-format-gallery::before { - content: "\f161"; -} - -.post-format-icon.post-format-audio::before { - content: "\f127"; -} - -.post-format-icon.post-format-video::before { - content: "\f126"; -} - -.post-format-icon.post-format-chat::before { - content: "\f125"; -} - -.post-format-icon.post-format-status::before { - content: "\f130"; -} - -.post-format-icon.post-format-aside::before { - content: "\f123"; -} - -.post-format-icon.post-format-quote::before { - content: "\f122"; -} - -.post-format-icon.post-format-link::before { - content: "\f103"; -} - -/*------------------------------------------------------------------------------ - 12.0 - Categories -------------------------------------------------------------------------------*/ - -.category-adder { - margin-left: 120px; - padding: 4px 0; -} - -.category-adder h4 { - margin: 0 0 8px; -} - -#side-sortables .category-adder { - margin: 0; -} - -.wp-tab-panel, -.categorydiv div.tabs-panel, -.customlinkdiv div.tabs-panel, -.posttypediv div.tabs-panel, -.taxonomydiv div.tabs-panel { - min-height: 42px; - max-height: 200px; - overflow: auto; - padding: 0 0.9em; - border: solid 1px #dcdcde; - background-color: #fff; -} - -div.tabs-panel-active { - display: block; -} - -div.tabs-panel-inactive { - display: none; -} - -div.tabs-panel-active:focus { - box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(79, 148, 212, 0.8); - outline: 0 none; -} - -#front-page-warning, -#front-static-pages ul, -ul.export-filters, -.inline-editor ul.cat-checklist ul, -.categorydiv ul.categorychecklist ul, -.customlinkdiv ul.categorychecklist ul, -.posttypediv ul.categorychecklist ul, -.taxonomydiv ul.categorychecklist ul { - margin-left: 18px; -} - -ul.categorychecklist li { - margin: 0; - padding: 0; - line-height: 1.69230769; - word-wrap: break-word; -} - -.categorydiv .tabs-panel, -.customlinkdiv .tabs-panel, -.posttypediv .tabs-panel, -.taxonomydiv .tabs-panel { - border-width: 3px; - border-style: solid; -} - -.form-wrap label { - display: block; - padding: 2px 0; -} - -.form-field input[type="text"], -.form-field input[type="password"], -.form-field input[type="email"], -.form-field input[type="number"], -.form-field input[type="search"], -.form-field input[type="tel"], -.form-field input[type="url"], -.form-field textarea { - border-style: solid; - border-width: 1px; - width: 95%; -} - -.form-field select, -.form-field p { - max-width: 95%; -} - -p.description, -.form-wrap p { - margin: 2px 0 5px; - color: #646970; -} - -p.help, -p.description, -span.description, -.form-wrap p { - font-size: 13px; -} - -p.description code { - font-style: normal; -} - -.form-wrap .form-field { - margin: 1em 0; - padding: 0; -} - -.col-wrap h2 { - margin: 12px 0; - font-size: 1.1em; -} - -.col-wrap p.submit { - margin-top: -10px; -} - -.edit-term-notes { - margin-top: 2em; -} - -/*------------------------------------------------------------------------------ - 13.0 - Tags -------------------------------------------------------------------------------*/ - -#poststuff .tagsdiv .ajaxtag { - margin-top: 1em; -} - -#poststuff .tagsdiv .howto { - margin: 1em 0 6px; -} - -.ajaxtag .newtag { - position: relative; -} - -.tagsdiv .newtag { - width: 180px; -} - -.tagsdiv .the-tags { - display: block; - height: 60px; - margin: 0 auto; - overflow: auto; - width: 260px; -} - -#post-body-content .tagsdiv .the-tags { - margin: 0 5px; -} - -p.popular-tags { - border: none; - line-height: 2em; - padding: 8px 12px 12px; - text-align: justify; -} - -p.popular-tags a { - padding: 0 3px; -} - -.tagcloud { - width: 97%; - margin: 0 0 40px; - text-align: justify; -} - -.tagcloud h2 { - margin: 2px 0 12px; -} - -#poststuff .inside .the-tagcloud { - margin: 5px 0 10px; - padding: 8px; - border: 1px solid #dcdcde; - line-height: 1.2; - word-spacing: 3px; -} - -.the-tagcloud ul { - margin: 0; -} - -.the-tagcloud ul li { - display: inline-block; -} - -/* Back-compat styles from deprecated jQuery.suggest, see ticket #40260. */ -.ac_results { - display: none; - margin: -1px 0 0; - padding: 0; - list-style: none; - position: absolute; - z-index: 10000; - border: 1px solid #4f94d4; - background-color: #fff; -} - -.wp-customizer .ac_results { - z-index: 500000; -} - -.ac_results li { - margin: 0; - padding: 5px 10px; - white-space: nowrap; - text-align: left; -} - -.ac_results .ac_over, -.ac_over .ac_match { - background-color: #2271b1; - color: #fff; - cursor: pointer; -} - -.ac_match { - text-decoration: underline; -} - -#addtag .spinner { - float: none; - vertical-align: top; -} - -#edittag { - max-width: 800px; -} - -.edit-tag-actions { - margin-top: 20px; -} - -/* Comments */ - -.comment-php .wp-editor-area { - height: 200px; -} - -.comment-ays th, -.comment-ays td { - padding: 10px 15px; -} - -.comment-ays .comment-content ul { - list-style: initial; - margin-left: 2em; -} - -.comment-ays .comment-content a[href]:after { - content: "(" attr( href ) ")"; - display: inline-block; - padding: 0 4px; - color: #646970; - font-size: 13px; - word-break: break-all; -} - -.comment-ays .comment-content p.edit-comment { - margin-top: 10px; -} - -.comment-ays .comment-content p.edit-comment a[href]:after { - content: ""; - padding: 0; -} - -.comment-ays-submit .button-cancel { - margin-left: 1em; -} - -.trash-undo-inside, -.spam-undo-inside { - margin: 1px 8px 1px 0; - line-height: 1.23076923; -} - -.spam-undo-inside .avatar, -.trash-undo-inside .avatar { - height: 20px; - width: 20px; - margin-right: 8px; - vertical-align: middle; -} - -.stuffbox .editcomment { - clear: none; - margin-top: 0; -} - -#namediv.stuffbox .editcomment input { - width: 100%; -} - -#namediv.stuffbox .editcomment.form-table td { - padding: 10px; -} - -#comment-status-radio p { - margin: 3px 0 5px; -} - -#comment-status-radio input { - margin: 2px 3px 5px 0; - vertical-align: middle; -} - -#comment-status-radio label { - padding: 5px 0; -} - -/* links tables */ -table.links-table { - width: 100%; - border-spacing: 0; -} - -.links-table th { - font-weight: 400; - text-align: left; - vertical-align: top; - min-width: 80px; - width: 20%; - word-wrap: break-word; -} - -.links-table th, -.links-table td { - padding: 5px 0; -} - -.links-table td label { - margin-right: 8px; -} - -.links-table td input[type="text"], -.links-table td textarea { - width: 100%; -} - -.links-table #link_rel { - max-width: 280px; -} - -/* DFW 2 --------------------------------------------------------------- */ - -#qt_content_dfw { - display: none; -} - -.wp-editor-expand #qt_content_dfw { - display: inline-block; -} - -.focus-on .wrap > h1, -.focus-on .page-title-action, -.focus-on #wpfooter, -.focus-on .postbox-container > *, -.focus-on div.updated, -.focus-on div.error, -.focus-on div.notice, -.focus-on .update-nag, -.focus-on #wp-toolbar, -.focus-on #screen-meta-links, -.focus-on #screen-meta { - opacity: 0; - transition-duration: 0.6s; - transition-property: opacity; - transition-timing-function: ease-in-out; -} - -.focus-on #wp-toolbar { - opacity: 0.3; -} - -.focus-off .wrap > h1, -.focus-off .page-title-action, -.focus-off #wpfooter, -.focus-off .postbox-container > *, -.focus-off div.updated, -.focus-off div.error, -.focus-off div.notice, -.focus-off .update-nag, -.focus-off #wp-toolbar, -.focus-off #screen-meta-links, -.focus-off #screen-meta { - opacity: 1; - transition-duration: 0.2s; - transition-property: opacity; - transition-timing-function: ease-in-out; -} - -.focus-off #wp-toolbar { - -webkit-transform: translate(0, 0); -} - -.focus-on #adminmenuback, -.focus-on #adminmenuwrap { - transition-duration: 0.6s; - transition-property: transform; - transition-timing-function: ease-in-out; -} - -.focus-on #adminmenuback, -.focus-on #adminmenuwrap { - transform: translateX( -100% ); -} - -.focus-off #adminmenuback, -.focus-off #adminmenuwrap { - transform: translateX( 0 ); - transition-duration: 0.2s; - transition-property: transform; - transition-timing-function: ease-in-out; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - #content-resize-handle, - #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom; - background-size: 11px 11px; - } - - /*rtl:ignore*/ - .rtl #content-resize-handle, - .rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background-image: url(../images/resize-rtl-2x.gif); - background-position: left bottom; - } -} - -/* - * The edit attachment screen auto-switches to one column layout when the - * viewport is smaller than 1200 pixels. - */ -@media only screen and (max-width: 1200px) { - .post-type-attachment #poststuff { - min-width: 0; - } - - .post-type-attachment #wpbody-content #poststuff #post-body { - margin: 0; - } - - .post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1 { - margin-right: 0; - width: 100%; - } - - .post-type-attachment #poststuff #postbox-container-1 .empty-container, - .post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty { - outline: none; - height: 0; - min-height: 0; - } - - .post-type-attachment #poststuff #post-body.columns-2 #side-sortables { - min-height: 0; - width: auto; - } - - .is-dragging-metaboxes.post-type-attachment #post-body .meta-box-sortables { - outline: none; - min-height: 0; - margin-bottom: 0; - } - - /* hide the radio buttons for column prefs */ - .post-type-attachment .screen-layout, - .post-type-attachment .columns-prefs { - display: none; - } -} - -/* one column on the post write/edit screen */ -@media only screen and (max-width: 850px) { - #poststuff { - min-width: 0; - } - - #wpbody-content #poststuff #post-body { - margin: 0; - } - - #wpbody-content #post-body.columns-2 #postbox-container-1 { - margin-right: 0; - width: 100%; - } - - #poststuff #postbox-container-1 .empty-container, - #poststuff #postbox-container-1 #side-sortables:empty { - height: 0; - min-height: 0; - } - - #poststuff #post-body.columns-2 #side-sortables { - min-height: 0; - width: auto; - } - - /* Increase min-height while dragging for the #side-sortables and any potential sortables area with custom ID. */ - .is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container, - .is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty, - .is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables, - .is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables { - height: auto; - min-height: 60px; - } - - /* hide the radio buttons for column prefs */ - .screen-layout, - .columns-prefs { - display: none; - } -} - -@media screen and (max-width: 782px) { - .wp-core-ui .edit-tag-actions .button-primary { - margin-bottom: 0; - } - - #post-body-content { - min-width: 0; - } - - #titlediv #title-prompt-text { - padding: 10px; - } - - #poststuff .stuffbox .inside { - padding: 0 2px 4px 0; - } - - #poststuff h3.hndle, /* Back-compat for pre-4.4 */ - #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ - #poststuff h2 { - padding: 12px; - } - - #namediv.stuffbox .editcomment.form-table td { - padding: 5px 10px; - } - - .post-format-options { - padding-right: 0; - } - - .post-format-options a { - margin-right: 5px; - margin-bottom: 5px; - min-width: 52px; - } - - .post-format-options .post-format-title { - font-size: 11px; - } - - .post-format-options a div { - height: 28px; - width: 28px; - } - - .post-format-options a div:before { - font-size: 26px !important; - } - - /* Publish Metabox Options */ - #post-visibility-select { - line-height: 280%; - } - - .wp-core-ui .save-post-visibility, - .wp-core-ui .save-timestamp { - vertical-align: middle; - margin-right: 15px; - } - - .timestamp-wrap select#mm { - display: block; - width: 100%; - margin-bottom: 10px; - } - - .timestamp-wrap #jj, - .timestamp-wrap #aa, - .timestamp-wrap #hh, - .timestamp-wrap #mn { - padding: 12px 3px; - font-size: 14px; - margin-bottom: 5px; - width: auto; - text-align: center; - } - - /* Categories Metabox */ - ul.category-tabs { - margin: 30px 0 15px; - } - - ul.category-tabs li.tabs { - padding: 15px; - } - - ul.categorychecklist li { - margin-bottom: 15px; - } - - ul.categorychecklist ul { - margin-top: 15px; - } - - .category-add input[type=text], - .category-add select { - max-width: none; - margin-bottom: 15px; - } - - /* Tags Metabox */ - .tagsdiv .newtag { - width: 100%; - height: auto; - margin-bottom: 15px; - } - - .tagchecklist { - margin: 25px 10px; - } - - .tagchecklist > li { - font-size: 16px; - line-height: 1.4; - } - - /* Discussion */ - #commentstatusdiv p { - line-height: 2.8; - } - - /* TinyMCE Adjustments */ - .mceToolbar * { - white-space: normal !important; - } - - .mceToolbar tr, - .mceToolbar td { - float: left !important; - } - - .wp_themeSkin a.mceButton { - width: 30px; - height: 30px; - } - - .wp_themeSkin .mceButton .mceIcon { - margin-top: 5px; - margin-left: 5px; - } - - .wp_themeSkin .mceSplitButton { - margin-top: 1px; - } - - .wp_themeSkin .mceSplitButton td a.mceAction { - padding: 6px 3px 6px 6px; - } - - .wp_themeSkin .mceSplitButton td a.mceOpen, - .wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen { - padding-top: 6px; - padding-bottom: 6px; - background-position: 1px 6px; - } - - .wp_themeSkin table.mceListBox { - margin: 5px; - } - - div.quicktags-toolbar input { - padding: 10px 20px; - } - - button.wp-switch-editor { - font-size: 16px; - line-height: 1; - margin: 7px 0 0 7px; - padding: 8px 12px; - } - - #wp-content-media-buttons a { - font-size: 14px; - padding: 6px 10px; - } - - .wp-media-buttons span.wp-media-buttons-icon, - .wp-media-buttons span.jetpack-contact-form-icon { - width: 22px !important; - margin-left: -2px !important; - } - - .wp-media-buttons .add_media span.wp-media-buttons-icon:before, - .wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before { - font-size: 20px !important; - } - - #content_wp_fullscreen { - display: none; - } - - .misc-pub-section { - padding: 20px 10px; - } - - #delete-action, - #publishing-action { - line-height: 3.61538461; - } - - #publishing-action .spinner { - float: none; - margin-top: -2px; /* Half of the Publish button's bottom margin. */ - } - - /* Moderate Comment */ - .comment-ays th, - .comment-ays td { - padding-bottom: 0; - } - - .comment-ays td { - padding-top: 6px; - } - - /* Links */ - .links-table #link_rel { - max-width: none; - } - - .links-table th, - .links-table td { - padding: 10px 0; - } - - .edit-term-notes { - display: none; - } - - .privacy-text-box { - width: auto; - } - - .privacy-text-box-toc { - float: none; - width: auto; - height: 100%; - display: flex; - flex-direction: column; - } - - .privacy-text-section .return-to-top { - margin: 2em 0 0; - } -} diff --git a/build/wp-admin/css/edit.min.css b/build/wp-admin/css/edit.min.css deleted file mode 100644 index 276cf6d23d..0000000000 --- a/build/wp-admin/css/edit.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-right:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:left}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:left;margin:0 5px 0 0}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#646970;position:absolute;font-size:1.7em;padding:10px;pointer-events:none}input#link_description,input#link_url{width:100%}#pending{background:0 none;border:0 none;padding:0;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:1.84615384;min-height:25px;margin-top:5px;padding:0 10px;color:#646970}#sample-permalink{display:inline-block;max-width:100%;word-wrap:break-word}#edit-slug-box .cancel{margin-right:10px;padding:0;font-size:11px}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:600}#editable-post-name input{font-size:13px;font-weight:400;height:24px;margin:0;width:16em}.postarea h3 label{float:left}body.post-new-php .submitbox .submitdelete{display:none}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px}#post-status-select{margin-top:3px}body.post-type-wp_navigation .inline-edit-status,body.post-type-wp_navigation div#minor-publishing{display:none}.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables{outline:3px dashed #646970;display:flow-root;min-height:60px;margin-bottom:20px}.postbox{position:relative;min-width:255px;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:transparent none;border:0 none;float:right;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#2c3338}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0 none}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:solid 1px transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dcdcde;border-bottom-color:#fff;background-color:#fff}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 6px}#set-post-thumbnail{display:inline-block;max-width:100%}#postimagediv .inside img{max-width:100%;height:auto;width:auto;vertical-align:top;background-image:linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:0 0,10px 10px;background-size:20px 20px}form#tags-filter{position:relative}.ui-tabs-hide,.wp-hidden-children .wp-hidden-child{display:none}#post-body .tagsdiv #newtag{margin-right:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #c3c4c7;border-top:none;background-color:#f6f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:right}#editorcontent #post-status-info{border:none}#content-resize-handle{background:transparent url(../images/resize.gif) no-repeat scroll right bottom;width:12px;cursor:row-resize}.rtl #content-resize-handle{background-image:url(../images/resize-rtl.gif);background-position:left bottom}.wp-editor-expand #content-resize-handle{display:none}#postdivrich #content{resize:none}#wp-word-count{padding:2px 10px}#wp-content-editor-container{position:relative}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #c3c4c7}.wp-editor-expand #wp-content-editor-container{box-shadow:none;margin-top:-1px}.wp-editor-expand #wp-content-editor-container{border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #c3c4c7}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw{display:none}.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f0f0f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{vertical-align:top;font-size:12px;line-height:2.33333333}#aa,#hh,#jj,#mn{padding:6px 1px;font-size:12px;line-height:1.16666666}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,#post-body .misc-pub-uploadedby:before,#post-body .misc-pub-uploadedto:before,.curtime #timestamp:before{color:#8c8f94}#post-body #visibility:before,#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before,#post-body .misc-pub-response-to:before,#post-body .misc-pub-revisions:before,#post-body .misc-pub-uploadedby:before,#post-body .misc-pub-uploadedto:before,.curtime #timestamp:before{font:normal 20px/1 dashicons;speak:never;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#post-body .misc-pub-comment-status:before,#post-body .misc-pub-post-status:before{content:"\f173"}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";position:relative;top:-1px}#post-body .misc-pub-uploadedby:before{content:"\f110";position:relative;top:-1px}#post-body .misc-pub-uploadedto:before{content:"\f318";position:relative;top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#post-body .misc-pub-response-to:before{content:"\f101"}#timestampdiv{padding-top:5px;line-height:1.76923076}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{text-align:center}.notification-dialog{position:fixed;top:30%;max-height:70%;left:50%;width:450px;margin-left:-225px;background:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#file-editor-warning .button,#post-lock-dialog .post-locked-message a.button{margin-right:10px}#post-lock-dialog .post-locked-avatar{float:left;margin:0 20px 20px 0}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:left;margin-right:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist strong{margin-left:-8px;position:absolute}.tagchecklist>li{float:left;margin-right:25px;font-size:13px;line-height:1.8;cursor:default;max-width:100%;overflow:hidden;text-overflow:ellipsis}.tagchecklist .ntdelbutton{position:absolute;width:24px;height:24px;border:none;margin:0 0 0 -19px;padding:0;background:0 0;cursor:pointer;text-indent:0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .stuffbox h2{padding:8px 10px}#poststuff .stuffbox>h2{border-bottom:1px solid #f0f0f1}#poststuff .inside{margin:6px 0 0}.link-add-php #poststuff .inside,.link-php #poststuff .inside{margin-top:12px}#poststuff .stuffbox .inside{margin:0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}.post-attributes-label-wrapper{margin-bottom:.5em}.post-attributes-label{vertical-align:baseline;font-weight:600}#comment-status-radio,#post-visibility-select{line-height:1.5;margin-top:3px}#linksubmitdiv .inside,#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}.wp_attachment_details .attachment-content-description{margin-top:.5385em;display:inline-block;min-height:1.6923em}.privacy-settings #wpcontent,.privacy-settings.auto-fold #wpcontent,.site-health #wpcontent,.site-health.auto-fold #wpcontent{padding-left:0}.privacy-settings .notice,.site-health .notice{margin:25px 20px 15px 22px}.privacy-settings .notice~.notice,.site-health .notice~.notice{margin-top:5px}.health-check-header h1,.privacy-settings-header h1{display:inline-block;font-weight:600;margin:0 .8rem 1rem;font-size:23px;padding:9px 0 4px;line-height:1.3}.health-check-header,.privacy-settings-header{text-align:center;margin:0 0 1rem;background:#fff;border-bottom:1px solid #dcdcde}.health-check-title-section,.privacy-settings-title-section{display:flex;align-items:center;justify-content:center;clear:both;padding-top:8px}.privacy-settings-tabs-wrapper{display:-ms-inline-grid;-ms-grid-columns:1fr 1fr;vertical-align:top;display:inline-grid;grid-template-columns:1fr 1fr}.privacy-settings-tab{display:block;text-decoration:none;color:inherit;padding:.5rem 1rem 1rem;margin:0 1rem;transition:box-shadow .5s ease-in-out}.health-check-tab:nth-child(1),.privacy-settings-tab:nth-child(1){-ms-grid-column:1}.health-check-tab:nth-child(2),.privacy-settings-tab:nth-child(2){-ms-grid-column:2}.health-check-tab:focus,.privacy-settings-tab:focus{color:#1d2327;outline:1px solid #787c82;box-shadow:none}.health-check-tab.active,.privacy-settings-tab.active{box-shadow:inset 0 -3px #3582c4;font-weight:600}.health-check-body,.privacy-settings-body{max-width:800px;margin:0 auto}.tools-privacy-policy-page th{min-width:230px}.hr-separator{margin-top:20px;margin-bottom:15px}.health-check-accordion,.privacy-settings-accordion{border:1px solid #c3c4c7}.health-check-accordion-heading,.privacy-settings-accordion-heading{margin:0;border-top:1px solid #c3c4c7;font-size:inherit;line-height:inherit;font-weight:600;color:inherit}.health-check-accordion-heading:first-child,.privacy-settings-accordion-heading:first-child{border-top:none}.health-check-accordion-trigger,.privacy-settings-accordion-trigger{background:#fff;border:0;color:#2c3338;cursor:pointer;display:flex;font-weight:400;margin:0;padding:1em 3.5em 1em 1.5em;min-height:46px;position:relative;text-align:left;width:100%;align-items:center;justify-content:space-between;-webkit-user-select:auto;user-select:auto}.health-check-accordion-trigger:active,.health-check-accordion-trigger:hover,.privacy-settings-accordion-trigger:active,.privacy-settings-accordion-trigger:hover{background:#f6f7f7}.health-check-accordion-trigger:focus,.privacy-settings-accordion-trigger:focus{color:#1d2327;border:none;box-shadow:none;outline-offset:-1px;outline:2px solid #2271b1;background-color:#f6f7f7}.health-check-accordion-trigger .title,.privacy-settings-accordion-trigger .title{pointer-events:none;font-weight:600;flex-grow:1}.health-check-accordion-trigger .icon,.privacy-settings-accordion-trigger .icon,.privacy-settings-view-read .icon,.site-health-view-passed .icon{border:solid #50575e;border-width:0 2px 2px 0;height:.5rem;pointer-events:none;position:absolute;right:1.5em;top:50%;transform:translateY(-70%) rotate(45deg);width:.5rem}.health-check-accordion-trigger .badge,.privacy-settings-accordion-trigger .badge{padding:.1rem .5rem .15rem;color:#2c3338;font-weight:600}.privacy-settings-accordion-trigger .badge{margin-left:.5rem}.health-check-accordion-trigger .badge.blue,.privacy-settings-accordion-trigger .badge.blue{border:1px solid #72aee6}.health-check-accordion-trigger .badge.orange,.privacy-settings-accordion-trigger .badge.orange{border:1px solid #dba617}.health-check-accordion-trigger .badge.red,.privacy-settings-accordion-trigger .badge.red{border:1px solid #e65054}.health-check-accordion-trigger .badge.green,.privacy-settings-accordion-trigger .badge.green{border:1px solid #00ba37}.health-check-accordion-trigger .badge.purple,.privacy-settings-accordion-trigger .badge.purple{border:1px solid #2271b1}.health-check-accordion-trigger .badge.gray,.privacy-settings-accordion-trigger .badge.gray{border:1px solid #c3c4c7}.health-check-accordion-trigger[aria-expanded=true] .icon,.privacy-settings-accordion-trigger[aria-expanded=true] .icon,.privacy-settings-view-passed[aria-expanded=true] .icon,.site-health-view-passed[aria-expanded=true] .icon{transform:translateY(-30%) rotate(-135deg)}.health-check-accordion-panel,.privacy-settings-accordion-panel{margin:0;padding:1em 1.5em;background:#fff}.health-check-accordion-panel[hidden],.privacy-settings-accordion-panel[hidden]{display:none}.health-check-accordion-panel a .dashicons,.privacy-settings-accordion-panel a .dashicons{text-decoration:none}.privacy-settings-accordion-actions{text-align:right;display:block}.privacy-settings-accordion-actions .success{display:none;color:#008a20;padding-right:1em;padding-top:6px}.privacy-settings-accordion-actions .success.visible{display:inline-block}.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-policy-tutorial,.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .privacy-text-copy,.privacy-settings-accordion-panel.hide-privacy-policy-tutorial .wp-policy-help{display:none}.privacy-settings-accordion-panel strong.privacy-policy-tutorial,.privacy-settings-accordion-panel strong.wp-policy-help{display:block;margin:0 0 1em}.privacy-text-copy span{pointer-events:none}.privacy-settings-accordion-panel .wp-suggested-text div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep),.privacy-settings-accordion-panel .wp-suggested-text>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep),.privacy-settings-accordion-panel div>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep),.privacy-settings-accordion-panel>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help):not(.privacy-text-copy):not(span.success):not(.noticep){margin:0;padding:1em;border-left:2px solid #787c82}@media screen and (max-width:782px){.health-check-body,.privacy-settings-body{margin:0 12px;width:auto}.privacy-settings .notice,.site-health .notice{margin:5px 10px 15px}.privacy-settings .update-nag,.site-health .update-nag{margin-right:10px;margin-left:10px}input#create-page{margin-top:10px}.wp-core-ui button.privacy-text-copy{white-space:normal;line-height:1.8}}@media only screen and (max-width:1004px){.health-check-body,.privacy-settings-body{margin:0 22px;width:auto}}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f0f0f1}#postcustom #postcustomstuff .submit{border:0 none;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dcdcde;border-spacing:0;background-color:#f6f7f7}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-right:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:left;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-format-icon::before{display:inline-block;vertical-align:middle;height:20px;width:20px;margin-top:-4px;margin-right:7px;color:#dcdcde;font:normal 20px/1 dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a.post-format-icon:hover:before{color:#135e96}#post-formats-select{line-height:2}#post-formats-select .post-format-icon::before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-left:0;padding:2px 0}.post-format-icon.post-format-standard::before{content:"\f109"}.post-format-icon.post-format-image::before{content:"\f128"}.post-format-icon.post-format-gallery::before{content:"\f161"}.post-format-icon.post-format-audio::before{content:"\f127"}.post-format-icon.post-format-video::before{content:"\f126"}.post-format-icon.post-format-chat::before{content:"\f125"}.post-format-icon.post-format-status::before{content:"\f130"}.post-format-icon.post-format-aside::before{content:"\f123"}.post-format-icon.post-format-quote::before{content:"\f122"}.post-format-icon.post-format-link::before{content:"\f103"}.category-adder{margin-left:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:solid 1px #dcdcde;background-color:#fff}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}div.tabs-panel-active:focus{box-shadow:inset 0 0 0 1px #4f94d4,inset 0 0 2px 1px rgba(79,148,212,.8);outline:0 none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-left:18px}ul.categorychecklist li{margin:0;padding:0;line-height:1.69230769;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px 0}.form-field input[type=email],.form-field input[type=number],.form-field input[type=password],.form-field input[type=search],.form-field input[type=tel],.form-field input[type=text],.form-field input[type=url],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-field p,.form-field select{max-width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#646970}.form-wrap p,p.description,p.help,span.description{font-size:13px}p.description code{font-style:normal}.form-wrap .form-field{margin:1em 0;padding:0}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}.edit-term-notes{margin-top:2em}#poststuff .tagsdiv .ajaxtag{margin-top:1em}#poststuff .tagsdiv .howto{margin:1em 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #dcdcde;line-height:1.2;word-spacing:3px}.the-tagcloud ul{margin:0}.the-tagcloud ul li{display:inline-block}.ac_results{display:none;margin:-1px 0 0;padding:0;list-style:none;position:absolute;z-index:10000;border:1px solid #4f94d4;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{margin:0;padding:5px 10px;white-space:nowrap;text-align:left}.ac_over .ac_match,.ac_results .ac_over{background-color:#2271b1;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}#addtag .spinner{float:none;vertical-align:top}#edittag{max-width:800px}.edit-tag-actions{margin-top:20px}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}.comment-ays .comment-content ul{list-style:initial;margin-left:2em}.comment-ays .comment-content a[href]:after{content:"(" attr(href) ")";display:inline-block;padding:0 4px;color:#646970;font-size:13px;word-break:break-all}.comment-ays .comment-content p.edit-comment{margin-top:10px}.comment-ays .comment-content p.edit-comment a[href]:after{content:"";padding:0}.comment-ays-submit .button-cancel{margin-left:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 8px 1px 0;line-height:1.23076923}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle}.stuffbox .editcomment{clear:none;margin-top:0}#namediv.stuffbox .editcomment input{width:100%}#namediv.stuffbox .editcomment.form-table td{padding:10px}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle}#comment-status-radio label{padding:5px 0}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:left;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td,.links-table th{padding:5px 0}.links-table td label{margin-right:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}#qt_content_dfw{display:none}.wp-editor-expand #qt_content_dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .page-title-action,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;transition-duration:.6s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .page-title-action,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;transition-duration:.2s;transition-property:opacity;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transition-duration:.6s;transition-property:transform;transition-timing-function:ease-in-out}.focus-on #adminmenuback,.focus-on #adminmenuwrap{transform:translateX(-100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{transform:translateX(0);transition-duration:.2s;transition-property:transform;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background-image:url(../images/resize-rtl-2x.gif);background-position:left bottom}}@media only screen and (max-width:1200px){.post-type-attachment #poststuff{min-width:0}.post-type-attachment #wpbody-content #poststuff #post-body{margin:0}.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty,.post-type-attachment #poststuff #postbox-container-1 .empty-container{outline:0;height:0;min-height:0}.post-type-attachment #poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.is-dragging-metaboxes.post-type-attachment #post-body .meta-box-sortables{outline:0;min-height:0;margin-bottom:0}.post-type-attachment .columns-prefs,.post-type-attachment .screen-layout{display:none}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables,.is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables,.is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty,.is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container{height:auto;min-height:60px}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){.wp-core-ui .edit-tag-actions .button-primary{margin-bottom:0}#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff .stuffbox .inside{padding:0 2px 4px 0}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}#namediv.stuffbox .editcomment.form-table td{padding:5px 10px}.post-format-options{padding-right:0}.post-format-options a{margin-right:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-right:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist li{margin-bottom:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto;margin-bottom:15px}.tagchecklist{margin:25px 10px}.tagchecklist>li{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:left!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-left:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 3px 6px 6px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1;margin:7px 0 0 7px;padding:8px 12px}#wp-content-media-buttons a{font-size:14px;padding:6px 10px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-left:-2px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}#delete-action,#publishing-action{line-height:3.61538461}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}.edit-term-notes{display:none}.privacy-text-box{width:auto}.privacy-text-box-toc{float:none;width:auto;height:100%;display:flex;flex-direction:column}.privacy-text-section .return-to-top{margin:2em 0 0}} \ No newline at end of file diff --git a/build/wp-admin/css/farbtastic-rtl.css b/build/wp-admin/css/farbtastic-rtl.css deleted file mode 100644 index e7c1c829b9..0000000000 --- a/build/wp-admin/css/farbtastic-rtl.css +++ /dev/null @@ -1,42 +0,0 @@ -/*! This file is auto-generated */ - -.farbtastic { - position: relative; -} - -.farbtastic * { - position: absolute; - cursor: crosshair; -} - -.farbtastic, -.farbtastic .wheel { - width: 195px; - height: 195px; -} - -.farbtastic .color, -.farbtastic .overlay { - top: 47px; - right: 47px; - width: 101px; - height: 101px; -} - -.farbtastic .wheel { - background: url(../images/wheel.png) no-repeat; - width: 195px; - height: 195px; -} - -.farbtastic .overlay { - background: url(../images/mask.png) no-repeat; -} - -.farbtastic .marker { - width: 17px; - height: 17px; - margin: -8px -8px 0 0; - overflow: hidden; - background: url(../images/marker.png) no-repeat; -} diff --git a/build/wp-admin/css/farbtastic-rtl.min.css b/build/wp-admin/css/farbtastic-rtl.min.css deleted file mode 100644 index 26cc0c401d..0000000000 --- a/build/wp-admin/css/farbtastic-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;right:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px -8px 0 0;overflow:hidden;background:url(../images/marker.png) no-repeat} \ No newline at end of file diff --git a/build/wp-admin/css/farbtastic.css b/build/wp-admin/css/farbtastic.css deleted file mode 100644 index 2bb73bfc7c..0000000000 --- a/build/wp-admin/css/farbtastic.css +++ /dev/null @@ -1,41 +0,0 @@ - -.farbtastic { - position: relative; -} - -.farbtastic * { - position: absolute; - cursor: crosshair; -} - -.farbtastic, -.farbtastic .wheel { - width: 195px; - height: 195px; -} - -.farbtastic .color, -.farbtastic .overlay { - top: 47px; - left: 47px; - width: 101px; - height: 101px; -} - -.farbtastic .wheel { - background: url(../images/wheel.png) no-repeat; - width: 195px; - height: 195px; -} - -.farbtastic .overlay { - background: url(../images/mask.png) no-repeat; -} - -.farbtastic .marker { - width: 17px; - height: 17px; - margin: -8px 0 0 -8px; - overflow: hidden; - background: url(../images/marker.png) no-repeat; -} diff --git a/build/wp-admin/css/farbtastic.min.css b/build/wp-admin/css/farbtastic.min.css deleted file mode 100644 index e2768088a8..0000000000 --- a/build/wp-admin/css/farbtastic.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;left:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px 0 0 -8px;overflow:hidden;background:url(../images/marker.png) no-repeat} \ No newline at end of file diff --git a/build/wp-admin/css/forms-rtl.css b/build/wp-admin/css/forms-rtl.css deleted file mode 100644 index 7259f71d55..0000000000 --- a/build/wp-admin/css/forms-rtl.css +++ /dev/null @@ -1,1808 +0,0 @@ -/*! This file is auto-generated */ -/* Include margin and padding in the width calculation of input and textarea. */ -input, -select, -textarea, -button { - box-sizing: border-box; - font-family: inherit; - font-size: inherit; - font-weight: inherit; -} - -textarea, -input { - font-size: 14px; -} - -textarea { - overflow: auto; - padding: 2px 6px; - /* inherits font size 14px */ - line-height: 1.42857143; /* 20px */ - resize: vertical; -} - -label { - cursor: pointer; -} - -input, -select { - margin: 0 1px; -} - -textarea.code { - padding: 4px 6px 1px; -} - -input[type="text"], -input[type="password"], -input[type="color"], -input[type="date"], -input[type="datetime"], -input[type="datetime-local"], -input[type="email"], -input[type="month"], -input[type="number"], -input[type="search"], -input[type="tel"], -input[type="time"], -input[type="url"], -input[type="week"], -select, -textarea { - box-shadow: 0 0 0 transparent; - border-radius: 4px; - border: 1px solid #8c8f94; - background-color: #fff; - color: #2c3338; -} - -input[type="text"], -input[type="password"], -input[type="date"], -input[type="datetime"], -input[type="datetime-local"], -input[type="email"], -input[type="month"], -input[type="number"], -input[type="search"], -input[type="tel"], -input[type="time"], -input[type="url"], -input[type="week"] { - padding: 0 8px; - /* inherits font size 14px */ - line-height: 2; /* 28px */ - /* Only necessary for IE11 */ - min-height: 30px; -} - -::-webkit-datetime-edit { - /* inherits font size 14px */ - line-height: 1.85714286; /* 26px */ -} - -input[type="text"]:focus, -input[type="password"]:focus, -input[type="color"]:focus, -input[type="date"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="email"]:focus, -input[type="month"]:focus, -input[type="number"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="time"]:focus, -input[type="url"]:focus, -input[type="week"]:focus, -input[type="checkbox"]:focus, -input[type="radio"]:focus, -select:focus, -textarea:focus { - border-color: #2271b1; - box-shadow: 0 0 0 1px #2271b1; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -/* rtl:ignore */ -input[type="email"], -input[type="url"] { - direction: ltr; -} - -input[type="checkbox"], -input[type="radio"] { - border: 1px solid #8c8f94; - border-radius: 4px; - background: #fff; - color: #50575e; - clear: none; - cursor: pointer; - display: inline-block; - line-height: 0; - height: 1rem; - margin: -0.25rem 0 0 0.25rem; - outline: 0; - padding: 0 !important; - text-align: center; - vertical-align: middle; - width: 1rem; - min-width: 1rem; - -webkit-appearance: none; - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - transition: .05s border-color ease-in-out; -} - -input[type="radio"]:checked + label:before { - color: #8c8f94; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: #135e96; -} - -td > input[type="checkbox"], -.wp-admin p input[type="checkbox"], -.wp-admin p input[type="radio"] { - margin-top: 0; -} - -.wp-admin p label input[type="checkbox"] { - margin-top: -4px; -} - -.wp-admin p label input[type="radio"] { - margin-top: -2px; -} - -input[type="radio"] { - border-radius: 50%; - margin-left: 0.25rem; - /* 10px not sure if still necessary, comes from the MP6 redesign in r26072 */ - line-height: 0.71428571; -} - -input[type="checkbox"]:checked::before, -input[type="radio"]:checked::before { - float: right; - display: inline-block; - vertical-align: middle; - width: 1rem; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -input[type="checkbox"]:checked::before { - /* Use the "Yes" SVG Dashicon */ - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E"); - margin: -0.1875rem -0.25rem 0 0; - height: 1.3125rem; - width: 1.3125rem; -} - -input[type="radio"]:checked::before { - content: ""; - border-radius: 50%; - width: 0.5rem; /* 8px */ - height: 0.5rem; /* 8px */ - margin: 0.1875rem; /* 3px */ - background-color: #3582c4; - /* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */ - line-height: 1.14285714; -} - -@-moz-document url-prefix() { - input[type="checkbox"], - input[type="radio"], - .form-table input.tog { - margin-bottom: -1px; - } -} - -/* Search */ -input[type="search"] { - -webkit-appearance: textfield; -} - -input[type="search"]::-webkit-search-decoration { - display: none; -} - -.wp-admin input[type="file"] { - padding: 3px 0; - cursor: pointer; -} - -input.readonly, -input[readonly], -textarea.readonly, -textarea[readonly] { - background-color: #f0f0f1; -} - -::-webkit-input-placeholder { - color: #646970; -} - -::-moz-placeholder { - color: #646970; - opacity: 1; -} - -:-ms-input-placeholder { - color: #646970; -} - -.form-invalid .form-required, -.form-invalid .form-required:focus, -.form-invalid.form-required input, -.form-invalid.form-required input:focus, -.form-invalid.form-required select, -.form-invalid.form-required select:focus { - border-color: #d63638 !important; - box-shadow: 0 0 2px rgba(214, 54, 56, 0.8); -} - -.form-table .form-required.form-invalid td:after { - content: "\f534"; - font: normal 20px/1 dashicons; - color: #d63638; - margin-right: -25px; - vertical-align: middle; -} - -/* Adjust error indicator for password layout */ -.form-table .form-required.user-pass1-wrap.form-invalid td:after { - content: ""; -} - -.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after { - content: "\f534"; - font: normal 20px/1 dashicons; - color: #d63638; - margin: 0 -29px 0 6px; - vertical-align: middle; -} - -.form-input-tip { - color: #646970; -} - -input:disabled, -input.disabled, -select:disabled, -select.disabled, -textarea:disabled, -textarea.disabled { - background: rgba(255, 255, 255, 0.5); - border-color: rgba(220, 220, 222, 0.75); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); - color: rgba(44, 51, 56, 0.5); -} - -input[type="file"]:disabled, -input[type="file"].disabled, -input[type="range"]:disabled, -input[type="range"].disabled { - background: none; - box-shadow: none; - cursor: default; -} - -input[type="checkbox"]:disabled, -input[type="checkbox"].disabled, -input[type="radio"]:disabled, -input[type="radio"].disabled, -input[type="checkbox"]:disabled:checked:before, -input[type="checkbox"].disabled:checked:before, -input[type="radio"]:disabled:checked:before, -input[type="radio"].disabled:checked:before { - opacity: 0.7; -} - -/*------------------------------------------------------------------------------ - 2.0 - Forms -------------------------------------------------------------------------------*/ - -/* Select styles are based on the default button in buttons.css */ -.wp-core-ui select { - font-size: 14px; - line-height: 2; /* 28px */ - color: #2c3338; - border-color: #8c8f94; - box-shadow: none; - border-radius: 3px; - padding: 0 8px 0 24px; - min-height: 30px; - max-width: 25rem; - -webkit-appearance: none; - /* The SVG is arrow-down-alt2 from Dashicons. */ - background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat left 5px top 55%; - background-size: 16px 16px; - cursor: pointer; - vertical-align: middle; -} - -.wp-core-ui select:hover { - color: #2271b1; -} - -.wp-core-ui select:focus { - border-color: #2271b1; - color: #0a4b78; - box-shadow: 0 0 0 1px #2271b1; -} - -.wp-core-ui select:active { - border-color: #8c8f94; - box-shadow: none; -} - -.wp-core-ui select.disabled, -.wp-core-ui select:disabled { - color: #a7aaad; - border-color: #dcdcde; - background-color: #f6f7f7; - /* The SVG is arrow-down-alt2 from Dashicons. */ - background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E'); - box-shadow: none; - text-shadow: 0 1px 0 #fff; - cursor: default; - transform: none; -} - -/* Reset Firefox inner outline that appears on :focus. */ -/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ -.wp-core-ui select:-moz-focusring { - color: transparent; - text-shadow: 0 0 0 #0a4b78; -} - -/* Remove background focus style from IE11 while keeping focus style available on option elements. */ -.wp-core-ui select::-ms-value { - background: transparent; - color: #50575e; -} - -.wp-core-ui select:hover::-ms-value { - color: #2271b1; -} - -.wp-core-ui select:focus::-ms-value { - color: #0a4b78; -} - -.wp-core-ui select.disabled::-ms-value, -.wp-core-ui select:disabled::-ms-value { - color: #a7aaad; -} - -/* Hide the native down arrow for select element on IE. */ -.wp-core-ui select::-ms-expand { - display: none; -} - -.wp-admin .button-cancel { - display: inline-block; - min-height: 28px; - padding: 0 5px; - line-height: 2; -} - -.meta-box-sortables select { - max-width: 100%; -} - -.meta-box-sortables input { - vertical-align: middle; -} - -.misc-pub-post-status select { - margin-top: 0; -} - -.wp-core-ui select[multiple] { - height: auto; - padding-left: 8px; - background: #fff; -} - -.submit { - padding: 1.5em 0; - margin: 5px 0; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; - border: none; -} - -form p.submit a.cancel:hover { - text-decoration: none; -} - -p.submit { - text-align: right; - max-width: 100%; - margin-top: 20px; - padding-top: 10px; -} - -.textright p.submit { - border: none; - text-align: left; -} - -table.form-table + p.submit, -table.form-table + input + p.submit, -table.form-table + input + input + p.submit { - border-top: none; - padding-top: 0; -} - -#minor-publishing-actions input, -#major-publishing-actions input, -#minor-publishing-actions .preview { - text-align: center; -} - -textarea.all-options, -input.all-options { - width: 250px; -} - -input.large-text, -textarea.large-text { - width: 99%; -} - -.regular-text { - width: 25em; -} - -input.small-text { - width: 50px; - padding: 0 6px; -} - -label input.small-text { - margin-top: -4px; -} - -input[type="number"].small-text { - width: 65px; - padding-left: 0; -} - -input.tiny-text { - width: 35px; -} - -input[type="number"].tiny-text { - width: 45px; - padding-left: 0; -} - -#doaction, -#doaction2, -#post-query-submit { - margin: 0 0 0 8px; -} - -/* @since 5.7.0 secondary bulk action controls require JS. */ -.no-js label[for="bulk-action-selector-bottom"], -.no-js select#bulk-action-selector-bottom, -.no-js input#doaction2, -.no-js label[for="new_role2"], -.no-js select#new_role2, -.no-js input#changeit2 { - display: none; -} - -.tablenav .actions select { - float: right; - margin-left: 6px; - max-width: 12.5rem; -} - -#timezone_string option { - margin-right: 1em; -} - -.wp-hide-pw > .dashicons, -.wp-cancel-pw > .dashicons { - position: relative; - top: 3px; - width: 1.25rem; - height: 1.25rem; - top: 0.25rem; - font-size: 20px; -} - -.wp-cancel-pw .dashicons-no { - display: none; -} - -label, -#your-profile label + a { - vertical-align: middle; -} - -fieldset label, -#your-profile label + a { - vertical-align: middle; -} - -.options-media-php [for*="_size_"] { - min-width: 10em; - vertical-align: baseline; -} - -.options-media-php .small-text[name*="_size_"] { - margin: 0 0 1em; -} - -.wp-generate-pw { - margin-top: 1em; -} - -.wp-pwd { - margin-top: 1em; -} - -#misc-publishing-actions label { - vertical-align: baseline; -} - -#pass-strength-result { - background-color: #f0f0f1; - border: 1px solid #dcdcde; - color: #1d2327; - margin: -1px 1px 5px; - padding: 3px 5px; - text-align: center; - width: 25em; - box-sizing: border-box; - opacity: 0; -} - -#pass-strength-result.short { - background-color: #ffabaf; - border-color: #e65054; - opacity: 1; -} - -#pass-strength-result.bad { - background-color: #facfd2; - border-color: #f86368; - opacity: 1; -} - -#pass-strength-result.good { - background-color: #f5e6ab; - border-color: #f0c33c; - opacity: 1; -} - -#pass-strength-result.strong { - background-color: #b8e6bf; - border-color: #68de7c; - opacity: 1; -} - -.password-input-wrapper input { - font-family: Consolas, Monaco, monospace; -} - -#pass1.short, #pass1-text.short { - border-color: #e65054; -} - -#pass1.bad, #pass1-text.bad { - border-color: #f86368; -} - -#pass1.good, #pass1-text.good { - border-color: #f0c33c; -} - -#pass1.strong, #pass1-text.strong { - border-color: #68de7c; -} - -.pw-weak { - display: none; -} - -.indicator-hint { - padding-top: 8px; -} - -.wp-pwd [type="text"], -.wp-pwd [type="password"] { - margin-bottom: 0; - /* Same height as the buttons */ - min-height: 30px; -} - -/* Hide the Edge "reveal password" native button */ -.wp-pwd input::-ms-reveal { - display: none; -} - -#pass1-text, -.show-password #pass1 { - display: none; -} - -#pass1-text::-ms-clear { - display: none; -} - -.show-password #pass1-text { - display: inline-block; -} - -p.search-box { - float: left; - margin: 0; -} - -.network-admin.themes-php p.search-box { - clear: right; -} - -.search-box input[name="s"], -.tablenav .search-plugins input[name="s"], -.tagsdiv .newtag { - float: right; - margin: 0 0 0 4px; -} - -.js.plugins-php .search-box .wp-filter-search { - margin: 0; - width: 280px; -} - -input[type="text"].ui-autocomplete-loading, -input[type="email"].ui-autocomplete-loading { - background-image: url(../images/loading.gif); - background-repeat: no-repeat; - background-position: left center; - visibility: visible; -} - -input.ui-autocomplete-input.open { - border-bottom-color: transparent; -} - -ul#add-to-blog-users { - margin: 0 14px 0 0; -} - -.ui-autocomplete { - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - border: 1px solid #4f94d4; - box-shadow: 0 1px 2px rgba(79, 148, 212, 0.8); - background-color: #fff; -} - -.ui-autocomplete li { - margin-bottom: 0; - padding: 4px 10px; - white-space: nowrap; - text-align: right; - cursor: pointer; -} - -/* Colors for the wplink toolbar autocomplete. */ -.ui-autocomplete .ui-state-focus { - background-color: #dcdcde; -} - -/* Colors for the tags autocomplete. */ -.wp-tags-autocomplete .ui-state-focus, -.wp-tags-autocomplete [aria-selected="true"] { - background-color: #2271b1; - color: #fff; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -/*------------------------------------------------------------------------------ - 15.0 - Comments Screen -------------------------------------------------------------------------------*/ - -.form-table { - border-collapse: collapse; - margin-top: 0.5em; - width: 100%; - clear: both; -} - -.form-table, -.form-table td, -.form-table th, -.form-table td p { - font-size: 14px; -} - -.form-table td { - margin-bottom: 9px; - padding: 15px 10px; - line-height: 1.3; - vertical-align: middle; -} - -.form-table th, -.form-wrap label { - color: #1d2327; - font-weight: 400; - text-shadow: none; - vertical-align: baseline; -} - -.form-table th { - vertical-align: top; - text-align: right; - padding: 20px 0 20px 10px; - width: 200px; - line-height: 1.3; - font-weight: 600; -} - -.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */ -.form-table .td-full { - width: auto; - padding: 20px 0 20px 10px; - font-weight: 400; -} - -.form-table td p { - margin-top: 4px; - margin-bottom: 0; -} - -.form-table .date-time-doc { - margin-top: 1em; -} - -.form-table p.timezone-info { - margin: 1em 0; - display: flex; - flex-direction: column; -} - -#local-time { - margin-top: 0.5em; -} - -.form-table td fieldset label { - margin: 0.35em 0 0.5em !important; - display: inline-block; -} - -.form-table td fieldset p label { - margin-top: 0 !important; -} - -.form-table td fieldset label, -.form-table td fieldset p, -.form-table td fieldset li { - line-height: 1.4; -} - -.form-table input.tog, -.form-table input[type="radio"] { - margin-top: -4px; - margin-left: 4px; - float: none; -} - -.form-table .pre { - padding: 8px; - margin: 0; -} - -table.form-table td .updated { - font-size: 13px; -} - -table.form-table td .updated p { - font-size: 13px; - margin: 0.3em 0; -} - -/*------------------------------------------------------------------------------ - 18.0 - Users -------------------------------------------------------------------------------*/ - -#profile-page .form-table textarea { - width: 500px; - margin-bottom: 6px; -} - -#profile-page .form-table #rich_editing { - margin-left: 5px -} - -#your-profile legend { - font-size: 22px; -} - -#display_name { - width: 15em; -} - -#adduser .form-field input, -#createuser .form-field input { - width: 25em; -} - -.color-option { - display: inline-block; - width: 24%; - padding: 5px 15px 15px; - box-sizing: border-box; - margin-bottom: 3px; -} - -.color-option:hover, -.color-option.selected { - background: #dcdcde; -} - -.color-palette { - width: 100%; - border-spacing: 0; - border-collapse: collapse; -} -.color-palette td { - height: 20px; - padding: 0; - border: none; -} - -.color-option { - cursor: pointer; -} - -.create-application-password .form-field { - max-width: 25em; -} - -.create-application-password label { - font-weight: 600; -} - -.create-application-password p.submit { - margin-bottom: 0; - padding-bottom: 0; - display: block; -} - -#application-passwords-section .notice { - margin-top: 20px; - margin-bottom: 0; - word-wrap: break-word; -} - -.application-password-display input.code { - width: 19em; -} - -.auth-app-card.card { - max-width: 768px; -} - -.authorize-application-php .form-wrap p { - display: block; -} - -/*------------------------------------------------------------------------------ - 19.0 - Tools -------------------------------------------------------------------------------*/ - -.tool-box .title { - margin: 8px 0; - font-size: 18px; - font-weight: 400; - line-height: 24px; -} - -.label-responsive { - vertical-align: middle; -} - -#export-filters p { - margin: 0 0 1em; -} - -#export-filters p.submit { - margin: 7px 0 5px; -} - -/* Card styles */ - -.card { - position: relative; - margin-top: 20px; - padding: 0.7em 2em 1em; - min-width: 255px; - max-width: 520px; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; - box-sizing: border-box; -} - -/* Press this styles */ - -.pressthis h4 { - margin: 2em 0 1em; -} - -.pressthis textarea { - width: 100%; - font-size: 1em; -} - -#pressthis-code-wrap { - overflow: auto; -} - -.pressthis-bookmarklet-wrapper { - margin: 20px 0 8px; - vertical-align: top; - position: relative; - z-index: 1; -} - -.pressthis-bookmarklet, -.pressthis-bookmarklet:hover, -.pressthis-bookmarklet:focus, -.pressthis-bookmarklet:active { - display: inline-block; - position: relative; - cursor: move; - color: #2c3338; - background: #dcdcde; - border-radius: 5px; - border: 1px solid #c3c4c7; - font-style: normal; - line-height: 16px; - font-size: 14px; - text-decoration: none; -} - -.pressthis-bookmarklet:active { - outline: none; -} - -.pressthis-bookmarklet:after { - content: ""; - width: 70%; - height: 55%; - z-index: -1; - position: absolute; - left: 10px; - bottom: 9px; - background: transparent; - transform: skew(-20deg) rotate(-6deg); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); -} - -.pressthis-bookmarklet:hover:after { - transform: skew(-20deg) rotate(-9deg); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); -} - -.pressthis-bookmarklet span { - display: inline-block; - margin: 0; - padding: 0 9px 8px 12px; -} - -.pressthis-bookmarklet span:before { - color: #787c82; - font: normal 20px/1 dashicons; - content: "\f157"; - position: relative; - display: inline-block; - top: 4px; - margin-left: 4px; -} - -.pressthis-js-toggle { - margin-right: 10px; - padding: 0; - height: auto; - vertical-align: top; -} - -/* to override the button class being applied */ -.pressthis-js-toggle.button.button { - margin-right: 10px; - padding: 0; - height: auto; - vertical-align: top; -} - -.pressthis-js-toggle .dashicons { - margin: 5px 7px 6px 8px; - color: #50575e; -} - -/*------------------------------------------------------------------------------ - 20.0 - Settings -------------------------------------------------------------------------------*/ - -.timezone-info code { - white-space: nowrap; -} - -.defaultavatarpicker .avatar { - margin: 2px 0; - vertical-align: middle; -} - -.options-general-php .date-time-text { - display: inline-block; - min-width: 10em; -} - -.options-general-php input.small-text { - width: 56px; - margin: -2px 0; -} - -.options-general-php .spinner { - float: none; - margin: -3px 3px 0; -} - -.settings-php .language-install-spinner, -.options-general-php .language-install-spinner { - display: inline-block; - float: none; - margin: -3px 5px 0; - vertical-align: middle; -} - -.form-table.permalink-structure .available-structure-tags { - margin-top: 8px; -} - -.form-table.permalink-structure .available-structure-tags li { - float: right; - margin-left: 5px; -} - -.form-table.permalink-structure .structure-selection .row { - margin-bottom: 16px; -} - -.form-table.permalink-structure .structure-selection .row > div { - max-width: calc(100% - 24px); - display: inline-flex; - flex-direction: column; -} - -.form-table.permalink-structure .structure-selection .row label { - font-weight: 600; -} - -.form-table.permalink-structure .structure-selection .row p { - margin-top: 0; -} - -/*------------------------------------------------------------------------------ - 21.0 - Network Admin -------------------------------------------------------------------------------*/ - -.setup-php textarea { - max-width: 100%; -} - -.form-field #site-address { - max-width: 25em; -} - -.form-field #domain { - max-width: 22em; -} - -.form-field #site-title, -.form-field #admin-email, -.form-field #path, -.form-field #blog_registered, -.form-field #blog_last_updated { - max-width: 25em; -} - -.form-field #path { - margin-bottom: 5px; -} - -#search-users, -#search-sites { - max-width: 60%; -} - -.configuration-rules-label { - font-weight: 600; - margin-bottom: 4px; -} - -/*------------------------------------------------------------------------------ - Credentials check dialog for Install and Updates -------------------------------------------------------------------------------*/ - -.request-filesystem-credentials-dialog { - display: none; - /* The customizer uses visibility: hidden on the body for full-overlays. */ - visibility: visible; -} - -.request-filesystem-credentials-dialog .notification-dialog { - top: 10%; - max-height: 85%; -} - -.request-filesystem-credentials-dialog-content { - margin: 25px; -} - -#request-filesystem-credentials-title { - font-size: 1.3em; - margin: 1em 0; -} - -.request-filesystem-credentials-form legend { - font-size: 1em; - padding: 1.33em 0; - font-weight: 600; -} - -.request-filesystem-credentials-form input[type="text"], -.request-filesystem-credentials-form input[type="password"] { - display: block; -} - -.request-filesystem-credentials-dialog input[type="text"], -.request-filesystem-credentials-dialog input[type="password"] { - width: 100%; -} - -.request-filesystem-credentials-form .field-title { - font-weight: 600; -} - -.request-filesystem-credentials-dialog label[for="hostname"], -.request-filesystem-credentials-dialog label[for="public_key"], -.request-filesystem-credentials-dialog label[for="private_key"] { - display: block; - margin-bottom: 1em; -} - -.request-filesystem-credentials-dialog .ftp-username, -.request-filesystem-credentials-dialog .ftp-password { - float: right; - width: 48%; -} - -.request-filesystem-credentials-dialog .ftp-password { - margin-right: 4%; -} - -.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons { - text-align: left; -} - -.request-filesystem-credentials-dialog label[for="ftp"] { - margin-left: 10px; -} - -.request-filesystem-credentials-dialog #auth-keys-desc { - margin-bottom: 0; -} - -#request-filesystem-credentials-dialog .button:not(:last-child) { - margin-left: 10px; -} - -#request-filesystem-credentials-form .cancel-button { - display: none; -} - -#request-filesystem-credentials-dialog .cancel-button { - display: inline; -} - -.request-filesystem-credentials-dialog .ftp-username, -.request-filesystem-credentials-dialog .ftp-password { - float: none; - width: auto; -} - -.request-filesystem-credentials-dialog .ftp-username { - margin-bottom: 1em; -} - -.request-filesystem-credentials-dialog .ftp-password { - margin: 0; -} - -.request-filesystem-credentials-dialog .ftp-password em { - color: #8c8f94; -} - -.request-filesystem-credentials-dialog label { - display: block; - line-height: 1.5; - margin-bottom: 1em; -} - -.request-filesystem-credentials-form legend { - padding-bottom: 0; -} - -.request-filesystem-credentials-form #ssh-keys legend { - font-size: 1.3em; -} - -.request-filesystem-credentials-form .notice { - margin: 0 0 20px; - clear: both; -} - -/*------------------------------------------------------------------------------ - Privacy Policy settings screen -------------------------------------------------------------------------------*/ -.tools-privacy-policy-page form { - margin-bottom: 1.3em; -} - -.tools-privacy-policy-page input.button { - margin: 0 6px 0 1px; -} - -.tools-privacy-policy-page select { - margin: 0 6px 0.5em 1px; -} - -.tools-privacy-edit { - margin: 1.5em 0; -} - -.tools-privacy-policy-page span { - line-height: 2; -} - -.privacy_requests .column-email { - width: 40%; -} - -.privacy_requests .column-type { - text-align: center; -} - -.privacy_requests thead td:first-child, -.privacy_requests tfoot td:first-child { - border-right: 4px solid #fff; -} - -.privacy_requests tbody th { - border-right: 4px solid #fff; - background: #fff; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.privacy_requests .row-actions { - color: #787c82; -} - -.privacy_requests .row-actions.processing { - position: static; -} - -.privacy_requests tbody .has-request-results th { - box-shadow: none; -} - -.privacy_requests tbody .request-results th .notice { - margin: 0 0 5px; -} - -.privacy_requests tbody td { - background: #fff; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.privacy_requests tbody .has-request-results td { - box-shadow: none; -} - -.privacy_requests .next_steps .button { - word-wrap: break-word; - white-space: normal; -} - -.privacy_requests .status-request-confirmed th, -.privacy_requests .status-request-confirmed td { - background-color: #fff; - border-right-color: #72aee6; -} - -.privacy_requests .status-request-failed th, -.privacy_requests .status-request-failed td { - background-color: #f6f7f7; - border-right-color: #d63638; -} - -.privacy_requests .export_personal_data_failed a { - vertical-align: baseline; -} - -.status-label { - font-weight: 600; -} - -.status-label.status-request-pending { - font-weight: 400; - font-style: italic; - color: #646970; -} - -.status-label.status-request-failed { - color: #d63638; - font-weight: 600; -} - -.wp-privacy-request-form { - clear: both; -} - -.wp-privacy-request-form-field { - margin: 1.5em 0; -} - -.wp-privacy-request-form input { - margin: 0; -} - -.email-personal-data::before { - display: inline-block; - font: normal 20px/1 dashicons; - margin: 3px -2px 0 5px; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.email-personal-data--sending::before { - color: #d63638; - content: "\f463"; - animation: rotation 2s infinite linear; -} - -.email-personal-data--sent::before { - color: #68de7c; - content: "\f147"; -} - - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 782px) { - /* Input Elements */ - textarea { - -webkit-appearance: none; - } - - input[type="text"], - input[type="password"], - input[type="date"], - input[type="datetime"], - input[type="datetime-local"], - input[type="email"], - input[type="month"], - input[type="number"], - input[type="search"], - input[type="tel"], - input[type="time"], - input[type="url"], - input[type="week"] { - -webkit-appearance: none; - padding: 3px 10px; - /* Only necessary for IE11 */ - min-height: 40px; - } - - ::-webkit-datetime-edit { - line-height: 1.875; /* 30px */ - } - - input[type="checkbox"], - .widefat th input[type="checkbox"], - .widefat thead td input[type="checkbox"], - .widefat tfoot td input[type="checkbox"] { - -webkit-appearance: none; - } - - .widefat th input[type="checkbox"], - .widefat thead td input[type="checkbox"], - .widefat tfoot td input[type="checkbox"] { - margin-bottom: 8px; - } - - input[type="checkbox"]:checked:before, - .widefat th input[type="checkbox"]:before, - .widefat thead td input[type="checkbox"]:before, - .widefat tfoot td input[type="checkbox"]:before { - width: 1.875rem; - height: 1.875rem; - margin: -0.1875rem -0.3125rem; - } - - input[type="radio"], - input[type="checkbox"] { - height: 1.5625rem; - width: 1.5625rem; - } - - .wp-admin p input[type="checkbox"], - .wp-admin p input[type="radio"] { - margin-top: -0.1875rem; - } - - input[type="radio"]:checked:before { - vertical-align: middle; - width: 0.5625rem; - height: 0.5625rem; - margin: 0.4375rem; - line-height: 0.76190476; - } - - .wp-upload-form input[type="submit"] { - margin-top: 10px; - } - - .wp-core-ui select, - .wp-admin .form-table select { - min-height: 40px; - font-size: 16px; - line-height: 1.625; /* 26px */ - padding: 5px 8px 5px 24px; - } - - .wp-admin .button-cancel { - margin-bottom: 0; - padding: 2px 0; - font-size: 14px; - vertical-align: middle; - } - - #adduser .form-field input, - #createuser .form-field input { - width: 100%; - } - - .form-table { - box-sizing: border-box; - } - - .form-table th, - .form-table td, - .label-responsive { - display: block; - width: auto; - vertical-align: middle; - } - - .label-responsive { - margin: 0.5em 0; - } - - .export-filters li { - margin-bottom: 0; - } - - .form-table .color-palette td { - display: table-cell; - width: 15px; - } - - .form-table table.color-palette { - margin-left: 10px; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="email"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description, - #profile-page .form-table textarea { - width: 100%; - display: block; - max-width: none; - box-sizing: border-box; - } - - .form-table .form-required.form-invalid td:after { - float: left; - margin: -30px 0 0 3px; - } - - input[type="text"].small-text, - input[type="search"].small-text, - input[type="password"].small-text, - input[type="number"].small-text, - input[type="number"].small-text, - .form-table input[type="text"].small-text { - width: auto; - max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */ - display: inline; - padding: 3px 6px; - margin: 0 3px; - } - - .form-table .regular-text ~ input[type="text"].small-text { - margin-top: 5px; - } - - #pass-strength-result { - width: 100%; - box-sizing: border-box; - padding: 8px; - } - - p.search-box { - float: none; - position: absolute; - bottom: 0; - width: 98%; - height: 90px; - margin-bottom: 20px; - } - - p.search-box input[name="s"] { - float: none; - width: 100%; - margin-bottom: 10px; - vertical-align: middle; - } - - p.search-box input[type="submit"] { - margin-bottom: 10px; - } - - .form-table span.description { - display: inline; - padding: 4px 0 0; - line-height: 1.4; - font-size: 14px; - } - - .form-table th { - padding: 10px 0 0; - border-bottom: 0; - } - - .form-table td { - margin-bottom: 0; - padding: 4px 0 6px; - } - - .form-table.permalink-structure td code { - display: inline-block; - } - - .form-table.permalink-structure .structure-selection { - margin-top: 8px; - } - - .form-table.permalink-structure .structure-selection .row > div { - max-width: calc(100% - 36px); - width: 100%; - } - - .form-table.permalink-structure td input[type="text"] { - margin-top: 4px; - } - - .form-table input.regular-text { - width: 100%; - } - - .form-table label { - font-size: 14px; - } - - .background-position-control .button-group > label { - font-size: 0; - } - - .form-table fieldset label { - display: block; - } - - .form-field #domain { - max-width: none; - } - - /* New Password */ - .wp-pwd { - position: relative; - } - - /* Needs higher specificity than normal input type text and password. */ - #profile-page .form-table #pass1 { - padding-left: 90px; - } - - .wp-pwd button.button { - background: transparent; - border: 1px solid transparent; - box-shadow: none; - line-height: 2; - margin: 0; - padding: 5px 9px; - position: absolute; - left: 0; - top: 0; - width: 2.375rem; - height: 2.375rem; - min-width: 40px; - min-height: 40px; - } - - .wp-pwd button.wp-hide-pw { - left: 2.5rem; - } - - body.user-new-php .wp-pwd button.wp-hide-pw { - left: 0; - } - - .wp-pwd button.button:hover, - .wp-pwd button.button:focus { - background: transparent; - } - - .wp-pwd button.button:active { - background: transparent; - box-shadow: none; - transform: none; - } - - .wp-pwd .button .text { - display: none; - } - - .wp-pwd [type="text"], - .wp-pwd [type="password"] { - line-height: 2; - padding-left: 5rem; - } - - body.user-new-php .wp-pwd [type="text"], - body.user-new-php .wp-pwd [type="password"] { - padding-left: 2.5rem; - } - - .wp-cancel-pw .dashicons-no { - display: inline-block; - } - - .options-general-php input[type="text"].small-text { - max-width: 6.25em; - margin: 0; - } - - /* Privacy Policy settings screen */ - .tools-privacy-policy-page form.wp-create-privacy-page { - margin-bottom: 1em; - } - - .tools-privacy-policy-page input#set-page, - .tools-privacy-policy-page select { - margin: 10px 0 0; - } - - .tools-privacy-policy-page .wp-create-privacy-page span { - display: block; - margin-bottom: 1em; - } - - .tools-privacy-policy-page .wp-create-privacy-page .button { - margin-right: 0; - } - - .wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) { - display: table-cell; - } - - .wp-list-table.privacy_requests.widefat th input, - .wp-list-table.privacy_requests.widefat thead td input { - margin-right: 5px; - } - - .wp-privacy-request-form-field input[type="text"] { - width: 100%; - margin-bottom: 10px; - vertical-align: middle; - } - - .regular-text { - max-width: 100%; - } -} - -@media only screen and (max-width: 768px) { - .form-field input[type="text"], - .form-field input[type="email"], - .form-field input[type="password"], - .form-field select, - .form-field textarea { - width: 99%; - } - - .form-wrap .form-field { - padding: 0; - } -} - -@media only screen and (max-height: 480px), screen and (max-width: 450px) { - /* Request Credentials / File Editor Warning */ - .request-filesystem-credentials-dialog .notification-dialog, - .file-editor-warning .notification-dialog { - width: 100%; - height: 100%; - max-height: 100%; - position: fixed; - top: 0; - margin: 0; - right: 0; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Color Picker Options */ - .color-option { - width: 49%; - } -} - -@media only screen and (max-width: 320px) { - .options-general-php .date-time-text.date-time-custom-text { - min-width: 0; - margin-left: 0.5em; - } -} - -@keyframes rotation { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(-359deg); - } -} diff --git a/build/wp-admin/css/forms-rtl.min.css b/build/wp-admin/css/forms-rtl.min.css deleted file mode 100644 index 02e8648f2a..0000000000 --- a/build/wp-admin/css/forms-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -button,input,select,textarea{box-sizing:border-box;font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea{font-size:14px}textarea{overflow:auto;padding:2px 6px;line-height:1.42857143;resize:vertical}label{cursor:pointer}input,select{margin:0 1px}textarea.code{padding:4px 6px 1px}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #8c8f94;background-color:#fff;color:#2c3338}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{padding:0 8px;line-height:2;min-height:30px}::-webkit-datetime-edit{line-height:1.85714286}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #8c8f94;border-radius:4px;background:#fff;color:#50575e;clear:none;cursor:pointer;display:inline-block;line-height:0;height:1rem;margin:-.25rem 0 0 .25rem;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:1rem;min-width:1rem;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#8c8f94}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#135e96}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{border-radius:50%;margin-left:.25rem;line-height:.71428571}input[type=checkbox]:checked::before,input[type=radio]:checked::before{float:right;display:inline-block;vertical-align:middle;width:1rem;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");margin:-.1875rem -.25rem 0 0;height:1.3125rem;width:1.3125rem}input[type=radio]:checked::before{content:"";border-radius:50%;width:.5rem;height:.5rem;margin:.1875rem;background-color:#3582c4;line-height:1.14285714}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.wp-admin input[type=file]{padding:3px 0;cursor:pointer}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#f0f0f1}::-webkit-input-placeholder{color:#646970}::-moz-placeholder{color:#646970;opacity:1}:-ms-input-placeholder{color:#646970}.form-invalid .form-required,.form-invalid .form-required:focus,.form-invalid.form-required input,.form-invalid.form-required input:focus,.form-invalid.form-required select,.form-invalid.form-required select:focus{border-color:#d63638!important;box-shadow:0 0 2px rgba(214,54,56,.8)}.form-table .form-required.form-invalid td:after{content:"\f534";font:normal 20px/1 dashicons;color:#d63638;margin-right:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:""}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:"\f534";font:normal 20px/1 dashicons;color:#d63638;margin:0 -29px 0 6px;vertical-align:middle}.form-input-tip{color:#646970}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(220,220,222,.75);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(44,51,56,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;box-shadow:none;cursor:default}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-core-ui select{font-size:14px;line-height:2;color:#2c3338;border-color:#8c8f94;box-shadow:none;border-radius:3px;padding:0 8px 0 24px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat left 5px top 55%;background-size:16px 16px;cursor:pointer;vertical-align:middle}.wp-core-ui select:hover{color:#2271b1}.wp-core-ui select:focus{border-color:#2271b1;color:#0a4b78;box-shadow:0 0 0 1px #2271b1}.wp-core-ui select:active{border-color:#8c8f94;box-shadow:none}.wp-core-ui select.disabled,.wp-core-ui select:disabled{color:#a7aaad;border-color:#dcdcde;background-color:#f6f7f7;background-image:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E');box-shadow:none;text-shadow:0 1px 0 #fff;cursor:default;transform:none}.wp-core-ui select:-moz-focusring{color:transparent;text-shadow:0 0 0 #0a4b78}.wp-core-ui select::-ms-value{background:0 0;color:#50575e}.wp-core-ui select:hover::-ms-value{color:#2271b1}.wp-core-ui select:focus::-ms-value{color:#0a4b78}.wp-core-ui select.disabled::-ms-value,.wp-core-ui select:disabled::-ms-value{color:#a7aaad}.wp-core-ui select::-ms-expand{display:none}.wp-admin .button-cancel{display:inline-block;min-height:28px;padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.meta-box-sortables input{vertical-align:middle}.misc-pub-post-status select{margin-top:0}.wp-core-ui select[multiple]{height:auto;padding-left:8px;background:#fff}.submit{padding:1.5em 0;margin:5px 0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:right;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}.regular-text{width:25em}input.small-text{width:50px;padding:0 6px}label input.small-text{margin-top:-4px}input[type=number].small-text{width:65px;padding-left:0}input.tiny-text{width:35px}input[type=number].tiny-text{width:45px;padding-left:0}#doaction,#doaction2,#post-query-submit{margin:0 0 0 8px}.no-js input#changeit2,.no-js input#doaction2,.no-js label[for=bulk-action-selector-bottom],.no-js label[for=new_role2],.no-js select#bulk-action-selector-bottom,.no-js select#new_role2{display:none}.tablenav .actions select{float:right;margin-left:6px;max-width:12.5rem}#timezone_string option{margin-right:1em}.wp-cancel-pw>.dashicons,.wp-hide-pw>.dashicons{position:relative;top:3px;width:1.25rem;height:1.25rem;top:.25rem;font-size:20px}.wp-cancel-pw .dashicons-no{display:none}#your-profile label+a,label{vertical-align:middle}#your-profile label+a,fieldset label{vertical-align:middle}.options-media-php [for*="_size_"]{min-width:10em;vertical-align:baseline}.options-media-php .small-text[name*="_size_"]{margin:0 0 1em}.wp-generate-pw{margin-top:1em}.wp-pwd{margin-top:1em}#misc-publishing-actions label{vertical-align:baseline}#pass-strength-result{background-color:#f0f0f1;border:1px solid #dcdcde;color:#1d2327;margin:-1px 1px 5px;padding:3px 5px;text-align:center;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#ffabaf;border-color:#e65054;opacity:1}#pass-strength-result.bad{background-color:#facfd2;border-color:#f86368;opacity:1}#pass-strength-result.good{background-color:#f5e6ab;border-color:#f0c33c;opacity:1}#pass-strength-result.strong{background-color:#b8e6bf;border-color:#68de7c;opacity:1}.password-input-wrapper input{font-family:Consolas,Monaco,monospace}#pass1-text.short,#pass1.short{border-color:#e65054}#pass1-text.bad,#pass1.bad{border-color:#f86368}#pass1-text.good,#pass1.good{border-color:#f0c33c}#pass1-text.strong,#pass1.strong{border-color:#68de7c}.pw-weak{display:none}.indicator-hint{padding-top:8px}.wp-pwd [type=password],.wp-pwd [type=text]{margin-bottom:0;min-height:30px}.wp-pwd input::-ms-reveal{display:none}#pass1-text,.show-password #pass1{display:none}#pass1-text::-ms-clear{display:none}.show-password #pass1-text{display:inline-block}p.search-box{float:left;margin:0}.network-admin.themes-php p.search-box{clear:right}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;margin:0 0 0 4px}.js.plugins-php .search-box .wp-filter-search{margin:0;width:280px}input[type=email].ui-autocomplete-loading,input[type=text].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:left center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #4f94d4;box-shadow:0 1px 2px rgba(79,148,212,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;white-space:nowrap;text-align:right;cursor:pointer}.ui-autocomplete .ui-state-focus{background-color:#dcdcde}.wp-tags-autocomplete .ui-state-focus,.wp-tags-autocomplete [aria-selected=true]{background-color:#2271b1;color:#fff;outline:2px solid transparent}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#1d2327;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table .td-full,.form-table th.th-full{width:auto;padding:20px 0 20px 10px;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table .date-time-doc{margin-top:1em}.form-table p.timezone-info{margin:1em 0;display:flex;flex-direction:column}#local-time{margin-top:.5em}.form-table td fieldset label{margin:.35em 0 .5em!important;display:inline-block}.form-table td fieldset p label{margin-top:0!important}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;box-sizing:border-box;margin-bottom:3px}.color-option.selected,.color-option:hover{background:#dcdcde}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.color-option{cursor:pointer}.create-application-password .form-field{max-width:25em}.create-application-password label{font-weight:600}.create-application-password p.submit{margin-bottom:0;padding-bottom:0;display:block}#application-passwords-section .notice{margin-top:20px;margin-bottom:0;word-wrap:break-word}.application-password-display input.code{width:19em}.auth-app-card.card{max-width:768px}.authorize-application-php .form-wrap p{display:block}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.label-responsive{vertical-align:middle}#export-filters p{margin:0 0 1em}#export-filters p.submit{margin:7px 0 5px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;box-sizing:border-box}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}#pressthis-code-wrap{overflow:auto}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#2c3338;background:#dcdcde;border-radius:5px;border:1px solid #c3c4c7;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:"";width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;transform:skew(-20deg) rotate(-6deg);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{transform:skew(-20deg) rotate(-9deg);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis-bookmarklet span:before{color:#787c82;font:normal 20px/1 dashicons;content:"\f157";position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis-js-toggle{margin-right:10px;padding:0;height:auto;vertical-align:top}.pressthis-js-toggle.button.button{margin-right:10px;padding:0;height:auto;vertical-align:top}.pressthis-js-toggle .dashicons{margin:5px 7px 6px 8px;color:#50575e}.timezone-info code{white-space:nowrap}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php .date-time-text{display:inline-block;min-width:10em}.options-general-php input.small-text{width:56px;margin:-2px 0}.options-general-php .spinner{float:none;margin:-3px 3px 0}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.form-table.permalink-structure .available-structure-tags{margin-top:8px}.form-table.permalink-structure .available-structure-tags li{float:right;margin-left:5px}.form-table.permalink-structure .structure-selection .row{margin-bottom:16px}.form-table.permalink-structure .structure-selection .row>div{max-width:calc(100% - 24px);display:inline-flex;flex-direction:column}.form-table.permalink-structure .structure-selection .row label{font-weight:600}.form-table.permalink-structure .structure-selection .row p{margin-top:0}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:60%}.configuration-rules-label{font-weight:600;margin-bottom:4px}.request-filesystem-credentials-dialog{display:none;visibility:visible}.request-filesystem-credentials-dialog .notification-dialog{top:10%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}#request-filesystem-credentials-title{font-size:1.3em;margin:1em 0}.request-filesystem-credentials-form legend{font-size:1em;padding:1.33em 0;font-weight:600}.request-filesystem-credentials-form input[type=password],.request-filesystem-credentials-form input[type=text]{display:block}.request-filesystem-credentials-dialog input[type=password],.request-filesystem-credentials-dialog input[type=text]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=private_key],.request-filesystem-credentials-dialog label[for=public_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:right;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-right:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:left}.request-filesystem-credentials-dialog label[for=ftp]{margin-left:10px}.request-filesystem-credentials-dialog #auth-keys-desc{margin-bottom:0}#request-filesystem-credentials-dialog .button:not(:last-child){margin-left:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:none;width:auto}.request-filesystem-credentials-dialog .ftp-username{margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password{margin:0}.request-filesystem-credentials-dialog .ftp-password em{color:#8c8f94}.request-filesystem-credentials-dialog label{display:block;line-height:1.5;margin-bottom:1em}.request-filesystem-credentials-form legend{padding-bottom:0}.request-filesystem-credentials-form #ssh-keys legend{font-size:1.3em}.request-filesystem-credentials-form .notice{margin:0 0 20px;clear:both}.tools-privacy-policy-page form{margin-bottom:1.3em}.tools-privacy-policy-page input.button{margin:0 6px 0 1px}.tools-privacy-policy-page select{margin:0 6px .5em 1px}.tools-privacy-edit{margin:1.5em 0}.tools-privacy-policy-page span{line-height:2}.privacy_requests .column-email{width:40%}.privacy_requests .column-type{text-align:center}.privacy_requests tfoot td:first-child,.privacy_requests thead td:first-child{border-right:4px solid #fff}.privacy_requests tbody th{border-right:4px solid #fff;background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.privacy_requests .row-actions{color:#787c82}.privacy_requests .row-actions.processing{position:static}.privacy_requests tbody .has-request-results th{box-shadow:none}.privacy_requests tbody .request-results th .notice{margin:0 0 5px}.privacy_requests tbody td{background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.privacy_requests tbody .has-request-results td{box-shadow:none}.privacy_requests .next_steps .button{word-wrap:break-word;white-space:normal}.privacy_requests .status-request-confirmed td,.privacy_requests .status-request-confirmed th{background-color:#fff;border-right-color:#72aee6}.privacy_requests .status-request-failed td,.privacy_requests .status-request-failed th{background-color:#f6f7f7;border-right-color:#d63638}.privacy_requests .export_personal_data_failed a{vertical-align:baseline}.status-label{font-weight:600}.status-label.status-request-pending{font-weight:400;font-style:italic;color:#646970}.status-label.status-request-failed{color:#d63638;font-weight:600}.wp-privacy-request-form{clear:both}.wp-privacy-request-form-field{margin:1.5em 0}.wp-privacy-request-form input{margin:0}.email-personal-data::before{display:inline-block;font:normal 20px/1 dashicons;margin:3px -2px 0 5px;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.email-personal-data--sending::before{color:#d63638;content:"\f463";animation:rotation 2s infinite linear}.email-personal-data--sent::before{color:#68de7c;content:"\f147"}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{-webkit-appearance:none;padding:3px 10px;min-height:40px}::-webkit-datetime-edit{line-height:1.875}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{width:1.875rem;height:1.875rem;margin:-.1875rem -.3125rem}input[type=checkbox],input[type=radio]{height:1.5625rem;width:1.5625rem}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-.1875rem}input[type=radio]:checked:before{vertical-align:middle;width:.5625rem;height:.5625rem;margin:.4375rem;line-height:.76190476}.wp-upload-form input[type=submit]{margin-top:10px}.wp-admin .form-table select,.wp-core-ui select{min-height:40px;font-size:16px;line-height:1.625;padding:5px 8px 5px 24px}.wp-admin .button-cancel{margin-bottom:0;padding:2px 0;font-size:14px;vertical-align:middle}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{box-sizing:border-box}.form-table td,.form-table th,.label-responsive{display:block;width:auto;vertical-align:middle}.label-responsive{margin:.5em 0}.export-filters li{margin-bottom:0}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td select,.form-table td textarea{width:100%;display:block;max-width:none;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:left;margin:-30px 0 0 3px}.form-table input[type=text].small-text,input[type=number].small-text,input[type=password].small-text,input[type=search].small-text,input[type=text].small-text{width:auto;max-width:4.375em;display:inline;padding:3px 6px;margin:0 3px}.form-table .regular-text~input[type=text].small-text{margin-top:5px}#pass-strength-result{width:100%;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{float:none;width:100%;margin-bottom:10px;vertical-align:middle}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4;font-size:14px}.form-table th{padding:10px 0 0;border-bottom:0}.form-table td{margin-bottom:0;padding:4px 0 6px}.form-table.permalink-structure td code{display:inline-block}.form-table.permalink-structure .structure-selection{margin-top:8px}.form-table.permalink-structure .structure-selection .row>div{max-width:calc(100% - 36px);width:100%}.form-table.permalink-structure td input[type=text]{margin-top:4px}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.background-position-control .button-group>label{font-size:0}.form-table fieldset label{display:block}.form-field #domain{max-width:none}.wp-pwd{position:relative}#profile-page .form-table #pass1{padding-left:90px}.wp-pwd button.button{background:0 0;border:1px solid transparent;box-shadow:none;line-height:2;margin:0;padding:5px 9px;position:absolute;left:0;top:0;width:2.375rem;height:2.375rem;min-width:40px;min-height:40px}.wp-pwd button.wp-hide-pw{left:2.5rem}body.user-new-php .wp-pwd button.wp-hide-pw{left:0}.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd button.button:active{background:0 0;box-shadow:none;transform:none}.wp-pwd .button .text{display:none}.wp-pwd [type=password],.wp-pwd [type=text]{line-height:2;padding-left:5rem}body.user-new-php .wp-pwd [type=password],body.user-new-php .wp-pwd [type=text]{padding-left:2.5rem}.wp-cancel-pw .dashicons-no{display:inline-block}.options-general-php input[type=text].small-text{max-width:6.25em;margin:0}.tools-privacy-policy-page form.wp-create-privacy-page{margin-bottom:1em}.tools-privacy-policy-page input#set-page,.tools-privacy-policy-page select{margin:10px 0 0}.tools-privacy-policy-page .wp-create-privacy-page span{display:block;margin-bottom:1em}.tools-privacy-policy-page .wp-create-privacy-page .button{margin-right:0}.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column){display:table-cell}.wp-list-table.privacy_requests.widefat th input,.wp-list-table.privacy_requests.widefat thead td input{margin-right:5px}.wp-privacy-request-form-field input[type=text]{width:100%;margin-bottom:10px;vertical-align:middle}.regular-text{max-width:100%}}@media only screen and (max-width:768px){.form-field input[type=email],.form-field input[type=password],.form-field input[type=text],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}}@media only screen and (max-height:480px),screen and (max-width:450px){.file-editor-warning .notification-dialog,.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;right:0}}@media screen and (max-width:600px){.color-option{width:49%}}@media only screen and (max-width:320px){.options-general-php .date-time-text.date-time-custom-text{min-width:0;margin-left:.5em}}@keyframes rotation{0%{transform:rotate(0)}100%{transform:rotate(-359deg)}} \ No newline at end of file diff --git a/build/wp-admin/css/forms.css b/build/wp-admin/css/forms.css deleted file mode 100644 index 9066f58398..0000000000 --- a/build/wp-admin/css/forms.css +++ /dev/null @@ -1,1807 +0,0 @@ -/* Include margin and padding in the width calculation of input and textarea. */ -input, -select, -textarea, -button { - box-sizing: border-box; - font-family: inherit; - font-size: inherit; - font-weight: inherit; -} - -textarea, -input { - font-size: 14px; -} - -textarea { - overflow: auto; - padding: 2px 6px; - /* inherits font size 14px */ - line-height: 1.42857143; /* 20px */ - resize: vertical; -} - -label { - cursor: pointer; -} - -input, -select { - margin: 0 1px; -} - -textarea.code { - padding: 4px 6px 1px; -} - -input[type="text"], -input[type="password"], -input[type="color"], -input[type="date"], -input[type="datetime"], -input[type="datetime-local"], -input[type="email"], -input[type="month"], -input[type="number"], -input[type="search"], -input[type="tel"], -input[type="time"], -input[type="url"], -input[type="week"], -select, -textarea { - box-shadow: 0 0 0 transparent; - border-radius: 4px; - border: 1px solid #8c8f94; - background-color: #fff; - color: #2c3338; -} - -input[type="text"], -input[type="password"], -input[type="date"], -input[type="datetime"], -input[type="datetime-local"], -input[type="email"], -input[type="month"], -input[type="number"], -input[type="search"], -input[type="tel"], -input[type="time"], -input[type="url"], -input[type="week"] { - padding: 0 8px; - /* inherits font size 14px */ - line-height: 2; /* 28px */ - /* Only necessary for IE11 */ - min-height: 30px; -} - -::-webkit-datetime-edit { - /* inherits font size 14px */ - line-height: 1.85714286; /* 26px */ -} - -input[type="text"]:focus, -input[type="password"]:focus, -input[type="color"]:focus, -input[type="date"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="email"]:focus, -input[type="month"]:focus, -input[type="number"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="time"]:focus, -input[type="url"]:focus, -input[type="week"]:focus, -input[type="checkbox"]:focus, -input[type="radio"]:focus, -select:focus, -textarea:focus { - border-color: #2271b1; - box-shadow: 0 0 0 1px #2271b1; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -/* rtl:ignore */ -input[type="email"], -input[type="url"] { - direction: ltr; -} - -input[type="checkbox"], -input[type="radio"] { - border: 1px solid #8c8f94; - border-radius: 4px; - background: #fff; - color: #50575e; - clear: none; - cursor: pointer; - display: inline-block; - line-height: 0; - height: 1rem; - margin: -0.25rem 0.25rem 0 0; - outline: 0; - padding: 0 !important; - text-align: center; - vertical-align: middle; - width: 1rem; - min-width: 1rem; - -webkit-appearance: none; - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - transition: .05s border-color ease-in-out; -} - -input[type="radio"]:checked + label:before { - color: #8c8f94; -} - -.wp-core-ui input[type="reset"]:hover, -.wp-core-ui input[type="reset"]:active { - color: #135e96; -} - -td > input[type="checkbox"], -.wp-admin p input[type="checkbox"], -.wp-admin p input[type="radio"] { - margin-top: 0; -} - -.wp-admin p label input[type="checkbox"] { - margin-top: -4px; -} - -.wp-admin p label input[type="radio"] { - margin-top: -2px; -} - -input[type="radio"] { - border-radius: 50%; - margin-right: 0.25rem; - /* 10px not sure if still necessary, comes from the MP6 redesign in r26072 */ - line-height: 0.71428571; -} - -input[type="checkbox"]:checked::before, -input[type="radio"]:checked::before { - float: left; - display: inline-block; - vertical-align: middle; - width: 1rem; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -input[type="checkbox"]:checked::before { - /* Use the "Yes" SVG Dashicon */ - content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E"); - margin: -0.1875rem 0 0 -0.25rem; - height: 1.3125rem; - width: 1.3125rem; -} - -input[type="radio"]:checked::before { - content: ""; - border-radius: 50%; - width: 0.5rem; /* 8px */ - height: 0.5rem; /* 8px */ - margin: 0.1875rem; /* 3px */ - background-color: #3582c4; - /* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */ - line-height: 1.14285714; -} - -@-moz-document url-prefix() { - input[type="checkbox"], - input[type="radio"], - .form-table input.tog { - margin-bottom: -1px; - } -} - -/* Search */ -input[type="search"] { - -webkit-appearance: textfield; -} - -input[type="search"]::-webkit-search-decoration { - display: none; -} - -.wp-admin input[type="file"] { - padding: 3px 0; - cursor: pointer; -} - -input.readonly, -input[readonly], -textarea.readonly, -textarea[readonly] { - background-color: #f0f0f1; -} - -::-webkit-input-placeholder { - color: #646970; -} - -::-moz-placeholder { - color: #646970; - opacity: 1; -} - -:-ms-input-placeholder { - color: #646970; -} - -.form-invalid .form-required, -.form-invalid .form-required:focus, -.form-invalid.form-required input, -.form-invalid.form-required input:focus, -.form-invalid.form-required select, -.form-invalid.form-required select:focus { - border-color: #d63638 !important; - box-shadow: 0 0 2px rgba(214, 54, 56, 0.8); -} - -.form-table .form-required.form-invalid td:after { - content: "\f534"; - font: normal 20px/1 dashicons; - color: #d63638; - margin-left: -25px; - vertical-align: middle; -} - -/* Adjust error indicator for password layout */ -.form-table .form-required.user-pass1-wrap.form-invalid td:after { - content: ""; -} - -.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after { - content: "\f534"; - font: normal 20px/1 dashicons; - color: #d63638; - margin: 0 6px 0 -29px; - vertical-align: middle; -} - -.form-input-tip { - color: #646970; -} - -input:disabled, -input.disabled, -select:disabled, -select.disabled, -textarea:disabled, -textarea.disabled { - background: rgba(255, 255, 255, 0.5); - border-color: rgba(220, 220, 222, 0.75); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); - color: rgba(44, 51, 56, 0.5); -} - -input[type="file"]:disabled, -input[type="file"].disabled, -input[type="range"]:disabled, -input[type="range"].disabled { - background: none; - box-shadow: none; - cursor: default; -} - -input[type="checkbox"]:disabled, -input[type="checkbox"].disabled, -input[type="radio"]:disabled, -input[type="radio"].disabled, -input[type="checkbox"]:disabled:checked:before, -input[type="checkbox"].disabled:checked:before, -input[type="radio"]:disabled:checked:before, -input[type="radio"].disabled:checked:before { - opacity: 0.7; -} - -/*------------------------------------------------------------------------------ - 2.0 - Forms -------------------------------------------------------------------------------*/ - -/* Select styles are based on the default button in buttons.css */ -.wp-core-ui select { - font-size: 14px; - line-height: 2; /* 28px */ - color: #2c3338; - border-color: #8c8f94; - box-shadow: none; - border-radius: 3px; - padding: 0 24px 0 8px; - min-height: 30px; - max-width: 25rem; - -webkit-appearance: none; - /* The SVG is arrow-down-alt2 from Dashicons. */ - background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%; - background-size: 16px 16px; - cursor: pointer; - vertical-align: middle; -} - -.wp-core-ui select:hover { - color: #2271b1; -} - -.wp-core-ui select:focus { - border-color: #2271b1; - color: #0a4b78; - box-shadow: 0 0 0 1px #2271b1; -} - -.wp-core-ui select:active { - border-color: #8c8f94; - box-shadow: none; -} - -.wp-core-ui select.disabled, -.wp-core-ui select:disabled { - color: #a7aaad; - border-color: #dcdcde; - background-color: #f6f7f7; - /* The SVG is arrow-down-alt2 from Dashicons. */ - background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E'); - box-shadow: none; - text-shadow: 0 1px 0 #fff; - cursor: default; - transform: none; -} - -/* Reset Firefox inner outline that appears on :focus. */ -/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ -.wp-core-ui select:-moz-focusring { - color: transparent; - text-shadow: 0 0 0 #0a4b78; -} - -/* Remove background focus style from IE11 while keeping focus style available on option elements. */ -.wp-core-ui select::-ms-value { - background: transparent; - color: #50575e; -} - -.wp-core-ui select:hover::-ms-value { - color: #2271b1; -} - -.wp-core-ui select:focus::-ms-value { - color: #0a4b78; -} - -.wp-core-ui select.disabled::-ms-value, -.wp-core-ui select:disabled::-ms-value { - color: #a7aaad; -} - -/* Hide the native down arrow for select element on IE. */ -.wp-core-ui select::-ms-expand { - display: none; -} - -.wp-admin .button-cancel { - display: inline-block; - min-height: 28px; - padding: 0 5px; - line-height: 2; -} - -.meta-box-sortables select { - max-width: 100%; -} - -.meta-box-sortables input { - vertical-align: middle; -} - -.misc-pub-post-status select { - margin-top: 0; -} - -.wp-core-ui select[multiple] { - height: auto; - padding-right: 8px; - background: #fff; -} - -.submit { - padding: 1.5em 0; - margin: 5px 0; - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; - border: none; -} - -form p.submit a.cancel:hover { - text-decoration: none; -} - -p.submit { - text-align: left; - max-width: 100%; - margin-top: 20px; - padding-top: 10px; -} - -.textright p.submit { - border: none; - text-align: right; -} - -table.form-table + p.submit, -table.form-table + input + p.submit, -table.form-table + input + input + p.submit { - border-top: none; - padding-top: 0; -} - -#minor-publishing-actions input, -#major-publishing-actions input, -#minor-publishing-actions .preview { - text-align: center; -} - -textarea.all-options, -input.all-options { - width: 250px; -} - -input.large-text, -textarea.large-text { - width: 99%; -} - -.regular-text { - width: 25em; -} - -input.small-text { - width: 50px; - padding: 0 6px; -} - -label input.small-text { - margin-top: -4px; -} - -input[type="number"].small-text { - width: 65px; - padding-right: 0; -} - -input.tiny-text { - width: 35px; -} - -input[type="number"].tiny-text { - width: 45px; - padding-right: 0; -} - -#doaction, -#doaction2, -#post-query-submit { - margin: 0 8px 0 0; -} - -/* @since 5.7.0 secondary bulk action controls require JS. */ -.no-js label[for="bulk-action-selector-bottom"], -.no-js select#bulk-action-selector-bottom, -.no-js input#doaction2, -.no-js label[for="new_role2"], -.no-js select#new_role2, -.no-js input#changeit2 { - display: none; -} - -.tablenav .actions select { - float: left; - margin-right: 6px; - max-width: 12.5rem; -} - -#timezone_string option { - margin-left: 1em; -} - -.wp-hide-pw > .dashicons, -.wp-cancel-pw > .dashicons { - position: relative; - top: 3px; - width: 1.25rem; - height: 1.25rem; - top: 0.25rem; - font-size: 20px; -} - -.wp-cancel-pw .dashicons-no { - display: none; -} - -label, -#your-profile label + a { - vertical-align: middle; -} - -fieldset label, -#your-profile label + a { - vertical-align: middle; -} - -.options-media-php [for*="_size_"] { - min-width: 10em; - vertical-align: baseline; -} - -.options-media-php .small-text[name*="_size_"] { - margin: 0 0 1em; -} - -.wp-generate-pw { - margin-top: 1em; -} - -.wp-pwd { - margin-top: 1em; -} - -#misc-publishing-actions label { - vertical-align: baseline; -} - -#pass-strength-result { - background-color: #f0f0f1; - border: 1px solid #dcdcde; - color: #1d2327; - margin: -1px 1px 5px; - padding: 3px 5px; - text-align: center; - width: 25em; - box-sizing: border-box; - opacity: 0; -} - -#pass-strength-result.short { - background-color: #ffabaf; - border-color: #e65054; - opacity: 1; -} - -#pass-strength-result.bad { - background-color: #facfd2; - border-color: #f86368; - opacity: 1; -} - -#pass-strength-result.good { - background-color: #f5e6ab; - border-color: #f0c33c; - opacity: 1; -} - -#pass-strength-result.strong { - background-color: #b8e6bf; - border-color: #68de7c; - opacity: 1; -} - -.password-input-wrapper input { - font-family: Consolas, Monaco, monospace; -} - -#pass1.short, #pass1-text.short { - border-color: #e65054; -} - -#pass1.bad, #pass1-text.bad { - border-color: #f86368; -} - -#pass1.good, #pass1-text.good { - border-color: #f0c33c; -} - -#pass1.strong, #pass1-text.strong { - border-color: #68de7c; -} - -.pw-weak { - display: none; -} - -.indicator-hint { - padding-top: 8px; -} - -.wp-pwd [type="text"], -.wp-pwd [type="password"] { - margin-bottom: 0; - /* Same height as the buttons */ - min-height: 30px; -} - -/* Hide the Edge "reveal password" native button */ -.wp-pwd input::-ms-reveal { - display: none; -} - -#pass1-text, -.show-password #pass1 { - display: none; -} - -#pass1-text::-ms-clear { - display: none; -} - -.show-password #pass1-text { - display: inline-block; -} - -p.search-box { - float: right; - margin: 0; -} - -.network-admin.themes-php p.search-box { - clear: left; -} - -.search-box input[name="s"], -.tablenav .search-plugins input[name="s"], -.tagsdiv .newtag { - float: left; - margin: 0 4px 0 0; -} - -.js.plugins-php .search-box .wp-filter-search { - margin: 0; - width: 280px; -} - -input[type="text"].ui-autocomplete-loading, -input[type="email"].ui-autocomplete-loading { - background-image: url(../images/loading.gif); - background-repeat: no-repeat; - background-position: right center; - visibility: visible; -} - -input.ui-autocomplete-input.open { - border-bottom-color: transparent; -} - -ul#add-to-blog-users { - margin: 0 0 0 14px; -} - -.ui-autocomplete { - padding: 0; - margin: 0; - list-style: none; - position: absolute; - z-index: 10000; - border: 1px solid #4f94d4; - box-shadow: 0 1px 2px rgba(79, 148, 212, 0.8); - background-color: #fff; -} - -.ui-autocomplete li { - margin-bottom: 0; - padding: 4px 10px; - white-space: nowrap; - text-align: left; - cursor: pointer; -} - -/* Colors for the wplink toolbar autocomplete. */ -.ui-autocomplete .ui-state-focus { - background-color: #dcdcde; -} - -/* Colors for the tags autocomplete. */ -.wp-tags-autocomplete .ui-state-focus, -.wp-tags-autocomplete [aria-selected="true"] { - background-color: #2271b1; - color: #fff; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -/*------------------------------------------------------------------------------ - 15.0 - Comments Screen -------------------------------------------------------------------------------*/ - -.form-table { - border-collapse: collapse; - margin-top: 0.5em; - width: 100%; - clear: both; -} - -.form-table, -.form-table td, -.form-table th, -.form-table td p { - font-size: 14px; -} - -.form-table td { - margin-bottom: 9px; - padding: 15px 10px; - line-height: 1.3; - vertical-align: middle; -} - -.form-table th, -.form-wrap label { - color: #1d2327; - font-weight: 400; - text-shadow: none; - vertical-align: baseline; -} - -.form-table th { - vertical-align: top; - text-align: left; - padding: 20px 10px 20px 0; - width: 200px; - line-height: 1.3; - font-weight: 600; -} - -.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */ -.form-table .td-full { - width: auto; - padding: 20px 10px 20px 0; - font-weight: 400; -} - -.form-table td p { - margin-top: 4px; - margin-bottom: 0; -} - -.form-table .date-time-doc { - margin-top: 1em; -} - -.form-table p.timezone-info { - margin: 1em 0; - display: flex; - flex-direction: column; -} - -#local-time { - margin-top: 0.5em; -} - -.form-table td fieldset label { - margin: 0.35em 0 0.5em !important; - display: inline-block; -} - -.form-table td fieldset p label { - margin-top: 0 !important; -} - -.form-table td fieldset label, -.form-table td fieldset p, -.form-table td fieldset li { - line-height: 1.4; -} - -.form-table input.tog, -.form-table input[type="radio"] { - margin-top: -4px; - margin-right: 4px; - float: none; -} - -.form-table .pre { - padding: 8px; - margin: 0; -} - -table.form-table td .updated { - font-size: 13px; -} - -table.form-table td .updated p { - font-size: 13px; - margin: 0.3em 0; -} - -/*------------------------------------------------------------------------------ - 18.0 - Users -------------------------------------------------------------------------------*/ - -#profile-page .form-table textarea { - width: 500px; - margin-bottom: 6px; -} - -#profile-page .form-table #rich_editing { - margin-right: 5px -} - -#your-profile legend { - font-size: 22px; -} - -#display_name { - width: 15em; -} - -#adduser .form-field input, -#createuser .form-field input { - width: 25em; -} - -.color-option { - display: inline-block; - width: 24%; - padding: 5px 15px 15px; - box-sizing: border-box; - margin-bottom: 3px; -} - -.color-option:hover, -.color-option.selected { - background: #dcdcde; -} - -.color-palette { - width: 100%; - border-spacing: 0; - border-collapse: collapse; -} -.color-palette td { - height: 20px; - padding: 0; - border: none; -} - -.color-option { - cursor: pointer; -} - -.create-application-password .form-field { - max-width: 25em; -} - -.create-application-password label { - font-weight: 600; -} - -.create-application-password p.submit { - margin-bottom: 0; - padding-bottom: 0; - display: block; -} - -#application-passwords-section .notice { - margin-top: 20px; - margin-bottom: 0; - word-wrap: break-word; -} - -.application-password-display input.code { - width: 19em; -} - -.auth-app-card.card { - max-width: 768px; -} - -.authorize-application-php .form-wrap p { - display: block; -} - -/*------------------------------------------------------------------------------ - 19.0 - Tools -------------------------------------------------------------------------------*/ - -.tool-box .title { - margin: 8px 0; - font-size: 18px; - font-weight: 400; - line-height: 24px; -} - -.label-responsive { - vertical-align: middle; -} - -#export-filters p { - margin: 0 0 1em; -} - -#export-filters p.submit { - margin: 7px 0 5px; -} - -/* Card styles */ - -.card { - position: relative; - margin-top: 20px; - padding: 0.7em 2em 1em; - min-width: 255px; - max-width: 520px; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); - background: #fff; - box-sizing: border-box; -} - -/* Press this styles */ - -.pressthis h4 { - margin: 2em 0 1em; -} - -.pressthis textarea { - width: 100%; - font-size: 1em; -} - -#pressthis-code-wrap { - overflow: auto; -} - -.pressthis-bookmarklet-wrapper { - margin: 20px 0 8px; - vertical-align: top; - position: relative; - z-index: 1; -} - -.pressthis-bookmarklet, -.pressthis-bookmarklet:hover, -.pressthis-bookmarklet:focus, -.pressthis-bookmarklet:active { - display: inline-block; - position: relative; - cursor: move; - color: #2c3338; - background: #dcdcde; - border-radius: 5px; - border: 1px solid #c3c4c7; - font-style: normal; - line-height: 16px; - font-size: 14px; - text-decoration: none; -} - -.pressthis-bookmarklet:active { - outline: none; -} - -.pressthis-bookmarklet:after { - content: ""; - width: 70%; - height: 55%; - z-index: -1; - position: absolute; - right: 10px; - bottom: 9px; - background: transparent; - transform: skew(20deg) rotate(6deg); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6); -} - -.pressthis-bookmarklet:hover:after { - transform: skew(20deg) rotate(9deg); - box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7); -} - -.pressthis-bookmarklet span { - display: inline-block; - margin: 0; - padding: 0 12px 8px 9px; -} - -.pressthis-bookmarklet span:before { - color: #787c82; - font: normal 20px/1 dashicons; - content: "\f157"; - position: relative; - display: inline-block; - top: 4px; - margin-right: 4px; -} - -.pressthis-js-toggle { - margin-left: 10px; - padding: 0; - height: auto; - vertical-align: top; -} - -/* to override the button class being applied */ -.pressthis-js-toggle.button.button { - margin-left: 10px; - padding: 0; - height: auto; - vertical-align: top; -} - -.pressthis-js-toggle .dashicons { - margin: 5px 8px 6px 7px; - color: #50575e; -} - -/*------------------------------------------------------------------------------ - 20.0 - Settings -------------------------------------------------------------------------------*/ - -.timezone-info code { - white-space: nowrap; -} - -.defaultavatarpicker .avatar { - margin: 2px 0; - vertical-align: middle; -} - -.options-general-php .date-time-text { - display: inline-block; - min-width: 10em; -} - -.options-general-php input.small-text { - width: 56px; - margin: -2px 0; -} - -.options-general-php .spinner { - float: none; - margin: -3px 3px 0; -} - -.settings-php .language-install-spinner, -.options-general-php .language-install-spinner { - display: inline-block; - float: none; - margin: -3px 5px 0; - vertical-align: middle; -} - -.form-table.permalink-structure .available-structure-tags { - margin-top: 8px; -} - -.form-table.permalink-structure .available-structure-tags li { - float: left; - margin-right: 5px; -} - -.form-table.permalink-structure .structure-selection .row { - margin-bottom: 16px; -} - -.form-table.permalink-structure .structure-selection .row > div { - max-width: calc(100% - 24px); - display: inline-flex; - flex-direction: column; -} - -.form-table.permalink-structure .structure-selection .row label { - font-weight: 600; -} - -.form-table.permalink-structure .structure-selection .row p { - margin-top: 0; -} - -/*------------------------------------------------------------------------------ - 21.0 - Network Admin -------------------------------------------------------------------------------*/ - -.setup-php textarea { - max-width: 100%; -} - -.form-field #site-address { - max-width: 25em; -} - -.form-field #domain { - max-width: 22em; -} - -.form-field #site-title, -.form-field #admin-email, -.form-field #path, -.form-field #blog_registered, -.form-field #blog_last_updated { - max-width: 25em; -} - -.form-field #path { - margin-bottom: 5px; -} - -#search-users, -#search-sites { - max-width: 60%; -} - -.configuration-rules-label { - font-weight: 600; - margin-bottom: 4px; -} - -/*------------------------------------------------------------------------------ - Credentials check dialog for Install and Updates -------------------------------------------------------------------------------*/ - -.request-filesystem-credentials-dialog { - display: none; - /* The customizer uses visibility: hidden on the body for full-overlays. */ - visibility: visible; -} - -.request-filesystem-credentials-dialog .notification-dialog { - top: 10%; - max-height: 85%; -} - -.request-filesystem-credentials-dialog-content { - margin: 25px; -} - -#request-filesystem-credentials-title { - font-size: 1.3em; - margin: 1em 0; -} - -.request-filesystem-credentials-form legend { - font-size: 1em; - padding: 1.33em 0; - font-weight: 600; -} - -.request-filesystem-credentials-form input[type="text"], -.request-filesystem-credentials-form input[type="password"] { - display: block; -} - -.request-filesystem-credentials-dialog input[type="text"], -.request-filesystem-credentials-dialog input[type="password"] { - width: 100%; -} - -.request-filesystem-credentials-form .field-title { - font-weight: 600; -} - -.request-filesystem-credentials-dialog label[for="hostname"], -.request-filesystem-credentials-dialog label[for="public_key"], -.request-filesystem-credentials-dialog label[for="private_key"] { - display: block; - margin-bottom: 1em; -} - -.request-filesystem-credentials-dialog .ftp-username, -.request-filesystem-credentials-dialog .ftp-password { - float: left; - width: 48%; -} - -.request-filesystem-credentials-dialog .ftp-password { - margin-left: 4%; -} - -.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons { - text-align: right; -} - -.request-filesystem-credentials-dialog label[for="ftp"] { - margin-right: 10px; -} - -.request-filesystem-credentials-dialog #auth-keys-desc { - margin-bottom: 0; -} - -#request-filesystem-credentials-dialog .button:not(:last-child) { - margin-right: 10px; -} - -#request-filesystem-credentials-form .cancel-button { - display: none; -} - -#request-filesystem-credentials-dialog .cancel-button { - display: inline; -} - -.request-filesystem-credentials-dialog .ftp-username, -.request-filesystem-credentials-dialog .ftp-password { - float: none; - width: auto; -} - -.request-filesystem-credentials-dialog .ftp-username { - margin-bottom: 1em; -} - -.request-filesystem-credentials-dialog .ftp-password { - margin: 0; -} - -.request-filesystem-credentials-dialog .ftp-password em { - color: #8c8f94; -} - -.request-filesystem-credentials-dialog label { - display: block; - line-height: 1.5; - margin-bottom: 1em; -} - -.request-filesystem-credentials-form legend { - padding-bottom: 0; -} - -.request-filesystem-credentials-form #ssh-keys legend { - font-size: 1.3em; -} - -.request-filesystem-credentials-form .notice { - margin: 0 0 20px; - clear: both; -} - -/*------------------------------------------------------------------------------ - Privacy Policy settings screen -------------------------------------------------------------------------------*/ -.tools-privacy-policy-page form { - margin-bottom: 1.3em; -} - -.tools-privacy-policy-page input.button { - margin: 0 1px 0 6px; -} - -.tools-privacy-policy-page select { - margin: 0 1px 0.5em 6px; -} - -.tools-privacy-edit { - margin: 1.5em 0; -} - -.tools-privacy-policy-page span { - line-height: 2; -} - -.privacy_requests .column-email { - width: 40%; -} - -.privacy_requests .column-type { - text-align: center; -} - -.privacy_requests thead td:first-child, -.privacy_requests tfoot td:first-child { - border-left: 4px solid #fff; -} - -.privacy_requests tbody th { - border-left: 4px solid #fff; - background: #fff; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.privacy_requests .row-actions { - color: #787c82; -} - -.privacy_requests .row-actions.processing { - position: static; -} - -.privacy_requests tbody .has-request-results th { - box-shadow: none; -} - -.privacy_requests tbody .request-results th .notice { - margin: 0 0 5px; -} - -.privacy_requests tbody td { - background: #fff; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.privacy_requests tbody .has-request-results td { - box-shadow: none; -} - -.privacy_requests .next_steps .button { - word-wrap: break-word; - white-space: normal; -} - -.privacy_requests .status-request-confirmed th, -.privacy_requests .status-request-confirmed td { - background-color: #fff; - border-left-color: #72aee6; -} - -.privacy_requests .status-request-failed th, -.privacy_requests .status-request-failed td { - background-color: #f6f7f7; - border-left-color: #d63638; -} - -.privacy_requests .export_personal_data_failed a { - vertical-align: baseline; -} - -.status-label { - font-weight: 600; -} - -.status-label.status-request-pending { - font-weight: 400; - font-style: italic; - color: #646970; -} - -.status-label.status-request-failed { - color: #d63638; - font-weight: 600; -} - -.wp-privacy-request-form { - clear: both; -} - -.wp-privacy-request-form-field { - margin: 1.5em 0; -} - -.wp-privacy-request-form input { - margin: 0; -} - -.email-personal-data::before { - display: inline-block; - font: normal 20px/1 dashicons; - margin: 3px 5px 0 -2px; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.email-personal-data--sending::before { - color: #d63638; - content: "\f463"; - animation: rotation 2s infinite linear; -} - -.email-personal-data--sent::before { - color: #68de7c; - content: "\f147"; -} - - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 782px) { - /* Input Elements */ - textarea { - -webkit-appearance: none; - } - - input[type="text"], - input[type="password"], - input[type="date"], - input[type="datetime"], - input[type="datetime-local"], - input[type="email"], - input[type="month"], - input[type="number"], - input[type="search"], - input[type="tel"], - input[type="time"], - input[type="url"], - input[type="week"] { - -webkit-appearance: none; - padding: 3px 10px; - /* Only necessary for IE11 */ - min-height: 40px; - } - - ::-webkit-datetime-edit { - line-height: 1.875; /* 30px */ - } - - input[type="checkbox"], - .widefat th input[type="checkbox"], - .widefat thead td input[type="checkbox"], - .widefat tfoot td input[type="checkbox"] { - -webkit-appearance: none; - } - - .widefat th input[type="checkbox"], - .widefat thead td input[type="checkbox"], - .widefat tfoot td input[type="checkbox"] { - margin-bottom: 8px; - } - - input[type="checkbox"]:checked:before, - .widefat th input[type="checkbox"]:before, - .widefat thead td input[type="checkbox"]:before, - .widefat tfoot td input[type="checkbox"]:before { - width: 1.875rem; - height: 1.875rem; - margin: -0.1875rem -0.3125rem; - } - - input[type="radio"], - input[type="checkbox"] { - height: 1.5625rem; - width: 1.5625rem; - } - - .wp-admin p input[type="checkbox"], - .wp-admin p input[type="radio"] { - margin-top: -0.1875rem; - } - - input[type="radio"]:checked:before { - vertical-align: middle; - width: 0.5625rem; - height: 0.5625rem; - margin: 0.4375rem; - line-height: 0.76190476; - } - - .wp-upload-form input[type="submit"] { - margin-top: 10px; - } - - .wp-core-ui select, - .wp-admin .form-table select { - min-height: 40px; - font-size: 16px; - line-height: 1.625; /* 26px */ - padding: 5px 24px 5px 8px; - } - - .wp-admin .button-cancel { - margin-bottom: 0; - padding: 2px 0; - font-size: 14px; - vertical-align: middle; - } - - #adduser .form-field input, - #createuser .form-field input { - width: 100%; - } - - .form-table { - box-sizing: border-box; - } - - .form-table th, - .form-table td, - .label-responsive { - display: block; - width: auto; - vertical-align: middle; - } - - .label-responsive { - margin: 0.5em 0; - } - - .export-filters li { - margin-bottom: 0; - } - - .form-table .color-palette td { - display: table-cell; - width: 15px; - } - - .form-table table.color-palette { - margin-right: 10px; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="email"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description, - #profile-page .form-table textarea { - width: 100%; - display: block; - max-width: none; - box-sizing: border-box; - } - - .form-table .form-required.form-invalid td:after { - float: right; - margin: -30px 3px 0 0; - } - - input[type="text"].small-text, - input[type="search"].small-text, - input[type="password"].small-text, - input[type="number"].small-text, - input[type="number"].small-text, - .form-table input[type="text"].small-text { - width: auto; - max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */ - display: inline; - padding: 3px 6px; - margin: 0 3px; - } - - .form-table .regular-text ~ input[type="text"].small-text { - margin-top: 5px; - } - - #pass-strength-result { - width: 100%; - box-sizing: border-box; - padding: 8px; - } - - p.search-box { - float: none; - position: absolute; - bottom: 0; - width: 98%; - height: 90px; - margin-bottom: 20px; - } - - p.search-box input[name="s"] { - float: none; - width: 100%; - margin-bottom: 10px; - vertical-align: middle; - } - - p.search-box input[type="submit"] { - margin-bottom: 10px; - } - - .form-table span.description { - display: inline; - padding: 4px 0 0; - line-height: 1.4; - font-size: 14px; - } - - .form-table th { - padding: 10px 0 0; - border-bottom: 0; - } - - .form-table td { - margin-bottom: 0; - padding: 4px 0 6px; - } - - .form-table.permalink-structure td code { - display: inline-block; - } - - .form-table.permalink-structure .structure-selection { - margin-top: 8px; - } - - .form-table.permalink-structure .structure-selection .row > div { - max-width: calc(100% - 36px); - width: 100%; - } - - .form-table.permalink-structure td input[type="text"] { - margin-top: 4px; - } - - .form-table input.regular-text { - width: 100%; - } - - .form-table label { - font-size: 14px; - } - - .background-position-control .button-group > label { - font-size: 0; - } - - .form-table fieldset label { - display: block; - } - - .form-field #domain { - max-width: none; - } - - /* New Password */ - .wp-pwd { - position: relative; - } - - /* Needs higher specificity than normal input type text and password. */ - #profile-page .form-table #pass1 { - padding-right: 90px; - } - - .wp-pwd button.button { - background: transparent; - border: 1px solid transparent; - box-shadow: none; - line-height: 2; - margin: 0; - padding: 5px 9px; - position: absolute; - right: 0; - top: 0; - width: 2.375rem; - height: 2.375rem; - min-width: 40px; - min-height: 40px; - } - - .wp-pwd button.wp-hide-pw { - right: 2.5rem; - } - - body.user-new-php .wp-pwd button.wp-hide-pw { - right: 0; - } - - .wp-pwd button.button:hover, - .wp-pwd button.button:focus { - background: transparent; - } - - .wp-pwd button.button:active { - background: transparent; - box-shadow: none; - transform: none; - } - - .wp-pwd .button .text { - display: none; - } - - .wp-pwd [type="text"], - .wp-pwd [type="password"] { - line-height: 2; - padding-right: 5rem; - } - - body.user-new-php .wp-pwd [type="text"], - body.user-new-php .wp-pwd [type="password"] { - padding-right: 2.5rem; - } - - .wp-cancel-pw .dashicons-no { - display: inline-block; - } - - .options-general-php input[type="text"].small-text { - max-width: 6.25em; - margin: 0; - } - - /* Privacy Policy settings screen */ - .tools-privacy-policy-page form.wp-create-privacy-page { - margin-bottom: 1em; - } - - .tools-privacy-policy-page input#set-page, - .tools-privacy-policy-page select { - margin: 10px 0 0; - } - - .tools-privacy-policy-page .wp-create-privacy-page span { - display: block; - margin-bottom: 1em; - } - - .tools-privacy-policy-page .wp-create-privacy-page .button { - margin-left: 0; - } - - .wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) { - display: table-cell; - } - - .wp-list-table.privacy_requests.widefat th input, - .wp-list-table.privacy_requests.widefat thead td input { - margin-left: 5px; - } - - .wp-privacy-request-form-field input[type="text"] { - width: 100%; - margin-bottom: 10px; - vertical-align: middle; - } - - .regular-text { - max-width: 100%; - } -} - -@media only screen and (max-width: 768px) { - .form-field input[type="text"], - .form-field input[type="email"], - .form-field input[type="password"], - .form-field select, - .form-field textarea { - width: 99%; - } - - .form-wrap .form-field { - padding: 0; - } -} - -@media only screen and (max-height: 480px), screen and (max-width: 450px) { - /* Request Credentials / File Editor Warning */ - .request-filesystem-credentials-dialog .notification-dialog, - .file-editor-warning .notification-dialog { - width: 100%; - height: 100%; - max-height: 100%; - position: fixed; - top: 0; - margin: 0; - left: 0; - } -} - -/* Smartphone */ -@media screen and (max-width: 600px) { - /* Color Picker Options */ - .color-option { - width: 49%; - } -} - -@media only screen and (max-width: 320px) { - .options-general-php .date-time-text.date-time-custom-text { - min-width: 0; - margin-right: 0.5em; - } -} - -@keyframes rotation { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} diff --git a/build/wp-admin/css/forms.min.css b/build/wp-admin/css/forms.min.css deleted file mode 100644 index 5e1e7ff0e4..0000000000 --- a/build/wp-admin/css/forms.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -button,input,select,textarea{box-sizing:border-box;font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea{font-size:14px}textarea{overflow:auto;padding:2px 6px;line-height:1.42857143;resize:vertical}label{cursor:pointer}input,select{margin:0 1px}textarea.code{padding:4px 6px 1px}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{box-shadow:0 0 0 transparent;border-radius:4px;border:1px solid #8c8f94;background-color:#fff;color:#2c3338}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{padding:0 8px;line-height:2;min-height:30px}::-webkit-datetime-edit{line-height:1.85714286}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #8c8f94;border-radius:4px;background:#fff;color:#50575e;clear:none;cursor:pointer;display:inline-block;line-height:0;height:1rem;margin:-.25rem .25rem 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:1rem;min-width:1rem;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#8c8f94}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#135e96}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{border-radius:50%;margin-right:.25rem;line-height:.71428571}input[type=checkbox]:checked::before,input[type=radio]:checked::before{float:left;display:inline-block;vertical-align:middle;width:1rem;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked::before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");margin:-.1875rem 0 0 -.25rem;height:1.3125rem;width:1.3125rem}input[type=radio]:checked::before{content:"";border-radius:50%;width:.5rem;height:.5rem;margin:.1875rem;background-color:#3582c4;line-height:1.14285714}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.wp-admin input[type=file]{padding:3px 0;cursor:pointer}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#f0f0f1}::-webkit-input-placeholder{color:#646970}::-moz-placeholder{color:#646970;opacity:1}:-ms-input-placeholder{color:#646970}.form-invalid .form-required,.form-invalid .form-required:focus,.form-invalid.form-required input,.form-invalid.form-required input:focus,.form-invalid.form-required select,.form-invalid.form-required select:focus{border-color:#d63638!important;box-shadow:0 0 2px rgba(214,54,56,.8)}.form-table .form-required.form-invalid td:after{content:"\f534";font:normal 20px/1 dashicons;color:#d63638;margin-left:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:""}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:"\f534";font:normal 20px/1 dashicons;color:#d63638;margin:0 6px 0 -29px;vertical-align:middle}.form-input-tip{color:#646970}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(220,220,222,.75);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(44,51,56,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;box-shadow:none;cursor:default}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-core-ui select{font-size:14px;line-height:2;color:#2c3338;border-color:#8c8f94;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;background-size:16px 16px;cursor:pointer;vertical-align:middle}.wp-core-ui select:hover{color:#2271b1}.wp-core-ui select:focus{border-color:#2271b1;color:#0a4b78;box-shadow:0 0 0 1px #2271b1}.wp-core-ui select:active{border-color:#8c8f94;box-shadow:none}.wp-core-ui select.disabled,.wp-core-ui select:disabled{color:#a7aaad;border-color:#dcdcde;background-color:#f6f7f7;background-image:url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E');box-shadow:none;text-shadow:0 1px 0 #fff;cursor:default;transform:none}.wp-core-ui select:-moz-focusring{color:transparent;text-shadow:0 0 0 #0a4b78}.wp-core-ui select::-ms-value{background:0 0;color:#50575e}.wp-core-ui select:hover::-ms-value{color:#2271b1}.wp-core-ui select:focus::-ms-value{color:#0a4b78}.wp-core-ui select.disabled::-ms-value,.wp-core-ui select:disabled::-ms-value{color:#a7aaad}.wp-core-ui select::-ms-expand{display:none}.wp-admin .button-cancel{display:inline-block;min-height:28px;padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.meta-box-sortables input{vertical-align:middle}.misc-pub-post-status select{margin-top:0}.wp-core-ui select[multiple]{height:auto;padding-right:8px;background:#fff}.submit{padding:1.5em 0;margin:5px 0;border-bottom-left-radius:3px;border-bottom-right-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:left;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}.regular-text{width:25em}input.small-text{width:50px;padding:0 6px}label input.small-text{margin-top:-4px}input[type=number].small-text{width:65px;padding-right:0}input.tiny-text{width:35px}input[type=number].tiny-text{width:45px;padding-right:0}#doaction,#doaction2,#post-query-submit{margin:0 8px 0 0}.no-js input#changeit2,.no-js input#doaction2,.no-js label[for=bulk-action-selector-bottom],.no-js label[for=new_role2],.no-js select#bulk-action-selector-bottom,.no-js select#new_role2{display:none}.tablenav .actions select{float:left;margin-right:6px;max-width:12.5rem}#timezone_string option{margin-left:1em}.wp-cancel-pw>.dashicons,.wp-hide-pw>.dashicons{position:relative;top:3px;width:1.25rem;height:1.25rem;top:.25rem;font-size:20px}.wp-cancel-pw .dashicons-no{display:none}#your-profile label+a,label{vertical-align:middle}#your-profile label+a,fieldset label{vertical-align:middle}.options-media-php [for*="_size_"]{min-width:10em;vertical-align:baseline}.options-media-php .small-text[name*="_size_"]{margin:0 0 1em}.wp-generate-pw{margin-top:1em}.wp-pwd{margin-top:1em}#misc-publishing-actions label{vertical-align:baseline}#pass-strength-result{background-color:#f0f0f1;border:1px solid #dcdcde;color:#1d2327;margin:-1px 1px 5px;padding:3px 5px;text-align:center;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#ffabaf;border-color:#e65054;opacity:1}#pass-strength-result.bad{background-color:#facfd2;border-color:#f86368;opacity:1}#pass-strength-result.good{background-color:#f5e6ab;border-color:#f0c33c;opacity:1}#pass-strength-result.strong{background-color:#b8e6bf;border-color:#68de7c;opacity:1}.password-input-wrapper input{font-family:Consolas,Monaco,monospace}#pass1-text.short,#pass1.short{border-color:#e65054}#pass1-text.bad,#pass1.bad{border-color:#f86368}#pass1-text.good,#pass1.good{border-color:#f0c33c}#pass1-text.strong,#pass1.strong{border-color:#68de7c}.pw-weak{display:none}.indicator-hint{padding-top:8px}.wp-pwd [type=password],.wp-pwd [type=text]{margin-bottom:0;min-height:30px}.wp-pwd input::-ms-reveal{display:none}#pass1-text,.show-password #pass1{display:none}#pass1-text::-ms-clear{display:none}.show-password #pass1-text{display:inline-block}p.search-box{float:right;margin:0}.network-admin.themes-php p.search-box{clear:left}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;margin:0 4px 0 0}.js.plugins-php .search-box .wp-filter-search{margin:0;width:280px}input[type=email].ui-autocomplete-loading,input[type=text].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:right center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #4f94d4;box-shadow:0 1px 2px rgba(79,148,212,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;white-space:nowrap;text-align:left;cursor:pointer}.ui-autocomplete .ui-state-focus{background-color:#dcdcde}.wp-tags-autocomplete .ui-state-focus,.wp-tags-autocomplete [aria-selected=true]{background-color:#2271b1;color:#fff;outline:2px solid transparent}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#1d2327;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table .td-full,.form-table th.th-full{width:auto;padding:20px 10px 20px 0;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table .date-time-doc{margin-top:1em}.form-table p.timezone-info{margin:1em 0;display:flex;flex-direction:column}#local-time{margin-top:.5em}.form-table td fieldset label{margin:.35em 0 .5em!important;display:inline-block}.form-table td fieldset p label{margin-top:0!important}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;box-sizing:border-box;margin-bottom:3px}.color-option.selected,.color-option:hover{background:#dcdcde}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.color-option{cursor:pointer}.create-application-password .form-field{max-width:25em}.create-application-password label{font-weight:600}.create-application-password p.submit{margin-bottom:0;padding-bottom:0;display:block}#application-passwords-section .notice{margin-top:20px;margin-bottom:0;word-wrap:break-word}.application-password-display input.code{width:19em}.auth-app-card.card{max-width:768px}.authorize-application-php .form-wrap p{display:block}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.label-responsive{vertical-align:middle}#export-filters p{margin:0 0 1em}#export-filters p.submit{margin:7px 0 5px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;box-sizing:border-box}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}#pressthis-code-wrap{overflow:auto}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#2c3338;background:#dcdcde;border-radius:5px;border:1px solid #c3c4c7;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:"";width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;transform:skew(20deg) rotate(6deg);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{transform:skew(20deg) rotate(9deg);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis-bookmarklet span:before{color:#787c82;font:normal 20px/1 dashicons;content:"\f157";position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis-js-toggle{margin-left:10px;padding:0;height:auto;vertical-align:top}.pressthis-js-toggle.button.button{margin-left:10px;padding:0;height:auto;vertical-align:top}.pressthis-js-toggle .dashicons{margin:5px 8px 6px 7px;color:#50575e}.timezone-info code{white-space:nowrap}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php .date-time-text{display:inline-block;min-width:10em}.options-general-php input.small-text{width:56px;margin:-2px 0}.options-general-php .spinner{float:none;margin:-3px 3px 0}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.form-table.permalink-structure .available-structure-tags{margin-top:8px}.form-table.permalink-structure .available-structure-tags li{float:left;margin-right:5px}.form-table.permalink-structure .structure-selection .row{margin-bottom:16px}.form-table.permalink-structure .structure-selection .row>div{max-width:calc(100% - 24px);display:inline-flex;flex-direction:column}.form-table.permalink-structure .structure-selection .row label{font-weight:600}.form-table.permalink-structure .structure-selection .row p{margin-top:0}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:60%}.configuration-rules-label{font-weight:600;margin-bottom:4px}.request-filesystem-credentials-dialog{display:none;visibility:visible}.request-filesystem-credentials-dialog .notification-dialog{top:10%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}#request-filesystem-credentials-title{font-size:1.3em;margin:1em 0}.request-filesystem-credentials-form legend{font-size:1em;padding:1.33em 0;font-weight:600}.request-filesystem-credentials-form input[type=password],.request-filesystem-credentials-form input[type=text]{display:block}.request-filesystem-credentials-dialog input[type=password],.request-filesystem-credentials-dialog input[type=text]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=private_key],.request-filesystem-credentials-dialog label[for=public_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:left;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-left:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:right}.request-filesystem-credentials-dialog label[for=ftp]{margin-right:10px}.request-filesystem-credentials-dialog #auth-keys-desc{margin-bottom:0}#request-filesystem-credentials-dialog .button:not(:last-child){margin-right:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:none;width:auto}.request-filesystem-credentials-dialog .ftp-username{margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password{margin:0}.request-filesystem-credentials-dialog .ftp-password em{color:#8c8f94}.request-filesystem-credentials-dialog label{display:block;line-height:1.5;margin-bottom:1em}.request-filesystem-credentials-form legend{padding-bottom:0}.request-filesystem-credentials-form #ssh-keys legend{font-size:1.3em}.request-filesystem-credentials-form .notice{margin:0 0 20px;clear:both}.tools-privacy-policy-page form{margin-bottom:1.3em}.tools-privacy-policy-page input.button{margin:0 1px 0 6px}.tools-privacy-policy-page select{margin:0 1px .5em 6px}.tools-privacy-edit{margin:1.5em 0}.tools-privacy-policy-page span{line-height:2}.privacy_requests .column-email{width:40%}.privacy_requests .column-type{text-align:center}.privacy_requests tfoot td:first-child,.privacy_requests thead td:first-child{border-left:4px solid #fff}.privacy_requests tbody th{border-left:4px solid #fff;background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.privacy_requests .row-actions{color:#787c82}.privacy_requests .row-actions.processing{position:static}.privacy_requests tbody .has-request-results th{box-shadow:none}.privacy_requests tbody .request-results th .notice{margin:0 0 5px}.privacy_requests tbody td{background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.privacy_requests tbody .has-request-results td{box-shadow:none}.privacy_requests .next_steps .button{word-wrap:break-word;white-space:normal}.privacy_requests .status-request-confirmed td,.privacy_requests .status-request-confirmed th{background-color:#fff;border-left-color:#72aee6}.privacy_requests .status-request-failed td,.privacy_requests .status-request-failed th{background-color:#f6f7f7;border-left-color:#d63638}.privacy_requests .export_personal_data_failed a{vertical-align:baseline}.status-label{font-weight:600}.status-label.status-request-pending{font-weight:400;font-style:italic;color:#646970}.status-label.status-request-failed{color:#d63638;font-weight:600}.wp-privacy-request-form{clear:both}.wp-privacy-request-form-field{margin:1.5em 0}.wp-privacy-request-form input{margin:0}.email-personal-data::before{display:inline-block;font:normal 20px/1 dashicons;margin:3px 5px 0 -2px;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.email-personal-data--sending::before{color:#d63638;content:"\f463";animation:rotation 2s infinite linear}.email-personal-data--sent::before{color:#68de7c;content:"\f147"}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{-webkit-appearance:none;padding:3px 10px;min-height:40px}::-webkit-datetime-edit{line-height:1.875}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{width:1.875rem;height:1.875rem;margin:-.1875rem -.3125rem}input[type=checkbox],input[type=radio]{height:1.5625rem;width:1.5625rem}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-.1875rem}input[type=radio]:checked:before{vertical-align:middle;width:.5625rem;height:.5625rem;margin:.4375rem;line-height:.76190476}.wp-upload-form input[type=submit]{margin-top:10px}.wp-admin .form-table select,.wp-core-ui select{min-height:40px;font-size:16px;line-height:1.625;padding:5px 24px 5px 8px}.wp-admin .button-cancel{margin-bottom:0;padding:2px 0;font-size:14px;vertical-align:middle}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{box-sizing:border-box}.form-table td,.form-table th,.label-responsive{display:block;width:auto;vertical-align:middle}.label-responsive{margin:.5em 0}.export-filters li{margin-bottom:0}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td select,.form-table td textarea{width:100%;display:block;max-width:none;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:right;margin:-30px 3px 0 0}.form-table input[type=text].small-text,input[type=number].small-text,input[type=password].small-text,input[type=search].small-text,input[type=text].small-text{width:auto;max-width:4.375em;display:inline;padding:3px 6px;margin:0 3px}.form-table .regular-text~input[type=text].small-text{margin-top:5px}#pass-strength-result{width:100%;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{float:none;width:100%;margin-bottom:10px;vertical-align:middle}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4;font-size:14px}.form-table th{padding:10px 0 0;border-bottom:0}.form-table td{margin-bottom:0;padding:4px 0 6px}.form-table.permalink-structure td code{display:inline-block}.form-table.permalink-structure .structure-selection{margin-top:8px}.form-table.permalink-structure .structure-selection .row>div{max-width:calc(100% - 36px);width:100%}.form-table.permalink-structure td input[type=text]{margin-top:4px}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.background-position-control .button-group>label{font-size:0}.form-table fieldset label{display:block}.form-field #domain{max-width:none}.wp-pwd{position:relative}#profile-page .form-table #pass1{padding-right:90px}.wp-pwd button.button{background:0 0;border:1px solid transparent;box-shadow:none;line-height:2;margin:0;padding:5px 9px;position:absolute;right:0;top:0;width:2.375rem;height:2.375rem;min-width:40px;min-height:40px}.wp-pwd button.wp-hide-pw{right:2.5rem}body.user-new-php .wp-pwd button.wp-hide-pw{right:0}.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd button.button:active{background:0 0;box-shadow:none;transform:none}.wp-pwd .button .text{display:none}.wp-pwd [type=password],.wp-pwd [type=text]{line-height:2;padding-right:5rem}body.user-new-php .wp-pwd [type=password],body.user-new-php .wp-pwd [type=text]{padding-right:2.5rem}.wp-cancel-pw .dashicons-no{display:inline-block}.options-general-php input[type=text].small-text{max-width:6.25em;margin:0}.tools-privacy-policy-page form.wp-create-privacy-page{margin-bottom:1em}.tools-privacy-policy-page input#set-page,.tools-privacy-policy-page select{margin:10px 0 0}.tools-privacy-policy-page .wp-create-privacy-page span{display:block;margin-bottom:1em}.tools-privacy-policy-page .wp-create-privacy-page .button{margin-left:0}.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column){display:table-cell}.wp-list-table.privacy_requests.widefat th input,.wp-list-table.privacy_requests.widefat thead td input{margin-left:5px}.wp-privacy-request-form-field input[type=text]{width:100%;margin-bottom:10px;vertical-align:middle}.regular-text{max-width:100%}}@media only screen and (max-width:768px){.form-field input[type=email],.form-field input[type=password],.form-field input[type=text],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}}@media only screen and (max-height:480px),screen and (max-width:450px){.file-editor-warning .notification-dialog,.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;left:0}}@media screen and (max-width:600px){.color-option{width:49%}}@media only screen and (max-width:320px){.options-general-php .date-time-text.date-time-custom-text{min-width:0;margin-right:.5em}}@keyframes rotation{0%{transform:rotate(0)}100%{transform:rotate(359deg)}} \ No newline at end of file diff --git a/build/wp-admin/css/install-rtl.css b/build/wp-admin/css/install-rtl.css deleted file mode 100644 index e7b9466da8..0000000000 --- a/build/wp-admin/css/install-rtl.css +++ /dev/null @@ -1,380 +0,0 @@ -/*! This file is auto-generated */ -html { - background: #f0f0f1; - margin: 0 20px; -} - -body { - background: #fff; - border: 1px solid #c3c4c7; - color: #3c434a; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - margin: 140px auto 25px; - padding: 20px 20px 10px; - max-width: 700px; - -webkit-font-smoothing: subpixel-antialiased; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -a { - color: #2271b1; -} - -a:hover, -a:active { - color: #135e96; -} - -a:focus { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -h1, h2 { - border-bottom: 1px solid #dcdcde; - clear: both; - color: #646970; - font-size: 24px; - padding: 0 0 7px; - font-weight: 400; -} - -h3 { - font-size: 16px; -} - -p, li, dd, dt { - padding-bottom: 2px; - font-size: 14px; - line-height: 1.5; -} - -code, .code { - font-family: Consolas, Monaco, monospace; -} - -ul, ol, dl { - padding: 5px 22px 5px 5px; -} - -a img { - border: 0 -} -abbr { - border: 0; - font-variant: normal; -} - -fieldset { - border: 0; - padding: 0; - margin: 0; -} - -label { - cursor: pointer; -} - -#logo { - margin: -130px auto 25px; - padding: 0 0 25px; - width: 84px; - height: 84px; - overflow: hidden; - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #3c434a; /* same as login.css */ - font-size: 20px; - font-weight: 400; - line-height: 1.3em; - text-decoration: none; - text-align: center; - text-indent: -9999px; - outline: none; -} - -.step { - margin: 20px 0 15px; -} -.step, th { - text-align: right; - padding: 0; -} -.language-chooser.wp-core-ui .step .button.button-large { - font-size: 14px; -} -textarea { - border: 1px solid #dcdcde; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - width: 100%; - box-sizing: border-box; -} - -.form-table { - border-collapse: collapse; - margin-top: 1em; - width: 100%; -} - -.form-table td { - margin-bottom: 9px; - padding: 10px 0 10px 20px; - font-size: 14px; - vertical-align: top -} - -.form-table th { - font-size: 14px; - text-align: right; - padding: 10px 0 10px 20px; - width: 140px; - vertical-align: top; -} - -.form-table code { - line-height: 1.28571428; - font-size: 14px; -} - -.form-table p { - margin: 4px 0 0; - font-size: 11px; -} - -.form-table input { - line-height: 1.33333333; - font-size: 15px; - padding: 3px 5px; -} - -input, -submit { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} - -.form-table input[type=text], -.form-table input[type=email], -.form-table input[type=url], -.form-table input[type=password], -#pass-strength-result { - width: 218px; -} - -.form-table th p { - font-weight: 400; -} - -.form-table.install-success th, -.form-table.install-success td { - vertical-align: middle; - padding: 16px 0 16px 20px; -} - -.form-table.install-success td p { - margin: 0; - font-size: 14px; -} - -.form-table.install-success td code { - margin: 0; - font-size: 18px; -} - -#error-page { - margin-top: 50px; -} - -#error-page p { - font-size: 14px; - line-height: 1.28571428; - margin: 25px 0 20px; -} - -#error-page code, .code { - font-family: Consolas, Monaco, monospace; -} - -.message { - border-right: 4px solid #d63638; - padding: .7em .6em; - background-color: #fcf0f1; -} - -/* rtl:ignore */ -#dbname, -#uname, -#pwd, -#dbhost, -#prefix, -#user_login, -#admin_email, -#pass1, -#pass2 { - direction: ltr; -} - - -/* localization */ -body.rtl, -.rtl textarea, -.rtl input, -.rtl submit { - font-family: Tahoma, sans-serif; -} - -:lang(he-il) body.rtl, -:lang(he-il) .rtl textarea, -:lang(he-il) .rtl input, -:lang(he-il) .rtl submit { - font-family: Arial, sans-serif; -} - -@media only screen and (max-width: 799px) { - body { - margin-top: 115px; - } - #logo a { - margin: -125px auto 30px; - } -} - -@media screen and (max-width: 782px) { - - .form-table { - margin-top: 0; - } - - .form-table th, - .form-table td { - display: block; - width: auto; - vertical-align: middle; - } - - .form-table th { - padding: 20px 0 0; - } - - .form-table td { - padding: 5px 0; - border: 0; - margin: 0; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="email"], - .form-table td input[type="url"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description { - width: 100%; - font-size: 16px; - line-height: 1.5; - padding: 7px 10px; - display: block; - max-width: none; - box-sizing: border-box; - } - - .wp-pwd #pass1 { - padding-left: 50px; - } - - .wp-pwd .button.wp-hide-pw { - left: 0; - } - - #pass-strength-result { - width: 100%; - } -} - -body.language-chooser { - max-width: 300px; -} - -.language-chooser select { - padding: 8px; - width: 100%; - display: block; - border: 1px solid #dcdcde; - background: #fff; - color: #2c3338; - font-size: 16px; - font-family: Arial, sans-serif; - font-weight: 400; -} - -.language-chooser select:focus { - color: #2c3338; -} - -.language-chooser select option:hover, -.language-chooser select option:focus { - color: #0a4b78; -} - -.language-chooser .step { - text-align: left; -} - -.screen-reader-input, -.screen-reader-text { - border: 0; - clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - word-wrap: normal !important; -} - -.spinner { - background: url(../images/spinner.gif) no-repeat; - background-size: 20px 20px; - visibility: hidden; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 2px 5px 0; -} - -.step .spinner { - display: inline-block; - vertical-align: middle; - margin-left: 15px; -} - -.button.hide-if-no-js, -.hide-if-no-js { - display: none; -} - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - -} diff --git a/build/wp-admin/css/install-rtl.min.css b/build/wp-admin/css/install-rtl.min.css deleted file mode 100644 index 37ec3a1fb7..0000000000 --- a/build/wp-admin/css/install-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:10px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-right:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-left:50px}.wp-pwd .button.wp-hide-pw{left:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:left}.screen-reader-input,.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-left:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file diff --git a/build/wp-admin/css/install.css b/build/wp-admin/css/install.css deleted file mode 100644 index 62a596f0fe..0000000000 --- a/build/wp-admin/css/install.css +++ /dev/null @@ -1,379 +0,0 @@ -html { - background: #f0f0f1; - margin: 0 20px; -} - -body { - background: #fff; - border: 1px solid #c3c4c7; - color: #3c434a; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - margin: 140px auto 25px; - padding: 20px 20px 10px; - max-width: 700px; - -webkit-font-smoothing: subpixel-antialiased; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -a { - color: #2271b1; -} - -a:hover, -a:active { - color: #135e96; -} - -a:focus { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -h1, h2 { - border-bottom: 1px solid #dcdcde; - clear: both; - color: #646970; - font-size: 24px; - padding: 0 0 7px; - font-weight: 400; -} - -h3 { - font-size: 16px; -} - -p, li, dd, dt { - padding-bottom: 2px; - font-size: 14px; - line-height: 1.5; -} - -code, .code { - font-family: Consolas, Monaco, monospace; -} - -ul, ol, dl { - padding: 5px 5px 5px 22px; -} - -a img { - border: 0 -} -abbr { - border: 0; - font-variant: normal; -} - -fieldset { - border: 0; - padding: 0; - margin: 0; -} - -label { - cursor: pointer; -} - -#logo { - margin: -130px auto 25px; - padding: 0 0 25px; - width: 84px; - height: 84px; - overflow: hidden; - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #3c434a; /* same as login.css */ - font-size: 20px; - font-weight: 400; - line-height: 1.3em; - text-decoration: none; - text-align: center; - text-indent: -9999px; - outline: none; -} - -.step { - margin: 20px 0 15px; -} -.step, th { - text-align: left; - padding: 0; -} -.language-chooser.wp-core-ui .step .button.button-large { - font-size: 14px; -} -textarea { - border: 1px solid #dcdcde; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - width: 100%; - box-sizing: border-box; -} - -.form-table { - border-collapse: collapse; - margin-top: 1em; - width: 100%; -} - -.form-table td { - margin-bottom: 9px; - padding: 10px 20px 10px 0; - font-size: 14px; - vertical-align: top -} - -.form-table th { - font-size: 14px; - text-align: left; - padding: 10px 20px 10px 0; - width: 140px; - vertical-align: top; -} - -.form-table code { - line-height: 1.28571428; - font-size: 14px; -} - -.form-table p { - margin: 4px 0 0; - font-size: 11px; -} - -.form-table input { - line-height: 1.33333333; - font-size: 15px; - padding: 3px 5px; -} - -input, -submit { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -} - -.form-table input[type=text], -.form-table input[type=email], -.form-table input[type=url], -.form-table input[type=password], -#pass-strength-result { - width: 218px; -} - -.form-table th p { - font-weight: 400; -} - -.form-table.install-success th, -.form-table.install-success td { - vertical-align: middle; - padding: 16px 20px 16px 0; -} - -.form-table.install-success td p { - margin: 0; - font-size: 14px; -} - -.form-table.install-success td code { - margin: 0; - font-size: 18px; -} - -#error-page { - margin-top: 50px; -} - -#error-page p { - font-size: 14px; - line-height: 1.28571428; - margin: 25px 0 20px; -} - -#error-page code, .code { - font-family: Consolas, Monaco, monospace; -} - -.message { - border-left: 4px solid #d63638; - padding: .7em .6em; - background-color: #fcf0f1; -} - -/* rtl:ignore */ -#dbname, -#uname, -#pwd, -#dbhost, -#prefix, -#user_login, -#admin_email, -#pass1, -#pass2 { - direction: ltr; -} - - -/* localization */ -body.rtl, -.rtl textarea, -.rtl input, -.rtl submit { - font-family: Tahoma, sans-serif; -} - -:lang(he-il) body.rtl, -:lang(he-il) .rtl textarea, -:lang(he-il) .rtl input, -:lang(he-il) .rtl submit { - font-family: Arial, sans-serif; -} - -@media only screen and (max-width: 799px) { - body { - margin-top: 115px; - } - #logo a { - margin: -125px auto 30px; - } -} - -@media screen and (max-width: 782px) { - - .form-table { - margin-top: 0; - } - - .form-table th, - .form-table td { - display: block; - width: auto; - vertical-align: middle; - } - - .form-table th { - padding: 20px 0 0; - } - - .form-table td { - padding: 5px 0; - border: 0; - margin: 0; - } - - textarea, - input { - font-size: 16px; - } - - .form-table td input[type="text"], - .form-table td input[type="email"], - .form-table td input[type="url"], - .form-table td input[type="password"], - .form-table td select, - .form-table td textarea, - .form-table span.description { - width: 100%; - font-size: 16px; - line-height: 1.5; - padding: 7px 10px; - display: block; - max-width: none; - box-sizing: border-box; - } - - .wp-pwd #pass1 { - padding-right: 50px; - } - - .wp-pwd .button.wp-hide-pw { - right: 0; - } - - #pass-strength-result { - width: 100%; - } -} - -body.language-chooser { - max-width: 300px; -} - -.language-chooser select { - padding: 8px; - width: 100%; - display: block; - border: 1px solid #dcdcde; - background: #fff; - color: #2c3338; - font-size: 16px; - font-family: Arial, sans-serif; - font-weight: 400; -} - -.language-chooser select:focus { - color: #2c3338; -} - -.language-chooser select option:hover, -.language-chooser select option:focus { - color: #0a4b78; -} - -.language-chooser .step { - text-align: right; -} - -.screen-reader-input, -.screen-reader-text { - border: 0; - clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - word-wrap: normal !important; -} - -.spinner { - background: url(../images/spinner.gif) no-repeat; - background-size: 20px 20px; - visibility: hidden; - opacity: 0.7; - filter: alpha(opacity=70); - width: 20px; - height: 20px; - margin: 2px 5px 0; -} - -.step .spinner { - display: inline-block; - vertical-align: middle; - margin-right: 15px; -} - -.button.hide-if-no-js, -.hide-if-no-js { - display: none; -} - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - - .spinner { - background-image: url(../images/spinner-2x.gif); - } - -} diff --git a/build/wp-admin/css/install.min.css b/build/wp-admin/css/install.min.css deleted file mode 100644 index 6cbb6dcb74..0000000000 --- a/build/wp-admin/css/install.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:10px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-left:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-right:50px}.wp-pwd .button.wp-hide-pw{right:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:right}.screen-reader-input,.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-right:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file diff --git a/build/wp-admin/css/l10n-rtl.css b/build/wp-admin/css/l10n-rtl.css deleted file mode 100644 index eaefa4eddc..0000000000 --- a/build/wp-admin/css/l10n-rtl.css +++ /dev/null @@ -1,121 +0,0 @@ -/*! This file is auto-generated */ -/*------------------------------------------------------------------------------ - 27.0 - Localization -------------------------------------------------------------------------------*/ - -/* RTL except Hebrew (see below): Tahoma as the first font; */ -body.rtl, -body.rtl .press-this a.wp-switch-editor { - font-family: Tahoma, Arial, sans-serif; -} - -/* Arial is best for RTL headings. */ -.rtl h1, -.rtl h2, -.rtl h3, -.rtl h4, -.rtl h5, -.rtl h6 { - font-family: Arial, sans-serif; - font-weight: 600; -} - -/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */ -body.locale-he-il, -body.locale-he-il .press-this a.wp-switch-editor { - font-family: Arial, sans-serif; -} - -/* he_IL: Have be bold rather than italic. */ -.locale-he-il em { - font-style: normal; - font-weight: 600; -} - -/* zh_CN: Remove italic properties. */ -.locale-zh-cn .howto, -.locale-zh-cn .tablenav .displaying-num, -.locale-zh-cn .js .input-with-default-title, -.locale-zh-cn .link-to-original, -.locale-zh-cn .inline-edit-row fieldset span.title, -.locale-zh-cn .inline-edit-row fieldset span.checkbox-title, -.locale-zh-cn #utc-time, -.locale-zh-cn #local-time, -.locale-zh-cn p.install-help, -.locale-zh-cn p.help, -.locale-zh-cn p.description, -.locale-zh-cn span.description, -.locale-zh-cn .form-wrap p { - font-style: normal; -} - -/* zh_CN: Enlarge dashboard widget 'Configure' link */ -.locale-zh-cn .hdnle a { font-size: 12px; } - -/* zn_CH: Enlarge font size, set font-size: normal */ -.locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; } - -/* zh_CN: Enlarge font-size. */ -.locale-zh-cn #sort-buttons { font-size: 1em !important; } - -/* de_DE: Text needs more space for translation */ -.locale-de-de #customize-header-actions .button, -.locale-de-de-formal #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-de-de #customize-header-actions .spinner, -.locale-de-de-formal #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* ru_RU: Text needs more room to breathe. */ -.locale-ru-ru #adminmenu { - width: inherit; /* back-compat for pre-3.2 */ -} -.locale-ru-ru #adminmenu, -.locale-ru-ru #wpbody { - margin-right: 0; /* back-compat for pre-3.2 */ -} -.locale-ru-ru .inline-edit-row fieldset label span.title, -.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend { - width: 8em; /* default 6em */ -} -.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap, -.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap { - margin-right: 8em; /* default 6em */ -} -.locale-ru-ru.post-php .tagsdiv .newtag, -.locale-ru-ru.post-new-php .tagsdiv .newtag { - width: 165px; /* default 180px - 15px */ -} -.locale-ru-ru.press-this .posting { - margin-left: 277px; /* default 252px + 25px */ -} -.locale-ru-ru .press-this-sidebar { - width: 265px; /* default 240px + 25px */ -} -.locale-ru-ru #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-ru-ru #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* lt_LT: QuickEdit */ -.locale-lt-lt .inline-edit-row fieldset label span.title, -.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend { - width: 8em; /* default 6em */ -} -.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap, -.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap { - margin-right: 8em; /* default 6em */ -} - -@media screen and (max-width: 782px) { - .locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap, - .locale-ru-ru .inline-edit-row fieldset .timestamp-wrap, - .locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap, - .locale-lt-lt .inline-edit-row fieldset .timestamp-wrap { - margin-right: 0; - } -} diff --git a/build/wp-admin/css/l10n-rtl.min.css b/build/wp-admin/css/l10n-rtl.min.css deleted file mode 100644 index 3ac11f8e2d..0000000000 --- a/build/wp-admin/css/l10n-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:600}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-right:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}} \ No newline at end of file diff --git a/build/wp-admin/css/l10n.css b/build/wp-admin/css/l10n.css deleted file mode 100644 index 967fb4c6c6..0000000000 --- a/build/wp-admin/css/l10n.css +++ /dev/null @@ -1,120 +0,0 @@ -/*------------------------------------------------------------------------------ - 27.0 - Localization -------------------------------------------------------------------------------*/ - -/* RTL except Hebrew (see below): Tahoma as the first font; */ -body.rtl, -body.rtl .press-this a.wp-switch-editor { - font-family: Tahoma, Arial, sans-serif; -} - -/* Arial is best for RTL headings. */ -.rtl h1, -.rtl h2, -.rtl h3, -.rtl h4, -.rtl h5, -.rtl h6 { - font-family: Arial, sans-serif; - font-weight: 600; -} - -/* he_IL: Remove Tahoma from the font stack. Arial is best for Hebrew. */ -body.locale-he-il, -body.locale-he-il .press-this a.wp-switch-editor { - font-family: Arial, sans-serif; -} - -/* he_IL: Have be bold rather than italic. */ -.locale-he-il em { - font-style: normal; - font-weight: 600; -} - -/* zh_CN: Remove italic properties. */ -.locale-zh-cn .howto, -.locale-zh-cn .tablenav .displaying-num, -.locale-zh-cn .js .input-with-default-title, -.locale-zh-cn .link-to-original, -.locale-zh-cn .inline-edit-row fieldset span.title, -.locale-zh-cn .inline-edit-row fieldset span.checkbox-title, -.locale-zh-cn #utc-time, -.locale-zh-cn #local-time, -.locale-zh-cn p.install-help, -.locale-zh-cn p.help, -.locale-zh-cn p.description, -.locale-zh-cn span.description, -.locale-zh-cn .form-wrap p { - font-style: normal; -} - -/* zh_CN: Enlarge dashboard widget 'Configure' link */ -.locale-zh-cn .hdnle a { font-size: 12px; } - -/* zn_CH: Enlarge font size, set font-size: normal */ -.locale-zh-cn form.upgrade .hint { font-style: normal; font-size: 100%; } - -/* zh_CN: Enlarge font-size. */ -.locale-zh-cn #sort-buttons { font-size: 1em !important; } - -/* de_DE: Text needs more space for translation */ -.locale-de-de #customize-header-actions .button, -.locale-de-de-formal #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-de-de #customize-header-actions .spinner, -.locale-de-de-formal #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* ru_RU: Text needs more room to breathe. */ -.locale-ru-ru #adminmenu { - width: inherit; /* back-compat for pre-3.2 */ -} -.locale-ru-ru #adminmenu, -.locale-ru-ru #wpbody { - margin-left: 0; /* back-compat for pre-3.2 */ -} -.locale-ru-ru .inline-edit-row fieldset label span.title, -.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend { - width: 8em; /* default 6em */ -} -.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap, -.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap { - margin-left: 8em; /* default 6em */ -} -.locale-ru-ru.post-php .tagsdiv .newtag, -.locale-ru-ru.post-new-php .tagsdiv .newtag { - width: 165px; /* default 180px - 15px */ -} -.locale-ru-ru.press-this .posting { - margin-right: 277px; /* default 252px + 25px */ -} -.locale-ru-ru .press-this-sidebar { - width: 265px; /* default 240px + 25px */ -} -.locale-ru-ru #customize-header-actions .button { - padding: 0 5px 1px; /* default 0 10px 1px */ -} -.locale-ru-ru #customize-header-actions .spinner { - margin: 16px 3px 0; /* default 16px 4px 0 5px */ -} - -/* lt_LT: QuickEdit */ -.locale-lt-lt .inline-edit-row fieldset label span.title, -.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend { - width: 8em; /* default 6em */ -} -.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap, -.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap { - margin-left: 8em; /* default 6em */ -} - -@media screen and (max-width: 782px) { - .locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap, - .locale-ru-ru .inline-edit-row fieldset .timestamp-wrap, - .locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap, - .locale-lt-lt .inline-edit-row fieldset .timestamp-wrap { - margin-left: 0; - } -} diff --git a/build/wp-admin/css/l10n.min.css b/build/wp-admin/css/l10n.min.css deleted file mode 100644 index 6a427f4c33..0000000000 --- a/build/wp-admin/css/l10n.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:600}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-left:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}} \ No newline at end of file diff --git a/build/wp-admin/css/list-tables-rtl.css b/build/wp-admin/css/list-tables-rtl.css deleted file mode 100644 index 9d19e18335..0000000000 --- a/build/wp-admin/css/list-tables-rtl.css +++ /dev/null @@ -1,2268 +0,0 @@ -/*! This file is auto-generated */ -.response-links { - display: block; - margin-bottom: 1em; -} - -.response-links a { - display: block; -} - -.response-links a.comments-edit-item-link { - font-weight: 600; -} - -.response-links a.comments-view-item-link { - font-size: 12px; -} - -.post-com-count-wrapper strong { - font-weight: 400; -} - -.comments-view-item-link { - display: inline-block; - clear: both; -} - -.column-response .post-com-count-wrapper, -.column-comments .post-com-count-wrapper { - white-space: nowrap; - word-wrap: normal; -} - -/* comments bubble common */ -.column-response .post-com-count, -.column-comments .post-com-count { - display: inline-block; - vertical-align: top; -} - -/* comments bubble approved */ -.column-response .post-com-count-no-comments, -.column-response .post-com-count-approved, -.column-comments .post-com-count-no-comments, -.column-comments .post-com-count-approved { - margin-top: 5px; -} - -.column-response .comment-count-no-comments, -.column-response .comment-count-approved, -.column-comments .comment-count-no-comments, -.column-comments .comment-count-approved { - box-sizing: border-box; - display: block; - padding: 0 8px; - min-width: 24px; - height: 2em; - border-radius: 5px; - background-color: #646970; - color: #fff; - font-size: 11px; - line-height: 1.90909090; - text-align: center; -} - -.column-response .post-com-count-no-comments:after, -.column-response .post-com-count-approved:after, -.column-comments .post-com-count-no-comments:after, -.column-comments .post-com-count-approved:after { - content: ""; - display: block; - margin-right: 8px; - width: 0; - height: 0; - border-top: 5px solid #646970; - border-left: 5px solid transparent; -} - -.column-response a.post-com-count-approved:hover .comment-count-approved, -.column-response a.post-com-count-approved:focus .comment-count-approved, -.column-comments a.post-com-count-approved:hover .comment-count-approved, -.column-comments a.post-com-count-approved:focus .comment-count-approved { - background: #2271b1; -} - -.column-response a.post-com-count-approved:hover:after, -.column-response a.post-com-count-approved:focus:after, -.column-comments a.post-com-count-approved:hover:after, -.column-comments a.post-com-count-approved:focus:after { - border-top-color: #2271b1; -} - -/* @todo: consider to use a single rule for these counters and the admin menu counters. */ -.column-response .post-com-count-pending, -.column-comments .post-com-count-pending { - position: relative; - right: -3px; - padding: 0 5px; - min-width: 7px; - height: 17px; - border: 2px solid #fff; - border-radius: 11px; - background: #d63638; - color: #fff; - font-size: 9px; - line-height: 1.88888888; - text-align: center; -} - -.column-response .post-com-count-no-pending, -.column-comments .post-com-count-no-pending { - display: none; -} - -/* comments */ - -.commentlist li { - padding: 1em 1em .2em; - margin: 0; - border-bottom: 1px solid #c3c4c7; -} - -.commentlist li li { - border-bottom: 0; - padding: 0; -} - -.commentlist p { - padding: 0; - margin: 0 0 .8em; -} - -#submitted-on, -.submitted-on { - color: #50575e; -} - -/* reply to comments */ -#replyrow td { - padding: 2px; -} - -#replysubmit { - margin: 0; - padding: 5px 7px 10px; - overflow: hidden; -} - -#replysubmit .reply-submit-buttons { - margin-bottom: 0; -} - -#replysubmit .button { - margin-left: 5px; -} - -#replysubmit .spinner { - float: none; - margin: -4px 0 0; -} - -#replyrow.inline-edit-row fieldset.comment-reply { - font-size: inherit; - line-height: inherit; -} - -#replyrow legend { - margin: 0; - padding: .2em 5px 0; - font-size: 13px; - line-height: 1.4; - font-weight: 600; -} - -#replyrow.inline-edit-row label { - display: inline; - vertical-align: baseline; - line-height: inherit; -} - -#edithead .inside, -#commentsdiv #edithead .inside { - float: right; - padding: 3px 5px 2px 0; - margin: 0; - text-align: center; -} - -#edithead .inside input { - width: 180px; -} - -#edithead label { - padding: 2px 0; -} - -#replycontainer { - padding: 5px; -} - -#replycontent { - height: 120px; - box-shadow: none; -} - -#replyerror { - border-color: #dcdcde; - background-color: #f6f7f7; -} - -/* @todo: is this used? */ -.commentlist .avatar { - vertical-align: text-top; -} - -#the-comment-list tr.undo, -#the-comment-list div.undo { - background-color: #f6f7f7; -} - -#the-comment-list .unapproved th, -#the-comment-list .unapproved td { - background-color: #fcf9e8; -} - -#the-comment-list .unapproved th.check-column { - border-right: 4px solid #d63638; -} - -#the-comment-list .unapproved th.check-column input { - margin-right: 4px; -} - -#the-comment-list .approve a { - color: #007017; -} - -#the-comment-list .unapprove a { - color: #996800; -} - -#the-comment-list th, -#the-comment-list td { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -#the-comment-list tr:last-child th, -#the-comment-list tr:last-child td { - box-shadow: none; -} - -#the-comment-list tr.unapproved + tr.approved th, -#the-comment-list tr.unapproved + tr.approved td { - border-top: 1px solid rgba(0, 0, 0, 0.03); -} - -/* table vim shortcuts */ -.vim-current, -.vim-current th, -.vim-current td { - background-color: #f0f6fc !important; -} - -th .comment-grey-bubble { - height: 16px; - width: 16px; -} - -th .comment-grey-bubble:before { - content: "\f101"; - font: normal 20px/.5 dashicons; - speak: never; - display: inline-block; - padding: 0; - top: 4px; - right: -4px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #3c434a; -} - -/*------------------------------------------------------------------------------ - 10.0 - List Posts (/Pages/etc) -------------------------------------------------------------------------------*/ - -table.fixed { - table-layout: fixed; -} - -.fixed .column-rating, -.fixed .column-visible { - width: 8%; -} - -.fixed .column-posts, -.fixed .column-parent, -.fixed .column-links, -.fixed .column-author, -.fixed .column-format { - width: 10%; -} - -.fixed .column-date { - width: 14%; -} - -.column-date span[title] { - -webkit-text-decoration: dotted underline; - text-decoration: dotted underline; -} - -.fixed .column-posts { - width: 74px; -} - -.fixed .column-role, -.fixed .column-posts { - -webkit-hyphens: auto; - hyphens: auto; -} - -.fixed .column-comment .comment-author { - display: none; -} - -.fixed .column-response, -.fixed .column-categories, -.fixed .column-tags, -.fixed .column-rel, -.fixed .column-role { - width: 15%; -} - -.fixed .column-slug { - width: 25%; -} - -.fixed .column-locations { - width: 35%; -} - -.fixed .column-comments { - width: 5.5em; - padding: 8px 0; - text-align: right; -} - -.fixed .column-comments .vers { - padding-right: 3px; -} - -td.column-title strong, -td.plugin-title strong { - display: block; - margin-bottom: .2em; - font-size: 14px; -} - -td.column-title p, -td.plugin-title p { - margin: 6px 0; -} - -/* Media file column */ -table.media .column-title .media-icon { - float: right; - min-height: 60px; - margin: 0 0 0 9px; -} - -table.media .column-title .media-icon img { - max-width: 60px; - height: auto; - vertical-align: top; /* Remove descender white-space. */ -} - -table.media .column-title .has-media-icon ~ .row-actions { - margin-right: 70px; /* 60px image + margin */ -} - -table.media .column-title .filename { - margin-bottom: 0.2em; -} - -/* Media Copy to clipboard row action */ -.media .row-actions .copy-to-clipboard-container { - display: inline; - position: relative; -} - -.media .row-actions .copy-to-clipboard-container .success { - position: absolute; - right: 50%; - transform: translate(50%, -100%); - background: #000; - color: #fff; - border-radius: 5px; - margin: 0; - padding: 2px 5px; -} - -/* @todo: pick a consistent list table selector */ -.wp-list-table a { - transition: none; -} - -#the-list tr:last-child td, -#the-list tr:last-child th { - border-bottom: none !important; - box-shadow: none; -} - -#comments-form .fixed .column-author { - width: 20%; -} - -#commentsdiv.postbox .inside { - margin: 0; - padding: 0; -} - -#commentsdiv .inside .row-actions { - line-height: 1.38461538; -} - -#commentsdiv .inside .column-author { - width: 25%; -} - -#commentsdiv .column-comment p { - margin: 0.6em 0; - padding: 0; -} - -#commentsdiv #replyrow td { - padding: 0; -} - -#commentsdiv p { - padding: 8px 10px; - margin: 0; -} - -#commentsdiv .comments-box { - border: 0 none; -} - -#commentsdiv .comments-box thead th, -#commentsdiv .comments-box thead td { - background: transparent; - padding: 0 7px 4px; -} - -#commentsdiv .comments-box tr:last-child td { - border-bottom: 0 none; -} - -#commentsdiv #edithead .inside input { - width: 160px; -} - -.sorting-indicator { - display: block; - visibility: hidden; - width: 10px; - height: 4px; - margin-top: 8px; - margin-right: 7px; -} - -.sorting-indicator:before { - content: "\f142"; - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - padding: 0; - top: -4px; - right: -8px; - color: #3c434a; - line-height: 0.5; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #3c434a; -} - -.column-comments .sorting-indicator:before { - top: 0; - right: -10px; -} - -th.sorted.asc .sorting-indicator:before, -th.desc:hover span.sorting-indicator:before, -th.desc a:focus span.sorting-indicator:before { - content: "\f142"; -} - -th.sorted.desc .sorting-indicator:before, -th.asc:hover span.sorting-indicator:before, -th.asc a:focus span.sorting-indicator:before { - content: "\f140"; -} - -.wp-list-table .toggle-row { - position: absolute; - left: 8px; - top: 10px; - display: none; - padding: 0; - width: 40px; - height: 40px; - border: none; - outline: none; - background: transparent; -} - -.wp-list-table .toggle-row:hover { - cursor: pointer; -} - -.wp-list-table .toggle-row:focus:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.wp-list-table .toggle-row:active { - box-shadow: none; -} - -.wp-list-table .toggle-row:before { - position: absolute; - top: -5px; - right: 10px; - border-radius: 50%; - display: block; - padding: 1px 0 1px 2px; - color: #3c434a; /* same as table headers sort arrows */ - content: "\f140"; - font: normal 20px/1 dashicons; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - speak: never; -} - -.wp-list-table .is-expanded .toggle-row:before { - content: "\f142"; -} - -.locked-indicator { - display: none; - margin-right: 6px; - height: 20px; - width: 16px; -} - -.locked-indicator-icon:before { - color: #8c8f94; - content: "\f160"; - display: inline-block; - font: normal 20px/1 dashicons; - speak: never; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.locked-info { - display: none; - margin-top: 4px; -} - -.locked-text { - vertical-align: top; -} - -.wp-locked .locked-indicator, -.wp-locked .locked-info { - display: block; -} - -tr.wp-locked .check-column label, -tr.wp-locked .check-column input[type="checkbox"], -tr.wp-locked .row-actions .inline, -tr.wp-locked .row-actions .trash { - display: none; -} - -.fixed .column-comments .sorting-indicator { - margin-top: 3px; -} - -#menu-locations-wrap .widefat { - width: 60%; -} - -.widefat th.sortable, -.widefat th.sorted { - padding: 0; -} - -th.sortable a, -th.sorted a { - display: block; - overflow: hidden; - padding: 8px; -} - -.fixed .column-comments.sortable a, -.fixed .column-comments.sorted a { - padding: 8px 0; -} - -th.sortable a span, -th.sorted a span { - float: right; - cursor: pointer; -} - -th.sorted .sorting-indicator, -th.desc:hover span.sorting-indicator, -th.desc a:focus span.sorting-indicator, -th.asc:hover span.sorting-indicator, -th.asc a:focus span.sorting-indicator { - visibility: visible; -} - -.tablenav-pages .current-page { - margin: 0 0 0 2px; - font-size: 13px; - text-align: center; -} - -.tablenav .total-pages { - margin-left: 2px; -} - -.tablenav #table-paging { - margin-right: 2px; -} - -.tablenav { - clear: both; - height: 30px; - margin: 6px 0 4px; - padding-top: 5px; - vertical-align: middle; -} - -.tablenav.themes { - max-width: 98%; -} - -.tablenav .tablenav-pages { - float: left; - margin: 0 0 9px; -} - -.tablenav .no-pages, -.tablenav .one-page .pagination-links { - display: none; -} - -.tablenav .tablenav-pages .button, -.tablenav .tablenav-pages .tablenav-pages-navspan { - display: inline-block; - vertical-align: baseline; - min-width: 30px; - min-height: 30px; - margin: 0; - padding: 0 4px; - font-size: 16px; - line-height: 1.625; /* 26px */ - text-align: center; -} - -.tablenav .displaying-num { - margin-left: 7px; -} - -.tablenav .one-page .displaying-num { - display: inline-block; - margin: 5px 0; -} - -.tablenav .actions { - padding: 0 0 0 8px; -} - -.wp-filter .actions { - display: inline-block; - vertical-align: middle; -} - -.tablenav .delete { - margin-left: 20px; -} - -/* This view-switcher is still used on multisite. */ -.tablenav .view-switch { - float: left; - margin: 0 5px; - padding-top: 3px; -} - -.wp-filter .view-switch { - display: inline-block; - vertical-align: middle; - padding: 12px 0; - margin: 0 2px 0 8px; -} - -.media-toolbar.wp-filter .view-switch { - margin: 0 2px 0 12px; -} - -.view-switch a { - float: right; - width: 28px; - height: 28px; - text-align: center; - line-height: 1.84615384; - text-decoration: none; -} - -.view-switch a:before { - color: #c3c4c7; - display: inline-block; - font: normal 20px/1 dashicons; - speak: never; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.view-switch a:hover:before, -.view-switch a:focus:before { - color: #787c82; -} - -.view-switch a.current:before { - color: #2271b1; -} - -.view-switch .view-list:before { - content: "\f163"; -} - -.view-switch .view-excerpt:before { - content: "\f164"; -} - -.view-switch .view-grid:before { - content: "\f509"; -} - -.filter { - float: right; - margin: -5px 10px 0 0; -} - -.filter .subsubsub { - margin-right: -10px; - margin-top: 13px; -} -.screen-per-page { - width: 4em; -} - -#posts-filter .wp-filter { - margin-bottom: 0; -} - -#posts-filter fieldset { - float: right; - margin: 0 0 1em 1.5ex; - padding: 0; -} - -#posts-filter fieldset legend { - padding: 0 1px .2em 0; -} - -p.pagenav { - margin: 0; - display: inline; -} - -.pagenav span { - font-weight: 600; - margin: 0 6px; -} - -.row-title { - font-size: 14px !important; - font-weight: 600; -} - -.column-comment .comment-author { - margin-bottom: 0.6em; -} - -.column-author img, -.column-username img, -.column-comment .comment-author img { - float: right; - margin-left: 10px; - margin-top: 1px; -} - -.row-actions { - color: #a7aaad; - font-size: 13px; - padding: 2px 0 0; - position: relative; - right: -9999em; -} - -/* ticket #34150 */ -.rtl .row-actions a { - display: inline-block; -} - -.row-actions .network_only, -.row-actions .network_active { - color: #000; -} - -.no-js .row-actions, -tr:hover .row-actions, -.mobile .row-actions, -.row-actions.visible, -.comment-item:hover .row-actions { - position: static; -} - -/* deprecated */ -.row-actions-visible { - padding: 2px 0 0; -} - - -/*------------------------------------------------------------------------------ - 10.1 - Inline Editing -------------------------------------------------------------------------------*/ - -/* -.quick-edit* is for Quick Edit -.bulk-edit* is for Bulk Edit -.inline-edit* is for everything -*/ - -/* Layout */ - -#wpbody-content .inline-edit-row fieldset { - float: right; - margin: 0; - padding: 0 0 0 12px; - width: 100%; - box-sizing: border-box; -} - -#wpbody-content .inline-edit-row td fieldset:last-of-type { - padding-left: 0; -} - -tr.inline-edit-row td { - padding: 0; - /* Prevents the focus style on .inline-edit-wrapper from being cutted-off */ - position: relative; -} - -.inline-edit-wrapper { - display: flow-root; - padding: 0 12px; - border: 1px solid transparent; - border-radius: 4px; -} - -.inline-edit-wrapper:focus { - border-color: #2271b1; - box-shadow: 0 0 0 1px #2271b1; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 40%; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-right { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 20%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 50%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-right, -#wpbody-content .bulk-edit-row-post .inline-edit-col-right { - width: 50%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 30%; -} - -#wpbody-content .bulk-edit-row-page .inline-edit-col-right { - width: 69%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: left; - width: 69%; -} - -#wpbody-content .inline-edit-row-page .inline-edit-col-right { - margin-top: 27px; -} - -.inline-edit-row fieldset .inline-edit-group { - clear: both; - line-height: 2.5; -} - -.inline-edit-row .submit { - display: flex; - flex-wrap: wrap; - align-items: center; - clear: both; - margin: 0; - padding: 0.5em 0 1em; -} - -.inline-edit-save.submit .button { - margin-left: 8px; -} - -.inline-edit-save .spinner { - float: none; - margin: 0; -} - -.inline-edit-row .notice-error { - box-sizing: border-box; - min-width: 100%; - margin-top: 1em; -} - -.inline-edit-row .notice-error .error { - margin: 0.5em 0; - padding: 2px; -} - -/* Positioning */ - -/* Needs higher specificity for the padding */ -#the-list .inline-edit-row .inline-edit-legend { - margin: 0; - padding: 0.2em 0; - line-height: 2.5; - font-weight: 600; -} - -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { - margin: 0; - padding: 0; -} - -.inline-edit-row fieldset label, -.inline-edit-row fieldset span.inline-edit-categories-label { - display: block; - margin: .2em 0; - line-height: 2.5; -} - -.inline-edit-row fieldset.inline-edit-date label { - display: inline-block; - margin: 0; - vertical-align: baseline; - line-height: 2; -} - -.inline-edit-row fieldset label.inline-edit-tags { - margin-top: 0; -} - -.inline-edit-row fieldset label.inline-edit-tags span.title { - margin: .2em 0; - width: auto; -} - -.inline-edit-row fieldset label span.title, -.inline-edit-row fieldset.inline-edit-date legend { - display: block; - float: right; - width: 6em; - line-height: 2.5; -} - -#posts-filter fieldset.inline-edit-date legend { - padding: 0; -} - -.inline-edit-row fieldset label span.input-text-wrap, -.inline-edit-row fieldset .timestamp-wrap { - display: block; - margin-right: 6em; -} - -.quick-edit-row-post fieldset.inline-edit-col-right label span.title { - width: auto; - padding-left: 0.5em; -} - -.inline-edit-row .inline-edit-or { - margin: .2em 0 .2em 6px; - line-height: 2.5; -} - -.inline-edit-row .input-text-wrap input[type=text] { - width: 100%; -} - -.inline-edit-row fieldset label input[type=checkbox] { - vertical-align: middle; -} - -.inline-edit-row fieldset label textarea { - width: 100%; - height: 4em; - vertical-align: top; -} - -#wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: 50%; -} - -#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child { - margin-left: 0.5em -} - -.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input { - width: 6em; -} - -/* Styling */ -.inline-edit-row .inline-edit-legend { - text-transform: uppercase; -} - -/* Specific Elements */ -.inline-edit-row fieldset .inline-edit-date { - float: right; -} - -.inline-edit-row fieldset input[name=jj], -.inline-edit-row fieldset input[name=hh], -.inline-edit-row fieldset input[name=mn], -.inline-edit-row fieldset input[name=aa] { - vertical-align: middle; - text-align: center; - padding: 0 4px; -} - -.inline-edit-row fieldset label input.inline-edit-password-input { - width: 8em; -} - -#bulk-titles-list, -#bulk-titles-list li, -.inline-edit-row fieldset ul.cat-checklist li, -.inline-edit-row fieldset ul.cat-checklist input { - margin: 0; - position: relative; /* RTL fix, #WP27629 */ -} - -.inline-edit-row fieldset ul.cat-checklist input { - margin-top: -1px; - margin-right: 3px; -} - -.inline-edit-row fieldset label input.inline-edit-menu-order-input { - width: 3em; -} - -.inline-edit-row fieldset label input.inline-edit-slug-input { - width: 75%; -} - -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - max-width: 80%; -} - -.quick-edit-row-post fieldset label.inline-edit-status { - float: right; -} - -#bulk-titles, -ul.cat-checklist { - height: 14em; - border: 1px solid #ddd; - margin: 0 0 5px; - padding: 0.2em 5px; - overflow-y: scroll; -} - -#bulk-titles .ntdelbutton, -#bulk-titles .ntdeltitle, -.inline-edit-row fieldset ul.cat-checklist label { - display: inline-block; - margin: 0; - padding: 3px 0; - line-height: 20px; - vertical-align: top; -} - -#bulk-titles .ntdelitem { - padding-right: 23px; -} - -#bulk-titles .ntdelbutton { - width: 26px; - height: 26px; - margin: 0 -26px 0 0; - text-align: center; - border-radius: 3px; -} - -#bulk-titles .ntdelbutton:before { - display: inline-block; - vertical-align: top; -} - -#bulk-titles .ntdelbutton:focus { - box-shadow: 0 0 0 2px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - /* Reset inherited offset from Gutenberg */ - outline-offset: 0; -} - -/*------------------------------------------------------------------------------ - 17.0 - Plugins -------------------------------------------------------------------------------*/ - -.plugins tbody th.check-column, -.plugins tbody { - padding: 8px 2px 0 0; -} - -.plugins tbody th.check-column input[type=checkbox] { - margin-top: 4px; -} - -.updates-table .plugin-title p { - margin-top: 0; -} - -.plugins thead td.check-column, -.plugins tfoot td.check-column, -.plugins .inactive th.check-column { - padding-right: 6px; -} - -.plugins, -.plugins th, -.plugins td { - color: #000; -} - -.plugins tr { - background: #fff; -} - -.plugins p { - margin: 0 4px; - padding: 0; -} - -.plugins .desc p { - margin: 0 0 8px; -} - -.plugins td.desc { - line-height: 1.5; -} - -.plugins .desc ul, -.plugins .desc ol { - margin: 0 2em 0 0; -} - -.plugins .desc ul { - list-style-type: disc; -} - -.plugins .row-actions { - font-size: 13px; - padding: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th { - padding: 10px 9px; -} - -.plugins .active td, -.plugins .active th { - background-color: #f0f6fc; -} - -.plugins .update th, -.plugins .update td { - border-bottom: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th, -.plugin-install #the-list td, -.upgrade .plugins td, -.upgrade .plugins th { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.plugins tr.active.plugin-update-tr + tr.inactive th, -.plugins tr.active.plugin-update-tr + tr.inactive td, -.plugins tr.active + tr.inactive th, -.plugins tr.active + tr.inactive td { - border-top: 1px solid rgba(0, 0, 0, 0.03); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02), inset 0 -1px 0 #dcdcde; -} - -.plugins .update td, -.plugins .update th, -.upgrade .plugins tr:last-of-type td, -.upgrade .plugins tr:last-of-type th, -.plugins tr.active + tr.inactive.update th, -.plugins tr.active + tr.inactive.update td, -.plugins .updated td, -.plugins .updated th, -.plugins tr.active + tr.inactive.updated th, -.plugins tr.active + tr.inactive.updated td { - box-shadow: none; -} - -.plugins .active th.check-column, -.plugin-update-tr.active td { - border-right: 4px solid #72aee6; -} - -.wp-list-table.plugins .plugin-title, -.wp-list-table.plugins .theme-title { - padding-left: 12px; - white-space: nowrap; -} - -.plugins .plugin-title img, -.plugins .plugin-title .dashicons { - float: right; - padding: 0 0 0 10px; - width: 64px; - height: 64px; -} - -.plugins .plugin-title .dashicons:before { - padding: 2px; - background-color: #f0f0f1; - box-shadow: inset 0 0 10px rgba(167, 170, 173, 0.15); - font-size: 60px; - color: #c3c4c7; -} - -#update-themes-table .plugin-title img, -#update-themes-table .plugin-title .dashicons { - width: 85px; -} - -.plugins .column-auto-updates { - width: 14.2em; -} - -.plugins .inactive .plugin-title strong { - font-weight: 400; -} - -.plugins .second, -.plugins .row-actions { - padding: 0 0 5px; -} - -.plugins .row-actions { - white-space: normal; - min-width: 12em; -} - -.plugins .update .second, -.plugins .update .row-actions, -.plugins .updated .second, -.plugins .updated .row-actions { - padding-bottom: 0; -} - -.plugins-php .widefat tfoot th, -.plugins-php .widefat tfoot td { - border-top-style: solid; - border-top-width: 1px; -} - -.plugins .plugin-update-tr .plugin-update { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - overflow: hidden; /* clearfix */ - padding: 0; -} - -.plugins .plugin-update-tr .notice, -.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */ - margin: 5px 40px 15px 20px; -} - -.plugins .notice p { - margin: 0.5em 0; -} - -.plugins .plugin-description a, -.plugins .plugin-update a, -.updates-table .plugin-title a { - text-decoration: underline; -} - -.plugins tr.paused th.check-column { - border-right: 4px solid #b32d2e; -} - -.plugins tr.paused th, -.plugins tr.paused td { - background-color: #f6f7f7; -} - -.plugins tr.paused .plugin-title, -.plugins .paused .dashicons-warning { - color: #b32d2e; -} - -.plugins .paused .error-display p, -.plugins .paused .error-display code { - font-size: 90%; - color: rgba(0, 0, 0, 0.7); -} - -.plugins .resume-link { - color: #b32d2e; -} - -.plugin-card .update-now:before { - color: #d63638; - content: "\f463"; - display: inline-block; - font: normal 20px/1 dashicons; - margin: -3px -2px 0 5px; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: middle; -} - -.plugin-card .updating-message:before { - content: "\f463"; - animation: rotation 2s infinite linear; -} - -@keyframes rotation { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(-359deg); - } -} - -.plugin-card .updated-message:before { - color: #68de7c; - content: "\f147"; -} - -.plugin-install-php #the-list { - display: flex; - flex-wrap: wrap; -} - -.plugin-install-php .plugin-card { - display: flex; - flex-direction: column; - justify-content: space-between; -} - -.plugin-install-php h2 { - clear: both; -} - -.plugin-install-php h3 { - margin: 2.5em 0 8px; -} - -.plugin-install-php .wp-filter { - margin-bottom: 0; -} - -/* Plugin card table view */ -.plugin-group { - overflow: hidden; /* clearfix */ - margin-top: 1.5em; -} - -.plugin-group h3 { - margin-top: 0; -} - -.plugin-card { - float: right; - margin: 0 8px 16px; - width: 48.5%; - width: calc( 50% - 8px ); - background-color: #fff; - border: 1px solid #dcdcde; - box-sizing: border-box; -} - -.plugin-card:nth-child(odd) { - clear: both; - margin-right: 0; -} - -.plugin-card:nth-child(even) { - margin-left: 0; -} - -@media screen and (min-width: 1600px) and ( max-width: 2299px ) { - .plugin-card { - width: 30%; - width: calc( 33.1% - 8px ); - } - - .plugin-card:nth-child(odd) { - clear: none; - margin-right: 8px; - } - - .plugin-card:nth-child(even) { - margin-left: 8px; - } - - .plugin-card:nth-child(3n+1) { - clear: both; - margin-right: 0; - } - - .plugin-card:nth-child(3n) { - margin-left: 0; - } -} - -@media screen and (min-width: 2300px) { - .plugin-card { - width: 25%; - width: calc( 25% - 12px ); - } - - .plugin-card:nth-child(odd) { - clear: none; - margin-right: 8px; - } - - .plugin-card:nth-child(even) { - margin-left: 8px; - } - - .plugin-card:nth-child(4n+1) { - clear: both; - margin-right: 0; - } - - .plugin-card:nth-child(4n) { - margin-left: 0; - } -} - -.plugin-card-top { - position: relative; - padding: 20px 20px 10px; - min-height: 135px; -} - -div.action-links, -.plugin-action-buttons { - margin: 0; /* Override existing margins */ -} - -.plugin-card h3 { - margin: 0 0 12px 12px; - font-size: 18px; - line-height: 1.3; -} - -.plugin-card .name, -.plugin-card .desc { - margin-right: 148px; /* icon + margin */ - margin-left: 128px; /* action links + margin */ -} - -.plugin-card .action-links { - position: absolute; - top: 20px; - left: 20px; - width: 120px; -} - -.plugin-action-buttons { - clear: left; - float: left; - margin-bottom: 1em; - text-align: left; -} - -.plugin-action-buttons li { - margin-bottom: 10px; -} - -.plugin-card-bottom { - clear: both; - padding: 12px 20px; - background-color: #f6f7f7; - border-top: 1px solid #dcdcde; - overflow: hidden; -} - -.plugin-card-bottom .star-rating { - display: inline; -} - -.plugin-card-update-failed .update-now { - font-weight: 600; -} - -.plugin-card-update-failed .notice-error { - margin: 0; - padding-right: 16px; - box-shadow: 0 -1px 0 #dcdcde; -} - -.plugin-card-update-failed .plugin-card-bottom { - display: none; -} - -.plugin-card .column-rating { - line-height: 1.76923076; -} - -.plugin-card .column-rating, -.plugin-card .column-updated { - margin-bottom: 4px; -} - -.plugin-card .column-rating, -.plugin-card .column-downloaded { - float: right; - clear: right; - max-width: 180px; -} - -.plugin-card .column-updated, -.plugin-card .column-compatibility { - text-align: left; - float: left; - clear: left; - width: 65%; - width: calc( 100% - 180px ); -} - -.plugin-card .column-compatibility span:before { - font: normal 20px/.5 dashicons; - speak: never; - display: inline-block; - padding: 0; - top: 4px; - right: -2px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #3c434a; -} - -.plugin-card .column-compatibility .compatibility-incompatible:before { - content: "\f158"; - color: #d63638; -} - -.plugin-card .column-compatibility .compatibility-compatible:before { - content: "\f147"; - color: #007017; -} - -.plugin-card .notice { - margin: 20px 20px 0; -} - -.plugin-icon { - position: absolute; - top: 20px; - right: 20px; - width: 128px; - height: 128px; - margin: 0 0 20px 20px; -} - -.no-plugin-results { - color: #646970; /* same as no themes and no media */ - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - width: 100%; - text-align: center; -} - -/* ms */ -/* Background Color for Site Status */ -.wp-list-table .site-deleted, -.wp-list-table tr.site-deleted, -.wp-list-table .site-archived, -.wp-list-table tr.site-archived { - background: #fcf0f1; -} -.wp-list-table .site-spammed, -.wp-list-table tr.site-spammed, -.wp-list-table .site-mature, -.wp-list-table tr.site-mature { - background: #fcf9e8; -} - -.sites.fixed .column-lastupdated, -.sites.fixed .column-registered { - width: 20%; -} - -.sites.fixed .column-users { - width: 80px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) { - .plugin-card .action-links { - position: static; - margin-right: 148px; - width: auto; - } - - .plugin-action-buttons { - float: none; - margin: 1em 0 0; - text-align: right; - } - - .plugin-action-buttons li { - display: inline-block; - vertical-align: middle; - } - - .plugin-action-buttons li .button { - margin-left: 20px; - } - - .plugin-card h3 { - margin-left: 24px; - } - - .plugin-card .name, - .plugin-card .desc { - margin-left: 0; - } - - .plugin-card .desc p:first-of-type { - margin-top: 0; - } -} - -@media screen and (max-width: 782px) { - /* WP List Table Options & Filters */ - .tablenav { - height: auto; - } - - .tablenav.top { - margin: 20px 0 5px; - } - - .tablenav.bottom { - position: relative; - margin-top: 15px; - } - - .tablenav br { - display: none; - } - - .tablenav br.clear { - display: block; - } - - .tablenav.top .actions, - .tablenav .view-switch { - display: none; - } - - .view-switch a { - width: 36px; - height: 36px; - line-height: 2.53846153; - } - - /* Pagination */ - .tablenav.top .displaying-num { - display: none; - } - - .tablenav.bottom .displaying-num { - position: absolute; - left: 0; - top: 11px; - margin: 0; - font-size: 14px; - } - - .tablenav .tablenav-pages { - width: 100%; - text-align: center; - margin: 0 0 25px; - } - - .tablenav.bottom .tablenav-pages { - margin-top: 25px; - } - - .tablenav.top .tablenav-pages.one-page { - display: none; - } - - .tablenav.bottom .actions select { - margin-bottom: 5px; - } - - .tablenav.bottom .actions.alignleft + .actions.alignleft { - clear: right; - margin-top: 10px; - } - - .tablenav.bottom .tablenav-pages.one-page { - margin-top: 15px; - height: 0; - } - - .tablenav-pages .pagination-links { - font-size: 16px; - } - - .tablenav .tablenav-pages .button, - .tablenav .tablenav-pages .tablenav-pages-navspan { - min-width: 44px; - padding: 12px 8px; - font-size: 18px; - line-height: 1; - } - - .tablenav-pages .pagination-links .current-page { - min-width: 44px; - padding: 12px 6px; - font-size: 16px; - line-height: 1.125; - } - - /* WP List Table Adjustments: General */ - .form-wrap > p { - display: none; - } - - .wp-list-table th.column-primary ~ th, - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { - display: none; - } - - .wp-list-table thead th.column-primary { - width: 100%; - } - - /* Checkboxes need to show */ - .wp-list-table tr th.check-column { - display: table-cell; - } - - .wp-list-table .check-column { - width: 2.5em; - } - - .wp-list-table .column-primary .toggle-row { - display: block; - } - - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { - position: relative; - clear: both; - width: auto !important; /* needs to override some columns that are more specifically targeted */ - } - - .wp-list-table td.column-primary { - padding-left: 50px; /* space for toggle button */ - } - - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { - padding: 3px 35% 3px 8px; - } - - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before { - position: absolute; - right: 10px; /* match padding of regular table cell */ - display: block; - overflow: hidden; - width: 32%; /* leave a little space for a gutter */ - content: attr(data-colname); - white-space: nowrap; - text-overflow: ellipsis; - } - - .wp-list-table .is-expanded td:not(.hidden) { - display: block !important; - overflow: hidden; /* clearfix */ - } - - /* Special cases */ - .widefat .num, - .column-posts { - text-align: right; - } - - #comments-form .fixed .column-author, - #commentsdiv .fixed .column-author { - display: none !important; - } - - .fixed .column-comment .comment-author { - display: block; - } - - /* Comment author hidden via Screen Options */ - .fixed .column-author.hidden ~ .column-comment .comment-author { - display: none; - } - - #the-comment-list .is-expanded td { - box-shadow: none; - } - - #the-comment-list .is-expanded td:last-child { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - /* Show comment bubble as text instead */ - .post-com-count .screen-reader-text { - position: static; - -webkit-clip-path: none; - clip-path: none; - width: auto; - height: auto; - margin: 0; - } - - .column-response .post-com-count-no-comments:after, - .column-response .post-com-count-approved:after, - .column-comments .post-com-count-no-comments:after, - .column-comments .post-com-count-approved:after { - content: none; - } - - .column-response .post-com-count [aria-hidden="true"], - .column-comments .post-com-count [aria-hidden="true"] { - display: none; - } - - .column-response .post-com-count-wrapper, - .column-comments .post-com-count-wrapper { - white-space: normal; - } - - .column-response .post-com-count-wrapper > a, - .column-comments .post-com-count-wrapper > a { - display: block; - } - - .column-response .post-com-count-no-comments, - .column-response .post-com-count-approved, - .column-comments .post-com-count-no-comments, - .column-comments .post-com-count-approved { - margin-top: 0; - margin-left: 0.5em; - } - - .column-response .post-com-count-pending, - .column-comments .post-com-count-pending { - position: static; - height: auto; - min-width: 0; - padding: 0; - border: none; - border-radius: 0; - background: none; - color: #b32d2e; - font-size: inherit; - line-height: inherit; - text-align: right; - } - - .column-response .post-com-count-pending:hover, - .column-comments .post-com-count-pending:hover { - color: #d63638; - } - - .widefat thead td.check-column, - .widefat tfoot td.check-column { - padding-top: 10px; - } - - .row-actions { - margin-right: -8px; - margin-left: -8px; - padding-top: 4px; - } - - /* Make row actions more easy to select on mobile */ - body:not(.plugins-php) .row-actions { - display: flex; - flex-wrap: wrap; - gap: 8px; - color: transparent; - } - - .row-actions span a, - .row-actions span .button-link { - display: inline-block; - padding: 4px 8px; - line-height: 1.5; - } - - .row-actions span.approve:before, - .row-actions span.unapprove:before { - content: "| "; - } - - /* Quick Edit and Bulk Edit */ - #wpbody-content .quick-edit-row-post .inline-edit-col-left, - #wpbody-content .quick-edit-row-post .inline-edit-col-right, - #wpbody-content .inline-edit-row-post .inline-edit-col-center, - #wpbody-content .quick-edit-row-page .inline-edit-col-left, - #wpbody-content .quick-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row-post .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-left, - #wpbody-content .bulk-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: none; - width: 100%; - padding: 0; - } - - #the-list .inline-edit-row .inline-edit-legend, - .inline-edit-row span.title { - font-size: 16px; - } - - .inline-edit-row p.howto { - font-size: 14px; - } - - #wpbody-content .inline-edit-row-page .inline-edit-col-right { - margin-top: 0; - } - - #wpbody-content .quick-edit-row fieldset .inline-edit-col label, - #wpbody-content .quick-edit-row fieldset .inline-edit-group label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-col label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: none; - float: none; - margin-bottom: 5px; - } - - #wpbody .bulk-edit-row fieldset select { - display: block; - width: 100%; - max-width: none; - box-sizing: border-box; - } - - .inline-edit-row fieldset input[name=jj], - .inline-edit-row fieldset input[name=hh], - .inline-edit-row fieldset input[name=mn], - .inline-edit-row fieldset input[name=aa] { - font-size: 16px; - line-height: 2; - padding: 3px 4px; - } - - #bulk-titles .ntdelbutton, - #bulk-titles .ntdeltitle, - .inline-edit-row fieldset ul.cat-checklist label { - padding: 6px 0; - font-size: 16px; - line-height: 28px; - } - - #bulk-titles .ntdelitem { - padding-right: 37px; - } - - #bulk-titles .ntdelbutton { - width: 40px; - height: 40px; - margin: 0 -40px 0 0; - overflow: hidden; - } - - #bulk-titles .ntdelbutton:before { - font-size: 20px; - line-height: 28px; - } - - .inline-edit-row fieldset label span.title, - .inline-edit-row fieldset.inline-edit-date legend { - float: none; - } - - .inline-edit-row fieldset .inline-edit-col label.inline-edit-tags { - padding: 0; - } - - .inline-edit-row fieldset label span.input-text-wrap, - .inline-edit-row fieldset .timestamp-wrap { - margin-right: 0; - } - - .inline-edit-row .inline-edit-or { - margin: 0 0 0 6px; - } - - #edithead .inside, - #commentsdiv #edithead .inside { - float: none; - text-align: right; - padding: 3px 5px; - } - - #commentsdiv #edithead .inside input, - #edithead .inside input { - width: 100%; - } - - #edithead label { - display: block; - } - - /* Updates */ - #wpbody-content .updates-table .plugin-title { - width: auto; - white-space: normal; - } - - /* Links */ - .link-manager-php #posts-filter { - margin-top: 25px; - } - - .link-manager-php .tablenav.bottom { - overflow: hidden; - } - - /* List tables that don't toggle rows */ - .comments-box .toggle-row, - .wp-list-table.plugins .toggle-row { - display: none; - } - - /* Plugin/Theme Management */ - #wpbody-content .wp-list-table.plugins td { - display: block; - width: auto; - padding: 10px 9px; /* reset from other list tables that have a label at this width */ - } - - /* Plugin description hidden via Screen Options */ - #wpbody-content .wp-list-table.plugins .desc.hidden { - display: none; - } - - #wpbody-content .wp-list-table.plugins .column-description { - padding-top: 2px; - } - - #wpbody-content .wp-list-table.plugins .plugin-title, - #wpbody-content .wp-list-table.plugins .theme-title { - padding-left: 12px; - white-space: normal; - } - - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-top: 13px; - padding-bottom: 4px; - } - - .plugins #the-list tr > td:not(:last-child), - .plugins #the-list .update th, - .plugins #the-list .update td, - .wp-list-table.plugins #the-list .theme-title { - box-shadow: none; - border-top: none; - } - - .plugins #the-list tr td { - border-top: none; - } - - .plugins tbody { - padding: 1px 0 0; - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td.column-description, - .plugins .plugin-update-tr:before { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td { - border-top: none; - } - - /* mimic the checkbox th */ - .plugins .plugin-update-tr:before { - content: ""; - display: table-cell; - } - - .plugins #the-list .plugin-update-tr .plugin-update { - border-right: none; - } - - .plugin-update-tr .update-message { - margin-right: 0; - } - - .plugins .active.update + .plugin-update-tr:before, - .plugins .active.updated + .plugin-update-tr:before { - background-color: #f0f6fc; - border-right: 4px solid #72aee6; - } - - .plugins .plugin-update-tr .update-message { - margin-right: 0; - } - - .wp-list-table.plugins .plugin-title strong, - .wp-list-table.plugins .theme-title strong { - font-size: 1.4em; - line-height: 1.5; - } - - .plugins tbody th.check-column { - padding: 8px 5px 0 0; - } - - .plugins thead td.check-column, - .plugins tfoot td.check-column, - .plugins .inactive th.check-column { - padding-right: 9px; - } - - /* Add New plugins page */ - table.plugin-install .column-name, - table.plugin-install .column-version, - table.plugin-install .column-rating, - table.plugin-install .column-description { - display: block; - width: auto; - } - - table.plugin-install th.column-name, - table.plugin-install th.column-version, - table.plugin-install th.column-rating, - table.plugin-install th.column-description { - display: none; - } - - table.plugin-install td.column-name strong { - font-size: 1.4em; - line-height: 1.6em; - } - - table.plugin-install #the-list td { - box-shadow: none; - } - - table.plugin-install #the-list tr { - display: block; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - .plugin-card { - margin-right: 0; - margin-left: 0; - width: 100%; - } - - table.media .column-title .has-media-icon ~ .row-actions { - margin-right: 0; - clear: both; - } -} - -@media screen and (max-width: 480px) { - .tablenav-pages .current-page { - margin: 0; - } - - .tablenav.bottom .displaying-num { - position: relative; - top: 0; - display: block; - text-align: left; - padding-bottom: 0.5em; - } - - .tablenav.bottom .tablenav-pages.one-page { - height: auto; - } - - .tablenav-pages .tablenav-paging-text { - float: right; - width: 100%; - padding-top: 0.5em; - } -} diff --git a/build/wp-admin/css/list-tables-rtl.min.css b/build/wp-admin/css/list-tables-rtl.min.css deleted file mode 100644 index 709ecc8f9f..0000000000 --- a/build/wp-admin/css/list-tables-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.response-links{display:block;margin-bottom:1em}.response-links a{display:block}.response-links a.comments-edit-item-link{font-weight:600}.response-links a.comments-view-item-link{font-size:12px}.post-com-count-wrapper strong{font-weight:400}.comments-view-item-link{display:inline-block;clear:both}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:nowrap;word-wrap:normal}.column-comments .post-com-count,.column-response .post-com-count{display:inline-block;vertical-align:top}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:5px}.column-comments .comment-count-approved,.column-comments .comment-count-no-comments,.column-response .comment-count-approved,.column-response .comment-count-no-comments{box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;border-radius:5px;background-color:#646970;color:#fff;font-size:11px;line-height:1.90909090;text-align:center}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:"";display:block;margin-right:8px;width:0;height:0;border-top:5px solid #646970;border-left:5px solid transparent}.column-comments a.post-com-count-approved:focus .comment-count-approved,.column-comments a.post-com-count-approved:hover .comment-count-approved,.column-response a.post-com-count-approved:focus .comment-count-approved,.column-response a.post-com-count-approved:hover .comment-count-approved{background:#2271b1}.column-comments a.post-com-count-approved:focus:after,.column-comments a.post-com-count-approved:hover:after,.column-response a.post-com-count-approved:focus:after,.column-response a.post-com-count-approved:hover:after{border-top-color:#2271b1}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:relative;right:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;border-radius:11px;background:#d63638;color:#fff;font-size:9px;line-height:1.88888888;text-align:center}.column-comments .post-com-count-no-pending,.column-response .post-com-count-no-pending{display:none}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #c3c4c7}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#50575e}#replyrow td{padding:2px}#replysubmit{margin:0;padding:5px 7px 10px;overflow:hidden}#replysubmit .reply-submit-buttons{margin-bottom:0}#replysubmit .button{margin-left:5px}#replysubmit .spinner{float:none;margin:-4px 0 0}#replyrow.inline-edit-row fieldset.comment-reply{font-size:inherit;line-height:inherit}#replyrow legend{margin:0;padding:.2em 5px 0;font-size:13px;line-height:1.4;font-weight:600}#replyrow.inline-edit-row label{display:inline;vertical-align:baseline;line-height:inherit}#commentsdiv #edithead .inside,#edithead .inside{float:right;padding:3px 5px 2px 0;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;box-shadow:none}#replyerror{border-color:#dcdcde;background-color:#f6f7f7}.commentlist .avatar{vertical-align:text-top}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f6f7f7}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fcf9e8}#the-comment-list .unapproved th.check-column{border-right:4px solid #d63638}#the-comment-list .unapproved th.check-column input{margin-right:4px}#the-comment-list .approve a{color:#007017}#the-comment-list .unapprove a{color:#996800}#the-comment-list td,#the-comment-list th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#f0f6fc!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:"\f101";font:normal 20px/.5 dashicons;speak:never;display:inline-block;padding:0;top:4px;right:-4px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#3c434a}table.fixed{table-layout:fixed}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-date{width:14%}.column-date span[title]{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.fixed .column-posts{width:74px}.fixed .column-posts,.fixed .column-role{-webkit-hyphens:auto;hyphens:auto}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:5.5em;padding:8px 0;text-align:right}.fixed .column-comments .vers{padding-right:3px}td.column-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;font-size:14px}td.column-title p,td.plugin-title p{margin:6px 0}table.media .column-title .media-icon{float:right;min-height:60px;margin:0 0 0 9px}table.media .column-title .media-icon img{max-width:60px;height:auto;vertical-align:top}table.media .column-title .has-media-icon~.row-actions{margin-right:70px}table.media .column-title .filename{margin-bottom:.2em}.media .row-actions .copy-to-clipboard-container{display:inline;position:relative}.media .row-actions .copy-to-clipboard-container .success{position:absolute;right:50%;transform:translate(50%,-100%);background:#000;color:#fff;border-radius:5px;margin:0;padding:2px 5px}.wp-list-table a{transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;box-shadow:none}#comments-form .fixed .column-author{width:20%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:1.38461538}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0 none}#commentsdiv .comments-box thead td,#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv #edithead .inside input{width:160px}.sorting-indicator{display:block;visibility:hidden;width:10px;height:4px;margin-top:8px;margin-right:7px}.sorting-indicator:before{content:"\f142";font:normal 20px/1 dashicons;speak:never;display:inline-block;padding:0;top:-4px;right:-8px;color:#3c434a;line-height:.5;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#3c434a}.column-comments .sorting-indicator:before{top:0;right:-10px}th.desc a:focus span.sorting-indicator:before,th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:"\f142"}th.asc a:focus span.sorting-indicator:before,th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:"\f140"}.wp-list-table .toggle-row{position:absolute;left:8px;top:10px;display:none;padding:0;width:40px;height:40px;border:none;outline:0;background:0 0}.wp-list-table .toggle-row:hover{cursor:pointer}.wp-list-table .toggle-row:focus:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.wp-list-table .toggle-row:active{box-shadow:none}.wp-list-table .toggle-row:before{position:absolute;top:-5px;right:10px;border-radius:50%;display:block;padding:1px 0 1px 2px;color:#3c434a;content:"\f140";font:normal 20px/1 dashicons;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:never}.wp-list-table .is-expanded .toggle-row:before{content:"\f142"}.locked-indicator{display:none;margin-right:6px;height:20px;width:16px}.locked-indicator-icon:before{color:#8c8f94;content:"\f160";display:inline-block;font:normal 20px/1 dashicons;speak:never;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.locked-info{display:none;margin-top:4px}.locked-text{vertical-align:top}.wp-locked .locked-indicator,.wp-locked .locked-info{display:block}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;overflow:hidden;padding:8px}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:right;cursor:pointer}th.asc a:focus span.sorting-indicator,th.asc:hover span.sorting-indicator,th.desc a:focus span.sorting-indicator,th.desc:hover span.sorting-indicator,th.sorted .sorting-indicator{visibility:visible}.tablenav-pages .current-page{margin:0 0 0 2px;font-size:13px;text-align:center}.tablenav .total-pages{margin-left:2px}.tablenav #table-paging{margin-right:2px}.tablenav{clear:both;height:30px;margin:6px 0 4px;padding-top:5px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:left;margin:0 0 9px}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages .button,.tablenav .tablenav-pages .tablenav-pages-navspan{display:inline-block;vertical-align:baseline;min-width:30px;min-height:30px;margin:0;padding:0 4px;font-size:16px;line-height:1.625;text-align:center}.tablenav .displaying-num{margin-left:7px}.tablenav .one-page .displaying-num{display:inline-block;margin:5px 0}.tablenav .actions{padding:0 0 0 8px}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-left:20px}.tablenav .view-switch{float:left;margin:0 5px;padding-top:3px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:12px 0;margin:0 2px 0 8px}.media-toolbar.wp-filter .view-switch{margin:0 2px 0 12px}.view-switch a{float:right;width:28px;height:28px;text-align:center;line-height:1.84615384;text-decoration:none}.view-switch a:before{color:#c3c4c7;display:inline-block;font:normal 20px/1 dashicons;speak:never;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch a:focus:before,.view-switch a:hover:before{color:#787c82}.view-switch a.current:before{color:#2271b1}.view-switch .view-list:before{content:"\f163"}.view-switch .view-excerpt:before{content:"\f164"}.view-switch .view-grid:before{content:"\f509"}.filter{float:right;margin:-5px 10px 0 0}.filter .subsubsub{margin-right:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;padding:0}#posts-filter fieldset legend{padding:0 1px .2em 0}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:right;margin-left:10px;margin-top:1px}.row-actions{color:#a7aaad;font-size:13px;padding:2px 0 0;position:relative;right:-9999em}.rtl .row-actions a{display:inline-block}.row-actions .network_active,.row-actions .network_only{color:#000}.comment-item:hover .row-actions,.mobile .row-actions,.no-js .row-actions,.row-actions.visible,tr:hover .row-actions{position:static}.row-actions-visible{padding:2px 0 0}#wpbody-content .inline-edit-row fieldset{float:right;margin:0;padding:0 0 0 12px;width:100%;box-sizing:border-box}#wpbody-content .inline-edit-row td fieldset:last-of-type{padding-left:0}tr.inline-edit-row td{padding:0;position:relative}.inline-edit-wrapper{display:flow-root;padding:0 12px;border:1px solid transparent;border-radius:4px}.inline-edit-wrapper:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:50%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:left;width:69%}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both;line-height:2.5}.inline-edit-row .submit{display:flex;flex-wrap:wrap;align-items:center;clear:both;margin:0;padding:.5em 0 1em}.inline-edit-save.submit .button{margin-left:8px}.inline-edit-save .spinner{float:none;margin:0}.inline-edit-row .notice-error{box-sizing:border-box;min-width:100%;margin-top:1em}.inline-edit-row .notice-error .error{margin:.5em 0;padding:2px}#the-list .inline-edit-row .inline-edit-legend{margin:0;padding:.2em 0;line-height:2.5;font-weight:600}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;line-height:2.5}.inline-edit-row fieldset.inline-edit-date label{display:inline-block;margin:0;vertical-align:baseline;line-height:2}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{display:block;float:right;width:6em;line-height:2.5}#posts-filter fieldset.inline-edit-date legend{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-right:6em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-left:.5em}.inline-edit-row .inline-edit-or{margin:.2em 0 .2em 6px;line-height:2.5}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:middle}.inline-edit-row fieldset label textarea{width:100%;height:4em;vertical-align:top}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-left:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-row .inline-edit-legend{text-transform:uppercase}.inline-edit-row fieldset .inline-edit-date{float:right}.inline-edit-row fieldset input[name=aa],.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{vertical-align:middle;text-align:center;padding:0 4px}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}#bulk-titles-list,#bulk-titles-list li,.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row fieldset ul.cat-checklist input{margin-top:-1px;margin-right:3px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.quick-edit-row-post fieldset label.inline-edit-status{float:right}#bulk-titles,ul.cat-checklist{height:14em;border:1px solid #ddd;margin:0 0 5px;padding:.2em 5px;overflow-y:scroll}#bulk-titles .ntdelbutton,#bulk-titles .ntdeltitle,.inline-edit-row fieldset ul.cat-checklist label{display:inline-block;margin:0;padding:3px 0;line-height:20px;vertical-align:top}#bulk-titles .ntdelitem{padding-right:23px}#bulk-titles .ntdelbutton{width:26px;height:26px;margin:0 -26px 0 0;text-align:center;border-radius:3px}#bulk-titles .ntdelbutton:before{display:inline-block;vertical-align:top}#bulk-titles .ntdelbutton:focus{box-shadow:0 0 0 2px #3582c4;outline:2px solid transparent;outline-offset:0}.plugins tbody,.plugins tbody th.check-column{padding:8px 2px 0 0}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}.updates-table .plugin-title p{margin-top:0}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-right:6px}.plugins,.plugins td,.plugins th{color:#000}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5}.plugins .desc ol,.plugins .desc ul{margin:0 2em 0 0}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px;padding:0}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f0f6fc}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #dcdcde}.plugins .update td,.plugins .update th,.plugins .updated td,.plugins .updated th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.plugins tr.active+tr.inactive.updated td,.plugins tr.active+tr.inactive.updated th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{box-shadow:none}.plugin-update-tr.active td,.plugins .active th.check-column{border-right:4px solid #72aee6}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-left:12px;white-space:nowrap}.plugins .plugin-title .dashicons,.plugins .plugin-title img{float:right;padding:0 0 0 10px;width:64px;height:64px}.plugins .plugin-title .dashicons:before{padding:2px;background-color:#f0f0f1;box-shadow:inset 0 0 10px rgba(167,170,173,.15);font-size:60px;color:#c3c4c7}#update-themes-table .plugin-title .dashicons,#update-themes-table .plugin-title img{width:85px}.plugins .column-auto-updates{width:14.2em}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .row-actions{white-space:normal;min-width:12em}.plugins .update .row-actions,.plugins .update .second,.plugins .updated .row-actions,.plugins .updated .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugins .plugin-update-tr .plugin-update{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);overflow:hidden;padding:0}.plugins .plugin-update-tr .notice,.plugins .plugin-update-tr div[class=update-message]{margin:5px 40px 15px 20px}.plugins .notice p{margin:.5em 0}.plugins .plugin-description a,.plugins .plugin-update a,.updates-table .plugin-title a{text-decoration:underline}.plugins tr.paused th.check-column{border-right:4px solid #b32d2e}.plugins tr.paused td,.plugins tr.paused th{background-color:#f6f7f7}.plugins .paused .dashicons-warning,.plugins tr.paused .plugin-title{color:#b32d2e}.plugins .paused .error-display code,.plugins .paused .error-display p{font-size:90%;color:rgba(0,0,0,.7)}.plugins .resume-link{color:#b32d2e}.plugin-card .update-now:before{color:#d63638;content:"\f463";display:inline-block;font:normal 20px/1 dashicons;margin:-3px -2px 0 5px;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.plugin-card .updating-message:before{content:"\f463";animation:rotation 2s infinite linear}@keyframes rotation{0%{transform:rotate(0)}100%{transform:rotate(-359deg)}}.plugin-card .updated-message:before{color:#68de7c;content:"\f147"}.plugin-install-php #the-list{display:flex;flex-wrap:wrap}.plugin-install-php .plugin-card{display:flex;flex-direction:column;justify-content:space-between}.plugin-install-php h2{clear:both}.plugin-install-php h3{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{float:right;margin:0 8px 16px;width:48.5%;width:calc(50% - 8px);background-color:#fff;border:1px solid #dcdcde;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-right:0}.plugin-card:nth-child(even){margin-left:0}@media screen and (min-width:1600px) and (max-width:2299px){.plugin-card{width:30%;width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-right:8px}.plugin-card:nth-child(even){margin-left:8px}.plugin-card:nth-child(3n+1){clear:both;margin-right:0}.plugin-card:nth-child(3n){margin-left:0}}@media screen and (min-width:2300px){.plugin-card{width:25%;width:calc(25% - 12px)}.plugin-card:nth-child(odd){clear:none;margin-right:8px}.plugin-card:nth-child(even){margin-left:8px}.plugin-card:nth-child(4n+1){clear:both;margin-right:0}.plugin-card:nth-child(4n){margin-left:0}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h3{margin:0 0 12px 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-right:148px;margin-left:128px}.plugin-card .action-links{position:absolute;top:20px;left:20px;width:120px}.plugin-action-buttons{clear:left;float:left;margin-bottom:1em;text-align:left}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#f6f7f7;border-top:1px solid #dcdcde;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card-update-failed .update-now{font-weight:600}.plugin-card-update-failed .notice-error{margin:0;padding-right:16px;box-shadow:0 -1px 0 #dcdcde}.plugin-card-update-failed .plugin-card-bottom{display:none}.plugin-card .column-rating{line-height:1.76923076}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:right;clear:right;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:left;float:left;clear:left;width:65%;width:calc(100% - 180px)}.plugin-card .column-compatibility span:before{font:normal 20px/.5 dashicons;speak:never;display:inline-block;padding:0;top:4px;right:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#3c434a}.plugin-card .column-compatibility .compatibility-incompatible:before{content:"\f158";color:#d63638}.plugin-card .column-compatibility .compatibility-compatible:before{content:"\f147";color:#007017}.plugin-card .notice{margin:20px 20px 0}.plugin-icon{position:absolute;top:20px;right:20px;width:128px;height:128px;margin:0 0 20px 20px}.no-plugin-results{color:#646970;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;width:100%;text-align:center}.wp-list-table .site-archived,.wp-list-table .site-deleted,.wp-list-table tr.site-archived,.wp-list-table tr.site-deleted{background:#fcf0f1}.wp-list-table .site-mature,.wp-list-table .site-spammed,.wp-list-table tr.site-mature,.wp-list-table tr.site-spammed{background:#fcf9e8}.sites.fixed .column-lastupdated,.sites.fixed .column-registered{width:20%}.sites.fixed .column-users{width:80px}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-right:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:right}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-left:20px}.plugin-card h3{margin-left:24px}.plugin-card .desc,.plugin-card .name{margin-left:0}.plugin-card .desc p:first-of-type{margin-top:0}}@media screen and (max-width:782px){.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.tablenav .view-switch,.tablenav.top .actions{display:none}.view-switch a{width:36px;height:36px;line-height:2.53846153}.tablenav.top .displaying-num{display:none}.tablenav.bottom .displaying-num{position:absolute;left:0;top:11px;margin:0;font-size:14px}.tablenav .tablenav-pages{width:100%;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.top .tablenav-pages.one-page{display:none}.tablenav.bottom .actions select{margin-bottom:5px}.tablenav.bottom .actions.alignleft+.actions.alignleft{clear:right;margin-top:10px}.tablenav.bottom .tablenav-pages.one-page{margin-top:15px;height:0}.tablenav-pages .pagination-links{font-size:16px}.tablenav .tablenav-pages .button,.tablenav .tablenav-pages .tablenav-pages-navspan{min-width:44px;padding:12px 8px;font-size:18px;line-height:1}.tablenav-pages .pagination-links .current-page{min-width:44px;padding:12px 6px;font-size:16px;line-height:1.125}.form-wrap>p{display:none}.wp-list-table th.column-primary~th,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){display:none}.wp-list-table thead th.column-primary{width:100%}.wp-list-table tr th.check-column{display:table-cell}.wp-list-table .check-column{width:2.5em}.wp-list-table .column-primary .toggle-row{display:block}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){position:relative;clear:both;width:auto!important}.wp-list-table td.column-primary{padding-left:50px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 35% 3px 8px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before{position:absolute;right:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis}.wp-list-table .is-expanded td:not(.hidden){display:block!important;overflow:hidden}.column-posts,.widefat .num{text-align:right}#comments-form .fixed .column-author,#commentsdiv .fixed .column-author{display:none!important}.fixed .column-comment .comment-author{display:block}.fixed .column-author.hidden~.column-comment .comment-author{display:none}#the-comment-list .is-expanded td{box-shadow:none}#the-comment-list .is-expanded td:last-child{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.post-com-count .screen-reader-text{position:static;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:none}.column-comments .post-com-count [aria-hidden=true],.column-response .post-com-count [aria-hidden=true]{display:none}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:normal}.column-comments .post-com-count-wrapper>a,.column-response .post-com-count-wrapper>a{display:block}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:0;margin-left:.5em}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:static;height:auto;min-width:0;padding:0;border:none;border-radius:0;background:0 0;color:#b32d2e;font-size:inherit;line-height:inherit;text-align:right}.column-comments .post-com-count-pending:hover,.column-response .post-com-count-pending:hover{color:#d63638}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:10px}.row-actions{margin-right:-8px;margin-left:-8px;padding-top:4px}body:not(.plugins-php) .row-actions{display:flex;flex-wrap:wrap;gap:8px;color:transparent}.row-actions span .button-link,.row-actions span a{display:inline-block;padding:4px 8px;line-height:1.5}.row-actions span.approve:before,.row-actions span.unapprove:before{content:"| "}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%;padding:0}#the-list .inline-edit-row .inline-edit-legend,.inline-edit-row span.title{font-size:16px}.inline-edit-row p.howto{font-size:14px}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:0}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;box-sizing:border-box}.inline-edit-row fieldset input[name=aa],.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:16px;line-height:2;padding:3px 4px}#bulk-titles .ntdelbutton,#bulk-titles .ntdeltitle,.inline-edit-row fieldset ul.cat-checklist label{padding:6px 0;font-size:16px;line-height:28px}#bulk-titles .ntdelitem{padding-right:37px}#bulk-titles .ntdelbutton{width:40px;height:40px;margin:0 -40px 0 0;overflow:hidden}#bulk-titles .ntdelbutton:before{font-size:20px;line-height:28px}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{float:none}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{margin-right:0}.inline-edit-row .inline-edit-or{margin:0 0 0 6px}#commentsdiv #edithead .inside,#edithead .inside{float:none;text-align:right;padding:3px 5px}#commentsdiv #edithead .inside input,#edithead .inside input{width:100%}#edithead label{display:block}#wpbody-content .updates-table .plugin-title{width:auto;white-space:normal}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.comments-box .toggle-row,.wp-list-table.plugins .toggle-row{display:none}#wpbody-content .wp-list-table.plugins td{display:block;width:auto;padding:10px 9px}#wpbody-content .wp-list-table.plugins .desc.hidden{display:none}#wpbody-content .wp-list-table.plugins .column-description{padding-top:2px}#wpbody-content .wp-list-table.plugins .plugin-title,#wpbody-content .wp-list-table.plugins .theme-title{padding-left:12px;white-space:normal}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins #the-list .update td,.plugins #the-list .update th,.plugins #the-list tr>td:not(:last-child),.wp-list-table.plugins #the-list .theme-title{box-shadow:none;border-top:none}.plugins #the-list tr td{border-top:none}.plugins tbody{padding:1px 0 0}.plugins .plugin-update-tr:before,.plugins tr.active+tr.inactive td.column-description,.plugins tr.active+tr.inactive th.check-column{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.plugins .plugin-update-tr:before{content:"";display:table-cell}.plugins #the-list .plugin-update-tr .plugin-update{border-right:none}.plugin-update-tr .update-message{margin-right:0}.plugins .active.update+.plugin-update-tr:before,.plugins .active.updated+.plugin-update-tr:before{background-color:#f0f6fc;border-right:4px solid #72aee6}.plugins .plugin-update-tr .update-message{margin-right:0}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong{font-size:1.4em;line-height:1.5}.plugins tbody th.check-column{padding:8px 5px 0 0}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-right:9px}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}table.plugin-install #the-list td{box-shadow:none}table.plugin-install #the-list tr{display:block;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugin-card{margin-right:0;margin-left:0;width:100%}table.media .column-title .has-media-icon~.row-actions{margin-right:0;clear:both}}@media screen and (max-width:480px){.tablenav-pages .current-page{margin:0}.tablenav.bottom .displaying-num{position:relative;top:0;display:block;text-align:left;padding-bottom:.5em}.tablenav.bottom .tablenav-pages.one-page{height:auto}.tablenav-pages .tablenav-paging-text{float:right;width:100%;padding-top:.5em}} \ No newline at end of file diff --git a/build/wp-admin/css/list-tables.css b/build/wp-admin/css/list-tables.css deleted file mode 100644 index 00a6d8c4a0..0000000000 --- a/build/wp-admin/css/list-tables.css +++ /dev/null @@ -1,2267 +0,0 @@ -.response-links { - display: block; - margin-bottom: 1em; -} - -.response-links a { - display: block; -} - -.response-links a.comments-edit-item-link { - font-weight: 600; -} - -.response-links a.comments-view-item-link { - font-size: 12px; -} - -.post-com-count-wrapper strong { - font-weight: 400; -} - -.comments-view-item-link { - display: inline-block; - clear: both; -} - -.column-response .post-com-count-wrapper, -.column-comments .post-com-count-wrapper { - white-space: nowrap; - word-wrap: normal; -} - -/* comments bubble common */ -.column-response .post-com-count, -.column-comments .post-com-count { - display: inline-block; - vertical-align: top; -} - -/* comments bubble approved */ -.column-response .post-com-count-no-comments, -.column-response .post-com-count-approved, -.column-comments .post-com-count-no-comments, -.column-comments .post-com-count-approved { - margin-top: 5px; -} - -.column-response .comment-count-no-comments, -.column-response .comment-count-approved, -.column-comments .comment-count-no-comments, -.column-comments .comment-count-approved { - box-sizing: border-box; - display: block; - padding: 0 8px; - min-width: 24px; - height: 2em; - border-radius: 5px; - background-color: #646970; - color: #fff; - font-size: 11px; - line-height: 1.90909090; - text-align: center; -} - -.column-response .post-com-count-no-comments:after, -.column-response .post-com-count-approved:after, -.column-comments .post-com-count-no-comments:after, -.column-comments .post-com-count-approved:after { - content: ""; - display: block; - margin-left: 8px; - width: 0; - height: 0; - border-top: 5px solid #646970; - border-right: 5px solid transparent; -} - -.column-response a.post-com-count-approved:hover .comment-count-approved, -.column-response a.post-com-count-approved:focus .comment-count-approved, -.column-comments a.post-com-count-approved:hover .comment-count-approved, -.column-comments a.post-com-count-approved:focus .comment-count-approved { - background: #2271b1; -} - -.column-response a.post-com-count-approved:hover:after, -.column-response a.post-com-count-approved:focus:after, -.column-comments a.post-com-count-approved:hover:after, -.column-comments a.post-com-count-approved:focus:after { - border-top-color: #2271b1; -} - -/* @todo: consider to use a single rule for these counters and the admin menu counters. */ -.column-response .post-com-count-pending, -.column-comments .post-com-count-pending { - position: relative; - left: -3px; - padding: 0 5px; - min-width: 7px; - height: 17px; - border: 2px solid #fff; - border-radius: 11px; - background: #d63638; - color: #fff; - font-size: 9px; - line-height: 1.88888888; - text-align: center; -} - -.column-response .post-com-count-no-pending, -.column-comments .post-com-count-no-pending { - display: none; -} - -/* comments */ - -.commentlist li { - padding: 1em 1em .2em; - margin: 0; - border-bottom: 1px solid #c3c4c7; -} - -.commentlist li li { - border-bottom: 0; - padding: 0; -} - -.commentlist p { - padding: 0; - margin: 0 0 .8em; -} - -#submitted-on, -.submitted-on { - color: #50575e; -} - -/* reply to comments */ -#replyrow td { - padding: 2px; -} - -#replysubmit { - margin: 0; - padding: 5px 7px 10px; - overflow: hidden; -} - -#replysubmit .reply-submit-buttons { - margin-bottom: 0; -} - -#replysubmit .button { - margin-right: 5px; -} - -#replysubmit .spinner { - float: none; - margin: -4px 0 0; -} - -#replyrow.inline-edit-row fieldset.comment-reply { - font-size: inherit; - line-height: inherit; -} - -#replyrow legend { - margin: 0; - padding: .2em 5px 0; - font-size: 13px; - line-height: 1.4; - font-weight: 600; -} - -#replyrow.inline-edit-row label { - display: inline; - vertical-align: baseline; - line-height: inherit; -} - -#edithead .inside, -#commentsdiv #edithead .inside { - float: left; - padding: 3px 0 2px 5px; - margin: 0; - text-align: center; -} - -#edithead .inside input { - width: 180px; -} - -#edithead label { - padding: 2px 0; -} - -#replycontainer { - padding: 5px; -} - -#replycontent { - height: 120px; - box-shadow: none; -} - -#replyerror { - border-color: #dcdcde; - background-color: #f6f7f7; -} - -/* @todo: is this used? */ -.commentlist .avatar { - vertical-align: text-top; -} - -#the-comment-list tr.undo, -#the-comment-list div.undo { - background-color: #f6f7f7; -} - -#the-comment-list .unapproved th, -#the-comment-list .unapproved td { - background-color: #fcf9e8; -} - -#the-comment-list .unapproved th.check-column { - border-left: 4px solid #d63638; -} - -#the-comment-list .unapproved th.check-column input { - margin-left: 4px; -} - -#the-comment-list .approve a { - color: #007017; -} - -#the-comment-list .unapprove a { - color: #996800; -} - -#the-comment-list th, -#the-comment-list td { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -#the-comment-list tr:last-child th, -#the-comment-list tr:last-child td { - box-shadow: none; -} - -#the-comment-list tr.unapproved + tr.approved th, -#the-comment-list tr.unapproved + tr.approved td { - border-top: 1px solid rgba(0, 0, 0, 0.03); -} - -/* table vim shortcuts */ -.vim-current, -.vim-current th, -.vim-current td { - background-color: #f0f6fc !important; -} - -th .comment-grey-bubble { - height: 16px; - width: 16px; -} - -th .comment-grey-bubble:before { - content: "\f101"; - font: normal 20px/.5 dashicons; - speak: never; - display: inline-block; - padding: 0; - top: 4px; - left: -4px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #3c434a; -} - -/*------------------------------------------------------------------------------ - 10.0 - List Posts (/Pages/etc) -------------------------------------------------------------------------------*/ - -table.fixed { - table-layout: fixed; -} - -.fixed .column-rating, -.fixed .column-visible { - width: 8%; -} - -.fixed .column-posts, -.fixed .column-parent, -.fixed .column-links, -.fixed .column-author, -.fixed .column-format { - width: 10%; -} - -.fixed .column-date { - width: 14%; -} - -.column-date span[title] { - -webkit-text-decoration: dotted underline; - text-decoration: dotted underline; -} - -.fixed .column-posts { - width: 74px; -} - -.fixed .column-role, -.fixed .column-posts { - -webkit-hyphens: auto; - hyphens: auto; -} - -.fixed .column-comment .comment-author { - display: none; -} - -.fixed .column-response, -.fixed .column-categories, -.fixed .column-tags, -.fixed .column-rel, -.fixed .column-role { - width: 15%; -} - -.fixed .column-slug { - width: 25%; -} - -.fixed .column-locations { - width: 35%; -} - -.fixed .column-comments { - width: 5.5em; - padding: 8px 0; - text-align: left; -} - -.fixed .column-comments .vers { - padding-left: 3px; -} - -td.column-title strong, -td.plugin-title strong { - display: block; - margin-bottom: .2em; - font-size: 14px; -} - -td.column-title p, -td.plugin-title p { - margin: 6px 0; -} - -/* Media file column */ -table.media .column-title .media-icon { - float: left; - min-height: 60px; - margin: 0 9px 0 0; -} - -table.media .column-title .media-icon img { - max-width: 60px; - height: auto; - vertical-align: top; /* Remove descender white-space. */ -} - -table.media .column-title .has-media-icon ~ .row-actions { - margin-left: 70px; /* 60px image + margin */ -} - -table.media .column-title .filename { - margin-bottom: 0.2em; -} - -/* Media Copy to clipboard row action */ -.media .row-actions .copy-to-clipboard-container { - display: inline; - position: relative; -} - -.media .row-actions .copy-to-clipboard-container .success { - position: absolute; - left: 50%; - transform: translate(-50%, -100%); - background: #000; - color: #fff; - border-radius: 5px; - margin: 0; - padding: 2px 5px; -} - -/* @todo: pick a consistent list table selector */ -.wp-list-table a { - transition: none; -} - -#the-list tr:last-child td, -#the-list tr:last-child th { - border-bottom: none !important; - box-shadow: none; -} - -#comments-form .fixed .column-author { - width: 20%; -} - -#commentsdiv.postbox .inside { - margin: 0; - padding: 0; -} - -#commentsdiv .inside .row-actions { - line-height: 1.38461538; -} - -#commentsdiv .inside .column-author { - width: 25%; -} - -#commentsdiv .column-comment p { - margin: 0.6em 0; - padding: 0; -} - -#commentsdiv #replyrow td { - padding: 0; -} - -#commentsdiv p { - padding: 8px 10px; - margin: 0; -} - -#commentsdiv .comments-box { - border: 0 none; -} - -#commentsdiv .comments-box thead th, -#commentsdiv .comments-box thead td { - background: transparent; - padding: 0 7px 4px; -} - -#commentsdiv .comments-box tr:last-child td { - border-bottom: 0 none; -} - -#commentsdiv #edithead .inside input { - width: 160px; -} - -.sorting-indicator { - display: block; - visibility: hidden; - width: 10px; - height: 4px; - margin-top: 8px; - margin-left: 7px; -} - -.sorting-indicator:before { - content: "\f142"; - font: normal 20px/1 dashicons; - speak: never; - display: inline-block; - padding: 0; - top: -4px; - left: -8px; - color: #3c434a; - line-height: 0.5; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #3c434a; -} - -.column-comments .sorting-indicator:before { - top: 0; - left: -10px; -} - -th.sorted.asc .sorting-indicator:before, -th.desc:hover span.sorting-indicator:before, -th.desc a:focus span.sorting-indicator:before { - content: "\f142"; -} - -th.sorted.desc .sorting-indicator:before, -th.asc:hover span.sorting-indicator:before, -th.asc a:focus span.sorting-indicator:before { - content: "\f140"; -} - -.wp-list-table .toggle-row { - position: absolute; - right: 8px; - top: 10px; - display: none; - padding: 0; - width: 40px; - height: 40px; - border: none; - outline: none; - background: transparent; -} - -.wp-list-table .toggle-row:hover { - cursor: pointer; -} - -.wp-list-table .toggle-row:focus:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.wp-list-table .toggle-row:active { - box-shadow: none; -} - -.wp-list-table .toggle-row:before { - position: absolute; - top: -5px; - left: 10px; - border-radius: 50%; - display: block; - padding: 1px 2px 1px 0; - color: #3c434a; /* same as table headers sort arrows */ - content: "\f140"; - font: normal 20px/1 dashicons; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - speak: never; -} - -.wp-list-table .is-expanded .toggle-row:before { - content: "\f142"; -} - -.locked-indicator { - display: none; - margin-left: 6px; - height: 20px; - width: 16px; -} - -.locked-indicator-icon:before { - color: #8c8f94; - content: "\f160"; - display: inline-block; - font: normal 20px/1 dashicons; - speak: never; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.locked-info { - display: none; - margin-top: 4px; -} - -.locked-text { - vertical-align: top; -} - -.wp-locked .locked-indicator, -.wp-locked .locked-info { - display: block; -} - -tr.wp-locked .check-column label, -tr.wp-locked .check-column input[type="checkbox"], -tr.wp-locked .row-actions .inline, -tr.wp-locked .row-actions .trash { - display: none; -} - -.fixed .column-comments .sorting-indicator { - margin-top: 3px; -} - -#menu-locations-wrap .widefat { - width: 60%; -} - -.widefat th.sortable, -.widefat th.sorted { - padding: 0; -} - -th.sortable a, -th.sorted a { - display: block; - overflow: hidden; - padding: 8px; -} - -.fixed .column-comments.sortable a, -.fixed .column-comments.sorted a { - padding: 8px 0; -} - -th.sortable a span, -th.sorted a span { - float: left; - cursor: pointer; -} - -th.sorted .sorting-indicator, -th.desc:hover span.sorting-indicator, -th.desc a:focus span.sorting-indicator, -th.asc:hover span.sorting-indicator, -th.asc a:focus span.sorting-indicator { - visibility: visible; -} - -.tablenav-pages .current-page { - margin: 0 2px 0 0; - font-size: 13px; - text-align: center; -} - -.tablenav .total-pages { - margin-right: 2px; -} - -.tablenav #table-paging { - margin-left: 2px; -} - -.tablenav { - clear: both; - height: 30px; - margin: 6px 0 4px; - padding-top: 5px; - vertical-align: middle; -} - -.tablenav.themes { - max-width: 98%; -} - -.tablenav .tablenav-pages { - float: right; - margin: 0 0 9px; -} - -.tablenav .no-pages, -.tablenav .one-page .pagination-links { - display: none; -} - -.tablenav .tablenav-pages .button, -.tablenav .tablenav-pages .tablenav-pages-navspan { - display: inline-block; - vertical-align: baseline; - min-width: 30px; - min-height: 30px; - margin: 0; - padding: 0 4px; - font-size: 16px; - line-height: 1.625; /* 26px */ - text-align: center; -} - -.tablenav .displaying-num { - margin-right: 7px; -} - -.tablenav .one-page .displaying-num { - display: inline-block; - margin: 5px 0; -} - -.tablenav .actions { - padding: 0 8px 0 0; -} - -.wp-filter .actions { - display: inline-block; - vertical-align: middle; -} - -.tablenav .delete { - margin-right: 20px; -} - -/* This view-switcher is still used on multisite. */ -.tablenav .view-switch { - float: right; - margin: 0 5px; - padding-top: 3px; -} - -.wp-filter .view-switch { - display: inline-block; - vertical-align: middle; - padding: 12px 0; - margin: 0 8px 0 2px; -} - -.media-toolbar.wp-filter .view-switch { - margin: 0 12px 0 2px; -} - -.view-switch a { - float: left; - width: 28px; - height: 28px; - text-align: center; - line-height: 1.84615384; - text-decoration: none; -} - -.view-switch a:before { - color: #c3c4c7; - display: inline-block; - font: normal 20px/1 dashicons; - speak: never; - vertical-align: middle; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.view-switch a:hover:before, -.view-switch a:focus:before { - color: #787c82; -} - -.view-switch a.current:before { - color: #2271b1; -} - -.view-switch .view-list:before { - content: "\f163"; -} - -.view-switch .view-excerpt:before { - content: "\f164"; -} - -.view-switch .view-grid:before { - content: "\f509"; -} - -.filter { - float: left; - margin: -5px 0 0 10px; -} - -.filter .subsubsub { - margin-left: -10px; - margin-top: 13px; -} -.screen-per-page { - width: 4em; -} - -#posts-filter .wp-filter { - margin-bottom: 0; -} - -#posts-filter fieldset { - float: left; - margin: 0 1.5ex 1em 0; - padding: 0; -} - -#posts-filter fieldset legend { - padding: 0 0 .2em 1px; -} - -p.pagenav { - margin: 0; - display: inline; -} - -.pagenav span { - font-weight: 600; - margin: 0 6px; -} - -.row-title { - font-size: 14px !important; - font-weight: 600; -} - -.column-comment .comment-author { - margin-bottom: 0.6em; -} - -.column-author img, -.column-username img, -.column-comment .comment-author img { - float: left; - margin-right: 10px; - margin-top: 1px; -} - -.row-actions { - color: #a7aaad; - font-size: 13px; - padding: 2px 0 0; - position: relative; - left: -9999em; -} - -/* ticket #34150 */ -.rtl .row-actions a { - display: inline-block; -} - -.row-actions .network_only, -.row-actions .network_active { - color: #000; -} - -.no-js .row-actions, -tr:hover .row-actions, -.mobile .row-actions, -.row-actions.visible, -.comment-item:hover .row-actions { - position: static; -} - -/* deprecated */ -.row-actions-visible { - padding: 2px 0 0; -} - - -/*------------------------------------------------------------------------------ - 10.1 - Inline Editing -------------------------------------------------------------------------------*/ - -/* -.quick-edit* is for Quick Edit -.bulk-edit* is for Bulk Edit -.inline-edit* is for everything -*/ - -/* Layout */ - -#wpbody-content .inline-edit-row fieldset { - float: left; - margin: 0; - padding: 0 12px 0 0; - width: 100%; - box-sizing: border-box; -} - -#wpbody-content .inline-edit-row td fieldset:last-of-type { - padding-right: 0; -} - -tr.inline-edit-row td { - padding: 0; - /* Prevents the focus style on .inline-edit-wrapper from being cutted-off */ - position: relative; -} - -.inline-edit-wrapper { - display: flow-root; - padding: 0 12px; - border: 1px solid transparent; - border-radius: 4px; -} - -.inline-edit-wrapper:focus { - border-color: #2271b1; - box-shadow: 0 0 0 1px #2271b1; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-left { - width: 40%; -} - -#wpbody-content .quick-edit-row-post .inline-edit-col-right { - width: 39%; -} - -#wpbody-content .inline-edit-row-post .inline-edit-col-center { - width: 20%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-left { - width: 50%; -} - -#wpbody-content .quick-edit-row-page .inline-edit-col-right, -#wpbody-content .bulk-edit-row-post .inline-edit-col-right { - width: 50%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-left { - width: 30%; -} - -#wpbody-content .bulk-edit-row-page .inline-edit-col-right { - width: 69%; -} - -#wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: right; - width: 69%; -} - -#wpbody-content .inline-edit-row-page .inline-edit-col-right { - margin-top: 27px; -} - -.inline-edit-row fieldset .inline-edit-group { - clear: both; - line-height: 2.5; -} - -.inline-edit-row .submit { - display: flex; - flex-wrap: wrap; - align-items: center; - clear: both; - margin: 0; - padding: 0.5em 0 1em; -} - -.inline-edit-save.submit .button { - margin-right: 8px; -} - -.inline-edit-save .spinner { - float: none; - margin: 0; -} - -.inline-edit-row .notice-error { - box-sizing: border-box; - min-width: 100%; - margin-top: 1em; -} - -.inline-edit-row .notice-error .error { - margin: 0.5em 0; - padding: 2px; -} - -/* Positioning */ - -/* Needs higher specificity for the padding */ -#the-list .inline-edit-row .inline-edit-legend { - margin: 0; - padding: 0.2em 0; - line-height: 2.5; - font-weight: 600; -} - -.inline-edit-row fieldset span.title, -.inline-edit-row fieldset span.checkbox-title { - margin: 0; - padding: 0; -} - -.inline-edit-row fieldset label, -.inline-edit-row fieldset span.inline-edit-categories-label { - display: block; - margin: .2em 0; - line-height: 2.5; -} - -.inline-edit-row fieldset.inline-edit-date label { - display: inline-block; - margin: 0; - vertical-align: baseline; - line-height: 2; -} - -.inline-edit-row fieldset label.inline-edit-tags { - margin-top: 0; -} - -.inline-edit-row fieldset label.inline-edit-tags span.title { - margin: .2em 0; - width: auto; -} - -.inline-edit-row fieldset label span.title, -.inline-edit-row fieldset.inline-edit-date legend { - display: block; - float: left; - width: 6em; - line-height: 2.5; -} - -#posts-filter fieldset.inline-edit-date legend { - padding: 0; -} - -.inline-edit-row fieldset label span.input-text-wrap, -.inline-edit-row fieldset .timestamp-wrap { - display: block; - margin-left: 6em; -} - -.quick-edit-row-post fieldset.inline-edit-col-right label span.title { - width: auto; - padding-right: 0.5em; -} - -.inline-edit-row .inline-edit-or { - margin: .2em 6px .2em 0; - line-height: 2.5; -} - -.inline-edit-row .input-text-wrap input[type=text] { - width: 100%; -} - -.inline-edit-row fieldset label input[type=checkbox] { - vertical-align: middle; -} - -.inline-edit-row fieldset label textarea { - width: 100%; - height: 4em; - vertical-align: top; -} - -#wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: 50%; -} - -#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child { - margin-right: 0.5em -} - -.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input { - width: 6em; -} - -/* Styling */ -.inline-edit-row .inline-edit-legend { - text-transform: uppercase; -} - -/* Specific Elements */ -.inline-edit-row fieldset .inline-edit-date { - float: left; -} - -.inline-edit-row fieldset input[name=jj], -.inline-edit-row fieldset input[name=hh], -.inline-edit-row fieldset input[name=mn], -.inline-edit-row fieldset input[name=aa] { - vertical-align: middle; - text-align: center; - padding: 0 4px; -} - -.inline-edit-row fieldset label input.inline-edit-password-input { - width: 8em; -} - -#bulk-titles-list, -#bulk-titles-list li, -.inline-edit-row fieldset ul.cat-checklist li, -.inline-edit-row fieldset ul.cat-checklist input { - margin: 0; - position: relative; /* RTL fix, #WP27629 */ -} - -.inline-edit-row fieldset ul.cat-checklist input { - margin-top: -1px; - margin-left: 3px; -} - -.inline-edit-row fieldset label input.inline-edit-menu-order-input { - width: 3em; -} - -.inline-edit-row fieldset label input.inline-edit-slug-input { - width: 75%; -} - -.inline-edit-row #post_parent, -.inline-edit-row select[name="page_template"] { - max-width: 80%; -} - -.quick-edit-row-post fieldset label.inline-edit-status { - float: left; -} - -#bulk-titles, -ul.cat-checklist { - height: 14em; - border: 1px solid #ddd; - margin: 0 0 5px; - padding: 0.2em 5px; - overflow-y: scroll; -} - -#bulk-titles .ntdelbutton, -#bulk-titles .ntdeltitle, -.inline-edit-row fieldset ul.cat-checklist label { - display: inline-block; - margin: 0; - padding: 3px 0; - line-height: 20px; - vertical-align: top; -} - -#bulk-titles .ntdelitem { - padding-left: 23px; -} - -#bulk-titles .ntdelbutton { - width: 26px; - height: 26px; - margin: 0 0 0 -26px; - text-align: center; - border-radius: 3px; -} - -#bulk-titles .ntdelbutton:before { - display: inline-block; - vertical-align: top; -} - -#bulk-titles .ntdelbutton:focus { - box-shadow: 0 0 0 2px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - /* Reset inherited offset from Gutenberg */ - outline-offset: 0; -} - -/*------------------------------------------------------------------------------ - 17.0 - Plugins -------------------------------------------------------------------------------*/ - -.plugins tbody th.check-column, -.plugins tbody { - padding: 8px 0 0 2px; -} - -.plugins tbody th.check-column input[type=checkbox] { - margin-top: 4px; -} - -.updates-table .plugin-title p { - margin-top: 0; -} - -.plugins thead td.check-column, -.plugins tfoot td.check-column, -.plugins .inactive th.check-column { - padding-left: 6px; -} - -.plugins, -.plugins th, -.plugins td { - color: #000; -} - -.plugins tr { - background: #fff; -} - -.plugins p { - margin: 0 4px; - padding: 0; -} - -.plugins .desc p { - margin: 0 0 8px; -} - -.plugins td.desc { - line-height: 1.5; -} - -.plugins .desc ul, -.plugins .desc ol { - margin: 0 0 0 2em; -} - -.plugins .desc ul { - list-style-type: disc; -} - -.plugins .row-actions { - font-size: 13px; - padding: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th { - padding: 10px 9px; -} - -.plugins .active td, -.plugins .active th { - background-color: #f0f6fc; -} - -.plugins .update th, -.plugins .update td { - border-bottom: 0; -} - -.plugins .inactive td, -.plugins .inactive th, -.plugins .active td, -.plugins .active th, -.plugin-install #the-list td, -.upgrade .plugins td, -.upgrade .plugins th { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.plugins tr.active.plugin-update-tr + tr.inactive th, -.plugins tr.active.plugin-update-tr + tr.inactive td, -.plugins tr.active + tr.inactive th, -.plugins tr.active + tr.inactive td { - border-top: 1px solid rgba(0, 0, 0, 0.03); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02), inset 0 -1px 0 #dcdcde; -} - -.plugins .update td, -.plugins .update th, -.upgrade .plugins tr:last-of-type td, -.upgrade .plugins tr:last-of-type th, -.plugins tr.active + tr.inactive.update th, -.plugins tr.active + tr.inactive.update td, -.plugins .updated td, -.plugins .updated th, -.plugins tr.active + tr.inactive.updated th, -.plugins tr.active + tr.inactive.updated td { - box-shadow: none; -} - -.plugins .active th.check-column, -.plugin-update-tr.active td { - border-left: 4px solid #72aee6; -} - -.wp-list-table.plugins .plugin-title, -.wp-list-table.plugins .theme-title { - padding-right: 12px; - white-space: nowrap; -} - -.plugins .plugin-title img, -.plugins .plugin-title .dashicons { - float: left; - padding: 0 10px 0 0; - width: 64px; - height: 64px; -} - -.plugins .plugin-title .dashicons:before { - padding: 2px; - background-color: #f0f0f1; - box-shadow: inset 0 0 10px rgba(167, 170, 173, 0.15); - font-size: 60px; - color: #c3c4c7; -} - -#update-themes-table .plugin-title img, -#update-themes-table .plugin-title .dashicons { - width: 85px; -} - -.plugins .column-auto-updates { - width: 14.2em; -} - -.plugins .inactive .plugin-title strong { - font-weight: 400; -} - -.plugins .second, -.plugins .row-actions { - padding: 0 0 5px; -} - -.plugins .row-actions { - white-space: normal; - min-width: 12em; -} - -.plugins .update .second, -.plugins .update .row-actions, -.plugins .updated .second, -.plugins .updated .row-actions { - padding-bottom: 0; -} - -.plugins-php .widefat tfoot th, -.plugins-php .widefat tfoot td { - border-top-style: solid; - border-top-width: 1px; -} - -.plugins .plugin-update-tr .plugin-update { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - overflow: hidden; /* clearfix */ - padding: 0; -} - -.plugins .plugin-update-tr .notice, -.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */ - margin: 5px 20px 15px 40px; -} - -.plugins .notice p { - margin: 0.5em 0; -} - -.plugins .plugin-description a, -.plugins .plugin-update a, -.updates-table .plugin-title a { - text-decoration: underline; -} - -.plugins tr.paused th.check-column { - border-left: 4px solid #b32d2e; -} - -.plugins tr.paused th, -.plugins tr.paused td { - background-color: #f6f7f7; -} - -.plugins tr.paused .plugin-title, -.plugins .paused .dashicons-warning { - color: #b32d2e; -} - -.plugins .paused .error-display p, -.plugins .paused .error-display code { - font-size: 90%; - color: rgba(0, 0, 0, 0.7); -} - -.plugins .resume-link { - color: #b32d2e; -} - -.plugin-card .update-now:before { - color: #d63638; - content: "\f463"; - display: inline-block; - font: normal 20px/1 dashicons; - margin: -3px 5px 0 -2px; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: middle; -} - -.plugin-card .updating-message:before { - content: "\f463"; - animation: rotation 2s infinite linear; -} - -@keyframes rotation { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} - -.plugin-card .updated-message:before { - color: #68de7c; - content: "\f147"; -} - -.plugin-install-php #the-list { - display: flex; - flex-wrap: wrap; -} - -.plugin-install-php .plugin-card { - display: flex; - flex-direction: column; - justify-content: space-between; -} - -.plugin-install-php h2 { - clear: both; -} - -.plugin-install-php h3 { - margin: 2.5em 0 8px; -} - -.plugin-install-php .wp-filter { - margin-bottom: 0; -} - -/* Plugin card table view */ -.plugin-group { - overflow: hidden; /* clearfix */ - margin-top: 1.5em; -} - -.plugin-group h3 { - margin-top: 0; -} - -.plugin-card { - float: left; - margin: 0 8px 16px; - width: 48.5%; - width: calc( 50% - 8px ); - background-color: #fff; - border: 1px solid #dcdcde; - box-sizing: border-box; -} - -.plugin-card:nth-child(odd) { - clear: both; - margin-left: 0; -} - -.plugin-card:nth-child(even) { - margin-right: 0; -} - -@media screen and (min-width: 1600px) and ( max-width: 2299px ) { - .plugin-card { - width: 30%; - width: calc( 33.1% - 8px ); - } - - .plugin-card:nth-child(odd) { - clear: none; - margin-left: 8px; - } - - .plugin-card:nth-child(even) { - margin-right: 8px; - } - - .plugin-card:nth-child(3n+1) { - clear: both; - margin-left: 0; - } - - .plugin-card:nth-child(3n) { - margin-right: 0; - } -} - -@media screen and (min-width: 2300px) { - .plugin-card { - width: 25%; - width: calc( 25% - 12px ); - } - - .plugin-card:nth-child(odd) { - clear: none; - margin-left: 8px; - } - - .plugin-card:nth-child(even) { - margin-right: 8px; - } - - .plugin-card:nth-child(4n+1) { - clear: both; - margin-left: 0; - } - - .plugin-card:nth-child(4n) { - margin-right: 0; - } -} - -.plugin-card-top { - position: relative; - padding: 20px 20px 10px; - min-height: 135px; -} - -div.action-links, -.plugin-action-buttons { - margin: 0; /* Override existing margins */ -} - -.plugin-card h3 { - margin: 0 12px 12px 0; - font-size: 18px; - line-height: 1.3; -} - -.plugin-card .name, -.plugin-card .desc { - margin-left: 148px; /* icon + margin */ - margin-right: 128px; /* action links + margin */ -} - -.plugin-card .action-links { - position: absolute; - top: 20px; - right: 20px; - width: 120px; -} - -.plugin-action-buttons { - clear: right; - float: right; - margin-bottom: 1em; - text-align: right; -} - -.plugin-action-buttons li { - margin-bottom: 10px; -} - -.plugin-card-bottom { - clear: both; - padding: 12px 20px; - background-color: #f6f7f7; - border-top: 1px solid #dcdcde; - overflow: hidden; -} - -.plugin-card-bottom .star-rating { - display: inline; -} - -.plugin-card-update-failed .update-now { - font-weight: 600; -} - -.plugin-card-update-failed .notice-error { - margin: 0; - padding-left: 16px; - box-shadow: 0 -1px 0 #dcdcde; -} - -.plugin-card-update-failed .plugin-card-bottom { - display: none; -} - -.plugin-card .column-rating { - line-height: 1.76923076; -} - -.plugin-card .column-rating, -.plugin-card .column-updated { - margin-bottom: 4px; -} - -.plugin-card .column-rating, -.plugin-card .column-downloaded { - float: left; - clear: left; - max-width: 180px; -} - -.plugin-card .column-updated, -.plugin-card .column-compatibility { - text-align: right; - float: right; - clear: right; - width: 65%; - width: calc( 100% - 180px ); -} - -.plugin-card .column-compatibility span:before { - font: normal 20px/.5 dashicons; - speak: never; - display: inline-block; - padding: 0; - top: 4px; - left: -2px; - position: relative; - vertical-align: top; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; - color: #3c434a; -} - -.plugin-card .column-compatibility .compatibility-incompatible:before { - content: "\f158"; - color: #d63638; -} - -.plugin-card .column-compatibility .compatibility-compatible:before { - content: "\f147"; - color: #007017; -} - -.plugin-card .notice { - margin: 20px 20px 0; -} - -.plugin-icon { - position: absolute; - top: 20px; - left: 20px; - width: 128px; - height: 128px; - margin: 0 20px 20px 0; -} - -.no-plugin-results { - color: #646970; /* same as no themes and no media */ - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - width: 100%; - text-align: center; -} - -/* ms */ -/* Background Color for Site Status */ -.wp-list-table .site-deleted, -.wp-list-table tr.site-deleted, -.wp-list-table .site-archived, -.wp-list-table tr.site-archived { - background: #fcf0f1; -} -.wp-list-table .site-spammed, -.wp-list-table tr.site-spammed, -.wp-list-table .site-mature, -.wp-list-table tr.site-mature { - background: #fcf9e8; -} - -.sites.fixed .column-lastupdated, -.sites.fixed .column-registered { - width: 20%; -} - -.sites.fixed .column-users { - width: 80px; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) { - .plugin-card .action-links { - position: static; - margin-left: 148px; - width: auto; - } - - .plugin-action-buttons { - float: none; - margin: 1em 0 0; - text-align: left; - } - - .plugin-action-buttons li { - display: inline-block; - vertical-align: middle; - } - - .plugin-action-buttons li .button { - margin-right: 20px; - } - - .plugin-card h3 { - margin-right: 24px; - } - - .plugin-card .name, - .plugin-card .desc { - margin-right: 0; - } - - .plugin-card .desc p:first-of-type { - margin-top: 0; - } -} - -@media screen and (max-width: 782px) { - /* WP List Table Options & Filters */ - .tablenav { - height: auto; - } - - .tablenav.top { - margin: 20px 0 5px; - } - - .tablenav.bottom { - position: relative; - margin-top: 15px; - } - - .tablenav br { - display: none; - } - - .tablenav br.clear { - display: block; - } - - .tablenav.top .actions, - .tablenav .view-switch { - display: none; - } - - .view-switch a { - width: 36px; - height: 36px; - line-height: 2.53846153; - } - - /* Pagination */ - .tablenav.top .displaying-num { - display: none; - } - - .tablenav.bottom .displaying-num { - position: absolute; - right: 0; - top: 11px; - margin: 0; - font-size: 14px; - } - - .tablenav .tablenav-pages { - width: 100%; - text-align: center; - margin: 0 0 25px; - } - - .tablenav.bottom .tablenav-pages { - margin-top: 25px; - } - - .tablenav.top .tablenav-pages.one-page { - display: none; - } - - .tablenav.bottom .actions select { - margin-bottom: 5px; - } - - .tablenav.bottom .actions.alignleft + .actions.alignleft { - clear: left; - margin-top: 10px; - } - - .tablenav.bottom .tablenav-pages.one-page { - margin-top: 15px; - height: 0; - } - - .tablenav-pages .pagination-links { - font-size: 16px; - } - - .tablenav .tablenav-pages .button, - .tablenav .tablenav-pages .tablenav-pages-navspan { - min-width: 44px; - padding: 12px 8px; - font-size: 18px; - line-height: 1; - } - - .tablenav-pages .pagination-links .current-page { - min-width: 44px; - padding: 12px 6px; - font-size: 16px; - line-height: 1.125; - } - - /* WP List Table Adjustments: General */ - .form-wrap > p { - display: none; - } - - .wp-list-table th.column-primary ~ th, - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { - display: none; - } - - .wp-list-table thead th.column-primary { - width: 100%; - } - - /* Checkboxes need to show */ - .wp-list-table tr th.check-column { - display: table-cell; - } - - .wp-list-table .check-column { - width: 2.5em; - } - - .wp-list-table .column-primary .toggle-row { - display: block; - } - - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { - position: relative; - clear: both; - width: auto !important; /* needs to override some columns that are more specifically targeted */ - } - - .wp-list-table td.column-primary { - padding-right: 50px; /* space for toggle button */ - } - - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) { - padding: 3px 8px 3px 35%; - } - - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before { - position: absolute; - left: 10px; /* match padding of regular table cell */ - display: block; - overflow: hidden; - width: 32%; /* leave a little space for a gutter */ - content: attr(data-colname); - white-space: nowrap; - text-overflow: ellipsis; - } - - .wp-list-table .is-expanded td:not(.hidden) { - display: block !important; - overflow: hidden; /* clearfix */ - } - - /* Special cases */ - .widefat .num, - .column-posts { - text-align: left; - } - - #comments-form .fixed .column-author, - #commentsdiv .fixed .column-author { - display: none !important; - } - - .fixed .column-comment .comment-author { - display: block; - } - - /* Comment author hidden via Screen Options */ - .fixed .column-author.hidden ~ .column-comment .comment-author { - display: none; - } - - #the-comment-list .is-expanded td { - box-shadow: none; - } - - #the-comment-list .is-expanded td:last-child { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - /* Show comment bubble as text instead */ - .post-com-count .screen-reader-text { - position: static; - -webkit-clip-path: none; - clip-path: none; - width: auto; - height: auto; - margin: 0; - } - - .column-response .post-com-count-no-comments:after, - .column-response .post-com-count-approved:after, - .column-comments .post-com-count-no-comments:after, - .column-comments .post-com-count-approved:after { - content: none; - } - - .column-response .post-com-count [aria-hidden="true"], - .column-comments .post-com-count [aria-hidden="true"] { - display: none; - } - - .column-response .post-com-count-wrapper, - .column-comments .post-com-count-wrapper { - white-space: normal; - } - - .column-response .post-com-count-wrapper > a, - .column-comments .post-com-count-wrapper > a { - display: block; - } - - .column-response .post-com-count-no-comments, - .column-response .post-com-count-approved, - .column-comments .post-com-count-no-comments, - .column-comments .post-com-count-approved { - margin-top: 0; - margin-right: 0.5em; - } - - .column-response .post-com-count-pending, - .column-comments .post-com-count-pending { - position: static; - height: auto; - min-width: 0; - padding: 0; - border: none; - border-radius: 0; - background: none; - color: #b32d2e; - font-size: inherit; - line-height: inherit; - text-align: left; - } - - .column-response .post-com-count-pending:hover, - .column-comments .post-com-count-pending:hover { - color: #d63638; - } - - .widefat thead td.check-column, - .widefat tfoot td.check-column { - padding-top: 10px; - } - - .row-actions { - margin-left: -8px; - margin-right: -8px; - padding-top: 4px; - } - - /* Make row actions more easy to select on mobile */ - body:not(.plugins-php) .row-actions { - display: flex; - flex-wrap: wrap; - gap: 8px; - color: transparent; - } - - .row-actions span a, - .row-actions span .button-link { - display: inline-block; - padding: 4px 8px; - line-height: 1.5; - } - - .row-actions span.approve:before, - .row-actions span.unapprove:before { - content: "| "; - } - - /* Quick Edit and Bulk Edit */ - #wpbody-content .quick-edit-row-post .inline-edit-col-left, - #wpbody-content .quick-edit-row-post .inline-edit-col-right, - #wpbody-content .inline-edit-row-post .inline-edit-col-center, - #wpbody-content .quick-edit-row-page .inline-edit-col-left, - #wpbody-content .quick-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row-post .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-left, - #wpbody-content .bulk-edit-row-page .inline-edit-col-right, - #wpbody-content .bulk-edit-row .inline-edit-col-bottom { - float: none; - width: 100%; - padding: 0; - } - - #the-list .inline-edit-row .inline-edit-legend, - .inline-edit-row span.title { - font-size: 16px; - } - - .inline-edit-row p.howto { - font-size: 14px; - } - - #wpbody-content .inline-edit-row-page .inline-edit-col-right { - margin-top: 0; - } - - #wpbody-content .quick-edit-row fieldset .inline-edit-col label, - #wpbody-content .quick-edit-row fieldset .inline-edit-group label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-col label, - #wpbody-content .bulk-edit-row fieldset .inline-edit-group label { - max-width: none; - float: none; - margin-bottom: 5px; - } - - #wpbody .bulk-edit-row fieldset select { - display: block; - width: 100%; - max-width: none; - box-sizing: border-box; - } - - .inline-edit-row fieldset input[name=jj], - .inline-edit-row fieldset input[name=hh], - .inline-edit-row fieldset input[name=mn], - .inline-edit-row fieldset input[name=aa] { - font-size: 16px; - line-height: 2; - padding: 3px 4px; - } - - #bulk-titles .ntdelbutton, - #bulk-titles .ntdeltitle, - .inline-edit-row fieldset ul.cat-checklist label { - padding: 6px 0; - font-size: 16px; - line-height: 28px; - } - - #bulk-titles .ntdelitem { - padding-left: 37px; - } - - #bulk-titles .ntdelbutton { - width: 40px; - height: 40px; - margin: 0 0 0 -40px; - overflow: hidden; - } - - #bulk-titles .ntdelbutton:before { - font-size: 20px; - line-height: 28px; - } - - .inline-edit-row fieldset label span.title, - .inline-edit-row fieldset.inline-edit-date legend { - float: none; - } - - .inline-edit-row fieldset .inline-edit-col label.inline-edit-tags { - padding: 0; - } - - .inline-edit-row fieldset label span.input-text-wrap, - .inline-edit-row fieldset .timestamp-wrap { - margin-left: 0; - } - - .inline-edit-row .inline-edit-or { - margin: 0 6px 0 0; - } - - #edithead .inside, - #commentsdiv #edithead .inside { - float: none; - text-align: left; - padding: 3px 5px; - } - - #commentsdiv #edithead .inside input, - #edithead .inside input { - width: 100%; - } - - #edithead label { - display: block; - } - - /* Updates */ - #wpbody-content .updates-table .plugin-title { - width: auto; - white-space: normal; - } - - /* Links */ - .link-manager-php #posts-filter { - margin-top: 25px; - } - - .link-manager-php .tablenav.bottom { - overflow: hidden; - } - - /* List tables that don't toggle rows */ - .comments-box .toggle-row, - .wp-list-table.plugins .toggle-row { - display: none; - } - - /* Plugin/Theme Management */ - #wpbody-content .wp-list-table.plugins td { - display: block; - width: auto; - padding: 10px 9px; /* reset from other list tables that have a label at this width */ - } - - /* Plugin description hidden via Screen Options */ - #wpbody-content .wp-list-table.plugins .desc.hidden { - display: none; - } - - #wpbody-content .wp-list-table.plugins .column-description { - padding-top: 2px; - } - - #wpbody-content .wp-list-table.plugins .plugin-title, - #wpbody-content .wp-list-table.plugins .theme-title { - padding-right: 12px; - white-space: normal; - } - - .wp-list-table.plugins .plugin-title, - .wp-list-table.plugins .theme-title { - padding-top: 13px; - padding-bottom: 4px; - } - - .plugins #the-list tr > td:not(:last-child), - .plugins #the-list .update th, - .plugins #the-list .update td, - .wp-list-table.plugins #the-list .theme-title { - box-shadow: none; - border-top: none; - } - - .plugins #the-list tr td { - border-top: none; - } - - .plugins tbody { - padding: 1px 0 0; - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td.column-description, - .plugins .plugin-update-tr:before { - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - .plugins tr.active + tr.inactive th.check-column, - .plugins tr.active + tr.inactive td { - border-top: none; - } - - /* mimic the checkbox th */ - .plugins .plugin-update-tr:before { - content: ""; - display: table-cell; - } - - .plugins #the-list .plugin-update-tr .plugin-update { - border-left: none; - } - - .plugin-update-tr .update-message { - margin-left: 0; - } - - .plugins .active.update + .plugin-update-tr:before, - .plugins .active.updated + .plugin-update-tr:before { - background-color: #f0f6fc; - border-left: 4px solid #72aee6; - } - - .plugins .plugin-update-tr .update-message { - margin-left: 0; - } - - .wp-list-table.plugins .plugin-title strong, - .wp-list-table.plugins .theme-title strong { - font-size: 1.4em; - line-height: 1.5; - } - - .plugins tbody th.check-column { - padding: 8px 0 0 5px; - } - - .plugins thead td.check-column, - .plugins tfoot td.check-column, - .plugins .inactive th.check-column { - padding-left: 9px; - } - - /* Add New plugins page */ - table.plugin-install .column-name, - table.plugin-install .column-version, - table.plugin-install .column-rating, - table.plugin-install .column-description { - display: block; - width: auto; - } - - table.plugin-install th.column-name, - table.plugin-install th.column-version, - table.plugin-install th.column-rating, - table.plugin-install th.column-description { - display: none; - } - - table.plugin-install td.column-name strong { - font-size: 1.4em; - line-height: 1.6em; - } - - table.plugin-install #the-list td { - box-shadow: none; - } - - table.plugin-install #the-list tr { - display: block; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1); - } - - .plugin-card { - margin-left: 0; - margin-right: 0; - width: 100%; - } - - table.media .column-title .has-media-icon ~ .row-actions { - margin-left: 0; - clear: both; - } -} - -@media screen and (max-width: 480px) { - .tablenav-pages .current-page { - margin: 0; - } - - .tablenav.bottom .displaying-num { - position: relative; - top: 0; - display: block; - text-align: right; - padding-bottom: 0.5em; - } - - .tablenav.bottom .tablenav-pages.one-page { - height: auto; - } - - .tablenav-pages .tablenav-paging-text { - float: left; - width: 100%; - padding-top: 0.5em; - } -} diff --git a/build/wp-admin/css/list-tables.min.css b/build/wp-admin/css/list-tables.min.css deleted file mode 100644 index 7f3b9fd002..0000000000 --- a/build/wp-admin/css/list-tables.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.response-links{display:block;margin-bottom:1em}.response-links a{display:block}.response-links a.comments-edit-item-link{font-weight:600}.response-links a.comments-view-item-link{font-size:12px}.post-com-count-wrapper strong{font-weight:400}.comments-view-item-link{display:inline-block;clear:both}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:nowrap;word-wrap:normal}.column-comments .post-com-count,.column-response .post-com-count{display:inline-block;vertical-align:top}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:5px}.column-comments .comment-count-approved,.column-comments .comment-count-no-comments,.column-response .comment-count-approved,.column-response .comment-count-no-comments{box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;border-radius:5px;background-color:#646970;color:#fff;font-size:11px;line-height:1.90909090;text-align:center}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #646970;border-right:5px solid transparent}.column-comments a.post-com-count-approved:focus .comment-count-approved,.column-comments a.post-com-count-approved:hover .comment-count-approved,.column-response a.post-com-count-approved:focus .comment-count-approved,.column-response a.post-com-count-approved:hover .comment-count-approved{background:#2271b1}.column-comments a.post-com-count-approved:focus:after,.column-comments a.post-com-count-approved:hover:after,.column-response a.post-com-count-approved:focus:after,.column-response a.post-com-count-approved:hover:after{border-top-color:#2271b1}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;border-radius:11px;background:#d63638;color:#fff;font-size:9px;line-height:1.88888888;text-align:center}.column-comments .post-com-count-no-pending,.column-response .post-com-count-no-pending{display:none}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #c3c4c7}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#50575e}#replyrow td{padding:2px}#replysubmit{margin:0;padding:5px 7px 10px;overflow:hidden}#replysubmit .reply-submit-buttons{margin-bottom:0}#replysubmit .button{margin-right:5px}#replysubmit .spinner{float:none;margin:-4px 0 0}#replyrow.inline-edit-row fieldset.comment-reply{font-size:inherit;line-height:inherit}#replyrow legend{margin:0;padding:.2em 5px 0;font-size:13px;line-height:1.4;font-weight:600}#replyrow.inline-edit-row label{display:inline;vertical-align:baseline;line-height:inherit}#commentsdiv #edithead .inside,#edithead .inside{float:left;padding:3px 0 2px 5px;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;box-shadow:none}#replyerror{border-color:#dcdcde;background-color:#f6f7f7}.commentlist .avatar{vertical-align:text-top}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f6f7f7}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fcf9e8}#the-comment-list .unapproved th.check-column{border-left:4px solid #d63638}#the-comment-list .unapproved th.check-column input{margin-left:4px}#the-comment-list .approve a{color:#007017}#the-comment-list .unapprove a{color:#996800}#the-comment-list td,#the-comment-list th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#f0f6fc!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:"\f101";font:normal 20px/.5 dashicons;speak:never;display:inline-block;padding:0;top:4px;left:-4px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#3c434a}table.fixed{table-layout:fixed}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-date{width:14%}.column-date span[title]{-webkit-text-decoration:dotted underline;text-decoration:dotted underline}.fixed .column-posts{width:74px}.fixed .column-posts,.fixed .column-role{-webkit-hyphens:auto;hyphens:auto}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:5.5em;padding:8px 0;text-align:left}.fixed .column-comments .vers{padding-left:3px}td.column-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;font-size:14px}td.column-title p,td.plugin-title p{margin:6px 0}table.media .column-title .media-icon{float:left;min-height:60px;margin:0 9px 0 0}table.media .column-title .media-icon img{max-width:60px;height:auto;vertical-align:top}table.media .column-title .has-media-icon~.row-actions{margin-left:70px}table.media .column-title .filename{margin-bottom:.2em}.media .row-actions .copy-to-clipboard-container{display:inline;position:relative}.media .row-actions .copy-to-clipboard-container .success{position:absolute;left:50%;transform:translate(-50%,-100%);background:#000;color:#fff;border-radius:5px;margin:0;padding:2px 5px}.wp-list-table a{transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;box-shadow:none}#comments-form .fixed .column-author{width:20%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:1.38461538}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0 none}#commentsdiv .comments-box thead td,#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv #edithead .inside input{width:160px}.sorting-indicator{display:block;visibility:hidden;width:10px;height:4px;margin-top:8px;margin-left:7px}.sorting-indicator:before{content:"\f142";font:normal 20px/1 dashicons;speak:never;display:inline-block;padding:0;top:-4px;left:-8px;color:#3c434a;line-height:.5;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#3c434a}.column-comments .sorting-indicator:before{top:0;left:-10px}th.desc a:focus span.sorting-indicator:before,th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:"\f142"}th.asc a:focus span.sorting-indicator:before,th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:"\f140"}.wp-list-table .toggle-row{position:absolute;right:8px;top:10px;display:none;padding:0;width:40px;height:40px;border:none;outline:0;background:0 0}.wp-list-table .toggle-row:hover{cursor:pointer}.wp-list-table .toggle-row:focus:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.wp-list-table .toggle-row:active{box-shadow:none}.wp-list-table .toggle-row:before{position:absolute;top:-5px;left:10px;border-radius:50%;display:block;padding:1px 2px 1px 0;color:#3c434a;content:"\f140";font:normal 20px/1 dashicons;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:never}.wp-list-table .is-expanded .toggle-row:before{content:"\f142"}.locked-indicator{display:none;margin-left:6px;height:20px;width:16px}.locked-indicator-icon:before{color:#8c8f94;content:"\f160";display:inline-block;font:normal 20px/1 dashicons;speak:never;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.locked-info{display:none;margin-top:4px}.locked-text{vertical-align:top}.wp-locked .locked-indicator,.wp-locked .locked-info{display:block}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;overflow:hidden;padding:8px}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:left;cursor:pointer}th.asc a:focus span.sorting-indicator,th.asc:hover span.sorting-indicator,th.desc a:focus span.sorting-indicator,th.desc:hover span.sorting-indicator,th.sorted .sorting-indicator{visibility:visible}.tablenav-pages .current-page{margin:0 2px 0 0;font-size:13px;text-align:center}.tablenav .total-pages{margin-right:2px}.tablenav #table-paging{margin-left:2px}.tablenav{clear:both;height:30px;margin:6px 0 4px;padding-top:5px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:right;margin:0 0 9px}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages .button,.tablenav .tablenav-pages .tablenav-pages-navspan{display:inline-block;vertical-align:baseline;min-width:30px;min-height:30px;margin:0;padding:0 4px;font-size:16px;line-height:1.625;text-align:center}.tablenav .displaying-num{margin-right:7px}.tablenav .one-page .displaying-num{display:inline-block;margin:5px 0}.tablenav .actions{padding:0 8px 0 0}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-right:20px}.tablenav .view-switch{float:right;margin:0 5px;padding-top:3px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:12px 0;margin:0 8px 0 2px}.media-toolbar.wp-filter .view-switch{margin:0 12px 0 2px}.view-switch a{float:left;width:28px;height:28px;text-align:center;line-height:1.84615384;text-decoration:none}.view-switch a:before{color:#c3c4c7;display:inline-block;font:normal 20px/1 dashicons;speak:never;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch a:focus:before,.view-switch a:hover:before{color:#787c82}.view-switch a.current:before{color:#2271b1}.view-switch .view-list:before{content:"\f163"}.view-switch .view-excerpt:before{content:"\f164"}.view-switch .view-grid:before{content:"\f509"}.filter{float:left;margin:-5px 0 0 10px}.filter .subsubsub{margin-left:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0}#posts-filter fieldset legend{padding:0 0 .2em 1px}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:left;margin-right:10px;margin-top:1px}.row-actions{color:#a7aaad;font-size:13px;padding:2px 0 0;position:relative;left:-9999em}.rtl .row-actions a{display:inline-block}.row-actions .network_active,.row-actions .network_only{color:#000}.comment-item:hover .row-actions,.mobile .row-actions,.no-js .row-actions,.row-actions.visible,tr:hover .row-actions{position:static}.row-actions-visible{padding:2px 0 0}#wpbody-content .inline-edit-row fieldset{float:left;margin:0;padding:0 12px 0 0;width:100%;box-sizing:border-box}#wpbody-content .inline-edit-row td fieldset:last-of-type{padding-right:0}tr.inline-edit-row td{padding:0;position:relative}.inline-edit-wrapper{display:flow-root;padding:0 12px;border:1px solid transparent;border-radius:4px}.inline-edit-wrapper:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:2px solid transparent}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:50%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:right;width:69%}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both;line-height:2.5}.inline-edit-row .submit{display:flex;flex-wrap:wrap;align-items:center;clear:both;margin:0;padding:.5em 0 1em}.inline-edit-save.submit .button{margin-right:8px}.inline-edit-save .spinner{float:none;margin:0}.inline-edit-row .notice-error{box-sizing:border-box;min-width:100%;margin-top:1em}.inline-edit-row .notice-error .error{margin:.5em 0;padding:2px}#the-list .inline-edit-row .inline-edit-legend{margin:0;padding:.2em 0;line-height:2.5;font-weight:600}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;line-height:2.5}.inline-edit-row fieldset.inline-edit-date label{display:inline-block;margin:0;vertical-align:baseline;line-height:2}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{display:block;float:left;width:6em;line-height:2.5}#posts-filter fieldset.inline-edit-date legend{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-left:6em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-right:.5em}.inline-edit-row .inline-edit-or{margin:.2em 6px .2em 0;line-height:2.5}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:middle}.inline-edit-row fieldset label textarea{width:100%;height:4em;vertical-align:top}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-row .inline-edit-legend{text-transform:uppercase}.inline-edit-row fieldset .inline-edit-date{float:left}.inline-edit-row fieldset input[name=aa],.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{vertical-align:middle;text-align:center;padding:0 4px}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}#bulk-titles-list,#bulk-titles-list li,.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row fieldset ul.cat-checklist input{margin-top:-1px;margin-left:3px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.quick-edit-row-post fieldset label.inline-edit-status{float:left}#bulk-titles,ul.cat-checklist{height:14em;border:1px solid #ddd;margin:0 0 5px;padding:.2em 5px;overflow-y:scroll}#bulk-titles .ntdelbutton,#bulk-titles .ntdeltitle,.inline-edit-row fieldset ul.cat-checklist label{display:inline-block;margin:0;padding:3px 0;line-height:20px;vertical-align:top}#bulk-titles .ntdelitem{padding-left:23px}#bulk-titles .ntdelbutton{width:26px;height:26px;margin:0 0 0 -26px;text-align:center;border-radius:3px}#bulk-titles .ntdelbutton:before{display:inline-block;vertical-align:top}#bulk-titles .ntdelbutton:focus{box-shadow:0 0 0 2px #3582c4;outline:2px solid transparent;outline-offset:0}.plugins tbody,.plugins tbody th.check-column{padding:8px 0 0 2px}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}.updates-table .plugin-title p{margin-top:0}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-left:6px}.plugins,.plugins td,.plugins th{color:#000}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5}.plugins .desc ol,.plugins .desc ul{margin:0 0 0 2em}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px;padding:0}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f0f6fc}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #dcdcde}.plugins .update td,.plugins .update th,.plugins .updated td,.plugins .updated th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.plugins tr.active+tr.inactive.updated td,.plugins tr.active+tr.inactive.updated th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{box-shadow:none}.plugin-update-tr.active td,.plugins .active th.check-column{border-left:4px solid #72aee6}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-right:12px;white-space:nowrap}.plugins .plugin-title .dashicons,.plugins .plugin-title img{float:left;padding:0 10px 0 0;width:64px;height:64px}.plugins .plugin-title .dashicons:before{padding:2px;background-color:#f0f0f1;box-shadow:inset 0 0 10px rgba(167,170,173,.15);font-size:60px;color:#c3c4c7}#update-themes-table .plugin-title .dashicons,#update-themes-table .plugin-title img{width:85px}.plugins .column-auto-updates{width:14.2em}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .row-actions{white-space:normal;min-width:12em}.plugins .update .row-actions,.plugins .update .second,.plugins .updated .row-actions,.plugins .updated .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugins .plugin-update-tr .plugin-update{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);overflow:hidden;padding:0}.plugins .plugin-update-tr .notice,.plugins .plugin-update-tr div[class=update-message]{margin:5px 20px 15px 40px}.plugins .notice p{margin:.5em 0}.plugins .plugin-description a,.plugins .plugin-update a,.updates-table .plugin-title a{text-decoration:underline}.plugins tr.paused th.check-column{border-left:4px solid #b32d2e}.plugins tr.paused td,.plugins tr.paused th{background-color:#f6f7f7}.plugins .paused .dashicons-warning,.plugins tr.paused .plugin-title{color:#b32d2e}.plugins .paused .error-display code,.plugins .paused .error-display p{font-size:90%;color:rgba(0,0,0,.7)}.plugins .resume-link{color:#b32d2e}.plugin-card .update-now:before{color:#d63638;content:"\f463";display:inline-block;font:normal 20px/1 dashicons;margin:-3px 5px 0 -2px;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.plugin-card .updating-message:before{content:"\f463";animation:rotation 2s infinite linear}@keyframes rotation{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}.plugin-card .updated-message:before{color:#68de7c;content:"\f147"}.plugin-install-php #the-list{display:flex;flex-wrap:wrap}.plugin-install-php .plugin-card{display:flex;flex-direction:column;justify-content:space-between}.plugin-install-php h2{clear:both}.plugin-install-php h3{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{float:left;margin:0 8px 16px;width:48.5%;width:calc(50% - 8px);background-color:#fff;border:1px solid #dcdcde;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-left:0}.plugin-card:nth-child(even){margin-right:0}@media screen and (min-width:1600px) and (max-width:2299px){.plugin-card{width:30%;width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-left:8px}.plugin-card:nth-child(even){margin-right:8px}.plugin-card:nth-child(3n+1){clear:both;margin-left:0}.plugin-card:nth-child(3n){margin-right:0}}@media screen and (min-width:2300px){.plugin-card{width:25%;width:calc(25% - 12px)}.plugin-card:nth-child(odd){clear:none;margin-left:8px}.plugin-card:nth-child(even){margin-right:8px}.plugin-card:nth-child(4n+1){clear:both;margin-left:0}.plugin-card:nth-child(4n){margin-right:0}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h3{margin:0 12px 12px 0;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-left:148px;margin-right:128px}.plugin-card .action-links{position:absolute;top:20px;right:20px;width:120px}.plugin-action-buttons{clear:right;float:right;margin-bottom:1em;text-align:right}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#f6f7f7;border-top:1px solid #dcdcde;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card-update-failed .update-now{font-weight:600}.plugin-card-update-failed .notice-error{margin:0;padding-left:16px;box-shadow:0 -1px 0 #dcdcde}.plugin-card-update-failed .plugin-card-bottom{display:none}.plugin-card .column-rating{line-height:1.76923076}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:left;clear:left;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:right;float:right;clear:right;width:65%;width:calc(100% - 180px)}.plugin-card .column-compatibility span:before{font:normal 20px/.5 dashicons;speak:never;display:inline-block;padding:0;top:4px;left:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#3c434a}.plugin-card .column-compatibility .compatibility-incompatible:before{content:"\f158";color:#d63638}.plugin-card .column-compatibility .compatibility-compatible:before{content:"\f147";color:#007017}.plugin-card .notice{margin:20px 20px 0}.plugin-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0}.no-plugin-results{color:#646970;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;width:100%;text-align:center}.wp-list-table .site-archived,.wp-list-table .site-deleted,.wp-list-table tr.site-archived,.wp-list-table tr.site-deleted{background:#fcf0f1}.wp-list-table .site-mature,.wp-list-table .site-spammed,.wp-list-table tr.site-mature,.wp-list-table tr.site-spammed{background:#fcf9e8}.sites.fixed .column-lastupdated,.sites.fixed .column-registered{width:20%}.sites.fixed .column-users{width:80px}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-left:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:left}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-right:20px}.plugin-card h3{margin-right:24px}.plugin-card .desc,.plugin-card .name{margin-right:0}.plugin-card .desc p:first-of-type{margin-top:0}}@media screen and (max-width:782px){.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.tablenav .view-switch,.tablenav.top .actions{display:none}.view-switch a{width:36px;height:36px;line-height:2.53846153}.tablenav.top .displaying-num{display:none}.tablenav.bottom .displaying-num{position:absolute;right:0;top:11px;margin:0;font-size:14px}.tablenav .tablenav-pages{width:100%;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.top .tablenav-pages.one-page{display:none}.tablenav.bottom .actions select{margin-bottom:5px}.tablenav.bottom .actions.alignleft+.actions.alignleft{clear:left;margin-top:10px}.tablenav.bottom .tablenav-pages.one-page{margin-top:15px;height:0}.tablenav-pages .pagination-links{font-size:16px}.tablenav .tablenav-pages .button,.tablenav .tablenav-pages .tablenav-pages-navspan{min-width:44px;padding:12px 8px;font-size:18px;line-height:1}.tablenav-pages .pagination-links .current-page{min-width:44px;padding:12px 6px;font-size:16px;line-height:1.125}.form-wrap>p{display:none}.wp-list-table th.column-primary~th,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){display:none}.wp-list-table thead th.column-primary{width:100%}.wp-list-table tr th.check-column{display:table-cell}.wp-list-table .check-column{width:2.5em}.wp-list-table .column-primary .toggle-row{display:block}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){position:relative;clear:both;width:auto!important}.wp-list-table td.column-primary{padding-right:50px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 8px 3px 35%}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before{position:absolute;left:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis}.wp-list-table .is-expanded td:not(.hidden){display:block!important;overflow:hidden}.column-posts,.widefat .num{text-align:left}#comments-form .fixed .column-author,#commentsdiv .fixed .column-author{display:none!important}.fixed .column-comment .comment-author{display:block}.fixed .column-author.hidden~.column-comment .comment-author{display:none}#the-comment-list .is-expanded td{box-shadow:none}#the-comment-list .is-expanded td:last-child{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.post-com-count .screen-reader-text{position:static;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:none}.column-comments .post-com-count [aria-hidden=true],.column-response .post-com-count [aria-hidden=true]{display:none}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:normal}.column-comments .post-com-count-wrapper>a,.column-response .post-com-count-wrapper>a{display:block}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:0;margin-right:.5em}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:static;height:auto;min-width:0;padding:0;border:none;border-radius:0;background:0 0;color:#b32d2e;font-size:inherit;line-height:inherit;text-align:left}.column-comments .post-com-count-pending:hover,.column-response .post-com-count-pending:hover{color:#d63638}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:10px}.row-actions{margin-left:-8px;margin-right:-8px;padding-top:4px}body:not(.plugins-php) .row-actions{display:flex;flex-wrap:wrap;gap:8px;color:transparent}.row-actions span .button-link,.row-actions span a{display:inline-block;padding:4px 8px;line-height:1.5}.row-actions span.approve:before,.row-actions span.unapprove:before{content:"| "}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%;padding:0}#the-list .inline-edit-row .inline-edit-legend,.inline-edit-row span.title{font-size:16px}.inline-edit-row p.howto{font-size:14px}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:0}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;box-sizing:border-box}.inline-edit-row fieldset input[name=aa],.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:16px;line-height:2;padding:3px 4px}#bulk-titles .ntdelbutton,#bulk-titles .ntdeltitle,.inline-edit-row fieldset ul.cat-checklist label{padding:6px 0;font-size:16px;line-height:28px}#bulk-titles .ntdelitem{padding-left:37px}#bulk-titles .ntdelbutton{width:40px;height:40px;margin:0 0 0 -40px;overflow:hidden}#bulk-titles .ntdelbutton:before{font-size:20px;line-height:28px}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{float:none}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{margin-left:0}.inline-edit-row .inline-edit-or{margin:0 6px 0 0}#commentsdiv #edithead .inside,#edithead .inside{float:none;text-align:left;padding:3px 5px}#commentsdiv #edithead .inside input,#edithead .inside input{width:100%}#edithead label{display:block}#wpbody-content .updates-table .plugin-title{width:auto;white-space:normal}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.comments-box .toggle-row,.wp-list-table.plugins .toggle-row{display:none}#wpbody-content .wp-list-table.plugins td{display:block;width:auto;padding:10px 9px}#wpbody-content .wp-list-table.plugins .desc.hidden{display:none}#wpbody-content .wp-list-table.plugins .column-description{padding-top:2px}#wpbody-content .wp-list-table.plugins .plugin-title,#wpbody-content .wp-list-table.plugins .theme-title{padding-right:12px;white-space:normal}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins #the-list .update td,.plugins #the-list .update th,.plugins #the-list tr>td:not(:last-child),.wp-list-table.plugins #the-list .theme-title{box-shadow:none;border-top:none}.plugins #the-list tr td{border-top:none}.plugins tbody{padding:1px 0 0}.plugins .plugin-update-tr:before,.plugins tr.active+tr.inactive td.column-description,.plugins tr.active+tr.inactive th.check-column{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.plugins .plugin-update-tr:before{content:"";display:table-cell}.plugins #the-list .plugin-update-tr .plugin-update{border-left:none}.plugin-update-tr .update-message{margin-left:0}.plugins .active.update+.plugin-update-tr:before,.plugins .active.updated+.plugin-update-tr:before{background-color:#f0f6fc;border-left:4px solid #72aee6}.plugins .plugin-update-tr .update-message{margin-left:0}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong{font-size:1.4em;line-height:1.5}.plugins tbody th.check-column{padding:8px 0 0 5px}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-left:9px}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}table.plugin-install #the-list td{box-shadow:none}table.plugin-install #the-list tr{display:block;box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugin-card{margin-left:0;margin-right:0;width:100%}table.media .column-title .has-media-icon~.row-actions{margin-left:0;clear:both}}@media screen and (max-width:480px){.tablenav-pages .current-page{margin:0}.tablenav.bottom .displaying-num{position:relative;top:0;display:block;text-align:right;padding-bottom:.5em}.tablenav.bottom .tablenav-pages.one-page{height:auto}.tablenav-pages .tablenav-paging-text{float:left;width:100%;padding-top:.5em}} \ No newline at end of file diff --git a/build/wp-admin/css/login-rtl.css b/build/wp-admin/css/login-rtl.css deleted file mode 100644 index bfef5c91c1..0000000000 --- a/build/wp-admin/css/login-rtl.css +++ /dev/null @@ -1,480 +0,0 @@ -/*! This file is auto-generated */ -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -body { - background: #f0f0f1; - min-width: 0; - color: #3c434a; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - line-height: 1.4; -} - -a { - color: #2271b1; - transition-property: border, background, color; - transition-duration: .05s; - transition-timing-function: ease-in-out; -} - -a { - outline: 0; -} - -a:hover, -a:active { - color: #135e96; -} - -a:focus { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -p { - line-height: 1.5; -} - -.login .message, -.login .success, -.login #login_error { - border-right: 4px solid #72aee6; - padding: 12px; - margin-right: 0; - margin-bottom: 20px; - background-color: #fff; - box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); - word-wrap: break-word; -} - -.login .success { - border-right-color: #00a32a; -} - -.login #login_error { - border-right-color: #d63638; -} - -#loginform p.submit, -.login-action-lostpassword p.submit { - border: none; - margin: -10px 0 20px; /* May want to revisit this */ -} - -.login * { - margin: 0; - padding: 0; -} - -.login .input::-ms-clear { - display: none; -} - -.login .pw-weak { - margin-bottom: 15px; -} - -.login .button.wp-hide-pw { - background: transparent; - border: 1px solid transparent; - box-shadow: none; - font-size: 14px; - line-height: 2; - width: 2.5rem; - height: 2.5rem; - min-width: 40px; - min-height: 40px; - margin: 0; - padding: 5px 9px; - position: absolute; - left: 0; - top: 0; -} - -.login .button.wp-hide-pw:hover { - background: transparent; -} - -.login .button.wp-hide-pw:focus { - background: transparent; - border-color: #3582c4; - box-shadow: 0 0 0 1px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.login .button.wp-hide-pw:active { - background: transparent; - box-shadow: none; - transform: none; -} - -.login .button.wp-hide-pw .dashicons { - width: 1.25rem; - height: 1.25rem; - top: 0.25rem; -} - -.login .wp-pwd { - position: relative; -} - -.no-js .hide-if-no-js { - display: none; -} - -.login form { - margin-top: 20px; - margin-right: 0; - padding: 26px 24px 34px; - font-weight: 400; - overflow: hidden; - background: #fff; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); -} - -.login form.shake { - animation: shake 0.2s cubic-bezier(.19,.49,.38,.79) both; - animation-iteration-count: 3; - transform: translateX(0); -} - -@keyframes shake { - 25% { - transform: translateX(20px); - } - 75% { - transform: translateX(-20px); - } - 100% { - transform: translateX(0); - } -} - -@media (prefers-reduced-motion: reduce) { - .login form.shake { - animation: none; - transform: none; - } -} - -.login-action-confirm_admin_email #login { - width: 60vw; - max-width: 650px; - margin-top: -2vh; -} - -@media screen and (max-width: 782px) { - .login-action-confirm_admin_email #login { - box-sizing: border-box; - margin-top: 0; - padding-right: 4vw; - padding-left: 4vw; - width: 100vw; - } -} - -.login form .forgetmenot { - font-weight: 400; - float: right; - margin-bottom: 0; -} - -.login .button-primary { - float: left; -} - -.login .reset-pass-submit { - display: flex; - flex-flow: row wrap; - justify-content: space-between; -} - -.login .reset-pass-submit .button { - display: inline-block; - float: none; - margin-bottom: 6px; -} - -.login .admin-email-confirm-form .submit { - text-align: center; -} - -.admin-email__later { - text-align: right; -} - -.login form p.admin-email__details { - margin: 1.1em 0; -} - -.login h1.admin-email__heading { - border-bottom: 1px #f0f0f1 solid; - color: #50575e; - font-weight: normal; - padding-bottom: 0.5em; - text-align: right; -} - -.admin-email__actions div { - padding-top: 1.5em; -} - -.login .admin-email__actions .button-primary { - float: none; - margin-right: 0.25em; - margin-left: 0.25em; -} - -#login form p { - margin-bottom: 0; -} - -#login form p.submit { - margin: 0; - padding: 0; -} - -.login label { - font-size: 14px; - line-height: 1.5; - display: inline-block; - margin-bottom: 3px; -} - -.login .forgetmenot label, -.login .pw-weak label { - line-height: 1.5; - vertical-align: baseline; -} - -.login h1 { - text-align: center; -} - -.login h1 a { - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #3c434a; - height: 84px; - font-size: 20px; - font-weight: 400; - line-height: 1.3; - margin: 0 auto 25px; - padding: 0; - text-decoration: none; - width: 84px; - text-indent: -9999px; - outline: none; - overflow: hidden; - display: block; -} - -#login { - width: 320px; - padding: 5% 0 0; - margin: auto; -} - -.login #nav, -.login #backtoblog { - font-size: 13px; - padding: 0 24px; -} - -.login #nav { - margin: 24px 0 0; -} - -#backtoblog { - margin: 16px 0; - word-wrap: break-word; -} - -.login #nav a, -.login #backtoblog a { - text-decoration: none; - color: #50575e; -} - -.login #nav a:hover, -.login #backtoblog a:hover, -.login h1 a:hover { - color: #135e96; -} - -.login #nav a:focus, -.login #backtoblog a:focus, -.login h1 a:focus { - color: #043959; -} - -.login .privacy-policy-page-link { - text-align: center; - width: 100%; - margin: 3em 0 2em; -} - -.login form .input, -.login input[type="text"], -.login input[type="password"] { - font-size: 24px; - line-height: 1.33333333; /* 32px */ - width: 100%; - border-width: 0.0625rem; - padding: 0.1875rem 0.3125rem; /* 3px 5px */ - margin: 0 0 16px 6px; - min-height: 40px; - max-height: none; -} - -.login input.password-input { - font-family: Consolas, Monaco, monospace; -} - -.js.login input.password-input, -.js.login-action-rp form .input, -.js.login-action-rp input[type="text"] { - padding-left: 2.5rem; -} - -.login form .input, -.login input[type="text"], -.login form input[type="checkbox"] { - background: #fff; -} - -.js.login-action-rp input[type="text"], -.js.login-action-rp input[type="password"] { - margin-bottom: 0; -} - -.login #pass-strength-result { - font-weight: 600; - margin: -1px 0 16px 5px; - padding: 6px 5px; - text-align: center; - width: 100%; -} - -body.interim-login { - height: auto; -} - -.interim-login #login { - padding: 0; - margin: 5px auto 20px; -} - -.interim-login.login h1 a { - width: auto; -} - -.interim-login #login_error, -.interim-login.login .message { - margin: 0 0 16px; -} - -.interim-login.login form { - margin: 0; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span { - border: 0; - clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ -} - -/* Hide the Edge "reveal password" native button */ -input::-ms-reveal { - display: none; -} - -#language-switcher { - padding: 0; - overflow: visible; - background: none; - border: none; - box-shadow: none; -} - -#language-switcher select { - margin-left: 0.25em; -} - -.language-switcher { - margin: 0 auto; - padding: 0 0 24px; - text-align: center; -} - -.language-switcher label { - margin-left: 0.25em; -} - -.language-switcher label .dashicons { - width: auto; - height: auto; -} - -.login .language-switcher .button-primary { - float: none; - margin-bottom: 0; -} - -@media screen and (max-height: 550px) { - #login { - padding: 20px 0; - } - - #language-switcher { - margin-top: 0; - } -} - - -@media screen and (max-width: 782px) { - .interim-login input[type=checkbox] { - width: 1rem; - height: 1rem; - } - - .interim-login input[type=checkbox]:checked:before { - width: 1.3125rem; - height: 1.3125rem; - margin: -0.1875rem -0.25rem 0 0; - } - - #language-switcher label, - #language-switcher select { - margin-left: 0; - } -} - -@media screen and (max-width: 400px) { - .login .language-switcher .button-primary { - display: block; - margin: 5px auto 0; - } -} diff --git a/build/wp-admin/css/login-rtl.min.css b/build/wp-admin/css/login-rtl.min.css deleted file mode 100644 index d4fe0dadfb..0000000000 --- a/build/wp-admin/css/login-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body,html{height:100%;margin:0;padding:0}body{background:#f0f0f1;min-width:0;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4}a{color:#2271b1;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}a{outline:0}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}p{line-height:1.5}.login #login_error,.login .message,.login .success{border-right:4px solid #72aee6;padding:12px;margin-right:0;margin-bottom:20px;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);word-wrap:break-word}.login .success{border-right-color:#00a32a}.login #login_error{border-right-color:#d63638}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login .input::-ms-clear{display:none}.login .pw-weak{margin-bottom:15px}.login .button.wp-hide-pw{background:0 0;border:1px solid transparent;box-shadow:none;font-size:14px;line-height:2;width:2.5rem;height:2.5rem;min-width:40px;min-height:40px;margin:0;padding:5px 9px;position:absolute;left:0;top:0}.login .button.wp-hide-pw:hover{background:0 0}.login .button.wp-hide-pw:focus{background:0 0;border-color:#3582c4;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.login .button.wp-hide-pw:active{background:0 0;box-shadow:none;transform:none}.login .button.wp-hide-pw .dashicons{width:1.25rem;height:1.25rem;top:.25rem}.login .wp-pwd{position:relative}.no-js .hide-if-no-js{display:none}.login form{margin-top:20px;margin-right:0;padding:26px 24px 34px;font-weight:400;overflow:hidden;background:#fff;border:1px solid #c3c4c7;box-shadow:0 1px 3px rgba(0,0,0,.04)}.login form.shake{animation:shake .2s cubic-bezier(.19,.49,.38,.79) both;animation-iteration-count:3;transform:translateX(0)}@keyframes shake{25%{transform:translateX(20px)}75%{transform:translateX(-20px)}100%{transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.login form.shake{animation:none;transform:none}}.login-action-confirm_admin_email #login{width:60vw;max-width:650px;margin-top:-2vh}@media screen and (max-width:782px){.login-action-confirm_admin_email #login{box-sizing:border-box;margin-top:0;padding-right:4vw;padding-left:4vw;width:100vw}}.login form .forgetmenot{font-weight:400;float:right;margin-bottom:0}.login .button-primary{float:left}.login .reset-pass-submit{display:flex;flex-flow:row wrap;justify-content:space-between}.login .reset-pass-submit .button{display:inline-block;float:none;margin-bottom:6px}.login .admin-email-confirm-form .submit{text-align:center}.admin-email__later{text-align:right}.login form p.admin-email__details{margin:1.1em 0}.login h1.admin-email__heading{border-bottom:1px #f0f0f1 solid;color:#50575e;font-weight:400;padding-bottom:.5em;text-align:right}.admin-email__actions div{padding-top:1.5em}.login .admin-email__actions .button-primary{float:none;margin-right:.25em;margin-left:.25em}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{font-size:14px;line-height:1.5;display:inline-block;margin-bottom:3px}.login .forgetmenot label,.login .pw-weak label{line-height:1.5;vertical-align:baseline}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;height:84px;font-size:20px;font-weight:400;line-height:1.3;margin:0 auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#login{width:320px;padding:5% 0 0;margin:auto}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0;word-wrap:break-word}.login #backtoblog a,.login #nav a{text-decoration:none;color:#50575e}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#135e96}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#043959}.login .privacy-policy-page-link{text-align:center;width:100%;margin:3em 0 2em}.login form .input,.login input[type=password],.login input[type=text]{font-size:24px;line-height:1.33333333;width:100%;border-width:.0625rem;padding:.1875rem .3125rem;margin:0 0 16px 6px;min-height:40px;max-height:none}.login input.password-input{font-family:Consolas,Monaco,monospace}.js.login input.password-input,.js.login-action-rp form .input,.js.login-action-rp input[type=text]{padding-left:2.5rem}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fff}.js.login-action-rp input[type=password],.js.login-action-rp input[type=text]{margin-bottom:0}.login #pass-strength-result{font-weight:600;margin:-1px 0 16px 5px;padding:6px 5px;text-align:center;width:100%}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}.screen-reader-text,.screen-reader-text span{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}input::-ms-reveal{display:none}#language-switcher{padding:0;overflow:visible;background:0 0;border:none;box-shadow:none}#language-switcher select{margin-left:.25em}.language-switcher{margin:0 auto;padding:0 0 24px;text-align:center}.language-switcher label{margin-left:.25em}.language-switcher label .dashicons{width:auto;height:auto}.login .language-switcher .button-primary{float:none;margin-bottom:0}@media screen and (max-height:550px){#login{padding:20px 0}#language-switcher{margin-top:0}}@media screen and (max-width:782px){.interim-login input[type=checkbox]{width:1rem;height:1rem}.interim-login input[type=checkbox]:checked:before{width:1.3125rem;height:1.3125rem;margin:-.1875rem -.25rem 0 0}#language-switcher label,#language-switcher select{margin-left:0}}@media screen and (max-width:400px){.login .language-switcher .button-primary{display:block;margin:5px auto 0}} \ No newline at end of file diff --git a/build/wp-admin/css/login.css b/build/wp-admin/css/login.css deleted file mode 100644 index 1f89db216e..0000000000 --- a/build/wp-admin/css/login.css +++ /dev/null @@ -1,479 +0,0 @@ -html, -body { - height: 100%; - margin: 0; - padding: 0; -} - -body { - background: #f0f0f1; - min-width: 0; - color: #3c434a; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; - font-size: 13px; - line-height: 1.4; -} - -a { - color: #2271b1; - transition-property: border, background, color; - transition-duration: .05s; - transition-timing-function: ease-in-out; -} - -a { - outline: 0; -} - -a:hover, -a:active { - color: #135e96; -} - -a:focus { - color: #043959; - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -p { - line-height: 1.5; -} - -.login .message, -.login .success, -.login #login_error { - border-left: 4px solid #72aee6; - padding: 12px; - margin-left: 0; - margin-bottom: 20px; - background-color: #fff; - box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); - word-wrap: break-word; -} - -.login .success { - border-left-color: #00a32a; -} - -.login #login_error { - border-left-color: #d63638; -} - -#loginform p.submit, -.login-action-lostpassword p.submit { - border: none; - margin: -10px 0 20px; /* May want to revisit this */ -} - -.login * { - margin: 0; - padding: 0; -} - -.login .input::-ms-clear { - display: none; -} - -.login .pw-weak { - margin-bottom: 15px; -} - -.login .button.wp-hide-pw { - background: transparent; - border: 1px solid transparent; - box-shadow: none; - font-size: 14px; - line-height: 2; - width: 2.5rem; - height: 2.5rem; - min-width: 40px; - min-height: 40px; - margin: 0; - padding: 5px 9px; - position: absolute; - right: 0; - top: 0; -} - -.login .button.wp-hide-pw:hover { - background: transparent; -} - -.login .button.wp-hide-pw:focus { - background: transparent; - border-color: #3582c4; - box-shadow: 0 0 0 1px #3582c4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.login .button.wp-hide-pw:active { - background: transparent; - box-shadow: none; - transform: none; -} - -.login .button.wp-hide-pw .dashicons { - width: 1.25rem; - height: 1.25rem; - top: 0.25rem; -} - -.login .wp-pwd { - position: relative; -} - -.no-js .hide-if-no-js { - display: none; -} - -.login form { - margin-top: 20px; - margin-left: 0; - padding: 26px 24px 34px; - font-weight: 400; - overflow: hidden; - background: #fff; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); -} - -.login form.shake { - animation: shake 0.2s cubic-bezier(.19,.49,.38,.79) both; - animation-iteration-count: 3; - transform: translateX(0); -} - -@keyframes shake { - 25% { - transform: translateX(-20px); - } - 75% { - transform: translateX(20px); - } - 100% { - transform: translateX(0); - } -} - -@media (prefers-reduced-motion: reduce) { - .login form.shake { - animation: none; - transform: none; - } -} - -.login-action-confirm_admin_email #login { - width: 60vw; - max-width: 650px; - margin-top: -2vh; -} - -@media screen and (max-width: 782px) { - .login-action-confirm_admin_email #login { - box-sizing: border-box; - margin-top: 0; - padding-left: 4vw; - padding-right: 4vw; - width: 100vw; - } -} - -.login form .forgetmenot { - font-weight: 400; - float: left; - margin-bottom: 0; -} - -.login .button-primary { - float: right; -} - -.login .reset-pass-submit { - display: flex; - flex-flow: row wrap; - justify-content: space-between; -} - -.login .reset-pass-submit .button { - display: inline-block; - float: none; - margin-bottom: 6px; -} - -.login .admin-email-confirm-form .submit { - text-align: center; -} - -.admin-email__later { - text-align: left; -} - -.login form p.admin-email__details { - margin: 1.1em 0; -} - -.login h1.admin-email__heading { - border-bottom: 1px #f0f0f1 solid; - color: #50575e; - font-weight: normal; - padding-bottom: 0.5em; - text-align: left; -} - -.admin-email__actions div { - padding-top: 1.5em; -} - -.login .admin-email__actions .button-primary { - float: none; - margin-left: 0.25em; - margin-right: 0.25em; -} - -#login form p { - margin-bottom: 0; -} - -#login form p.submit { - margin: 0; - padding: 0; -} - -.login label { - font-size: 14px; - line-height: 1.5; - display: inline-block; - margin-bottom: 3px; -} - -.login .forgetmenot label, -.login .pw-weak label { - line-height: 1.5; - vertical-align: baseline; -} - -.login h1 { - text-align: center; -} - -.login h1 a { - background-image: url(../images/w-logo-blue.png?ver=20131202); - background-image: none, url(../images/wordpress-logo.svg?ver=20131107); - background-size: 84px; - background-position: center top; - background-repeat: no-repeat; - color: #3c434a; - height: 84px; - font-size: 20px; - font-weight: 400; - line-height: 1.3; - margin: 0 auto 25px; - padding: 0; - text-decoration: none; - width: 84px; - text-indent: -9999px; - outline: none; - overflow: hidden; - display: block; -} - -#login { - width: 320px; - padding: 5% 0 0; - margin: auto; -} - -.login #nav, -.login #backtoblog { - font-size: 13px; - padding: 0 24px; -} - -.login #nav { - margin: 24px 0 0; -} - -#backtoblog { - margin: 16px 0; - word-wrap: break-word; -} - -.login #nav a, -.login #backtoblog a { - text-decoration: none; - color: #50575e; -} - -.login #nav a:hover, -.login #backtoblog a:hover, -.login h1 a:hover { - color: #135e96; -} - -.login #nav a:focus, -.login #backtoblog a:focus, -.login h1 a:focus { - color: #043959; -} - -.login .privacy-policy-page-link { - text-align: center; - width: 100%; - margin: 3em 0 2em; -} - -.login form .input, -.login input[type="text"], -.login input[type="password"] { - font-size: 24px; - line-height: 1.33333333; /* 32px */ - width: 100%; - border-width: 0.0625rem; - padding: 0.1875rem 0.3125rem; /* 3px 5px */ - margin: 0 6px 16px 0; - min-height: 40px; - max-height: none; -} - -.login input.password-input { - font-family: Consolas, Monaco, monospace; -} - -.js.login input.password-input, -.js.login-action-rp form .input, -.js.login-action-rp input[type="text"] { - padding-right: 2.5rem; -} - -.login form .input, -.login input[type="text"], -.login form input[type="checkbox"] { - background: #fff; -} - -.js.login-action-rp input[type="text"], -.js.login-action-rp input[type="password"] { - margin-bottom: 0; -} - -.login #pass-strength-result { - font-weight: 600; - margin: -1px 5px 16px 0; - padding: 6px 5px; - text-align: center; - width: 100%; -} - -body.interim-login { - height: auto; -} - -.interim-login #login { - padding: 0; - margin: 5px auto 20px; -} - -.interim-login.login h1 a { - width: auto; -} - -.interim-login #login_error, -.interim-login.login .message { - margin: 0 0 16px; -} - -.interim-login.login form { - margin: 0; -} - -/* Hide visually but not from screen readers */ -.screen-reader-text, -.screen-reader-text span { - border: 0; - clip: rect(1px, 1px, 1px, 1px); - -webkit-clip-path: inset(50%); - clip-path: inset(50%); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */ -} - -/* Hide the Edge "reveal password" native button */ -input::-ms-reveal { - display: none; -} - -#language-switcher { - padding: 0; - overflow: visible; - background: none; - border: none; - box-shadow: none; -} - -#language-switcher select { - margin-right: 0.25em; -} - -.language-switcher { - margin: 0 auto; - padding: 0 0 24px; - text-align: center; -} - -.language-switcher label { - margin-right: 0.25em; -} - -.language-switcher label .dashicons { - width: auto; - height: auto; -} - -.login .language-switcher .button-primary { - float: none; - margin-bottom: 0; -} - -@media screen and (max-height: 550px) { - #login { - padding: 20px 0; - } - - #language-switcher { - margin-top: 0; - } -} - - -@media screen and (max-width: 782px) { - .interim-login input[type=checkbox] { - width: 1rem; - height: 1rem; - } - - .interim-login input[type=checkbox]:checked:before { - width: 1.3125rem; - height: 1.3125rem; - margin: -0.1875rem 0 0 -0.25rem; - } - - #language-switcher label, - #language-switcher select { - margin-right: 0; - } -} - -@media screen and (max-width: 400px) { - .login .language-switcher .button-primary { - display: block; - margin: 5px auto 0; - } -} diff --git a/build/wp-admin/css/login.min.css b/build/wp-admin/css/login.min.css deleted file mode 100644 index b9e3211eb1..0000000000 --- a/build/wp-admin/css/login.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -body,html{height:100%;margin:0;padding:0}body{background:#f0f0f1;min-width:0;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;line-height:1.4}a{color:#2271b1;transition-property:border,background,color;transition-duration:.05s;transition-timing-function:ease-in-out}a{outline:0}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}p{line-height:1.5}.login #login_error,.login .message,.login .success{border-left:4px solid #72aee6;padding:12px;margin-left:0;margin-bottom:20px;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);word-wrap:break-word}.login .success{border-left-color:#00a32a}.login #login_error{border-left-color:#d63638}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login .input::-ms-clear{display:none}.login .pw-weak{margin-bottom:15px}.login .button.wp-hide-pw{background:0 0;border:1px solid transparent;box-shadow:none;font-size:14px;line-height:2;width:2.5rem;height:2.5rem;min-width:40px;min-height:40px;margin:0;padding:5px 9px;position:absolute;right:0;top:0}.login .button.wp-hide-pw:hover{background:0 0}.login .button.wp-hide-pw:focus{background:0 0;border-color:#3582c4;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.login .button.wp-hide-pw:active{background:0 0;box-shadow:none;transform:none}.login .button.wp-hide-pw .dashicons{width:1.25rem;height:1.25rem;top:.25rem}.login .wp-pwd{position:relative}.no-js .hide-if-no-js{display:none}.login form{margin-top:20px;margin-left:0;padding:26px 24px 34px;font-weight:400;overflow:hidden;background:#fff;border:1px solid #c3c4c7;box-shadow:0 1px 3px rgba(0,0,0,.04)}.login form.shake{animation:shake .2s cubic-bezier(.19,.49,.38,.79) both;animation-iteration-count:3;transform:translateX(0)}@keyframes shake{25%{transform:translateX(-20px)}75%{transform:translateX(20px)}100%{transform:translateX(0)}}@media (prefers-reduced-motion:reduce){.login form.shake{animation:none;transform:none}}.login-action-confirm_admin_email #login{width:60vw;max-width:650px;margin-top:-2vh}@media screen and (max-width:782px){.login-action-confirm_admin_email #login{box-sizing:border-box;margin-top:0;padding-left:4vw;padding-right:4vw;width:100vw}}.login form .forgetmenot{font-weight:400;float:left;margin-bottom:0}.login .button-primary{float:right}.login .reset-pass-submit{display:flex;flex-flow:row wrap;justify-content:space-between}.login .reset-pass-submit .button{display:inline-block;float:none;margin-bottom:6px}.login .admin-email-confirm-form .submit{text-align:center}.admin-email__later{text-align:left}.login form p.admin-email__details{margin:1.1em 0}.login h1.admin-email__heading{border-bottom:1px #f0f0f1 solid;color:#50575e;font-weight:400;padding-bottom:.5em;text-align:left}.admin-email__actions div{padding-top:1.5em}.login .admin-email__actions .button-primary{float:none;margin-left:.25em;margin-right:.25em}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{font-size:14px;line-height:1.5;display:inline-block;margin-bottom:3px}.login .forgetmenot label,.login .pw-weak label{line-height:1.5;vertical-align:baseline}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;height:84px;font-size:20px;font-weight:400;line-height:1.3;margin:0 auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#login{width:320px;padding:5% 0 0;margin:auto}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0;word-wrap:break-word}.login #backtoblog a,.login #nav a{text-decoration:none;color:#50575e}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#135e96}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#043959}.login .privacy-policy-page-link{text-align:center;width:100%;margin:3em 0 2em}.login form .input,.login input[type=password],.login input[type=text]{font-size:24px;line-height:1.33333333;width:100%;border-width:.0625rem;padding:.1875rem .3125rem;margin:0 6px 16px 0;min-height:40px;max-height:none}.login input.password-input{font-family:Consolas,Monaco,monospace}.js.login input.password-input,.js.login-action-rp form .input,.js.login-action-rp input[type=text]{padding-right:2.5rem}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fff}.js.login-action-rp input[type=password],.js.login-action-rp input[type=text]{margin-bottom:0}.login #pass-strength-result{font-weight:600;margin:-1px 5px 16px 0;padding:6px 5px;text-align:center;width:100%}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}.screen-reader-text,.screen-reader-text span{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}input::-ms-reveal{display:none}#language-switcher{padding:0;overflow:visible;background:0 0;border:none;box-shadow:none}#language-switcher select{margin-right:.25em}.language-switcher{margin:0 auto;padding:0 0 24px;text-align:center}.language-switcher label{margin-right:.25em}.language-switcher label .dashicons{width:auto;height:auto}.login .language-switcher .button-primary{float:none;margin-bottom:0}@media screen and (max-height:550px){#login{padding:20px 0}#language-switcher{margin-top:0}}@media screen and (max-width:782px){.interim-login input[type=checkbox]{width:1rem;height:1rem}.interim-login input[type=checkbox]:checked:before{width:1.3125rem;height:1.3125rem;margin:-.1875rem 0 0 -.25rem}#language-switcher label,#language-switcher select{margin-right:0}}@media screen and (max-width:400px){.login .language-switcher .button-primary{display:block;margin:5px auto 0}} \ No newline at end of file diff --git a/build/wp-admin/css/media-rtl.css b/build/wp-admin/css/media-rtl.css deleted file mode 100644 index 4675b0da72..0000000000 --- a/build/wp-admin/css/media-rtl.css +++ /dev/null @@ -1,1386 +0,0 @@ -/*! This file is auto-generated */ -/*------------------------------------------------------------------------------ - 14.0 - Media Screen -------------------------------------------------------------------------------*/ - -.media-item .describe { - border-collapse: collapse; - width: 100%; - border-top: 1px solid #dcdcde; - clear: both; - cursor: default; -} - -.media-item.media-blank .describe { - border: 0; -} - -.media-item .describe th { - vertical-align: top; - text-align: right; - padding: 5px 10px 10px; - width: 140px; -} - -.media-item .describe .align th { - padding-top: 0; -} - -.media-item .media-item-info tr { - background-color: transparent; -} - -.media-item .describe td { - padding: 0 0 8px 8px; - vertical-align: top; -} - -.media-item thead.media-item-info td { - padding: 4px 10px 0; -} - -.media-item .media-item-info .A1B1 { - padding: 0 10px 0 0; -} - -.media-item td.savesend { - padding-bottom: 15px; -} - -.media-item .thumbnail { - max-height: 128px; - max-width: 128px; -} - -.media-list-subtitle { - display: block; -} - -.media-list-title { - display: block; -} - -#wpbody-content #async-upload-wrap a { - display: none; -} - -.media-upload-form { - margin-top: 20px; -} - -.media-upload-form td label { - margin-left: 6px; - margin-right: 2px; -} - -.media-upload-form .align .field label { - display: inline; - padding: 0 23px 0 0; - margin: 0 3px 0 1em; - font-weight: 600; -} - -.media-upload-form tr.image-size label { - margin: 0 5px 0 0; - font-weight: 600; -} - -.media-upload-form th.label label { - font-weight: 600; - margin: 0.5em; - font-size: 13px; -} - -.media-upload-form th.label label span { - padding: 0 5px; -} - -.media-item .describe input[type="text"], -.media-item .describe textarea { - width: 460px; -} - -.media-item .describe p.help { - margin: 0; - padding: 0 5px 0 0; -} - -.describe-toggle-on, -.describe-toggle-off { - display: block; - line-height: 2.76923076; - float: left; - margin-left: 10px; -} - -.media-item-wrapper { - display: grid; - grid-template-columns: 1fr 1fr; -} - -.media-item .attachment-tools { - display: flex; - justify-content: flex-end; - align-items: center; -} - -.media-item .edit-attachment { - padding: 14px 0; - display: block; - margin-left: 10px; -} - -.media-item .edit-attachment.copy-to-clipboard-container { - margin-top: 0; -} - -.media-item-copy-container .success { - line-height: 0; -} - -.media-item button .copy-attachment-url { - margin-top: 14px; -} - -.media-item .copy-to-clipboard-container { - margin-top: 7px; -} - -.media-item .describe-toggle-off, -.media-item.open .describe-toggle-on { - display: none; -} - -.media-item.open .describe-toggle-off { - display: block; -} - -.media-upload-form .media-item { - min-height: 70px; - margin-bottom: 1px; - position: relative; - width: 100%; - background: #fff; -} - -.media-upload-form .media-item, -.media-upload-form .media-item .error { - box-shadow: 0 1px 0 #dcdcde; -} - -#media-items:empty { - border: 0 none; -} - -.media-item .filename { - padding: 14px 0; - overflow: hidden; - margin-right: 6px; -} - -.media-item .pinkynail { - float: right; - margin: 0 0 0 10px; - max-height: 70px; - max-width: 70px; -} - -.media-item .startopen, -.media-item .startclosed { - display: none; -} - -.media-item .original { - position: relative; - height: 34px; -} - -.media-item .progress { - float: left; - height: 22px; - margin: 7px 6px; - width: 200px; - line-height: 2em; - padding: 0; - overflow: hidden; - border-radius: 22px; - background: #dcdcde; - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.media-item .bar { - z-index: 9; - width: 0; - height: 100%; - margin-top: -22px; - border-radius: 22px; - background-color: #2271b1; - box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); -} - -.media-item .progress .percent { - z-index: 10; - position: relative; - width: 200px; - padding: 0; - color: #fff; - text-align: center; - line-height: 22px; - font-weight: 400; - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); -} - -.upload-php .fixed .column-parent { - width: 15%; -} - -.js .html-uploader #plupload-upload-ui { - display: none; -} - -.js .html-uploader #html-upload-ui { - display: block; -} - -#html-upload-ui #async-upload { - font-size: 1em; -} - -.media-upload-form .media-item.error, -.media-upload-form .media-item .error { - width: auto; - margin: 0 0 1px; -} - -.media-upload-form .media-item .error { - padding: 10px 14px 10px 0; - min-height: 50px; -} - -.media-item .error-div button.dismiss { - float: left; - margin: 0 15px 0 10px; -} - -/*------------------------------------------------------------------------------ - 14.1 - Media Library -------------------------------------------------------------------------------*/ - -.find-box { - background-color: #fff; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); - width: 600px; - overflow: hidden; - margin-right: -300px; - position: fixed; - top: 30px; - bottom: 30px; - right: 50%; - z-index: 100105; -} - -.find-box-head { - background: #fff; - border-bottom: 1px solid #dcdcde; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 2; - padding: 0 16px 0 36px; - position: absolute; - top: 0; - right: 0; - left: 0; -} - -.find-box-inside { - overflow: auto; - padding: 16px; - background-color: #fff; - position: absolute; - top: 37px; - bottom: 45px; - overflow-y: scroll; - width: 100%; - box-sizing: border-box; -} - -.find-box-search { - padding-bottom: 16px; -} - -.find-box-search .spinner { - float: none; - right: 105px; - position: absolute; -} - -.find-box-search, -#find-posts-response { - position: relative; /* RTL fix, #WP28010 */ -} - -#find-posts-input, -#find-posts-search { - float: right; -} - -#find-posts-input { - width: 140px; - height: 28px; - margin: 0 0 0 4px; -} - -.widefat .found-radio { - padding-left: 0; - width: 16px; -} - -#find-posts-close { - width: 36px; - height: 36px; - border: none; - padding: 0; - position: absolute; - top: 0; - left: 0; - cursor: pointer; - text-align: center; - background: none; - color: #646970; -} - -#find-posts-close:hover, -#find-posts-close:focus { - color: #135e96; -} - -#find-posts-close:focus { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -#find-posts-close:before { - font: normal 20px/36px dashicons; - vertical-align: top; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: "\f158"; -} - -.find-box-buttons { - padding: 8px 16px; - background: #fff; - border-top: 1px solid #dcdcde; - position: absolute; - bottom: 0; - right: 0; - left: 0; -} - -@media screen and (max-width: 782px) { - .find-box-inside { - bottom: 57px; - } -} - -@media screen and (max-width: 660px) { - - .find-box { - top: 0; - bottom: 0; - right: 0; - left: 0; - margin: 0; - width: 100%; - } - -} - -.ui-find-overlay { - position: fixed; - top: 0; - right: 0; - left: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100100; -} - -.drag-drop #drag-drop-area { - border: 4px dashed #c3c4c7; - height: 200px; -} - -.drag-drop .drag-drop-inside { - margin: 60px auto 0; - width: 250px; -} - -.drag-drop-inside p { - font-size: 14px; - margin: 5px 0; - display: none; -} - -.drag-drop .drag-drop-inside p { - text-align: center; -} - -.drag-drop-inside p.drag-drop-info { - font-size: 20px; -} - -.drag-drop .drag-drop-inside p, -.drag-drop-inside p.drag-drop-buttons { - display: block; -} - -/* -#drag-drop-area:-moz-drag-over { - border-color: #83b4d8; -} -border color while dragging a file over the uploader drop area */ -.drag-drop.drag-over #drag-drop-area { - border-color: #9ec2e6; -} - -#plupload-upload-ui { - position: relative; -} - -/** - * Media Library grid view - */ - -.media-frame.mode-grid, -.media-frame.mode-grid .media-frame-content, -.media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments, -.media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper, -.media-frame.mode-grid .uploader-inline-content { - position: static; -} - -/* Regions we don't use at all */ -.media-frame.mode-grid .media-frame-title, -.media-frame.mode-grid .media-frame-router, -.media-frame.mode-grid .media-frame-menu { - display: none; -} - -.media-frame.mode-grid .media-frame-content { - background-color: transparent; - border: none; -} - -.upload-php .mode-grid .media-sidebar { - position: relative; - width: auto; - margin-top: 12px; - padding: 0 16px; - border-right: 4px solid #d63638; - box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); - background-color: #fff; -} - -.upload-php .mode-grid .hide-sidebar .media-sidebar { - display: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status { - border-bottom: none; - padding-bottom: 0; - max-width: 100%; -} - -.upload-php .mode-grid .media-sidebar .upload-error { - margin: 12px 0; - padding: 4px 0 0; - border: none; - box-shadow: none; - background: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { - display: none; -} - -.media-frame.mode-grid .uploader-inline { - position: relative; - top: auto; - left: auto; - right: auto; - bottom: auto; - padding-top: 0; - margin-top: 20px; - border: 4px dashed #c3c4c7; -} - -.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments, -.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper { - position: relative; - top: 94px; /* prevent jumping up when the toolbar becomes fixed */ - padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ -} - -.media-frame.mode-grid .attachment:focus, -.media-frame.mode-grid .selected.attachment:focus, -.media-frame.mode-grid .attachment.details:focus { - box-shadow: - inset 0 0 2px 3px #f0f0f1, - inset 0 0 0 7px #4f94d4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -6px; -} - -.media-frame.mode-grid .selected.attachment { - box-shadow: - inset 0 0 0 5px #f0f0f1, - inset 0 0 0 7px #c3c4c7; -} - -.media-frame.mode-grid .attachment.details { - box-shadow: - inset 0 0 0 3px #f0f0f1, - inset 0 0 0 7px #4f94d4; -} - -.media-frame.mode-grid.mode-select .attachment .thumbnail { - opacity: 0.65; -} - -.media-frame.mode-select .attachment.selected .thumbnail { - opacity: 1; -} - -.media-frame.mode-grid .media-toolbar { - margin-bottom: 15px; - height: auto; -} - -.media-frame.mode-grid .media-toolbar select { - margin: 0 0 0 10px; -} - -.media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button { - margin: 0 0 0 8px; - vertical-align: middle; -} - -.media-frame.mode-grid .attachments-browser .bulk-select { - display: inline-block; - margin: 0 0 0 10px; -} - -.media-frame.mode-grid .search { - margin-top: 0; -} - -.media-search-input-label { - margin: 0 0 0 .2em; - vertical-align: baseline; -} - -.media-frame.mode-grid .media-search-input-label { - position: static; - margin: 0 0 0 .5em; -} - -.attachments-browser .media-toolbar-secondary > .media-button { - margin-left: 10px; -} - -.media-frame.mode-select .attachments-browser.fixed .media-toolbar { - position: fixed; - top: 32px; - right: auto; - left: 20px; - margin-top: 0; -} - -.media-frame.mode-grid .attachments-browser { - padding: 0; -} - -.media-frame.mode-grid .attachments-browser .attachments { - padding: 2px; -} - -.media-frame.mode-grid .attachments-browser .no-media { - color: #646970; /* same as no plugins and no themes */ - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - text-align: center; -} - -/** - * Attachment details modal - */ - -.edit-attachment-frame { - display: block; - height: 100%; - width: 100%; -} - -.edit-attachment-frame .edit-media-header { - overflow: hidden; -} - -.upload-php .media-modal-close .media-modal-icon:before { - content: "\f335"; - font-size: 22px; -} - -.upload-php .media-modal-close, -.edit-attachment-frame .edit-media-header .left, -.edit-attachment-frame .edit-media-header .right { - cursor: pointer; - color: #787c82; - background-color: transparent; - height: 50px; - width: 50px; - padding: 0; - position: absolute; - text-align: center; - border: 0; - border-right: 1px solid #dcdcde; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.upload-php .media-modal-close { - top: 0; - left: 0; -} - -.edit-attachment-frame .edit-media-header .left { - left: 102px; -} - -.edit-attachment-frame .edit-media-header .right { - left: 51px; -} - -.edit-attachment-frame .media-frame-title { - right: 0; - left: 150px; /* leave space for prev/next/close */ -} - -.edit-attachment-frame .edit-media-header .right:before, -.edit-attachment-frame .edit-media-header .left:before { - font: normal 20px/50px dashicons !important; - display: inline; - font-weight: 300; -} - -.upload-php .media-modal-close:hover, -.upload-php .media-modal-close:focus, -.edit-attachment-frame .edit-media-header .left:hover, -.edit-attachment-frame .edit-media-header .right:hover, -.edit-attachment-frame .edit-media-header .left:focus, -.edit-attachment-frame .edit-media-header .right:focus { - background: #dcdcde; - border-color: #c3c4c7; - color: #000; - outline: none; - box-shadow: none; -} - -.upload-php .media-modal-close:focus, -.edit-attachment-frame .edit-media-header .left:focus, -.edit-attachment-frame .edit-media-header .right:focus { - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.upload-php .media-modal-close:focus .media-modal-icon:before, -.upload-php .media-modal-close:hover .media-modal-icon:before { - color: #000; -} - -.edit-attachment-frame .edit-media-header .left:before { - content: "\f345"; -} - -.edit-attachment-frame .edit-media-header .right:before { - content: "\f341"; -} - -.edit-attachment-frame .edit-media-header [disabled], -.edit-attachment-frame .edit-media-header [disabled]:hover { - color: #c3c4c7; - background: inherit; - cursor: default; -} - -.edit-attachment-frame .media-frame-content, -.edit-attachment-frame .media-frame-router { - right: 0; -} - -.edit-attachment-frame .media-frame-content { - border-bottom: none; - bottom: 0; - top: 50px; -} - -.edit-attachment-frame .attachment-details { - position: absolute; - overflow: auto; - top: 0; - bottom: 0; - left: 0; - right: 0; - box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); -} - -.edit-attachment-frame .attachment-media-view { - float: right; - width: 65%; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .thumbnail { - box-sizing: border-box; - padding: 16px; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .details-image { - display: block; - margin: 0 auto 16px; - max-width: 100%; - max-height: 90%; - max-height: calc( 100% - 42px ); /* leave space for actions underneath */ - background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 100% 0, 10px 10px; - background-size: 20px 20px; -} - -.edit-attachment-frame .attachment-media-view .details-image.icon { - background: none; -} - -.edit-attachment-frame .attachment-media-view .attachment-actions { - text-align: center; -} - -.edit-attachment-frame .wp-media-wrapper { - margin-bottom: 12px; -} - -.edit-attachment-frame input, -.edit-attachment-frame textarea { - padding: 4px 8px; - line-height: 1.42857143; -} - -.edit-attachment-frame .attachment-info { - overflow: auto; - box-sizing: border-box; - margin-bottom: 0; - padding: 12px 16px 0; - width: 35%; - height: 100%; - box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); - border-bottom: 0; - border-right: 1px solid #dcdcde; - background: #f6f7f7; -} - -.edit-attachment-frame .attachment-info .details, -.edit-attachment-frame .attachment-info .settings { - position: relative; /* RTL fix, #WP29352 */ - overflow: hidden; - float: none; - margin-bottom: 15px; - padding-bottom: 15px; - border-bottom: 1px solid #dcdcde; -} - -.edit-attachment-frame .attachment-info .filename { - font-weight: 400; - color: #646970; -} - -.edit-attachment-frame .attachment-info .thumbnail { - margin-bottom: 12px; -} - -.attachment-info .actions { - margin-bottom: 16px; -} - -.attachment-info .actions a { - display: inline; - text-decoration: none; -} - -.copy-to-clipboard-container { - display: flex; - align-items: center; - margin-top: 8px; - clear: both; -} - -.copy-to-clipboard-container .copy-attachment-url { - white-space: normal; -} - -.copy-to-clipboard-container .success { - color: #008a20; - margin-right: 8px; -} - -/*------------------------------------------------------------------------------ - 14.2 - Image Editor -------------------------------------------------------------------------------*/ -.wp_attachment_details .attachment-alt-text { - margin-bottom: 5px; -} - -.wp_attachment_details #attachment_alt { - max-width: 500px; - height: 3.28571428em; -} - -.wp_attachment_details .attachment-alt-text-description { - margin-top: 5px; -} - -.wp_attachment_details label[for="content"] { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -.wp_attachment_details #attachment_caption { - height: 4em; -} - -.describe .image-editor { - vertical-align: top; -} - -.imgedit-wrap { - position: relative; - padding-top: 10px; -} - -.imgedit-settings p, -.imgedit-settings fieldset { - margin: 8px 0; -} - -.imgedit-settings legend { - margin-bottom: 5px; -} - -.describe .imgedit-wrap .imgedit-settings { - padding: 0 5px; -} - -.wp_attachment_holder div.updated { - margin-top: 0; -} - -.wp_attachment_holder .imgedit-wrap > div { - height: auto; -} - -.wp_attachment_holder .imgedit-wrap .imgedit-panel-content { - float: right; - padding: 3px 0 0 16px; - min-width: 400px; - max-width: calc( 100% - 266px ); -} - -.wp_attachment_holder .imgedit-wrap .imgedit-settings { - float: left; - width: 250px; -} - -.imgedit-settings input { - margin-top: 0; - vertical-align: middle; -} - -.imgedit-wait { - position: absolute; - top: 0; - bottom: 0; - width: 100%; - background: #fff; - opacity: 0.7; - filter: alpha(opacity=70); - display: none; -} - -.imgedit-wait:before { - content: ""; - display: block; - width: 20px; - height: 20px; - position: absolute; - right: 50%; - top: 50%; - margin: -10px -10px 0 0; - background: transparent url(../images/spinner.gif) no-repeat center; - background-size: 20px 20px; - transform: translateZ(0); -} - -.no-float { - float: none; -} - -.media-disabled, -.imgedit-settings .disabled { - /* WCAG 1.4.3 Text or images of text that are part of an inactive user - interface component ... have no contrast requirement. */ - color: #a7aaad; -} - -.A1B1 { - overflow: hidden; -} - -.wp_attachment_image .button, -.A1B1 .button { - float: right; -} - -.no-js .wp_attachment_image .button { - display: none; -} - -.wp_attachment_image .spinner, -.A1B1 .spinner { - float: right; -} - -.imgedit-menu { - margin: 0 0 12px; -} - -.imgedit-menu .note-no-rotate { - clear: both; - margin: 0; - padding: 1em 0 0; -} - -.image-editor .imgedit-menu .button { - display: inline-block; - width: auto; - min-height: 28px; - font-size: 13px; - line-height: 2; - margin: 0 0 8px 8px; - padding: 0 10px; -} - -.imgedit-menu .button:before { - font: normal 16px/1 dashicons; - margin-left: 8px; - speak: never; - vertical-align: middle; - position: relative; - top: -2px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.imgedit-menu .button.disabled { - color: #a7aaad; - border-color: #dcdcde; - background: #f6f7f7; - box-shadow: none; - text-shadow: 0 1px 0 #fff; - cursor: default; - transform: none; -} - -.imgedit-crop:before { - content: "\f165"; -} - -.imgedit-rleft:before { - content: "\f166"; -} - -.imgedit-rright:before { - content: "\f167"; -} - -.imgedit-flipv:before { - content: "\f168"; -} - -.imgedit-fliph:before { - content: "\f169"; -} - -.imgedit-undo:before { - content: "\f171"; -} - -.imgedit-redo:before { - content: "\f172"; -} - -.imgedit-crop-wrap { - position: relative; -} - -.imgedit-crop-wrap img { - background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 100% 0, 10px 10px; - background-size: 20px 20px; -} - -.imgedit-crop { - margin: 0 0 0 8px; -} - -.imgedit-rleft { - margin: 0 3px; -} - -.imgedit-rright { - margin: 0 3px 0 8px; -} - -.imgedit-flipv { - margin: 0 3px; -} - -.imgedit-fliph { - margin: 0 3px 0 8px; -} - -.imgedit-undo { - margin: 0 3px; -} - -.imgedit-redo { - margin: 0 3px 0 8px; -} - -.imgedit-thumbnail-preview { - margin: 10px 0 0 8px; -} - -.imgedit-thumbnail-preview-caption { - display: block; -} - -#poststuff .imgedit-group-top h2 { - display: inline-block; - margin: 0; - padding: 0; - font-size: 14px; - line-height: 1.4; -} - -#poststuff .imgedit-group-top .button-link { - text-decoration: none; - color: #1d2327; -} - -.imgedit-applyto .imgedit-label { - display: block; - padding: .5em 0 0; -} - -.imgedit-help { - display: none; - padding-bottom: 8px; -} - -.imgedit-help.imgedit-restore { - padding-bottom: 0; -} - -/* higher specificity than buttons */ -.image-editor .imgedit-settings .imgedit-help-toggle, -.image-editor .imgedit-settings .imgedit-help-toggle:hover, -.image-editor .imgedit-settings .imgedit-help-toggle:active { - border: 1px solid transparent; - margin: -1px -1px 0 0; - padding: 0; - background: transparent; - color: #2271b1; - font-size: 20px; - line-height: 1; - cursor: pointer; - box-sizing: content-box; - box-shadow: none; -} - -.image-editor .imgedit-settings .imgedit-help-toggle:focus { - color: #2271b1; - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.form-table td.imgedit-response { - padding: 0; -} - -.imgedit-submit { - margin: 8px 0 0; -} - -.imgedit-submit-btn { - margin-right: 20px; -} - -.imgedit-wrap .nowrap { - white-space: nowrap; - font-size: 12px; - line-height: inherit; -} - -span.imgedit-scale-warn { - color: #d63638; - font-size: 20px; - font-style: normal; - visibility: hidden; - vertical-align: middle; -} - -.imgedit-save-target { - margin: 8px 0; -} - -.imgedit-save-target legend { - font-weight: 600; -} - -.imgedit-group { - margin-bottom: 8px; - padding: 10px; -} - -.imgedit-settings .imgedit-original-dimensions { - display: inline-block; -} - -.imgedit-settings .imgedit-scale input[type="text"], -.imgedit-settings .imgedit-crop-ratio input[type="text"], -.imgedit-settings .imgedit-crop-sel input[type="text"] { - width: 80px; - font-size: 14px; - padding: 0 8px; -} - -.imgedit-separator { - display: inline-block; - width: 7px; - text-align: center; - font-size: 13px; - color: #3c434a; -} - -.imgedit-settings .imgedit-scale-button-wrapper { - margin-top: 0.3077em; - display: block; -} - -.imgedit-settings .imgedit-scale .button { - margin-bottom: 0; -} - -audio, video { - display: inline-block; - max-width: 100%; -} - -.wp-core-ui .mejs-container { - width: 100%; - max-width: 100%; -} - -.wp-core-ui .mejs-container * { - box-sizing: border-box; -} - -.wp-core-ui .mejs-time { - box-sizing: content-box; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .imgedit-wait:before { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and (max-width: 782px) { - .edit-attachment-frame input, - .edit-attachment-frame textarea { - line-height: 1.5; - } - - .wp_attachment_details label[for="content"] { - font-size: 14px; - line-height: 1.5; - } - - .wp_attachment_details textarea { - line-height: 1.5; - } - - .wp_attachment_details #attachment_alt { - height: 3.375em; - } - - .media-upload-form .media-item.error, - .media-upload-form .media-item .error { - font-size: 13px; - line-height: 1.5; - } - - .media-upload-form .media-item.error { - padding: 1px 10px; - } - - .media-upload-form .media-item .error { - padding: 10px 12px 10px 0; - } - - .imgedit-settings .imgedit-scale input[type="text"], - .imgedit-settings .imgedit-crop-ratio input[type="text"], - .imgedit-settings .imgedit-crop-sel input[type="text"] { - font-size: 16px; - padding: 6px 10px; - } - - .wp_attachment_holder .imgedit-wrap .imgedit-panel-content, - .wp_attachment_holder .imgedit-wrap .imgedit-settings { - float: none; - width: auto; - max-width: none; - padding-bottom: 16px; - } - - .copy-to-clipboard-container .success { - font-size: 14px; - } - - /* Restructure image editor on narrow viewports. */ - .imgedit-crop-wrap img{ - width: 100%; - } - - .media-modal .imgedit-wrap .imgedit-panel-content, - .media-modal .imgedit-wrap .imgedit-settings { - position: initial !important; - } - - .media-modal .imgedit-wrap .imgedit-settings { - box-sizing: border-box; - width: 100% !important; - } - - .imgedit-settings .imgedit-scale-button-wrapper { - display: inline-block; - } -} - -@media only screen and (max-width: 600px) { - .media-item-wrapper { - grid-template-columns: 1fr; - } -} - -/** - * Media queries for media grid. - */ - -@media only screen and (max-width: 1120px) { - /* override for media-views.css */ - #wp-media-grid .wp-filter .attachment-filters { - max-width: 100%; - } -} - -@media only screen and (max-width: 782px) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 46px; - left: 10px; - } -} - -@media only screen and (max-width: 600px) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 0; - } -} - -@media only screen and (max-width: 480px) { - .edit-attachment-frame .media-frame-title { - left: 110px; - } - - .upload-php .media-modal-close, - .edit-attachment-frame .edit-media-header .left, - .edit-attachment-frame .edit-media-header .right { - width: 40px; - height: 40px; - } - - .edit-attachment-frame .edit-media-header .right:before, - .edit-attachment-frame .edit-media-header .left:before { - line-height: 40px !important; - } - - .edit-attachment-frame .edit-media-header .left { - left: 82px; - } - - .edit-attachment-frame .edit-media-header .right { - left: 41px; - } - - .edit-attachment-frame .media-frame-content { - top: 40px; - } - - .edit-attachment-frame .attachment-media-view { - float: none; - height: auto; - width: 100%; - } - - .edit-attachment-frame .attachment-info { - height: auto; - width: 100%; - } -} - -@media only screen and (max-width: 640px), screen and (max-height: 400px) { - .upload-php .mode-grid .media-sidebar{ - max-width: 100%; - } -} diff --git a/build/wp-admin/css/media-rtl.min.css b/build/wp-admin/css/media-rtl.min.css deleted file mode 100644 index 93be2c8fd1..0000000000 --- a/build/wp-admin/css/media-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.media-item .describe{border-collapse:collapse;width:100%;border-top:1px solid #dcdcde;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:right;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 0 8px 8px;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 10px 0 0}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}.media-list-subtitle{display:block}.media-list-title{display:block}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-left:6px;margin-right:2px}.media-upload-form .align .field label{display:inline;padding:0 23px 0 0;margin:0 3px 0 1em;font-weight:600}.media-upload-form tr.image-size label{margin:0 5px 0 0;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 5px 0 0}.describe-toggle-off,.describe-toggle-on{display:block;line-height:2.76923076;float:left;margin-left:10px}.media-item-wrapper{display:grid;grid-template-columns:1fr 1fr}.media-item .attachment-tools{display:flex;justify-content:flex-end;align-items:center}.media-item .edit-attachment{padding:14px 0;display:block;margin-left:10px}.media-item .edit-attachment.copy-to-clipboard-container{margin-top:0}.media-item-copy-container .success{line-height:0}.media-item button .copy-attachment-url{margin-top:14px}.media-item .copy-to-clipboard-container{margin-top:7px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.media-upload-form .media-item{min-height:70px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{box-shadow:0 1px 0 #dcdcde}#media-items:empty{border:0 none}.media-item .filename{padding:14px 0;overflow:hidden;margin-right:6px}.media-item .pinkynail{float:right;margin:0 0 0 10px;max-height:70px;max-width:70px}.media-item .startclosed,.media-item .startopen{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:left;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;border-radius:22px;background:#dcdcde;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;border-radius:22px;background-color:#2271b1;box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}#html-upload-ui #async-upload{font-size:1em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 14px 10px 0;min-height:50px}.media-item .error-div button.dismiss{float:left;margin:0 15px 0 10px}.find-box{background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-right:-300px;position:fixed;top:30px;bottom:30px;right:50%;z-index:100105}.find-box-head{background:#fff;border-bottom:1px solid #dcdcde;height:36px;font-size:18px;font-weight:600;line-height:2;padding:0 16px 0 36px;position:absolute;top:0;right:0;left:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;right:105px;position:absolute}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:right}#find-posts-input{width:140px;height:28px;margin:0 0 0 4px}.widefat .found-radio{padding-left:0;width:16px}#find-posts-close{width:36px;height:36px;border:none;padding:0;position:absolute;top:0;left:0;cursor:pointer;text-align:center;background:0 0;color:#646970}#find-posts-close:focus,#find-posts-close:hover{color:#135e96}#find-posts-close:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:2px solid transparent;outline-offset:-2px}#find-posts-close:before{font:normal 20px/36px dashicons;vertical-align:top;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f158"}.find-box-buttons{padding:8px 16px;background:#fff;border-top:1px solid #dcdcde;position:absolute;bottom:0;right:0;left:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;right:0;left:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;z-index:100100}.drag-drop #drag-drop-area{border:4px dashed #c3c4c7;height:200px}.drag-drop .drag-drop-inside{margin:60px auto 0;width:250px}.drag-drop-inside p{font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#9ec2e6}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper,.media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title{display:none}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-top:12px;padding:0 16px;border-right:4px solid #d63638;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);background-color:#fff}.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:12px 0;padding:4px 0 0;border:none;box-shadow:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;left:auto;right:auto;bottom:auto;padding-top:0;margin-top:20px;border:4px dashed #c3c4c7}.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{box-shadow:inset 0 0 2px 3px #f0f0f1,inset 0 0 0 7px #4f94d4;outline:2px solid transparent;outline-offset:-6px}.media-frame.mode-grid .selected.attachment{box-shadow:inset 0 0 0 5px #f0f0f1,inset 0 0 0 7px #c3c4c7}.media-frame.mode-grid .attachment.details{box-shadow:inset 0 0 0 3px #f0f0f1,inset 0 0 0 7px #4f94d4}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 0 0 10px}.media-frame.mode-grid.mode-edit .media-toolbar-secondary>.select-mode-toggle-button{margin:0 0 0 8px;vertical-align:middle}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 0 0 10px}.media-frame.mode-grid .search{margin-top:0}.media-search-input-label{margin:0 0 0 .2em;vertical-align:baseline}.media-frame.mode-grid .media-search-input-label{position:static;margin:0 0 0 .5em}.attachments-browser .media-toolbar-secondary>.media-button{margin-left:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;right:auto;left:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#646970;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:"\f335";font-size:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#787c82;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-right:1px solid #dcdcde;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;left:0}.edit-attachment-frame .edit-media-header .left{left:102px}.edit-attachment-frame .edit-media-header .right{left:51px}.edit-attachment-frame .media-frame-title{right:0;left:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:normal 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#dcdcde;border-color:#c3c4c7;color:#000;outline:0;box-shadow:none}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .right:focus,.upload-php .media-modal-close:focus{outline:2px solid transparent;outline-offset:-2px}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before{content:"\f345"}.edit-attachment-frame .edit-media-header .right:before{content:"\f341"}.edit-attachment-frame .edit-media-header [disabled],.edit-attachment-frame .edit-media-header [disabled]:hover{color:#c3c4c7;background:inherit;cursor:default}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{right:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;left:0;right:0;box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:right;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin:0 auto 16px;max-width:100%;max-height:90%;max-height:calc(100% - 42px);background-image:linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:100% 0,10px 10px;background-size:20px 20px}.edit-attachment-frame .attachment-media-view .details-image.icon{background:0 0}.edit-attachment-frame .attachment-media-view .attachment-actions{text-align:center}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:4px 8px;line-height:1.42857143}.edit-attachment-frame .attachment-info{overflow:auto;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-right:1px solid #dcdcde;background:#f6f7f7}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #dcdcde}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#646970}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.copy-to-clipboard-container{display:flex;align-items:center;margin-top:8px;clear:both}.copy-to-clipboard-container .copy-attachment-url{white-space:normal}.copy-to-clipboard-container .success{color:#008a20;margin-right:8px}.wp_attachment_details .attachment-alt-text{margin-bottom:5px}.wp_attachment_details #attachment_alt{max-width:500px;height:3.28571428em}.wp_attachment_details .attachment-alt-text-description{margin-top:5px}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative;padding-top:10px}.imgedit-settings fieldset,.imgedit-settings p{margin:8px 0}.imgedit-settings legend{margin-bottom:5px}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{float:right;padding:3px 0 0 16px;min-width:400px;max-width:calc(100% - 266px)}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:left;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;bottom:0;width:100%;background:#fff;opacity:.7;display:none}.imgedit-wait:before{content:"";display:block;width:20px;height:20px;position:absolute;right:50%;top:50%;margin:-10px -10px 0 0;background:transparent url(../images/spinner.gif) no-repeat center;background-size:20px 20px;transform:translateZ(0)}.no-float{float:none}.imgedit-settings .disabled,.media-disabled{color:#a7aaad}.A1B1{overflow:hidden}.A1B1 .button,.wp_attachment_image .button{float:right}.no-js .wp_attachment_image .button{display:none}.A1B1 .spinner,.wp_attachment_image .spinner{float:right}.imgedit-menu{margin:0 0 12px}.imgedit-menu .note-no-rotate{clear:both;margin:0;padding:1em 0 0}.image-editor .imgedit-menu .button{display:inline-block;width:auto;min-height:28px;font-size:13px;line-height:2;margin:0 0 8px 8px;padding:0 10px}.imgedit-menu .button:before{font:normal 16px/1 dashicons;margin-left:8px;speak:never;vertical-align:middle;position:relative;top:-2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.imgedit-menu .button.disabled{color:#a7aaad;border-color:#dcdcde;background:#f6f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;cursor:default;transform:none}.imgedit-crop:before{content:"\f165"}.imgedit-rleft:before{content:"\f166"}.imgedit-rright:before{content:"\f167"}.imgedit-flipv:before{content:"\f168"}.imgedit-fliph:before{content:"\f169"}.imgedit-undo:before{content:"\f171"}.imgedit-redo:before{content:"\f172"}.imgedit-crop-wrap{position:relative}.imgedit-crop-wrap img{background-image:linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:100% 0,10px 10px;background-size:20px 20px}.imgedit-crop{margin:0 0 0 8px}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 3px 0 8px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 3px 0 8px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 3px 0 8px}.imgedit-thumbnail-preview{margin:10px 0 0 8px}.imgedit-thumbnail-preview-caption{display:block}#poststuff .imgedit-group-top h2{display:inline-block;margin:0;padding:0;font-size:14px;line-height:1.4}#poststuff .imgedit-group-top .button-link{text-decoration:none;color:#1d2327}.imgedit-applyto .imgedit-label{display:block;padding:.5em 0 0}.imgedit-help{display:none;padding-bottom:8px}.imgedit-help.imgedit-restore{padding-bottom:0}.image-editor .imgedit-settings .imgedit-help-toggle,.image-editor .imgedit-settings .imgedit-help-toggle:active,.image-editor .imgedit-settings .imgedit-help-toggle:hover{border:1px solid transparent;margin:-1px -1px 0 0;padding:0;background:0 0;color:#2271b1;font-size:20px;line-height:1;cursor:pointer;box-sizing:content-box;box-shadow:none}.image-editor .imgedit-settings .imgedit-help-toggle:focus{color:#2271b1;border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8);outline:2px solid transparent}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0 0}.imgedit-submit-btn{margin-right:20px}.imgedit-wrap .nowrap{white-space:nowrap;font-size:12px;line-height:inherit}span.imgedit-scale-warn{color:#d63638;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-save-target{margin:8px 0}.imgedit-save-target legend{font-weight:600}.imgedit-group{margin-bottom:8px;padding:10px}.imgedit-settings .imgedit-original-dimensions{display:inline-block}.imgedit-settings .imgedit-crop-ratio input[type=text],.imgedit-settings .imgedit-crop-sel input[type=text],.imgedit-settings .imgedit-scale input[type=text]{width:80px;font-size:14px;padding:0 8px}.imgedit-separator{display:inline-block;width:7px;text-align:center;font-size:13px;color:#3c434a}.imgedit-settings .imgedit-scale-button-wrapper{margin-top:.3077em;display:block}.imgedit-settings .imgedit-scale .button{margin-bottom:0}audio,video{display:inline-block;max-width:100%}.wp-core-ui .mejs-container{width:100%;max-width:100%}.wp-core-ui .mejs-container *{box-sizing:border-box}.wp-core-ui .mejs-time{box-sizing:content-box}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait:before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.edit-attachment-frame input,.edit-attachment-frame textarea{line-height:1.5}.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5}.wp_attachment_details textarea{line-height:1.5}.wp_attachment_details #attachment_alt{height:3.375em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 12px 10px 0}.imgedit-settings .imgedit-crop-ratio input[type=text],.imgedit-settings .imgedit-crop-sel input[type=text],.imgedit-settings .imgedit-scale input[type=text]{font-size:16px;padding:6px 10px}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:none;width:auto;max-width:none;padding-bottom:16px}.copy-to-clipboard-container .success{font-size:14px}.imgedit-crop-wrap img{width:100%}.media-modal .imgedit-wrap .imgedit-panel-content,.media-modal .imgedit-wrap .imgedit-settings{position:initial!important}.media-modal .imgedit-wrap .imgedit-settings{box-sizing:border-box;width:100%!important}.imgedit-settings .imgedit-scale-button-wrapper{display:inline-block}}@media only screen and (max-width:600px){.media-item-wrapper{grid-template-columns:1fr}}@media only screen and (max-width:1120px){#wp-media-grid .wp-filter .attachment-filters{max-width:100%}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;left:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{left:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{left:82px}.edit-attachment-frame .edit-media-header .right{left:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}} \ No newline at end of file diff --git a/build/wp-admin/css/media.css b/build/wp-admin/css/media.css deleted file mode 100644 index ea5787d4cb..0000000000 --- a/build/wp-admin/css/media.css +++ /dev/null @@ -1,1385 +0,0 @@ -/*------------------------------------------------------------------------------ - 14.0 - Media Screen -------------------------------------------------------------------------------*/ - -.media-item .describe { - border-collapse: collapse; - width: 100%; - border-top: 1px solid #dcdcde; - clear: both; - cursor: default; -} - -.media-item.media-blank .describe { - border: 0; -} - -.media-item .describe th { - vertical-align: top; - text-align: left; - padding: 5px 10px 10px; - width: 140px; -} - -.media-item .describe .align th { - padding-top: 0; -} - -.media-item .media-item-info tr { - background-color: transparent; -} - -.media-item .describe td { - padding: 0 8px 8px 0; - vertical-align: top; -} - -.media-item thead.media-item-info td { - padding: 4px 10px 0; -} - -.media-item .media-item-info .A1B1 { - padding: 0 0 0 10px; -} - -.media-item td.savesend { - padding-bottom: 15px; -} - -.media-item .thumbnail { - max-height: 128px; - max-width: 128px; -} - -.media-list-subtitle { - display: block; -} - -.media-list-title { - display: block; -} - -#wpbody-content #async-upload-wrap a { - display: none; -} - -.media-upload-form { - margin-top: 20px; -} - -.media-upload-form td label { - margin-right: 6px; - margin-left: 2px; -} - -.media-upload-form .align .field label { - display: inline; - padding: 0 0 0 23px; - margin: 0 1em 0 3px; - font-weight: 600; -} - -.media-upload-form tr.image-size label { - margin: 0 0 0 5px; - font-weight: 600; -} - -.media-upload-form th.label label { - font-weight: 600; - margin: 0.5em; - font-size: 13px; -} - -.media-upload-form th.label label span { - padding: 0 5px; -} - -.media-item .describe input[type="text"], -.media-item .describe textarea { - width: 460px; -} - -.media-item .describe p.help { - margin: 0; - padding: 0 0 0 5px; -} - -.describe-toggle-on, -.describe-toggle-off { - display: block; - line-height: 2.76923076; - float: right; - margin-right: 10px; -} - -.media-item-wrapper { - display: grid; - grid-template-columns: 1fr 1fr; -} - -.media-item .attachment-tools { - display: flex; - justify-content: flex-end; - align-items: center; -} - -.media-item .edit-attachment { - padding: 14px 0; - display: block; - margin-right: 10px; -} - -.media-item .edit-attachment.copy-to-clipboard-container { - margin-top: 0; -} - -.media-item-copy-container .success { - line-height: 0; -} - -.media-item button .copy-attachment-url { - margin-top: 14px; -} - -.media-item .copy-to-clipboard-container { - margin-top: 7px; -} - -.media-item .describe-toggle-off, -.media-item.open .describe-toggle-on { - display: none; -} - -.media-item.open .describe-toggle-off { - display: block; -} - -.media-upload-form .media-item { - min-height: 70px; - margin-bottom: 1px; - position: relative; - width: 100%; - background: #fff; -} - -.media-upload-form .media-item, -.media-upload-form .media-item .error { - box-shadow: 0 1px 0 #dcdcde; -} - -#media-items:empty { - border: 0 none; -} - -.media-item .filename { - padding: 14px 0; - overflow: hidden; - margin-left: 6px; -} - -.media-item .pinkynail { - float: left; - margin: 0 10px 0 0; - max-height: 70px; - max-width: 70px; -} - -.media-item .startopen, -.media-item .startclosed { - display: none; -} - -.media-item .original { - position: relative; - height: 34px; -} - -.media-item .progress { - float: right; - height: 22px; - margin: 7px 6px; - width: 200px; - line-height: 2em; - padding: 0; - overflow: hidden; - border-radius: 22px; - background: #dcdcde; - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.media-item .bar { - z-index: 9; - width: 0; - height: 100%; - margin-top: -22px; - border-radius: 22px; - background-color: #2271b1; - box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); -} - -.media-item .progress .percent { - z-index: 10; - position: relative; - width: 200px; - padding: 0; - color: #fff; - text-align: center; - line-height: 22px; - font-weight: 400; - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); -} - -.upload-php .fixed .column-parent { - width: 15%; -} - -.js .html-uploader #plupload-upload-ui { - display: none; -} - -.js .html-uploader #html-upload-ui { - display: block; -} - -#html-upload-ui #async-upload { - font-size: 1em; -} - -.media-upload-form .media-item.error, -.media-upload-form .media-item .error { - width: auto; - margin: 0 0 1px; -} - -.media-upload-form .media-item .error { - padding: 10px 0 10px 14px; - min-height: 50px; -} - -.media-item .error-div button.dismiss { - float: right; - margin: 0 10px 0 15px; -} - -/*------------------------------------------------------------------------------ - 14.1 - Media Library -------------------------------------------------------------------------------*/ - -.find-box { - background-color: #fff; - box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); - width: 600px; - overflow: hidden; - margin-left: -300px; - position: fixed; - top: 30px; - bottom: 30px; - left: 50%; - z-index: 100105; -} - -.find-box-head { - background: #fff; - border-bottom: 1px solid #dcdcde; - height: 36px; - font-size: 18px; - font-weight: 600; - line-height: 2; - padding: 0 36px 0 16px; - position: absolute; - top: 0; - left: 0; - right: 0; -} - -.find-box-inside { - overflow: auto; - padding: 16px; - background-color: #fff; - position: absolute; - top: 37px; - bottom: 45px; - overflow-y: scroll; - width: 100%; - box-sizing: border-box; -} - -.find-box-search { - padding-bottom: 16px; -} - -.find-box-search .spinner { - float: none; - left: 105px; - position: absolute; -} - -.find-box-search, -#find-posts-response { - position: relative; /* RTL fix, #WP28010 */ -} - -#find-posts-input, -#find-posts-search { - float: left; -} - -#find-posts-input { - width: 140px; - height: 28px; - margin: 0 4px 0 0; -} - -.widefat .found-radio { - padding-right: 0; - width: 16px; -} - -#find-posts-close { - width: 36px; - height: 36px; - border: none; - padding: 0; - position: absolute; - top: 0; - right: 0; - cursor: pointer; - text-align: center; - background: none; - color: #646970; -} - -#find-posts-close:hover, -#find-posts-close:focus { - color: #135e96; -} - -#find-posts-close:focus { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -#find-posts-close:before { - font: normal 20px/36px dashicons; - vertical-align: top; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - content: "\f158"; -} - -.find-box-buttons { - padding: 8px 16px; - background: #fff; - border-top: 1px solid #dcdcde; - position: absolute; - bottom: 0; - left: 0; - right: 0; -} - -@media screen and (max-width: 782px) { - .find-box-inside { - bottom: 57px; - } -} - -@media screen and (max-width: 660px) { - - .find-box { - top: 0; - bottom: 0; - left: 0; - right: 0; - margin: 0; - width: 100%; - } - -} - -.ui-find-overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - z-index: 100100; -} - -.drag-drop #drag-drop-area { - border: 4px dashed #c3c4c7; - height: 200px; -} - -.drag-drop .drag-drop-inside { - margin: 60px auto 0; - width: 250px; -} - -.drag-drop-inside p { - font-size: 14px; - margin: 5px 0; - display: none; -} - -.drag-drop .drag-drop-inside p { - text-align: center; -} - -.drag-drop-inside p.drag-drop-info { - font-size: 20px; -} - -.drag-drop .drag-drop-inside p, -.drag-drop-inside p.drag-drop-buttons { - display: block; -} - -/* -#drag-drop-area:-moz-drag-over { - border-color: #83b4d8; -} -border color while dragging a file over the uploader drop area */ -.drag-drop.drag-over #drag-drop-area { - border-color: #9ec2e6; -} - -#plupload-upload-ui { - position: relative; -} - -/** - * Media Library grid view - */ - -.media-frame.mode-grid, -.media-frame.mode-grid .media-frame-content, -.media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments, -.media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper, -.media-frame.mode-grid .uploader-inline-content { - position: static; -} - -/* Regions we don't use at all */ -.media-frame.mode-grid .media-frame-title, -.media-frame.mode-grid .media-frame-router, -.media-frame.mode-grid .media-frame-menu { - display: none; -} - -.media-frame.mode-grid .media-frame-content { - background-color: transparent; - border: none; -} - -.upload-php .mode-grid .media-sidebar { - position: relative; - width: auto; - margin-top: 12px; - padding: 0 16px; - border-left: 4px solid #d63638; - box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); - background-color: #fff; -} - -.upload-php .mode-grid .hide-sidebar .media-sidebar { - display: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status { - border-bottom: none; - padding-bottom: 0; - max-width: 100%; -} - -.upload-php .mode-grid .media-sidebar .upload-error { - margin: 12px 0; - padding: 4px 0 0; - border: none; - box-shadow: none; - background: none; -} - -.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { - display: none; -} - -.media-frame.mode-grid .uploader-inline { - position: relative; - top: auto; - right: auto; - left: auto; - bottom: auto; - padding-top: 0; - margin-top: 20px; - border: 4px dashed #c3c4c7; -} - -.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments, -.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper { - position: relative; - top: 94px; /* prevent jumping up when the toolbar becomes fixed */ - padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */ -} - -.media-frame.mode-grid .attachment:focus, -.media-frame.mode-grid .selected.attachment:focus, -.media-frame.mode-grid .attachment.details:focus { - box-shadow: - inset 0 0 2px 3px #f0f0f1, - inset 0 0 0 7px #4f94d4; - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -6px; -} - -.media-frame.mode-grid .selected.attachment { - box-shadow: - inset 0 0 0 5px #f0f0f1, - inset 0 0 0 7px #c3c4c7; -} - -.media-frame.mode-grid .attachment.details { - box-shadow: - inset 0 0 0 3px #f0f0f1, - inset 0 0 0 7px #4f94d4; -} - -.media-frame.mode-grid.mode-select .attachment .thumbnail { - opacity: 0.65; -} - -.media-frame.mode-select .attachment.selected .thumbnail { - opacity: 1; -} - -.media-frame.mode-grid .media-toolbar { - margin-bottom: 15px; - height: auto; -} - -.media-frame.mode-grid .media-toolbar select { - margin: 0 10px 0 0; -} - -.media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button { - margin: 0 8px 0 0; - vertical-align: middle; -} - -.media-frame.mode-grid .attachments-browser .bulk-select { - display: inline-block; - margin: 0 10px 0 0; -} - -.media-frame.mode-grid .search { - margin-top: 0; -} - -.media-search-input-label { - margin: 0 .2em 0 0; - vertical-align: baseline; -} - -.media-frame.mode-grid .media-search-input-label { - position: static; - margin: 0 .5em 0 0; -} - -.attachments-browser .media-toolbar-secondary > .media-button { - margin-right: 10px; -} - -.media-frame.mode-select .attachments-browser.fixed .media-toolbar { - position: fixed; - top: 32px; - left: auto; - right: 20px; - margin-top: 0; -} - -.media-frame.mode-grid .attachments-browser { - padding: 0; -} - -.media-frame.mode-grid .attachments-browser .attachments { - padding: 2px; -} - -.media-frame.mode-grid .attachments-browser .no-media { - color: #646970; /* same as no plugins and no themes */ - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0 0; - text-align: center; -} - -/** - * Attachment details modal - */ - -.edit-attachment-frame { - display: block; - height: 100%; - width: 100%; -} - -.edit-attachment-frame .edit-media-header { - overflow: hidden; -} - -.upload-php .media-modal-close .media-modal-icon:before { - content: "\f335"; - font-size: 22px; -} - -.upload-php .media-modal-close, -.edit-attachment-frame .edit-media-header .left, -.edit-attachment-frame .edit-media-header .right { - cursor: pointer; - color: #787c82; - background-color: transparent; - height: 50px; - width: 50px; - padding: 0; - position: absolute; - text-align: center; - border: 0; - border-left: 1px solid #dcdcde; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.upload-php .media-modal-close { - top: 0; - right: 0; -} - -.edit-attachment-frame .edit-media-header .left { - right: 102px; -} - -.edit-attachment-frame .edit-media-header .right { - right: 51px; -} - -.edit-attachment-frame .media-frame-title { - left: 0; - right: 150px; /* leave space for prev/next/close */ -} - -.edit-attachment-frame .edit-media-header .right:before, -.edit-attachment-frame .edit-media-header .left:before { - font: normal 20px/50px dashicons !important; - display: inline; - font-weight: 300; -} - -.upload-php .media-modal-close:hover, -.upload-php .media-modal-close:focus, -.edit-attachment-frame .edit-media-header .left:hover, -.edit-attachment-frame .edit-media-header .right:hover, -.edit-attachment-frame .edit-media-header .left:focus, -.edit-attachment-frame .edit-media-header .right:focus { - background: #dcdcde; - border-color: #c3c4c7; - color: #000; - outline: none; - box-shadow: none; -} - -.upload-php .media-modal-close:focus, -.edit-attachment-frame .edit-media-header .left:focus, -.edit-attachment-frame .edit-media-header .right:focus { - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.upload-php .media-modal-close:focus .media-modal-icon:before, -.upload-php .media-modal-close:hover .media-modal-icon:before { - color: #000; -} - -.edit-attachment-frame .edit-media-header .left:before { - content: "\f341"; -} - -.edit-attachment-frame .edit-media-header .right:before { - content: "\f345"; -} - -.edit-attachment-frame .edit-media-header [disabled], -.edit-attachment-frame .edit-media-header [disabled]:hover { - color: #c3c4c7; - background: inherit; - cursor: default; -} - -.edit-attachment-frame .media-frame-content, -.edit-attachment-frame .media-frame-router { - left: 0; -} - -.edit-attachment-frame .media-frame-content { - border-bottom: none; - bottom: 0; - top: 50px; -} - -.edit-attachment-frame .attachment-details { - position: absolute; - overflow: auto; - top: 0; - bottom: 0; - right: 0; - left: 0; - box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); -} - -.edit-attachment-frame .attachment-media-view { - float: left; - width: 65%; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .thumbnail { - box-sizing: border-box; - padding: 16px; - height: 100%; -} - -.edit-attachment-frame .attachment-media-view .details-image { - display: block; - margin: 0 auto 16px; - max-width: 100%; - max-height: 90%; - max-height: calc( 100% - 42px ); /* leave space for actions underneath */ - background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 0 0, 10px 10px; - background-size: 20px 20px; -} - -.edit-attachment-frame .attachment-media-view .details-image.icon { - background: none; -} - -.edit-attachment-frame .attachment-media-view .attachment-actions { - text-align: center; -} - -.edit-attachment-frame .wp-media-wrapper { - margin-bottom: 12px; -} - -.edit-attachment-frame input, -.edit-attachment-frame textarea { - padding: 4px 8px; - line-height: 1.42857143; -} - -.edit-attachment-frame .attachment-info { - overflow: auto; - box-sizing: border-box; - margin-bottom: 0; - padding: 12px 16px 0; - width: 35%; - height: 100%; - box-shadow: inset 0 4px 4px -4px rgba(0, 0, 0, 0.1); - border-bottom: 0; - border-left: 1px solid #dcdcde; - background: #f6f7f7; -} - -.edit-attachment-frame .attachment-info .details, -.edit-attachment-frame .attachment-info .settings { - position: relative; /* RTL fix, #WP29352 */ - overflow: hidden; - float: none; - margin-bottom: 15px; - padding-bottom: 15px; - border-bottom: 1px solid #dcdcde; -} - -.edit-attachment-frame .attachment-info .filename { - font-weight: 400; - color: #646970; -} - -.edit-attachment-frame .attachment-info .thumbnail { - margin-bottom: 12px; -} - -.attachment-info .actions { - margin-bottom: 16px; -} - -.attachment-info .actions a { - display: inline; - text-decoration: none; -} - -.copy-to-clipboard-container { - display: flex; - align-items: center; - margin-top: 8px; - clear: both; -} - -.copy-to-clipboard-container .copy-attachment-url { - white-space: normal; -} - -.copy-to-clipboard-container .success { - color: #008a20; - margin-left: 8px; -} - -/*------------------------------------------------------------------------------ - 14.2 - Image Editor -------------------------------------------------------------------------------*/ -.wp_attachment_details .attachment-alt-text { - margin-bottom: 5px; -} - -.wp_attachment_details #attachment_alt { - max-width: 500px; - height: 3.28571428em; -} - -.wp_attachment_details .attachment-alt-text-description { - margin-top: 5px; -} - -.wp_attachment_details label[for="content"] { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; -} - -.wp_attachment_details #attachment_caption { - height: 4em; -} - -.describe .image-editor { - vertical-align: top; -} - -.imgedit-wrap { - position: relative; - padding-top: 10px; -} - -.imgedit-settings p, -.imgedit-settings fieldset { - margin: 8px 0; -} - -.imgedit-settings legend { - margin-bottom: 5px; -} - -.describe .imgedit-wrap .imgedit-settings { - padding: 0 5px; -} - -.wp_attachment_holder div.updated { - margin-top: 0; -} - -.wp_attachment_holder .imgedit-wrap > div { - height: auto; -} - -.wp_attachment_holder .imgedit-wrap .imgedit-panel-content { - float: left; - padding: 3px 16px 0 0; - min-width: 400px; - max-width: calc( 100% - 266px ); -} - -.wp_attachment_holder .imgedit-wrap .imgedit-settings { - float: right; - width: 250px; -} - -.imgedit-settings input { - margin-top: 0; - vertical-align: middle; -} - -.imgedit-wait { - position: absolute; - top: 0; - bottom: 0; - width: 100%; - background: #fff; - opacity: 0.7; - filter: alpha(opacity=70); - display: none; -} - -.imgedit-wait:before { - content: ""; - display: block; - width: 20px; - height: 20px; - position: absolute; - left: 50%; - top: 50%; - margin: -10px 0 0 -10px; - background: transparent url(../images/spinner.gif) no-repeat center; - background-size: 20px 20px; - transform: translateZ(0); -} - -.no-float { - float: none; -} - -.media-disabled, -.imgedit-settings .disabled { - /* WCAG 1.4.3 Text or images of text that are part of an inactive user - interface component ... have no contrast requirement. */ - color: #a7aaad; -} - -.A1B1 { - overflow: hidden; -} - -.wp_attachment_image .button, -.A1B1 .button { - float: left; -} - -.no-js .wp_attachment_image .button { - display: none; -} - -.wp_attachment_image .spinner, -.A1B1 .spinner { - float: left; -} - -.imgedit-menu { - margin: 0 0 12px; -} - -.imgedit-menu .note-no-rotate { - clear: both; - margin: 0; - padding: 1em 0 0; -} - -.image-editor .imgedit-menu .button { - display: inline-block; - width: auto; - min-height: 28px; - font-size: 13px; - line-height: 2; - margin: 0 8px 8px 0; - padding: 0 10px; -} - -.imgedit-menu .button:before { - font: normal 16px/1 dashicons; - margin-right: 8px; - speak: never; - vertical-align: middle; - position: relative; - top: -2px; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.imgedit-menu .button.disabled { - color: #a7aaad; - border-color: #dcdcde; - background: #f6f7f7; - box-shadow: none; - text-shadow: 0 1px 0 #fff; - cursor: default; - transform: none; -} - -.imgedit-crop:before { - content: "\f165"; -} - -.imgedit-rleft:before { - content: "\f166"; -} - -.imgedit-rright:before { - content: "\f167"; -} - -.imgedit-flipv:before { - content: "\f168"; -} - -.imgedit-fliph:before { - content: "\f169"; -} - -.imgedit-undo:before { - content: "\f171"; -} - -.imgedit-redo:before { - content: "\f172"; -} - -.imgedit-crop-wrap { - position: relative; -} - -.imgedit-crop-wrap img { - background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 0 0, 10px 10px; - background-size: 20px 20px; -} - -.imgedit-crop { - margin: 0 8px 0 0; -} - -.imgedit-rleft { - margin: 0 3px; -} - -.imgedit-rright { - margin: 0 8px 0 3px; -} - -.imgedit-flipv { - margin: 0 3px; -} - -.imgedit-fliph { - margin: 0 8px 0 3px; -} - -.imgedit-undo { - margin: 0 3px; -} - -.imgedit-redo { - margin: 0 8px 0 3px; -} - -.imgedit-thumbnail-preview { - margin: 10px 8px 0 0; -} - -.imgedit-thumbnail-preview-caption { - display: block; -} - -#poststuff .imgedit-group-top h2 { - display: inline-block; - margin: 0; - padding: 0; - font-size: 14px; - line-height: 1.4; -} - -#poststuff .imgedit-group-top .button-link { - text-decoration: none; - color: #1d2327; -} - -.imgedit-applyto .imgedit-label { - display: block; - padding: .5em 0 0; -} - -.imgedit-help { - display: none; - padding-bottom: 8px; -} - -.imgedit-help.imgedit-restore { - padding-bottom: 0; -} - -/* higher specificity than buttons */ -.image-editor .imgedit-settings .imgedit-help-toggle, -.image-editor .imgedit-settings .imgedit-help-toggle:hover, -.image-editor .imgedit-settings .imgedit-help-toggle:active { - border: 1px solid transparent; - margin: -1px 0 0 -1px; - padding: 0; - background: transparent; - color: #2271b1; - font-size: 20px; - line-height: 1; - cursor: pointer; - box-sizing: content-box; - box-shadow: none; -} - -.image-editor .imgedit-settings .imgedit-help-toggle:focus { - color: #2271b1; - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; -} - -.form-table td.imgedit-response { - padding: 0; -} - -.imgedit-submit { - margin: 8px 0 0; -} - -.imgedit-submit-btn { - margin-left: 20px; -} - -.imgedit-wrap .nowrap { - white-space: nowrap; - font-size: 12px; - line-height: inherit; -} - -span.imgedit-scale-warn { - color: #d63638; - font-size: 20px; - font-style: normal; - visibility: hidden; - vertical-align: middle; -} - -.imgedit-save-target { - margin: 8px 0; -} - -.imgedit-save-target legend { - font-weight: 600; -} - -.imgedit-group { - margin-bottom: 8px; - padding: 10px; -} - -.imgedit-settings .imgedit-original-dimensions { - display: inline-block; -} - -.imgedit-settings .imgedit-scale input[type="text"], -.imgedit-settings .imgedit-crop-ratio input[type="text"], -.imgedit-settings .imgedit-crop-sel input[type="text"] { - width: 80px; - font-size: 14px; - padding: 0 8px; -} - -.imgedit-separator { - display: inline-block; - width: 7px; - text-align: center; - font-size: 13px; - color: #3c434a; -} - -.imgedit-settings .imgedit-scale-button-wrapper { - margin-top: 0.3077em; - display: block; -} - -.imgedit-settings .imgedit-scale .button { - margin-bottom: 0; -} - -audio, video { - display: inline-block; - max-width: 100%; -} - -.wp-core-ui .mejs-container { - width: 100%; - max-width: 100%; -} - -.wp-core-ui .mejs-container * { - box-sizing: border-box; -} - -.wp-core-ui .mejs-time { - box-sizing: content-box; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .imgedit-wait:before { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and (max-width: 782px) { - .edit-attachment-frame input, - .edit-attachment-frame textarea { - line-height: 1.5; - } - - .wp_attachment_details label[for="content"] { - font-size: 14px; - line-height: 1.5; - } - - .wp_attachment_details textarea { - line-height: 1.5; - } - - .wp_attachment_details #attachment_alt { - height: 3.375em; - } - - .media-upload-form .media-item.error, - .media-upload-form .media-item .error { - font-size: 13px; - line-height: 1.5; - } - - .media-upload-form .media-item.error { - padding: 1px 10px; - } - - .media-upload-form .media-item .error { - padding: 10px 0 10px 12px; - } - - .imgedit-settings .imgedit-scale input[type="text"], - .imgedit-settings .imgedit-crop-ratio input[type="text"], - .imgedit-settings .imgedit-crop-sel input[type="text"] { - font-size: 16px; - padding: 6px 10px; - } - - .wp_attachment_holder .imgedit-wrap .imgedit-panel-content, - .wp_attachment_holder .imgedit-wrap .imgedit-settings { - float: none; - width: auto; - max-width: none; - padding-bottom: 16px; - } - - .copy-to-clipboard-container .success { - font-size: 14px; - } - - /* Restructure image editor on narrow viewports. */ - .imgedit-crop-wrap img{ - width: 100%; - } - - .media-modal .imgedit-wrap .imgedit-panel-content, - .media-modal .imgedit-wrap .imgedit-settings { - position: initial !important; - } - - .media-modal .imgedit-wrap .imgedit-settings { - box-sizing: border-box; - width: 100% !important; - } - - .imgedit-settings .imgedit-scale-button-wrapper { - display: inline-block; - } -} - -@media only screen and (max-width: 600px) { - .media-item-wrapper { - grid-template-columns: 1fr; - } -} - -/** - * Media queries for media grid. - */ - -@media only screen and (max-width: 1120px) { - /* override for media-views.css */ - #wp-media-grid .wp-filter .attachment-filters { - max-width: 100%; - } -} - -@media only screen and (max-width: 782px) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 46px; - right: 10px; - } -} - -@media only screen and (max-width: 600px) { - .media-frame.mode-select .attachments-browser.fixed .media-toolbar { - top: 0; - } -} - -@media only screen and (max-width: 480px) { - .edit-attachment-frame .media-frame-title { - right: 110px; - } - - .upload-php .media-modal-close, - .edit-attachment-frame .edit-media-header .left, - .edit-attachment-frame .edit-media-header .right { - width: 40px; - height: 40px; - } - - .edit-attachment-frame .edit-media-header .right:before, - .edit-attachment-frame .edit-media-header .left:before { - line-height: 40px !important; - } - - .edit-attachment-frame .edit-media-header .left { - right: 82px; - } - - .edit-attachment-frame .edit-media-header .right { - right: 41px; - } - - .edit-attachment-frame .media-frame-content { - top: 40px; - } - - .edit-attachment-frame .attachment-media-view { - float: none; - height: auto; - width: 100%; - } - - .edit-attachment-frame .attachment-info { - height: auto; - width: 100%; - } -} - -@media only screen and (max-width: 640px), screen and (max-height: 400px) { - .upload-php .mode-grid .media-sidebar{ - max-width: 100%; - } -} diff --git a/build/wp-admin/css/media.min.css b/build/wp-admin/css/media.min.css deleted file mode 100644 index 506348a33c..0000000000 --- a/build/wp-admin/css/media.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.media-item .describe{border-collapse:collapse;width:100%;border-top:1px solid #dcdcde;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}.media-list-subtitle{display:block}.media-list-title{display:block}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:600}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.describe-toggle-off,.describe-toggle-on{display:block;line-height:2.76923076;float:right;margin-right:10px}.media-item-wrapper{display:grid;grid-template-columns:1fr 1fr}.media-item .attachment-tools{display:flex;justify-content:flex-end;align-items:center}.media-item .edit-attachment{padding:14px 0;display:block;margin-right:10px}.media-item .edit-attachment.copy-to-clipboard-container{margin-top:0}.media-item-copy-container .success{line-height:0}.media-item button .copy-attachment-url{margin-top:14px}.media-item .copy-to-clipboard-container{margin-top:7px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.media-upload-form .media-item{min-height:70px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{box-shadow:0 1px 0 #dcdcde}#media-items:empty{border:0 none}.media-item .filename{padding:14px 0;overflow:hidden;margin-left:6px}.media-item .pinkynail{float:left;margin:0 10px 0 0;max-height:70px;max-width:70px}.media-item .startclosed,.media-item .startopen{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;border-radius:22px;background:#dcdcde;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;border-radius:22px;background-color:#2271b1;box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}#html-upload-ui #async-upload{font-size:1em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 0 10px 14px;min-height:50px}.media-item .error-div button.dismiss{float:right;margin:0 10px 0 15px}.find-box{background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-left:-300px;position:fixed;top:30px;bottom:30px;left:50%;z-index:100105}.find-box-head{background:#fff;border-bottom:1px solid #dcdcde;height:36px;font-size:18px;font-weight:600;line-height:2;padding:0 36px 0 16px;position:absolute;top:0;left:0;right:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;left:105px;position:absolute}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:left}#find-posts-input{width:140px;height:28px;margin:0 4px 0 0}.widefat .found-radio{padding-right:0;width:16px}#find-posts-close{width:36px;height:36px;border:none;padding:0;position:absolute;top:0;right:0;cursor:pointer;text-align:center;background:0 0;color:#646970}#find-posts-close:focus,#find-posts-close:hover{color:#135e96}#find-posts-close:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:2px solid transparent;outline-offset:-2px}#find-posts-close:before{font:normal 20px/36px dashicons;vertical-align:top;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f158"}.find-box-buttons{padding:8px 16px;background:#fff;border-top:1px solid #dcdcde;position:absolute;bottom:0;left:0;right:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;left:0;right:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;z-index:100100}.drag-drop #drag-drop-area{border:4px dashed #c3c4c7;height:200px}.drag-drop .drag-drop-inside{margin:60px auto 0;width:250px}.drag-drop-inside p{font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#9ec2e6}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser.has-load-more .attachments-wrapper,.media-frame.mode-grid .attachments-browser:not(.has-load-more) .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title{display:none}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-top:12px;padding:0 16px;border-left:4px solid #d63638;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);background-color:#fff}.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:12px 0;padding:4px 0 0;border:none;box-shadow:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;right:auto;left:auto;bottom:auto;padding-top:0;margin-top:20px;border:4px dashed #c3c4c7}.media-frame.mode-select .attachments-browser.fixed:not(.has-load-more) .attachments,.media-frame.mode-select .attachments-browser.has-load-more.fixed .attachments-wrapper{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{box-shadow:inset 0 0 2px 3px #f0f0f1,inset 0 0 0 7px #4f94d4;outline:2px solid transparent;outline-offset:-6px}.media-frame.mode-grid .selected.attachment{box-shadow:inset 0 0 0 5px #f0f0f1,inset 0 0 0 7px #c3c4c7}.media-frame.mode-grid .attachment.details{box-shadow:inset 0 0 0 3px #f0f0f1,inset 0 0 0 7px #4f94d4}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 10px 0 0}.media-frame.mode-grid.mode-edit .media-toolbar-secondary>.select-mode-toggle-button{margin:0 8px 0 0;vertical-align:middle}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 10px 0 0}.media-frame.mode-grid .search{margin-top:0}.media-search-input-label{margin:0 .2em 0 0;vertical-align:baseline}.media-frame.mode-grid .media-search-input-label{position:static;margin:0 .5em 0 0}.attachments-browser .media-toolbar-secondary>.media-button{margin-right:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;left:auto;right:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#646970;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:"\f335";font-size:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#787c82;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-left:1px solid #dcdcde;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;right:0}.edit-attachment-frame .edit-media-header .left{right:102px}.edit-attachment-frame .edit-media-header .right{right:51px}.edit-attachment-frame .media-frame-title{left:0;right:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:normal 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#dcdcde;border-color:#c3c4c7;color:#000;outline:0;box-shadow:none}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .right:focus,.upload-php .media-modal-close:focus{outline:2px solid transparent;outline-offset:-2px}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before{content:"\f341"}.edit-attachment-frame .edit-media-header .right:before{content:"\f345"}.edit-attachment-frame .edit-media-header [disabled],.edit-attachment-frame .edit-media-header [disabled]:hover{color:#c3c4c7;background:inherit;cursor:default}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{left:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;right:0;left:0;box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:left;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin:0 auto 16px;max-width:100%;max-height:90%;max-height:calc(100% - 42px);background-image:linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:0 0,10px 10px;background-size:20px 20px}.edit-attachment-frame .attachment-media-view .details-image.icon{background:0 0}.edit-attachment-frame .attachment-media-view .attachment-actions{text-align:center}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:4px 8px;line-height:1.42857143}.edit-attachment-frame .attachment-info{overflow:auto;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-left:1px solid #dcdcde;background:#f6f7f7}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #dcdcde}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#646970}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.copy-to-clipboard-container{display:flex;align-items:center;margin-top:8px;clear:both}.copy-to-clipboard-container .copy-attachment-url{white-space:normal}.copy-to-clipboard-container .success{color:#008a20;margin-left:8px}.wp_attachment_details .attachment-alt-text{margin-bottom:5px}.wp_attachment_details #attachment_alt{max-width:500px;height:3.28571428em}.wp_attachment_details .attachment-alt-text-description{margin-top:5px}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative;padding-top:10px}.imgedit-settings fieldset,.imgedit-settings p{margin:8px 0}.imgedit-settings legend{margin-bottom:5px}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{float:left;padding:3px 16px 0 0;min-width:400px;max-width:calc(100% - 266px)}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:right;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;bottom:0;width:100%;background:#fff;opacity:.7;display:none}.imgedit-wait:before{content:"";display:block;width:20px;height:20px;position:absolute;left:50%;top:50%;margin:-10px 0 0 -10px;background:transparent url(../images/spinner.gif) no-repeat center;background-size:20px 20px;transform:translateZ(0)}.no-float{float:none}.imgedit-settings .disabled,.media-disabled{color:#a7aaad}.A1B1{overflow:hidden}.A1B1 .button,.wp_attachment_image .button{float:left}.no-js .wp_attachment_image .button{display:none}.A1B1 .spinner,.wp_attachment_image .spinner{float:left}.imgedit-menu{margin:0 0 12px}.imgedit-menu .note-no-rotate{clear:both;margin:0;padding:1em 0 0}.image-editor .imgedit-menu .button{display:inline-block;width:auto;min-height:28px;font-size:13px;line-height:2;margin:0 8px 8px 0;padding:0 10px}.imgedit-menu .button:before{font:normal 16px/1 dashicons;margin-right:8px;speak:never;vertical-align:middle;position:relative;top:-2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.imgedit-menu .button.disabled{color:#a7aaad;border-color:#dcdcde;background:#f6f7f7;box-shadow:none;text-shadow:0 1px 0 #fff;cursor:default;transform:none}.imgedit-crop:before{content:"\f165"}.imgedit-rleft:before{content:"\f166"}.imgedit-rright:before{content:"\f167"}.imgedit-flipv:before{content:"\f168"}.imgedit-fliph:before{content:"\f169"}.imgedit-undo:before{content:"\f171"}.imgedit-redo:before{content:"\f172"}.imgedit-crop-wrap{position:relative}.imgedit-crop-wrap img{background-image:linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:0 0,10px 10px;background-size:20px 20px}.imgedit-crop{margin:0 8px 0 0}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 8px 0 3px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 8px 0 3px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 8px 0 3px}.imgedit-thumbnail-preview{margin:10px 8px 0 0}.imgedit-thumbnail-preview-caption{display:block}#poststuff .imgedit-group-top h2{display:inline-block;margin:0;padding:0;font-size:14px;line-height:1.4}#poststuff .imgedit-group-top .button-link{text-decoration:none;color:#1d2327}.imgedit-applyto .imgedit-label{display:block;padding:.5em 0 0}.imgedit-help{display:none;padding-bottom:8px}.imgedit-help.imgedit-restore{padding-bottom:0}.image-editor .imgedit-settings .imgedit-help-toggle,.image-editor .imgedit-settings .imgedit-help-toggle:active,.image-editor .imgedit-settings .imgedit-help-toggle:hover{border:1px solid transparent;margin:-1px 0 0 -1px;padding:0;background:0 0;color:#2271b1;font-size:20px;line-height:1;cursor:pointer;box-sizing:content-box;box-shadow:none}.image-editor .imgedit-settings .imgedit-help-toggle:focus{color:#2271b1;border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8);outline:2px solid transparent}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap;font-size:12px;line-height:inherit}span.imgedit-scale-warn{color:#d63638;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-save-target{margin:8px 0}.imgedit-save-target legend{font-weight:600}.imgedit-group{margin-bottom:8px;padding:10px}.imgedit-settings .imgedit-original-dimensions{display:inline-block}.imgedit-settings .imgedit-crop-ratio input[type=text],.imgedit-settings .imgedit-crop-sel input[type=text],.imgedit-settings .imgedit-scale input[type=text]{width:80px;font-size:14px;padding:0 8px}.imgedit-separator{display:inline-block;width:7px;text-align:center;font-size:13px;color:#3c434a}.imgedit-settings .imgedit-scale-button-wrapper{margin-top:.3077em;display:block}.imgedit-settings .imgedit-scale .button{margin-bottom:0}audio,video{display:inline-block;max-width:100%}.wp-core-ui .mejs-container{width:100%;max-width:100%}.wp-core-ui .mejs-container *{box-sizing:border-box}.wp-core-ui .mejs-time{box-sizing:content-box}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait:before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.edit-attachment-frame input,.edit-attachment-frame textarea{line-height:1.5}.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5}.wp_attachment_details textarea{line-height:1.5}.wp_attachment_details #attachment_alt{height:3.375em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 0 10px 12px}.imgedit-settings .imgedit-crop-ratio input[type=text],.imgedit-settings .imgedit-crop-sel input[type=text],.imgedit-settings .imgedit-scale input[type=text]{font-size:16px;padding:6px 10px}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:none;width:auto;max-width:none;padding-bottom:16px}.copy-to-clipboard-container .success{font-size:14px}.imgedit-crop-wrap img{width:100%}.media-modal .imgedit-wrap .imgedit-panel-content,.media-modal .imgedit-wrap .imgedit-settings{position:initial!important}.media-modal .imgedit-wrap .imgedit-settings{box-sizing:border-box;width:100%!important}.imgedit-settings .imgedit-scale-button-wrapper{display:inline-block}}@media only screen and (max-width:600px){.media-item-wrapper{grid-template-columns:1fr}}@media only screen and (max-width:1120px){#wp-media-grid .wp-filter .attachment-filters{max-width:100%}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;right:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{right:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{right:82px}.edit-attachment-frame .edit-media-header .right{right:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}} \ No newline at end of file diff --git a/build/wp-admin/css/nav-menus-rtl.css b/build/wp-admin/css/nav-menus-rtl.css deleted file mode 100644 index 05087e828e..0000000000 --- a/build/wp-admin/css/nav-menus-rtl.css +++ /dev/null @@ -1,1027 +0,0 @@ -/*! This file is auto-generated */ -/* nav-menu */ - -/* @todo: determine if this is truly for nav menus only */ -.no-js #message { - display: block; -} - -ul.add-menu-item-tabs li { - padding: 3px 8px 4px 5px; -} - -.accordion-section ul.category-tabs, -.accordion-section ul.add-menu-item-tabs, -.accordion-section ul.wp-tab-bar { - margin: 0; -} - -.accordion-section .categorychecklist { - margin: 13px 0; -} - -#nav-menu-meta .accordion-section-content { - padding: 18px 13px; -} - -#nav-menu-meta .button-controls { - margin-bottom: 0; -} - -.has-no-menu-item .button-controls { - display: none; -} - -#nav-menus-frame { - margin-right: 300px; - margin-top: 23px; -} - -#wpbody-content #menu-settings-column { - display: inline; - width: 281px; - margin-right: -300px; - clear: both; - float: right; - padding-top: 0; -} - -#menu-settings-column .inside { - clear: both; - margin: 10px 0 0; -} - -.metabox-holder-disabled .postbox, -.metabox-holder-disabled .accordion-section-content, -.metabox-holder-disabled .accordion-section-title { - opacity: 0.5; - filter: alpha(opacity=50); -} - -.metabox-holder-disabled .button-controls .select-all { - display: none; -} - -#wpbody { - position: relative; -} - -.is-submenu { - color: #50575e; /* #fafafa background */ - font-style: italic; - font-weight: 400; - margin-right: 4px; -} - -.manage-menus { - margin-top: 23px; - padding: 10px; - overflow: hidden; - background: #fff; -} - -.manage-menus .selected-menu, -.manage-menus select, -.manage-menus .submit-btn, -.nav-menus-php .add-new-menu-action { - display: inline-block; - margin-left: 3px; - vertical-align: middle; -} - -.manage-menus select, -.menu-location-menus select { - max-width: 100%; -} - -.menu-edit #post-body-content h3 { - margin: 1em 0 10px; -} - -#nav-menu-bulk-actions-top { - margin: 1em 0; -} - -#nav-menu-bulk-actions-bottom { - margin: 1em 0; - margin: calc( 1em + 9px ) 0 ; -} - -.bulk-actions input.button { - margin-left: 12px; -} - -.bulk-select-button { - position: relative; - display: inline-block; - padding: 0 10px; - font-size: 13px; - line-height: 2.15384615; - height: auto; - min-height: 30px; - background: #f6f7f7; - vertical-align: top; - border: 1px solid #dcdcde; - margin: 0; - cursor: pointer; - border-radius: 3px; - white-space: nowrap; - box-sizing: border-box; -} - -.bulk-selection .bulk-select-button { - color: #2271b1; - border-color: #2271b1; - background: #f6f7f7; - vertical-align: top; -} - -#pending-menu-items-to-delete { - display: none; -} - -.bulk-selection #pending-menu-items-to-delete { - display: block; - margin-top: 1em; -} - -#pending-menu-items-to-delete p { - margin-bottom: 0; -} - -#pending-menu-items-to-delete ul { - margin-top: 0; - list-style: none; -} - -#pending-menu-items-to-delete ul li { - display: inline; -} - -input.bulk-select-switcher + .bulk-select-button-label { - vertical-align: inherit; -} - -label.bulk-select-button:hover, -label.bulk-select-button:active, -label.bulk-select-button:focus-within { - background: #f0f0f1; - border-color: #0a4b78; - color: #0a4b78; -} - -input.bulk-select-switcher:focus + .bulk-select-button-label{ - color: #0a4b78; -} - -.bulk-actions input.menu-items-delete { - -webkit-appearance: none; - appearance: none; - font-size: inherit; - border: 0; - line-height: 2.1em; - background: none; - cursor: pointer; - text-decoration: underline; - color: #b32d2e; -} - -.bulk-actions input.menu-items-delete:hover { - color: #b32d2e; - border: none; -} - -.bulk-actions input.menu-items-delete.disabled { - cursor: default; - color: #a7aaad; - box-shadow: none; -} - -.menu-settings { - border-top: 1px solid #f0f0f1; - margin-top: 2em; -} - -.menu-settings-group { - margin: 0 0 10px; - overflow: hidden; - padding-right: 20%; -} - -.menu-settings-group:last-of-type { - margin-bottom: 0; -} - -.menu-settings-input { - float: right; - margin: 0; - width: 100%; -} - -.menu-settings-group-name { - float: right; - clear: both; - width: 25%; - padding: 3px 0 0; - margin-right: -25%; /* 20 container left padding x ( 100 container % width / 80 this % width ) */ -} - -.menu-settings label { - vertical-align: baseline; -} - -.menu-edit .checkbox-input { - margin-top: 4px; -} - -.theme-location-set { - color: #646970; - font-size: 11px; -} - -/* Menu Container */ - -/* @todo: responsive view. */ -#menu-management-liquid { - float: right; - min-width: 100%; - margin-top: 3px; -} - -/* @todo: responsive view. */ -#menu-management { - position: relative; - margin-left: 20px; - margin-top: -3px; - width: 100%; -} - -#menu-management .menu-edit { - margin-bottom: 20px; -} - -.nav-menus-php #post-body { - padding: 0 10px; - border-top: 1px solid #fff; - border-bottom: 1px solid #dcdcde; - background: #fff; -} - -#nav-menu-header, -#nav-menu-footer { - padding: 0 10px; - background: #f6f7f7; -} - -#nav-menu-header { - border-bottom: 1px solid #dcdcde; - margin-bottom: 0; -} - -#nav-menu-header .menu-name-label { - display: inline-block; - vertical-align: middle; - margin-left: 7px; -} - -.nav-menus-php #post-body div.updated, -.nav-menus-php #post-body div.error { - margin: 0; -} - -.nav-menus-php #post-body-content { - position: relative; - float: none; -} - -.nav-menus-php #post-body-content .post-body-plain { - margin-bottom: 0; -} - -#menu-management .menu-add-new abbr { - font-weight: 600; -} - -#select-nav-menu-container { - text-align: left; - padding: 0 10px 3px; - margin-bottom: 5px; -} - -#select-nav-menu { - width: 100px; - display: inline; -} - -#menu-name-label { - margin-top: -2px; -} - -.widefat .menu-locations .menu-location-title { - padding: 13px 10px 0; -} - -.menu-location-title label { - font-weight: 600; -} - -.menu-location-menus select { - float: right; -} - -#locations-nav-menu-wrapper { - padding: 5px 0; -} - -.locations-nav-menu-select select { - float: right; - width: 160px; - margin-left: 5px; -} - -.locations-row-links { - float: right; - margin: 6px 6px 0 0; -} - -.locations-edit-menu-link, -.locations-add-menu-link { - margin: 0 3px; -} - -.locations-edit-menu-link { - padding-left: 3px; - border-left: 1px solid #c3c4c7; -} - -#menu-management .inside { - padding: 0 10px; -} - -/* Add Menu Item Boxes */ -.postbox .howto input, -.customlinkdiv .menu-item-textbox { - width: 180px; - float: left; -} - -.accordion-container .outer-border { - margin: 0; -} - -.customlinkdiv p { - margin-top: 0 -} - -#nav-menu-theme-locations .howto select { - width: 100%; -} - -#nav-menu-theme-locations .button-controls { - text-align: left; -} - -.add-menu-item-view-all { - height: 400px; -} - -/* Button Primary Actions */ -#menu-container .submit { - margin: 0 0 10px; - padding: 0; -} - -/* @todo: is this actually used? */ -#cancel-save { - text-decoration: underline; - font-size: 12px; - margin-right: 20px; - margin-top: 5px; -} - -.button.right, .button-secondary.right, .button-primary.right { - float: left; -} - -/* Button Secondary Actions */ -.list-controls { - float: right; - margin-top: 5px; -} - -.add-to-menu { - float: left; -} - -.button-controls { - clear: both; - margin: 10px 0; -} - -.show-all, -.hide-all { - cursor: pointer; -} - -.hide-all { - display: none; -} - -/* Create Menu */ -#menu-name { - width: 270px; - vertical-align: middle; -} - -#manage-menu .inside { - padding: 0; -} - -/* Custom Links */ -#available-links dt { - display: block; -} - -#add-custom-link .howto { - font-size: 12px; -} - -#add-custom-link label span { - display: block; - float: right; - margin-top: 5px; - padding-left: 5px; -} - -.menu-item-textbox { - width: 180px; -} - -.customlinkdiv label, -.nav-menus-php .howto span { - float: right; - margin-top: 6px; -} - -/* Menu item types */ -.quick-search { - width: 190px; -} - -.quick-search-wrap .spinner { - float: none; - margin: -3px 0 0 -10px; -} - -.nav-menus-php .list-wrap { - display: none; - clear: both; - margin-bottom: 10px; -} - -.nav-menus-php .postbox p.submit { - margin-bottom: 0; -} - -/* Listings */ -.nav-menus-php .list li { - display: none; - margin: 0 0 5px; -} - -.nav-menus-php .list li .menu-item-title { - cursor: pointer; - display: block; -} - -.nav-menus-php .list li .menu-item-title input { - margin-left: 3px; - margin-top: -3px; -} - -.menu-item-title input[type=checkbox] { - display: inline-block; - margin-top: -4px; -} - -.menu-item-title .post-state { - font-weight: 600; -} - -/* Nav Menu */ -#menu-container .inside { - padding-bottom: 10px; -} - -.menu { - padding-top: 1em; -} - -#menu-to-edit { - margin: 0; - padding: 0.1em 0; -} - -.menu ul { - width: 100%; -} - -.menu li { - margin-bottom: 0; - position: relative; -} - -.menu-item-bar { - clear: both; - line-height: 1.5; - position: relative; - margin: 9px 0 0; -} - -.menu-item-bar .menu-item-handle { - border: 1px solid #dcdcde; - position: relative; - padding: 10px 15px; - height: auto; - min-height: 20px; - max-width: 382px; - line-height: 2.30769230; - overflow: hidden; - word-wrap: break-word; -} - -.menu-item-bar .menu-item-handle:hover { - border-color: #8c8f94; -} - -#menu-to-edit .menu-item-invalid .menu-item-handle { - background: #fcf0f1; - border-color: #d63638; -} - -.no-js .menu-item-edit-active .item-edit { - display: none; -} - -.js .menu-item-handle { - cursor: move; -} - -.menu li.deleting .menu-item-handle { - background-image: none; - background-color: #f86368; -} - -.menu-item-handle .item-title { - font-size: 13px; - font-weight: 600; - line-height: 1.53846153; - display: block; - /* @todo: responsive view. */ - margin-left: 13em; -} - -.menu-item-handle .menu-item-checkbox { - display: none; -} - -.bulk-selection .menu-item-handle .menu-item-checkbox { - display: inline-block; - margin-left: 6px; -} - -.menu-item-handle .menu-item-title.no-title { - color: #646970; -} - -/* Sortables */ -li.menu-item.ui-sortable-helper .menu-item-bar { - margin-top: 0; -} - -li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { - margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ -} - -.menu .sortable-placeholder { - height: 35px; - width: 410px; - margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ -} - -/* Hide the transport list when it's empty */ -.menu-item .menu-item-transport:empty { - display: none; -} - -/* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */ -.menu-item-depth-0 { margin-right: 0; } -.menu-item-depth-1 { margin-right: 30px; } -.menu-item-depth-2 { margin-right: 60px; } -.menu-item-depth-3 { margin-right: 90px; } -.menu-item-depth-4 { margin-right: 120px; } -.menu-item-depth-5 { margin-right: 150px; } -.menu-item-depth-6 { margin-right: 180px; } -.menu-item-depth-7 { margin-right: 210px; } -.menu-item-depth-8 { margin-right: 240px; } -.menu-item-depth-9 { margin-right: 270px; } -.menu-item-depth-10 { margin-right: 300px; } -.menu-item-depth-11 { margin-right: 330px; } - -.menu-item-depth-0 .menu-item-transport { margin-right: 0; } -.menu-item-depth-1 .menu-item-transport { margin-right: -30px; } -.menu-item-depth-2 .menu-item-transport { margin-right: -60px; } -.menu-item-depth-3 .menu-item-transport { margin-right: -90px; } -.menu-item-depth-4 .menu-item-transport { margin-right: -120px; } -.menu-item-depth-5 .menu-item-transport { margin-right: -150px; } -.menu-item-depth-6 .menu-item-transport { margin-right: -180px; } -.menu-item-depth-7 .menu-item-transport { margin-right: -210px; } -.menu-item-depth-8 .menu-item-transport { margin-right: -240px; } -.menu-item-depth-9 .menu-item-transport { margin-right: -270px; } -.menu-item-depth-10 .menu-item-transport { margin-right: -300px; } -.menu-item-depth-11 .menu-item-transport { margin-right: -330px; } - -body.menu-max-depth-0 { min-width: 950px !important; } -body.menu-max-depth-1 { min-width: 980px !important; } -body.menu-max-depth-2 { min-width: 1010px !important; } -body.menu-max-depth-3 { min-width: 1040px !important; } -body.menu-max-depth-4 { min-width: 1070px !important; } -body.menu-max-depth-5 { min-width: 1100px !important; } -body.menu-max-depth-6 { min-width: 1130px !important; } -body.menu-max-depth-7 { min-width: 1160px !important; } -body.menu-max-depth-8 { min-width: 1190px !important; } -body.menu-max-depth-9 { min-width: 1220px !important; } -body.menu-max-depth-10 { min-width: 1250px !important; } -body.menu-max-depth-11 { min-width: 1280px !important; } - -/* Menu item controls */ -.item-type { - display: inline-block; - padding: 12px 16px; - color: #646970; - font-size: 12px; - line-height: 1.5; -} - -.item-controls { - font-size: 12px; - position: absolute; - left: 20px; - top: -1px; -} - -.item-controls a { - text-decoration: none; -} - -.item-controls a:hover { - cursor: pointer; -} - -.item-controls .item-order { - padding-left: 10px; -} - -.nav-menus-php .item-edit { - position: absolute; - left: -20px; - top: 0; - display: block; - width: 30px; - height: 40px; - outline: none; -} - -.no-js.nav-menus-php .item-edit { - position: static; - float: left; - width: auto; - height: auto; - margin: 12px 0 12px -10px; - padding: 0; - color: #2271b1; - text-decoration: underline; - font-size: 12px; - line-height: 1.5; -} - -.no-js.nav-menus-php .item-edit .screen-reader-text { - position: static; - -webkit-clip-path: none; - clip-path: none; - width: auto; - height: auto; - margin: 0; -} - -.nav-menus-php .item-edit:before { - margin-top: 10px; - margin-right: 4px; - width: 20px; - border-radius: 50%; - text-indent: -1px; /* account for the dashicon alignment */ -} - -.no-js.nav-menus-php .item-edit:before { - display: none; -} - -.rtl .nav-menus-php .item-edit:before { - text-indent: 1px; /* account for the dashicon alignment */ -} - -.js.nav-menus-php .item-edit:focus { - box-shadow: none; -} - -.nav-menus-php .item-edit:focus:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -/* Menu editing */ -.menu-instructions-inactive { - display: none; -} - -.menu-item-settings { - display: block; - max-width: 392px; - padding: 10px; - position: relative; - z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ - border: 1px solid #c3c4c7; - border-top: none; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -.menu-item-settings .field-move { - margin: 3px 0 5px; - line-height: 1.5; -} - -.field-move-visual-label { - float: right; - margin-left: 4px; -} - -.menu-item-settings .field-move .button-link { - display: none; - margin: 0 2px; -} - -.menu-item-edit-active .menu-item-settings { - display: block; -} - -.menu-item-edit-inactive .menu-item-settings { - display: none; -} - -.add-menu-item-pagelinks { - margin: .5em -10px; - text-align: center; -} - -.add-menu-item-pagelinks .page-numbers { - display: inline-block; - min-width: 20px; -} - -.add-menu-item-pagelinks .page-numbers.dots { - min-width: 0; -} - -.link-to-original { - display: block; - margin: 0 0 15px; - padding: 3px 5px 5px; - border: 1px solid #dcdcde; - color: #646970; - font-size: 12px; -} - -.link-to-original a { - padding-right: 4px; - font-style: normal; -} - -.hidden-field { - display: none; -} - -.menu-item-settings .description-thin, -.menu-item-settings .description-wide { - margin-left: 10px; - float: right; -} - -.description-thin { - width: calc(50% - 5px); -} - -.menu-item-settings .description-thin + .description-thin { - margin-left: 0; -} - -.description-wide { - width: 100%; -} - -.menu-item-actions { - padding-top: 15px; - padding-bottom: 7px; -} - -#cancel-save { - cursor: pointer; -} - -/* Major/minor publishing actions (classes) */ -.nav-menus-php .major-publishing-actions { - clear: both; - padding: 10px 0; - line-height: 2.15384615; -} - -.nav-menus-php .major-publishing-actions .publishing-action { - text-align: left; - float: left; -} - -/* Same as the Publish Meta Box #delete-action */ -.nav-menus-php .delete-action { - float: right; - line-height: 2.1; -} - -.nav-menus-php .major-publishing-actions .form-invalid { - padding-right: 4px; - margin-right: -4px; -} - -#nav-menus-frame, -.button-controls, -#menu-item-url-wrap, -#menu-item-name-wrap { - display: block; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media only screen and (min-width: 769px) and (max-width: 1000px) { - body.menu-max-depth-0 { - min-width: 0 !important; - } - - #menu-management-liquid { - width: 100%; - } - - .nav-menus-php #post-body-content { - min-width: 0; - } -} - -@media screen and (max-width: 782px) { - body.nav-menus-php, - body.wp-customizer { - min-width: 0 !important; - } - - #nav-menus-frame { - margin-right: 0; - float: none; - width: 100%; - } - - #wpbody-content #menu-settings-column { - display: block; - width: 100%; - float: none; - margin-right: 0; - } - - #side-sortables .add-menu-item-tabs { - margin: 15px 0 14px; - } - - ul.add-menu-item-tabs li.tabs { - padding: 13px 15px 14px; - } - - .nav-menus-php .customlinkdiv .howto input { - width: 65%; - } - - .nav-menus-php .quick-search { - width: 85%; - } - - #menu-management-liquid { - margin-top: 25px; - } - - .nav-menus-php .menu-name-label.howto span { - margin-top: 13px - } - - #menu-name { - width: 100%; - } - - .nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action { - padding-top: 1em; - } - - .nav-menus-php .delete-action { - font-size: 14px; - line-height: 2.14285714; - } - - .menu-item-bar .menu-item-handle, - .menu-item-settings, - .description-wide { - width: auto; - } - - .menu-item-settings { - padding: 10px; - } - - .menu-item-settings .description-thin, - .menu-item-settings .description-wide { - width: 100%; - } - - .menu-item-settings input { - width: 100%; - } - - .menu-item-settings input[type="checkbox"], - .menu-item-settings input[type="radio"] { - width: 25px; - } - - .menu-settings-group { - padding-right: 0; - overflow: visible; - } - - .menu-settings-group-name { - float: none; - width: auto; - margin-right: 0; - margin-bottom: 15px; - } - - .menu-settings-input { - float: none; - margin-bottom: 15px; - } - - .menu-edit .checkbox-input { - margin-top: 0; - } - - .manage-menus select { - margin: 0.5em 0; - } - - .wp-core-ui .manage-menus .button { - margin-bottom: 0; - } - - .widefat .menu-locations .menu-location-title { - padding-top: 16px; - } -} - -@media only screen and (min-width: 783px) { - @supports (position: sticky) and (scroll-margin-bottom: 130px) { - - #nav-menu-footer { - position: sticky; - bottom: 0; - z-index: 10; - box-shadow: 0 -1px 0 0 #ddd; - } - - #save_menu_header { - display: none; - } - } -} - -@media only screen and (max-width: 768px) { - /* menu locations */ - #menu-locations-wrap .widefat { - width: 100%; - } - - .bulk-select-button { - padding: 5px 10px; - } -} diff --git a/build/wp-admin/css/nav-menus-rtl.min.css b/build/wp-admin/css/nav-menus-rtl.min.css deleted file mode 100644 index eaf7300e35..0000000000 --- a/build/wp-admin/css/nav-menus-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 8px 4px 5px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}.has-no-menu-item .button-controls{display:none}#nav-menus-frame{margin-right:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-right:-300px;clear:both;float:right;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.is-submenu{color:#50575e;font-style:italic;font-weight:400;margin-right:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fff}.manage-menus .selected-menu,.manage-menus .submit-btn,.manage-menus select,.nav-menus-php .add-new-menu-action{display:inline-block;margin-left:3px;vertical-align:middle}.manage-menus select,.menu-location-menus select{max-width:100%}.menu-edit #post-body-content h3{margin:1em 0 10px}#nav-menu-bulk-actions-top{margin:1em 0}#nav-menu-bulk-actions-bottom{margin:1em 0;margin:calc(1em + 9px) 0}.bulk-actions input.button{margin-left:12px}.bulk-select-button{position:relative;display:inline-block;padding:0 10px;font-size:13px;line-height:2.15384615;height:auto;min-height:30px;background:#f6f7f7;vertical-align:top;border:1px solid #dcdcde;margin:0;cursor:pointer;border-radius:3px;white-space:nowrap;box-sizing:border-box}.bulk-selection .bulk-select-button{color:#2271b1;border-color:#2271b1;background:#f6f7f7;vertical-align:top}#pending-menu-items-to-delete{display:none}.bulk-selection #pending-menu-items-to-delete{display:block;margin-top:1em}#pending-menu-items-to-delete p{margin-bottom:0}#pending-menu-items-to-delete ul{margin-top:0;list-style:none}#pending-menu-items-to-delete ul li{display:inline}input.bulk-select-switcher+.bulk-select-button-label{vertical-align:inherit}label.bulk-select-button:active,label.bulk-select-button:focus-within,label.bulk-select-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}input.bulk-select-switcher:focus+.bulk-select-button-label{color:#0a4b78}.bulk-actions input.menu-items-delete{-webkit-appearance:none;appearance:none;font-size:inherit;border:0;line-height:2.1em;background:0 0;cursor:pointer;text-decoration:underline;color:#b32d2e}.bulk-actions input.menu-items-delete:hover{color:#b32d2e;border:none}.bulk-actions input.menu-items-delete.disabled{cursor:default;color:#a7aaad;box-shadow:none}.menu-settings{border-top:1px solid #f0f0f1;margin-top:2em}.menu-settings-group{margin:0 0 10px;overflow:hidden;padding-right:20%}.menu-settings-group:last-of-type{margin-bottom:0}.menu-settings-input{float:right;margin:0;width:100%}.menu-settings-group-name{float:right;clear:both;width:25%;padding:3px 0 0;margin-right:-25%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#646970;font-size:11px}#menu-management-liquid{float:right;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-left:20px;margin-top:-3px;width:100%}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px;border-top:1px solid #fff;border-bottom:1px solid #dcdcde;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px;background:#f6f7f7}#nav-menu-header{border-bottom:1px solid #dcdcde;margin-bottom:0}#nav-menu-header .menu-name-label{display:inline-block;vertical-align:middle;margin-left:7px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}.nav-menus-php #post-body-content .post-body-plain{margin-bottom:0}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:left;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat .menu-locations .menu-location-title{padding:13px 10px 0}.menu-location-title label{font-weight:600}.menu-location-menus select{float:right}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:right;width:160px;margin-left:5px}.locations-row-links{float:right;margin:6px 6px 0 0}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-left:3px;border-left:1px solid #c3c4c7}#menu-management .inside{padding:0 10px}.customlinkdiv .menu-item-textbox,.postbox .howto input{width:180px;float:left}.accordion-container .outer-border{margin:0}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:left}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}#cancel-save{text-decoration:underline;font-size:12px;margin-right:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:left}.list-controls{float:right;margin-top:5px}.add-to-menu{float:left}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px;vertical-align:middle}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link .howto{font-size:12px}#add-custom-link label span{display:block;float:right;margin-top:5px;padding-left:5px}.menu-item-textbox{width:180px}.customlinkdiv label,.nav-menus-php .howto span{float:right;margin-top:6px}.quick-search{width:190px}.quick-search-wrap .spinner{float:none;margin:-3px 0 0 -10px}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-left:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}.menu-item-title .post-state{font-weight:600}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dcdcde;position:relative;padding:10px 15px;height:auto;min-height:20px;max-width:382px;line-height:2.30769230;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#8c8f94}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#fcf0f1;border-color:#d63638}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f86368}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:1.53846153;display:block;margin-left:13em}.menu-item-handle .menu-item-checkbox{display:none}.bulk-selection .menu-item-handle .menu-item-checkbox{display:inline-block;margin-left:6px}.menu-item-handle .menu-item-title.no-title{color:#646970}li.menu-item.ui-sortable-helper .menu-item-bar{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar{margin-top:9px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:9px}.menu-item .menu-item-transport:empty{display:none}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:30px}.menu-item-depth-2{margin-right:60px}.menu-item-depth-3{margin-right:90px}.menu-item-depth-4{margin-right:120px}.menu-item-depth-5{margin-right:150px}.menu-item-depth-6{margin-right:180px}.menu-item-depth-7{margin-right:210px}.menu-item-depth-8{margin-right:240px}.menu-item-depth-9{margin-right:270px}.menu-item-depth-10{margin-right:300px}.menu-item-depth-11{margin-right:330px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-30px}.menu-item-depth-2 .menu-item-transport{margin-right:-60px}.menu-item-depth-3 .menu-item-transport{margin-right:-90px}.menu-item-depth-4 .menu-item-transport{margin-right:-120px}.menu-item-depth-5 .menu-item-transport{margin-right:-150px}.menu-item-depth-6 .menu-item-transport{margin-right:-180px}.menu-item-depth-7 .menu-item-transport{margin-right:-210px}.menu-item-depth-8 .menu-item-transport{margin-right:-240px}.menu-item-depth-9 .menu-item-transport{margin-right:-270px}.menu-item-depth-10 .menu-item-transport{margin-right:-300px}.menu-item-depth-11 .menu-item-transport{margin-right:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{display:inline-block;padding:12px 16px;color:#646970;font-size:12px;line-height:1.5}.item-controls{font-size:12px;position:absolute;left:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls a:hover{cursor:pointer}.item-controls .item-order{padding-left:10px}.nav-menus-php .item-edit{position:absolute;left:-20px;top:0;display:block;width:30px;height:40px;outline:0}.no-js.nav-menus-php .item-edit{position:static;float:left;width:auto;height:auto;margin:12px 0 12px -10px;padding:0;color:#2271b1;text-decoration:underline;font-size:12px;line-height:1.5}.no-js.nav-menus-php .item-edit .screen-reader-text{position:static;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}.nav-menus-php .item-edit:before{margin-top:10px;margin-right:4px;width:20px;border-radius:50%;text-indent:-1px}.no-js.nav-menus-php .item-edit:before{display:none}.rtl .nav-menus-php .item-edit:before{text-indent:1px}.js.nav-menus-php .item-edit:focus{box-shadow:none}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;max-width:392px;padding:10px;position:relative;z-index:10;border:1px solid #c3c4c7;border-top:none;box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move{margin:3px 0 5px;line-height:1.5}.field-move-visual-label{float:right;margin-left:4px}.menu-item-settings .field-move .button-link{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em -10px;text-align:center}.add-menu-item-pagelinks .page-numbers{display:inline-block;min-width:20px}.add-menu-item-pagelinks .page-numbers.dots{min-width:0}.link-to-original{display:block;margin:0 0 15px;padding:3px 5px 5px;border:1px solid #dcdcde;color:#646970;font-size:12px}.link-to-original a{padding-right:4px;font-style:normal}.hidden-field{display:none}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;float:right}.description-thin{width:calc(50% - 5px)}.menu-item-settings .description-thin+.description-thin{margin-left:0}.description-wide{width:100%}.menu-item-actions{padding-top:15px;padding-bottom:7px}#cancel-save{cursor:pointer}.nav-menus-php .major-publishing-actions{clear:both;padding:10px 0;line-height:2.15384615}.nav-menus-php .major-publishing-actions .publishing-action{text-align:left;float:left}.nav-menus-php .delete-action{float:right;line-height:2.1}.nav-menus-php .major-publishing-actions .form-invalid{padding-right:4px;margin-right:-4px}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media only screen and (min-width:769px) and (max-width:1000px){body.menu-max-depth-0{min-width:0!important}#menu-management-liquid{width:100%}.nav-menus-php #post-body-content{min-width:0}}@media screen and (max-width:782px){body.nav-menus-php,body.wp-customizer{min-width:0!important}#nav-menus-frame{margin-right:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-right:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}#menu-name{width:100%}.nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action{padding-top:1em}.nav-menus-php .delete-action{font-size:14px;line-height:2.14285714}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide{width:100%}.menu-item-settings input{width:100%}.menu-item-settings input[type=checkbox],.menu-item-settings input[type=radio]{width:25px}.menu-settings-group{padding-right:0;overflow:visible}.menu-settings-group-name{float:none;width:auto;margin-right:0;margin-bottom:15px}.menu-settings-input{float:none;margin-bottom:15px}.menu-edit .checkbox-input{margin-top:0}.manage-menus select{margin:.5em 0}.wp-core-ui .manage-menus .button{margin-bottom:0}.widefat .menu-locations .menu-location-title{padding-top:16px}}@media only screen and (min-width:783px){@supports (position:sticky) and (scroll-margin-bottom:130px){#nav-menu-footer{position:sticky;bottom:0;z-index:10;box-shadow:0 -1px 0 0 #ddd}#save_menu_header{display:none}}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}.bulk-select-button{padding:5px 10px}} \ No newline at end of file diff --git a/build/wp-admin/css/nav-menus.css b/build/wp-admin/css/nav-menus.css deleted file mode 100644 index 8dfe84d153..0000000000 --- a/build/wp-admin/css/nav-menus.css +++ /dev/null @@ -1,1026 +0,0 @@ -/* nav-menu */ - -/* @todo: determine if this is truly for nav menus only */ -.no-js #message { - display: block; -} - -ul.add-menu-item-tabs li { - padding: 3px 5px 4px 8px; -} - -.accordion-section ul.category-tabs, -.accordion-section ul.add-menu-item-tabs, -.accordion-section ul.wp-tab-bar { - margin: 0; -} - -.accordion-section .categorychecklist { - margin: 13px 0; -} - -#nav-menu-meta .accordion-section-content { - padding: 18px 13px; -} - -#nav-menu-meta .button-controls { - margin-bottom: 0; -} - -.has-no-menu-item .button-controls { - display: none; -} - -#nav-menus-frame { - margin-left: 300px; - margin-top: 23px; -} - -#wpbody-content #menu-settings-column { - display: inline; - width: 281px; - margin-left: -300px; - clear: both; - float: left; - padding-top: 0; -} - -#menu-settings-column .inside { - clear: both; - margin: 10px 0 0; -} - -.metabox-holder-disabled .postbox, -.metabox-holder-disabled .accordion-section-content, -.metabox-holder-disabled .accordion-section-title { - opacity: 0.5; - filter: alpha(opacity=50); -} - -.metabox-holder-disabled .button-controls .select-all { - display: none; -} - -#wpbody { - position: relative; -} - -.is-submenu { - color: #50575e; /* #fafafa background */ - font-style: italic; - font-weight: 400; - margin-left: 4px; -} - -.manage-menus { - margin-top: 23px; - padding: 10px; - overflow: hidden; - background: #fff; -} - -.manage-menus .selected-menu, -.manage-menus select, -.manage-menus .submit-btn, -.nav-menus-php .add-new-menu-action { - display: inline-block; - margin-right: 3px; - vertical-align: middle; -} - -.manage-menus select, -.menu-location-menus select { - max-width: 100%; -} - -.menu-edit #post-body-content h3 { - margin: 1em 0 10px; -} - -#nav-menu-bulk-actions-top { - margin: 1em 0; -} - -#nav-menu-bulk-actions-bottom { - margin: 1em 0; - margin: calc( 1em + 9px ) 0 ; -} - -.bulk-actions input.button { - margin-right: 12px; -} - -.bulk-select-button { - position: relative; - display: inline-block; - padding: 0 10px; - font-size: 13px; - line-height: 2.15384615; - height: auto; - min-height: 30px; - background: #f6f7f7; - vertical-align: top; - border: 1px solid #dcdcde; - margin: 0; - cursor: pointer; - border-radius: 3px; - white-space: nowrap; - box-sizing: border-box; -} - -.bulk-selection .bulk-select-button { - color: #2271b1; - border-color: #2271b1; - background: #f6f7f7; - vertical-align: top; -} - -#pending-menu-items-to-delete { - display: none; -} - -.bulk-selection #pending-menu-items-to-delete { - display: block; - margin-top: 1em; -} - -#pending-menu-items-to-delete p { - margin-bottom: 0; -} - -#pending-menu-items-to-delete ul { - margin-top: 0; - list-style: none; -} - -#pending-menu-items-to-delete ul li { - display: inline; -} - -input.bulk-select-switcher + .bulk-select-button-label { - vertical-align: inherit; -} - -label.bulk-select-button:hover, -label.bulk-select-button:active, -label.bulk-select-button:focus-within { - background: #f0f0f1; - border-color: #0a4b78; - color: #0a4b78; -} - -input.bulk-select-switcher:focus + .bulk-select-button-label{ - color: #0a4b78; -} - -.bulk-actions input.menu-items-delete { - -webkit-appearance: none; - appearance: none; - font-size: inherit; - border: 0; - line-height: 2.1em; - background: none; - cursor: pointer; - text-decoration: underline; - color: #b32d2e; -} - -.bulk-actions input.menu-items-delete:hover { - color: #b32d2e; - border: none; -} - -.bulk-actions input.menu-items-delete.disabled { - cursor: default; - color: #a7aaad; - box-shadow: none; -} - -.menu-settings { - border-top: 1px solid #f0f0f1; - margin-top: 2em; -} - -.menu-settings-group { - margin: 0 0 10px; - overflow: hidden; - padding-left: 20%; -} - -.menu-settings-group:last-of-type { - margin-bottom: 0; -} - -.menu-settings-input { - float: left; - margin: 0; - width: 100%; -} - -.menu-settings-group-name { - float: left; - clear: both; - width: 25%; - padding: 3px 0 0; - margin-left: -25%; /* 20 container left padding x ( 100 container % width / 80 this % width ) */ -} - -.menu-settings label { - vertical-align: baseline; -} - -.menu-edit .checkbox-input { - margin-top: 4px; -} - -.theme-location-set { - color: #646970; - font-size: 11px; -} - -/* Menu Container */ - -/* @todo: responsive view. */ -#menu-management-liquid { - float: left; - min-width: 100%; - margin-top: 3px; -} - -/* @todo: responsive view. */ -#menu-management { - position: relative; - margin-right: 20px; - margin-top: -3px; - width: 100%; -} - -#menu-management .menu-edit { - margin-bottom: 20px; -} - -.nav-menus-php #post-body { - padding: 0 10px; - border-top: 1px solid #fff; - border-bottom: 1px solid #dcdcde; - background: #fff; -} - -#nav-menu-header, -#nav-menu-footer { - padding: 0 10px; - background: #f6f7f7; -} - -#nav-menu-header { - border-bottom: 1px solid #dcdcde; - margin-bottom: 0; -} - -#nav-menu-header .menu-name-label { - display: inline-block; - vertical-align: middle; - margin-right: 7px; -} - -.nav-menus-php #post-body div.updated, -.nav-menus-php #post-body div.error { - margin: 0; -} - -.nav-menus-php #post-body-content { - position: relative; - float: none; -} - -.nav-menus-php #post-body-content .post-body-plain { - margin-bottom: 0; -} - -#menu-management .menu-add-new abbr { - font-weight: 600; -} - -#select-nav-menu-container { - text-align: right; - padding: 0 10px 3px; - margin-bottom: 5px; -} - -#select-nav-menu { - width: 100px; - display: inline; -} - -#menu-name-label { - margin-top: -2px; -} - -.widefat .menu-locations .menu-location-title { - padding: 13px 10px 0; -} - -.menu-location-title label { - font-weight: 600; -} - -.menu-location-menus select { - float: left; -} - -#locations-nav-menu-wrapper { - padding: 5px 0; -} - -.locations-nav-menu-select select { - float: left; - width: 160px; - margin-right: 5px; -} - -.locations-row-links { - float: left; - margin: 6px 0 0 6px; -} - -.locations-edit-menu-link, -.locations-add-menu-link { - margin: 0 3px; -} - -.locations-edit-menu-link { - padding-right: 3px; - border-right: 1px solid #c3c4c7; -} - -#menu-management .inside { - padding: 0 10px; -} - -/* Add Menu Item Boxes */ -.postbox .howto input, -.customlinkdiv .menu-item-textbox { - width: 180px; - float: right; -} - -.accordion-container .outer-border { - margin: 0; -} - -.customlinkdiv p { - margin-top: 0 -} - -#nav-menu-theme-locations .howto select { - width: 100%; -} - -#nav-menu-theme-locations .button-controls { - text-align: right; -} - -.add-menu-item-view-all { - height: 400px; -} - -/* Button Primary Actions */ -#menu-container .submit { - margin: 0 0 10px; - padding: 0; -} - -/* @todo: is this actually used? */ -#cancel-save { - text-decoration: underline; - font-size: 12px; - margin-left: 20px; - margin-top: 5px; -} - -.button.right, .button-secondary.right, .button-primary.right { - float: right; -} - -/* Button Secondary Actions */ -.list-controls { - float: left; - margin-top: 5px; -} - -.add-to-menu { - float: right; -} - -.button-controls { - clear: both; - margin: 10px 0; -} - -.show-all, -.hide-all { - cursor: pointer; -} - -.hide-all { - display: none; -} - -/* Create Menu */ -#menu-name { - width: 270px; - vertical-align: middle; -} - -#manage-menu .inside { - padding: 0; -} - -/* Custom Links */ -#available-links dt { - display: block; -} - -#add-custom-link .howto { - font-size: 12px; -} - -#add-custom-link label span { - display: block; - float: left; - margin-top: 5px; - padding-right: 5px; -} - -.menu-item-textbox { - width: 180px; -} - -.customlinkdiv label, -.nav-menus-php .howto span { - float: left; - margin-top: 6px; -} - -/* Menu item types */ -.quick-search { - width: 190px; -} - -.quick-search-wrap .spinner { - float: none; - margin: -3px -10px 0 0; -} - -.nav-menus-php .list-wrap { - display: none; - clear: both; - margin-bottom: 10px; -} - -.nav-menus-php .postbox p.submit { - margin-bottom: 0; -} - -/* Listings */ -.nav-menus-php .list li { - display: none; - margin: 0 0 5px; -} - -.nav-menus-php .list li .menu-item-title { - cursor: pointer; - display: block; -} - -.nav-menus-php .list li .menu-item-title input { - margin-right: 3px; - margin-top: -3px; -} - -.menu-item-title input[type=checkbox] { - display: inline-block; - margin-top: -4px; -} - -.menu-item-title .post-state { - font-weight: 600; -} - -/* Nav Menu */ -#menu-container .inside { - padding-bottom: 10px; -} - -.menu { - padding-top: 1em; -} - -#menu-to-edit { - margin: 0; - padding: 0.1em 0; -} - -.menu ul { - width: 100%; -} - -.menu li { - margin-bottom: 0; - position: relative; -} - -.menu-item-bar { - clear: both; - line-height: 1.5; - position: relative; - margin: 9px 0 0; -} - -.menu-item-bar .menu-item-handle { - border: 1px solid #dcdcde; - position: relative; - padding: 10px 15px; - height: auto; - min-height: 20px; - max-width: 382px; - line-height: 2.30769230; - overflow: hidden; - word-wrap: break-word; -} - -.menu-item-bar .menu-item-handle:hover { - border-color: #8c8f94; -} - -#menu-to-edit .menu-item-invalid .menu-item-handle { - background: #fcf0f1; - border-color: #d63638; -} - -.no-js .menu-item-edit-active .item-edit { - display: none; -} - -.js .menu-item-handle { - cursor: move; -} - -.menu li.deleting .menu-item-handle { - background-image: none; - background-color: #f86368; -} - -.menu-item-handle .item-title { - font-size: 13px; - font-weight: 600; - line-height: 1.53846153; - display: block; - /* @todo: responsive view. */ - margin-right: 13em; -} - -.menu-item-handle .menu-item-checkbox { - display: none; -} - -.bulk-selection .menu-item-handle .menu-item-checkbox { - display: inline-block; - margin-right: 6px; -} - -.menu-item-handle .menu-item-title.no-title { - color: #646970; -} - -/* Sortables */ -li.menu-item.ui-sortable-helper .menu-item-bar { - margin-top: 0; -} - -li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar { - margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ -} - -.menu .sortable-placeholder { - height: 35px; - width: 410px; - margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */ -} - -/* Hide the transport list when it's empty */ -.menu-item .menu-item-transport:empty { - display: none; -} - -/* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */ -.menu-item-depth-0 { margin-left: 0; } -.menu-item-depth-1 { margin-left: 30px; } -.menu-item-depth-2 { margin-left: 60px; } -.menu-item-depth-3 { margin-left: 90px; } -.menu-item-depth-4 { margin-left: 120px; } -.menu-item-depth-5 { margin-left: 150px; } -.menu-item-depth-6 { margin-left: 180px; } -.menu-item-depth-7 { margin-left: 210px; } -.menu-item-depth-8 { margin-left: 240px; } -.menu-item-depth-9 { margin-left: 270px; } -.menu-item-depth-10 { margin-left: 300px; } -.menu-item-depth-11 { margin-left: 330px; } - -.menu-item-depth-0 .menu-item-transport { margin-left: 0; } -.menu-item-depth-1 .menu-item-transport { margin-left: -30px; } -.menu-item-depth-2 .menu-item-transport { margin-left: -60px; } -.menu-item-depth-3 .menu-item-transport { margin-left: -90px; } -.menu-item-depth-4 .menu-item-transport { margin-left: -120px; } -.menu-item-depth-5 .menu-item-transport { margin-left: -150px; } -.menu-item-depth-6 .menu-item-transport { margin-left: -180px; } -.menu-item-depth-7 .menu-item-transport { margin-left: -210px; } -.menu-item-depth-8 .menu-item-transport { margin-left: -240px; } -.menu-item-depth-9 .menu-item-transport { margin-left: -270px; } -.menu-item-depth-10 .menu-item-transport { margin-left: -300px; } -.menu-item-depth-11 .menu-item-transport { margin-left: -330px; } - -body.menu-max-depth-0 { min-width: 950px !important; } -body.menu-max-depth-1 { min-width: 980px !important; } -body.menu-max-depth-2 { min-width: 1010px !important; } -body.menu-max-depth-3 { min-width: 1040px !important; } -body.menu-max-depth-4 { min-width: 1070px !important; } -body.menu-max-depth-5 { min-width: 1100px !important; } -body.menu-max-depth-6 { min-width: 1130px !important; } -body.menu-max-depth-7 { min-width: 1160px !important; } -body.menu-max-depth-8 { min-width: 1190px !important; } -body.menu-max-depth-9 { min-width: 1220px !important; } -body.menu-max-depth-10 { min-width: 1250px !important; } -body.menu-max-depth-11 { min-width: 1280px !important; } - -/* Menu item controls */ -.item-type { - display: inline-block; - padding: 12px 16px; - color: #646970; - font-size: 12px; - line-height: 1.5; -} - -.item-controls { - font-size: 12px; - position: absolute; - right: 20px; - top: -1px; -} - -.item-controls a { - text-decoration: none; -} - -.item-controls a:hover { - cursor: pointer; -} - -.item-controls .item-order { - padding-right: 10px; -} - -.nav-menus-php .item-edit { - position: absolute; - right: -20px; - top: 0; - display: block; - width: 30px; - height: 40px; - outline: none; -} - -.no-js.nav-menus-php .item-edit { - position: static; - float: right; - width: auto; - height: auto; - margin: 12px -10px 12px 0; - padding: 0; - color: #2271b1; - text-decoration: underline; - font-size: 12px; - line-height: 1.5; -} - -.no-js.nav-menus-php .item-edit .screen-reader-text { - position: static; - -webkit-clip-path: none; - clip-path: none; - width: auto; - height: auto; - margin: 0; -} - -.nav-menus-php .item-edit:before { - margin-top: 10px; - margin-left: 4px; - width: 20px; - border-radius: 50%; - text-indent: -1px; /* account for the dashicon alignment */ -} - -.no-js.nav-menus-php .item-edit:before { - display: none; -} - -.rtl .nav-menus-php .item-edit:before { - text-indent: 1px; /* account for the dashicon alignment */ -} - -.js.nav-menus-php .item-edit:focus { - box-shadow: none; -} - -.nav-menus-php .item-edit:focus:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -/* Menu editing */ -.menu-instructions-inactive { - display: none; -} - -.menu-item-settings { - display: block; - max-width: 392px; - padding: 10px; - position: relative; - z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ - border: 1px solid #c3c4c7; - border-top: none; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); -} - -.menu-item-settings .field-move { - margin: 3px 0 5px; - line-height: 1.5; -} - -.field-move-visual-label { - float: left; - margin-right: 4px; -} - -.menu-item-settings .field-move .button-link { - display: none; - margin: 0 2px; -} - -.menu-item-edit-active .menu-item-settings { - display: block; -} - -.menu-item-edit-inactive .menu-item-settings { - display: none; -} - -.add-menu-item-pagelinks { - margin: .5em -10px; - text-align: center; -} - -.add-menu-item-pagelinks .page-numbers { - display: inline-block; - min-width: 20px; -} - -.add-menu-item-pagelinks .page-numbers.dots { - min-width: 0; -} - -.link-to-original { - display: block; - margin: 0 0 15px; - padding: 3px 5px 5px; - border: 1px solid #dcdcde; - color: #646970; - font-size: 12px; -} - -.link-to-original a { - padding-left: 4px; - font-style: normal; -} - -.hidden-field { - display: none; -} - -.menu-item-settings .description-thin, -.menu-item-settings .description-wide { - margin-right: 10px; - float: left; -} - -.description-thin { - width: calc(50% - 5px); -} - -.menu-item-settings .description-thin + .description-thin { - margin-right: 0; -} - -.description-wide { - width: 100%; -} - -.menu-item-actions { - padding-top: 15px; - padding-bottom: 7px; -} - -#cancel-save { - cursor: pointer; -} - -/* Major/minor publishing actions (classes) */ -.nav-menus-php .major-publishing-actions { - clear: both; - padding: 10px 0; - line-height: 2.15384615; -} - -.nav-menus-php .major-publishing-actions .publishing-action { - text-align: right; - float: right; -} - -/* Same as the Publish Meta Box #delete-action */ -.nav-menus-php .delete-action { - float: left; - line-height: 2.1; -} - -.nav-menus-php .major-publishing-actions .form-invalid { - padding-left: 4px; - margin-left: -4px; -} - -#nav-menus-frame, -.button-controls, -#menu-item-url-wrap, -#menu-item-name-wrap { - display: block; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media only screen and (min-width: 769px) and (max-width: 1000px) { - body.menu-max-depth-0 { - min-width: 0 !important; - } - - #menu-management-liquid { - width: 100%; - } - - .nav-menus-php #post-body-content { - min-width: 0; - } -} - -@media screen and (max-width: 782px) { - body.nav-menus-php, - body.wp-customizer { - min-width: 0 !important; - } - - #nav-menus-frame { - margin-left: 0; - float: none; - width: 100%; - } - - #wpbody-content #menu-settings-column { - display: block; - width: 100%; - float: none; - margin-left: 0; - } - - #side-sortables .add-menu-item-tabs { - margin: 15px 0 14px; - } - - ul.add-menu-item-tabs li.tabs { - padding: 13px 15px 14px; - } - - .nav-menus-php .customlinkdiv .howto input { - width: 65%; - } - - .nav-menus-php .quick-search { - width: 85%; - } - - #menu-management-liquid { - margin-top: 25px; - } - - .nav-menus-php .menu-name-label.howto span { - margin-top: 13px - } - - #menu-name { - width: 100%; - } - - .nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action { - padding-top: 1em; - } - - .nav-menus-php .delete-action { - font-size: 14px; - line-height: 2.14285714; - } - - .menu-item-bar .menu-item-handle, - .menu-item-settings, - .description-wide { - width: auto; - } - - .menu-item-settings { - padding: 10px; - } - - .menu-item-settings .description-thin, - .menu-item-settings .description-wide { - width: 100%; - } - - .menu-item-settings input { - width: 100%; - } - - .menu-item-settings input[type="checkbox"], - .menu-item-settings input[type="radio"] { - width: 25px; - } - - .menu-settings-group { - padding-left: 0; - overflow: visible; - } - - .menu-settings-group-name { - float: none; - width: auto; - margin-left: 0; - margin-bottom: 15px; - } - - .menu-settings-input { - float: none; - margin-bottom: 15px; - } - - .menu-edit .checkbox-input { - margin-top: 0; - } - - .manage-menus select { - margin: 0.5em 0; - } - - .wp-core-ui .manage-menus .button { - margin-bottom: 0; - } - - .widefat .menu-locations .menu-location-title { - padding-top: 16px; - } -} - -@media only screen and (min-width: 783px) { - @supports (position: sticky) and (scroll-margin-bottom: 130px) { - - #nav-menu-footer { - position: sticky; - bottom: 0; - z-index: 10; - box-shadow: 0 -1px 0 0 #ddd; - } - - #save_menu_header { - display: none; - } - } -} - -@media only screen and (max-width: 768px) { - /* menu locations */ - #menu-locations-wrap .widefat { - width: 100%; - } - - .bulk-select-button { - padding: 5px 10px; - } -} diff --git a/build/wp-admin/css/nav-menus.min.css b/build/wp-admin/css/nav-menus.min.css deleted file mode 100644 index 8eed65aa83..0000000000 --- a/build/wp-admin/css/nav-menus.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 5px 4px 8px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}.has-no-menu-item .button-controls{display:none}#nav-menus-frame{margin-left:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-left:-300px;clear:both;float:left;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.is-submenu{color:#50575e;font-style:italic;font-weight:400;margin-left:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fff}.manage-menus .selected-menu,.manage-menus .submit-btn,.manage-menus select,.nav-menus-php .add-new-menu-action{display:inline-block;margin-right:3px;vertical-align:middle}.manage-menus select,.menu-location-menus select{max-width:100%}.menu-edit #post-body-content h3{margin:1em 0 10px}#nav-menu-bulk-actions-top{margin:1em 0}#nav-menu-bulk-actions-bottom{margin:1em 0;margin:calc(1em + 9px) 0}.bulk-actions input.button{margin-right:12px}.bulk-select-button{position:relative;display:inline-block;padding:0 10px;font-size:13px;line-height:2.15384615;height:auto;min-height:30px;background:#f6f7f7;vertical-align:top;border:1px solid #dcdcde;margin:0;cursor:pointer;border-radius:3px;white-space:nowrap;box-sizing:border-box}.bulk-selection .bulk-select-button{color:#2271b1;border-color:#2271b1;background:#f6f7f7;vertical-align:top}#pending-menu-items-to-delete{display:none}.bulk-selection #pending-menu-items-to-delete{display:block;margin-top:1em}#pending-menu-items-to-delete p{margin-bottom:0}#pending-menu-items-to-delete ul{margin-top:0;list-style:none}#pending-menu-items-to-delete ul li{display:inline}input.bulk-select-switcher+.bulk-select-button-label{vertical-align:inherit}label.bulk-select-button:active,label.bulk-select-button:focus-within,label.bulk-select-button:hover{background:#f0f0f1;border-color:#0a4b78;color:#0a4b78}input.bulk-select-switcher:focus+.bulk-select-button-label{color:#0a4b78}.bulk-actions input.menu-items-delete{-webkit-appearance:none;appearance:none;font-size:inherit;border:0;line-height:2.1em;background:0 0;cursor:pointer;text-decoration:underline;color:#b32d2e}.bulk-actions input.menu-items-delete:hover{color:#b32d2e;border:none}.bulk-actions input.menu-items-delete.disabled{cursor:default;color:#a7aaad;box-shadow:none}.menu-settings{border-top:1px solid #f0f0f1;margin-top:2em}.menu-settings-group{margin:0 0 10px;overflow:hidden;padding-left:20%}.menu-settings-group:last-of-type{margin-bottom:0}.menu-settings-input{float:left;margin:0;width:100%}.menu-settings-group-name{float:left;clear:both;width:25%;padding:3px 0 0;margin-left:-25%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#646970;font-size:11px}#menu-management-liquid{float:left;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-right:20px;margin-top:-3px;width:100%}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px;border-top:1px solid #fff;border-bottom:1px solid #dcdcde;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px;background:#f6f7f7}#nav-menu-header{border-bottom:1px solid #dcdcde;margin-bottom:0}#nav-menu-header .menu-name-label{display:inline-block;vertical-align:middle;margin-right:7px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}.nav-menus-php #post-body-content .post-body-plain{margin-bottom:0}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:right;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat .menu-locations .menu-location-title{padding:13px 10px 0}.menu-location-title label{font-weight:600}.menu-location-menus select{float:left}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:left;width:160px;margin-right:5px}.locations-row-links{float:left;margin:6px 0 0 6px}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-right:3px;border-right:1px solid #c3c4c7}#menu-management .inside{padding:0 10px}.customlinkdiv .menu-item-textbox,.postbox .howto input{width:180px;float:right}.accordion-container .outer-border{margin:0}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:right}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}#cancel-save{text-decoration:underline;font-size:12px;margin-left:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:right}.list-controls{float:left;margin-top:5px}.add-to-menu{float:right}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px;vertical-align:middle}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link .howto{font-size:12px}#add-custom-link label span{display:block;float:left;margin-top:5px;padding-right:5px}.menu-item-textbox{width:180px}.customlinkdiv label,.nav-menus-php .howto span{float:left;margin-top:6px}.quick-search{width:190px}.quick-search-wrap .spinner{float:none;margin:-3px -10px 0 0}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-right:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}.menu-item-title .post-state{font-weight:600}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dcdcde;position:relative;padding:10px 15px;height:auto;min-height:20px;max-width:382px;line-height:2.30769230;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#8c8f94}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#fcf0f1;border-color:#d63638}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f86368}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:1.53846153;display:block;margin-right:13em}.menu-item-handle .menu-item-checkbox{display:none}.bulk-selection .menu-item-handle .menu-item-checkbox{display:inline-block;margin-right:6px}.menu-item-handle .menu-item-title.no-title{color:#646970}li.menu-item.ui-sortable-helper .menu-item-bar{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar{margin-top:9px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:9px}.menu-item .menu-item-transport:empty{display:none}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:30px}.menu-item-depth-2{margin-left:60px}.menu-item-depth-3{margin-left:90px}.menu-item-depth-4{margin-left:120px}.menu-item-depth-5{margin-left:150px}.menu-item-depth-6{margin-left:180px}.menu-item-depth-7{margin-left:210px}.menu-item-depth-8{margin-left:240px}.menu-item-depth-9{margin-left:270px}.menu-item-depth-10{margin-left:300px}.menu-item-depth-11{margin-left:330px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-30px}.menu-item-depth-2 .menu-item-transport{margin-left:-60px}.menu-item-depth-3 .menu-item-transport{margin-left:-90px}.menu-item-depth-4 .menu-item-transport{margin-left:-120px}.menu-item-depth-5 .menu-item-transport{margin-left:-150px}.menu-item-depth-6 .menu-item-transport{margin-left:-180px}.menu-item-depth-7 .menu-item-transport{margin-left:-210px}.menu-item-depth-8 .menu-item-transport{margin-left:-240px}.menu-item-depth-9 .menu-item-transport{margin-left:-270px}.menu-item-depth-10 .menu-item-transport{margin-left:-300px}.menu-item-depth-11 .menu-item-transport{margin-left:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{display:inline-block;padding:12px 16px;color:#646970;font-size:12px;line-height:1.5}.item-controls{font-size:12px;position:absolute;right:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls a:hover{cursor:pointer}.item-controls .item-order{padding-right:10px}.nav-menus-php .item-edit{position:absolute;right:-20px;top:0;display:block;width:30px;height:40px;outline:0}.no-js.nav-menus-php .item-edit{position:static;float:right;width:auto;height:auto;margin:12px -10px 12px 0;padding:0;color:#2271b1;text-decoration:underline;font-size:12px;line-height:1.5}.no-js.nav-menus-php .item-edit .screen-reader-text{position:static;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}.nav-menus-php .item-edit:before{margin-top:10px;margin-left:4px;width:20px;border-radius:50%;text-indent:-1px}.no-js.nav-menus-php .item-edit:before{display:none}.rtl .nav-menus-php .item-edit:before{text-indent:1px}.js.nav-menus-php .item-edit:focus{box-shadow:none}.nav-menus-php .item-edit:focus:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;max-width:392px;padding:10px;position:relative;z-index:10;border:1px solid #c3c4c7;border-top:none;box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move{margin:3px 0 5px;line-height:1.5}.field-move-visual-label{float:left;margin-right:4px}.menu-item-settings .field-move .button-link{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em -10px;text-align:center}.add-menu-item-pagelinks .page-numbers{display:inline-block;min-width:20px}.add-menu-item-pagelinks .page-numbers.dots{min-width:0}.link-to-original{display:block;margin:0 0 15px;padding:3px 5px 5px;border:1px solid #dcdcde;color:#646970;font-size:12px}.link-to-original a{padding-left:4px;font-style:normal}.hidden-field{display:none}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-right:10px;float:left}.description-thin{width:calc(50% - 5px)}.menu-item-settings .description-thin+.description-thin{margin-right:0}.description-wide{width:100%}.menu-item-actions{padding-top:15px;padding-bottom:7px}#cancel-save{cursor:pointer}.nav-menus-php .major-publishing-actions{clear:both;padding:10px 0;line-height:2.15384615}.nav-menus-php .major-publishing-actions .publishing-action{text-align:right;float:right}.nav-menus-php .delete-action{float:left;line-height:2.1}.nav-menus-php .major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media only screen and (min-width:769px) and (max-width:1000px){body.menu-max-depth-0{min-width:0!important}#menu-management-liquid{width:100%}.nav-menus-php #post-body-content{min-width:0}}@media screen and (max-width:782px){body.nav-menus-php,body.wp-customizer{min-width:0!important}#nav-menus-frame{margin-left:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-left:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}#menu-name{width:100%}.nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action{padding-top:1em}.nav-menus-php .delete-action{font-size:14px;line-height:2.14285714}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide{width:100%}.menu-item-settings input{width:100%}.menu-item-settings input[type=checkbox],.menu-item-settings input[type=radio]{width:25px}.menu-settings-group{padding-left:0;overflow:visible}.menu-settings-group-name{float:none;width:auto;margin-left:0;margin-bottom:15px}.menu-settings-input{float:none;margin-bottom:15px}.menu-edit .checkbox-input{margin-top:0}.manage-menus select{margin:.5em 0}.wp-core-ui .manage-menus .button{margin-bottom:0}.widefat .menu-locations .menu-location-title{padding-top:16px}}@media only screen and (min-width:783px){@supports (position:sticky) and (scroll-margin-bottom:130px){#nav-menu-footer{position:sticky;bottom:0;z-index:10;box-shadow:0 -1px 0 0 #ddd}#save_menu_header{display:none}}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}.bulk-select-button{padding:5px 10px}} \ No newline at end of file diff --git a/build/wp-admin/css/revisions-rtl.css b/build/wp-admin/css/revisions-rtl.css deleted file mode 100644 index 8edb7dc537..0000000000 --- a/build/wp-admin/css/revisions-rtl.css +++ /dev/null @@ -1,603 +0,0 @@ -/*! This file is auto-generated */ -/*------------------------------------------------------------------------------ - 11.2 - Post Revisions -------------------------------------------------------------------------------*/ -.revisions-control-frame, -.revisions-diff-frame { - position: relative; -} - -.revisions-diff-frame { - top: 10px; -} - -.revisions-controls { - padding-top: 40px; - z-index: 1; -} - -.revisions-controls input[type="checkbox"] { - position: relative; - top: -1px; - vertical-align: text-bottom; -} - -.revisions.pinned .revisions-controls { - position: fixed; - top: 0; - height: 82px; - background: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} - -.revisions-tickmarks { - position: relative; - margin: 0 auto; - height: 0.7em; - top: 7px; - max-width: 70%; - box-sizing: border-box; - background-color: #fff; -} - -.revisions-tickmarks > div { - position: absolute; - height: 100%; - border-right: 1px solid #a7aaad; - box-sizing: border-box; -} - -.revisions-tickmarks > div:first-child { - border-width: 0; -} - -.comparing-two-revisions .revisions-controls { - height: 140px; -} - -.comparing-two-revisions.pinned .revisions-controls { - height: 124px; -} - -.revisions .diff-error { - position: absolute; - text-align: center; - margin: 0 auto; - width: 100%; - display: none; -} - -.revisions.diff-error .diff-error { - display: block; -} - -.revisions .loading-indicator { - position: absolute; - vertical-align: middle; - opacity: 0; - width: 100%; - width: calc( 100% - 30px ); - top: 50%; - top: calc( 50% - 10px ); - transition: opacity 0.5s; -} - -body.folded .revisions .loading-indicator { - margin-right: -32px; -} - -.revisions .loading-indicator span.spinner { - display: block; - margin: 0 auto; - float: none; -} - -.revisions.loading .loading-indicator { - opacity: 1; -} - -.revisions .diff { - transition: opacity 0.5s; -} - -.revisions.loading .diff { - opacity: 0.5; -} - -.revisions.diff-error .diff { - visibility: hidden; -} - -.revisions-meta { - margin-top: 20px; - background-color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - overflow: hidden; -} - -.revisions.pinned .revisions-meta { - box-shadow: none; -} - -.revision-toggle-compare-mode { - position: absolute; - top: 0; - left: 0; -} - -.comparing-two-revisions .revisions-previous, -.comparing-two-revisions .revisions-next, -.revisions-meta .diff-meta-to strong { - display: none; -} - -.revisions-controls .author-card .date { - color: #646970; -} - -.revisions-controls .author-card.autosave { - color: #d63638; -} - -.revisions-controls .author-card .author-name { - font-weight: 600; -} - -.comparing-two-revisions .diff-meta-to strong { - display: block; -} - -.revisions.pinned .revisions-buttons { - padding: 0 11px; -} - -.revisions-previous, -.revisions-next { - position: relative; - z-index: 1; -} - -.revisions-previous { - float: right; -} - -.revisions-next { - float: left; -} - -.revisions-controls .wp-slider { - max-width: 70%; - margin: 0 auto; - top: -3px; -} - -.revisions-diff { - padding: 15px; - background-color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} - -.revisions-diff h3:first-child { - margin-top: 0; -} - -/* Revision meta box */ -.post-revisions li img, -#revisions-meta-restored img { - vertical-align: middle; -} - -table.diff { - table-layout: fixed; - width: 100%; - white-space: pre-wrap; -} - -table.diff col.content { - width: auto; -} - -table.diff col.content.diffsplit { - width: 48%; -} - -table.diff col.diffsplit.middle { - width: auto; -} - -table.diff col.ltype { - width: 30px; -} - -table.diff tr { - background-color: transparent; -} - -table.diff td, -table.diff th { - font-family: Consolas, Monaco, monospace; - font-size: 14px; - line-height: 1.57142857; - padding: 0.5em 2em 0.5em 0.5em; - vertical-align: top; - word-wrap: break-word; -} - -table.diff td h1, -table.diff td h2, -table.diff td h3, -table.diff td h4, -table.diff td h5, -table.diff td h6 { - margin: 0; -} - -table.diff .diff-deletedline del, -table.diff .diff-addedline ins { - text-decoration: none; -} - -table.diff .diff-deletedline { - position: relative; - background-color: #fcf0f1; -} - -table.diff .diff-deletedline del { - background-color: #ffabaf; -} - -table.diff .diff-addedline { - position: relative; - background-color: #edfaef; -} - -table.diff .diff-deletedline .dashicons, -table.diff .diff-addedline .dashicons { - position: absolute; - top: 0.85714286em; - right: 0.5em; - width: 1em; - height: 1em; - font-size: 1em; - line-height: 1; -} - -table.diff .diff-addedline .dashicons { - /* Compensate the vertically non-centered plus glyph. */ - top: 0.92857143em; -} - -table.diff .diff-addedline ins { - background-color: #68de7c; -} - -.diff-meta { - padding: 5px; - clear: both; - min-height: 32px; -} - -.diff-title strong { - line-height: 2.46153846; - min-width: 60px; - text-align: left; - float: right; - margin-left: 5px; -} - -.revisions-controls .author-card .author-info { - font-size: 12px; - line-height: 1.33333333; -} - -.revisions-controls .author-card .avatar, -.revisions-controls .author-card .author-info { - float: right; - margin-right: 6px; - margin-left: 6px; -} - -.revisions-controls .author-card .byline { - display: block; - font-size: 12px; -} - -.revisions-controls .author-card .avatar { - vertical-align: middle; -} - -.diff-meta input.restore-revision { - float: left; - margin-right: 6px; - margin-left: 6px; - margin-top: 2px; -} - -.diff-meta-from { - display: none; -} - -.comparing-two-revisions .diff-meta-from { - display: block; -} - -.revisions-tooltip { - position: absolute; - bottom: 105px; - margin-left: 0; - margin-right: -69px; - z-index: 0; - max-width: 350px; - min-width: 130px; - padding: 8px 4px; - display: none; - opacity: 0; -} - -.revisions-tooltip.flipped { - margin-right: 0; - margin-left: -70px; -} - -.revisions.pinned .revisions-tooltip { - display: none !important; -} - -.comparing-two-revisions .revisions-tooltip { - bottom: 145px; -} - -.revisions-tooltip-arrow { - width: 70px; - height: 15px; - overflow: hidden; - position: absolute; - right: 0; - margin-right: 35px; - bottom: -15px; -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow { - margin-right: 0; - margin-left: 35px; - right: auto; - left: 0; -} - -.revisions-tooltip-arrow > span { - content: ""; - position: absolute; - right: 20px; - top: -20px; - width: 25px; - height: 25px; - transform: rotate(-45deg); -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow > span { - right: auto; - left: 20px; -} - -.revisions-tooltip, -.revisions-tooltip-arrow > span { - border: 1px solid #dcdcde; - background-color: #fff; -} - -.revisions-tooltip { - display: none; -} - -.arrow { - width: 70px; - height: 16px; - overflow: hidden; - position: absolute; - right: 0; - margin-right: -35px; - bottom: 90px; - z-index: 10000; -} - -.arrow:after { - z-index: 9999; - background-color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} - -.arrow.top { - top: -16px; - bottom: auto; -} - -.arrow.left { - right: 20%; -} - -.arrow:after { - content: ""; - position: absolute; - right: 20px; - top: -20px; - width: 25px; - height: 25px; - transform: rotate(-45deg); -} - -.revisions-tooltip, -.revisions-tooltip-arrow:after { - border-width: 1px; - border-style: solid; -} - -div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-right: -10px; -} - -.rtl div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-left: -10px; -} - -/* jQuery UI Slider */ -.wp-slider.ui-slider { - position: relative; - border: 1px solid #dcdcde; - text-align: right; - cursor: pointer; -} - -.wp-slider .ui-slider-handle { - border-radius: 50%; - height: 18px; - margin-top: -5px; - outline: none; - padding: 2px; - position: absolute; - width: 18px; - z-index: 2; - touch-action: none; -} - -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.focus { - background: #f6f7f7; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 0 #c3c4c7; -} - -.wp-slider .ui-slider-handle:hover, -.wp-slider .ui-slider-handle.ui-state-hover { - background: #f6f7f7; - border-color: #8c8f94; -} - -.wp-slider .ui-slider-handle:active, -.wp-slider .ui-slider-handle.ui-state-active { - background: #f0f0f1; - border-color: #8c8f94; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); - transform: translateY(1px); -} - -.wp-slider .ui-slider-handle:before { - background: none; - position: absolute; - top: 2px; - right: 2px; - color: #50575e; - content: "\f229"; - font: normal 18px/1 dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-slider .ui-slider-handle:hover:before, -.wp-slider .ui-slider-handle.ui-state-hover:before { - color: #1d2327; -} - -.wp-slider .ui-slider-handle.from-handle:before, -.wp-slider .ui-slider-handle.to-handle:before { - font-size: 20px !important; - margin: -1px -1px 0 0; -} - -.wp-slider .ui-slider-handle.from-handle:before { - content: "\f141"; -} - -.wp-slider .ui-slider-handle.to-handle:before { - content: "\f139"; -} - -.rtl .wp-slider .ui-slider-handle.from-handle:before { - content: "\f139"; -} - -.rtl .wp-slider .ui-slider-handle.to-handle:before { - content: "\f141"; - left: -1px; -} - -.wp-slider .ui-slider-range { - position: absolute; - font-size: 0.7em; - display: block; - border: 0; - background-color: transparent; - background-image: none; -} - -.wp-slider.ui-slider-horizontal { - height: 0.7em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-handle { - top: -.25em; - margin-right: -.6em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range { - top: 0; - height: 100%; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-min { - right: 0; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-max { - left: 0; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .revision-tick.completed-false { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and (max-width: 782px) { - #diff-next-revision, - #diff-previous-revision { - margin-top: -1em; - } - - .revisions-buttons { - overflow: hidden; - margin-bottom: 15px; - } - - .revisions-controls, - .comparing-two-revisions .revisions-controls { - height: 170px; - } - - .revisions-tooltip { - bottom: 130px; - z-index: 2; - } - - .diff-meta { - overflow: hidden; - } - - table.diff { - -ms-word-break: break-all; - word-break: break-all; - word-wrap: break-word; - } - - .diff-meta input.restore-revision { - margin-top: 0; - } -} diff --git a/build/wp-admin/css/revisions-rtl.min.css b/build/wp-admin/css/revisions-rtl.min.css deleted file mode 100644 index 4185712774..0000000000 --- a/build/wp-admin/css/revisions-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-diff-frame{top:10px}.revisions-controls{padding-top:40px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-right:1px solid #a7aaad;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:calc(100% - 30px);top:50%;top:calc(50% - 10px);transition:opacity .5s}body.folded .revisions .loading-indicator{margin-right:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1}.revisions .diff{transition:opacity .5s}.revisions.loading .diff{opacity:.5}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);overflow:hidden}.revisions.pinned .revisions-meta{box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;left:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#646970}.revisions-controls .author-card.autosave{color:#d63638}.revisions-controls .author-card .author-name{font-weight:600}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:right}.revisions-next{float:left}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.57142857;padding:.5em 2em .5em .5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}table.diff .diff-deletedline{position:relative;background-color:#fcf0f1}table.diff .diff-deletedline del{background-color:#ffabaf}table.diff .diff-addedline{position:relative;background-color:#edfaef}table.diff .diff-addedline .dashicons,table.diff .diff-deletedline .dashicons{position:absolute;top:.85714286em;right:.5em;width:1em;height:1em;font-size:1em;line-height:1}table.diff .diff-addedline .dashicons{top:.92857143em}table.diff .diff-addedline ins{background-color:#68de7c}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:2.46153846;min-width:60px;text-align:left;float:right;margin-left:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:1.33333333}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:right;margin-right:6px;margin-left:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:left;margin-right:6px;margin-left:6px;margin-top:2px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-left:0;margin-right:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;display:none;opacity:0}.revisions-tooltip.flipped{margin-right:0;margin-left:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;right:0;margin-right:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-right:0;margin-left:35px;right:auto;left:0}.revisions-tooltip-arrow>span{content:"";position:absolute;right:20px;top:-20px;width:25px;height:25px;transform:rotate(-45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:auto;left:20px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #dcdcde;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;right:0;margin-right:-35px;bottom:90px;z-index:10000}.arrow:after{z-index:9999;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}.arrow.top{top:-16px;bottom:auto}.arrow.left{right:20%}.arrow:after{content:"";position:absolute;right:20px;top:-20px;width:25px;height:25px;transform:rotate(-45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #dcdcde;text-align:right;cursor:pointer}.wp-slider .ui-slider-handle{border-radius:50%;height:18px;margin-top:-5px;outline:0;padding:2px;position:absolute;width:18px;z-index:2;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus{background:#f6f7f7;border:1px solid #c3c4c7;box-shadow:0 1px 0 #c3c4c7}.wp-slider .ui-slider-handle.ui-state-hover,.wp-slider .ui-slider-handle:hover{background:#f6f7f7;border-color:#8c8f94}.wp-slider .ui-slider-handle.ui-state-active,.wp-slider .ui-slider-handle:active{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:2px;right:2px;color:#50575e;content:"\f229";font:normal 18px/1 dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-slider .ui-slider-handle.ui-state-hover:before,.wp-slider .ui-slider-handle:hover:before{color:#1d2327}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px -1px 0 0}.wp-slider .ui-slider-handle.from-handle:before{content:"\f141"}.wp-slider .ui-slider-handle.to-handle:before{content:"\f139"}.rtl .wp-slider .ui-slider-handle.from-handle:before{content:"\f139"}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:"\f141";left:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-color:transparent;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-right:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{right:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{left:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}.revisions-buttons{overflow:hidden;margin-bottom:15px}.comparing-two-revisions .revisions-controls,.revisions-controls{height:170px}.revisions-tooltip{bottom:130px;z-index:2}.diff-meta{overflow:hidden}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}.diff-meta input.restore-revision{margin-top:0}} \ No newline at end of file diff --git a/build/wp-admin/css/revisions.css b/build/wp-admin/css/revisions.css deleted file mode 100644 index e523ee431c..0000000000 --- a/build/wp-admin/css/revisions.css +++ /dev/null @@ -1,602 +0,0 @@ -/*------------------------------------------------------------------------------ - 11.2 - Post Revisions -------------------------------------------------------------------------------*/ -.revisions-control-frame, -.revisions-diff-frame { - position: relative; -} - -.revisions-diff-frame { - top: 10px; -} - -.revisions-controls { - padding-top: 40px; - z-index: 1; -} - -.revisions-controls input[type="checkbox"] { - position: relative; - top: -1px; - vertical-align: text-bottom; -} - -.revisions.pinned .revisions-controls { - position: fixed; - top: 0; - height: 82px; - background: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} - -.revisions-tickmarks { - position: relative; - margin: 0 auto; - height: 0.7em; - top: 7px; - max-width: 70%; - box-sizing: border-box; - background-color: #fff; -} - -.revisions-tickmarks > div { - position: absolute; - height: 100%; - border-left: 1px solid #a7aaad; - box-sizing: border-box; -} - -.revisions-tickmarks > div:first-child { - border-width: 0; -} - -.comparing-two-revisions .revisions-controls { - height: 140px; -} - -.comparing-two-revisions.pinned .revisions-controls { - height: 124px; -} - -.revisions .diff-error { - position: absolute; - text-align: center; - margin: 0 auto; - width: 100%; - display: none; -} - -.revisions.diff-error .diff-error { - display: block; -} - -.revisions .loading-indicator { - position: absolute; - vertical-align: middle; - opacity: 0; - width: 100%; - width: calc( 100% - 30px ); - top: 50%; - top: calc( 50% - 10px ); - transition: opacity 0.5s; -} - -body.folded .revisions .loading-indicator { - margin-left: -32px; -} - -.revisions .loading-indicator span.spinner { - display: block; - margin: 0 auto; - float: none; -} - -.revisions.loading .loading-indicator { - opacity: 1; -} - -.revisions .diff { - transition: opacity 0.5s; -} - -.revisions.loading .diff { - opacity: 0.5; -} - -.revisions.diff-error .diff { - visibility: hidden; -} - -.revisions-meta { - margin-top: 20px; - background-color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - overflow: hidden; -} - -.revisions.pinned .revisions-meta { - box-shadow: none; -} - -.revision-toggle-compare-mode { - position: absolute; - top: 0; - right: 0; -} - -.comparing-two-revisions .revisions-previous, -.comparing-two-revisions .revisions-next, -.revisions-meta .diff-meta-to strong { - display: none; -} - -.revisions-controls .author-card .date { - color: #646970; -} - -.revisions-controls .author-card.autosave { - color: #d63638; -} - -.revisions-controls .author-card .author-name { - font-weight: 600; -} - -.comparing-two-revisions .diff-meta-to strong { - display: block; -} - -.revisions.pinned .revisions-buttons { - padding: 0 11px; -} - -.revisions-previous, -.revisions-next { - position: relative; - z-index: 1; -} - -.revisions-previous { - float: left; -} - -.revisions-next { - float: right; -} - -.revisions-controls .wp-slider { - max-width: 70%; - margin: 0 auto; - top: -3px; -} - -.revisions-diff { - padding: 15px; - background-color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} - -.revisions-diff h3:first-child { - margin-top: 0; -} - -/* Revision meta box */ -.post-revisions li img, -#revisions-meta-restored img { - vertical-align: middle; -} - -table.diff { - table-layout: fixed; - width: 100%; - white-space: pre-wrap; -} - -table.diff col.content { - width: auto; -} - -table.diff col.content.diffsplit { - width: 48%; -} - -table.diff col.diffsplit.middle { - width: auto; -} - -table.diff col.ltype { - width: 30px; -} - -table.diff tr { - background-color: transparent; -} - -table.diff td, -table.diff th { - font-family: Consolas, Monaco, monospace; - font-size: 14px; - line-height: 1.57142857; - padding: 0.5em 0.5em 0.5em 2em; - vertical-align: top; - word-wrap: break-word; -} - -table.diff td h1, -table.diff td h2, -table.diff td h3, -table.diff td h4, -table.diff td h5, -table.diff td h6 { - margin: 0; -} - -table.diff .diff-deletedline del, -table.diff .diff-addedline ins { - text-decoration: none; -} - -table.diff .diff-deletedline { - position: relative; - background-color: #fcf0f1; -} - -table.diff .diff-deletedline del { - background-color: #ffabaf; -} - -table.diff .diff-addedline { - position: relative; - background-color: #edfaef; -} - -table.diff .diff-deletedline .dashicons, -table.diff .diff-addedline .dashicons { - position: absolute; - top: 0.85714286em; - left: 0.5em; - width: 1em; - height: 1em; - font-size: 1em; - line-height: 1; -} - -table.diff .diff-addedline .dashicons { - /* Compensate the vertically non-centered plus glyph. */ - top: 0.92857143em; -} - -table.diff .diff-addedline ins { - background-color: #68de7c; -} - -.diff-meta { - padding: 5px; - clear: both; - min-height: 32px; -} - -.diff-title strong { - line-height: 2.46153846; - min-width: 60px; - text-align: right; - float: left; - margin-right: 5px; -} - -.revisions-controls .author-card .author-info { - font-size: 12px; - line-height: 1.33333333; -} - -.revisions-controls .author-card .avatar, -.revisions-controls .author-card .author-info { - float: left; - margin-left: 6px; - margin-right: 6px; -} - -.revisions-controls .author-card .byline { - display: block; - font-size: 12px; -} - -.revisions-controls .author-card .avatar { - vertical-align: middle; -} - -.diff-meta input.restore-revision { - float: right; - margin-left: 6px; - margin-right: 6px; - margin-top: 2px; -} - -.diff-meta-from { - display: none; -} - -.comparing-two-revisions .diff-meta-from { - display: block; -} - -.revisions-tooltip { - position: absolute; - bottom: 105px; - margin-right: 0; - margin-left: -69px; - z-index: 0; - max-width: 350px; - min-width: 130px; - padding: 8px 4px; - display: none; - opacity: 0; -} - -.revisions-tooltip.flipped { - margin-left: 0; - margin-right: -70px; -} - -.revisions.pinned .revisions-tooltip { - display: none !important; -} - -.comparing-two-revisions .revisions-tooltip { - bottom: 145px; -} - -.revisions-tooltip-arrow { - width: 70px; - height: 15px; - overflow: hidden; - position: absolute; - left: 0; - margin-left: 35px; - bottom: -15px; -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow { - margin-left: 0; - margin-right: 35px; - left: auto; - right: 0; -} - -.revisions-tooltip-arrow > span { - content: ""; - position: absolute; - left: 20px; - top: -20px; - width: 25px; - height: 25px; - transform: rotate(45deg); -} - -.revisions-tooltip.flipped .revisions-tooltip-arrow > span { - left: auto; - right: 20px; -} - -.revisions-tooltip, -.revisions-tooltip-arrow > span { - border: 1px solid #dcdcde; - background-color: #fff; -} - -.revisions-tooltip { - display: none; -} - -.arrow { - width: 70px; - height: 16px; - overflow: hidden; - position: absolute; - left: 0; - margin-left: -35px; - bottom: 90px; - z-index: 10000; -} - -.arrow:after { - z-index: 9999; - background-color: #fff; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} - -.arrow.top { - top: -16px; - bottom: auto; -} - -.arrow.left { - left: 20%; -} - -.arrow:after { - content: ""; - position: absolute; - left: 20px; - top: -20px; - width: 25px; - height: 25px; - transform: rotate(45deg); -} - -.revisions-tooltip, -.revisions-tooltip-arrow:after { - border-width: 1px; - border-style: solid; -} - -div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-left: -10px; -} - -.rtl div.revisions-controls > .wp-slider > .ui-slider-handle { - margin-right: -10px; -} - -/* jQuery UI Slider */ -.wp-slider.ui-slider { - position: relative; - border: 1px solid #dcdcde; - text-align: left; - cursor: pointer; -} - -.wp-slider .ui-slider-handle { - border-radius: 50%; - height: 18px; - margin-top: -5px; - outline: none; - padding: 2px; - position: absolute; - width: 18px; - z-index: 2; - touch-action: none; -} - -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.focus { - background: #f6f7f7; - border: 1px solid #c3c4c7; - box-shadow: 0 1px 0 #c3c4c7; -} - -.wp-slider .ui-slider-handle:hover, -.wp-slider .ui-slider-handle.ui-state-hover { - background: #f6f7f7; - border-color: #8c8f94; -} - -.wp-slider .ui-slider-handle:active, -.wp-slider .ui-slider-handle.ui-state-active { - background: #f0f0f1; - border-color: #8c8f94; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); - transform: translateY(1px); -} - -.wp-slider .ui-slider-handle:before { - background: none; - position: absolute; - top: 2px; - left: 2px; - color: #50575e; - content: "\f229"; - font: normal 18px/1 dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-slider .ui-slider-handle:hover:before, -.wp-slider .ui-slider-handle.ui-state-hover:before { - color: #1d2327; -} - -.wp-slider .ui-slider-handle.from-handle:before, -.wp-slider .ui-slider-handle.to-handle:before { - font-size: 20px !important; - margin: -1px 0 0 -1px; -} - -.wp-slider .ui-slider-handle.from-handle:before { - content: "\f139"; -} - -.wp-slider .ui-slider-handle.to-handle:before { - content: "\f141"; -} - -.rtl .wp-slider .ui-slider-handle.from-handle:before { - content: "\f141"; -} - -.rtl .wp-slider .ui-slider-handle.to-handle:before { - content: "\f139"; - right: -1px; -} - -.wp-slider .ui-slider-range { - position: absolute; - font-size: 0.7em; - display: block; - border: 0; - background-color: transparent; - background-image: none; -} - -.wp-slider.ui-slider-horizontal { - height: 0.7em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-handle { - top: -.25em; - margin-left: -.6em; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range { - top: 0; - height: 100%; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-min { - left: 0; -} - -.wp-slider.ui-slider-horizontal .ui-slider-range-max { - right: 0; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .revision-tick.completed-false { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and (max-width: 782px) { - #diff-next-revision, - #diff-previous-revision { - margin-top: -1em; - } - - .revisions-buttons { - overflow: hidden; - margin-bottom: 15px; - } - - .revisions-controls, - .comparing-two-revisions .revisions-controls { - height: 170px; - } - - .revisions-tooltip { - bottom: 130px; - z-index: 2; - } - - .diff-meta { - overflow: hidden; - } - - table.diff { - -ms-word-break: break-all; - word-break: break-all; - word-wrap: break-word; - } - - .diff-meta input.restore-revision { - margin-top: 0; - } -} diff --git a/build/wp-admin/css/revisions.min.css b/build/wp-admin/css/revisions.min.css deleted file mode 100644 index 07cdf1db01..0000000000 --- a/build/wp-admin/css/revisions.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-diff-frame{top:10px}.revisions-controls{padding-top:40px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-left:1px solid #a7aaad;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:calc(100% - 30px);top:50%;top:calc(50% - 10px);transition:opacity .5s}body.folded .revisions .loading-indicator{margin-left:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1}.revisions .diff{transition:opacity .5s}.revisions.loading .diff{opacity:.5}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);overflow:hidden}.revisions.pinned .revisions-meta{box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;right:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#646970}.revisions-controls .author-card.autosave{color:#d63638}.revisions-controls .author-card .author-name{font-weight:600}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:left}.revisions-next{float:right}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.57142857;padding:.5em .5em .5em 2em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}table.diff .diff-deletedline{position:relative;background-color:#fcf0f1}table.diff .diff-deletedline del{background-color:#ffabaf}table.diff .diff-addedline{position:relative;background-color:#edfaef}table.diff .diff-addedline .dashicons,table.diff .diff-deletedline .dashicons{position:absolute;top:.85714286em;left:.5em;width:1em;height:1em;font-size:1em;line-height:1}table.diff .diff-addedline .dashicons{top:.92857143em}table.diff .diff-addedline ins{background-color:#68de7c}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:2.46153846;min-width:60px;text-align:right;float:left;margin-right:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:1.33333333}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:left;margin-left:6px;margin-right:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:right;margin-left:6px;margin-right:6px;margin-top:2px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-right:0;margin-left:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;display:none;opacity:0}.revisions-tooltip.flipped{margin-left:0;margin-right:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;left:0;margin-left:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-left:0;margin-right:35px;left:auto;right:0}.revisions-tooltip-arrow>span{content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;transform:rotate(45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:auto;right:20px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #dcdcde;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;left:0;margin-left:-35px;bottom:90px;z-index:10000}.arrow:after{z-index:9999;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1)}.arrow.top{top:-16px;bottom:auto}.arrow.left{left:20%}.arrow:after{content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;transform:rotate(45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #dcdcde;text-align:left;cursor:pointer}.wp-slider .ui-slider-handle{border-radius:50%;height:18px;margin-top:-5px;outline:0;padding:2px;position:absolute;width:18px;z-index:2;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus{background:#f6f7f7;border:1px solid #c3c4c7;box-shadow:0 1px 0 #c3c4c7}.wp-slider .ui-slider-handle.ui-state-hover,.wp-slider .ui-slider-handle:hover{background:#f6f7f7;border-color:#8c8f94}.wp-slider .ui-slider-handle.ui-state-active,.wp-slider .ui-slider-handle:active{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);transform:translateY(1px)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:2px;left:2px;color:#50575e;content:"\f229";font:normal 18px/1 dashicons;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-slider .ui-slider-handle.ui-state-hover:before,.wp-slider .ui-slider-handle:hover:before{color:#1d2327}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px 0 0 -1px}.wp-slider .ui-slider-handle.from-handle:before{content:"\f139"}.wp-slider .ui-slider-handle.to-handle:before{content:"\f141"}.rtl .wp-slider .ui-slider-handle.from-handle:before{content:"\f141"}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:"\f139";right:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-color:transparent;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-left:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{left:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{right:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}.revisions-buttons{overflow:hidden;margin-bottom:15px}.comparing-two-revisions .revisions-controls,.revisions-controls{height:170px}.revisions-tooltip{bottom:130px;z-index:2}.diff-meta{overflow:hidden}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}.diff-meta input.restore-revision{margin-top:0}} \ No newline at end of file diff --git a/build/wp-admin/css/site-health-rtl.css b/build/wp-admin/css/site-health-rtl.css deleted file mode 100644 index ed179dc3c3..0000000000 --- a/build/wp-admin/css/site-health-rtl.css +++ /dev/null @@ -1,358 +0,0 @@ -/*! This file is auto-generated */ -/* Note: Any Site Health selectors that use -duplicate styling from the Privacy settings screen -are styled in the Privacy section of edit.css */ - -.health-check-body h2 { - line-height: 1.4; -} - -.health-check-body h3 { - padding: 0; - font-weight: 400; -} - -.site-health-progress-wrapper { - margin-bottom: 1rem; -} - -.site-health-progress { - display: inline-block; - height: 20px; - width: 20px; - margin: 0; - border-radius: 100%; - position: relative; - font-weight: 600; - font-size: 0.4rem; -} - -.site-health-progress-count { - position: absolute; - display: block; - height: 80px; - width: 80px; - right: 50%; - top: 50%; - margin-top: -40px; - margin-right: -40px; - border-radius: 100%; - line-height: 6.3; - font-size: 2em; -} - -.loading .site-health-progress svg #bar { - stroke-dashoffset: 0; - stroke: #c3c4c7; - animation: loadingPulse 3s infinite ease-in-out; -} - -.site-health-progress svg circle { - stroke-dashoffset: 0; - transition: stroke-dashoffset 1s linear; - stroke: #c3c4c7; - stroke-width: 2em; -} - -.site-health-progress svg #bar { - stroke-dashoffset: 565; - stroke: #d63638; -} - -.green .site-health-progress #bar { - stroke: #00a32a; -} -.green .site-health-progress .site-health-progress-label { - color: #00a32a; -} - -.orange .site-health-progress #bar { - stroke: #dba617; -} -.orange .site-health-progress .site-health-progress-label { - color: #dba617; -} - -.site-health-progress-label { - font-weight: 600; - line-height: 20px; - margin-right: 0.3rem; -} - -@keyframes loadingPulse { - 0% { - stroke: #c3c4c7; - } - 50% { - stroke: #72aee6; - } - 100% { - stroke: #c3c4c7; - } -} - -.health-check-tabs-wrapper { - /* IE 11 */ - display: -ms-inline-grid; - -ms-grid-columns: 1fr 1fr 1fr 1fr; - vertical-align: top; - /* modern browsers */ - display: inline-grid; - grid-template-columns: 1fr 1fr 1fr 1fr; -} - -.health-check-tabs-wrapper.tab-count-1 { - grid-template-columns: 1fr; -} -.health-check-tabs-wrapper.tab-count-2 { - grid-template-columns: 1fr 1fr; -} -.health-check-tabs-wrapper.tab-count-3 { - grid-template-columns: 1fr 1fr 1fr; -} - -.health-check-tab { - display: block; /* IE 11 */ - text-decoration: none; - color: inherit; - padding: 0.5rem 1rem 1rem; - margin: 0 1rem; - transition: box-shadow 0.5s ease-in-out; -} - -.health-check-offscreen-nav-wrapper { - position: relative; - background: transparent; - border: none; -} -.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav { - right: initial; -} - -.health-check-offscreen-nav { - display: none; - position: absolute; - padding-top: 10px; - left: 0; - top: 100%; - width: 13rem; -} -.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav { - display: inline-block; -} -.health-check-offscreen-nav:before { - position: absolute; - content: ""; - width: 0; - height: 0; - border-style: solid; - border-width: 0 10px 5px; - border-color: transparent transparent #ffffff; - left: 20px; - top: 5px; -} - -.health-check-offscreen-nav .health-check-tab { - background: #fff; - box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 ); -} - -.health-check-offscreen-nav .health-check-tab.active { - box-shadow: inset -3px 0 #3582c4; - font-weight: 600; -} - -.health-check-body { - max-width: 800px; - margin: 0 auto; -} - -.health-check-table td:first-child { - width: 30%; -} - -.health-check-table td { - width: 70%; -} - -.health-check-table ul, -.health-check-table ol { - margin: 0; -} - -.health-check-body li { - line-height: 1.5; -} - -.health-check-body .pass::before, -.health-check-body .good::before { - content: "\f147"; - color: #00a32a; -} - -.health-check-body .warning::before { - content: "\f460"; - color: #dba617; -} - -.health-check-body .info::before { - content: "\f348"; - color: #72aee6; -} - -.health-check-body .fail::before, -.health-check-body .error::before { - content: "\f335"; - color: #d63638; -} - -.site-health-copy-buttons { - margin: 1rem 0; -} - -.site-health-copy-buttons .copy-button-wrapper { - display: inline-flex; - align-items: center; - margin: 0.5rem 0 1rem; -} - -.site-health-copy-buttons .success { - color: #008a20; - margin-right: 0.5rem; -} - -.site-status-has-issues.hide { - display: none; -} - -.site-health-view-more { - text-align: center; -} - -.site-health-issues-wrapper:first-of-type { - margin-top: 3rem; -} - -.site-health-issues-wrapper { - margin-bottom: 3rem; - margin-top: 2rem; -} - -.site-status-all-clear { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - text-align: center; - height: 100%; - width: 100%; - margin: 0 0 3rem; -} - -@media all and (min-width: 784px) { - .site-status-all-clear { - margin: 2rem 0 5rem; - } -} - -.site-status-all-clear.hide { - display: none; -} - -.site-status-all-clear .dashicons { - font-size: 150px; - height: 150px; - margin-bottom: 2rem; - width: 150px; -} - -.site-status-all-clear .encouragement { - font-size: 1.5rem; - font-weight: 600; -} - -.site-status-all-clear p { - margin: 0; -} - -.wp-core-ui .button.site-health-view-passed { - position: relative; - padding-left: 40px; - padding-right: 20px; -} - -.health-check-wp-paths-sizes.spinner { - visibility: visible; - float: none; - margin: 0 4px; - flex-shrink: 0; -} - -/* Styling unique to the dashboard widget. */ -#dashboard_site_health .site-health-details { - padding-right: 16px; -} - -#dashboard_site_health .site-health-details p:first-child { - margin-top: 0; -} - -#dashboard_site_health .site-health-details p:last-child { - margin-bottom: 0; -} - -#dashboard_site_health .health-check-widget { - display: grid; - grid-template-columns: 1fr 2fr; - grid-auto-rows: minmax(64px, auto); - column-gap: 16px; - align-items: center; -} -#dashboard_site_health .site-health-progress-label { - margin-right: 0; -} - -.health-check-widget-title-section { - margin-bottom: 0; - text-align: center; -} - -@media screen and (max-width: 480px) { - #dashboard_site_health .health-check-widget { - grid-template-columns: 100%; - } -} - -@media screen and (max-width: 782px) { - - .site-health-issues-wrapper .health-check-accordion-trigger { - flex-direction: column; - align-items: flex-start; - } - - .health-check-accordion-trigger .badge { - margin: 1em 0 0; - } - - .health-check-table { - table-layout: fixed; - } - - .health-check-table td { - box-sizing: border-box; - display: block; - width: 100%; - word-wrap: break-word; - } - - .health-check-table td:first-child { - width: 100%; - padding-bottom: 0; - font-weight: 600; - } - - .wp-core-ui .site-health-copy-buttons .copy-button { - margin-bottom: 0; - } -} - diff --git a/build/wp-admin/css/site-health-rtl.min.css b/build/wp-admin/css/site-health-rtl.min.css deleted file mode 100644 index caea88c677..0000000000 --- a/build/wp-admin/css/site-health-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.health-check-body h2{line-height:1.4}.health-check-body h3{padding:0;font-weight:400}.site-health-progress-wrapper{margin-bottom:1rem}.site-health-progress{display:inline-block;height:20px;width:20px;margin:0;border-radius:100%;position:relative;font-weight:600;font-size:.4rem}.site-health-progress-count{position:absolute;display:block;height:80px;width:80px;right:50%;top:50%;margin-top:-40px;margin-right:-40px;border-radius:100%;line-height:6.3;font-size:2em}.loading .site-health-progress svg #bar{stroke-dashoffset:0;stroke:#c3c4c7;animation:loadingPulse 3s infinite ease-in-out}.site-health-progress svg circle{stroke-dashoffset:0;transition:stroke-dashoffset 1s linear;stroke:#c3c4c7;stroke-width:2em}.site-health-progress svg #bar{stroke-dashoffset:565;stroke:#d63638}.green .site-health-progress #bar{stroke:#00a32a}.green .site-health-progress .site-health-progress-label{color:#00a32a}.orange .site-health-progress #bar{stroke:#dba617}.orange .site-health-progress .site-health-progress-label{color:#dba617}.site-health-progress-label{font-weight:600;line-height:20px;margin-right:.3rem}@keyframes loadingPulse{0%{stroke:#c3c4c7}50%{stroke:#72aee6}100%{stroke:#c3c4c7}}.health-check-tabs-wrapper{display:-ms-inline-grid;-ms-grid-columns:1fr 1fr 1fr 1fr;vertical-align:top;display:inline-grid;grid-template-columns:1fr 1fr 1fr 1fr}.health-check-tabs-wrapper.tab-count-1{grid-template-columns:1fr}.health-check-tabs-wrapper.tab-count-2{grid-template-columns:1fr 1fr}.health-check-tabs-wrapper.tab-count-3{grid-template-columns:1fr 1fr 1fr}.health-check-tab{display:block;text-decoration:none;color:inherit;padding:.5rem 1rem 1rem;margin:0 1rem;transition:box-shadow .5s ease-in-out}.health-check-offscreen-nav-wrapper{position:relative;background:0 0;border:none}.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav{right:initial}.health-check-offscreen-nav{display:none;position:absolute;padding-top:10px;left:0;top:100%;width:13rem}.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav{display:inline-block}.health-check-offscreen-nav:before{position:absolute;content:"";width:0;height:0;border-style:solid;border-width:0 10px 5px;border-color:transparent transparent #fff;left:20px;top:5px}.health-check-offscreen-nav .health-check-tab{background:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.75)}.health-check-offscreen-nav .health-check-tab.active{box-shadow:inset -3px 0 #3582c4;font-weight:600}.health-check-body{max-width:800px;margin:0 auto}.health-check-table td:first-child{width:30%}.health-check-table td{width:70%}.health-check-table ol,.health-check-table ul{margin:0}.health-check-body li{line-height:1.5}.health-check-body .good::before,.health-check-body .pass::before{content:"\f147";color:#00a32a}.health-check-body .warning::before{content:"\f460";color:#dba617}.health-check-body .info::before{content:"\f348";color:#72aee6}.health-check-body .error::before,.health-check-body .fail::before{content:"\f335";color:#d63638}.site-health-copy-buttons{margin:1rem 0}.site-health-copy-buttons .copy-button-wrapper{display:inline-flex;align-items:center;margin:.5rem 0 1rem}.site-health-copy-buttons .success{color:#008a20;margin-right:.5rem}.site-status-has-issues.hide{display:none}.site-health-view-more{text-align:center}.site-health-issues-wrapper:first-of-type{margin-top:3rem}.site-health-issues-wrapper{margin-bottom:3rem;margin-top:2rem}.site-status-all-clear{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;width:100%;margin:0 0 3rem}@media all and (min-width:784px){.site-status-all-clear{margin:2rem 0 5rem}}.site-status-all-clear.hide{display:none}.site-status-all-clear .dashicons{font-size:150px;height:150px;margin-bottom:2rem;width:150px}.site-status-all-clear .encouragement{font-size:1.5rem;font-weight:600}.site-status-all-clear p{margin:0}.wp-core-ui .button.site-health-view-passed{position:relative;padding-left:40px;padding-right:20px}.health-check-wp-paths-sizes.spinner{visibility:visible;float:none;margin:0 4px;flex-shrink:0}#dashboard_site_health .site-health-details{padding-right:16px}#dashboard_site_health .site-health-details p:first-child{margin-top:0}#dashboard_site_health .site-health-details p:last-child{margin-bottom:0}#dashboard_site_health .health-check-widget{display:grid;grid-template-columns:1fr 2fr;grid-auto-rows:minmax(64px,auto);column-gap:16px;align-items:center}#dashboard_site_health .site-health-progress-label{margin-right:0}.health-check-widget-title-section{margin-bottom:0;text-align:center}@media screen and (max-width:480px){#dashboard_site_health .health-check-widget{grid-template-columns:100%}}@media screen and (max-width:782px){.site-health-issues-wrapper .health-check-accordion-trigger{flex-direction:column;align-items:flex-start}.health-check-accordion-trigger .badge{margin:1em 0 0}.health-check-table{table-layout:fixed}.health-check-table td{box-sizing:border-box;display:block;width:100%;word-wrap:break-word}.health-check-table td:first-child{width:100%;padding-bottom:0;font-weight:600}.wp-core-ui .site-health-copy-buttons .copy-button{margin-bottom:0}} \ No newline at end of file diff --git a/build/wp-admin/css/site-health.css b/build/wp-admin/css/site-health.css deleted file mode 100644 index da65a93f3d..0000000000 --- a/build/wp-admin/css/site-health.css +++ /dev/null @@ -1,357 +0,0 @@ -/* Note: Any Site Health selectors that use -duplicate styling from the Privacy settings screen -are styled in the Privacy section of edit.css */ - -.health-check-body h2 { - line-height: 1.4; -} - -.health-check-body h3 { - padding: 0; - font-weight: 400; -} - -.site-health-progress-wrapper { - margin-bottom: 1rem; -} - -.site-health-progress { - display: inline-block; - height: 20px; - width: 20px; - margin: 0; - border-radius: 100%; - position: relative; - font-weight: 600; - font-size: 0.4rem; -} - -.site-health-progress-count { - position: absolute; - display: block; - height: 80px; - width: 80px; - left: 50%; - top: 50%; - margin-top: -40px; - margin-left: -40px; - border-radius: 100%; - line-height: 6.3; - font-size: 2em; -} - -.loading .site-health-progress svg #bar { - stroke-dashoffset: 0; - stroke: #c3c4c7; - animation: loadingPulse 3s infinite ease-in-out; -} - -.site-health-progress svg circle { - stroke-dashoffset: 0; - transition: stroke-dashoffset 1s linear; - stroke: #c3c4c7; - stroke-width: 2em; -} - -.site-health-progress svg #bar { - stroke-dashoffset: 565; - stroke: #d63638; -} - -.green .site-health-progress #bar { - stroke: #00a32a; -} -.green .site-health-progress .site-health-progress-label { - color: #00a32a; -} - -.orange .site-health-progress #bar { - stroke: #dba617; -} -.orange .site-health-progress .site-health-progress-label { - color: #dba617; -} - -.site-health-progress-label { - font-weight: 600; - line-height: 20px; - margin-left: 0.3rem; -} - -@keyframes loadingPulse { - 0% { - stroke: #c3c4c7; - } - 50% { - stroke: #72aee6; - } - 100% { - stroke: #c3c4c7; - } -} - -.health-check-tabs-wrapper { - /* IE 11 */ - display: -ms-inline-grid; - -ms-grid-columns: 1fr 1fr 1fr 1fr; - vertical-align: top; - /* modern browsers */ - display: inline-grid; - grid-template-columns: 1fr 1fr 1fr 1fr; -} - -.health-check-tabs-wrapper.tab-count-1 { - grid-template-columns: 1fr; -} -.health-check-tabs-wrapper.tab-count-2 { - grid-template-columns: 1fr 1fr; -} -.health-check-tabs-wrapper.tab-count-3 { - grid-template-columns: 1fr 1fr 1fr; -} - -.health-check-tab { - display: block; /* IE 11 */ - text-decoration: none; - color: inherit; - padding: 0.5rem 1rem 1rem; - margin: 0 1rem; - transition: box-shadow 0.5s ease-in-out; -} - -.health-check-offscreen-nav-wrapper { - position: relative; - background: transparent; - border: none; -} -.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav { - left: initial; -} - -.health-check-offscreen-nav { - display: none; - position: absolute; - padding-top: 10px; - right: 0; - top: 100%; - width: 13rem; -} -.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav { - display: inline-block; -} -.health-check-offscreen-nav:before { - position: absolute; - content: ""; - width: 0; - height: 0; - border-style: solid; - border-width: 0 10px 5px; - border-color: transparent transparent #ffffff; - right: 20px; - top: 5px; -} - -.health-check-offscreen-nav .health-check-tab { - background: #fff; - box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.75 ); -} - -.health-check-offscreen-nav .health-check-tab.active { - box-shadow: inset 3px 0 #3582c4; - font-weight: 600; -} - -.health-check-body { - max-width: 800px; - margin: 0 auto; -} - -.health-check-table td:first-child { - width: 30%; -} - -.health-check-table td { - width: 70%; -} - -.health-check-table ul, -.health-check-table ol { - margin: 0; -} - -.health-check-body li { - line-height: 1.5; -} - -.health-check-body .pass::before, -.health-check-body .good::before { - content: "\f147"; - color: #00a32a; -} - -.health-check-body .warning::before { - content: "\f460"; - color: #dba617; -} - -.health-check-body .info::before { - content: "\f348"; - color: #72aee6; -} - -.health-check-body .fail::before, -.health-check-body .error::before { - content: "\f335"; - color: #d63638; -} - -.site-health-copy-buttons { - margin: 1rem 0; -} - -.site-health-copy-buttons .copy-button-wrapper { - display: inline-flex; - align-items: center; - margin: 0.5rem 0 1rem; -} - -.site-health-copy-buttons .success { - color: #008a20; - margin-left: 0.5rem; -} - -.site-status-has-issues.hide { - display: none; -} - -.site-health-view-more { - text-align: center; -} - -.site-health-issues-wrapper:first-of-type { - margin-top: 3rem; -} - -.site-health-issues-wrapper { - margin-bottom: 3rem; - margin-top: 2rem; -} - -.site-status-all-clear { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - text-align: center; - height: 100%; - width: 100%; - margin: 0 0 3rem; -} - -@media all and (min-width: 784px) { - .site-status-all-clear { - margin: 2rem 0 5rem; - } -} - -.site-status-all-clear.hide { - display: none; -} - -.site-status-all-clear .dashicons { - font-size: 150px; - height: 150px; - margin-bottom: 2rem; - width: 150px; -} - -.site-status-all-clear .encouragement { - font-size: 1.5rem; - font-weight: 600; -} - -.site-status-all-clear p { - margin: 0; -} - -.wp-core-ui .button.site-health-view-passed { - position: relative; - padding-right: 40px; - padding-left: 20px; -} - -.health-check-wp-paths-sizes.spinner { - visibility: visible; - float: none; - margin: 0 4px; - flex-shrink: 0; -} - -/* Styling unique to the dashboard widget. */ -#dashboard_site_health .site-health-details { - padding-left: 16px; -} - -#dashboard_site_health .site-health-details p:first-child { - margin-top: 0; -} - -#dashboard_site_health .site-health-details p:last-child { - margin-bottom: 0; -} - -#dashboard_site_health .health-check-widget { - display: grid; - grid-template-columns: 1fr 2fr; - grid-auto-rows: minmax(64px, auto); - column-gap: 16px; - align-items: center; -} -#dashboard_site_health .site-health-progress-label { - margin-left: 0; -} - -.health-check-widget-title-section { - margin-bottom: 0; - text-align: center; -} - -@media screen and (max-width: 480px) { - #dashboard_site_health .health-check-widget { - grid-template-columns: 100%; - } -} - -@media screen and (max-width: 782px) { - - .site-health-issues-wrapper .health-check-accordion-trigger { - flex-direction: column; - align-items: flex-start; - } - - .health-check-accordion-trigger .badge { - margin: 1em 0 0; - } - - .health-check-table { - table-layout: fixed; - } - - .health-check-table td { - box-sizing: border-box; - display: block; - width: 100%; - word-wrap: break-word; - } - - .health-check-table td:first-child { - width: 100%; - padding-bottom: 0; - font-weight: 600; - } - - .wp-core-ui .site-health-copy-buttons .copy-button { - margin-bottom: 0; - } -} - diff --git a/build/wp-admin/css/site-health.min.css b/build/wp-admin/css/site-health.min.css deleted file mode 100644 index d469f2d5eb..0000000000 --- a/build/wp-admin/css/site-health.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.health-check-body h2{line-height:1.4}.health-check-body h3{padding:0;font-weight:400}.site-health-progress-wrapper{margin-bottom:1rem}.site-health-progress{display:inline-block;height:20px;width:20px;margin:0;border-radius:100%;position:relative;font-weight:600;font-size:.4rem}.site-health-progress-count{position:absolute;display:block;height:80px;width:80px;left:50%;top:50%;margin-top:-40px;margin-left:-40px;border-radius:100%;line-height:6.3;font-size:2em}.loading .site-health-progress svg #bar{stroke-dashoffset:0;stroke:#c3c4c7;animation:loadingPulse 3s infinite ease-in-out}.site-health-progress svg circle{stroke-dashoffset:0;transition:stroke-dashoffset 1s linear;stroke:#c3c4c7;stroke-width:2em}.site-health-progress svg #bar{stroke-dashoffset:565;stroke:#d63638}.green .site-health-progress #bar{stroke:#00a32a}.green .site-health-progress .site-health-progress-label{color:#00a32a}.orange .site-health-progress #bar{stroke:#dba617}.orange .site-health-progress .site-health-progress-label{color:#dba617}.site-health-progress-label{font-weight:600;line-height:20px;margin-left:.3rem}@keyframes loadingPulse{0%{stroke:#c3c4c7}50%{stroke:#72aee6}100%{stroke:#c3c4c7}}.health-check-tabs-wrapper{display:-ms-inline-grid;-ms-grid-columns:1fr 1fr 1fr 1fr;vertical-align:top;display:inline-grid;grid-template-columns:1fr 1fr 1fr 1fr}.health-check-tabs-wrapper.tab-count-1{grid-template-columns:1fr}.health-check-tabs-wrapper.tab-count-2{grid-template-columns:1fr 1fr}.health-check-tabs-wrapper.tab-count-3{grid-template-columns:1fr 1fr 1fr}.health-check-tab{display:block;text-decoration:none;color:inherit;padding:.5rem 1rem 1rem;margin:0 1rem;transition:box-shadow .5s ease-in-out}.health-check-offscreen-nav-wrapper{position:relative;background:0 0;border:none}.health-check-offscreen-nav-wrapper:focus .health-check-offscreen-nav{left:initial}.health-check-offscreen-nav{display:none;position:absolute;padding-top:10px;right:0;top:100%;width:13rem}.health-check-offscreen-nav-wrapper.visible .health-check-offscreen-nav{display:inline-block}.health-check-offscreen-nav:before{position:absolute;content:"";width:0;height:0;border-style:solid;border-width:0 10px 5px;border-color:transparent transparent #fff;right:20px;top:5px}.health-check-offscreen-nav .health-check-tab{background:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.75)}.health-check-offscreen-nav .health-check-tab.active{box-shadow:inset 3px 0 #3582c4;font-weight:600}.health-check-body{max-width:800px;margin:0 auto}.health-check-table td:first-child{width:30%}.health-check-table td{width:70%}.health-check-table ol,.health-check-table ul{margin:0}.health-check-body li{line-height:1.5}.health-check-body .good::before,.health-check-body .pass::before{content:"\f147";color:#00a32a}.health-check-body .warning::before{content:"\f460";color:#dba617}.health-check-body .info::before{content:"\f348";color:#72aee6}.health-check-body .error::before,.health-check-body .fail::before{content:"\f335";color:#d63638}.site-health-copy-buttons{margin:1rem 0}.site-health-copy-buttons .copy-button-wrapper{display:inline-flex;align-items:center;margin:.5rem 0 1rem}.site-health-copy-buttons .success{color:#008a20;margin-left:.5rem}.site-status-has-issues.hide{display:none}.site-health-view-more{text-align:center}.site-health-issues-wrapper:first-of-type{margin-top:3rem}.site-health-issues-wrapper{margin-bottom:3rem;margin-top:2rem}.site-status-all-clear{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;width:100%;margin:0 0 3rem}@media all and (min-width:784px){.site-status-all-clear{margin:2rem 0 5rem}}.site-status-all-clear.hide{display:none}.site-status-all-clear .dashicons{font-size:150px;height:150px;margin-bottom:2rem;width:150px}.site-status-all-clear .encouragement{font-size:1.5rem;font-weight:600}.site-status-all-clear p{margin:0}.wp-core-ui .button.site-health-view-passed{position:relative;padding-right:40px;padding-left:20px}.health-check-wp-paths-sizes.spinner{visibility:visible;float:none;margin:0 4px;flex-shrink:0}#dashboard_site_health .site-health-details{padding-left:16px}#dashboard_site_health .site-health-details p:first-child{margin-top:0}#dashboard_site_health .site-health-details p:last-child{margin-bottom:0}#dashboard_site_health .health-check-widget{display:grid;grid-template-columns:1fr 2fr;grid-auto-rows:minmax(64px,auto);column-gap:16px;align-items:center}#dashboard_site_health .site-health-progress-label{margin-left:0}.health-check-widget-title-section{margin-bottom:0;text-align:center}@media screen and (max-width:480px){#dashboard_site_health .health-check-widget{grid-template-columns:100%}}@media screen and (max-width:782px){.site-health-issues-wrapper .health-check-accordion-trigger{flex-direction:column;align-items:flex-start}.health-check-accordion-trigger .badge{margin:1em 0 0}.health-check-table{table-layout:fixed}.health-check-table td{box-sizing:border-box;display:block;width:100%;word-wrap:break-word}.health-check-table td:first-child{width:100%;padding-bottom:0;font-weight:600}.wp-core-ui .site-health-copy-buttons .copy-button{margin-bottom:0}} \ No newline at end of file diff --git a/build/wp-admin/css/site-icon-rtl.css b/build/wp-admin/css/site-icon-rtl.css deleted file mode 100644 index 06293b92e2..0000000000 --- a/build/wp-admin/css/site-icon-rtl.css +++ /dev/null @@ -1,55 +0,0 @@ -/*! This file is auto-generated */ -/*------------------------------------------------------------------------------ - 28.0 - Site Icon -------------------------------------------------------------------------------*/ - -.site-icon-preview .favicon-preview { - margin: 5px 0 20px; - overflow: hidden; - position: relative; - max-width: 180px; -} - -.site-icon-preview .favicon, -.site-icon-preview .browser-title { - height: 16px; - right: 88px; - overflow: hidden; - position: absolute; - top: 16px; -} - -.site-icon-preview .favicon { - width: 16px; -} - -.site-icon-preview .browser-title { - right: 109px; - width: 72px; - white-space: nowrap; -} - -.site-icon-preview .app-icon-preview { - background-color: #000; - border-radius: 16px; - height: 64px; - overflow: hidden; - width: 64px; - margin-top: 5px; -} - -/* rtl:ignore */ -.site-icon-preview .favicon, -.site-icon-preview .app-icon-preview { - direction: ltr; -} - -.customize-control-site_icon .favicon-preview { - float: right; - margin-left: 12px; - margin-bottom: 0; -} - -.customize-control-site_icon .app-icon-preview { - margin-top: 9px; -} diff --git a/build/wp-admin/css/site-icon-rtl.min.css b/build/wp-admin/css/site-icon-rtl.min.css deleted file mode 100644 index 901a1eb652..0000000000 --- a/build/wp-admin/css/site-icon-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.site-icon-preview .favicon-preview{margin:5px 0 20px;overflow:hidden;position:relative;max-width:180px}.site-icon-preview .browser-title,.site-icon-preview .favicon{height:16px;right:88px;overflow:hidden;position:absolute;top:16px}.site-icon-preview .favicon{width:16px}.site-icon-preview .browser-title{right:109px;width:72px;white-space:nowrap}.site-icon-preview .app-icon-preview{background-color:#000;border-radius:16px;height:64px;overflow:hidden;width:64px;margin-top:5px}.site-icon-preview .app-icon-preview,.site-icon-preview .favicon{direction:ltr}.customize-control-site_icon .favicon-preview{float:right;margin-left:12px;margin-bottom:0}.customize-control-site_icon .app-icon-preview{margin-top:9px} \ No newline at end of file diff --git a/build/wp-admin/css/site-icon.css b/build/wp-admin/css/site-icon.css deleted file mode 100644 index eae9a57635..0000000000 --- a/build/wp-admin/css/site-icon.css +++ /dev/null @@ -1,54 +0,0 @@ -/*------------------------------------------------------------------------------ - 28.0 - Site Icon -------------------------------------------------------------------------------*/ - -.site-icon-preview .favicon-preview { - margin: 5px 0 20px; - overflow: hidden; - position: relative; - max-width: 180px; -} - -.site-icon-preview .favicon, -.site-icon-preview .browser-title { - height: 16px; - left: 88px; - overflow: hidden; - position: absolute; - top: 16px; -} - -.site-icon-preview .favicon { - width: 16px; -} - -.site-icon-preview .browser-title { - left: 109px; - width: 72px; - white-space: nowrap; -} - -.site-icon-preview .app-icon-preview { - background-color: #000; - border-radius: 16px; - height: 64px; - overflow: hidden; - width: 64px; - margin-top: 5px; -} - -/* rtl:ignore */ -.site-icon-preview .favicon, -.site-icon-preview .app-icon-preview { - direction: ltr; -} - -.customize-control-site_icon .favicon-preview { - float: left; - margin-right: 12px; - margin-bottom: 0; -} - -.customize-control-site_icon .app-icon-preview { - margin-top: 9px; -} diff --git a/build/wp-admin/css/site-icon.min.css b/build/wp-admin/css/site-icon.min.css deleted file mode 100644 index 5287d07f95..0000000000 --- a/build/wp-admin/css/site-icon.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.site-icon-preview .favicon-preview{margin:5px 0 20px;overflow:hidden;position:relative;max-width:180px}.site-icon-preview .browser-title,.site-icon-preview .favicon{height:16px;left:88px;overflow:hidden;position:absolute;top:16px}.site-icon-preview .favicon{width:16px}.site-icon-preview .browser-title{left:109px;width:72px;white-space:nowrap}.site-icon-preview .app-icon-preview{background-color:#000;border-radius:16px;height:64px;overflow:hidden;width:64px;margin-top:5px}.site-icon-preview .app-icon-preview,.site-icon-preview .favicon{direction:ltr}.customize-control-site_icon .favicon-preview{float:left;margin-right:12px;margin-bottom:0}.customize-control-site_icon .app-icon-preview{margin-top:9px} \ No newline at end of file diff --git a/build/wp-admin/css/themes-rtl.css b/build/wp-admin/css/themes-rtl.css deleted file mode 100644 index c094186014..0000000000 --- a/build/wp-admin/css/themes-rtl.css +++ /dev/null @@ -1,2005 +0,0 @@ -/*! This file is auto-generated */ -/*------------------------------------------------------------------------------ - 16.0 - Themes -------------------------------------------------------------------------------*/ - - -/*------------------------------------------------------------------------------ - 16.1 - Manage Themes -------------------------------------------------------------------------------*/ - -.themes-php { - overflow-y: scroll; -} - -body.js .theme-browser.search-loading { - display: none; -} - -.theme-browser .themes { - clear: both; -} - -.themes-php:not(.network-admin) .wrap h1 { - margin-bottom: 15px; -} - -.themes-php .wrap h1 .button { - margin-right: 20px; -} - -/* Search form */ -.themes-php .search-form { - display: inline; -} - -.themes-php .wp-filter-search { - position: relative; - top: -2px; - right: 20px; - margin: 0; - width: 280px; -} - -/* Position admin messages */ -.theme .notice, -.theme .notice.is-dismissible { - right: 0; - margin: 0; - position: absolute; - left: 0; - top: 0; -} - -/** - * Main theme element - * (has flexible margins) - */ -.theme-browser .theme { - cursor: pointer; - float: right; - margin: 0 0 4% 4%; - position: relative; - width: 30.6%; - border: 1px solid #dcdcde; - box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); - box-sizing: border-box; -} - -.theme-browser .theme:nth-child(3n) { - margin-left: 0; -} - -.theme-browser .theme:hover, -.theme-browser .theme.focus { - cursor: pointer; -} - -.theme-browser .theme .theme-name { - font-size: 15px; - font-weight: 600; - height: 18px; - margin: 0; - padding: 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - background: #fff; - background: rgba(255, 255, 255, 0.65); -} - -/* Activate and Customize buttons, shown on hover and focus */ -.theme-browser .theme .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - transition: opacity 0.1s ease-in-out; - height: auto; - background: rgba(246, 247, 247, 0.7); - border-right: 1px solid rgba(0, 0, 0, 0.05); -} - -.theme-browser .theme:hover .theme-actions, -.theme-browser .theme.focus .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -.theme-browser .theme .theme-actions .button-primary { - margin-left: 3px; -} - -.theme-browser .theme .theme-actions .button { - float: none; - margin-right: 3px; -} - -/** - * Theme Screenshot - * - * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size - * It is also responsive. - */ -.theme-browser .theme .theme-screenshot { - display: block; - overflow: hidden; - position: relative; - -webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */ - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme .theme-screenshot:after { - content: ""; - display: block; - padding-top: 66.66666%; /* using a 3/2 aspect ratio */ -} - -.theme-browser .theme .theme-screenshot img { - height: auto; - position: absolute; - right: 0; - top: 0; - width: 100%; - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme:hover .theme-screenshot, -.theme-browser .theme.focus .theme-screenshot { - background: #fff; -} - -.theme-browser.rendered .theme:hover .theme-screenshot img, -.theme-browser.rendered .theme.focus .theme-screenshot img { - opacity: 0.4; -} - -.theme-browser .theme .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - position: absolute; - top: 35%; - left: 20%; - right: 20%; - width: 60%; - background: #1d2327; - background: rgba(0, 0, 0, 0.7); - color: #fff; - font-size: 15px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); - -webkit-font-smoothing: antialiased; - font-weight: 600; - padding: 15px 12px; - text-align: center; - border-radius: 3px; - border: none; - transition: opacity 0.1s ease-in-out; - cursor: pointer; -} - -.theme-browser .theme .more-details:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1; -} - -.theme-browser .theme.focus { - border-color: #4f94d4; - box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); -} - -.theme-browser .theme.focus .more-details { - opacity: 1; -} - -/* Current theme needs to have its action always on view */ -.theme-browser .theme.active.focus .theme-actions { - display: block; -} - -.theme-browser.rendered .theme:hover .more-details, -.theme-browser.rendered .theme.focus .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -/** - * The currently active theme - */ -.theme-browser .theme.active .theme-name { - background: #1d2327; - color: #fff; - padding-left: 110px; - font-weight: 300; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5); -} - -.theme-browser .customize-control .theme.active .theme-name { - padding-left: 15px; -} - -.theme-browser .theme.active .theme-name span { - font-weight: 600; -} - -.theme-browser .theme.active .theme-actions { - background: rgba(44, 51, 56, 0.7); - border-right: none; - opacity: 1; -} - -.theme-id-container { - position: relative; -} - -.theme-browser .theme.active .theme-actions, -.theme-browser .theme .theme-actions { - position: absolute; - top: 50%; - transform: translateY(-50%); - left: 0; - padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); -} - -.theme-browser .theme.active .theme-actions .button-primary { - margin-left: 0; -} - -.theme-browser .theme .theme-author { - background: #1d2327; - color: #f0f0f1; - display: none; - font-size: 14px; - margin: 0 10px; - padding: 5px 10px; - position: absolute; - bottom: 56px; -} - -.theme-browser .theme.display-author .theme-author { - display: block; -} - -.theme-browser .theme.display-author .theme-author a { - color: inherit; -} - -/** - * Add new theme - */ -.theme-browser .theme.add-new-theme { - border: none; - box-shadow: none; -} - -.theme-browser .theme.add-new-theme a { - text-decoration: none; - display: block; - position: relative; - z-index: 1; -} - -.theme-browser .theme.add-new-theme a:after { - display: block; - content: ""; - background: transparent; - background: rgba(0, 0, 0, 0); - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; - padding: 0; - text-shadow: none; - border: 5px dashed #dcdcde; - border: 5px dashed rgba(0, 0, 0, 0.1); - box-sizing: border-box; -} - -.theme-browser .theme.add-new-theme span:after { - background: #dcdcde; - background: rgba(140, 143, 148, 0.1); - border-radius: 50%; - display: inline-block; - content: "\f132"; - -webkit-font-smoothing: antialiased; - font: normal 74px/115px dashicons; - width: 100px; - height: 100px; - vertical-align: middle; - text-align: center; - color: #8c8f94; - position: absolute; - top: 30%; - right: 50%; - margin-right: -50px; - text-indent: -4px; - padding: 0; - text-shadow: none; - z-index: 4; -} - -.rtl .theme-browser .theme.add-new-theme span:after { - text-indent: 4px; -} - -.theme-browser .theme.add-new-theme a:hover .theme-screenshot, -.theme-browser .theme.add-new-theme a:focus .theme-screenshot { - background: none; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - background: #fff; - color: #2271b1; -} - -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - border-color: transparent; - color: #fff; - background: #2271b1; - content: ""; -} - -.theme-browser .theme.add-new-theme .theme-name { - background: none; - text-align: center; - box-shadow: none; - font-weight: 400; - position: relative; - top: 0; - margin-top: -18px; - padding-top: 0; - padding-bottom: 48px; -} - -.theme-browser .theme.add-new-theme a:hover .theme-name, -.theme-browser .theme.add-new-theme a:focus .theme-name { - color: #fff; - z-index: 2; -} - -/** - * Theme Overlay - * Shown when clicking a theme - */ -.theme-overlay .theme-backdrop { - position: absolute; - right: -20px; - left: 0; - top: 0; - bottom: 0; - background: #f0f0f1; - background: rgba(240, 240, 241, 0.9); - z-index: 10000; /* Over WP Pointers. */ -} - -.theme-overlay .theme-header { - position: absolute; - top: 0; - right: 0; - left: 0; - height: 48px; - border-bottom: 1px solid #dcdcde; -} - -.theme-overlay .theme-header button { - padding: 0; -} - -.theme-overlay .theme-header .close { - cursor: pointer; - height: 48px; - width: 50px; - text-align: center; - float: left; - border: 0; - border-right: 1px solid #dcdcde; - background-color: transparent; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:before { - font: normal 22px/50px dashicons !important; - color: #787c82; - display: inline-block; - content: "\f335"; - font-weight: 300; -} - -/* Left and right navigation */ -.theme-overlay .theme-header .right, -.theme-overlay .theme-header .left { - cursor: pointer; - color: #787c82; - background-color: transparent; - height: 48px; - width: 54px; - float: right; - text-align: center; - border: 0; - border-left: 1px solid #dcdcde; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .close:hover, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .right:hover, -.theme-overlay .theme-header .left:focus, -.theme-overlay .theme-header .left:hover { - background: #dcdcde; - border-color: #c3c4c7; - color: #000; -} - -.theme-overlay .theme-header .close:focus:before, -.theme-overlay .theme-header .close:hover:before { - color: #000; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .left:focus { - box-shadow: none; - outline: none; -} - -.theme-overlay .theme-header .left.disabled, -.theme-overlay .theme-header .right.disabled, -.theme-overlay .theme-header .left.disabled:hover, -.theme-overlay .theme-header .right.disabled:hover { - color: #c3c4c7; - background: inherit; - cursor: inherit; -} - -.theme-overlay .theme-header .right:before, -.theme-overlay .theme-header .left:before { - font: normal 20px/50px dashicons !important; - display: inline; - font-weight: 300; -} - -.theme-overlay .theme-header .left:before { - content: "\f345"; -} - -.theme-overlay .theme-header .right:before { - content: "\f341"; -} - -.theme-overlay .theme-wrap { - clear: both; - position: fixed; - top: 9%; - right: 190px; - left: 30px; - bottom: 3%; - background: #fff; - box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); - z-index: 10000; /* Over WP Pointers. */ - box-sizing: border-box; - -webkit-overflow-scrolling: touch; -} - -body.folded .theme-browser ~ .theme-overlay .theme-wrap { - right: 70px; -} - -.theme-overlay .theme-about { - position: absolute; - top: 49px; - bottom: 57px; - right: 0; - left: 0; - overflow: auto; - padding: 2% 4%; -} - -.theme-overlay .theme-actions { - position: absolute; - text-align: center; - bottom: 0; - right: 0; - left: 0; - padding: 10px 25px 5px; - background: #f6f7f7; - z-index: 30; - box-sizing: border-box; - border-top: 1px solid #f0f0f1; -} - -.theme-overlay .theme-actions a { - margin-left: 5px; - margin-bottom: 5px; -} - -/* Hide-if-customize for items we can't add classes to */ -.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"], -.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"] { - display: none; -} - -.broken-themes a.delete-theme, -.theme-overlay .theme-actions .delete-theme { - color: #d63638; - text-decoration: none; - border-color: transparent; - box-shadow: none; - background: transparent; -} - -.theme-overlay .theme-actions .delete-theme { - position: absolute; - left: 10px; - bottom: 5px; -} - -.broken-themes a.delete-theme:hover, -.broken-themes a.delete-theme:focus, -.theme-overlay .theme-actions .delete-theme:hover, -.theme-overlay .theme-actions .delete-theme:focus { - background: #d63638; - color: #fff; - border-color: #d63638; -} - -.theme-overlay .theme-actions .active-theme, -.theme-overlay.active .theme-actions .inactive-theme { - display: none; -} - -.theme-overlay .theme-actions .inactive-theme, -.theme-overlay.active .theme-actions .active-theme { - display: block; -} - -/** - * Theme Screenshots gallery - */ -.theme-overlay .theme-screenshots { - float: right; - margin: 0 0 0 30px; - width: 55%; - max-width: 1200px; /* Recommended theme screenshot width, set here to avoid stretching */ - text-align: center; -} - -/* First screenshot, shown big */ -.theme-overlay .screenshot { - border: 1px solid #fff; - box-sizing: border-box; - overflow: hidden; - position: relative; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); -} - -.theme-overlay .screenshot:after { - content: ""; - display: block; - padding-top: 75%; /* using a 4/3 aspect ratio */ -} - -.theme-overlay .screenshot img { - height: auto; - position: absolute; - right: 0; - top: 0; - width: 100%; -} -/* Handles old 300px screenshots */ -.theme-overlay.small-screenshot .theme-screenshots { - position: absolute; - width: 302px; -} -.theme-overlay.small-screenshot .theme-info { - margin-right: 350px; - width: auto; -} - -/* Other screenshots, shown small and square */ -.theme-overlay .screenshot.thumb { - background: #c3c4c7; - border: 1px solid #f0f0f1; - float: none; - display: inline-block; - margin: 10px 5px 0; - width: 140px; - height: 80px; - cursor: pointer; -} - -.theme-overlay .screenshot.thumb:after { - content: ""; - display: block; - padding-top: 100%; /* using a 1/1 aspect ratio */ -} - -.theme-overlay .screenshot.thumb img { - cursor: pointer; - height: auto; - position: absolute; - right: 0; - top: 0; - width: 100%; - height: auto; -} - -.theme-overlay .screenshot.selected { - background: transparent; - border: 2px solid #72aee6; -} - -.theme-overlay .screenshot.selected img { - opacity: 0.8; -} - -/* No screenshot placeholder */ -.theme-browser .theme .theme-screenshot.blank, -.theme-overlay .screenshot.blank { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=); -} - -/** - * Theme heading information - */ -.theme-overlay .theme-info { - width: 40%; - float: right; -} - -.theme-overlay .current-label { - background: #2c3338; - color: #fff; - font-size: 11px; - display: inline-block; - padding: 2px 8px; - border-radius: 2px; - margin: 0 0 -10px; - -webkit-user-select: none; - user-select: none; -} - -.theme-overlay .theme-name { - color: #1d2327; - font-size: 32px; - font-weight: 100; - margin: 10px 0 0; - line-height: 1.3; - word-wrap: break-word; - overflow-wrap: break-word; -} - -.theme-overlay .theme-version { - color: #646970; - font-size: 13px; - font-weight: 400; - float: none; - display: inline-block; - margin-right: 10px; -} - -.theme-overlay .theme-author { - margin: 15px 0 25px; - color: #646970; - font-size: 16px; - font-weight: 400; - line-height: inherit; -} - -.theme-overlay .toggle-auto-update { - /* Better align spin icon and text. */ - display: inline-flex; - align-items: center; - /* Prevents content after the auto-update toggler from jumping down and up. */ - min-height: 20px; /* Same height as the spinning dashicon. */ - vertical-align: top; -} - -.theme-overlay .theme-autoupdate .toggle-auto-update { - text-decoration: none; -} - -.theme-overlay .theme-autoupdate .toggle-auto-update .label { - text-decoration: underline; -} - -.theme-overlay .theme-description { - color: #50575e; - font-size: 15px; - font-weight: 400; - line-height: 1.5; - margin: 30px 0 0; -} - -.theme-overlay .theme-tags { - border-top: 3px solid #f0f0f1; - color: #646970; - font-size: 13px; - font-weight: 400; - margin: 30px 0 0; - padding-top: 20px; -} - -.theme-overlay .theme-tags span { - color: #3c434a; - font-weight: 600; - margin-left: 5px; -} - -.theme-overlay .parent-theme { - background: #fff; - border: 1px solid #f0f0f1; - border-right: 4px solid #72aee6; - font-size: 14px; - font-weight: 400; - margin-top: 30px; - padding: 10px 20px 10px 10px; -} - -.theme-overlay .parent-theme strong { - font-weight: 600; -} - -/** - * Single Theme Mode - * Displays detailed view inline when a user has no switch capabilities - */ -.single-theme .theme-overlay .theme-backdrop, -.single-theme .theme-overlay .theme-header, -.single-theme .theme { - display: none; -} - -.single-theme .theme-overlay .theme-wrap { - clear: both; - min-height: 330px; - position: relative; - right: auto; - left: auto; - top: auto; - bottom: auto; - z-index: 10; -} - -.single-theme .theme-overlay .theme-about { - padding: 30px 30px 70px; - position: static; -} - -.single-theme .theme-overlay .theme-actions { - position: absolute; -} - -/** - * Basic Responsive structure... - * - * Shuffles theme columns around based on screen width - */ - -@media only screen and (min-width: 2000px) { - #wpwrap .theme-browser .theme { - width: 17.6%; - margin: 0 0 3% 3%; - } - - #wpwrap .theme-browser .theme:nth-child(3n), - #wpwrap .theme-browser .theme:nth-child(4n) { - margin-left: 3%; - } - - #wpwrap .theme-browser .theme:nth-child(5n) { - margin-left: 0; - } -} - -@media only screen and (min-width: 1680px) { - .theme-overlay .theme-wrap { - width: 1450px; - margin: 0 auto; - } -} - -/* Maximum screenshot width reaches 440px */ -@media only screen and (min-width: 1640px) { - .theme-browser .theme { - width: 22.7%; - margin: 0 0 3% 3%; - } - .theme-browser .theme .theme-screenshot:after { - padding-top: 75%; /* using a 4/3 aspect ratio */ - } - - .theme-browser .theme:nth-child(3n) { - margin-left: 3%; - } - - .theme-browser .theme:nth-child(4n) { - margin-left: 0; - } -} -/* Maximum screenshot width reaches 440px */ -@media only screen and (max-width: 1120px) { - .theme-browser .theme { - width: 47.5%; - margin-left: 0; - } - - .theme-browser .theme:nth-child(even) { - margin-left: 0; - } - - .theme-browser .theme:nth-child(odd) { - margin-left: 5%; - } -} - -/* Admin menu is folded */ -@media only screen and (max-width: 960px) { - .theme-overlay .theme-wrap { - right: 65px; - } -} - -@media only screen and (max-width: 780px) { - body.folded .theme-overlay .theme-wrap, - .theme-overlay .theme-wrap { - top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */ - left: 0; - bottom: 0; - right: 0; - padding: 70px 20px 20px; - border: none; - z-index: 100000; /* should overlap #wpadminbar. */ - position: fixed; - } - - .theme-browser .theme.active .theme-name span { - /* Hide the "Active: " label on smaller screens. */ - display: none; - } - - .theme-overlay .theme-screenshots { - width: 40%; - } - - .theme-overlay .theme-info { - width: 50%; - } - .single-theme .theme-wrap { - padding: 10px; - } - - .theme-browser .theme .theme-actions { - padding: 5px 10px 4px; - } - - .theme-overlay.small-screenshot .theme-screenshots { - position: static; - float: none; - max-width: 302px; - } - - .theme-overlay.small-screenshot .theme-info { - margin-right: 0; - width: auto; - } - - .theme:not(.active):hover .theme-actions, - .theme:not(.active):focus .theme-actions, - .theme:hover .more-details, - .theme.focus .more-details { - display: none; - } - - .theme-browser.rendered .theme:hover .theme-screenshot img, - .theme-browser.rendered .theme.focus .theme-screenshot img { - opacity: 1.0; - } -} - -@media only screen and (max-width: 480px) { - .theme-browser .theme { - width: 100%; - margin-left: 0; - } - - .theme-browser .theme:nth-child(2n), - .theme-browser .theme:nth-child(3n) { - margin-left: 0; - } - - .theme-overlay .theme-about { - bottom: 105px; - } - - .theme-overlay .theme-actions { - padding-right: 4%; - padding-left: 4%; - } -} - -@media only screen and (max-width: 650px) { - .theme-overlay .theme-description { - margin-right: 0; - } - - .theme-overlay .theme-actions .delete-theme { - position: relative; - left: auto; - bottom: auto; - } - - .theme-overlay .theme-actions .inactive-theme { - display: inline; - } - - .theme-overlay .theme-screenshots { - width: 100%; - float: none; - } - - .theme-overlay .theme-info { - width: 100%; - } - - .theme-overlay .theme-author { - margin: 5px 0 15px; - } - - .theme-overlay .current-label { - margin-top: 10px; - font-size: 13px; - } - - .themes-php .wp-filter-search { - float: none; - clear: both; - right: 0; - left: 0; - margin: -5px 0 20px; - width: 100%; - max-width: 280px; - } - - .theme-browser .theme.add-new-theme span:after { - font: normal 60px/90px dashicons; - width: 80px; - height: 80px; - top: 30%; - right: 50%; - text-indent: 0; - margin-right: -40px; - } - - .single-theme .theme-wrap { - margin: 0 -10px 0 -12px; - padding: 10px; - } - .single-theme .theme-overlay .theme-about { - padding: 10px; - overflow: visible; - } - .single-theme .current-label { - display: none; - } - .single-theme .theme-overlay .theme-actions { - position: static; - } -} - -.broken-themes { - clear: both; -} - -.broken-themes table { - text-align: right; - width: 50%; - border-spacing: 3px; - padding: 3px; -} - - -/*------------------------------------------------------------------------------ - 16.2 - Install Themes -------------------------------------------------------------------------------*/ - -.update-php .wrap { - max-width: 40rem; -} - -/* Already installed theme */ -.theme-browser .theme .theme-installed { - background: #2271b1; -} - -.theme-browser .theme .notice-success p:before { - color: #68de7c; - content: "\f147"; - display: inline-block; - font: normal 20px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.theme-install.updated-message:before { - content: ""; -} - -.theme-install-php .wp-filter { - padding-right: 20px; -} - -.theme-install-php a.upload, -.theme-install-php a.browse-themes { - cursor: pointer; -} - -.upload-view-toggle .browse, -.plugin-install-tab-upload .upload-view-toggle .upload { - display: none; -} - -.plugin-install-tab-upload .upload-view-toggle .browse { - display: inline; -} - -.upload-theme, -.upload-plugin { - box-sizing: border-box; - display: none; - margin: 0; - padding: 50px 0; - width: 100%; - overflow: hidden; - position: relative; - top: 10px; - text-align: center; -} - -.show-upload-view .upload-theme, -.show-upload-view .upload-plugin, -.show-upload-view .upload-plugin-wrap, -.plugin-install-tab-upload .upload-plugin { - display: block; -} - -.upload-theme .wp-upload-form, -.upload-plugin .wp-upload-form { - background: #f6f7f7; - border: 1px solid #c3c4c7; - padding: 30px; - margin: 30px auto; - display: inline-flex; - justify-content: space-between; - align-items: center; -} - -.upload-theme .wp-upload-form input[type="file"], -.upload-plugin .wp-upload-form input[type="file"] { - margin-left: 10px; -} - -.upload-theme .install-help, -.upload-plugin .install-help { - color: #50575e; /* #f1f1f1 background */ - font-size: 18px; - font-style: normal; - margin: 0; - padding: 0; - text-align: center; -} - -p.no-themes, -p.no-themes-local { - clear: both; - color: #646970; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0; - text-align: center; - display: none; -} - -.no-results p.no-themes { - display: block; -} - -.theme-install-php .add-new-theme { - display: none !important; -} - -@media only screen and (max-width: 1120px) { - .upload-theme .wp-upload-form { - margin: 20px 0; - max-width: 100%; - } - .upload-theme .install-help { - font-size: 15px; - padding: 20px 0 0; - } -} - -.theme-details .theme-rating { - line-height: 1.9; -} - -.theme-details .star-rating { - display: inline; -} - -.theme-details .num-ratings, -.theme-details .no-rating { - font-size: 11px; - color: #646970; -} - -.theme-details .no-rating { - display: block; - line-height: 1.9; -} - -.update-from-upload-comparison { - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #dcdcde; - text-align: right; - margin: 1rem 0 1.4rem; - border-collapse: collapse; - width: 100%; -} - -.update-from-upload-comparison tr:last-child td { - height: 1.4rem; - vertical-align: top; -} - -.update-from-upload-comparison tr:first-child th { - font-weight: bold; - height: 1.4rem; - vertical-align: bottom; -} - -.update-from-upload-comparison td.name-label { - text-align: left; -} - -.update-from-upload-comparison td, -.update-from-upload-comparison th { - padding: 0.4rem 1.4rem; -} - -.update-from-upload-comparison td.warning { - color: #d63638; -} - -.update-from-upload-actions { - margin-top: 1.4rem; -} - -/*------------------------------------------------------------------------------ - 16.3 - Custom Header Screen -------------------------------------------------------------------------------*/ - -.appearance_page_custom-header #headimg { - border: 1px solid #dcdcde; - overflow: hidden; - width: 100%; -} - -.appearance_page_custom-header #upload-form p label { - font-size: 12px; -} - -.appearance_page_custom-header .available-headers .default-header { - float: right; - margin: 0 0 20px 20px; -} - -.appearance_page_custom-header .random-header { - clear: both; - margin: 0 0 20px 20px; - vertical-align: middle; -} - -.appearance_page_custom-header .available-headers label input, -.appearance_page_custom-header .random-header label input { - margin-left: 10px; -} - -.appearance_page_custom-header .available-headers label img { - vertical-align: middle; -} - - -/*------------------------------------------------------------------------------ - 16.4 - Custom Background Screen -------------------------------------------------------------------------------*/ - -div#custom-background-image { - min-height: 100px; - border: 1px solid #dcdcde; -} - -div#custom-background-image img { - max-width: 400px; - max-height: 300px; -} - -.background-position-control input[type="radio"]:checked ~ .button { - background: #f0f0f1; - border-color: #8c8f94; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); - z-index: 1; -} - -.background-position-control input[type="radio"]:focus ~ .button { - border-color: #4f94d4; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(34, 113, 177, 0.8); - color: #1d2327; -} - -.background-position-control .background-position-center-icon, -.background-position-control .background-position-center-icon:before { - display: inline-block; - line-height: 1; - text-align: center; - transition: background-color .1s ease-in; -} - -.background-position-control .background-position-center-icon { - height: 20px; - margin-top: 13px; - vertical-align: top; - width: 20px; -} - -.background-position-control .background-position-center-icon:before { - background-color: #50575e; - border-radius: 50%; - content: ""; - height: 12px; - width: 12px; -} - -.background-position-control .button:hover .background-position-center-icon:before, -.background-position-control input[type="radio"]:focus ~ .button .background-position-center-icon:before { - background-color: #1d2327; -} - -.background-position-control .button-group { - display: block; -} - -.background-position-control .button-group .button { - border-radius: 0; - box-shadow: none; - /* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */ - height: 40px !important; - line-height: 2.9 !important; - margin: 0 0 0 -1px !important; - padding: 0 10px 1px !important; - position: relative; -} - -.background-position-control .button-group .button:active, -.background-position-control .button-group .button:hover, -.background-position-control .button-group .button:focus { - z-index: 1; -} - -.background-position-control .button-group:last-child .button { - box-shadow: 0 1px 0 #c3c4c7; -} - -.background-position-control .button-group > label { - margin: 0 !important; -} - -.background-position-control .button-group:first-child > label:first-child .button { - border-radius: 0 3px 0 0; -} - -.background-position-control .button-group:first-child > label:first-child .dashicons { - transform: rotate( -45deg ); -} - -.background-position-control .button-group:first-child > label:last-child .button { - border-radius: 3px 0 0 0; -} - -.background-position-control .button-group:first-child > label:last-child .dashicons { - transform: rotate( 45deg ); -} - -.background-position-control .button-group:last-child > label:first-child .button { - border-radius: 0 0 3px 0; -} - -.background-position-control .button-group:last-child > label:first-child .dashicons { - transform: rotate( 45deg ); -} - -.background-position-control .button-group:last-child > label:last-child .button { - border-radius: 0 0 0 3px; -} - -.background-position-control .button-group:last-child > label:last-child .dashicons { - transform: rotate( -45deg ); -} - -.background-position-control .button-group .dashicons { - margin-top: 9px; -} - -.background-position-control .button-group + .button-group { - margin-top: -1px; -} - -/*------------------------------------------------------------------------------ - 23.0 - Full Overlay w/ Sidebar -------------------------------------------------------------------------------*/ - -body.full-overlay-active { - overflow: hidden; - /* Hide all the content, the Customizer overlay is then made visible to be the only available content. */ - visibility: hidden; -} - -.wp-full-overlay { - background: transparent; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - right: 0; - left: 0; - height: 100%; - min-width: 0; -} - -.wp-full-overlay-sidebar { - box-sizing: border-box; - position: fixed; - min-width: 300px; - max-width: 600px; - width: 18%; - height: 100%; - top: 0; - bottom: 0; - right: 0; - padding: 0; - margin: 0; - z-index: 10; - background: #f0f0f1; - border-left: none; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - overflow: visible; -} - -.wp-full-overlay.collapsed, -.wp-full-overlay.expanded .wp-full-overlay-sidebar { - margin-right: 0 !important; -} - -.wp-full-overlay.expanded { - margin-right: 300px; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-right: -300px; -} - -@media screen and (min-width: 1667px) { - .wp-full-overlay.expanded { - margin-right: 18%; - } - - .wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-right: -18%; - } -} - -@media screen and (min-width: 3333px) { - .wp-full-overlay.expanded { - margin-right: 600px; - } - - .wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-right: -600px; - } -} - -.wp-full-overlay-sidebar:after { - content: ""; - display: block; - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 3px; - z-index: 1000; -} - -.wp-full-overlay-main { - position: absolute; - right: 0; - left: 0; - top: 0; - bottom: 0; - height: 100%; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - position: absolute; - right: 0; - left: 0; - height: 45px; - padding: 0 15px; - line-height: 3.2; - z-index: 10; - margin: 0; - border-top: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header a.back { - margin-top: 9px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-footer { - bottom: 0; - border-bottom: none; - border-top: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { - position: absolute; - top: 45px; - bottom: 45px; - right: 0; - left: 0; - overflow: auto; -} - -/* Close & Navigation Links */ -.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header { - padding: 0; -} - -.theme-install-overlay .close-full-overlay, -.theme-install-overlay .previous-theme, -.theme-install-overlay .next-theme { - display: block; - position: relative; - float: right; - width: 45px; - height: 45px; - background: #f0f0f1; - border-left: 1px solid #dcdcde; - color: #3c434a; - cursor: pointer; - text-decoration: none; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-install-overlay .close-full-overlay:hover, -.theme-install-overlay .close-full-overlay:focus, -.theme-install-overlay .previous-theme:hover, -.theme-install-overlay .previous-theme:focus, -.theme-install-overlay .next-theme:hover, -.theme-install-overlay .next-theme:focus { - background: #dcdcde; - border-color: #c3c4c7; - color: #000; - outline: none; - box-shadow: none; -} - -.theme-install-overlay .close-full-overlay:before { - font: normal 22px/1 dashicons; - content: "\f335"; - position: relative; - top: 7px; - right: 13px; -} - -.theme-install-overlay .previous-theme:before { - font: normal 20px/1 dashicons; - content: "\f345"; - position: relative; - top: 6px; - right: 14px; -} - -.theme-install-overlay .next-theme:before { - font: normal 20px/1 dashicons; - content: "\f341"; - position: relative; - top: 6px; - right: 13px; -} - -.theme-install-overlay .previous-theme.disabled, -.theme-install-overlay .next-theme.disabled, -.theme-install-overlay .previous-theme.disabled:hover, -.theme-install-overlay .previous-theme.disabled:focus, -.theme-install-overlay .next-theme.disabled:hover, -.theme-install-overlay .next-theme.disabled:focus { - color: #c3c4c7; - background: #f0f0f1; - cursor: default; - pointer-events: none; -} - -.theme-install-overlay .close-full-overlay, -.theme-install-overlay .previous-theme, -.theme-install-overlay .next-theme { - border-right: 0; - border-top: 0; - border-bottom: 0; -} - -.theme-install-overlay .close-full-overlay:before, -.theme-install-overlay .previous-theme:before, -.theme-install-overlay .next-theme:before { - top: 2px; - right: 0; -} - -/* Collapse Button */ -.wp-core-ui .wp-full-overlay .collapse-sidebar { - position: fixed; - bottom: 0; - right: 0; - padding: 9px 10px 9px 0; - height: 45px; - color: #646970; - outline: 0; - line-height: 1; - background-color: transparent !important; - border: none !important; - box-shadow: none !important; - border-radius: 0 !important; -} - -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #2271b1; -} - -.wp-full-overlay .collapse-sidebar-arrow, -.wp-full-overlay .collapse-sidebar-label { - display: inline-block; - vertical-align: middle; - line-height: 1.6; -} - -.wp-full-overlay .collapse-sidebar-arrow { - width: 20px; - height: 20px; - margin: 0 2px; /* avoid the focus box-shadow to be cut-off */ - border-radius: 50%; - overflow: hidden; -} - -.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.wp-full-overlay .collapse-sidebar-label { - margin-right: 3px; -} - -.wp-full-overlay.collapsed .collapse-sidebar-label { - display: none; -} - -.wp-full-overlay .collapse-sidebar-arrow:before { - display: block; - content: "\f148"; - background: #f0f0f1; - font: normal 20px/1 dashicons; - speak: never; - padding: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar { - padding: 9px 10px; -} - -/* rtl:ignore */ -.wp-full-overlay.collapsed .collapse-sidebar-arrow:before, -.rtl .wp-full-overlay .collapse-sidebar-arrow:before { - transform: rotate(180.001deg); /* Firefox: promoting to its own layer to trigger anti-aliasing */ -} - -.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before { - transform: none; -} - -/* Animations */ -.wp-full-overlay, -.wp-full-overlay-sidebar, -.wp-full-overlay .collapse-sidebar, -.wp-full-overlay-main { - transition-property: right, left, top, bottom, width, margin; - transition-duration: 0.2s; -} - -/* Device/preview size toggles */ - -.wp-full-overlay { - background: #1d2327; -} - -.wp-full-overlay-main { - background-color: #f0f0f1; -} - -.expanded .wp-full-overlay-footer { - position: fixed; - bottom: 0; - right: 0; - min-width: 299px; - max-width: 599px; - width: 18%; - width: calc( 18% - 1px ); - height: 45px; - border-top: 1px solid #dcdcde; - background: #f0f0f1; -} - -.wp-full-overlay-footer .devices-wrapper { - float: left; -} - -.wp-full-overlay-footer .devices { - position: relative; - background: #f0f0f1; - box-shadow: 20px 0 10px -5px #f0f0f1; -} - -.wp-full-overlay-footer .devices button { - cursor: pointer; - background: transparent; - border: none; - height: 45px; - padding: 0 3px; - margin: 0 -4px 0 0; - box-shadow: none; - border-top: 1px solid transparent; - border-bottom: 4px solid transparent; - transition: - .15s color ease-in-out, - .15s background-color ease-in-out, - .15s border-color ease-in-out; -} - -.wp-full-overlay-footer .devices button:focus { - box-shadow: none; - outline: none; -} - -.wp-full-overlay-footer .devices button:before { - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 20px/30px "dashicons"; - vertical-align: top; - margin: 3px 0; - padding: 4px 8px; - color: #646970; -} - -.wp-full-overlay-footer .devices button.active { - border-bottom-color: #1d2327; -} - -.wp-full-overlay-footer .devices button:hover, -.wp-full-overlay-footer .devices button:focus { - background-color: #fff; -} - -.wp-full-overlay-footer .devices button:focus, -.wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #2271b1; -} - -.wp-full-overlay-footer .devices button.active:before { - color: #1d2327; -} - -.wp-full-overlay-footer .devices button:hover:before, -.wp-full-overlay-footer .devices button:focus:before { - color: #2271b1; -} - -.wp-full-overlay-footer .devices .preview-desktop:before { - content: "\f472"; -} - -.wp-full-overlay-footer .devices .preview-tablet:before { - content: "\f471"; -} - -.wp-full-overlay-footer .devices .preview-mobile:before { - content: "\f470"; -} - -@media screen and (max-width: 1024px) { - .wp-full-overlay-footer .devices { - display: none; - } -} - -.collapsed .wp-full-overlay-footer .devices button:before { - display: none; -} - -.preview-mobile .wp-full-overlay-main { - margin: auto -160px auto 0; - width: 320px; - height: 480px; - max-height: 100%; - max-width: 100%; - right: 50%; -} - -.preview-tablet .wp-full-overlay-main { - margin: auto -360px auto 0; - width: 720px; /* Size is loosely based on a typical "tablet" device size. Intentionally ambiguous - this does not represent any particular device precisely. */ - height: 1080px; - max-height: 100%; - max-width: 100%; - right: 50%; -} - - -/*------------------------------------------------------------------------------ - 24.0 - Customize Loader -------------------------------------------------------------------------------*/ - -.no-customize-support .hide-if-no-customize, -.customize-support .hide-if-customize, -.no-customize-support.wp-core-ui .hide-if-no-customize, -.no-customize-support .wp-core-ui .hide-if-no-customize, -.customize-support.wp-core-ui .hide-if-customize, -.customize-support .wp-core-ui .hide-if-customize { - display: none; -} - -#customize-container, -#customize-controls .notice.notification-overlay { - background: #f0f0f1; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - right: 0; - left: 0; - height: 100%; -} -#customize-container { - display: none; -} - -/* Make the Customizer and Theme installer overlays the only available content. */ -#customize-container, -.theme-install-overlay { - visibility: visible; -} - -.customize-loading #customize-container iframe { - opacity: 0; -} - -#customize-container iframe, -.theme-install-overlay iframe { - height: 100%; - width: 100%; - z-index: 20; - transition: opacity 0.3s; -} - -#customize-controls { - margin-top: 0; -} - -.theme-install-overlay { - display: none; -} - -.theme-install-overlay.single-theme { - display: block; -} - -.install-theme-info { - display: none; - padding: 10px 20px 60px; -} - -.single-theme .install-theme-info { - padding-top: 15px; -} - -.theme-install-overlay .install-theme-info { - display: block; -} - -.install-theme-info .theme-install { - float: left; - margin-top: 18px; -} - -.install-theme-info .theme-name { - font-size: 16px; - line-height: 1.5; - margin-bottom: 0; - margin-top: 0; -} - -.install-theme-info .theme-screenshot { - margin: 15px 0; - width: 258px; - border: 1px solid #c3c4c7; - position: relative; - overflow: hidden; -} - -.install-theme-info .theme-screenshot > img { - width: 100%; - height: auto; - position: absolute; - right: 0; - top: 0; -} - -.install-theme-info .theme-screenshot:after { - content: ""; - display: block; - padding-top: 66.66666666%; -} - -.install-theme-info .theme-details { - overflow: hidden; -} - -.theme-details .theme-version { - margin: 15px 0; -} - -.theme-details .theme-description { - float: right; - color: #646970; - line-height: 1.6; - max-width: 100%; -} - -.theme-install-overlay .wp-full-overlay-header .button { - float: left; - margin: 8px 0 0 10px; -} - -.theme-install-overlay .wp-full-overlay-sidebar { - background: #f0f0f1; - border-left: 1px solid #dcdcde; -} - -.theme-install-overlay .wp-full-overlay-sidebar-content { - background: #fff; - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #dcdcde; -} - -.theme-install-overlay .wp-full-overlay-main { - position: absolute; - z-index: 0; - background-color: #f0f0f1; -} - -.customize-loading #customize-container { - background-color: #f0f0f1; -} - -#customize-preview.wp-full-overlay-main:before, -.customize-loading #customize-container:before, -#customize-controls .notice.notification-overlay.notification-loading:before, -.theme-install-overlay .wp-full-overlay-main:before { - content: ""; - display: block; - width: 20px; - height: 20px; - position: absolute; - right: 50%; - top: 50%; - z-index: -1; - margin: -10px -10px 0 0; - transform: translateZ(0); - background: transparent url(../images/spinner.gif) no-repeat center center; - background-size: 20px 20px; -} - -#customize-preview.wp-full-overlay-main.iframe-ready:before, -.theme-install-overlay.iframe-ready .wp-full-overlay-main:before { - background-image: none; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .wp-full-overlay .collapse-sidebar-arrow { - background-image: url(../images/arrows-2x.png); - background-size: 15px 123px; - } - - #customize-preview.wp-full-overlay-main:before, - .customize-loading #customize-container:before, - #customize-controls .notice.notification-overlay.notification-loading:before, - .theme-install-overlay .wp-full-overlay-main:before { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and (max-width: 782px) { - .available-theme .action-links .delete-theme { - float: none; - margin: 0; - padding: 0; - clear: both; - } - - .available-theme .action-links .delete-theme a { - padding: 0; - } - - .broken-themes table { - width: 100%; - } - - .theme-install-overlay .wp-full-overlay-header .button { - font-size: 13px; - line-height: 2.15384615; - min-height: 30px; - } - - .theme-browser .theme .theme-actions .button { - margin-bottom: 0; - } - - .theme-browser .theme.active .theme-actions, - .theme-browser .theme .theme-actions { - padding-top: 4px; - padding-bottom: 4px; - } - - .upload-theme .wp-upload-form, - .upload-plugin .wp-upload-form { - display: block; - } -} - -@media aural { - .theme .notice:before, - .theme-info .updating-message:before, - .theme-info .updated-message:before, - .theme-install.updating-message:before { - speak: never; - } -} diff --git a/build/wp-admin/css/themes-rtl.min.css b/build/wp-admin/css/themes-rtl.min.css deleted file mode 100644 index 68e32416e1..0000000000 --- a/build/wp-admin/css/themes-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.themes-php{overflow-y:scroll}body.js .theme-browser.search-loading{display:none}.theme-browser .themes{clear:both}.themes-php:not(.network-admin) .wrap h1{margin-bottom:15px}.themes-php .wrap h1 .button{margin-right:20px}.themes-php .search-form{display:inline}.themes-php .wp-filter-search{position:relative;top:-2px;right:20px;margin:0;width:280px}.theme .notice,.theme .notice.is-dismissible{right:0;margin:0;position:absolute;left:0;top:0}.theme-browser .theme{cursor:pointer;float:right;margin:0 0 4% 4%;position:relative;width:30.6%;border:1px solid #dcdcde;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-sizing:border-box}.theme-browser .theme:nth-child(3n){margin-left:0}.theme-browser .theme.focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{opacity:0;transition:opacity .1s ease-in-out;height:auto;background:rgba(246,247,247,.7);border-right:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:hover .theme-actions{opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-left:3px}.theme-browser .theme .theme-actions .button{float:none;margin-right:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-backface-visibility:hidden;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:"";display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;right:0;top:0;width:100%;transition:opacity .2s ease-in-out}.theme-browser .theme.focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme.focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{opacity:0;position:absolute;top:35%;left:20%;right:20%;width:60%;background:#1d2327;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;border-radius:3px;border:none;transition:opacity .1s ease-in-out;cursor:pointer}.theme-browser .theme .more-details:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.theme-browser .theme.focus{border-color:#4f94d4;box-shadow:0 0 2px rgba(79,148,212,.8)}.theme-browser .theme.focus .more-details{opacity:1}.theme-browser .theme.active.focus .theme-actions{display:block}.theme-browser.rendered .theme.focus .more-details,.theme-browser.rendered .theme:hover .more-details{opacity:1}.theme-browser .theme.active .theme-name{background:#1d2327;color:#fff;padding-left:110px;font-weight:300;box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .customize-control .theme.active .theme-name{padding-left:15px}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(44,51,56,.7);border-right:none;opacity:1}.theme-id-container{position:relative}.theme-browser .theme .theme-actions,.theme-browser .theme.active .theme-actions{position:absolute;top:50%;transform:translateY(-50%);left:0;padding:9px 15px;box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.theme-browser .theme.active .theme-actions .button-primary{margin-left:0}.theme-browser .theme .theme-author{background:#1d2327;color:#f0f0f1;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit}.theme-browser .theme.add-new-theme{border:none;box-shadow:none}.theme-browser .theme.add-new-theme a{text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme a:after{display:block;content:"";background:0 0;background:rgba(0,0,0,0);position:absolute;top:0;right:0;left:0;bottom:0;padding:0;text-shadow:none;border:5px dashed #dcdcde;border:5px dashed rgba(0,0,0,.1);box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#dcdcde;background:rgba(140,143,148,.1);border-radius:50%;display:inline-block;content:"\f132";-webkit-font-smoothing:antialiased;font:normal 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#8c8f94;position:absolute;top:30%;right:50%;margin-right:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme a:focus .theme-screenshot,.theme-browser .theme.add-new-theme a:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{background:#fff;color:#2271b1}.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{border-color:transparent;color:#fff;background:#2271b1;content:""}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-18px;padding-top:0;padding-bottom:48px}.theme-browser .theme.add-new-theme a:focus .theme-name,.theme-browser .theme.add-new-theme a:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;right:-20px;left:0;top:0;bottom:0;background:#f0f0f1;background:rgba(240,240,241,.9);z-index:10000}.theme-overlay .theme-header{position:absolute;top:0;right:0;left:0;height:48px;border-bottom:1px solid #dcdcde}.theme-overlay .theme-header button{padding:0}.theme-overlay .theme-header .close{cursor:pointer;height:48px;width:50px;text-align:center;float:left;border:0;border-right:1px solid #dcdcde;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:normal 22px/50px dashicons!important;color:#787c82;display:inline-block;content:"\f335";font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;color:#787c82;background-color:transparent;height:48px;width:54px;float:right;text-align:center;border:0;border-left:1px solid #dcdcde;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#dcdcde;border-color:#c3c4c7;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#c3c4c7;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:normal 20px/50px dashicons!important;display:inline;font-weight:300}.theme-overlay .theme-header .left:before{content:"\f345"}.theme-overlay .theme-header .right:before{content:"\f341"}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;right:190px;left:30px;bottom:3%;background:#fff;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:10000;box-sizing:border-box;-webkit-overflow-scrolling:touch}body.folded .theme-browser~.theme-overlay .theme-wrap{right:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;right:0;left:0;overflow:auto;padding:2% 4%}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;right:0;left:0;padding:10px 25px 5px;background:#f6f7f7;z-index:30;box-sizing:border-box;border-top:1px solid #f0f0f1}.theme-overlay .theme-actions a{margin-left:5px;margin-bottom:5px}.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"],.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"]{display:none}.broken-themes a.delete-theme,.theme-overlay .theme-actions .delete-theme{color:#d63638;text-decoration:none;border-color:transparent;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme{position:absolute;left:10px;bottom:5px}.broken-themes a.delete-theme:focus,.broken-themes a.delete-theme:hover,.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d63638;color:#fff;border-color:#d63638}.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:right;margin:0 0 0 30px;width:55%;max-width:1200px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;box-sizing:border-box;overflow:hidden;position:relative;box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot:after{content:"";display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;right:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:350px;width:auto}.theme-overlay .screenshot.thumb{background:#c3c4c7;border:1px solid #f0f0f1;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:"";display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;height:auto;position:absolute;right:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #72aee6}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:right}.theme-overlay .current-label{background:#2c3338;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;border-radius:2px;margin:0 0 -10px;-webkit-user-select:none;user-select:none}.theme-overlay .theme-name{color:#1d2327;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word}.theme-overlay .theme-version{color:#646970;font-size:13px;font-weight:400;float:none;display:inline-block;margin-right:10px}.theme-overlay .theme-author{margin:15px 0 25px;color:#646970;font-size:16px;font-weight:400;line-height:inherit}.theme-overlay .toggle-auto-update{display:inline-flex;align-items:center;min-height:20px;vertical-align:top}.theme-overlay .theme-autoupdate .toggle-auto-update{text-decoration:none}.theme-overlay .theme-autoupdate .toggle-auto-update .label{text-decoration:underline}.theme-overlay .theme-description{color:#50575e;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #f0f0f1;color:#646970;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#3c434a;font-weight:600;margin-left:5px}.theme-overlay .parent-theme{background:#fff;border:1px solid #f0f0f1;border-right:4px solid #72aee6;font-size:14px;font-weight:400;margin-top:30px;padding:10px 20px 10px 10px}.theme-overlay .parent-theme strong{font-weight:600}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;right:auto;left:auto;top:auto;bottom:auto;z-index:10}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 0 3% 3%}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-left:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-left:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 0 3% 3%}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-left:3%}.theme-browser .theme:nth-child(4n){margin-left:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-left:0}.theme-browser .theme:nth-child(even){margin-left:0}.theme-browser .theme:nth-child(odd){margin-left:5%}}@media only screen and (max-width:960px){.theme-overlay .theme-wrap{right:65px}}@media only screen and (max-width:780px){.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;left:0;bottom:0;right:0;padding:70px 20px 20px;border:none;z-index:100000;position:fixed}.theme-browser .theme.active .theme-name span{display:none}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:0;width:auto}.theme.focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-browser.rendered .theme.focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-left:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-left:0}.theme-overlay .theme-about{bottom:105px}.theme-overlay .theme-actions{padding-right:4%;padding-left:4%}}@media only screen and (max-width:650px){.theme-overlay .theme-description{margin-right:0}.theme-overlay .theme-actions .delete-theme{position:relative;left:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wp-filter-search{float:none;clear:both;right:0;left:0;margin:-5px 0 20px;width:100%;max-width:280px}.theme-browser .theme.add-new-theme span:after{font:normal 60px/90px dashicons;width:80px;height:80px;top:30%;right:50%;text-indent:0;margin-right:-40px}.single-theme .theme-wrap{margin:0 -10px 0 -12px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:right;width:50%;border-spacing:3px;padding:3px}.update-php .wrap{max-width:40rem}.theme-browser .theme .theme-installed{background:#2271b1}.theme-browser .theme .notice-success p:before{color:#68de7c;content:"\f147";display:inline-block;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.theme-install.updated-message:before{content:""}.theme-install-php .wp-filter{padding-right:20px}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.plugin-install-tab-upload .upload-view-toggle .upload,.upload-view-toggle .browse{display:none}.plugin-install-tab-upload .upload-view-toggle .browse{display:inline}.upload-plugin,.upload-theme{box-sizing:border-box;display:none;margin:0;padding:50px 0;width:100%;overflow:hidden;position:relative;top:10px;text-align:center}.plugin-install-tab-upload .upload-plugin,.show-upload-view .upload-plugin,.show-upload-view .upload-plugin-wrap,.show-upload-view .upload-theme{display:block}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#f6f7f7;border:1px solid #c3c4c7;padding:30px;margin:30px auto;display:inline-flex;justify-content:space-between;align-items:center}.upload-plugin .wp-upload-form input[type=file],.upload-theme .wp-upload-form input[type=file]{margin-left:10px}.upload-plugin .install-help,.upload-theme .install-help{color:#50575e;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center}p.no-themes,p.no-themes-local{clear:both;color:#646970;font-size:18px;font-style:normal;margin:0;padding:100px 0;text-align:center;display:none}.no-results p.no-themes{display:block}.theme-install-php .add-new-theme{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0}}.theme-details .theme-rating{line-height:1.9}.theme-details .star-rating{display:inline}.theme-details .no-rating,.theme-details .num-ratings{font-size:11px;color:#646970}.theme-details .no-rating{display:block;line-height:1.9}.update-from-upload-comparison{border-top:1px solid #dcdcde;border-bottom:1px solid #dcdcde;text-align:right;margin:1rem 0 1.4rem;border-collapse:collapse;width:100%}.update-from-upload-comparison tr:last-child td{height:1.4rem;vertical-align:top}.update-from-upload-comparison tr:first-child th{font-weight:700;height:1.4rem;vertical-align:bottom}.update-from-upload-comparison td.name-label{text-align:left}.update-from-upload-comparison td,.update-from-upload-comparison th{padding:.4rem 1.4rem}.update-from-upload-comparison td.warning{color:#d63638}.update-from-upload-actions{margin-top:1.4rem}.appearance_page_custom-header #headimg{border:1px solid #dcdcde;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:right;margin:0 0 20px 20px}.appearance_page_custom-header .random-header{clear:both;margin:0 0 20px 20px;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-left:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dcdcde}div#custom-background-image img{max-width:400px;max-height:300px}.background-position-control input[type=radio]:checked~.button{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);z-index:1}.background-position-control input[type=radio]:focus~.button{border-color:#4f94d4;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 3px rgba(34,113,177,.8);color:#1d2327}.background-position-control .background-position-center-icon,.background-position-control .background-position-center-icon:before{display:inline-block;line-height:1;text-align:center;transition:background-color .1s ease-in}.background-position-control .background-position-center-icon{height:20px;margin-top:13px;vertical-align:top;width:20px}.background-position-control .background-position-center-icon:before{background-color:#50575e;border-radius:50%;content:"";height:12px;width:12px}.background-position-control .button:hover .background-position-center-icon:before,.background-position-control input[type=radio]:focus~.button .background-position-center-icon:before{background-color:#1d2327}.background-position-control .button-group{display:block}.background-position-control .button-group .button{border-radius:0;box-shadow:none;height:40px!important;line-height:2.9!important;margin:0 0 0 -1px!important;padding:0 10px 1px!important;position:relative}.background-position-control .button-group .button:active,.background-position-control .button-group .button:focus,.background-position-control .button-group .button:hover{z-index:1}.background-position-control .button-group:last-child .button{box-shadow:0 1px 0 #c3c4c7}.background-position-control .button-group>label{margin:0!important}.background-position-control .button-group:first-child>label:first-child .button{border-radius:0 3px 0 0}.background-position-control .button-group:first-child>label:first-child .dashicons{transform:rotate(-45deg)}.background-position-control .button-group:first-child>label:last-child .button{border-radius:3px 0 0 0}.background-position-control .button-group:first-child>label:last-child .dashicons{transform:rotate(45deg)}.background-position-control .button-group:last-child>label:first-child .button{border-radius:0 0 3px 0}.background-position-control .button-group:last-child>label:first-child .dashicons{transform:rotate(45deg)}.background-position-control .button-group:last-child>label:last-child .button{border-radius:0 0 0 3px}.background-position-control .button-group:last-child>label:last-child .dashicons{transform:rotate(-45deg)}.background-position-control .button-group .dashicons{margin-top:9px}.background-position-control .button-group+.button-group{margin-top:-1px}body.full-overlay-active{overflow:hidden;visibility:hidden}.wp-full-overlay{background:0 0;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;right:0;left:0;height:100%;min-width:0}.wp-full-overlay-sidebar{box-sizing:border-box;position:fixed;min-width:300px;max-width:600px;width:18%;height:100%;top:0;bottom:0;right:0;padding:0;margin:0;z-index:10;background:#f0f0f1;border-left:none}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-right:0!important}.wp-full-overlay.expanded{margin-right:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-right:-300px}@media screen and (min-width:1667px){.wp-full-overlay.expanded{margin-right:18%}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-right:-18%}}@media screen and (min-width:3333px){.wp-full-overlay.expanded{margin-right:600px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-right:-600px}}.wp-full-overlay-sidebar:after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;right:0;left:0;top:0;bottom:0;height:100%}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;right:0;left:0;height:45px;padding:0 15px;line-height:3.2;z-index:10;margin:0;border-top:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;right:0;left:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:right;width:45px;height:45px;background:#f0f0f1;border-left:1px solid #dcdcde;color:#3c434a;cursor:pointer;text-decoration:none;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#dcdcde;border-color:#c3c4c7;color:#000;outline:0;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:normal 22px/1 dashicons;content:"\f335";position:relative;top:7px;right:13px}.theme-install-overlay .previous-theme:before{font:normal 20px/1 dashicons;content:"\f345";position:relative;top:6px;right:14px}.theme-install-overlay .next-theme:before{font:normal 20px/1 dashicons;content:"\f341";position:relative;top:6px;right:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#c3c4c7;background:#f0f0f1;cursor:default;pointer-events:none}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{border-right:0;border-top:0;border-bottom:0}.theme-install-overlay .close-full-overlay:before,.theme-install-overlay .next-theme:before,.theme-install-overlay .previous-theme:before{top:2px;right:0}.wp-core-ui .wp-full-overlay .collapse-sidebar{position:fixed;bottom:0;right:0;padding:9px 10px 9px 0;height:45px;color:#646970;outline:0;line-height:1;background-color:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#2271b1}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;vertical-align:middle;line-height:1.6}.wp-full-overlay .collapse-sidebar-arrow{width:20px;height:20px;margin:0 2px;border-radius:50%;overflow:hidden}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.wp-full-overlay .collapse-sidebar-label{margin-right:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow:before{display:block;content:"\f148";background:#f0f0f1;font:normal 20px/1 dashicons;speak:never;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar{padding:9px 10px}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{transition-property:right,left,top,bottom,width,margin;transition-duration:.2s}.wp-full-overlay{background:#1d2327}.wp-full-overlay-main{background-color:#f0f0f1}.expanded .wp-full-overlay-footer{position:fixed;bottom:0;right:0;min-width:299px;max-width:599px;width:18%;width:calc(18% - 1px);height:45px;border-top:1px solid #dcdcde;background:#f0f0f1}.wp-full-overlay-footer .devices-wrapper{float:left}.wp-full-overlay-footer .devices{position:relative;background:#f0f0f1;box-shadow:20px 0 10px -5px #f0f0f1}.wp-full-overlay-footer .devices button{cursor:pointer;background:0 0;border:none;height:45px;padding:0 3px;margin:0 -4px 0 0;box-shadow:none;border-top:1px solid transparent;border-bottom:4px solid transparent;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}.wp-full-overlay-footer .devices button:focus{box-shadow:none;outline:0}.wp-full-overlay-footer .devices button:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;margin:3px 0;padding:4px 8px;color:#646970}.wp-full-overlay-footer .devices button.active{border-bottom-color:#1d2327}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button:hover{background-color:#fff}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#2271b1}.wp-full-overlay-footer .devices button.active:before{color:#1d2327}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#2271b1}.wp-full-overlay-footer .devices .preview-desktop:before{content:"\f472"}.wp-full-overlay-footer .devices .preview-tablet:before{content:"\f471"}.wp-full-overlay-footer .devices .preview-mobile:before{content:"\f470"}@media screen and (max-width:1024px){.wp-full-overlay-footer .devices{display:none}}.collapsed .wp-full-overlay-footer .devices button:before{display:none}.preview-mobile .wp-full-overlay-main{margin:auto -160px auto 0;width:320px;height:480px;max-height:100%;max-width:100%;right:50%}.preview-tablet .wp-full-overlay-main{margin:auto -360px auto 0;width:720px;height:1080px;max-height:100%;max-width:100%;right:50%}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container,#customize-controls .notice.notification-overlay{background:#f0f0f1;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;right:0;left:0;height:100%}#customize-container{display:none}#customize-container,.theme-install-overlay{visibility:visible}.customize-loading #customize-container iframe{opacity:0}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;transition:opacity .3s}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:left;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:1.5;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin:15px 0;width:258px;border:1px solid #c3c4c7;position:relative;overflow:hidden}.install-theme-info .theme-screenshot>img{width:100%;height:auto;position:absolute;right:0;top:0}.install-theme-info .theme-screenshot:after{content:"";display:block;padding-top:66.66666666%}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0}.theme-details .theme-description{float:right;color:#646970;line-height:1.6;max-width:100%}.theme-install-overlay .wp-full-overlay-header .button{float:left;margin:8px 0 0 10px}.theme-install-overlay .wp-full-overlay-sidebar{background:#f0f0f1;border-left:1px solid #dcdcde}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #dcdcde;border-bottom:1px solid #dcdcde}.theme-install-overlay .wp-full-overlay-main{position:absolute;z-index:0;background-color:#f0f0f1}.customize-loading #customize-container{background-color:#f0f0f1}#customize-controls .notice.notification-overlay.notification-loading:before,#customize-preview.wp-full-overlay-main:before,.customize-loading #customize-container:before,.theme-install-overlay .wp-full-overlay-main:before{content:"";display:block;width:20px;height:20px;position:absolute;right:50%;top:50%;z-index:-1;margin:-10px -10px 0 0;transform:translateZ(0);background:transparent url(../images/spinner.gif) no-repeat center center;background-size:20px 20px}#customize-preview.wp-full-overlay-main.iframe-ready:before,.theme-install-overlay.iframe-ready .wp-full-overlay-main:before{background-image:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);background-size:15px 123px}#customize-controls .notice.notification-overlay.notification-loading:before,#customize-preview.wp-full-overlay-main:before,.customize-loading #customize-container:before,.theme-install-overlay .wp-full-overlay-main:before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}.broken-themes table{width:100%}.theme-install-overlay .wp-full-overlay-header .button{font-size:13px;line-height:2.15384615;min-height:30px}.theme-browser .theme .theme-actions .button{margin-bottom:0}.theme-browser .theme .theme-actions,.theme-browser .theme.active .theme-actions{padding-top:4px;padding-bottom:4px}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{display:block}}@media aural{.theme .notice:before,.theme-info .updated-message:before,.theme-info .updating-message:before,.theme-install.updating-message:before{speak:never}} \ No newline at end of file diff --git a/build/wp-admin/css/themes.css b/build/wp-admin/css/themes.css deleted file mode 100644 index 61e290fe86..0000000000 --- a/build/wp-admin/css/themes.css +++ /dev/null @@ -1,2004 +0,0 @@ -/*------------------------------------------------------------------------------ - 16.0 - Themes -------------------------------------------------------------------------------*/ - - -/*------------------------------------------------------------------------------ - 16.1 - Manage Themes -------------------------------------------------------------------------------*/ - -.themes-php { - overflow-y: scroll; -} - -body.js .theme-browser.search-loading { - display: none; -} - -.theme-browser .themes { - clear: both; -} - -.themes-php:not(.network-admin) .wrap h1 { - margin-bottom: 15px; -} - -.themes-php .wrap h1 .button { - margin-left: 20px; -} - -/* Search form */ -.themes-php .search-form { - display: inline; -} - -.themes-php .wp-filter-search { - position: relative; - top: -2px; - left: 20px; - margin: 0; - width: 280px; -} - -/* Position admin messages */ -.theme .notice, -.theme .notice.is-dismissible { - left: 0; - margin: 0; - position: absolute; - right: 0; - top: 0; -} - -/** - * Main theme element - * (has flexible margins) - */ -.theme-browser .theme { - cursor: pointer; - float: left; - margin: 0 4% 4% 0; - position: relative; - width: 30.6%; - border: 1px solid #dcdcde; - box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); - box-sizing: border-box; -} - -.theme-browser .theme:nth-child(3n) { - margin-right: 0; -} - -.theme-browser .theme:hover, -.theme-browser .theme.focus { - cursor: pointer; -} - -.theme-browser .theme .theme-name { - font-size: 15px; - font-weight: 600; - height: 18px; - margin: 0; - padding: 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - background: #fff; - background: rgba(255, 255, 255, 0.65); -} - -/* Activate and Customize buttons, shown on hover and focus */ -.theme-browser .theme .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - transition: opacity 0.1s ease-in-out; - height: auto; - background: rgba(246, 247, 247, 0.7); - border-left: 1px solid rgba(0, 0, 0, 0.05); -} - -.theme-browser .theme:hover .theme-actions, -.theme-browser .theme.focus .theme-actions { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -.theme-browser .theme .theme-actions .button-primary { - margin-right: 3px; -} - -.theme-browser .theme .theme-actions .button { - float: none; - margin-left: 3px; -} - -/** - * Theme Screenshot - * - * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size - * It is also responsive. - */ -.theme-browser .theme .theme-screenshot { - display: block; - overflow: hidden; - position: relative; - -webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */ - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme .theme-screenshot:after { - content: ""; - display: block; - padding-top: 66.66666%; /* using a 3/2 aspect ratio */ -} - -.theme-browser .theme .theme-screenshot img { - height: auto; - position: absolute; - left: 0; - top: 0; - width: 100%; - transition: opacity 0.2s ease-in-out; -} - -.theme-browser .theme:hover .theme-screenshot, -.theme-browser .theme.focus .theme-screenshot { - background: #fff; -} - -.theme-browser.rendered .theme:hover .theme-screenshot img, -.theme-browser.rendered .theme.focus .theme-screenshot img { - opacity: 0.4; -} - -.theme-browser .theme .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; - opacity: 0; - position: absolute; - top: 35%; - right: 20%; - left: 20%; - width: 60%; - background: #1d2327; - background: rgba(0, 0, 0, 0.7); - color: #fff; - font-size: 15px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); - -webkit-font-smoothing: antialiased; - font-weight: 600; - padding: 15px 12px; - text-align: center; - border-radius: 3px; - border: none; - transition: opacity 0.1s ease-in-out; - cursor: pointer; -} - -.theme-browser .theme .more-details:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1; -} - -.theme-browser .theme.focus { - border-color: #4f94d4; - box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); -} - -.theme-browser .theme.focus .more-details { - opacity: 1; -} - -/* Current theme needs to have its action always on view */ -.theme-browser .theme.active.focus .theme-actions { - display: block; -} - -.theme-browser.rendered .theme:hover .more-details, -.theme-browser.rendered .theme.focus .more-details { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - opacity: 1; -} - -/** - * The currently active theme - */ -.theme-browser .theme.active .theme-name { - background: #1d2327; - color: #fff; - padding-right: 110px; - font-weight: 300; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5); -} - -.theme-browser .customize-control .theme.active .theme-name { - padding-right: 15px; -} - -.theme-browser .theme.active .theme-name span { - font-weight: 600; -} - -.theme-browser .theme.active .theme-actions { - background: rgba(44, 51, 56, 0.7); - border-left: none; - opacity: 1; -} - -.theme-id-container { - position: relative; -} - -.theme-browser .theme.active .theme-actions, -.theme-browser .theme .theme-actions { - position: absolute; - top: 50%; - transform: translateY(-50%); - right: 0; - padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); -} - -.theme-browser .theme.active .theme-actions .button-primary { - margin-right: 0; -} - -.theme-browser .theme .theme-author { - background: #1d2327; - color: #f0f0f1; - display: none; - font-size: 14px; - margin: 0 10px; - padding: 5px 10px; - position: absolute; - bottom: 56px; -} - -.theme-browser .theme.display-author .theme-author { - display: block; -} - -.theme-browser .theme.display-author .theme-author a { - color: inherit; -} - -/** - * Add new theme - */ -.theme-browser .theme.add-new-theme { - border: none; - box-shadow: none; -} - -.theme-browser .theme.add-new-theme a { - text-decoration: none; - display: block; - position: relative; - z-index: 1; -} - -.theme-browser .theme.add-new-theme a:after { - display: block; - content: ""; - background: transparent; - background: rgba(0, 0, 0, 0); - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - padding: 0; - text-shadow: none; - border: 5px dashed #dcdcde; - border: 5px dashed rgba(0, 0, 0, 0.1); - box-sizing: border-box; -} - -.theme-browser .theme.add-new-theme span:after { - background: #dcdcde; - background: rgba(140, 143, 148, 0.1); - border-radius: 50%; - display: inline-block; - content: "\f132"; - -webkit-font-smoothing: antialiased; - font: normal 74px/115px dashicons; - width: 100px; - height: 100px; - vertical-align: middle; - text-align: center; - color: #8c8f94; - position: absolute; - top: 30%; - left: 50%; - margin-left: -50px; - text-indent: -4px; - padding: 0; - text-shadow: none; - z-index: 4; -} - -.rtl .theme-browser .theme.add-new-theme span:after { - text-indent: 4px; -} - -.theme-browser .theme.add-new-theme a:hover .theme-screenshot, -.theme-browser .theme.add-new-theme a:focus .theme-screenshot { - background: none; -} - -.theme-browser .theme.add-new-theme a:hover span:after, -.theme-browser .theme.add-new-theme a:focus span:after { - background: #fff; - color: #2271b1; -} - -.theme-browser .theme.add-new-theme a:hover:after, -.theme-browser .theme.add-new-theme a:focus:after { - border-color: transparent; - color: #fff; - background: #2271b1; - content: ""; -} - -.theme-browser .theme.add-new-theme .theme-name { - background: none; - text-align: center; - box-shadow: none; - font-weight: 400; - position: relative; - top: 0; - margin-top: -18px; - padding-top: 0; - padding-bottom: 48px; -} - -.theme-browser .theme.add-new-theme a:hover .theme-name, -.theme-browser .theme.add-new-theme a:focus .theme-name { - color: #fff; - z-index: 2; -} - -/** - * Theme Overlay - * Shown when clicking a theme - */ -.theme-overlay .theme-backdrop { - position: absolute; - left: -20px; - right: 0; - top: 0; - bottom: 0; - background: #f0f0f1; - background: rgba(240, 240, 241, 0.9); - z-index: 10000; /* Over WP Pointers. */ -} - -.theme-overlay .theme-header { - position: absolute; - top: 0; - left: 0; - right: 0; - height: 48px; - border-bottom: 1px solid #dcdcde; -} - -.theme-overlay .theme-header button { - padding: 0; -} - -.theme-overlay .theme-header .close { - cursor: pointer; - height: 48px; - width: 50px; - text-align: center; - float: right; - border: 0; - border-left: 1px solid #dcdcde; - background-color: transparent; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:before { - font: normal 22px/50px dashicons !important; - color: #787c82; - display: inline-block; - content: "\f335"; - font-weight: 300; -} - -/* Left and right navigation */ -.theme-overlay .theme-header .right, -.theme-overlay .theme-header .left { - cursor: pointer; - color: #787c82; - background-color: transparent; - height: 48px; - width: 54px; - float: left; - text-align: center; - border: 0; - border-right: 1px solid #dcdcde; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .close:hover, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .right:hover, -.theme-overlay .theme-header .left:focus, -.theme-overlay .theme-header .left:hover { - background: #dcdcde; - border-color: #c3c4c7; - color: #000; -} - -.theme-overlay .theme-header .close:focus:before, -.theme-overlay .theme-header .close:hover:before { - color: #000; -} - -.theme-overlay .theme-header .close:focus, -.theme-overlay .theme-header .right:focus, -.theme-overlay .theme-header .left:focus { - box-shadow: none; - outline: none; -} - -.theme-overlay .theme-header .left.disabled, -.theme-overlay .theme-header .right.disabled, -.theme-overlay .theme-header .left.disabled:hover, -.theme-overlay .theme-header .right.disabled:hover { - color: #c3c4c7; - background: inherit; - cursor: inherit; -} - -.theme-overlay .theme-header .right:before, -.theme-overlay .theme-header .left:before { - font: normal 20px/50px dashicons !important; - display: inline; - font-weight: 300; -} - -.theme-overlay .theme-header .left:before { - content: "\f341"; -} - -.theme-overlay .theme-header .right:before { - content: "\f345"; -} - -.theme-overlay .theme-wrap { - clear: both; - position: fixed; - top: 9%; - left: 190px; - right: 30px; - bottom: 3%; - background: #fff; - box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); - z-index: 10000; /* Over WP Pointers. */ - box-sizing: border-box; - -webkit-overflow-scrolling: touch; -} - -body.folded .theme-browser ~ .theme-overlay .theme-wrap { - left: 70px; -} - -.theme-overlay .theme-about { - position: absolute; - top: 49px; - bottom: 57px; - left: 0; - right: 0; - overflow: auto; - padding: 2% 4%; -} - -.theme-overlay .theme-actions { - position: absolute; - text-align: center; - bottom: 0; - left: 0; - right: 0; - padding: 10px 25px 5px; - background: #f6f7f7; - z-index: 30; - box-sizing: border-box; - border-top: 1px solid #f0f0f1; -} - -.theme-overlay .theme-actions a { - margin-right: 5px; - margin-bottom: 5px; -} - -/* Hide-if-customize for items we can't add classes to */ -.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"], -.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"] { - display: none; -} - -.broken-themes a.delete-theme, -.theme-overlay .theme-actions .delete-theme { - color: #d63638; - text-decoration: none; - border-color: transparent; - box-shadow: none; - background: transparent; -} - -.theme-overlay .theme-actions .delete-theme { - position: absolute; - right: 10px; - bottom: 5px; -} - -.broken-themes a.delete-theme:hover, -.broken-themes a.delete-theme:focus, -.theme-overlay .theme-actions .delete-theme:hover, -.theme-overlay .theme-actions .delete-theme:focus { - background: #d63638; - color: #fff; - border-color: #d63638; -} - -.theme-overlay .theme-actions .active-theme, -.theme-overlay.active .theme-actions .inactive-theme { - display: none; -} - -.theme-overlay .theme-actions .inactive-theme, -.theme-overlay.active .theme-actions .active-theme { - display: block; -} - -/** - * Theme Screenshots gallery - */ -.theme-overlay .theme-screenshots { - float: left; - margin: 0 30px 0 0; - width: 55%; - max-width: 1200px; /* Recommended theme screenshot width, set here to avoid stretching */ - text-align: center; -} - -/* First screenshot, shown big */ -.theme-overlay .screenshot { - border: 1px solid #fff; - box-sizing: border-box; - overflow: hidden; - position: relative; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); -} - -.theme-overlay .screenshot:after { - content: ""; - display: block; - padding-top: 75%; /* using a 4/3 aspect ratio */ -} - -.theme-overlay .screenshot img { - height: auto; - position: absolute; - left: 0; - top: 0; - width: 100%; -} -/* Handles old 300px screenshots */ -.theme-overlay.small-screenshot .theme-screenshots { - position: absolute; - width: 302px; -} -.theme-overlay.small-screenshot .theme-info { - margin-left: 350px; - width: auto; -} - -/* Other screenshots, shown small and square */ -.theme-overlay .screenshot.thumb { - background: #c3c4c7; - border: 1px solid #f0f0f1; - float: none; - display: inline-block; - margin: 10px 5px 0; - width: 140px; - height: 80px; - cursor: pointer; -} - -.theme-overlay .screenshot.thumb:after { - content: ""; - display: block; - padding-top: 100%; /* using a 1/1 aspect ratio */ -} - -.theme-overlay .screenshot.thumb img { - cursor: pointer; - height: auto; - position: absolute; - left: 0; - top: 0; - width: 100%; - height: auto; -} - -.theme-overlay .screenshot.selected { - background: transparent; - border: 2px solid #72aee6; -} - -.theme-overlay .screenshot.selected img { - opacity: 0.8; -} - -/* No screenshot placeholder */ -.theme-browser .theme .theme-screenshot.blank, -.theme-overlay .screenshot.blank { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=); -} - -/** - * Theme heading information - */ -.theme-overlay .theme-info { - width: 40%; - float: left; -} - -.theme-overlay .current-label { - background: #2c3338; - color: #fff; - font-size: 11px; - display: inline-block; - padding: 2px 8px; - border-radius: 2px; - margin: 0 0 -10px; - -webkit-user-select: none; - user-select: none; -} - -.theme-overlay .theme-name { - color: #1d2327; - font-size: 32px; - font-weight: 100; - margin: 10px 0 0; - line-height: 1.3; - word-wrap: break-word; - overflow-wrap: break-word; -} - -.theme-overlay .theme-version { - color: #646970; - font-size: 13px; - font-weight: 400; - float: none; - display: inline-block; - margin-left: 10px; -} - -.theme-overlay .theme-author { - margin: 15px 0 25px; - color: #646970; - font-size: 16px; - font-weight: 400; - line-height: inherit; -} - -.theme-overlay .toggle-auto-update { - /* Better align spin icon and text. */ - display: inline-flex; - align-items: center; - /* Prevents content after the auto-update toggler from jumping down and up. */ - min-height: 20px; /* Same height as the spinning dashicon. */ - vertical-align: top; -} - -.theme-overlay .theme-autoupdate .toggle-auto-update { - text-decoration: none; -} - -.theme-overlay .theme-autoupdate .toggle-auto-update .label { - text-decoration: underline; -} - -.theme-overlay .theme-description { - color: #50575e; - font-size: 15px; - font-weight: 400; - line-height: 1.5; - margin: 30px 0 0; -} - -.theme-overlay .theme-tags { - border-top: 3px solid #f0f0f1; - color: #646970; - font-size: 13px; - font-weight: 400; - margin: 30px 0 0; - padding-top: 20px; -} - -.theme-overlay .theme-tags span { - color: #3c434a; - font-weight: 600; - margin-right: 5px; -} - -.theme-overlay .parent-theme { - background: #fff; - border: 1px solid #f0f0f1; - border-left: 4px solid #72aee6; - font-size: 14px; - font-weight: 400; - margin-top: 30px; - padding: 10px 10px 10px 20px; -} - -.theme-overlay .parent-theme strong { - font-weight: 600; -} - -/** - * Single Theme Mode - * Displays detailed view inline when a user has no switch capabilities - */ -.single-theme .theme-overlay .theme-backdrop, -.single-theme .theme-overlay .theme-header, -.single-theme .theme { - display: none; -} - -.single-theme .theme-overlay .theme-wrap { - clear: both; - min-height: 330px; - position: relative; - left: auto; - right: auto; - top: auto; - bottom: auto; - z-index: 10; -} - -.single-theme .theme-overlay .theme-about { - padding: 30px 30px 70px; - position: static; -} - -.single-theme .theme-overlay .theme-actions { - position: absolute; -} - -/** - * Basic Responsive structure... - * - * Shuffles theme columns around based on screen width - */ - -@media only screen and (min-width: 2000px) { - #wpwrap .theme-browser .theme { - width: 17.6%; - margin: 0 3% 3% 0; - } - - #wpwrap .theme-browser .theme:nth-child(3n), - #wpwrap .theme-browser .theme:nth-child(4n) { - margin-right: 3%; - } - - #wpwrap .theme-browser .theme:nth-child(5n) { - margin-right: 0; - } -} - -@media only screen and (min-width: 1680px) { - .theme-overlay .theme-wrap { - width: 1450px; - margin: 0 auto; - } -} - -/* Maximum screenshot width reaches 440px */ -@media only screen and (min-width: 1640px) { - .theme-browser .theme { - width: 22.7%; - margin: 0 3% 3% 0; - } - .theme-browser .theme .theme-screenshot:after { - padding-top: 75%; /* using a 4/3 aspect ratio */ - } - - .theme-browser .theme:nth-child(3n) { - margin-right: 3%; - } - - .theme-browser .theme:nth-child(4n) { - margin-right: 0; - } -} -/* Maximum screenshot width reaches 440px */ -@media only screen and (max-width: 1120px) { - .theme-browser .theme { - width: 47.5%; - margin-right: 0; - } - - .theme-browser .theme:nth-child(even) { - margin-right: 0; - } - - .theme-browser .theme:nth-child(odd) { - margin-right: 5%; - } -} - -/* Admin menu is folded */ -@media only screen and (max-width: 960px) { - .theme-overlay .theme-wrap { - left: 65px; - } -} - -@media only screen and (max-width: 780px) { - body.folded .theme-overlay .theme-wrap, - .theme-overlay .theme-wrap { - top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */ - right: 0; - bottom: 0; - left: 0; - padding: 70px 20px 20px; - border: none; - z-index: 100000; /* should overlap #wpadminbar. */ - position: fixed; - } - - .theme-browser .theme.active .theme-name span { - /* Hide the "Active: " label on smaller screens. */ - display: none; - } - - .theme-overlay .theme-screenshots { - width: 40%; - } - - .theme-overlay .theme-info { - width: 50%; - } - .single-theme .theme-wrap { - padding: 10px; - } - - .theme-browser .theme .theme-actions { - padding: 5px 10px 4px; - } - - .theme-overlay.small-screenshot .theme-screenshots { - position: static; - float: none; - max-width: 302px; - } - - .theme-overlay.small-screenshot .theme-info { - margin-left: 0; - width: auto; - } - - .theme:not(.active):hover .theme-actions, - .theme:not(.active):focus .theme-actions, - .theme:hover .more-details, - .theme.focus .more-details { - display: none; - } - - .theme-browser.rendered .theme:hover .theme-screenshot img, - .theme-browser.rendered .theme.focus .theme-screenshot img { - opacity: 1.0; - } -} - -@media only screen and (max-width: 480px) { - .theme-browser .theme { - width: 100%; - margin-right: 0; - } - - .theme-browser .theme:nth-child(2n), - .theme-browser .theme:nth-child(3n) { - margin-right: 0; - } - - .theme-overlay .theme-about { - bottom: 105px; - } - - .theme-overlay .theme-actions { - padding-left: 4%; - padding-right: 4%; - } -} - -@media only screen and (max-width: 650px) { - .theme-overlay .theme-description { - margin-left: 0; - } - - .theme-overlay .theme-actions .delete-theme { - position: relative; - right: auto; - bottom: auto; - } - - .theme-overlay .theme-actions .inactive-theme { - display: inline; - } - - .theme-overlay .theme-screenshots { - width: 100%; - float: none; - } - - .theme-overlay .theme-info { - width: 100%; - } - - .theme-overlay .theme-author { - margin: 5px 0 15px; - } - - .theme-overlay .current-label { - margin-top: 10px; - font-size: 13px; - } - - .themes-php .wp-filter-search { - float: none; - clear: both; - left: 0; - right: 0; - margin: -5px 0 20px; - width: 100%; - max-width: 280px; - } - - .theme-browser .theme.add-new-theme span:after { - font: normal 60px/90px dashicons; - width: 80px; - height: 80px; - top: 30%; - left: 50%; - text-indent: 0; - margin-left: -40px; - } - - .single-theme .theme-wrap { - margin: 0 -12px 0 -10px; - padding: 10px; - } - .single-theme .theme-overlay .theme-about { - padding: 10px; - overflow: visible; - } - .single-theme .current-label { - display: none; - } - .single-theme .theme-overlay .theme-actions { - position: static; - } -} - -.broken-themes { - clear: both; -} - -.broken-themes table { - text-align: left; - width: 50%; - border-spacing: 3px; - padding: 3px; -} - - -/*------------------------------------------------------------------------------ - 16.2 - Install Themes -------------------------------------------------------------------------------*/ - -.update-php .wrap { - max-width: 40rem; -} - -/* Already installed theme */ -.theme-browser .theme .theme-installed { - background: #2271b1; -} - -.theme-browser .theme .notice-success p:before { - color: #68de7c; - content: "\f147"; - display: inline-block; - font: normal 20px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - vertical-align: top; -} - -.theme-install.updated-message:before { - content: ""; -} - -.theme-install-php .wp-filter { - padding-left: 20px; -} - -.theme-install-php a.upload, -.theme-install-php a.browse-themes { - cursor: pointer; -} - -.upload-view-toggle .browse, -.plugin-install-tab-upload .upload-view-toggle .upload { - display: none; -} - -.plugin-install-tab-upload .upload-view-toggle .browse { - display: inline; -} - -.upload-theme, -.upload-plugin { - box-sizing: border-box; - display: none; - margin: 0; - padding: 50px 0; - width: 100%; - overflow: hidden; - position: relative; - top: 10px; - text-align: center; -} - -.show-upload-view .upload-theme, -.show-upload-view .upload-plugin, -.show-upload-view .upload-plugin-wrap, -.plugin-install-tab-upload .upload-plugin { - display: block; -} - -.upload-theme .wp-upload-form, -.upload-plugin .wp-upload-form { - background: #f6f7f7; - border: 1px solid #c3c4c7; - padding: 30px; - margin: 30px auto; - display: inline-flex; - justify-content: space-between; - align-items: center; -} - -.upload-theme .wp-upload-form input[type="file"], -.upload-plugin .wp-upload-form input[type="file"] { - margin-right: 10px; -} - -.upload-theme .install-help, -.upload-plugin .install-help { - color: #50575e; /* #f1f1f1 background */ - font-size: 18px; - font-style: normal; - margin: 0; - padding: 0; - text-align: center; -} - -p.no-themes, -p.no-themes-local { - clear: both; - color: #646970; - font-size: 18px; - font-style: normal; - margin: 0; - padding: 100px 0; - text-align: center; - display: none; -} - -.no-results p.no-themes { - display: block; -} - -.theme-install-php .add-new-theme { - display: none !important; -} - -@media only screen and (max-width: 1120px) { - .upload-theme .wp-upload-form { - margin: 20px 0; - max-width: 100%; - } - .upload-theme .install-help { - font-size: 15px; - padding: 20px 0 0; - } -} - -.theme-details .theme-rating { - line-height: 1.9; -} - -.theme-details .star-rating { - display: inline; -} - -.theme-details .num-ratings, -.theme-details .no-rating { - font-size: 11px; - color: #646970; -} - -.theme-details .no-rating { - display: block; - line-height: 1.9; -} - -.update-from-upload-comparison { - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #dcdcde; - text-align: left; - margin: 1rem 0 1.4rem; - border-collapse: collapse; - width: 100%; -} - -.update-from-upload-comparison tr:last-child td { - height: 1.4rem; - vertical-align: top; -} - -.update-from-upload-comparison tr:first-child th { - font-weight: bold; - height: 1.4rem; - vertical-align: bottom; -} - -.update-from-upload-comparison td.name-label { - text-align: right; -} - -.update-from-upload-comparison td, -.update-from-upload-comparison th { - padding: 0.4rem 1.4rem; -} - -.update-from-upload-comparison td.warning { - color: #d63638; -} - -.update-from-upload-actions { - margin-top: 1.4rem; -} - -/*------------------------------------------------------------------------------ - 16.3 - Custom Header Screen -------------------------------------------------------------------------------*/ - -.appearance_page_custom-header #headimg { - border: 1px solid #dcdcde; - overflow: hidden; - width: 100%; -} - -.appearance_page_custom-header #upload-form p label { - font-size: 12px; -} - -.appearance_page_custom-header .available-headers .default-header { - float: left; - margin: 0 20px 20px 0; -} - -.appearance_page_custom-header .random-header { - clear: both; - margin: 0 20px 20px 0; - vertical-align: middle; -} - -.appearance_page_custom-header .available-headers label input, -.appearance_page_custom-header .random-header label input { - margin-right: 10px; -} - -.appearance_page_custom-header .available-headers label img { - vertical-align: middle; -} - - -/*------------------------------------------------------------------------------ - 16.4 - Custom Background Screen -------------------------------------------------------------------------------*/ - -div#custom-background-image { - min-height: 100px; - border: 1px solid #dcdcde; -} - -div#custom-background-image img { - max-width: 400px; - max-height: 300px; -} - -.background-position-control input[type="radio"]:checked ~ .button { - background: #f0f0f1; - border-color: #8c8f94; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); - z-index: 1; -} - -.background-position-control input[type="radio"]:focus ~ .button { - border-color: #4f94d4; - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 3px rgba(34, 113, 177, 0.8); - color: #1d2327; -} - -.background-position-control .background-position-center-icon, -.background-position-control .background-position-center-icon:before { - display: inline-block; - line-height: 1; - text-align: center; - transition: background-color .1s ease-in; -} - -.background-position-control .background-position-center-icon { - height: 20px; - margin-top: 13px; - vertical-align: top; - width: 20px; -} - -.background-position-control .background-position-center-icon:before { - background-color: #50575e; - border-radius: 50%; - content: ""; - height: 12px; - width: 12px; -} - -.background-position-control .button:hover .background-position-center-icon:before, -.background-position-control input[type="radio"]:focus ~ .button .background-position-center-icon:before { - background-color: #1d2327; -} - -.background-position-control .button-group { - display: block; -} - -.background-position-control .button-group .button { - border-radius: 0; - box-shadow: none; - /* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */ - height: 40px !important; - line-height: 2.9 !important; - margin: 0 -1px 0 0 !important; - padding: 0 10px 1px !important; - position: relative; -} - -.background-position-control .button-group .button:active, -.background-position-control .button-group .button:hover, -.background-position-control .button-group .button:focus { - z-index: 1; -} - -.background-position-control .button-group:last-child .button { - box-shadow: 0 1px 0 #c3c4c7; -} - -.background-position-control .button-group > label { - margin: 0 !important; -} - -.background-position-control .button-group:first-child > label:first-child .button { - border-radius: 3px 0 0; -} - -.background-position-control .button-group:first-child > label:first-child .dashicons { - transform: rotate( 45deg ); -} - -.background-position-control .button-group:first-child > label:last-child .button { - border-radius: 0 3px 0 0; -} - -.background-position-control .button-group:first-child > label:last-child .dashicons { - transform: rotate( -45deg ); -} - -.background-position-control .button-group:last-child > label:first-child .button { - border-radius: 0 0 0 3px; -} - -.background-position-control .button-group:last-child > label:first-child .dashicons { - transform: rotate( -45deg ); -} - -.background-position-control .button-group:last-child > label:last-child .button { - border-radius: 0 0 3px; -} - -.background-position-control .button-group:last-child > label:last-child .dashicons { - transform: rotate( 45deg ); -} - -.background-position-control .button-group .dashicons { - margin-top: 9px; -} - -.background-position-control .button-group + .button-group { - margin-top: -1px; -} - -/*------------------------------------------------------------------------------ - 23.0 - Full Overlay w/ Sidebar -------------------------------------------------------------------------------*/ - -body.full-overlay-active { - overflow: hidden; - /* Hide all the content, the Customizer overlay is then made visible to be the only available content. */ - visibility: hidden; -} - -.wp-full-overlay { - background: transparent; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - left: 0; - right: 0; - height: 100%; - min-width: 0; -} - -.wp-full-overlay-sidebar { - box-sizing: border-box; - position: fixed; - min-width: 300px; - max-width: 600px; - width: 18%; - height: 100%; - top: 0; - bottom: 0; - left: 0; - padding: 0; - margin: 0; - z-index: 10; - background: #f0f0f1; - border-right: none; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - overflow: visible; -} - -.wp-full-overlay.collapsed, -.wp-full-overlay.expanded .wp-full-overlay-sidebar { - margin-left: 0 !important; -} - -.wp-full-overlay.expanded { - margin-left: 300px; -} - -.wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-left: -300px; -} - -@media screen and (min-width: 1667px) { - .wp-full-overlay.expanded { - margin-left: 18%; - } - - .wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-left: -18%; - } -} - -@media screen and (min-width: 3333px) { - .wp-full-overlay.expanded { - margin-left: 600px; - } - - .wp-full-overlay.collapsed .wp-full-overlay-sidebar { - margin-left: -600px; - } -} - -.wp-full-overlay-sidebar:after { - content: ""; - display: block; - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 3px; - z-index: 1000; -} - -.wp-full-overlay-main { - position: absolute; - left: 0; - right: 0; - top: 0; - bottom: 0; - height: 100%; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header { - position: absolute; - left: 0; - right: 0; - height: 45px; - padding: 0 15px; - line-height: 3.2; - z-index: 10; - margin: 0; - border-top: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-header a.back { - margin-top: 9px; -} - -.wp-full-overlay-sidebar .wp-full-overlay-footer { - bottom: 0; - border-bottom: none; - border-top: none; - box-shadow: none; -} - -.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content { - position: absolute; - top: 45px; - bottom: 45px; - left: 0; - right: 0; - overflow: auto; -} - -/* Close & Navigation Links */ -.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header { - padding: 0; -} - -.theme-install-overlay .close-full-overlay, -.theme-install-overlay .previous-theme, -.theme-install-overlay .next-theme { - display: block; - position: relative; - float: left; - width: 45px; - height: 45px; - background: #f0f0f1; - border-right: 1px solid #dcdcde; - color: #3c434a; - cursor: pointer; - text-decoration: none; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -.theme-install-overlay .close-full-overlay:hover, -.theme-install-overlay .close-full-overlay:focus, -.theme-install-overlay .previous-theme:hover, -.theme-install-overlay .previous-theme:focus, -.theme-install-overlay .next-theme:hover, -.theme-install-overlay .next-theme:focus { - background: #dcdcde; - border-color: #c3c4c7; - color: #000; - outline: none; - box-shadow: none; -} - -.theme-install-overlay .close-full-overlay:before { - font: normal 22px/1 dashicons; - content: "\f335"; - position: relative; - top: 7px; - left: 13px; -} - -.theme-install-overlay .previous-theme:before { - font: normal 20px/1 dashicons; - content: "\f341"; - position: relative; - top: 6px; - left: 14px; -} - -.theme-install-overlay .next-theme:before { - font: normal 20px/1 dashicons; - content: "\f345"; - position: relative; - top: 6px; - left: 13px; -} - -.theme-install-overlay .previous-theme.disabled, -.theme-install-overlay .next-theme.disabled, -.theme-install-overlay .previous-theme.disabled:hover, -.theme-install-overlay .previous-theme.disabled:focus, -.theme-install-overlay .next-theme.disabled:hover, -.theme-install-overlay .next-theme.disabled:focus { - color: #c3c4c7; - background: #f0f0f1; - cursor: default; - pointer-events: none; -} - -.theme-install-overlay .close-full-overlay, -.theme-install-overlay .previous-theme, -.theme-install-overlay .next-theme { - border-left: 0; - border-top: 0; - border-bottom: 0; -} - -.theme-install-overlay .close-full-overlay:before, -.theme-install-overlay .previous-theme:before, -.theme-install-overlay .next-theme:before { - top: 2px; - left: 0; -} - -/* Collapse Button */ -.wp-core-ui .wp-full-overlay .collapse-sidebar { - position: fixed; - bottom: 0; - left: 0; - padding: 9px 0 9px 10px; - height: 45px; - color: #646970; - outline: 0; - line-height: 1; - background-color: transparent !important; - border: none !important; - box-shadow: none !important; - border-radius: 0 !important; -} - -.wp-core-ui .wp-full-overlay .collapse-sidebar:hover, -.wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #2271b1; -} - -.wp-full-overlay .collapse-sidebar-arrow, -.wp-full-overlay .collapse-sidebar-label { - display: inline-block; - vertical-align: middle; - line-height: 1.6; -} - -.wp-full-overlay .collapse-sidebar-arrow { - width: 20px; - height: 20px; - margin: 0 2px; /* avoid the focus box-shadow to be cut-off */ - border-radius: 50%; - overflow: hidden; -} - -.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, -.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.wp-full-overlay .collapse-sidebar-label { - margin-left: 3px; -} - -.wp-full-overlay.collapsed .collapse-sidebar-label { - display: none; -} - -.wp-full-overlay .collapse-sidebar-arrow:before { - display: block; - content: "\f148"; - background: #f0f0f1; - font: normal 20px/1 dashicons; - speak: never; - padding: 0; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar { - padding: 9px 10px; -} - -/* rtl:ignore */ -.wp-full-overlay.collapsed .collapse-sidebar-arrow:before, -.rtl .wp-full-overlay .collapse-sidebar-arrow:before { - transform: rotate(180.001deg); /* Firefox: promoting to its own layer to trigger anti-aliasing */ -} - -.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before { - transform: none; -} - -/* Animations */ -.wp-full-overlay, -.wp-full-overlay-sidebar, -.wp-full-overlay .collapse-sidebar, -.wp-full-overlay-main { - transition-property: left, right, top, bottom, width, margin; - transition-duration: 0.2s; -} - -/* Device/preview size toggles */ - -.wp-full-overlay { - background: #1d2327; -} - -.wp-full-overlay-main { - background-color: #f0f0f1; -} - -.expanded .wp-full-overlay-footer { - position: fixed; - bottom: 0; - left: 0; - min-width: 299px; - max-width: 599px; - width: 18%; - width: calc( 18% - 1px ); - height: 45px; - border-top: 1px solid #dcdcde; - background: #f0f0f1; -} - -.wp-full-overlay-footer .devices-wrapper { - float: right; -} - -.wp-full-overlay-footer .devices { - position: relative; - background: #f0f0f1; - box-shadow: -20px 0 10px -5px #f0f0f1; -} - -.wp-full-overlay-footer .devices button { - cursor: pointer; - background: transparent; - border: none; - height: 45px; - padding: 0 3px; - margin: 0 0 0 -4px; - box-shadow: none; - border-top: 1px solid transparent; - border-bottom: 4px solid transparent; - transition: - .15s color ease-in-out, - .15s background-color ease-in-out, - .15s border-color ease-in-out; -} - -.wp-full-overlay-footer .devices button:focus { - box-shadow: none; - outline: none; -} - -.wp-full-overlay-footer .devices button:before { - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 20px/30px "dashicons"; - vertical-align: top; - margin: 3px 0; - padding: 4px 8px; - color: #646970; -} - -.wp-full-overlay-footer .devices button.active { - border-bottom-color: #1d2327; -} - -.wp-full-overlay-footer .devices button:hover, -.wp-full-overlay-footer .devices button:focus { - background-color: #fff; -} - -.wp-full-overlay-footer .devices button:focus, -.wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #2271b1; -} - -.wp-full-overlay-footer .devices button.active:before { - color: #1d2327; -} - -.wp-full-overlay-footer .devices button:hover:before, -.wp-full-overlay-footer .devices button:focus:before { - color: #2271b1; -} - -.wp-full-overlay-footer .devices .preview-desktop:before { - content: "\f472"; -} - -.wp-full-overlay-footer .devices .preview-tablet:before { - content: "\f471"; -} - -.wp-full-overlay-footer .devices .preview-mobile:before { - content: "\f470"; -} - -@media screen and (max-width: 1024px) { - .wp-full-overlay-footer .devices { - display: none; - } -} - -.collapsed .wp-full-overlay-footer .devices button:before { - display: none; -} - -.preview-mobile .wp-full-overlay-main { - margin: auto 0 auto -160px; - width: 320px; - height: 480px; - max-height: 100%; - max-width: 100%; - left: 50%; -} - -.preview-tablet .wp-full-overlay-main { - margin: auto 0 auto -360px; - width: 720px; /* Size is loosely based on a typical "tablet" device size. Intentionally ambiguous - this does not represent any particular device precisely. */ - height: 1080px; - max-height: 100%; - max-width: 100%; - left: 50%; -} - - -/*------------------------------------------------------------------------------ - 24.0 - Customize Loader -------------------------------------------------------------------------------*/ - -.no-customize-support .hide-if-no-customize, -.customize-support .hide-if-customize, -.no-customize-support.wp-core-ui .hide-if-no-customize, -.no-customize-support .wp-core-ui .hide-if-no-customize, -.customize-support.wp-core-ui .hide-if-customize, -.customize-support .wp-core-ui .hide-if-customize { - display: none; -} - -#customize-container, -#customize-controls .notice.notification-overlay { - background: #f0f0f1; - z-index: 500000; - position: fixed; - overflow: visible; - top: 0; - bottom: 0; - left: 0; - right: 0; - height: 100%; -} -#customize-container { - display: none; -} - -/* Make the Customizer and Theme installer overlays the only available content. */ -#customize-container, -.theme-install-overlay { - visibility: visible; -} - -.customize-loading #customize-container iframe { - opacity: 0; -} - -#customize-container iframe, -.theme-install-overlay iframe { - height: 100%; - width: 100%; - z-index: 20; - transition: opacity 0.3s; -} - -#customize-controls { - margin-top: 0; -} - -.theme-install-overlay { - display: none; -} - -.theme-install-overlay.single-theme { - display: block; -} - -.install-theme-info { - display: none; - padding: 10px 20px 60px; -} - -.single-theme .install-theme-info { - padding-top: 15px; -} - -.theme-install-overlay .install-theme-info { - display: block; -} - -.install-theme-info .theme-install { - float: right; - margin-top: 18px; -} - -.install-theme-info .theme-name { - font-size: 16px; - line-height: 1.5; - margin-bottom: 0; - margin-top: 0; -} - -.install-theme-info .theme-screenshot { - margin: 15px 0; - width: 258px; - border: 1px solid #c3c4c7; - position: relative; - overflow: hidden; -} - -.install-theme-info .theme-screenshot > img { - width: 100%; - height: auto; - position: absolute; - left: 0; - top: 0; -} - -.install-theme-info .theme-screenshot:after { - content: ""; - display: block; - padding-top: 66.66666666%; -} - -.install-theme-info .theme-details { - overflow: hidden; -} - -.theme-details .theme-version { - margin: 15px 0; -} - -.theme-details .theme-description { - float: left; - color: #646970; - line-height: 1.6; - max-width: 100%; -} - -.theme-install-overlay .wp-full-overlay-header .button { - float: right; - margin: 8px 10px 0 0; -} - -.theme-install-overlay .wp-full-overlay-sidebar { - background: #f0f0f1; - border-right: 1px solid #dcdcde; -} - -.theme-install-overlay .wp-full-overlay-sidebar-content { - background: #fff; - border-top: 1px solid #dcdcde; - border-bottom: 1px solid #dcdcde; -} - -.theme-install-overlay .wp-full-overlay-main { - position: absolute; - z-index: 0; - background-color: #f0f0f1; -} - -.customize-loading #customize-container { - background-color: #f0f0f1; -} - -#customize-preview.wp-full-overlay-main:before, -.customize-loading #customize-container:before, -#customize-controls .notice.notification-overlay.notification-loading:before, -.theme-install-overlay .wp-full-overlay-main:before { - content: ""; - display: block; - width: 20px; - height: 20px; - position: absolute; - left: 50%; - top: 50%; - z-index: -1; - margin: -10px 0 0 -10px; - transform: translateZ(0); - background: transparent url(../images/spinner.gif) no-repeat center center; - background-size: 20px 20px; -} - -#customize-preview.wp-full-overlay-main.iframe-ready:before, -.theme-install-overlay.iframe-ready .wp-full-overlay-main:before { - background-image: none; -} - -/* =Media Queries --------------------------------------------------------------- */ - -/** - * HiDPI Displays - */ -@media print, - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - .wp-full-overlay .collapse-sidebar-arrow { - background-image: url(../images/arrows-2x.png); - background-size: 15px 123px; - } - - #customize-preview.wp-full-overlay-main:before, - .customize-loading #customize-container:before, - #customize-controls .notice.notification-overlay.notification-loading:before, - .theme-install-overlay .wp-full-overlay-main:before { - background-image: url(../images/spinner-2x.gif); - } -} - -@media screen and (max-width: 782px) { - .available-theme .action-links .delete-theme { - float: none; - margin: 0; - padding: 0; - clear: both; - } - - .available-theme .action-links .delete-theme a { - padding: 0; - } - - .broken-themes table { - width: 100%; - } - - .theme-install-overlay .wp-full-overlay-header .button { - font-size: 13px; - line-height: 2.15384615; - min-height: 30px; - } - - .theme-browser .theme .theme-actions .button { - margin-bottom: 0; - } - - .theme-browser .theme.active .theme-actions, - .theme-browser .theme .theme-actions { - padding-top: 4px; - padding-bottom: 4px; - } - - .upload-theme .wp-upload-form, - .upload-plugin .wp-upload-form { - display: block; - } -} - -@media aural { - .theme .notice:before, - .theme-info .updating-message:before, - .theme-info .updated-message:before, - .theme-install.updating-message:before { - speak: never; - } -} diff --git a/build/wp-admin/css/themes.min.css b/build/wp-admin/css/themes.min.css deleted file mode 100644 index c28111c662..0000000000 --- a/build/wp-admin/css/themes.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.themes-php{overflow-y:scroll}body.js .theme-browser.search-loading{display:none}.theme-browser .themes{clear:both}.themes-php:not(.network-admin) .wrap h1{margin-bottom:15px}.themes-php .wrap h1 .button{margin-left:20px}.themes-php .search-form{display:inline}.themes-php .wp-filter-search{position:relative;top:-2px;left:20px;margin:0;width:280px}.theme .notice,.theme .notice.is-dismissible{left:0;margin:0;position:absolute;right:0;top:0}.theme-browser .theme{cursor:pointer;float:left;margin:0 4% 4% 0;position:relative;width:30.6%;border:1px solid #dcdcde;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-sizing:border-box}.theme-browser .theme:nth-child(3n){margin-right:0}.theme-browser .theme.focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{opacity:0;transition:opacity .1s ease-in-out;height:auto;background:rgba(246,247,247,.7);border-left:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:hover .theme-actions{opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-right:3px}.theme-browser .theme .theme-actions .button{float:none;margin-left:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-backface-visibility:hidden;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:"";display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;left:0;top:0;width:100%;transition:opacity .2s ease-in-out}.theme-browser .theme.focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme.focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{opacity:0;position:absolute;top:35%;right:20%;left:20%;width:60%;background:#1d2327;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;border-radius:3px;border:none;transition:opacity .1s ease-in-out;cursor:pointer}.theme-browser .theme .more-details:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2271b1}.theme-browser .theme.focus{border-color:#4f94d4;box-shadow:0 0 2px rgba(79,148,212,.8)}.theme-browser .theme.focus .more-details{opacity:1}.theme-browser .theme.active.focus .theme-actions{display:block}.theme-browser.rendered .theme.focus .more-details,.theme-browser.rendered .theme:hover .more-details{opacity:1}.theme-browser .theme.active .theme-name{background:#1d2327;color:#fff;padding-right:110px;font-weight:300;box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .customize-control .theme.active .theme-name{padding-right:15px}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(44,51,56,.7);border-left:none;opacity:1}.theme-id-container{position:relative}.theme-browser .theme .theme-actions,.theme-browser .theme.active .theme-actions{position:absolute;top:50%;transform:translateY(-50%);right:0;padding:9px 15px;box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.theme-browser .theme.active .theme-actions .button-primary{margin-right:0}.theme-browser .theme .theme-author{background:#1d2327;color:#f0f0f1;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit}.theme-browser .theme.add-new-theme{border:none;box-shadow:none}.theme-browser .theme.add-new-theme a{text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme a:after{display:block;content:"";background:0 0;background:rgba(0,0,0,0);position:absolute;top:0;left:0;right:0;bottom:0;padding:0;text-shadow:none;border:5px dashed #dcdcde;border:5px dashed rgba(0,0,0,.1);box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#dcdcde;background:rgba(140,143,148,.1);border-radius:50%;display:inline-block;content:"\f132";-webkit-font-smoothing:antialiased;font:normal 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#8c8f94;position:absolute;top:30%;left:50%;margin-left:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme a:focus .theme-screenshot,.theme-browser .theme.add-new-theme a:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{background:#fff;color:#2271b1}.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{border-color:transparent;color:#fff;background:#2271b1;content:""}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-18px;padding-top:0;padding-bottom:48px}.theme-browser .theme.add-new-theme a:focus .theme-name,.theme-browser .theme.add-new-theme a:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;left:-20px;right:0;top:0;bottom:0;background:#f0f0f1;background:rgba(240,240,241,.9);z-index:10000}.theme-overlay .theme-header{position:absolute;top:0;left:0;right:0;height:48px;border-bottom:1px solid #dcdcde}.theme-overlay .theme-header button{padding:0}.theme-overlay .theme-header .close{cursor:pointer;height:48px;width:50px;text-align:center;float:right;border:0;border-left:1px solid #dcdcde;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:normal 22px/50px dashicons!important;color:#787c82;display:inline-block;content:"\f335";font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;color:#787c82;background-color:transparent;height:48px;width:54px;float:left;text-align:center;border:0;border-right:1px solid #dcdcde;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#dcdcde;border-color:#c3c4c7;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#c3c4c7;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:normal 20px/50px dashicons!important;display:inline;font-weight:300}.theme-overlay .theme-header .left:before{content:"\f341"}.theme-overlay .theme-header .right:before{content:"\f345"}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;left:190px;right:30px;bottom:3%;background:#fff;box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:10000;box-sizing:border-box;-webkit-overflow-scrolling:touch}body.folded .theme-browser~.theme-overlay .theme-wrap{left:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;left:0;right:0;overflow:auto;padding:2% 4%}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;left:0;right:0;padding:10px 25px 5px;background:#f6f7f7;z-index:30;box-sizing:border-box;border-top:1px solid #f0f0f1}.theme-overlay .theme-actions a{margin-right:5px;margin-bottom:5px}.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"],.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"]{display:none}.broken-themes a.delete-theme,.theme-overlay .theme-actions .delete-theme{color:#d63638;text-decoration:none;border-color:transparent;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme{position:absolute;right:10px;bottom:5px}.broken-themes a.delete-theme:focus,.broken-themes a.delete-theme:hover,.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d63638;color:#fff;border-color:#d63638}.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:left;margin:0 30px 0 0;width:55%;max-width:1200px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;box-sizing:border-box;overflow:hidden;position:relative;box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot:after{content:"";display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;left:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:350px;width:auto}.theme-overlay .screenshot.thumb{background:#c3c4c7;border:1px solid #f0f0f1;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:"";display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;height:auto;position:absolute;left:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #72aee6}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:left}.theme-overlay .current-label{background:#2c3338;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;border-radius:2px;margin:0 0 -10px;-webkit-user-select:none;user-select:none}.theme-overlay .theme-name{color:#1d2327;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word}.theme-overlay .theme-version{color:#646970;font-size:13px;font-weight:400;float:none;display:inline-block;margin-left:10px}.theme-overlay .theme-author{margin:15px 0 25px;color:#646970;font-size:16px;font-weight:400;line-height:inherit}.theme-overlay .toggle-auto-update{display:inline-flex;align-items:center;min-height:20px;vertical-align:top}.theme-overlay .theme-autoupdate .toggle-auto-update{text-decoration:none}.theme-overlay .theme-autoupdate .toggle-auto-update .label{text-decoration:underline}.theme-overlay .theme-description{color:#50575e;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #f0f0f1;color:#646970;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#3c434a;font-weight:600;margin-right:5px}.theme-overlay .parent-theme{background:#fff;border:1px solid #f0f0f1;border-left:4px solid #72aee6;font-size:14px;font-weight:400;margin-top:30px;padding:10px 10px 10px 20px}.theme-overlay .parent-theme strong{font-weight:600}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;left:auto;right:auto;top:auto;bottom:auto;z-index:10}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 3% 3% 0}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-right:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-right:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 3% 3% 0}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-right:3%}.theme-browser .theme:nth-child(4n){margin-right:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-right:0}.theme-browser .theme:nth-child(even){margin-right:0}.theme-browser .theme:nth-child(odd){margin-right:5%}}@media only screen and (max-width:960px){.theme-overlay .theme-wrap{left:65px}}@media only screen and (max-width:780px){.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;right:0;bottom:0;left:0;padding:70px 20px 20px;border:none;z-index:100000;position:fixed}.theme-browser .theme.active .theme-name span{display:none}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:0;width:auto}.theme.focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-browser.rendered .theme.focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-right:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-right:0}.theme-overlay .theme-about{bottom:105px}.theme-overlay .theme-actions{padding-left:4%;padding-right:4%}}@media only screen and (max-width:650px){.theme-overlay .theme-description{margin-left:0}.theme-overlay .theme-actions .delete-theme{position:relative;right:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wp-filter-search{float:none;clear:both;left:0;right:0;margin:-5px 0 20px;width:100%;max-width:280px}.theme-browser .theme.add-new-theme span:after{font:normal 60px/90px dashicons;width:80px;height:80px;top:30%;left:50%;text-indent:0;margin-left:-40px}.single-theme .theme-wrap{margin:0 -12px 0 -10px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:left;width:50%;border-spacing:3px;padding:3px}.update-php .wrap{max-width:40rem}.theme-browser .theme .theme-installed{background:#2271b1}.theme-browser .theme .notice-success p:before{color:#68de7c;content:"\f147";display:inline-block;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.theme-install.updated-message:before{content:""}.theme-install-php .wp-filter{padding-left:20px}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.plugin-install-tab-upload .upload-view-toggle .upload,.upload-view-toggle .browse{display:none}.plugin-install-tab-upload .upload-view-toggle .browse{display:inline}.upload-plugin,.upload-theme{box-sizing:border-box;display:none;margin:0;padding:50px 0;width:100%;overflow:hidden;position:relative;top:10px;text-align:center}.plugin-install-tab-upload .upload-plugin,.show-upload-view .upload-plugin,.show-upload-view .upload-plugin-wrap,.show-upload-view .upload-theme{display:block}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#f6f7f7;border:1px solid #c3c4c7;padding:30px;margin:30px auto;display:inline-flex;justify-content:space-between;align-items:center}.upload-plugin .wp-upload-form input[type=file],.upload-theme .wp-upload-form input[type=file]{margin-right:10px}.upload-plugin .install-help,.upload-theme .install-help{color:#50575e;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center}p.no-themes,p.no-themes-local{clear:both;color:#646970;font-size:18px;font-style:normal;margin:0;padding:100px 0;text-align:center;display:none}.no-results p.no-themes{display:block}.theme-install-php .add-new-theme{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0}}.theme-details .theme-rating{line-height:1.9}.theme-details .star-rating{display:inline}.theme-details .no-rating,.theme-details .num-ratings{font-size:11px;color:#646970}.theme-details .no-rating{display:block;line-height:1.9}.update-from-upload-comparison{border-top:1px solid #dcdcde;border-bottom:1px solid #dcdcde;text-align:left;margin:1rem 0 1.4rem;border-collapse:collapse;width:100%}.update-from-upload-comparison tr:last-child td{height:1.4rem;vertical-align:top}.update-from-upload-comparison tr:first-child th{font-weight:700;height:1.4rem;vertical-align:bottom}.update-from-upload-comparison td.name-label{text-align:right}.update-from-upload-comparison td,.update-from-upload-comparison th{padding:.4rem 1.4rem}.update-from-upload-comparison td.warning{color:#d63638}.update-from-upload-actions{margin-top:1.4rem}.appearance_page_custom-header #headimg{border:1px solid #dcdcde;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dcdcde}div#custom-background-image img{max-width:400px;max-height:300px}.background-position-control input[type=radio]:checked~.button{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);z-index:1}.background-position-control input[type=radio]:focus~.button{border-color:#4f94d4;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 3px rgba(34,113,177,.8);color:#1d2327}.background-position-control .background-position-center-icon,.background-position-control .background-position-center-icon:before{display:inline-block;line-height:1;text-align:center;transition:background-color .1s ease-in}.background-position-control .background-position-center-icon{height:20px;margin-top:13px;vertical-align:top;width:20px}.background-position-control .background-position-center-icon:before{background-color:#50575e;border-radius:50%;content:"";height:12px;width:12px}.background-position-control .button:hover .background-position-center-icon:before,.background-position-control input[type=radio]:focus~.button .background-position-center-icon:before{background-color:#1d2327}.background-position-control .button-group{display:block}.background-position-control .button-group .button{border-radius:0;box-shadow:none;height:40px!important;line-height:2.9!important;margin:0 -1px 0 0!important;padding:0 10px 1px!important;position:relative}.background-position-control .button-group .button:active,.background-position-control .button-group .button:focus,.background-position-control .button-group .button:hover{z-index:1}.background-position-control .button-group:last-child .button{box-shadow:0 1px 0 #c3c4c7}.background-position-control .button-group>label{margin:0!important}.background-position-control .button-group:first-child>label:first-child .button{border-radius:3px 0 0}.background-position-control .button-group:first-child>label:first-child .dashicons{transform:rotate(45deg)}.background-position-control .button-group:first-child>label:last-child .button{border-radius:0 3px 0 0}.background-position-control .button-group:first-child>label:last-child .dashicons{transform:rotate(-45deg)}.background-position-control .button-group:last-child>label:first-child .button{border-radius:0 0 0 3px}.background-position-control .button-group:last-child>label:first-child .dashicons{transform:rotate(-45deg)}.background-position-control .button-group:last-child>label:last-child .button{border-radius:0 0 3px}.background-position-control .button-group:last-child>label:last-child .dashicons{transform:rotate(45deg)}.background-position-control .button-group .dashicons{margin-top:9px}.background-position-control .button-group+.button-group{margin-top:-1px}body.full-overlay-active{overflow:hidden;visibility:hidden}.wp-full-overlay{background:0 0;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;left:0;right:0;height:100%;min-width:0}.wp-full-overlay-sidebar{box-sizing:border-box;position:fixed;min-width:300px;max-width:600px;width:18%;height:100%;top:0;bottom:0;left:0;padding:0;margin:0;z-index:10;background:#f0f0f1;border-right:none}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-left:0!important}.wp-full-overlay.expanded{margin-left:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-left:-300px}@media screen and (min-width:1667px){.wp-full-overlay.expanded{margin-left:18%}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-left:-18%}}@media screen and (min-width:3333px){.wp-full-overlay.expanded{margin-left:600px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{margin-left:-600px}}.wp-full-overlay-sidebar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;left:0;right:0;top:0;bottom:0;height:100%}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;left:0;right:0;height:45px;padding:0 15px;line-height:3.2;z-index:10;margin:0;border-top:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;left:0;right:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:left;width:45px;height:45px;background:#f0f0f1;border-right:1px solid #dcdcde;color:#3c434a;cursor:pointer;text-decoration:none;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#dcdcde;border-color:#c3c4c7;color:#000;outline:0;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:normal 22px/1 dashicons;content:"\f335";position:relative;top:7px;left:13px}.theme-install-overlay .previous-theme:before{font:normal 20px/1 dashicons;content:"\f341";position:relative;top:6px;left:14px}.theme-install-overlay .next-theme:before{font:normal 20px/1 dashicons;content:"\f345";position:relative;top:6px;left:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#c3c4c7;background:#f0f0f1;cursor:default;pointer-events:none}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{border-left:0;border-top:0;border-bottom:0}.theme-install-overlay .close-full-overlay:before,.theme-install-overlay .next-theme:before,.theme-install-overlay .previous-theme:before{top:2px;left:0}.wp-core-ui .wp-full-overlay .collapse-sidebar{position:fixed;bottom:0;left:0;padding:9px 0 9px 10px;height:45px;color:#646970;outline:0;line-height:1;background-color:transparent!important;border:none!important;box-shadow:none!important;border-radius:0!important}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#2271b1}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;vertical-align:middle;line-height:1.6}.wp-full-overlay .collapse-sidebar-arrow{width:20px;height:20px;margin:0 2px;border-radius:50%;overflow:hidden}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.wp-full-overlay .collapse-sidebar-label{margin-left:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow:before{display:block;content:"\f148";background:#f0f0f1;font:normal 20px/1 dashicons;speak:never;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-core-ui .wp-full-overlay.collapsed .collapse-sidebar{padding:9px 10px}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{transition-property:left,right,top,bottom,width,margin;transition-duration:.2s}.wp-full-overlay{background:#1d2327}.wp-full-overlay-main{background-color:#f0f0f1}.expanded .wp-full-overlay-footer{position:fixed;bottom:0;left:0;min-width:299px;max-width:599px;width:18%;width:calc(18% - 1px);height:45px;border-top:1px solid #dcdcde;background:#f0f0f1}.wp-full-overlay-footer .devices-wrapper{float:right}.wp-full-overlay-footer .devices{position:relative;background:#f0f0f1;box-shadow:-20px 0 10px -5px #f0f0f1}.wp-full-overlay-footer .devices button{cursor:pointer;background:0 0;border:none;height:45px;padding:0 3px;margin:0 0 0 -4px;box-shadow:none;border-top:1px solid transparent;border-bottom:4px solid transparent;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}.wp-full-overlay-footer .devices button:focus{box-shadow:none;outline:0}.wp-full-overlay-footer .devices button:before{display:inline-block;-webkit-font-smoothing:antialiased;font:normal 20px/30px dashicons;vertical-align:top;margin:3px 0;padding:4px 8px;color:#646970}.wp-full-overlay-footer .devices button.active{border-bottom-color:#1d2327}.wp-full-overlay-footer .devices button:focus,.wp-full-overlay-footer .devices button:hover{background-color:#fff}.wp-full-overlay-footer .devices button.active:hover,.wp-full-overlay-footer .devices button:focus{border-bottom-color:#2271b1}.wp-full-overlay-footer .devices button.active:before{color:#1d2327}.wp-full-overlay-footer .devices button:focus:before,.wp-full-overlay-footer .devices button:hover:before{color:#2271b1}.wp-full-overlay-footer .devices .preview-desktop:before{content:"\f472"}.wp-full-overlay-footer .devices .preview-tablet:before{content:"\f471"}.wp-full-overlay-footer .devices .preview-mobile:before{content:"\f470"}@media screen and (max-width:1024px){.wp-full-overlay-footer .devices{display:none}}.collapsed .wp-full-overlay-footer .devices button:before{display:none}.preview-mobile .wp-full-overlay-main{margin:auto 0 auto -160px;width:320px;height:480px;max-height:100%;max-width:100%;left:50%}.preview-tablet .wp-full-overlay-main{margin:auto 0 auto -360px;width:720px;height:1080px;max-height:100%;max-width:100%;left:50%}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container,#customize-controls .notice.notification-overlay{background:#f0f0f1;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;left:0;right:0;height:100%}#customize-container{display:none}#customize-container,.theme-install-overlay{visibility:visible}.customize-loading #customize-container iframe{opacity:0}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;transition:opacity .3s}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:right;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:1.5;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin:15px 0;width:258px;border:1px solid #c3c4c7;position:relative;overflow:hidden}.install-theme-info .theme-screenshot>img{width:100%;height:auto;position:absolute;left:0;top:0}.install-theme-info .theme-screenshot:after{content:"";display:block;padding-top:66.66666666%}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0}.theme-details .theme-description{float:left;color:#646970;line-height:1.6;max-width:100%}.theme-install-overlay .wp-full-overlay-header .button{float:right;margin:8px 10px 0 0}.theme-install-overlay .wp-full-overlay-sidebar{background:#f0f0f1;border-right:1px solid #dcdcde}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #dcdcde;border-bottom:1px solid #dcdcde}.theme-install-overlay .wp-full-overlay-main{position:absolute;z-index:0;background-color:#f0f0f1}.customize-loading #customize-container{background-color:#f0f0f1}#customize-controls .notice.notification-overlay.notification-loading:before,#customize-preview.wp-full-overlay-main:before,.customize-loading #customize-container:before,.theme-install-overlay .wp-full-overlay-main:before{content:"";display:block;width:20px;height:20px;position:absolute;left:50%;top:50%;z-index:-1;margin:-10px 0 0 -10px;transform:translateZ(0);background:transparent url(../images/spinner.gif) no-repeat center center;background-size:20px 20px}#customize-preview.wp-full-overlay-main.iframe-ready:before,.theme-install-overlay.iframe-ready .wp-full-overlay-main:before{background-image:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);background-size:15px 123px}#customize-controls .notice.notification-overlay.notification-loading:before,#customize-preview.wp-full-overlay-main:before,.customize-loading #customize-container:before,.theme-install-overlay .wp-full-overlay-main:before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}.broken-themes table{width:100%}.theme-install-overlay .wp-full-overlay-header .button{font-size:13px;line-height:2.15384615;min-height:30px}.theme-browser .theme .theme-actions .button{margin-bottom:0}.theme-browser .theme .theme-actions,.theme-browser .theme.active .theme-actions{padding-top:4px;padding-bottom:4px}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{display:block}}@media aural{.theme .notice:before,.theme-info .updated-message:before,.theme-info .updating-message:before,.theme-install.updating-message:before{speak:never}} \ No newline at end of file diff --git a/build/wp-admin/css/widgets-rtl.css b/build/wp-admin/css/widgets-rtl.css deleted file mode 100644 index 7f8b877528..0000000000 --- a/build/wp-admin/css/widgets-rtl.css +++ /dev/null @@ -1,877 +0,0 @@ -/*! This file is auto-generated */ -/* General Widgets Styles */ - -.widget { - margin: 0 auto 10px; - position: relative; - box-sizing: border-box; -} - -.widget.open { - z-index: 99; -} -.widget.open:focus-within { - z-index: 100; -} - -.widget-top { - font-size: 13px; - font-weight: 600; - background: #f6f7f7; -} - -.widget-top .widget-action { - border: 0; - margin: 0; - padding: 10px; - background: none; - cursor: pointer; -} - -.widget-title h3, -.widget-title h4 { - margin: 0; - padding: 15px; - font-size: 1em; - line-height: 1; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - -webkit-user-select: none; - user-select: none; -} - -.widgets-holder-wrap .widget-inside { - border-top: none; - padding: 1px 15px 15px; - line-height: 1.23076923; -} - -.widget.widget-dirty .widget-control-close-wrapper { - display: none; -} - -.in-widget-title, -#widgets-right a.widget-control-edit, -#available-widgets .widget-description { - color: #646970; -} - -.deleting .widget-title, -.deleting .widget-top .widget-action .toggle-indicator:before { - color: #a7aaad; -} - -/* Media Widgets */ -.wp-core-ui .media-widget-control.selected .placeholder, -.wp-core-ui .media-widget-control.selected .not-selected, -.wp-core-ui .media-widget-control .selected { - display: none; -} - -.media-widget-control.selected .selected { - display: inline-block; -} - -.media-widget-buttons { - text-align: right; - margin-top: 0; -} - -.media-widget-control .media-widget-buttons .button { - width: auto; - height: auto; - margin-top: 12px; - white-space: normal; -} - -.media-widget-buttons .button:first-child { - margin-left: 8px; -} - -.media-widget-control .attachment-media-view .button-add-media, -.media-widget-control .placeholder { - border: 1px dashed #c3c4c7; - box-sizing: border-box; - cursor: pointer; - line-height: 1.6; - padding: 9px 0; - position: relative; - text-align: center; - width: 100%; -} - -.media-widget-control .attachment-media-view .button-add-media { - cursor: pointer; - background-color: #f0f0f1; - color: #2c3338; -} - -.media-widget-control .attachment-media-view .button-add-media:hover { - background-color: #fff; -} - -.media-widget-control .attachment-media-view .button-add-media:focus { - background-color: #fff; - border-style: solid; - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.media-widget-control .media-widget-preview { - background: transparent; - 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 0 0 3px; -} -.media-frame .media-widget-embed-notice { - margin-top: 16px; -} -.media-widget-control .media-widget-preview img { - max-width: 100%; - vertical-align: middle; - background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 100% 0, 10px 10px; - background-size: 20px 20px; -} -.media-widget-control .media-widget-preview .wp-video-shortcode { - background: #000; -} - -.media-frame.media-widget .media-toolbar-secondary { - min-width: 300px; -} - -.media-frame.media-widget .image-details .embed-media-settings .setting.align, -.media-frame.media-widget .attachment-display-settings .setting.align, -.media-frame.media-widget .embed-media-settings .setting.align, -.media-frame.media-widget .embed-media-settings .legend-inline, -.media-frame.media-widget .embed-link-settings .setting.link-text, -.media-frame.media-widget .replace-attachment, -.media-frame.media-widget .checkbox-setting.autoplay { - display: none; -} - -.media-widget-video-preview { - width: 100%; -} - -.media-widget-video-link { - display: inline-block; - min-height: 132px; - width: 100%; - background: #000; -} - -.media-widget-video-link .dashicons { - font: normal 60px/1 'dashicons'; - position: relative; - width: 100%; - top: -90px; - color: #fff; - text-decoration: none; -} - -.media-widget-video-link.no-poster .dashicons { - top: 30px; -} - -.media-frame #embed-url-field.invalid, -.media-widget-image-link > .link:invalid { - border: 1px solid #d63638; -} - -.media-widget-image-link { - margin: 1em 0; -} - -.media-widget-gallery-preview { - display: flex; - justify-content: flex-start; - flex-wrap: wrap; - margin: -1.79104477%; -} - -.media-widget-preview.media_gallery, -.media-widget-preview.media_image { - cursor: pointer; -} - -.media-widget-preview .placeholder { - background: #f0f0f1; -} - -.media-widget-gallery-preview .gallery-item { - box-sizing: border-box; - width: 50%; - margin: 0; - background: transparent; -} - -.media-widget-gallery-preview .gallery-item .gallery-icon { - margin: 4.5%; -} - -/* - * Use targeted nth-last-child selectors to control the size of each image - * based on how many gallery items are present in the grid. - * See: https://alistapart.com/article/quantity-queries-for-css - */ -.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child, -.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item, -.media-widget-gallery-preview .gallery-item:nth-last-child(n+5), -.media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item, -.media-widget-gallery-preview .gallery-item:nth-last-child(n+6), -.media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item { - max-width: 33.33%; -} - -.media-widget-gallery-preview .gallery-item img { - height: auto; - vertical-align: bottom; -} - -.media-widget-gallery-preview .gallery-icon { - position: relative; -} - -.media-widget-gallery-preview .gallery-icon-placeholder { - position: absolute; - top: 0; - bottom: 0; - width: 100%; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - background-color: rgba(0, 0, 0, 0.5); -} - -.media-widget-gallery-preview .gallery-icon-placeholder-text { - font-weight: 600; - font-size: 2em; - color: #fff; -} - - -/* Widget Dragging Helpers */ -.widget.ui-draggable-dragging { - min-width: 100%; -} - -.widget.ui-sortable-helper { - opacity: 0.8; -} - -.widget-placeholder { - border: 1px dashed #c3c4c7; - margin: 0 auto 10px; - height: 45px; - width: 100%; - box-sizing: border-box; -} - -#widgets-right .widget-placeholder { - margin-top: 0; -} - -#widgets-right .closed .widget-placeholder { - height: 0; - border: 0; - margin-top: -10px; -} - -/* Widget Sidebars */ -.sidebar-name { - position: relative; - box-sizing: border-box; -} - -.js .sidebar-name { - cursor: pointer; -} - -.sidebar-name .handlediv { - float: left; - width: 38px; - height: 38px; - border: 0; - margin: 0; - padding: 8px; - background: none; - cursor: pointer; - outline: none; -} - -#widgets-right .sidebar-name .handlediv { - margin: 5px 0 0 3px; -} - -.sidebar-name .handlediv:focus { - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -#widgets-left .sidebar-name .toggle-indicator { - display: none; -} - -#widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator, -#widgets-left .sidebar-name:hover .toggle-indicator, -#widgets-left .sidebar-name .handlediv:focus .toggle-indicator { - display: block; -} - -.sidebar-name .toggle-indicator:before { - padding: 1px 0 1px 2px; - border-radius: 50%; -} - -.sidebar-name .handlediv:focus .toggle-indicator:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.sidebar-name h2, -.sidebar-name h3 { - margin: 0; - padding: 8px 10px; - overflow: hidden; - white-space: normal; - line-height: 1.5; -} - -.widgets-holder-wrap .description { - padding: 0 0 15px; - margin: 0; - font-style: normal; - color: #646970; -} - -.widget-holder .description, -.inactive-sidebar .description { - color: #50575e; -} - -#widgets-right .widgets-holder-wrap .description { - padding-right: 7px; - padding-left: 7px; -} - -/* Widgets 2-col Layout */ -div.widget-liquid-left { - margin: 0; - width: 38%; - float: right; -} - -div.widget-liquid-right { - float: left; - width: 58%; -} - -/* Widgets Left - Available Widgets */ - -div#widgets-left { - padding-top: 12px; -} - -div#widgets-left .closed .sidebar-name, -div#widgets-left .inactive-sidebar.closed .sidebar-name { - margin-bottom: 10px; -} - -div#widgets-left .sidebar-name h2, -div#widgets-left .sidebar-name h3 { - padding: 10px 0; - margin: 0 0 0 10px; -} - -#widgets-left .widgets-holder-wrap, -div#widgets-left .widget-holder { - background: transparent; - border: none; -} - -#widgets-left .widgets-holder-wrap { - border: none; - box-shadow: none; -} - -#available-widgets .widget { - margin: 0; -} - -#available-widgets .widget:nth-child(odd) { - clear: both; -} - -#available-widgets .widget .widget-description { - display: block; - padding: 10px 15px; - font-size: 12px; - overflow-wrap: break-word; - word-wrap: break-word; - -ms-word-break: break-all; - word-break: break-word; - -webkit-hyphens: auto; - hyphens: auto; -} - -#available-widgets #widget-list { - position: relative; -} - -/* Inactive Sidebars */ -#widgets-left .inactive-sidebar { - clear: both; - width: 100%; - background: transparent; - padding: 0; - margin: 0 0 20px; - border: none; - box-shadow: none; -} - -#widgets-left .inactive-sidebar.first { - margin-top: 40px; -} - -/* Not sure what this is for... */ -div#widgets-left .inactive-sidebar .widget.expanded { - right: auto; -} - -.widget-title-action { - float: left; - position: relative; -} - -div#widgets-left .inactive-sidebar .widgets-sortables { - min-height: 42px; - padding: 0; - background: transparent; - margin: 0; - position: relative; -} - -/* Widgets Right */ - -div#widgets-right .sidebars-column-1, -div#widgets-right .sidebars-column-2 { - max-width: 450px; -} - -div#widgets-right .widgets-holder-wrap { - margin: 10px 0 0; -} - -div#widgets-right .sidebar-description { - min-height: 20px; - margin-top: -5px; -} - -div#widgets-right .sidebar-name h2, -div#widgets-right .sidebar-name h3 { - padding: 15px 7px 15px 15px; -} - -div#widgets-right .widget-top { - padding: 0; -} - -div#widgets-right .widgets-sortables { - padding: 0 8px; - margin-bottom: 9px; - position: relative; - min-height: 123px; -} - -div#widgets-right .closed .widgets-sortables { - min-height: 0; - margin-bottom: 0; -} - -.sidebar-name .spinner, -.remove-inactive-widgets .spinner { - float: none; - position: relative; - top: -2px; - margin: -5px 5px; -} - -.sidebar-name .spinner { - position: absolute; - top: 18px; - left: 30px; -} - -/* Dragging a widget over a closed sidebar */ -#widgets-right .widgets-holder-wrap.widget-hover { - border-color: #787c82; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); -} - -/* Accessibility Mode */ -.widget-access-link { - float: left; - margin: -5px 10px 10px 0; -} - -.widgets_access #widgets-left .widget .widget-top { - cursor: auto; -} - -.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, -.widgets_access #wpwrap .widgets-holder-wrap.closed .widget, -.widgets_access #wpwrap .widget-control-edit { - display: block; -} - -.widgets_access #widgets-left .widget .widget-top:hover, -.widgets_access #widgets-right .widget .widget-top:hover { - border-color: #dcdcde; -} - -#available-widgets .widget-control-edit .edit, -#available-widgets .widget-action .edit, -#widgets-left .inactive-sidebar .widget-control-edit .add, -#widgets-left .inactive-sidebar .widget-action .add, -#widgets-right .widget-control-edit .add, -#widgets-right .widget-action .add { - display: none; -} - -.widget-control-edit { - display: block; - color: #646970; - background: #f0f0f1; - padding: 0 15px; - line-height: 3.30769230; - border-right: 1px solid #dcdcde; -} - -#widgets-left .widget-control-edit:hover, -#widgets-right .widget-control-edit:hover { - color: #fff; - background: #3c434a; - border-right: 0; - outline: 1px solid #3c434a; -} - -.widgets-holder-wrap .sidebar-name, -.widgets-holder-wrap .sidebar-description { - -webkit-user-select: none; - user-select: none; -} - -.editwidget { - margin: 0 auto; -} - -.editwidget .widget-inside { - display: block; - padding: 0 15px; -} - -.editwidget .widget-control-actions { - margin-top: 20px; -} - -.js .widgets-holder-wrap.closed .widget, -.js .widgets-holder-wrap.closed .sidebar-description, -.js .widgets-holder-wrap.closed .remove-inactive-widgets, -.js .widgets-holder-wrap.closed .description, -.js .closed br.clear { - display: none; -} - -.js .widgets-holder-wrap.closed .widget.ui-sortable-helper { - display: block; -} - -/* Hide Widget Settings by Default */ -.widget-inside, -.widget-description { - display: none; -} - -.widget-inside { - background: #fff; -} - -.widget-inside select { - max-width: 100%; -} - -/* Dragging widgets over the available widget area show's a "Deactivate" message */ -#removing-widget { - display: none; - font-weight: 400; - padding-right: 15px; - font-size: 12px; - line-height: 1; - color: #000; -} - -.js #removing-widget { - color: #72aee6; -} - -.widget-control-noform, -#access-off, -.widgets_access .widget-action, -.widgets_access .handlediv, -.widgets_access #access-on, -.widgets_access .widget-holder .description, -.no-js .widget-holder .description { - display: none; -} - -.widgets_access .widget-holder, -.widgets_access #widget-list { - padding-top: 10px; -} - -.widgets_access #access-off { - display: inline; -} - -.widgets_access .sidebar-name, -.widgets_access .widget .widget-top { - cursor: default; -} - - -/* Widgets Area Chooser */ -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - transition: opacity 0.1s linear; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - /* -webkit-filter: blur(1px); */ - opacity: 0.2; - pointer-events: none; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { - /* -webkit-filter: none; */ - opacity: 1; - pointer-events: auto; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #8c8f94; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.widgets-chooser ul.widgets-chooser-sidebars { - margin: 0; - list-style-type: none; - max-height: 300px; - overflow: auto; -} - -.widgets-chooser { - display: none; -} - -.widgets-chooser ul { - border: 1px solid #c3c4c7; -} - -.widgets-chooser li { - border-bottom: 1px solid #c3c4c7; - background: #fff; - margin: 0; - position: relative; -} - -.widgets-chooser .widgets-chooser-button { - width: 100%; - padding: 10px 35px 10px 15px; - background: transparent; - border: 0; - box-sizing: border-box; - text-align: right; - cursor: pointer; - transition: background 0.2s ease-in-out; -} - -/* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */ -.widgets-chooser .widgets-chooser-button:hover, -.widgets-chooser .widgets-chooser-button:focus { - outline: none; - text-decoration: underline; -} - -.widgets-chooser li:last-child { - border: none; -} - -.widgets-chooser .widgets-chooser-selected .widgets-chooser-button { - background: #2271b1; - color: #fff; -} - -.widgets-chooser .widgets-chooser-selected:before { - content: "\f147"; - display: block; - -webkit-font-smoothing: antialiased; - font: normal 26px/1 dashicons; - color: #fff; - position: absolute; - top: 7px; - right: 5px; -} - -.widgets-chooser .widgets-chooser-actions { - padding: 10px 0 12px; - text-align: center; -} - -#available-widgets .widget .widget-top { - cursor: pointer; -} - -#available-widgets .widget.ui-draggable-dragging .widget-top { - cursor: move; -} - -/* =Specific widget styling --------------------------------------------------------------- */ -.text-widget-fields { - position: relative; -} -.text-widget-fields [hidden] { - display: none; -} -.text-widget-fields .wp-pointer.wp-pointer-top { - position: absolute; - z-index: 3; - top: 100px; - left: 10px; - right: 10px; -} -.text-widget-fields .wp-pointer .wp-pointer-arrow { - right: auto; - left: 15px; -} -.text-widget-fields .wp-pointer .wp-pointer-buttons { - line-height: 1.4; -} - -.custom-html-widget-fields > p > .CodeMirror { - border: 1px solid #dcdcde; -} -.custom-html-widget-fields code { - padding-top: 1px; - padding-bottom: 1px; -} -ul.CodeMirror-hints { - z-index: 101; /* Due to z-index 100 set on .widget.open */ -} -.widget-control-actions .custom-html-widget-save-button.button.validation-blocked { - cursor: not-allowed; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 782px) { - .widgets-holder-wrap .widget-inside input[type="checkbox"], - .widgets-holder-wrap .widget-inside input[type="radio"], - .editwidget .widget-inside input[type="checkbox"], /* Selectors for the "accessibility mode" page. */ - .editwidget .widget-inside input[type="radio"] { - margin: 0.25rem 0 0.25rem 0.25rem; - } -} - -@media screen and (max-width: 480px) { - div.widget-liquid-left { - width: 100%; - float: none; - border-left: none; - padding-left: 0; - } - - #widgets-left .sidebar-name { - margin-left: 0; - } - - #widgets-left #available-widgets .widget-top { - margin-left: 0; - } - - #widgets-left .inactive-sidebar .widgets-sortables { - margin-left: 0; - } - - div.widget-liquid-right { - width: 100%; - float: none; - } - - div.widget { - max-width: 480px; - } - - .widget-access-link { - float: none; - margin: 15px 0 0; - } -} - -@media screen and (max-width: 320px) { - div.widget { - max-width: 320px; - } -} - -@media only screen and (min-width: 1250px) { - #widgets-left #available-widgets .widget { - width: 49%; - float: right; - } - - .widget.ui-draggable-dragging { - min-width: 49%; - } - - #widgets-left #available-widgets .widget:nth-child(even) { - float: left; - } - - #widgets-right .sidebars-column-1, - #widgets-right .sidebars-column-2 { - float: right; - width: 49%; - } - - #widgets-right .sidebars-column-1 { - margin-left: 2%; - } - - #widgets-right.single-sidebar .sidebars-column-1, - #widgets-right.single-sidebar .sidebars-column-2 { - float: none; - width: 100%; - margin: 0; - } -} diff --git a/build/wp-admin/css/widgets-rtl.min.css b/build/wp-admin/css/widgets-rtl.min.css deleted file mode 100644 index 6b2787ea06..0000000000 --- a/build/wp-admin/css/widgets-rtl.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.widget{margin:0 auto 10px;position:relative;box-sizing:border-box}.widget.open{z-index:99}.widget.open:focus-within{z-index:100}.widget-top{font-size:13px;font-weight:600;background:#f6f7f7}.widget-top .widget-action{border:0;margin:0;padding:10px;background:0 0;cursor:pointer}.widget-title h3,.widget-title h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:1.23076923}.widget.widget-dirty .widget-control-close-wrapper{display:none}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#646970}.deleting .widget-title,.deleting .widget-top .widget-action .toggle-indicator:before{color:#a7aaad}.wp-core-ui .media-widget-control .selected,.wp-core-ui .media-widget-control.selected .not-selected,.wp-core-ui .media-widget-control.selected .placeholder{display:none}.media-widget-control.selected .selected{display:inline-block}.media-widget-buttons{text-align:right;margin-top:0}.media-widget-control .media-widget-buttons .button{width:auto;height:auto;margin-top:12px;white-space:normal}.media-widget-buttons .button:first-child{margin-left:8px}.media-widget-control .attachment-media-view .button-add-media,.media-widget-control .placeholder{border:1px dashed #c3c4c7;box-sizing:border-box;cursor:pointer;line-height:1.6;padding:9px 0;position:relative;text-align:center;width:100%}.media-widget-control .attachment-media-view .button-add-media{cursor:pointer;background-color:#f0f0f1;color:#2c3338}.media-widget-control .attachment-media-view .button-add-media:hover{background-color:#fff}.media-widget-control .attachment-media-view .button-add-media:focus{background-color:#fff;border-style:solid;border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8);outline:2px solid transparent;outline-offset:-2px}.media-widget-control .media-widget-preview{background:0 0;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 0 0 3px}.media-frame .media-widget-embed-notice{margin-top:16px}.media-widget-control .media-widget-preview img{max-width:100%;vertical-align:middle;background-image:linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(-45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:100% 0,10px 10px;background-size:20px 20px}.media-widget-control .media-widget-preview .wp-video-shortcode{background:#000}.media-frame.media-widget .media-toolbar-secondary{min-width:300px}.media-frame.media-widget .attachment-display-settings .setting.align,.media-frame.media-widget .checkbox-setting.autoplay,.media-frame.media-widget .embed-link-settings .setting.link-text,.media-frame.media-widget .embed-media-settings .legend-inline,.media-frame.media-widget .embed-media-settings .setting.align,.media-frame.media-widget .image-details .embed-media-settings .setting.align,.media-frame.media-widget .replace-attachment{display:none}.media-widget-video-preview{width:100%}.media-widget-video-link{display:inline-block;min-height:132px;width:100%;background:#000}.media-widget-video-link .dashicons{font:normal 60px/1 dashicons;position:relative;width:100%;top:-90px;color:#fff;text-decoration:none}.media-widget-video-link.no-poster .dashicons{top:30px}.media-frame #embed-url-field.invalid,.media-widget-image-link>.link:invalid{border:1px solid #d63638}.media-widget-image-link{margin:1em 0}.media-widget-gallery-preview{display:flex;justify-content:flex-start;flex-wrap:wrap;margin:-1.79104477%}.media-widget-preview.media_gallery,.media-widget-preview.media_image{cursor:pointer}.media-widget-preview .placeholder{background:#f0f0f1}.media-widget-gallery-preview .gallery-item{box-sizing:border-box;width:50%;margin:0;background:0 0}.media-widget-gallery-preview .gallery-item .gallery-icon{margin:4.5%}.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child,.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child~.gallery-item,.media-widget-gallery-preview .gallery-item:nth-last-child(n+5),.media-widget-gallery-preview .gallery-item:nth-last-child(n+5)~.gallery-item,.media-widget-gallery-preview .gallery-item:nth-last-child(n+6),.media-widget-gallery-preview .gallery-item:nth-last-child(n+6)~.gallery-item{max-width:33.33%}.media-widget-gallery-preview .gallery-item img{height:auto;vertical-align:bottom}.media-widget-gallery-preview .gallery-icon{position:relative}.media-widget-gallery-preview .gallery-icon-placeholder{position:absolute;top:0;bottom:0;width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,.5)}.media-widget-gallery-preview .gallery-icon-placeholder-text{font-weight:600;font-size:2em;color:#fff}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #c3c4c7;margin:0 auto 10px;height:45px;width:100%;box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;box-sizing:border-box}.js .sidebar-name{cursor:pointer}.sidebar-name .handlediv{float:left;width:38px;height:38px;border:0;margin:0;padding:8px;background:0 0;cursor:pointer;outline:0}#widgets-right .sidebar-name .handlediv{margin:5px 0 0 3px}.sidebar-name .handlediv:focus{box-shadow:none;outline:1px solid transparent}#widgets-left .sidebar-name .toggle-indicator{display:none}#widgets-left .sidebar-name .handlediv:focus .toggle-indicator,#widgets-left .sidebar-name:hover .toggle-indicator,#widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator{display:block}.sidebar-name .toggle-indicator:before{padding:1px 0 1px 2px;border-radius:50%}.sidebar-name .handlediv:focus .toggle-indicator:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.sidebar-name h2,.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden;white-space:normal;line-height:1.5}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#646970}.inactive-sidebar .description,.widget-holder .description{color:#50575e}#widgets-right .widgets-holder-wrap .description{padding-right:7px;padding-left:7px}div.widget-liquid-left{margin:0;width:38%;float:right}div.widget-liquid-right{float:left;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h2,div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 0 0 10px}#widgets-left .widgets-holder-wrap,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;box-shadow:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{right:auto}.widget-title-action{float:left;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h2,div#widgets-right .sidebar-name h3{padding:15px 7px 15px 15px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.remove-inactive-widgets .spinner,.sidebar-name .spinner{float:none;position:relative;top:-2px;margin:-5px 5px}.sidebar-name .spinner{position:absolute;top:18px;left:30px}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#787c82;box-shadow:0 1px 2px rgba(0,0,0,.3)}.widget-access-link{float:left;margin:-5px 10px 10px 0}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#dcdcde}#available-widgets .widget-action .edit,#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-action .add,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-action .add,#widgets-right .widget-control-edit .add{display:none}.widget-control-edit{display:block;color:#646970;background:#f0f0f1;padding:0 15px;line-height:3.30769230;border-right:1px solid #dcdcde}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#3c434a;border-right:0;outline:1px solid #3c434a}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-inside{display:block;padding:0 15px}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .description,.js .widgets-holder-wrap.closed .remove-inactive-widgets,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget{display:none}.js .widgets-holder-wrap.closed .widget.ui-sortable-helper{display:block}.widget-description,.widget-inside{display:none}.widget-inside{background:#fff}.widget-inside select{max-width:100%}#removing-widget{display:none;font-weight:400;padding-right:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#72aee6}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widgets_access #access-on,.widgets_access .handlediv,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{transition:opacity .1s linear}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#8c8f94;box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #c3c4c7}.widgets-chooser li{border-bottom:1px solid #c3c4c7;background:#fff;margin:0;position:relative}.widgets-chooser .widgets-chooser-button{width:100%;padding:10px 35px 10px 15px;background:0 0;border:0;box-sizing:border-box;text-align:right;cursor:pointer;transition:background .2s ease-in-out}.widgets-chooser .widgets-chooser-button:focus,.widgets-chooser .widgets-chooser-button:hover{outline:0;text-decoration:underline}.widgets-chooser li:last-child{border:none}.widgets-chooser .widgets-chooser-selected .widgets-chooser-button{background:#2271b1;color:#fff}.widgets-chooser .widgets-chooser-selected:before{content:"\f147";display:block;-webkit-font-smoothing:antialiased;font:normal 26px/1 dashicons;color:#fff;position:absolute;top:7px;right:5px}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}#available-widgets .widget .widget-top{cursor:pointer}#available-widgets .widget.ui-draggable-dragging .widget-top{cursor:move}.text-widget-fields{position:relative}.text-widget-fields [hidden]{display:none}.text-widget-fields .wp-pointer.wp-pointer-top{position:absolute;z-index:3;top:100px;left:10px;right:10px}.text-widget-fields .wp-pointer .wp-pointer-arrow{right:auto;left:15px}.text-widget-fields .wp-pointer .wp-pointer-buttons{line-height:1.4}.custom-html-widget-fields>p>.CodeMirror{border:1px solid #dcdcde}.custom-html-widget-fields code{padding-top:1px;padding-bottom:1px}ul.CodeMirror-hints{z-index:101}.widget-control-actions .custom-html-widget-save-button.button.validation-blocked{cursor:not-allowed}@media screen and (max-width:782px){.editwidget .widget-inside input[type=checkbox],.editwidget .widget-inside input[type=radio],.widgets-holder-wrap .widget-inside input[type=checkbox],.widgets-holder-wrap .widget-inside input[type=radio]{margin:.25rem 0 .25rem .25rem}}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-left:none;padding-left:0}#widgets-left .sidebar-name{margin-left:0}#widgets-left #available-widgets .widget-top{margin-left:0}#widgets-left .inactive-sidebar .widgets-sortables{margin-left:0}div.widget-liquid-right{width:100%;float:none}div.widget{max-width:480px}.widget-access-link{float:none;margin:15px 0 0}}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:right}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:left}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:right;width:49%}#widgets-right .sidebars-column-1{margin-left:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}} \ No newline at end of file diff --git a/build/wp-admin/css/widgets.css b/build/wp-admin/css/widgets.css deleted file mode 100644 index 8faca8f9ac..0000000000 --- a/build/wp-admin/css/widgets.css +++ /dev/null @@ -1,876 +0,0 @@ -/* General Widgets Styles */ - -.widget { - margin: 0 auto 10px; - position: relative; - box-sizing: border-box; -} - -.widget.open { - z-index: 99; -} -.widget.open:focus-within { - z-index: 100; -} - -.widget-top { - font-size: 13px; - font-weight: 600; - background: #f6f7f7; -} - -.widget-top .widget-action { - border: 0; - margin: 0; - padding: 10px; - background: none; - cursor: pointer; -} - -.widget-title h3, -.widget-title h4 { - margin: 0; - padding: 15px; - font-size: 1em; - line-height: 1; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - -webkit-user-select: none; - user-select: none; -} - -.widgets-holder-wrap .widget-inside { - border-top: none; - padding: 1px 15px 15px; - line-height: 1.23076923; -} - -.widget.widget-dirty .widget-control-close-wrapper { - display: none; -} - -.in-widget-title, -#widgets-right a.widget-control-edit, -#available-widgets .widget-description { - color: #646970; -} - -.deleting .widget-title, -.deleting .widget-top .widget-action .toggle-indicator:before { - color: #a7aaad; -} - -/* Media Widgets */ -.wp-core-ui .media-widget-control.selected .placeholder, -.wp-core-ui .media-widget-control.selected .not-selected, -.wp-core-ui .media-widget-control .selected { - display: none; -} - -.media-widget-control.selected .selected { - display: inline-block; -} - -.media-widget-buttons { - text-align: left; - margin-top: 0; -} - -.media-widget-control .media-widget-buttons .button { - width: auto; - height: auto; - margin-top: 12px; - white-space: normal; -} - -.media-widget-buttons .button:first-child { - margin-right: 8px; -} - -.media-widget-control .attachment-media-view .button-add-media, -.media-widget-control .placeholder { - border: 1px dashed #c3c4c7; - box-sizing: border-box; - cursor: pointer; - line-height: 1.6; - padding: 9px 0; - position: relative; - text-align: center; - width: 100%; -} - -.media-widget-control .attachment-media-view .button-add-media { - cursor: pointer; - background-color: #f0f0f1; - color: #2c3338; -} - -.media-widget-control .attachment-media-view .button-add-media:hover { - background-color: #fff; -} - -.media-widget-control .attachment-media-view .button-add-media:focus { - background-color: #fff; - border-style: solid; - border-color: #4f94d4; - box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); - /* Only visible in Windows High Contrast mode */ - outline: 2px solid transparent; - outline-offset: -2px; -} - -.media-widget-control .media-widget-preview { - background: transparent; - 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%; - vertical-align: middle; - background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); - background-position: 0 0, 10px 10px; - background-size: 20px 20px; -} -.media-widget-control .media-widget-preview .wp-video-shortcode { - background: #000; -} - -.media-frame.media-widget .media-toolbar-secondary { - min-width: 300px; -} - -.media-frame.media-widget .image-details .embed-media-settings .setting.align, -.media-frame.media-widget .attachment-display-settings .setting.align, -.media-frame.media-widget .embed-media-settings .setting.align, -.media-frame.media-widget .embed-media-settings .legend-inline, -.media-frame.media-widget .embed-link-settings .setting.link-text, -.media-frame.media-widget .replace-attachment, -.media-frame.media-widget .checkbox-setting.autoplay { - display: none; -} - -.media-widget-video-preview { - width: 100%; -} - -.media-widget-video-link { - display: inline-block; - min-height: 132px; - width: 100%; - background: #000; -} - -.media-widget-video-link .dashicons { - font: normal 60px/1 'dashicons'; - position: relative; - width: 100%; - top: -90px; - color: #fff; - text-decoration: none; -} - -.media-widget-video-link.no-poster .dashicons { - top: 30px; -} - -.media-frame #embed-url-field.invalid, -.media-widget-image-link > .link:invalid { - border: 1px solid #d63638; -} - -.media-widget-image-link { - margin: 1em 0; -} - -.media-widget-gallery-preview { - display: flex; - justify-content: flex-start; - flex-wrap: wrap; - margin: -1.79104477%; -} - -.media-widget-preview.media_gallery, -.media-widget-preview.media_image { - cursor: pointer; -} - -.media-widget-preview .placeholder { - background: #f0f0f1; -} - -.media-widget-gallery-preview .gallery-item { - box-sizing: border-box; - width: 50%; - margin: 0; - background: transparent; -} - -.media-widget-gallery-preview .gallery-item .gallery-icon { - margin: 4.5%; -} - -/* - * Use targeted nth-last-child selectors to control the size of each image - * based on how many gallery items are present in the grid. - * See: https://alistapart.com/article/quantity-queries-for-css - */ -.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child, -.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item, -.media-widget-gallery-preview .gallery-item:nth-last-child(n+5), -.media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item, -.media-widget-gallery-preview .gallery-item:nth-last-child(n+6), -.media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item { - max-width: 33.33%; -} - -.media-widget-gallery-preview .gallery-item img { - height: auto; - vertical-align: bottom; -} - -.media-widget-gallery-preview .gallery-icon { - position: relative; -} - -.media-widget-gallery-preview .gallery-icon-placeholder { - position: absolute; - top: 0; - bottom: 0; - width: 100%; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - background-color: rgba(0, 0, 0, 0.5); -} - -.media-widget-gallery-preview .gallery-icon-placeholder-text { - font-weight: 600; - font-size: 2em; - color: #fff; -} - - -/* Widget Dragging Helpers */ -.widget.ui-draggable-dragging { - min-width: 100%; -} - -.widget.ui-sortable-helper { - opacity: 0.8; -} - -.widget-placeholder { - border: 1px dashed #c3c4c7; - margin: 0 auto 10px; - height: 45px; - width: 100%; - box-sizing: border-box; -} - -#widgets-right .widget-placeholder { - margin-top: 0; -} - -#widgets-right .closed .widget-placeholder { - height: 0; - border: 0; - margin-top: -10px; -} - -/* Widget Sidebars */ -.sidebar-name { - position: relative; - box-sizing: border-box; -} - -.js .sidebar-name { - cursor: pointer; -} - -.sidebar-name .handlediv { - float: right; - width: 38px; - height: 38px; - border: 0; - margin: 0; - padding: 8px; - background: none; - cursor: pointer; - outline: none; -} - -#widgets-right .sidebar-name .handlediv { - margin: 5px 3px 0 0; -} - -.sidebar-name .handlediv:focus { - box-shadow: none; - /* Only visible in Windows High Contrast mode */ - outline: 1px solid transparent; -} - -#widgets-left .sidebar-name .toggle-indicator { - display: none; -} - -#widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator, -#widgets-left .sidebar-name:hover .toggle-indicator, -#widgets-left .sidebar-name .handlediv:focus .toggle-indicator { - display: block; -} - -.sidebar-name .toggle-indicator:before { - padding: 1px 2px 1px 0; - border-radius: 50%; -} - -.sidebar-name .handlediv:focus .toggle-indicator:before { - box-shadow: - 0 0 0 1px #4f94d4, - 0 0 2px 1px rgba(79, 148, 212, 0.8); -} - -.sidebar-name h2, -.sidebar-name h3 { - margin: 0; - padding: 8px 10px; - overflow: hidden; - white-space: normal; - line-height: 1.5; -} - -.widgets-holder-wrap .description { - padding: 0 0 15px; - margin: 0; - font-style: normal; - color: #646970; -} - -.widget-holder .description, -.inactive-sidebar .description { - color: #50575e; -} - -#widgets-right .widgets-holder-wrap .description { - padding-left: 7px; - padding-right: 7px; -} - -/* Widgets 2-col Layout */ -div.widget-liquid-left { - margin: 0; - width: 38%; - float: left; -} - -div.widget-liquid-right { - float: right; - width: 58%; -} - -/* Widgets Left - Available Widgets */ - -div#widgets-left { - padding-top: 12px; -} - -div#widgets-left .closed .sidebar-name, -div#widgets-left .inactive-sidebar.closed .sidebar-name { - margin-bottom: 10px; -} - -div#widgets-left .sidebar-name h2, -div#widgets-left .sidebar-name h3 { - padding: 10px 0; - margin: 0 10px 0 0; -} - -#widgets-left .widgets-holder-wrap, -div#widgets-left .widget-holder { - background: transparent; - border: none; -} - -#widgets-left .widgets-holder-wrap { - border: none; - box-shadow: none; -} - -#available-widgets .widget { - margin: 0; -} - -#available-widgets .widget:nth-child(odd) { - clear: both; -} - -#available-widgets .widget .widget-description { - display: block; - padding: 10px 15px; - font-size: 12px; - overflow-wrap: break-word; - word-wrap: break-word; - -ms-word-break: break-all; - word-break: break-word; - -webkit-hyphens: auto; - hyphens: auto; -} - -#available-widgets #widget-list { - position: relative; -} - -/* Inactive Sidebars */ -#widgets-left .inactive-sidebar { - clear: both; - width: 100%; - background: transparent; - padding: 0; - margin: 0 0 20px; - border: none; - box-shadow: none; -} - -#widgets-left .inactive-sidebar.first { - margin-top: 40px; -} - -/* Not sure what this is for... */ -div#widgets-left .inactive-sidebar .widget.expanded { - left: auto; -} - -.widget-title-action { - float: right; - position: relative; -} - -div#widgets-left .inactive-sidebar .widgets-sortables { - min-height: 42px; - padding: 0; - background: transparent; - margin: 0; - position: relative; -} - -/* Widgets Right */ - -div#widgets-right .sidebars-column-1, -div#widgets-right .sidebars-column-2 { - max-width: 450px; -} - -div#widgets-right .widgets-holder-wrap { - margin: 10px 0 0; -} - -div#widgets-right .sidebar-description { - min-height: 20px; - margin-top: -5px; -} - -div#widgets-right .sidebar-name h2, -div#widgets-right .sidebar-name h3 { - padding: 15px 15px 15px 7px; -} - -div#widgets-right .widget-top { - padding: 0; -} - -div#widgets-right .widgets-sortables { - padding: 0 8px; - margin-bottom: 9px; - position: relative; - min-height: 123px; -} - -div#widgets-right .closed .widgets-sortables { - min-height: 0; - margin-bottom: 0; -} - -.sidebar-name .spinner, -.remove-inactive-widgets .spinner { - float: none; - position: relative; - top: -2px; - margin: -5px 5px; -} - -.sidebar-name .spinner { - position: absolute; - top: 18px; - right: 30px; -} - -/* Dragging a widget over a closed sidebar */ -#widgets-right .widgets-holder-wrap.widget-hover { - border-color: #787c82; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); -} - -/* Accessibility Mode */ -.widget-access-link { - float: right; - margin: -5px 0 10px 10px; -} - -.widgets_access #widgets-left .widget .widget-top { - cursor: auto; -} - -.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, -.widgets_access #wpwrap .widgets-holder-wrap.closed .widget, -.widgets_access #wpwrap .widget-control-edit { - display: block; -} - -.widgets_access #widgets-left .widget .widget-top:hover, -.widgets_access #widgets-right .widget .widget-top:hover { - border-color: #dcdcde; -} - -#available-widgets .widget-control-edit .edit, -#available-widgets .widget-action .edit, -#widgets-left .inactive-sidebar .widget-control-edit .add, -#widgets-left .inactive-sidebar .widget-action .add, -#widgets-right .widget-control-edit .add, -#widgets-right .widget-action .add { - display: none; -} - -.widget-control-edit { - display: block; - color: #646970; - background: #f0f0f1; - padding: 0 15px; - line-height: 3.30769230; - border-left: 1px solid #dcdcde; -} - -#widgets-left .widget-control-edit:hover, -#widgets-right .widget-control-edit:hover { - color: #fff; - background: #3c434a; - border-left: 0; - outline: 1px solid #3c434a; -} - -.widgets-holder-wrap .sidebar-name, -.widgets-holder-wrap .sidebar-description { - -webkit-user-select: none; - user-select: none; -} - -.editwidget { - margin: 0 auto; -} - -.editwidget .widget-inside { - display: block; - padding: 0 15px; -} - -.editwidget .widget-control-actions { - margin-top: 20px; -} - -.js .widgets-holder-wrap.closed .widget, -.js .widgets-holder-wrap.closed .sidebar-description, -.js .widgets-holder-wrap.closed .remove-inactive-widgets, -.js .widgets-holder-wrap.closed .description, -.js .closed br.clear { - display: none; -} - -.js .widgets-holder-wrap.closed .widget.ui-sortable-helper { - display: block; -} - -/* Hide Widget Settings by Default */ -.widget-inside, -.widget-description { - display: none; -} - -.widget-inside { - background: #fff; -} - -.widget-inside select { - max-width: 100%; -} - -/* Dragging widgets over the available widget area show's a "Deactivate" message */ -#removing-widget { - display: none; - font-weight: 400; - padding-left: 15px; - font-size: 12px; - line-height: 1; - color: #000; -} - -.js #removing-widget { - color: #72aee6; -} - -.widget-control-noform, -#access-off, -.widgets_access .widget-action, -.widgets_access .handlediv, -.widgets_access #access-on, -.widgets_access .widget-holder .description, -.no-js .widget-holder .description { - display: none; -} - -.widgets_access .widget-holder, -.widgets_access #widget-list { - padding-top: 10px; -} - -.widgets_access #access-off { - display: inline; -} - -.widgets_access .sidebar-name, -.widgets_access .widget .widget-top { - cursor: default; -} - - -/* Widgets Area Chooser */ -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - transition: opacity 0.1s linear; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget, -.widget-liquid-left #widgets-left.chooser .inactive-sidebar { - /* -webkit-filter: blur(1px); */ - opacity: 0.2; - pointer-events: none; -} - -.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { - /* -webkit-filter: none; */ - opacity: 1; - pointer-events: auto; -} - -.widgets-chooser ul, -#widgets-left .widget-in-question .widget-top, -#available-widgets .widget-top:hover, -div#widgets-right .widget-top:hover, -#widgets-left .widget-top:hover { - border-color: #8c8f94; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.widgets-chooser ul.widgets-chooser-sidebars { - margin: 0; - list-style-type: none; - max-height: 300px; - overflow: auto; -} - -.widgets-chooser { - display: none; -} - -.widgets-chooser ul { - border: 1px solid #c3c4c7; -} - -.widgets-chooser li { - border-bottom: 1px solid #c3c4c7; - background: #fff; - margin: 0; - position: relative; -} - -.widgets-chooser .widgets-chooser-button { - width: 100%; - padding: 10px 15px 10px 35px; - background: transparent; - border: 0; - box-sizing: border-box; - text-align: left; - cursor: pointer; - transition: background 0.2s ease-in-out; -} - -/* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */ -.widgets-chooser .widgets-chooser-button:hover, -.widgets-chooser .widgets-chooser-button:focus { - outline: none; - text-decoration: underline; -} - -.widgets-chooser li:last-child { - border: none; -} - -.widgets-chooser .widgets-chooser-selected .widgets-chooser-button { - background: #2271b1; - color: #fff; -} - -.widgets-chooser .widgets-chooser-selected:before { - content: "\f147"; - display: block; - -webkit-font-smoothing: antialiased; - font: normal 26px/1 dashicons; - color: #fff; - position: absolute; - top: 7px; - left: 5px; -} - -.widgets-chooser .widgets-chooser-actions { - padding: 10px 0 12px; - text-align: center; -} - -#available-widgets .widget .widget-top { - cursor: pointer; -} - -#available-widgets .widget.ui-draggable-dragging .widget-top { - cursor: move; -} - -/* =Specific widget styling --------------------------------------------------------------- */ -.text-widget-fields { - position: relative; -} -.text-widget-fields [hidden] { - display: none; -} -.text-widget-fields .wp-pointer.wp-pointer-top { - position: absolute; - z-index: 3; - top: 100px; - right: 10px; - left: 10px; -} -.text-widget-fields .wp-pointer .wp-pointer-arrow { - left: auto; - right: 15px; -} -.text-widget-fields .wp-pointer .wp-pointer-buttons { - line-height: 1.4; -} - -.custom-html-widget-fields > p > .CodeMirror { - border: 1px solid #dcdcde; -} -.custom-html-widget-fields code { - padding-top: 1px; - padding-bottom: 1px; -} -ul.CodeMirror-hints { - z-index: 101; /* Due to z-index 100 set on .widget.open */ -} -.widget-control-actions .custom-html-widget-save-button.button.validation-blocked { - cursor: not-allowed; -} - -/* =Media Queries --------------------------------------------------------------- */ - -@media screen and (max-width: 782px) { - .widgets-holder-wrap .widget-inside input[type="checkbox"], - .widgets-holder-wrap .widget-inside input[type="radio"], - .editwidget .widget-inside input[type="checkbox"], /* Selectors for the "accessibility mode" page. */ - .editwidget .widget-inside input[type="radio"] { - margin: 0.25rem 0.25rem 0.25rem 0; - } -} - -@media screen and (max-width: 480px) { - div.widget-liquid-left { - width: 100%; - float: none; - border-right: none; - padding-right: 0; - } - - #widgets-left .sidebar-name { - margin-right: 0; - } - - #widgets-left #available-widgets .widget-top { - margin-right: 0; - } - - #widgets-left .inactive-sidebar .widgets-sortables { - margin-right: 0; - } - - div.widget-liquid-right { - width: 100%; - float: none; - } - - div.widget { - max-width: 480px; - } - - .widget-access-link { - float: none; - margin: 15px 0 0; - } -} - -@media screen and (max-width: 320px) { - div.widget { - max-width: 320px; - } -} - -@media only screen and (min-width: 1250px) { - #widgets-left #available-widgets .widget { - width: 49%; - float: left; - } - - .widget.ui-draggable-dragging { - min-width: 49%; - } - - #widgets-left #available-widgets .widget:nth-child(even) { - float: right; - } - - #widgets-right .sidebars-column-1, - #widgets-right .sidebars-column-2 { - float: left; - width: 49%; - } - - #widgets-right .sidebars-column-1 { - margin-right: 2%; - } - - #widgets-right.single-sidebar .sidebars-column-1, - #widgets-right.single-sidebar .sidebars-column-2 { - float: none; - width: 100%; - margin: 0; - } -} diff --git a/build/wp-admin/css/widgets.min.css b/build/wp-admin/css/widgets.min.css deleted file mode 100644 index d343c3426d..0000000000 --- a/build/wp-admin/css/widgets.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -.widget{margin:0 auto 10px;position:relative;box-sizing:border-box}.widget.open{z-index:99}.widget.open:focus-within{z-index:100}.widget-top{font-size:13px;font-weight:600;background:#f6f7f7}.widget-top .widget-action{border:0;margin:0;padding:10px;background:0 0;cursor:pointer}.widget-title h3,.widget-title h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:1.23076923}.widget.widget-dirty .widget-control-close-wrapper{display:none}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#646970}.deleting .widget-title,.deleting .widget-top .widget-action .toggle-indicator:before{color:#a7aaad}.wp-core-ui .media-widget-control .selected,.wp-core-ui .media-widget-control.selected .not-selected,.wp-core-ui .media-widget-control.selected .placeholder{display:none}.media-widget-control.selected .selected{display:inline-block}.media-widget-buttons{text-align:left;margin-top:0}.media-widget-control .media-widget-buttons .button{width:auto;height:auto;margin-top:12px;white-space:normal}.media-widget-buttons .button:first-child{margin-right:8px}.media-widget-control .attachment-media-view .button-add-media,.media-widget-control .placeholder{border:1px dashed #c3c4c7;box-sizing:border-box;cursor:pointer;line-height:1.6;padding:9px 0;position:relative;text-align:center;width:100%}.media-widget-control .attachment-media-view .button-add-media{cursor:pointer;background-color:#f0f0f1;color:#2c3338}.media-widget-control .attachment-media-view .button-add-media:hover{background-color:#fff}.media-widget-control .attachment-media-view .button-add-media:focus{background-color:#fff;border-style:solid;border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8);outline:2px solid transparent;outline-offset:-2px}.media-widget-control .media-widget-preview{background:0 0;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%;vertical-align:middle;background-image:linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7),linear-gradient(45deg,#c3c4c7 25%,transparent 25%,transparent 75%,#c3c4c7 75%,#c3c4c7);background-position:0 0,10px 10px;background-size:20px 20px}.media-widget-control .media-widget-preview .wp-video-shortcode{background:#000}.media-frame.media-widget .media-toolbar-secondary{min-width:300px}.media-frame.media-widget .attachment-display-settings .setting.align,.media-frame.media-widget .checkbox-setting.autoplay,.media-frame.media-widget .embed-link-settings .setting.link-text,.media-frame.media-widget .embed-media-settings .legend-inline,.media-frame.media-widget .embed-media-settings .setting.align,.media-frame.media-widget .image-details .embed-media-settings .setting.align,.media-frame.media-widget .replace-attachment{display:none}.media-widget-video-preview{width:100%}.media-widget-video-link{display:inline-block;min-height:132px;width:100%;background:#000}.media-widget-video-link .dashicons{font:normal 60px/1 dashicons;position:relative;width:100%;top:-90px;color:#fff;text-decoration:none}.media-widget-video-link.no-poster .dashicons{top:30px}.media-frame #embed-url-field.invalid,.media-widget-image-link>.link:invalid{border:1px solid #d63638}.media-widget-image-link{margin:1em 0}.media-widget-gallery-preview{display:flex;justify-content:flex-start;flex-wrap:wrap;margin:-1.79104477%}.media-widget-preview.media_gallery,.media-widget-preview.media_image{cursor:pointer}.media-widget-preview .placeholder{background:#f0f0f1}.media-widget-gallery-preview .gallery-item{box-sizing:border-box;width:50%;margin:0;background:0 0}.media-widget-gallery-preview .gallery-item .gallery-icon{margin:4.5%}.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child,.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child~.gallery-item,.media-widget-gallery-preview .gallery-item:nth-last-child(n+5),.media-widget-gallery-preview .gallery-item:nth-last-child(n+5)~.gallery-item,.media-widget-gallery-preview .gallery-item:nth-last-child(n+6),.media-widget-gallery-preview .gallery-item:nth-last-child(n+6)~.gallery-item{max-width:33.33%}.media-widget-gallery-preview .gallery-item img{height:auto;vertical-align:bottom}.media-widget-gallery-preview .gallery-icon{position:relative}.media-widget-gallery-preview .gallery-icon-placeholder{position:absolute;top:0;bottom:0;width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background-color:rgba(0,0,0,.5)}.media-widget-gallery-preview .gallery-icon-placeholder-text{font-weight:600;font-size:2em;color:#fff}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #c3c4c7;margin:0 auto 10px;height:45px;width:100%;box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;box-sizing:border-box}.js .sidebar-name{cursor:pointer}.sidebar-name .handlediv{float:right;width:38px;height:38px;border:0;margin:0;padding:8px;background:0 0;cursor:pointer;outline:0}#widgets-right .sidebar-name .handlediv{margin:5px 3px 0 0}.sidebar-name .handlediv:focus{box-shadow:none;outline:1px solid transparent}#widgets-left .sidebar-name .toggle-indicator{display:none}#widgets-left .sidebar-name .handlediv:focus .toggle-indicator,#widgets-left .sidebar-name:hover .toggle-indicator,#widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator{display:block}.sidebar-name .toggle-indicator:before{padding:1px 2px 1px 0;border-radius:50%}.sidebar-name .handlediv:focus .toggle-indicator:before{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}.sidebar-name h2,.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden;white-space:normal;line-height:1.5}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#646970}.inactive-sidebar .description,.widget-holder .description{color:#50575e}#widgets-right .widgets-holder-wrap .description{padding-left:7px;padding-right:7px}div.widget-liquid-left{margin:0;width:38%;float:left}div.widget-liquid-right{float:right;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h2,div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 10px 0 0}#widgets-left .widgets-holder-wrap,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;box-shadow:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{left:auto}.widget-title-action{float:right;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h2,div#widgets-right .sidebar-name h3{padding:15px 15px 15px 7px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.remove-inactive-widgets .spinner,.sidebar-name .spinner{float:none;position:relative;top:-2px;margin:-5px 5px}.sidebar-name .spinner{position:absolute;top:18px;right:30px}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#787c82;box-shadow:0 1px 2px rgba(0,0,0,.3)}.widget-access-link{float:right;margin:-5px 0 10px 10px}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#dcdcde}#available-widgets .widget-action .edit,#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-action .add,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-action .add,#widgets-right .widget-control-edit .add{display:none}.widget-control-edit{display:block;color:#646970;background:#f0f0f1;padding:0 15px;line-height:3.30769230;border-left:1px solid #dcdcde}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#3c434a;border-left:0;outline:1px solid #3c434a}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-inside{display:block;padding:0 15px}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .description,.js .widgets-holder-wrap.closed .remove-inactive-widgets,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget{display:none}.js .widgets-holder-wrap.closed .widget.ui-sortable-helper{display:block}.widget-description,.widget-inside{display:none}.widget-inside{background:#fff}.widget-inside select{max-width:100%}#removing-widget{display:none;font-weight:400;padding-left:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#72aee6}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widgets_access #access-on,.widgets_access .handlediv,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{transition:opacity .1s linear}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#8c8f94;box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #c3c4c7}.widgets-chooser li{border-bottom:1px solid #c3c4c7;background:#fff;margin:0;position:relative}.widgets-chooser .widgets-chooser-button{width:100%;padding:10px 15px 10px 35px;background:0 0;border:0;box-sizing:border-box;text-align:left;cursor:pointer;transition:background .2s ease-in-out}.widgets-chooser .widgets-chooser-button:focus,.widgets-chooser .widgets-chooser-button:hover{outline:0;text-decoration:underline}.widgets-chooser li:last-child{border:none}.widgets-chooser .widgets-chooser-selected .widgets-chooser-button{background:#2271b1;color:#fff}.widgets-chooser .widgets-chooser-selected:before{content:"\f147";display:block;-webkit-font-smoothing:antialiased;font:normal 26px/1 dashicons;color:#fff;position:absolute;top:7px;left:5px}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}#available-widgets .widget .widget-top{cursor:pointer}#available-widgets .widget.ui-draggable-dragging .widget-top{cursor:move}.text-widget-fields{position:relative}.text-widget-fields [hidden]{display:none}.text-widget-fields .wp-pointer.wp-pointer-top{position:absolute;z-index:3;top:100px;right:10px;left:10px}.text-widget-fields .wp-pointer .wp-pointer-arrow{left:auto;right:15px}.text-widget-fields .wp-pointer .wp-pointer-buttons{line-height:1.4}.custom-html-widget-fields>p>.CodeMirror{border:1px solid #dcdcde}.custom-html-widget-fields code{padding-top:1px;padding-bottom:1px}ul.CodeMirror-hints{z-index:101}.widget-control-actions .custom-html-widget-save-button.button.validation-blocked{cursor:not-allowed}@media screen and (max-width:782px){.editwidget .widget-inside input[type=checkbox],.editwidget .widget-inside input[type=radio],.widgets-holder-wrap .widget-inside input[type=checkbox],.widgets-holder-wrap .widget-inside input[type=radio]{margin:.25rem .25rem .25rem 0}}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-right:none;padding-right:0}#widgets-left .sidebar-name{margin-right:0}#widgets-left #available-widgets .widget-top{margin-right:0}#widgets-left .inactive-sidebar .widgets-sortables{margin-right:0}div.widget-liquid-right{width:100%;float:none}div.widget{max-width:480px}.widget-access-link{float:none;margin:15px 0 0}}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:left}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:right}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:left;width:49%}#widgets-right .sidebars-column-1{margin-right:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}} \ No newline at end of file diff --git a/build/wp-admin/css/wp-admin-rtl.css b/build/wp-admin/css/wp-admin-rtl.css deleted file mode 100644 index 81d66f63ad..0000000000 --- a/build/wp-admin/css/wp-admin-rtl.css +++ /dev/null @@ -1,16 +0,0 @@ -/*! This file is auto-generated */ -@import url(common-rtl.css); -@import url(forms-rtl.css); -@import url(admin-menu-rtl.css); -@import url(dashboard-rtl.css); -@import url(list-tables-rtl.css); -@import url(edit-rtl.css); -@import url(revisions-rtl.css); -@import url(media-rtl.css); -@import url(themes-rtl.css); -@import url(about-rtl.css); -@import url(nav-menus-rtl.css); -@import url(widgets-rtl.css); -@import url(site-icon-rtl.css); -@import url(l10n-rtl.css); -@import url(site-health-rtl.css); diff --git a/build/wp-admin/css/wp-admin-rtl.min.css b/build/wp-admin/css/wp-admin-rtl.min.css deleted file mode 100644 index 110850bb41..0000000000 --- a/build/wp-admin/css/wp-admin-rtl.min.css +++ /dev/null @@ -1,16 +0,0 @@ -/*! This file is auto-generated */ -@import url(common-rtl.min.css); -@import url(forms-rtl.min.css); -@import url(admin-menu-rtl.min.css); -@import url(dashboard-rtl.min.css); -@import url(list-tables-rtl.min.css); -@import url(edit-rtl.min.css); -@import url(revisions-rtl.min.css); -@import url(media-rtl.min.css); -@import url(themes-rtl.min.css); -@import url(about-rtl.min.css); -@import url(nav-menus-rtl.min.css); -@import url(widgets-rtl.min.css); -@import url(site-icon-rtl.min.css); -@import url(l10n-rtl.min.css); -@import url(site-health-rtl.min.css); diff --git a/build/wp-admin/css/wp-admin.css b/build/wp-admin/css/wp-admin.css deleted file mode 100644 index b475cf0aaf..0000000000 --- a/build/wp-admin/css/wp-admin.css +++ /dev/null @@ -1,15 +0,0 @@ -@import url(common.css); -@import url(forms.css); -@import url(admin-menu.css); -@import url(dashboard.css); -@import url(list-tables.css); -@import url(edit.css); -@import url(revisions.css); -@import url(media.css); -@import url(themes.css); -@import url(about.css); -@import url(nav-menus.css); -@import url(widgets.css); -@import url(site-icon.css); -@import url(l10n.css); -@import url(site-health.css); diff --git a/build/wp-admin/css/wp-admin.min.css b/build/wp-admin/css/wp-admin.min.css deleted file mode 100644 index 2fdbba502e..0000000000 --- a/build/wp-admin/css/wp-admin.min.css +++ /dev/null @@ -1,16 +0,0 @@ -/*! This file is auto-generated */ -@import url(common.min.css); -@import url(forms.min.css); -@import url(admin-menu.min.css); -@import url(dashboard.min.css); -@import url(list-tables.min.css); -@import url(edit.min.css); -@import url(revisions.min.css); -@import url(media.min.css); -@import url(themes.min.css); -@import url(about.min.css); -@import url(nav-menus.min.css); -@import url(widgets.min.css); -@import url(site-icon.min.css); -@import url(l10n.min.css); -@import url(site-health.min.css); diff --git a/build/wp-admin/images/about-header-about.svg b/build/wp-admin/images/about-header-about.svg deleted file mode 100644 index ddc3091633..0000000000 --- a/build/wp-admin/images/about-header-about.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/wp-admin/images/about-header-credits.svg b/build/wp-admin/images/about-header-credits.svg deleted file mode 100644 index c954e3bac8..0000000000 --- a/build/wp-admin/images/about-header-credits.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/wp-admin/images/about-header-freedoms.svg b/build/wp-admin/images/about-header-freedoms.svg deleted file mode 100644 index 85ddf75cfd..0000000000 --- a/build/wp-admin/images/about-header-freedoms.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/wp-admin/images/about-header-privacy.svg b/build/wp-admin/images/about-header-privacy.svg deleted file mode 100644 index 3a11bfd343..0000000000 --- a/build/wp-admin/images/about-header-privacy.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/wp-admin/images/about-texture.png b/build/wp-admin/images/about-texture.png deleted file mode 100644 index dd3254f3f0..0000000000 Binary files a/build/wp-admin/images/about-texture.png and /dev/null differ diff --git a/build/wp-admin/images/align-center-2x.png b/build/wp-admin/images/align-center-2x.png deleted file mode 100644 index 0b6273445a..0000000000 Binary files a/build/wp-admin/images/align-center-2x.png and /dev/null differ diff --git a/build/wp-admin/images/align-center.png b/build/wp-admin/images/align-center.png deleted file mode 100644 index e7bc807880..0000000000 Binary files a/build/wp-admin/images/align-center.png and /dev/null differ diff --git a/build/wp-admin/images/align-left-2x.png b/build/wp-admin/images/align-left-2x.png deleted file mode 100644 index 1b2d428333..0000000000 Binary files a/build/wp-admin/images/align-left-2x.png and /dev/null differ diff --git a/build/wp-admin/images/align-left.png b/build/wp-admin/images/align-left.png deleted file mode 100644 index b438f7e003..0000000000 Binary files a/build/wp-admin/images/align-left.png and /dev/null differ diff --git a/build/wp-admin/images/align-none-2x.png b/build/wp-admin/images/align-none-2x.png deleted file mode 100644 index a64a0bed51..0000000000 Binary files a/build/wp-admin/images/align-none-2x.png and /dev/null differ diff --git a/build/wp-admin/images/align-none.png b/build/wp-admin/images/align-none.png deleted file mode 100644 index b72df64716..0000000000 Binary files a/build/wp-admin/images/align-none.png and /dev/null differ diff --git a/build/wp-admin/images/align-right-2x.png b/build/wp-admin/images/align-right-2x.png deleted file mode 100644 index 013150513b..0000000000 Binary files a/build/wp-admin/images/align-right-2x.png and /dev/null differ diff --git a/build/wp-admin/images/align-right.png b/build/wp-admin/images/align-right.png deleted file mode 100644 index 86a1b2e876..0000000000 Binary files a/build/wp-admin/images/align-right.png and /dev/null differ diff --git a/build/wp-admin/images/arrows-2x.png b/build/wp-admin/images/arrows-2x.png deleted file mode 100644 index 0b0c53d1a6..0000000000 Binary files a/build/wp-admin/images/arrows-2x.png and /dev/null differ diff --git a/build/wp-admin/images/arrows.png b/build/wp-admin/images/arrows.png deleted file mode 100644 index 9e4a96cd28..0000000000 Binary files a/build/wp-admin/images/arrows.png and /dev/null differ diff --git a/build/wp-admin/images/browser-rtl.png b/build/wp-admin/images/browser-rtl.png deleted file mode 100644 index a4d369563b..0000000000 Binary files a/build/wp-admin/images/browser-rtl.png and /dev/null differ diff --git a/build/wp-admin/images/browser.png b/build/wp-admin/images/browser.png deleted file mode 100644 index 83ead4747b..0000000000 Binary files a/build/wp-admin/images/browser.png and /dev/null differ diff --git a/build/wp-admin/images/bubble_bg-2x.gif b/build/wp-admin/images/bubble_bg-2x.gif deleted file mode 100644 index 8e34e01dcd..0000000000 Binary files a/build/wp-admin/images/bubble_bg-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/bubble_bg.gif b/build/wp-admin/images/bubble_bg.gif deleted file mode 100644 index bcf74c4854..0000000000 Binary files a/build/wp-admin/images/bubble_bg.gif and /dev/null differ diff --git a/build/wp-admin/images/comment-grey-bubble-2x.png b/build/wp-admin/images/comment-grey-bubble-2x.png deleted file mode 100644 index 0eec4a6df0..0000000000 Binary files a/build/wp-admin/images/comment-grey-bubble-2x.png and /dev/null differ diff --git a/build/wp-admin/images/comment-grey-bubble.png b/build/wp-admin/images/comment-grey-bubble.png deleted file mode 100644 index 558ee8f32d..0000000000 Binary files a/build/wp-admin/images/comment-grey-bubble.png and /dev/null differ diff --git a/build/wp-admin/images/date-button-2x.gif b/build/wp-admin/images/date-button-2x.gif deleted file mode 100644 index 281a6654fa..0000000000 Binary files a/build/wp-admin/images/date-button-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/date-button.gif b/build/wp-admin/images/date-button.gif deleted file mode 100644 index 326a7b71ca..0000000000 Binary files a/build/wp-admin/images/date-button.gif and /dev/null differ diff --git a/build/wp-admin/images/freedom-1.svg b/build/wp-admin/images/freedom-1.svg deleted file mode 100644 index 24f27d2d5f..0000000000 --- a/build/wp-admin/images/freedom-1.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/freedom-2.svg b/build/wp-admin/images/freedom-2.svg deleted file mode 100644 index 79bd3166a3..0000000000 --- a/build/wp-admin/images/freedom-2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/freedom-3.svg b/build/wp-admin/images/freedom-3.svg deleted file mode 100644 index 215c0b0510..0000000000 --- a/build/wp-admin/images/freedom-3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/freedom-4.svg b/build/wp-admin/images/freedom-4.svg deleted file mode 100644 index 0347b33c18..0000000000 --- a/build/wp-admin/images/freedom-4.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/generic.png b/build/wp-admin/images/generic.png deleted file mode 100644 index 00575a078f..0000000000 Binary files a/build/wp-admin/images/generic.png and /dev/null differ diff --git a/build/wp-admin/images/icons32-2x.png b/build/wp-admin/images/icons32-2x.png deleted file mode 100644 index b86b727250..0000000000 Binary files a/build/wp-admin/images/icons32-2x.png and /dev/null differ diff --git a/build/wp-admin/images/icons32-vs-2x.png b/build/wp-admin/images/icons32-vs-2x.png deleted file mode 100644 index 54e2fb2f5f..0000000000 Binary files a/build/wp-admin/images/icons32-vs-2x.png and /dev/null differ diff --git a/build/wp-admin/images/icons32-vs.png b/build/wp-admin/images/icons32-vs.png deleted file mode 100644 index e46d6bebb7..0000000000 Binary files a/build/wp-admin/images/icons32-vs.png and /dev/null differ diff --git a/build/wp-admin/images/icons32.png b/build/wp-admin/images/icons32.png deleted file mode 100644 index e491b1a8d2..0000000000 Binary files a/build/wp-admin/images/icons32.png and /dev/null differ diff --git a/build/wp-admin/images/imgedit-icons-2x.png b/build/wp-admin/images/imgedit-icons-2x.png deleted file mode 100644 index 98dd412404..0000000000 Binary files a/build/wp-admin/images/imgedit-icons-2x.png and /dev/null differ diff --git a/build/wp-admin/images/imgedit-icons.png b/build/wp-admin/images/imgedit-icons.png deleted file mode 100644 index 0d544ee9b8..0000000000 Binary files a/build/wp-admin/images/imgedit-icons.png and /dev/null differ diff --git a/build/wp-admin/images/list-2x.png b/build/wp-admin/images/list-2x.png deleted file mode 100644 index 05c6eb37ff..0000000000 Binary files a/build/wp-admin/images/list-2x.png and /dev/null differ diff --git a/build/wp-admin/images/list.png b/build/wp-admin/images/list.png deleted file mode 100644 index 85d1295e81..0000000000 Binary files a/build/wp-admin/images/list.png and /dev/null differ diff --git a/build/wp-admin/images/loading.gif b/build/wp-admin/images/loading.gif deleted file mode 100644 index fdc589f809..0000000000 Binary files a/build/wp-admin/images/loading.gif and /dev/null differ diff --git a/build/wp-admin/images/marker.png b/build/wp-admin/images/marker.png deleted file mode 100644 index 30313b871d..0000000000 Binary files a/build/wp-admin/images/marker.png and /dev/null differ diff --git a/build/wp-admin/images/mask.png b/build/wp-admin/images/mask.png deleted file mode 100644 index 0fc9cbe630..0000000000 Binary files a/build/wp-admin/images/mask.png and /dev/null differ diff --git a/build/wp-admin/images/media-button-2x.png b/build/wp-admin/images/media-button-2x.png deleted file mode 100644 index b8f8ed4df8..0000000000 Binary files a/build/wp-admin/images/media-button-2x.png and /dev/null differ diff --git a/build/wp-admin/images/media-button-image.gif b/build/wp-admin/images/media-button-image.gif deleted file mode 100644 index 69efa7b484..0000000000 Binary files a/build/wp-admin/images/media-button-image.gif and /dev/null differ diff --git a/build/wp-admin/images/media-button-music.gif b/build/wp-admin/images/media-button-music.gif deleted file mode 100644 index 3bcda105c6..0000000000 Binary files a/build/wp-admin/images/media-button-music.gif and /dev/null differ diff --git a/build/wp-admin/images/media-button-other.gif b/build/wp-admin/images/media-button-other.gif deleted file mode 100644 index cfe16a83df..0000000000 Binary files a/build/wp-admin/images/media-button-other.gif and /dev/null differ diff --git a/build/wp-admin/images/media-button-video.gif b/build/wp-admin/images/media-button-video.gif deleted file mode 100644 index 9b4a7963ea..0000000000 Binary files a/build/wp-admin/images/media-button-video.gif and /dev/null differ diff --git a/build/wp-admin/images/media-button.png b/build/wp-admin/images/media-button.png deleted file mode 100644 index 752ee45232..0000000000 Binary files a/build/wp-admin/images/media-button.png and /dev/null differ diff --git a/build/wp-admin/images/menu-2x.png b/build/wp-admin/images/menu-2x.png deleted file mode 100644 index 7131763a59..0000000000 Binary files a/build/wp-admin/images/menu-2x.png and /dev/null differ diff --git a/build/wp-admin/images/menu-vs-2x.png b/build/wp-admin/images/menu-vs-2x.png deleted file mode 100644 index 99b382369f..0000000000 Binary files a/build/wp-admin/images/menu-vs-2x.png and /dev/null differ diff --git a/build/wp-admin/images/menu-vs.png b/build/wp-admin/images/menu-vs.png deleted file mode 100644 index fe281087de..0000000000 Binary files a/build/wp-admin/images/menu-vs.png and /dev/null differ diff --git a/build/wp-admin/images/menu.png b/build/wp-admin/images/menu.png deleted file mode 100644 index c1d15af82b..0000000000 Binary files a/build/wp-admin/images/menu.png and /dev/null differ diff --git a/build/wp-admin/images/no.png b/build/wp-admin/images/no.png deleted file mode 100644 index 59c35bdccc..0000000000 Binary files a/build/wp-admin/images/no.png and /dev/null differ diff --git a/build/wp-admin/images/post-formats-vs.png b/build/wp-admin/images/post-formats-vs.png deleted file mode 100644 index d77f91c064..0000000000 Binary files a/build/wp-admin/images/post-formats-vs.png and /dev/null differ diff --git a/build/wp-admin/images/post-formats.png b/build/wp-admin/images/post-formats.png deleted file mode 100644 index cae309e5d5..0000000000 Binary files a/build/wp-admin/images/post-formats.png and /dev/null differ diff --git a/build/wp-admin/images/post-formats32-vs.png b/build/wp-admin/images/post-formats32-vs.png deleted file mode 100644 index f565340732..0000000000 Binary files a/build/wp-admin/images/post-formats32-vs.png and /dev/null differ diff --git a/build/wp-admin/images/post-formats32.png b/build/wp-admin/images/post-formats32.png deleted file mode 100644 index 69ec095e2b..0000000000 Binary files a/build/wp-admin/images/post-formats32.png and /dev/null differ diff --git a/build/wp-admin/images/privacy.svg b/build/wp-admin/images/privacy.svg deleted file mode 100644 index d3f3d11e19..0000000000 --- a/build/wp-admin/images/privacy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/resize-2x.gif b/build/wp-admin/images/resize-2x.gif deleted file mode 100644 index e57f9bcd69..0000000000 Binary files a/build/wp-admin/images/resize-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/resize-rtl-2x.gif b/build/wp-admin/images/resize-rtl-2x.gif deleted file mode 100644 index 483c23dcbe..0000000000 Binary files a/build/wp-admin/images/resize-rtl-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/resize-rtl.gif b/build/wp-admin/images/resize-rtl.gif deleted file mode 100644 index 82502954e1..0000000000 Binary files a/build/wp-admin/images/resize-rtl.gif and /dev/null differ diff --git a/build/wp-admin/images/resize.gif b/build/wp-admin/images/resize.gif deleted file mode 100644 index 5cb0939a68..0000000000 Binary files a/build/wp-admin/images/resize.gif and /dev/null differ diff --git a/build/wp-admin/images/se.png b/build/wp-admin/images/se.png deleted file mode 100644 index eb487b4636..0000000000 Binary files a/build/wp-admin/images/se.png and /dev/null differ diff --git a/build/wp-admin/images/sort-2x.gif b/build/wp-admin/images/sort-2x.gif deleted file mode 100644 index 941626c3ea..0000000000 Binary files a/build/wp-admin/images/sort-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/sort.gif b/build/wp-admin/images/sort.gif deleted file mode 100644 index 5b46ee5ee2..0000000000 Binary files a/build/wp-admin/images/sort.gif and /dev/null differ diff --git a/build/wp-admin/images/spinner-2x.gif b/build/wp-admin/images/spinner-2x.gif deleted file mode 100644 index 26e28e1760..0000000000 Binary files a/build/wp-admin/images/spinner-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/spinner.gif b/build/wp-admin/images/spinner.gif deleted file mode 100644 index 88e8a9396f..0000000000 Binary files a/build/wp-admin/images/spinner.gif and /dev/null differ diff --git a/build/wp-admin/images/stars-2x.png b/build/wp-admin/images/stars-2x.png deleted file mode 100644 index 15aa9debfd..0000000000 Binary files a/build/wp-admin/images/stars-2x.png and /dev/null differ diff --git a/build/wp-admin/images/stars.png b/build/wp-admin/images/stars.png deleted file mode 100644 index c01ada13ee..0000000000 Binary files a/build/wp-admin/images/stars.png and /dev/null differ diff --git a/build/wp-admin/images/w-logo-blue.png b/build/wp-admin/images/w-logo-blue.png deleted file mode 100644 index 11e550c74e..0000000000 Binary files a/build/wp-admin/images/w-logo-blue.png and /dev/null differ diff --git a/build/wp-admin/images/w-logo-white.png b/build/wp-admin/images/w-logo-white.png deleted file mode 100644 index ed5efcdc00..0000000000 Binary files a/build/wp-admin/images/w-logo-white.png and /dev/null differ diff --git a/build/wp-admin/images/wheel.png b/build/wp-admin/images/wheel.png deleted file mode 100644 index 9b9fdf4a37..0000000000 Binary files a/build/wp-admin/images/wheel.png and /dev/null differ diff --git a/build/wp-admin/images/wordpress-logo-white.svg b/build/wp-admin/images/wordpress-logo-white.svg deleted file mode 100644 index 682e80b8d4..0000000000 --- a/build/wp-admin/images/wordpress-logo-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/wordpress-logo.png b/build/wp-admin/images/wordpress-logo.png deleted file mode 100644 index 63b0379613..0000000000 Binary files a/build/wp-admin/images/wordpress-logo.png and /dev/null differ diff --git a/build/wp-admin/images/wordpress-logo.svg b/build/wp-admin/images/wordpress-logo.svg deleted file mode 100644 index ba26fef0d8..0000000000 --- a/build/wp-admin/images/wordpress-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/build/wp-admin/images/wpspin_light-2x.gif b/build/wp-admin/images/wpspin_light-2x.gif deleted file mode 100644 index 08e47e8211..0000000000 Binary files a/build/wp-admin/images/wpspin_light-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/wpspin_light.gif b/build/wp-admin/images/wpspin_light.gif deleted file mode 100644 index fbf9be46c1..0000000000 Binary files a/build/wp-admin/images/wpspin_light.gif and /dev/null differ diff --git a/build/wp-admin/images/xit-2x.gif b/build/wp-admin/images/xit-2x.gif deleted file mode 100644 index 040107a90f..0000000000 Binary files a/build/wp-admin/images/xit-2x.gif and /dev/null differ diff --git a/build/wp-admin/images/xit.gif b/build/wp-admin/images/xit.gif deleted file mode 100644 index b11c5d43e9..0000000000 Binary files a/build/wp-admin/images/xit.gif and /dev/null differ diff --git a/build/wp-admin/images/yes.png b/build/wp-admin/images/yes.png deleted file mode 100644 index fbb39836bb..0000000000 Binary files a/build/wp-admin/images/yes.png and /dev/null differ diff --git a/build/wp-admin/js/accordion.js b/build/wp-admin/js/accordion.js deleted file mode 100644 index c420e8ccb8..0000000000 --- a/build/wp-admin/js/accordion.js +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Accordion-folding functionality. - * - * Markup with the appropriate classes will be automatically hidden, - * with one section opening at a time when its title is clicked. - * Use the following markup structure for accordion behavior: - * - *
- *
- *

- *
- *
- *
- *
- *

- *
- *
- *
- *
- *

- *
- *
- *
- *
- * - * Note that any appropriate tags may be used, as long as the above classes are present. - * - * @since 3.6.0 - * @output wp-admin/js/accordion.js - */ - -( function( $ ){ - - $( function () { - - // Expand/Collapse accordion sections on click. - $( '.accordion-container' ).on( 'click keydown', '.accordion-section-title', function( e ) { - if ( e.type === 'keydown' && 13 !== e.which ) { // "Return" key. - return; - } - - e.preventDefault(); // Keep this AFTER the key filter above. - - accordionSwitch( $( this ) ); - }); - - }); - - /** - * Close the current accordion section and open a new one. - * - * @param {Object} el Title element of the accordion section to toggle. - * @since 3.6.0 - */ - function accordionSwitch ( el ) { - var section = el.closest( '.accordion-section' ), - sectionToggleControl = section.find( '[aria-expanded]' ).first(), - container = section.closest( '.accordion-container' ), - siblings = container.find( '.open' ), - siblingsToggleControl = siblings.find( '[aria-expanded]' ).first(), - content = section.find( '.accordion-section-content' ); - - // This section has no content and cannot be expanded. - if ( section.hasClass( 'cannot-expand' ) ) { - return; - } - - // Add a class to the container to let us know something is happening inside. - // This helps in cases such as hiding a scrollbar while animations are executing. - container.addClass( 'opening' ); - - if ( section.hasClass( 'open' ) ) { - section.toggleClass( 'open' ); - content.toggle( true ).slideToggle( 150 ); - } else { - siblingsToggleControl.attr( 'aria-expanded', 'false' ); - siblings.removeClass( 'open' ); - siblings.find( '.accordion-section-content' ).show().slideUp( 150 ); - content.toggle( false ).slideToggle( 150 ); - section.toggleClass( 'open' ); - } - - // We have to wait for the animations to finish. - setTimeout(function(){ - container.removeClass( 'opening' ); - }, 150); - - // If there's an element with an aria-expanded attribute, assume it's a toggle control and toggle the aria-expanded value. - if ( sectionToggleControl ) { - sectionToggleControl.attr( 'aria-expanded', String( sectionToggleControl.attr( 'aria-expanded' ) === 'false' ) ); - } - } - -})(jQuery); diff --git a/build/wp-admin/js/accordion.min.js b/build/wp-admin/js/accordion.min.js deleted file mode 100644 index 9f632f764e..0000000000 --- a/build/wp-admin/js/accordion.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -!function(s){s(function(){s(".accordion-container").on("click keydown",".accordion-section-title",function(e){var n,o,a,i,t;"keydown"===e.type&&13!==e.which||(e.preventDefault(),e=(e=s(this)).closest(".accordion-section"),n=e.find("[aria-expanded]").first(),o=e.closest(".accordion-container"),a=o.find(".open"),i=a.find("[aria-expanded]").first(),t=e.find(".accordion-section-content"),e.hasClass("cannot-expand")||(o.addClass("opening"),e.hasClass("open")?(e.toggleClass("open"),t.toggle(!0).slideToggle(150)):(i.attr("aria-expanded","false"),a.removeClass("open"),a.find(".accordion-section-content").show().slideUp(150),t.toggle(!1).slideToggle(150),e.toggleClass("open")),setTimeout(function(){o.removeClass("opening")},150),n&&n.attr("aria-expanded",String("false"===n.attr("aria-expanded")))))})})}(jQuery); \ No newline at end of file diff --git a/build/wp-admin/js/application-passwords.js b/build/wp-admin/js/application-passwords.js deleted file mode 100644 index ae9fe43b0c..0000000000 --- a/build/wp-admin/js/application-passwords.js +++ /dev/null @@ -1,219 +0,0 @@ -/** - * @output wp-admin/js/application-passwords.js - */ - -( function( $ ) { - var $appPassSection = $( '#application-passwords-section' ), - $newAppPassForm = $appPassSection.find( '.create-application-password' ), - $newAppPassField = $newAppPassForm.find( '.input' ), - $newAppPassButton = $newAppPassForm.find( '.button' ), - $appPassTwrapper = $appPassSection.find( '.application-passwords-list-table-wrapper' ), - $appPassTbody = $appPassSection.find( 'tbody' ), - $appPassTrNoItems = $appPassTbody.find( '.no-items' ), - $removeAllBtn = $( '#revoke-all-application-passwords' ), - tmplNewAppPass = wp.template( 'new-application-password' ), - tmplAppPassRow = wp.template( 'application-password-row' ), - userId = $( '#user_id' ).val(); - - $newAppPassButton.on( 'click', function( e ) { - e.preventDefault(); - - if ( $newAppPassButton.prop( 'aria-disabled' ) ) { - return; - } - - var name = $newAppPassField.val(); - - if ( 0 === name.length ) { - $newAppPassField.trigger( 'focus' ); - return; - } - - clearNotices(); - $newAppPassButton.prop( 'aria-disabled', true ).addClass( 'disabled' ); - - var request = { - name: name - }; - - /** - * Filters the request data used to create a new Application Password. - * - * @since 5.6.0 - * - * @param {Object} request The request data. - * @param {number} userId The id of the user the password is added for. - */ - request = wp.hooks.applyFilters( 'wp_application_passwords_new_password_request', request, userId ); - - wp.apiRequest( { - path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user', - method: 'POST', - data: request - } ).always( function() { - $newAppPassButton.removeProp( 'aria-disabled' ).removeClass( 'disabled' ); - } ).done( function( response ) { - $newAppPassField.val( '' ); - $newAppPassButton.prop( 'disabled', false ); - - $newAppPassForm.after( tmplNewAppPass( { - name: response.name, - password: response.password - } ) ); - $( '.new-application-password-notice' ).trigger( 'focus' ); - - $appPassTbody.prepend( tmplAppPassRow( response ) ); - - $appPassTwrapper.show(); - $appPassTrNoItems.remove(); - - /** - * Fires after an application password has been successfully created. - * - * @since 5.6.0 - * - * @param {Object} response The response data from the REST API. - * @param {Object} request The request data used to create the password. - */ - wp.hooks.doAction( 'wp_application_passwords_created_password', response, request ); - } ).fail( handleErrorResponse ); - } ); - - $appPassTbody.on( 'click', '.delete', function( e ) { - e.preventDefault(); - - if ( ! window.confirm( wp.i18n.__( 'Are you sure you want to revoke this password? This action cannot be undone.' ) ) ) { - return; - } - - var $submitButton = $( this ), - $tr = $submitButton.closest( 'tr' ), - uuid = $tr.data( 'uuid' ); - - clearNotices(); - $submitButton.prop( 'disabled', true ); - - wp.apiRequest( { - path: '/wp/v2/users/' + userId + '/application-passwords/' + uuid + '?_locale=user', - method: 'DELETE' - } ).always( function() { - $submitButton.prop( 'disabled', false ); - } ).done( function( response ) { - if ( response.deleted ) { - if ( 0 === $tr.siblings().length ) { - $appPassTwrapper.hide(); - } - $tr.remove(); - - addNotice( wp.i18n.__( 'Application password revoked.' ), 'success' ).trigger( 'focus' ); - } - } ).fail( handleErrorResponse ); - } ); - - $removeAllBtn.on( 'click', function( e ) { - e.preventDefault(); - - if ( ! window.confirm( wp.i18n.__( 'Are you sure you want to revoke all passwords? This action cannot be undone.' ) ) ) { - return; - } - - var $submitButton = $( this ); - - clearNotices(); - $submitButton.prop( 'disabled', true ); - - wp.apiRequest( { - path: '/wp/v2/users/' + userId + '/application-passwords?_locale=user', - method: 'DELETE' - } ).always( function() { - $submitButton.prop( 'disabled', false ); - } ).done( function( response ) { - if ( response.deleted ) { - $appPassTbody.children().remove(); - $appPassSection.children( '.new-application-password' ).remove(); - $appPassTwrapper.hide(); - - addNotice( wp.i18n.__( 'All application passwords revoked.' ), 'success' ).trigger( 'focus' ); - } - } ).fail( handleErrorResponse ); - } ); - - $appPassSection.on( 'click', '.notice-dismiss', function( e ) { - e.preventDefault(); - var $el = $( this ).parent(); - $el.removeAttr( 'role' ); - $el.fadeTo( 100, 0, function () { - $el.slideUp( 100, function () { - $el.remove(); - $newAppPassField.trigger( 'focus' ); - } ); - } ); - } ); - - $newAppPassField.on( 'keypress', function ( e ) { - if ( 13 === e.which ) { - e.preventDefault(); - $newAppPassButton.trigger( 'click' ); - } - } ); - - // If there are no items, don't display the table yet. If there are, show it. - if ( 0 === $appPassTbody.children( 'tr' ).not( $appPassTrNoItems ).length ) { - $appPassTwrapper.hide(); - } - - /** - * Handles an error response from the REST API. - * - * @since 5.6.0 - * - * @param {jqXHR} xhr The XHR object from the ajax call. - * @param {string} textStatus The string categorizing the ajax request's status. - * @param {string} errorThrown The HTTP status error text. - */ - function handleErrorResponse( xhr, textStatus, errorThrown ) { - var errorMessage = errorThrown; - - if ( xhr.responseJSON && xhr.responseJSON.message ) { - errorMessage = xhr.responseJSON.message; - } - - addNotice( errorMessage, 'error' ); - } - - /** - * Displays a message in the Application Passwords section. - * - * @since 5.6.0 - * - * @param {string} message The message to display. - * @param {string} type The notice type. Either 'success' or 'error'. - * @returns {jQuery} The notice element. - */ - function addNotice( message, type ) { - var $notice = $( '
' ) - .attr( 'role', 'alert' ) - .attr( 'tabindex', '-1' ) - .addClass( 'is-dismissible notice notice-' + type ) - .append( $( '

' ).text( message ) ) - .append( - $( '' ) - .attr( 'type', 'button' ) - .addClass( 'notice-dismiss' ) - .append( $( '' ).addClass( 'screen-reader-text' ).text( wp.i18n.__( 'Dismiss this notice.' ) ) ) - ); - - $newAppPassForm.after( $notice ); - - return $notice; - } - - /** - * Clears notice messages from the Application Passwords section. - * - * @since 5.6.0 - */ - function clearNotices() { - $( '.notice', $appPassSection ).remove(); - } -}( jQuery ) ); diff --git a/build/wp-admin/js/application-passwords.min.js b/build/wp-admin/js/application-passwords.min.js deleted file mode 100644 index 23b9c0a793..0000000000 --- a/build/wp-admin/js/application-passwords.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -!function(o){var a=o("#application-passwords-section"),i=a.find(".create-application-password"),t=i.find(".input"),n=i.find(".button"),p=a.find(".application-passwords-list-table-wrapper"),r=a.find("tbody"),d=r.find(".no-items"),e=o("#revoke-all-application-passwords"),l=wp.template("new-application-password"),c=wp.template("application-password-row"),u=o("#user_id").val();function w(e,s,a){f(a=e.responseJSON&&e.responseJSON.message?e.responseJSON.message:a,"error")}function f(e,s){s=o("
").attr("role","alert").attr("tabindex","-1").addClass("is-dismissible notice notice-"+s).append(o("

").text(e)).append(o("").attr("type","button").addClass("notice-dismiss").append(o("").addClass("screen-reader-text").text(wp.i18n.__("Dismiss this notice."))));return i.after(s),s}function v(){o(".notice",a).remove()}n.on("click",function(e){var s;e.preventDefault(),n.prop("aria-disabled")||(0===(e=t.val()).length?t.trigger("focus"):(v(),n.prop("aria-disabled",!0).addClass("disabled"),s={name:e},s=wp.hooks.applyFilters("wp_application_passwords_new_password_request",s,u),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"POST",data:s}).always(function(){n.removeProp("aria-disabled").removeClass("disabled")}).done(function(e){t.val(""),n.prop("disabled",!1),i.after(l({name:e.name,password:e.password})),o(".new-application-password-notice").trigger("focus"),r.prepend(c(e)),p.show(),d.remove(),wp.hooks.doAction("wp_application_passwords_created_password",e,s)}).fail(w)))}),r.on("click",".delete",function(e){var s,a;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke this password? This action cannot be undone."))&&(s=o(this),e=(a=s.closest("tr")).data("uuid"),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords/"+e+"?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(0===a.siblings().length&&p.hide(),a.remove(),f(wp.i18n.__("Application password revoked."),"success").trigger("focus"))}).fail(w))}),e.on("click",function(e){var s;e.preventDefault(),window.confirm(wp.i18n.__("Are you sure you want to revoke all passwords? This action cannot be undone."))&&(s=o(this),v(),s.prop("disabled",!0),wp.apiRequest({path:"/wp/v2/users/"+u+"/application-passwords?_locale=user",method:"DELETE"}).always(function(){s.prop("disabled",!1)}).done(function(e){e.deleted&&(r.children().remove(),a.children(".new-application-password").remove(),p.hide(),f(wp.i18n.__("All application passwords revoked."),"success").trigger("focus"))}).fail(w))}),a.on("click",".notice-dismiss",function(e){e.preventDefault();var s=o(this).parent();s.removeAttr("role"),s.fadeTo(100,0,function(){s.slideUp(100,function(){s.remove(),t.trigger("focus")})})}),t.on("keypress",function(e){13===e.which&&(e.preventDefault(),n.trigger("click"))}),0===r.children("tr").not(d).length&&p.hide()}(jQuery); \ No newline at end of file diff --git a/build/wp-admin/js/auth-app.js b/build/wp-admin/js/auth-app.js deleted file mode 100644 index 99478d1824..0000000000 --- a/build/wp-admin/js/auth-app.js +++ /dev/null @@ -1,165 +0,0 @@ -/** - * @output wp-admin/js/auth-app.js - */ - -/* global authApp */ - -( function( $, authApp ) { - var $appNameField = $( '#app_name' ), - $approveBtn = $( '#approve' ), - $rejectBtn = $( '#reject' ), - $form = $appNameField.closest( 'form' ), - context = { - userLogin: authApp.user_login, - successUrl: authApp.success, - rejectUrl: authApp.reject - }; - - $approveBtn.on( 'click', function( e ) { - var name = $appNameField.val(), - appId = $( 'input[name="app_id"]', $form ).val(); - - e.preventDefault(); - - if ( $approveBtn.prop( 'aria-disabled' ) ) { - return; - } - - if ( 0 === name.length ) { - $appNameField.trigger( 'focus' ); - return; - } - - $approveBtn.prop( 'aria-disabled', true ).addClass( 'disabled' ); - - var request = { - name: name - }; - - if ( appId.length > 0 ) { - request.app_id = appId; - } - - /** - * Filters the request data used to Authorize an Application Password request. - * - * @since 5.6.0 - * - * @param {Object} request The request data. - * @param {Object} context Context about the Application Password request. - * @param {string} context.userLogin The user's login username. - * @param {string} context.successUrl The URL the user will be redirected to after approving the request. - * @param {string} context.rejectUrl The URL the user will be redirected to after rejecting the request. - */ - request = wp.hooks.applyFilters( 'wp_application_passwords_approve_app_request', request, context ); - - wp.apiRequest( { - path: '/wp/v2/users/me/application-passwords?_locale=user', - method: 'POST', - data: request - } ).done( function( response, textStatus, jqXHR ) { - - /** - * Fires when an Authorize Application Password request has been successfully approved. - * - * In most cases, this should be used in combination with the {@see 'wp_authorize_application_password_form_approved_no_js'} - * action to ensure that both the JS and no-JS variants are handled. - * - * @since 5.6.0 - * - * @param {Object} response The response from the REST API. - * @param {string} response.password The newly created password. - * @param {string} textStatus The status of the request. - * @param {jqXHR} jqXHR The underlying jqXHR object that made the request. - */ - wp.hooks.doAction( 'wp_application_passwords_approve_app_request_success', response, textStatus, jqXHR ); - - var raw = authApp.success, - url, message, $notice; - - if ( raw ) { - url = raw + ( -1 === raw.indexOf( '?' ) ? '?' : '&' ) + - 'site_url=' + encodeURIComponent( authApp.site_url ) + - '&user_login=' + encodeURIComponent( authApp.user_login ) + - '&password=' + encodeURIComponent( response.password ); - - window.location = url; - } else { - message = wp.i18n.sprintf( - /* translators: %s: Application name. */ - '', - '' - ) + ' '; - $notice = $( '
' ) - .attr( 'role', 'alert' ) - .attr( 'tabindex', -1 ) - .addClass( 'notice notice-success notice-alt' ) - .append( $( '

' ).addClass( 'application-password-display' ).html( message ) ) - .append( '

' + wp.i18n.__( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) + '

' ); - - // We're using .text() to write the variables to avoid any chance of XSS. - $( 'strong', $notice ).text( response.name ); - $( 'input', $notice ).val( response.password ); - - $form.replaceWith( $notice ); - $notice.trigger( 'focus' ); - } - } ).fail( function( jqXHR, textStatus, errorThrown ) { - var errorMessage = errorThrown, - error = null; - - if ( jqXHR.responseJSON ) { - error = jqXHR.responseJSON; - - if ( error.message ) { - errorMessage = error.message; - } - } - - var $notice = $( '
' ) - .attr( 'role', 'alert' ) - .addClass( 'notice notice-error' ) - .append( $( '

' ).text( errorMessage ) ); - - $( 'h1' ).after( $notice ); - - $approveBtn.removeProp( 'aria-disabled', false ).removeClass( 'disabled' ); - - /** - * Fires when an Authorize Application Password request encountered an error when trying to approve the request. - * - * @since 5.6.0 - * @since 5.6.1 Corrected action name and signature. - * - * @param {Object|null} error The error from the REST API. May be null if the server did not send proper JSON. - * @param {string} textStatus The status of the request. - * @param {string} errorThrown The error message associated with the response status code. - * @param {jqXHR} jqXHR The underlying jqXHR object that made the request. - */ - wp.hooks.doAction( 'wp_application_passwords_approve_app_request_error', error, textStatus, errorThrown, jqXHR ); - } ); - } ); - - $rejectBtn.on( 'click', function( e ) { - e.preventDefault(); - - /** - * Fires when an Authorize Application Password request has been rejected by the user. - * - * @since 5.6.0 - * - * @param {Object} context Context about the Application Password request. - * @param {string} context.userLogin The user's login username. - * @param {string} context.successUrl The URL the user will be redirected to after approving the request. - * @param {string} context.rejectUrl The URL the user will be redirected to after rejecting the request. - */ - wp.hooks.doAction( 'wp_application_passwords_reject_app', context ); - - // @todo: Make a better way to do this so it feels like less of a semi-open redirect. - window.location = authApp.reject; - } ); - - $form.on( 'submit', function( e ) { - e.preventDefault(); - } ); -}( jQuery, authApp ) ); diff --git a/build/wp-admin/js/auth-app.min.js b/build/wp-admin/js/auth-app.min.js deleted file mode 100644 index 110fcdf2cc..0000000000 --- a/build/wp-admin/js/auth-app.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -!function(t,s){var p=t("#app_name"),r=t("#approve"),e=t("#reject"),n=p.closest("form"),i={userLogin:s.user_login,successUrl:s.success,rejectUrl:s.reject};r.on("click",function(e){var a=p.val(),o=t('input[name="app_id"]',n).val();e.preventDefault(),r.prop("aria-disabled")||(0===a.length?p.trigger("focus"):(r.prop("aria-disabled",!0).addClass("disabled"),e={name:a},0'+wp.i18n.__("Your new password for %s is:")+"","")+' ',o=t("
").attr("role","alert").attr("tabindex",-1).addClass("notice notice-success notice-alt").append(t("

").addClass("application-password-display").html(a)).append("

"+wp.i18n.__("Be sure to save this in a safe location. You will not be able to retrieve it.")+"

"),t("strong",o).text(e.name),t("input",o).val(e.password),n.replaceWith(o),o.trigger("focus"))}).fail(function(e,a,o){var s=o,p=null,s=(e.responseJSON&&(p=e.responseJSON).message&&(s=p.message),t("
").attr("role","alert").addClass("notice notice-error").append(t("

").text(s)));t("h1").after(s),r.removeProp("aria-disabled",!1).removeClass("disabled"),wp.hooks.doAction("wp_application_passwords_approve_app_request_error",p,a,o,e)})))}),e.on("click",function(e){e.preventDefault(),wp.hooks.doAction("wp_application_passwords_reject_app",i),window.location=s.reject}),n.on("submit",function(e){e.preventDefault()})}(jQuery,authApp); \ No newline at end of file diff --git a/build/wp-admin/js/code-editor.js b/build/wp-admin/js/code-editor.js deleted file mode 100644 index 68365d7d1c..0000000000 --- a/build/wp-admin/js/code-editor.js +++ /dev/null @@ -1,346 +0,0 @@ -/** - * @output wp-admin/js/code-editor.js - */ - -if ( 'undefined' === typeof window.wp ) { - /** - * @namespace wp - */ - window.wp = {}; -} -if ( 'undefined' === typeof window.wp.codeEditor ) { - /** - * @namespace wp.codeEditor - */ - window.wp.codeEditor = {}; -} - -( function( $, wp ) { - 'use strict'; - - /** - * Default settings for code editor. - * - * @since 4.9.0 - * @type {object} - */ - wp.codeEditor.defaultSettings = { - codemirror: {}, - csslint: {}, - htmlhint: {}, - jshint: {}, - onTabNext: function() {}, - onTabPrevious: function() {}, - onChangeLintingErrors: function() {}, - onUpdateErrorNotice: function() {} - }; - - /** - * Configure linting. - * - * @param {CodeMirror} editor - Editor. - * @param {Object} settings - Code editor settings. - * @param {Object} settings.codeMirror - Settings for CodeMirror. - * @param {Function} settings.onChangeLintingErrors - Callback for when there are changes to linting errors. - * @param {Function} settings.onUpdateErrorNotice - Callback to update error notice. - * - * @return {void} - */ - function configureLinting( editor, settings ) { // eslint-disable-line complexity - var currentErrorAnnotations = [], previouslyShownErrorAnnotations = []; - - /** - * Call the onUpdateErrorNotice if there are new errors to show. - * - * @return {void} - */ - function updateErrorNotice() { - if ( settings.onUpdateErrorNotice && ! _.isEqual( currentErrorAnnotations, previouslyShownErrorAnnotations ) ) { - settings.onUpdateErrorNotice( currentErrorAnnotations, editor ); - previouslyShownErrorAnnotations = currentErrorAnnotations; - } - } - - /** - * Get lint options. - * - * @return {Object} Lint options. - */ - function getLintOptions() { // eslint-disable-line complexity - var options = editor.getOption( 'lint' ); - - if ( ! options ) { - return false; - } - - if ( true === options ) { - options = {}; - } else if ( _.isObject( options ) ) { - options = $.extend( {}, options ); - } - - /* - * Note that rules must be sent in the "deprecated" lint.options property - * to prevent linter from complaining about unrecognized options. - * See . - */ - if ( ! options.options ) { - options.options = {}; - } - - // Configure JSHint. - if ( 'javascript' === settings.codemirror.mode && settings.jshint ) { - $.extend( options.options, settings.jshint ); - } - - // Configure CSSLint. - if ( 'css' === settings.codemirror.mode && settings.csslint ) { - $.extend( options.options, settings.csslint ); - } - - // Configure HTMLHint. - if ( 'htmlmixed' === settings.codemirror.mode && settings.htmlhint ) { - options.options.rules = $.extend( {}, settings.htmlhint ); - - if ( settings.jshint ) { - options.options.rules.jshint = settings.jshint; - } - if ( settings.csslint ) { - options.options.rules.csslint = settings.csslint; - } - } - - // Wrap the onUpdateLinting CodeMirror event to route to onChangeLintingErrors and onUpdateErrorNotice. - options.onUpdateLinting = (function( onUpdateLintingOverridden ) { - return function( annotations, annotationsSorted, cm ) { - var errorAnnotations = _.filter( annotations, function( annotation ) { - return 'error' === annotation.severity; - } ); - - if ( onUpdateLintingOverridden ) { - onUpdateLintingOverridden.apply( annotations, annotationsSorted, cm ); - } - - // Skip if there are no changes to the errors. - if ( _.isEqual( errorAnnotations, currentErrorAnnotations ) ) { - return; - } - - currentErrorAnnotations = errorAnnotations; - - if ( settings.onChangeLintingErrors ) { - settings.onChangeLintingErrors( errorAnnotations, annotations, annotationsSorted, cm ); - } - - /* - * Update notifications when the editor is not focused to prevent error message - * from overwhelming the user during input, unless there are now no errors or there - * were previously errors shown. In these cases, update immediately so they can know - * that they fixed the errors. - */ - if ( ! editor.state.focused || 0 === currentErrorAnnotations.length || previouslyShownErrorAnnotations.length > 0 ) { - updateErrorNotice(); - } - }; - })( options.onUpdateLinting ); - - return options; - } - - editor.setOption( 'lint', getLintOptions() ); - - // Keep lint options populated. - editor.on( 'optionChange', function( cm, option ) { - var options, gutters, gutterName = 'CodeMirror-lint-markers'; - if ( 'lint' !== option ) { - return; - } - gutters = editor.getOption( 'gutters' ) || []; - options = editor.getOption( 'lint' ); - if ( true === options ) { - if ( ! _.contains( gutters, gutterName ) ) { - editor.setOption( 'gutters', [ gutterName ].concat( gutters ) ); - } - editor.setOption( 'lint', getLintOptions() ); // Expand to include linting options. - } else if ( ! options ) { - editor.setOption( 'gutters', _.without( gutters, gutterName ) ); - } - - // Force update on error notice to show or hide. - if ( editor.getOption( 'lint' ) ) { - editor.performLint(); - } else { - currentErrorAnnotations = []; - updateErrorNotice(); - } - } ); - - // Update error notice when leaving the editor. - editor.on( 'blur', updateErrorNotice ); - - // Work around hint selection with mouse causing focus to leave editor. - editor.on( 'startCompletion', function() { - editor.off( 'blur', updateErrorNotice ); - } ); - editor.on( 'endCompletion', function() { - var editorRefocusWait = 500; - editor.on( 'blur', updateErrorNotice ); - - // Wait for editor to possibly get re-focused after selection. - _.delay( function() { - if ( ! editor.state.focused ) { - updateErrorNotice(); - } - }, editorRefocusWait ); - }); - - /* - * Make sure setting validities are set if the user tries to click Publish - * while an autocomplete dropdown is still open. The Customizer will block - * saving when a setting has an error notifications on it. This is only - * necessary for mouse interactions because keyboards will have already - * blurred the field and cause onUpdateErrorNotice to have already been - * called. - */ - $( document.body ).on( 'mousedown', function( event ) { - if ( editor.state.focused && ! $.contains( editor.display.wrapper, event.target ) && ! $( event.target ).hasClass( 'CodeMirror-hint' ) ) { - updateErrorNotice(); - } - }); - } - - /** - * Configure tabbing. - * - * @param {CodeMirror} codemirror - Editor. - * @param {Object} settings - Code editor settings. - * @param {Object} settings.codeMirror - Settings for CodeMirror. - * @param {Function} settings.onTabNext - Callback to handle tabbing to the next tabbable element. - * @param {Function} settings.onTabPrevious - Callback to handle tabbing to the previous tabbable element. - * - * @return {void} - */ - function configureTabbing( codemirror, settings ) { - var $textarea = $( codemirror.getTextArea() ); - - codemirror.on( 'blur', function() { - $textarea.data( 'next-tab-blurs', false ); - }); - codemirror.on( 'keydown', function onKeydown( editor, event ) { - var tabKeyCode = 9, escKeyCode = 27; - - // Take note of the ESC keypress so that the next TAB can focus outside the editor. - if ( escKeyCode === event.keyCode ) { - $textarea.data( 'next-tab-blurs', true ); - return; - } - - // Short-circuit if tab key is not being pressed or the tab key press should move focus. - if ( tabKeyCode !== event.keyCode || ! $textarea.data( 'next-tab-blurs' ) ) { - return; - } - - // Focus on previous or next focusable item. - if ( event.shiftKey ) { - settings.onTabPrevious( codemirror, event ); - } else { - settings.onTabNext( codemirror, event ); - } - - // Reset tab state. - $textarea.data( 'next-tab-blurs', false ); - - // Prevent tab character from being added. - event.preventDefault(); - }); - } - - /** - * @typedef {object} wp.codeEditor~CodeEditorInstance - * @property {object} settings - The code editor settings. - * @property {CodeMirror} codemirror - The CodeMirror instance. - */ - - /** - * Initialize Code Editor (CodeMirror) for an existing textarea. - * - * @since 4.9.0 - * - * @param {string|jQuery|Element} textarea - The HTML id, jQuery object, or DOM Element for the textarea that is used for the editor. - * @param {Object} [settings] - Settings to override defaults. - * @param {Function} [settings.onChangeLintingErrors] - Callback for when the linting errors have changed. - * @param {Function} [settings.onUpdateErrorNotice] - Callback for when error notice should be displayed. - * @param {Function} [settings.onTabPrevious] - Callback to handle tabbing to the previous tabbable element. - * @param {Function} [settings.onTabNext] - Callback to handle tabbing to the next tabbable element. - * @param {Object} [settings.codemirror] - Options for CodeMirror. - * @param {Object} [settings.csslint] - Rules for CSSLint. - * @param {Object} [settings.htmlhint] - Rules for HTMLHint. - * @param {Object} [settings.jshint] - Rules for JSHint. - * - * @return {CodeEditorInstance} Instance. - */ - wp.codeEditor.initialize = function initialize( textarea, settings ) { - var $textarea, codemirror, instanceSettings, instance; - if ( 'string' === typeof textarea ) { - $textarea = $( '#' + textarea ); - } else { - $textarea = $( textarea ); - } - - instanceSettings = $.extend( {}, wp.codeEditor.defaultSettings, settings ); - instanceSettings.codemirror = $.extend( {}, instanceSettings.codemirror ); - - codemirror = wp.CodeMirror.fromTextArea( $textarea[0], instanceSettings.codemirror ); - - configureLinting( codemirror, instanceSettings ); - - instance = { - settings: instanceSettings, - codemirror: codemirror - }; - - if ( codemirror.showHint ) { - codemirror.on( 'keyup', function( editor, event ) { // eslint-disable-line complexity - var shouldAutocomplete, isAlphaKey = /^[a-zA-Z]$/.test( event.key ), lineBeforeCursor, innerMode, token; - if ( codemirror.state.completionActive && isAlphaKey ) { - return; - } - - // Prevent autocompletion in string literals or comments. - token = codemirror.getTokenAt( codemirror.getCursor() ); - if ( 'string' === token.type || 'comment' === token.type ) { - return; - } - - innerMode = wp.CodeMirror.innerMode( codemirror.getMode(), token.state ).mode.name; - lineBeforeCursor = codemirror.doc.getLine( codemirror.doc.getCursor().line ).substr( 0, codemirror.doc.getCursor().ch ); - if ( 'html' === innerMode || 'xml' === innerMode ) { - shouldAutocomplete = - '<' === event.key || - '/' === event.key && 'tag' === token.type || - isAlphaKey && 'tag' === token.type || - isAlphaKey && 'attribute' === token.type || - '=' === token.string && token.state.htmlState && token.state.htmlState.tagName; - } else if ( 'css' === innerMode ) { - shouldAutocomplete = - isAlphaKey || - ':' === event.key || - ' ' === event.key && /:\s+$/.test( lineBeforeCursor ); - } else if ( 'javascript' === innerMode ) { - shouldAutocomplete = isAlphaKey || '.' === event.key; - } else if ( 'clike' === innerMode && 'php' === codemirror.options.mode ) { - shouldAutocomplete = 'keyword' === token.type || 'variable' === token.type; - } - if ( shouldAutocomplete ) { - codemirror.showHint( { completeSingle: false } ); - } - }); - } - - // Facilitate tabbing out of the editor. - configureTabbing( codemirror, settings ); - - return instance; - }; - -})( window.jQuery, window.wp ); diff --git a/build/wp-admin/js/code-editor.min.js b/build/wp-admin/js/code-editor.min.js deleted file mode 100644 index f97ff9bb1c..0000000000 --- a/build/wp-admin/js/code-editor.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,d){"use strict";function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint&&(t.options.rules.csslint=s.csslint)),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,e,n){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,e,n),_.isEqual(o,a)||(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,e,n),(!r.state.focused||0===a.length||0' ) - .after( self.button ); - - /* - * The input wrapper now contains the label+input+Clear/Default button. - * Store a reference to the input wrapper: we'll use this to toggle - * the controls visibility. - */ - self.inputWrapper = el.closest( '.wp-picker-input-wrap' ); - - el.iris( { - target: self.pickerContainer, - hide: self.options.hide, - width: self.options.width, - mode: self.options.mode, - palettes: self.options.palettes, - /** - * Handles the onChange event if one has been defined in the options and additionally - * sets the background color for the toggler element. - * - * @since 3.5.0 - * - * @ignore - * - * @param {Event} event The event that's being called. - * @param {HTMLElement} ui The HTMLElement containing the color picker. - * - * @return {void} - */ - change: function( event, ui ) { - self.toggler.css( { backgroundColor: ui.color.toString() } ); - - if ( typeof self.options.change === 'function' ) { - self.options.change.call( this, event, ui ); - } - } - } ); - - el.val( self.initialValue ); - self._addListeners(); - - // Force the color picker to always be closed on initial load. - if ( ! self.options.hide ) { - self.toggler.click(); - } - }, - /** - * Binds event listeners to the color picker. - * - * @since 3.5.0 - * @access private - * - * @return {void} - */ - _addListeners: function() { - var self = this; - - /** - * Prevent any clicks inside this widget from leaking to the top and closing it. - * - * @since 3.5.0 - * - * @param {Event} event The event that's being called. - * - * @return {void} - */ - self.wrap.on( 'click.wpcolorpicker', function( event ) { - event.stopPropagation(); - }); - - /** - * Open or close the color picker depending on the class. - * - * @since 3.5.0 - */ - self.toggler.on( 'click', function(){ - if ( self.toggler.hasClass( 'wp-picker-open' ) ) { - self.close(); - } else { - self.open(); - } - }); - - /** - * Checks if value is empty when changing the color in the color picker. - * If so, the background color is cleared. - * - * @since 3.5.0 - * - * @param {Event} event The event that's being called. - * - * @return {void} - */ - self.element.on( 'change', function( event ) { - var me = $( this ), - val = me.val(); - - if ( val === '' || val === '#' ) { - self.toggler.css( 'backgroundColor', '' ); - // Fire clear callback if we have one. - if ( typeof self.options.clear === 'function' ) { - self.options.clear.call( this, event ); - } - } - }); - - /** - * Enables the user to either clear the color in the color picker or revert back to the default color. - * - * @since 3.5.0 - * - * @param {Event} event The event that's being called. - * - * @return {void} - */ - self.button.on( 'click', function( event ) { - var me = $( this ); - if ( me.hasClass( 'wp-picker-clear' ) ) { - self.element.val( '' ); - self.toggler.css( 'backgroundColor', '' ); - if ( typeof self.options.clear === 'function' ) { - self.options.clear.call( this, event ); - } - } else if ( me.hasClass( 'wp-picker-default' ) ) { - self.element.val( self.options.defaultColor ).change(); - } - }); - }, - /** - * Opens the color picker dialog. - * - * @since 3.5.0 - * - * @return {void} - */ - open: function() { - this.element.iris( 'toggle' ); - this.inputWrapper.removeClass( 'hidden' ); - this.wrap.addClass( 'wp-picker-active' ); - this.toggler - .addClass( 'wp-picker-open' ) - .attr( 'aria-expanded', 'true' ); - $( 'body' ).trigger( 'click.wpcolorpicker' ).on( 'click.wpcolorpicker', this.close ); - }, - /** - * Closes the color picker dialog. - * - * @since 3.5.0 - * - * @return {void} - */ - close: function() { - this.element.iris( 'toggle' ); - this.inputWrapper.addClass( 'hidden' ); - this.wrap.removeClass( 'wp-picker-active' ); - this.toggler - .removeClass( 'wp-picker-open' ) - .attr( 'aria-expanded', 'false' ); - $( 'body' ).off( 'click.wpcolorpicker', this.close ); - }, - /** - * Returns the iris object if no new color is provided. If a new color is provided, it sets the new color. - * - * @param newColor {string|*} The new color to use. Can be undefined. - * - * @since 3.5.0 - * - * @return {string} The element's color. - */ - color: function( newColor ) { - if ( newColor === undef ) { - return this.element.iris( 'option', 'color' ); - } - this.element.iris( 'option', 'color', newColor ); - }, - /** - * Returns the iris object if no new default color is provided. - * If a new default color is provided, it sets the new default color. - * - * @param newDefaultColor {string|*} The new default color to use. Can be undefined. - * - * @since 3.5.0 - * - * @return {boolean|string} The element's color. - */ - defaultColor: function( newDefaultColor ) { - if ( newDefaultColor === undef ) { - return this.options.defaultColor; - } - - this.options.defaultColor = newDefaultColor; - } - }; - - // Register the color picker as a widget. - $.widget( 'wp.wpColorPicker', ColorPicker ); -}( jQuery ) ); diff --git a/build/wp-admin/js/color-picker.min.js b/build/wp-admin/js/color-picker.min.js deleted file mode 100644 index 7718bbd69d..0000000000 --- a/build/wp-admin/js/color-picker.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -!function(i,t){var a=wp.i18n.__;i.widget("wp.wpColorPicker",{options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){"function"==typeof o.options.change&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=o.close.bind(o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap(""),o.wrappingLabelText=i('').insertBefore(e).text(a("Color value"))),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('
'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(a("Select Color")),o.pickerContainer=i('
').insertAfter(o.wrappingLabel),o.button=i(''),o.options.defaultColor?o.button.addClass("wp-picker-default").val(a("Default")).attr("aria-label",a("Select default color")):o.button.addClass("wp-picker-clear").val(a("Clear")).attr("aria-label",a("Clear color")),o.wrappingLabel.wrap('
').insertAfter("#wpcontent").hide().on("click.wp-responsive",function(){g.find(".menupop.hover").removeClass("hover"),W(this).hide()})),b.on("click.wp-responsive",function(){v.show()})},disableOverlay:function(){b.off("click.wp-responsive"),v.hide()},disableSortables:function(){if(w.length)try{w.sortable("disable"),w.find(".ui-sortable-handle").addClass("is-non-sortable")}catch(e){}},enableSortables:function(){if(w.length)try{w.sortable("enable"),w.find(".ui-sortable-handle").removeClass("is-non-sortable")}catch(e){}}},W(document).on("ajaxComplete",function(){B()}),Q.on("wp-window-resized.set-menu-state",N),Q.on("wp-menu-state-set wp-collapse-menu",function(e,t){var n,i=W("#collapse-button"),t="folded"===t.state?(n="false",q("Expand Main menu")):(n="true",q("Collapse Main menu"));i.attr({"aria-expanded":n,"aria-label":t})}),$.wpResponsive.init(),j(),N(),M(),E(),B(),Q.on("wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu",j),W(".wp-initial-focus").trigger("focus"),V.on("click",".js-update-details-toggle",function(){var e=W(this).closest(".js-update-details"),t=W("#"+e.data("update-details"));t.hasClass("update-details-moved")||t.insertAfter(e).addClass("update-details-moved"),t.toggle(),W(this).attr("aria-expanded",t.is(":visible"))})}),W(function(e){var t,n;V.hasClass("update-php")&&(t=e("a.update-from-upload-overwrite"),n=e(".update-from-upload-expired"),t.length&&n.length&&$.setTimeout(function(){t.hide(),n.removeClass("hidden"),$.wp&&$.wp.a11y&&$.wp.a11y.speak(n.text())},714e4))}),H.on("resize.wp-fire-once",function(){$.clearTimeout(t),t=$.setTimeout(d,200)}),"-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)&&((n=document.createElement("style")).appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(n))}(jQuery,window); \ No newline at end of file diff --git a/build/wp-admin/js/custom-background.js b/build/wp-admin/js/custom-background.js deleted file mode 100644 index f83db00af0..0000000000 --- a/build/wp-admin/js/custom-background.js +++ /dev/null @@ -1,147 +0,0 @@ -/** - * @output wp-admin/js/custom-background.js - */ - -/* global ajaxurl */ - -/** - * Registers all events for customizing the background. - * - * @since 3.0.0 - * - * @requires jQuery - */ -(function($) { - $( function() { - var frame, - bgImage = $( '#custom-background-image' ); - - /** - * Instantiates the WordPress color picker and binds the change and clear events. - * - * @since 3.5.0 - * - * @return {void} - */ - $('#background-color').wpColorPicker({ - change: function( event, ui ) { - bgImage.css('background-color', ui.color.toString()); - }, - clear: function() { - bgImage.css('background-color', ''); - } - }); - - /** - * Alters the background size CSS property whenever the background size input has changed. - * - * @since 4.7.0 - * - * @return {void} - */ - $( 'select[name="background-size"]' ).on( 'change', function() { - bgImage.css( 'background-size', $( this ).val() ); - }); - - /** - * Alters the background position CSS property whenever the background position input has changed. - * - * @since 4.7.0 - * - * @return {void} - */ - $( 'input[name="background-position"]' ).on( 'change', function() { - bgImage.css( 'background-position', $( this ).val() ); - }); - - /** - * Alters the background repeat CSS property whenever the background repeat input has changed. - * - * @since 3.0.0 - * - * @return {void} - */ - $( 'input[name="background-repeat"]' ).on( 'change', function() { - bgImage.css( 'background-repeat', $( this ).is( ':checked' ) ? 'repeat' : 'no-repeat' ); - }); - - /** - * Alters the background attachment CSS property whenever the background attachment input has changed. - * - * @since 4.7.0 - * - * @return {void} - */ - $( 'input[name="background-attachment"]' ).on( 'change', function() { - bgImage.css( 'background-attachment', $( this ).is( ':checked' ) ? 'scroll' : 'fixed' ); - }); - - /** - * Binds the event for opening the WP Media dialog. - * - * @since 3.5.0 - * - * @return {void} - */ - $('#choose-from-library-link').on( 'click', function( event ) { - var $el = $(this); - - event.preventDefault(); - - // If the media frame already exists, reopen it. - if ( frame ) { - frame.open(); - return; - } - - // Create the media frame. - frame = wp.media.frames.customBackground = wp.media({ - // Set the title of the modal. - title: $el.data('choose'), - - // Tell the modal to show only images. - library: { - type: 'image' - }, - - // Customize the submit button. - button: { - // Set the text of the button. - text: $el.data('update'), - /* - * Tell the button not to close the modal, since we're - * going to refresh the page when the image is selected. - */ - close: false - } - }); - - /** - * When an image is selected, run a callback. - * - * @since 3.5.0 - * - * @return {void} - */ - frame.on( 'select', function() { - // Grab the selected attachment. - var attachment = frame.state().get('selection').first(); - var nonceValue = $( '#_wpnonce' ).val() || ''; - - // Run an Ajax request to set the background image. - $.post( ajaxurl, { - action: 'set-background-image', - attachment_id: attachment.id, - _ajax_nonce: nonceValue, - size: 'full' - }).done( function() { - // When the request completes, reload the window. - window.location.reload(); - }); - }); - - // Finally, open the modal. - frame.open(); - }); - }); -})(jQuery); diff --git a/build/wp-admin/js/custom-background.min.js b/build/wp-admin/js/custom-background.min.js deleted file mode 100644 index 6ad9fa52a1..0000000000 --- a/build/wp-admin/js/custom-background.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -!function(e){e(function(){var c,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,o){a.css("background-color",o.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').on("change",function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').on("change",function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').on("change",function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').on("change",function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").on("click",function(n){var o=e(this);n.preventDefault(),c||(c=wp.media.frames.customBackground=wp.media({title:o.data("choose"),library:{type:"image"},button:{text:o.data("update"),close:!1}})).on("select",function(){var n=c.state().get("selection").first(),o=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:o,size:"full"}).done(function(){window.location.reload()})}),c.open()})})}(jQuery); \ No newline at end of file diff --git a/build/wp-admin/js/custom-header.js b/build/wp-admin/js/custom-header.js deleted file mode 100644 index 367756ef87..0000000000 --- a/build/wp-admin/js/custom-header.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * @output wp-admin/js/custom-header.js - */ - -/* global isRtl */ - -/** - * Initializes the custom header selection page. - * - * @since 3.5.0 - * - * @deprecated 4.1.0 The page this is used on is never linked to from the UI. - * Setting a custom header is completely handled by the Customizer. - */ -(function($) { - var frame; - - $( function() { - // Fetch available headers. - var $headers = $('.available-headers'); - - // Apply jQuery.masonry once the images have loaded. - $headers.imagesLoaded( function() { - $headers.masonry({ - itemSelector: '.default-header', - isRTL: !! ( 'undefined' != typeof isRtl && isRtl ) - }); - }); - - /** - * Opens the 'choose from library' frame and creates it if it doesn't exist. - * - * @since 3.5.0 - * @deprecated 4.1.0 - * - * @return {void} - */ - $('#choose-from-library-link').on( 'click', function( event ) { - var $el = $(this); - event.preventDefault(); - - // If the media frame already exists, reopen it. - if ( frame ) { - frame.open(); - return; - } - - // Create the media frame. - frame = wp.media.frames.customHeader = wp.media({ - // Set the title of the modal. - title: $el.data('choose'), - - // Tell the modal to show only images. - library: { - type: 'image' - }, - - // Customize the submit button. - button: { - // Set the text of the button. - text: $el.data('update'), - // Tell the button not to close the modal, since we're - // going to refresh the page when the image is selected. - close: false - } - }); - - /** - * Updates the window location to include the selected attachment. - * - * @since 3.5.0 - * @deprecated 4.1.0 - * - * @return {void} - */ - frame.on( 'select', function() { - // Grab the selected attachment. - var attachment = frame.state().get('selection').first(), - link = $el.data('updateLink'); - - // Tell the browser to navigate to the crop step. - window.location = link + '&file=' + attachment.id; - }); - - frame.open(); - }); - }); -}(jQuery)); diff --git a/build/wp-admin/js/customize-controls.js b/build/wp-admin/js/customize-controls.js deleted file mode 100644 index 37a57fd859..0000000000 --- a/build/wp-admin/js/customize-controls.js +++ /dev/null @@ -1,9353 +0,0 @@ -/** - * @output wp-admin/js/customize-controls.js - */ - -/* global _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer, console, confirm */ -(function( exports, $ ){ - var Container, focus, normalizedTransitionendEventName, api = wp.customize; - - var reducedMotionMediaQuery = window.matchMedia( '(prefers-reduced-motion: reduce)' ); - var isReducedMotion = reducedMotionMediaQuery.matches; - reducedMotionMediaQuery.addEventListener( 'change' , function handleReducedMotionChange( event ) { - isReducedMotion = event.matches; - }); - - api.OverlayNotification = api.Notification.extend(/** @lends wp.customize.OverlayNotification.prototype */{ - - /** - * Whether the notification should show a loading spinner. - * - * @since 4.9.0 - * @var {boolean} - */ - loading: false, - - /** - * A notification that is displayed in a full-screen overlay. - * - * @constructs wp.customize.OverlayNotification - * @augments wp.customize.Notification - * - * @since 4.9.0 - * - * @param {string} code - Code. - * @param {Object} params - Params. - */ - initialize: function( code, params ) { - var notification = this; - api.Notification.prototype.initialize.call( notification, code, params ); - notification.containerClasses += ' notification-overlay'; - if ( notification.loading ) { - notification.containerClasses += ' notification-loading'; - } - }, - - /** - * Render notification. - * - * @since 4.9.0 - * - * @return {jQuery} Notification container. - */ - render: function() { - var li = api.Notification.prototype.render.call( this ); - li.on( 'keydown', _.bind( this.handleEscape, this ) ); - return li; - }, - - /** - * Stop propagation on escape key presses, but also dismiss notification if it is dismissible. - * - * @since 4.9.0 - * - * @param {jQuery.Event} event - Event. - * @return {void} - */ - handleEscape: function( event ) { - var notification = this; - if ( 27 === event.which ) { - event.stopPropagation(); - if ( notification.dismissible && notification.parent ) { - notification.parent.remove( notification.code ); - } - } - } - }); - - api.Notifications = api.Values.extend(/** @lends wp.customize.Notifications.prototype */{ - - /** - * Whether the alternative style should be used. - * - * @since 4.9.0 - * @type {boolean} - */ - alt: false, - - /** - * The default constructor for items of the collection. - * - * @since 4.9.0 - * @type {object} - */ - defaultConstructor: api.Notification, - - /** - * A collection of observable notifications. - * - * @since 4.9.0 - * - * @constructs wp.customize.Notifications - * @augments wp.customize.Values - * - * @param {Object} options - Options. - * @param {jQuery} [options.container] - Container element for notifications. This can be injected later. - * @param {boolean} [options.alt] - Whether alternative style should be used when rendering notifications. - * - * @return {void} - */ - initialize: function( options ) { - var collection = this; - - api.Values.prototype.initialize.call( collection, options ); - - _.bindAll( collection, 'constrainFocus' ); - - // Keep track of the order in which the notifications were added for sorting purposes. - collection._addedIncrement = 0; - collection._addedOrder = {}; - - // Trigger change event when notification is added or removed. - collection.bind( 'add', function( notification ) { - collection.trigger( 'change', notification ); - }); - collection.bind( 'removed', function( notification ) { - collection.trigger( 'change', notification ); - }); - }, - - /** - * Get the number of notifications added. - * - * @since 4.9.0 - * @return {number} Count of notifications. - */ - count: function() { - return _.size( this._value ); - }, - - /** - * Add notification to the collection. - * - * @since 4.9.0 - * - * @param {string|wp.customize.Notification} notification - Notification object to add. Alternatively code may be supplied, and in that case the second notificationObject argument must be supplied. - * @param {wp.customize.Notification} [notificationObject] - Notification to add when first argument is the code string. - * @return {wp.customize.Notification} Added notification (or existing instance if it was already added). - */ - add: function( notification, notificationObject ) { - var collection = this, code, instance; - if ( 'string' === typeof notification ) { - code = notification; - instance = notificationObject; - } else { - code = notification.code; - instance = notification; - } - if ( ! collection.has( code ) ) { - collection._addedIncrement += 1; - collection._addedOrder[ code ] = collection._addedIncrement; - } - return api.Values.prototype.add.call( collection, code, instance ); - }, - - /** - * Add notification to the collection. - * - * @since 4.9.0 - * @param {string} code - Notification code to remove. - * @return {api.Notification} Added instance (or existing instance if it was already added). - */ - remove: function( code ) { - var collection = this; - delete collection._addedOrder[ code ]; - return api.Values.prototype.remove.call( this, code ); - }, - - /** - * Get list of notifications. - * - * Notifications may be sorted by type followed by added time. - * - * @since 4.9.0 - * @param {Object} args - Args. - * @param {boolean} [args.sort=false] - Whether to return the notifications sorted. - * @return {Array.} Notifications. - */ - get: function( args ) { - var collection = this, notifications, errorTypePriorities, params; - notifications = _.values( collection._value ); - - params = _.extend( - { sort: false }, - args - ); - - if ( params.sort ) { - errorTypePriorities = { error: 4, warning: 3, success: 2, info: 1 }; - notifications.sort( function( a, b ) { - var aPriority = 0, bPriority = 0; - if ( ! _.isUndefined( errorTypePriorities[ a.type ] ) ) { - aPriority = errorTypePriorities[ a.type ]; - } - if ( ! _.isUndefined( errorTypePriorities[ b.type ] ) ) { - bPriority = errorTypePriorities[ b.type ]; - } - if ( aPriority !== bPriority ) { - return bPriority - aPriority; // Show errors first. - } - return collection._addedOrder[ b.code ] - collection._addedOrder[ a.code ]; // Show newer notifications higher. - }); - } - - return notifications; - }, - - /** - * Render notifications area. - * - * @since 4.9.0 - * @return {void} - */ - render: function() { - var collection = this, - notifications, hadOverlayNotification = false, hasOverlayNotification, overlayNotifications = [], - previousNotificationsByCode = {}, - listElement, focusableElements; - - // Short-circuit if there are no container to render into. - if ( ! collection.container || ! collection.container.length ) { - return; - } - - notifications = collection.get( { sort: true } ); - collection.container.toggle( 0 !== notifications.length ); - - // Short-circuit if there are no changes to the notifications. - if ( collection.container.is( collection.previousContainer ) && _.isEqual( notifications, collection.previousNotifications ) ) { - return; - } - - // Make sure list is part of the container. - listElement = collection.container.children( 'ul' ).first(); - if ( ! listElement.length ) { - listElement = $( '
    ' ); - collection.container.append( listElement ); - } - - // Remove all notifications prior to re-rendering. - listElement.find( '> [data-code]' ).remove(); - - _.each( collection.previousNotifications, function( notification ) { - previousNotificationsByCode[ notification.code ] = notification; - }); - - // Add all notifications in the sorted order. - _.each( notifications, function( notification ) { - var notificationContainer; - if ( wp.a11y && ( ! previousNotificationsByCode[ notification.code ] || ! _.isEqual( notification.message, previousNotificationsByCode[ notification.code ].message ) ) ) { - wp.a11y.speak( notification.message, 'assertive' ); - } - notificationContainer = $( notification.render() ); - notification.container = notificationContainer; - listElement.append( notificationContainer ); // @todo Consider slideDown() as enhancement. - - if ( notification.extended( api.OverlayNotification ) ) { - overlayNotifications.push( notification ); - } - }); - hasOverlayNotification = Boolean( overlayNotifications.length ); - - if ( collection.previousNotifications ) { - hadOverlayNotification = Boolean( _.find( collection.previousNotifications, function( notification ) { - return notification.extended( api.OverlayNotification ); - } ) ); - } - - if ( hasOverlayNotification !== hadOverlayNotification ) { - $( document.body ).toggleClass( 'customize-loading', hasOverlayNotification ); - collection.container.toggleClass( 'has-overlay-notifications', hasOverlayNotification ); - if ( hasOverlayNotification ) { - collection.previousActiveElement = document.activeElement; - $( document ).on( 'keydown', collection.constrainFocus ); - } else { - $( document ).off( 'keydown', collection.constrainFocus ); - } - } - - if ( hasOverlayNotification ) { - collection.focusContainer = overlayNotifications[ overlayNotifications.length - 1 ].container; - collection.focusContainer.prop( 'tabIndex', -1 ); - focusableElements = collection.focusContainer.find( ':focusable' ); - if ( focusableElements.length ) { - focusableElements.first().focus(); - } else { - collection.focusContainer.focus(); - } - } else if ( collection.previousActiveElement ) { - $( collection.previousActiveElement ).trigger( 'focus' ); - collection.previousActiveElement = null; - } - - collection.previousNotifications = notifications; - collection.previousContainer = collection.container; - collection.trigger( 'rendered' ); - }, - - /** - * Constrain focus on focus container. - * - * @since 4.9.0 - * - * @param {jQuery.Event} event - Event. - * @return {void} - */ - constrainFocus: function constrainFocus( event ) { - var collection = this, focusableElements; - - // Prevent keys from escaping. - event.stopPropagation(); - - if ( 9 !== event.which ) { // Tab key. - return; - } - - focusableElements = collection.focusContainer.find( ':focusable' ); - if ( 0 === focusableElements.length ) { - focusableElements = collection.focusContainer; - } - - if ( ! $.contains( collection.focusContainer[0], event.target ) || ! $.contains( collection.focusContainer[0], document.activeElement ) ) { - event.preventDefault(); - focusableElements.first().focus(); - } else if ( focusableElements.last().is( event.target ) && ! event.shiftKey ) { - event.preventDefault(); - focusableElements.first().focus(); - } else if ( focusableElements.first().is( event.target ) && event.shiftKey ) { - event.preventDefault(); - focusableElements.last().focus(); - } - } - }); - - api.Setting = api.Value.extend(/** @lends wp.customize.Setting.prototype */{ - - /** - * Default params. - * - * @since 4.9.0 - * @var {object} - */ - defaults: { - transport: 'refresh', - dirty: false - }, - - /** - * A Customizer Setting. - * - * A setting is WordPress data (theme mod, option, menu, etc.) that the user can - * draft changes to in the Customizer. - * - * @see PHP class WP_Customize_Setting. - * - * @constructs wp.customize.Setting - * @augments wp.customize.Value - * - * @since 3.4.0 - * - * @param {string} id - The setting ID. - * @param {*} value - The initial value of the setting. - * @param {Object} [options={}] - Options. - * @param {string} [options.transport=refresh] - The transport to use for previewing. Supports 'refresh' and 'postMessage'. - * @param {boolean} [options.dirty=false] - Whether the setting should be considered initially dirty. - * @param {Object} [options.previewer] - The Previewer instance to sync with. Defaults to wp.customize.previewer. - */ - initialize: function( id, value, options ) { - var setting = this, params; - params = _.extend( - { previewer: api.previewer }, - setting.defaults, - options || {} - ); - - api.Value.prototype.initialize.call( setting, value, params ); - - setting.id = id; - setting._dirty = params.dirty; // The _dirty property is what the Customizer reads from. - setting.notifications = new api.Notifications(); - - // Whenever the setting's value changes, refresh the preview. - setting.bind( setting.preview ); - }, - - /** - * Refresh the preview, respective of the setting's refresh policy. - * - * If the preview hasn't sent a keep-alive message and is likely - * disconnected by having navigated to a non-allowed URL, then the - * refresh transport will be forced when postMessage is the transport. - * Note that postMessage does not throw an error when the recipient window - * fails to match the origin window, so using try/catch around the - * previewer.send() call to then fallback to refresh will not work. - * - * @since 3.4.0 - * @access public - * - * @return {void} - */ - preview: function() { - var setting = this, transport; - transport = setting.transport; - - if ( 'postMessage' === transport && ! api.state( 'previewerAlive' ).get() ) { - transport = 'refresh'; - } - - if ( 'postMessage' === transport ) { - setting.previewer.send( 'setting', [ setting.id, setting() ] ); - } else if ( 'refresh' === transport ) { - setting.previewer.refresh(); - } - }, - - /** - * Find controls associated with this setting. - * - * @since 4.6.0 - * @return {wp.customize.Control[]} Controls associated with setting. - */ - findControls: function() { - var setting = this, controls = []; - api.control.each( function( control ) { - _.each( control.settings, function( controlSetting ) { - if ( controlSetting.id === setting.id ) { - controls.push( control ); - } - } ); - } ); - return controls; - } - }); - - /** - * Current change count. - * - * @alias wp.customize._latestRevision - * - * @since 4.7.0 - * @type {number} - * @protected - */ - api._latestRevision = 0; - - /** - * Last revision that was saved. - * - * @alias wp.customize._lastSavedRevision - * - * @since 4.7.0 - * @type {number} - * @protected - */ - api._lastSavedRevision = 0; - - /** - * Latest revisions associated with the updated setting. - * - * @alias wp.customize._latestSettingRevisions - * - * @since 4.7.0 - * @type {object} - * @protected - */ - api._latestSettingRevisions = {}; - - /* - * Keep track of the revision associated with each updated setting so that - * requestChangesetUpdate knows which dirty settings to include. Also, once - * ready is triggered and all initial settings have been added, increment - * revision for each newly-created initially-dirty setting so that it will - * also be included in changeset update requests. - */ - api.bind( 'change', function incrementChangedSettingRevision( setting ) { - api._latestRevision += 1; - api._latestSettingRevisions[ setting.id ] = api._latestRevision; - } ); - api.bind( 'ready', function() { - api.bind( 'add', function incrementCreatedSettingRevision( setting ) { - if ( setting._dirty ) { - api._latestRevision += 1; - api._latestSettingRevisions[ setting.id ] = api._latestRevision; - } - } ); - } ); - - /** - * Get the dirty setting values. - * - * @alias wp.customize.dirtyValues - * - * @since 4.7.0 - * @access public - * - * @param {Object} [options] Options. - * @param {boolean} [options.unsaved=false] Whether only values not saved yet into a changeset will be returned (differential changes). - * @return {Object} Dirty setting values. - */ - api.dirtyValues = function dirtyValues( options ) { - var values = {}; - api.each( function( setting ) { - var settingRevision; - - if ( ! setting._dirty ) { - return; - } - - settingRevision = api._latestSettingRevisions[ setting.id ]; - - // Skip including settings that have already been included in the changeset, if only requesting unsaved. - if ( api.state( 'changesetStatus' ).get() && ( options && options.unsaved ) && ( _.isUndefined( settingRevision ) || settingRevision <= api._lastSavedRevision ) ) { - return; - } - - values[ setting.id ] = setting.get(); - } ); - return values; - }; - - /** - * Request updates to the changeset. - * - * @alias wp.customize.requestChangesetUpdate - * - * @since 4.7.0 - * @access public - * - * @param {Object} [changes] - Mapping of setting IDs to setting params each normally including a value property, or mapping to null. - * If not provided, then the changes will still be obtained from unsaved dirty settings. - * @param {Object} [args] - Additional options for the save request. - * @param {boolean} [args.autosave=false] - Whether changes will be stored in autosave revision if the changeset has been promoted from an auto-draft. - * @param {boolean} [args.force=false] - Send request to update even when there are no changes to submit. This can be used to request the latest status of the changeset on the server. - * @param {string} [args.title] - Title to update in the changeset. Optional. - * @param {string} [args.date] - Date to update in the changeset. Optional. - * @return {jQuery.Promise} Promise resolving with the response data. - */ - api.requestChangesetUpdate = function requestChangesetUpdate( changes, args ) { - var deferred, request, submittedChanges = {}, data, submittedArgs; - deferred = new $.Deferred(); - - // Prevent attempting changeset update while request is being made. - if ( 0 !== api.state( 'processing' ).get() ) { - deferred.reject( 'already_processing' ); - return deferred.promise(); - } - - submittedArgs = _.extend( { - title: null, - date: null, - autosave: false, - force: false - }, args ); - - if ( changes ) { - _.extend( submittedChanges, changes ); - } - - // Ensure all revised settings (changes pending save) are also included, but not if marked for deletion in changes. - _.each( api.dirtyValues( { unsaved: true } ), function( dirtyValue, settingId ) { - if ( ! changes || null !== changes[ settingId ] ) { - submittedChanges[ settingId ] = _.extend( - {}, - submittedChanges[ settingId ] || {}, - { value: dirtyValue } - ); - } - } ); - - // Allow plugins to attach additional params to the settings. - api.trigger( 'changeset-save', submittedChanges, submittedArgs ); - - // Short-circuit when there are no pending changes. - if ( ! submittedArgs.force && _.isEmpty( submittedChanges ) && null === submittedArgs.title && null === submittedArgs.date ) { - deferred.resolve( {} ); - return deferred.promise(); - } - - // A status would cause a revision to be made, and for this wp.customize.previewer.save() should be used. - // Status is also disallowed for revisions regardless. - if ( submittedArgs.status ) { - return deferred.reject( { code: 'illegal_status_in_changeset_update' } ).promise(); - } - - // Dates not beung allowed for revisions are is a technical limitation of post revisions. - if ( submittedArgs.date && submittedArgs.autosave ) { - return deferred.reject( { code: 'illegal_autosave_with_date_gmt' } ).promise(); - } - - // Make sure that publishing a changeset waits for all changeset update requests to complete. - api.state( 'processing' ).set( api.state( 'processing' ).get() + 1 ); - deferred.always( function() { - api.state( 'processing' ).set( api.state( 'processing' ).get() - 1 ); - } ); - - // Ensure that if any plugins add data to save requests by extending query() that they get included here. - data = api.previewer.query( { excludeCustomizedSaved: true } ); - delete data.customized; // Being sent in customize_changeset_data instead. - _.extend( data, { - nonce: api.settings.nonce.save, - customize_theme: api.settings.theme.stylesheet, - customize_changeset_data: JSON.stringify( submittedChanges ) - } ); - if ( null !== submittedArgs.title ) { - data.customize_changeset_title = submittedArgs.title; - } - if ( null !== submittedArgs.date ) { - data.customize_changeset_date = submittedArgs.date; - } - if ( false !== submittedArgs.autosave ) { - data.customize_changeset_autosave = 'true'; - } - - // Allow plugins to modify the params included with the save request. - api.trigger( 'save-request-params', data ); - - request = wp.ajax.post( 'customize_save', data ); - - request.done( function requestChangesetUpdateDone( data ) { - var savedChangesetValues = {}; - - // Ensure that all settings updated subsequently will be included in the next changeset update request. - api._lastSavedRevision = Math.max( api._latestRevision, api._lastSavedRevision ); - - api.state( 'changesetStatus' ).set( data.changeset_status ); - - if ( data.changeset_date ) { - api.state( 'changesetDate' ).set( data.changeset_date ); - } - - deferred.resolve( data ); - api.trigger( 'changeset-saved', data ); - - if ( data.setting_validities ) { - _.each( data.setting_validities, function( validity, settingId ) { - if ( true === validity && _.isObject( submittedChanges[ settingId ] ) && ! _.isUndefined( submittedChanges[ settingId ].value ) ) { - savedChangesetValues[ settingId ] = submittedChanges[ settingId ].value; - } - } ); - } - - api.previewer.send( 'changeset-saved', _.extend( {}, data, { saved_changeset_values: savedChangesetValues } ) ); - } ); - request.fail( function requestChangesetUpdateFail( data ) { - deferred.reject( data ); - api.trigger( 'changeset-error', data ); - } ); - request.always( function( data ) { - if ( data.setting_validities ) { - api._handleSettingValidities( { - settingValidities: data.setting_validities - } ); - } - } ); - - return deferred.promise(); - }; - - /** - * Watch all changes to Value properties, and bubble changes to parent Values instance - * - * @alias wp.customize.utils.bubbleChildValueChanges - * - * @since 4.1.0 - * - * @param {wp.customize.Class} instance - * @param {Array} properties The names of the Value instances to watch. - */ - api.utils.bubbleChildValueChanges = function ( instance, properties ) { - $.each( properties, function ( i, key ) { - instance[ key ].bind( function ( to, from ) { - if ( instance.parent && to !== from ) { - instance.parent.trigger( 'change', instance ); - } - } ); - } ); - }; - - /** - * Expand a panel, section, or control and focus on the first focusable element. - * - * @alias wp.customize~focus - * - * @since 4.1.0 - * - * @param {Object} [params] - * @param {Function} [params.completeCallback] - */ - focus = function ( params ) { - var construct, completeCallback, focus, focusElement, sections; - construct = this; - params = params || {}; - focus = function () { - // If a child section is currently expanded, collapse it. - if ( construct.extended( api.Panel ) ) { - sections = construct.sections(); - if ( 1 < sections.length ) { - sections.forEach( function ( section ) { - if ( section.expanded() ) { - section.collapse(); - } - } ); - } - } - - var focusContainer; - if ( ( construct.extended( api.Panel ) || construct.extended( api.Section ) ) && construct.expanded && construct.expanded() ) { - focusContainer = construct.contentContainer; - } else { - focusContainer = construct.container; - } - - focusElement = focusContainer.find( '.control-focus:first' ); - if ( 0 === focusElement.length ) { - // Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 - focusElement = focusContainer.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).first(); - } - focusElement.focus(); - }; - if ( params.completeCallback ) { - completeCallback = params.completeCallback; - params.completeCallback = function () { - focus(); - completeCallback(); - }; - } else { - params.completeCallback = focus; - } - - api.state( 'paneVisible' ).set( true ); - if ( construct.expand ) { - construct.expand( params ); - } else { - params.completeCallback(); - } - }; - - /** - * Stable sort for Panels, Sections, and Controls. - * - * If a.priority() === b.priority(), then sort by their respective params.instanceNumber. - * - * @alias wp.customize.utils.prioritySort - * - * @since 4.1.0 - * - * @param {(wp.customize.Panel|wp.customize.Section|wp.customize.Control)} a - * @param {(wp.customize.Panel|wp.customize.Section|wp.customize.Control)} b - * @return {number} - */ - api.utils.prioritySort = function ( a, b ) { - if ( a.priority() === b.priority() && typeof a.params.instanceNumber === 'number' && typeof b.params.instanceNumber === 'number' ) { - return a.params.instanceNumber - b.params.instanceNumber; - } else { - return a.priority() - b.priority(); - } - }; - - /** - * Return whether the supplied Event object is for a keydown event but not the Enter key. - * - * @alias wp.customize.utils.isKeydownButNotEnterEvent - * - * @since 4.1.0 - * - * @param {jQuery.Event} event - * @return {boolean} - */ - api.utils.isKeydownButNotEnterEvent = function ( event ) { - return ( 'keydown' === event.type && 13 !== event.which ); - }; - - /** - * Return whether the two lists of elements are the same and are in the same order. - * - * @alias wp.customize.utils.areElementListsEqual - * - * @since 4.1.0 - * - * @param {Array|jQuery} listA - * @param {Array|jQuery} listB - * @return {boolean} - */ - api.utils.areElementListsEqual = function ( listA, listB ) { - var equal = ( - listA.length === listB.length && // If lists are different lengths, then naturally they are not equal. - -1 === _.indexOf( _.map( // Are there any false values in the list returned by map? - _.zip( listA, listB ), // Pair up each element between the two lists. - function ( pair ) { - return $( pair[0] ).is( pair[1] ); // Compare to see if each pair is equal. - } - ), false ) // Check for presence of false in map's return value. - ); - return equal; - }; - - /** - * Highlight the existence of a button. - * - * This function reminds the user of a button represented by the specified - * UI element, after an optional delay. If the user focuses the element - * before the delay passes, the reminder is canceled. - * - * @alias wp.customize.utils.highlightButton - * - * @since 4.9.0 - * - * @param {jQuery} button - The element to highlight. - * @param {Object} [options] - Options. - * @param {number} [options.delay=0] - Delay in milliseconds. - * @param {jQuery} [options.focusTarget] - A target for user focus that defaults to the highlighted element. - * If the user focuses the target before the delay passes, the reminder - * is canceled. This option exists to accommodate compound buttons - * containing auxiliary UI, such as the Publish button augmented with a - * Settings button. - * @return {Function} An idempotent function that cancels the reminder. - */ - api.utils.highlightButton = function highlightButton( button, options ) { - var animationClass = 'button-see-me', - canceled = false, - params; - - params = _.extend( - { - delay: 0, - focusTarget: button - }, - options - ); - - function cancelReminder() { - canceled = true; - } - - params.focusTarget.on( 'focusin', cancelReminder ); - setTimeout( function() { - params.focusTarget.off( 'focusin', cancelReminder ); - - if ( ! canceled ) { - button.addClass( animationClass ); - button.one( 'animationend', function() { - /* - * Remove animation class to avoid situations in Customizer where - * DOM nodes are moved (re-inserted) and the animation repeats. - */ - button.removeClass( animationClass ); - } ); - } - }, params.delay ); - - return cancelReminder; - }; - - /** - * Get current timestamp adjusted for server clock time. - * - * Same functionality as the `current_time( 'mysql', false )` function in PHP. - * - * @alias wp.customize.utils.getCurrentTimestamp - * - * @since 4.9.0 - * - * @return {number} Current timestamp. - */ - api.utils.getCurrentTimestamp = function getCurrentTimestamp() { - var currentDate, currentClientTimestamp, timestampDifferential; - currentClientTimestamp = _.now(); - currentDate = new Date( api.settings.initialServerDate.replace( /-/g, '/' ) ); - timestampDifferential = currentClientTimestamp - api.settings.initialClientTimestamp; - timestampDifferential += api.settings.initialClientTimestamp - api.settings.initialServerTimestamp; - currentDate.setTime( currentDate.getTime() + timestampDifferential ); - return currentDate.getTime(); - }; - - /** - * Get remaining time of when the date is set. - * - * @alias wp.customize.utils.getRemainingTime - * - * @since 4.9.0 - * - * @param {string|number|Date} datetime - Date time or timestamp of the future date. - * @return {number} remainingTime - Remaining time in milliseconds. - */ - api.utils.getRemainingTime = function getRemainingTime( datetime ) { - var millisecondsDivider = 1000, remainingTime, timestamp; - if ( datetime instanceof Date ) { - timestamp = datetime.getTime(); - } else if ( 'string' === typeof datetime ) { - timestamp = ( new Date( datetime.replace( /-/g, '/' ) ) ).getTime(); - } else { - timestamp = datetime; - } - - remainingTime = timestamp - api.utils.getCurrentTimestamp(); - remainingTime = Math.ceil( remainingTime / millisecondsDivider ); - return remainingTime; - }; - - /** - * Return browser supported `transitionend` event name. - * - * @since 4.7.0 - * - * @ignore - * - * @return {string|null} Normalized `transitionend` event name or null if CSS transitions are not supported. - */ - normalizedTransitionendEventName = (function () { - var el, transitions, prop; - el = document.createElement( 'div' ); - transitions = { - 'transition' : 'transitionend', - 'OTransition' : 'oTransitionEnd', - 'MozTransition' : 'transitionend', - 'WebkitTransition': 'webkitTransitionEnd' - }; - prop = _.find( _.keys( transitions ), function( prop ) { - return ! _.isUndefined( el.style[ prop ] ); - } ); - if ( prop ) { - return transitions[ prop ]; - } else { - return null; - } - })(); - - Container = api.Class.extend(/** @lends wp.customize~Container.prototype */{ - defaultActiveArguments: { duration: 'fast', completeCallback: $.noop }, - defaultExpandedArguments: { duration: 'fast', completeCallback: $.noop }, - containerType: 'container', - defaults: { - title: '', - description: '', - priority: 100, - type: 'default', - content: null, - active: true, - instanceNumber: null - }, - - /** - * Base class for Panel and Section. - * - * @constructs wp.customize~Container - * @augments wp.customize.Class - * - * @since 4.1.0 - * - * @borrows wp.customize~focus as focus - * - * @param {string} id - The ID for the container. - * @param {Object} options - Object containing one property: params. - * @param {string} options.title - Title shown when panel is collapsed and expanded. - * @param {string} [options.description] - Description shown at the top of the panel. - * @param {number} [options.priority=100] - The sort priority for the panel. - * @param {string} [options.templateId] - Template selector for container. - * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor. - * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. - * @param {boolean} [options.active=true] - Whether the panel is active or not. - * @param {Object} [options.params] - Deprecated wrapper for the above properties. - */ - initialize: function ( id, options ) { - var container = this; - container.id = id; - - if ( ! Container.instanceCounter ) { - Container.instanceCounter = 0; - } - Container.instanceCounter++; - - $.extend( container, { - params: _.defaults( - options.params || options, // Passing the params is deprecated. - container.defaults - ) - } ); - if ( ! container.params.instanceNumber ) { - container.params.instanceNumber = Container.instanceCounter; - } - container.notifications = new api.Notifications(); - container.templateSelector = container.params.templateId || 'customize-' + container.containerType + '-' + container.params.type; - container.container = $( container.params.content ); - if ( 0 === container.container.length ) { - container.container = $( container.getContainer() ); - } - container.headContainer = container.container; - container.contentContainer = container.getContent(); - container.container = container.container.add( container.contentContainer ); - - container.deferred = { - embedded: new $.Deferred() - }; - container.priority = new api.Value(); - container.active = new api.Value(); - container.activeArgumentsQueue = []; - container.expanded = new api.Value(); - container.expandedArgumentsQueue = []; - - container.active.bind( function ( active ) { - var args = container.activeArgumentsQueue.shift(); - args = $.extend( {}, container.defaultActiveArguments, args ); - active = ( active && container.isContextuallyActive() ); - container.onChangeActive( active, args ); - }); - container.expanded.bind( function ( expanded ) { - var args = container.expandedArgumentsQueue.shift(); - args = $.extend( {}, container.defaultExpandedArguments, args ); - container.onChangeExpanded( expanded, args ); - }); - - container.deferred.embedded.done( function () { - container.setupNotifications(); - container.attachEvents(); - }); - - api.utils.bubbleChildValueChanges( container, [ 'priority', 'active' ] ); - - container.priority.set( container.params.priority ); - container.active.set( container.params.active ); - container.expanded.set( false ); - }, - - /** - * Get the element that will contain the notifications. - * - * @since 4.9.0 - * @return {jQuery} Notification container element. - */ - getNotificationsContainerElement: function() { - var container = this; - return container.contentContainer.find( '.customize-control-notifications-container:first' ); - }, - - /** - * Set up notifications. - * - * @since 4.9.0 - * @return {void} - */ - setupNotifications: function() { - var container = this, renderNotifications; - container.notifications.container = container.getNotificationsContainerElement(); - - // Render notifications when they change and when the construct is expanded. - renderNotifications = function() { - if ( container.expanded.get() ) { - container.notifications.render(); - } - }; - container.expanded.bind( renderNotifications ); - renderNotifications(); - container.notifications.bind( 'change', _.debounce( renderNotifications ) ); - }, - - /** - * @since 4.1.0 - * - * @abstract - */ - ready: function() {}, - - /** - * Get the child models associated with this parent, sorting them by their priority Value. - * - * @since 4.1.0 - * - * @param {string} parentType - * @param {string} childType - * @return {Array} - */ - _children: function ( parentType, childType ) { - var parent = this, - children = []; - api[ childType ].each( function ( child ) { - if ( child[ parentType ].get() === parent.id ) { - children.push( child ); - } - } ); - children.sort( api.utils.prioritySort ); - return children; - }, - - /** - * To override by subclass, to return whether the container has active children. - * - * @since 4.1.0 - * - * @abstract - */ - isContextuallyActive: function () { - throw new Error( 'Container.isContextuallyActive() must be overridden in a subclass.' ); - }, - - /** - * Active state change handler. - * - * Shows the container if it is active, hides it if not. - * - * To override by subclass, update the container's UI to reflect the provided active state. - * - * @since 4.1.0 - * - * @param {boolean} active - The active state to transiution to. - * @param {Object} [args] - Args. - * @param {Object} [args.duration] - The duration for the slideUp/slideDown animation. - * @param {boolean} [args.unchanged] - Whether the state is already known to not be changed, and so short-circuit with calling completeCallback early. - * @param {Function} [args.completeCallback] - Function to call when the slideUp/slideDown has completed. - */ - onChangeActive: function( active, args ) { - var construct = this, - headContainer = construct.headContainer, - duration, expandedOtherPanel; - - if ( args.unchanged ) { - if ( args.completeCallback ) { - args.completeCallback(); - } - return; - } - - duration = ( 'resolved' === api.previewer.deferred.active.state() ? args.duration : 0 ); - - if ( construct.extended( api.Panel ) ) { - // If this is a panel is not currently expanded but another panel is expanded, do not animate. - api.panel.each(function ( panel ) { - if ( panel !== construct && panel.expanded() ) { - expandedOtherPanel = panel; - duration = 0; - } - }); - - // Collapse any expanded sections inside of this panel first before deactivating. - if ( ! active ) { - _.each( construct.sections(), function( section ) { - section.collapse( { duration: 0 } ); - } ); - } - } - - if ( ! $.contains( document, headContainer.get( 0 ) ) ) { - // If the element is not in the DOM, then jQuery.fn.slideUp() does nothing. - // In this case, a hard toggle is required instead. - headContainer.toggle( active ); - if ( args.completeCallback ) { - args.completeCallback(); - } - } else if ( active ) { - headContainer.slideDown( duration, args.completeCallback ); - } else { - if ( construct.expanded() ) { - construct.collapse({ - duration: duration, - completeCallback: function() { - headContainer.slideUp( duration, args.completeCallback ); - } - }); - } else { - headContainer.slideUp( duration, args.completeCallback ); - } - } - }, - - /** - * @since 4.1.0 - * - * @param {boolean} active - * @param {Object} [params] - * @return {boolean} False if state already applied. - */ - _toggleActive: function ( active, params ) { - var self = this; - params = params || {}; - if ( ( active && this.active.get() ) || ( ! active && ! this.active.get() ) ) { - params.unchanged = true; - self.onChangeActive( self.active.get(), params ); - return false; - } else { - params.unchanged = false; - this.activeArgumentsQueue.push( params ); - this.active.set( active ); - return true; - } - }, - - /** - * @param {Object} [params] - * @return {boolean} False if already active. - */ - activate: function ( params ) { - return this._toggleActive( true, params ); - }, - - /** - * @param {Object} [params] - * @return {boolean} False if already inactive. - */ - deactivate: function ( params ) { - return this._toggleActive( false, params ); - }, - - /** - * To override by subclass, update the container's UI to reflect the provided active state. - * @abstract - */ - onChangeExpanded: function () { - throw new Error( 'Must override with subclass.' ); - }, - - /** - * Handle the toggle logic for expand/collapse. - * - * @param {boolean} expanded - The new state to apply. - * @param {Object} [params] - Object containing options for expand/collapse. - * @param {Function} [params.completeCallback] - Function to call when expansion/collapse is complete. - * @return {boolean} False if state already applied or active state is false. - */ - _toggleExpanded: function( expanded, params ) { - var instance = this, previousCompleteCallback; - params = params || {}; - previousCompleteCallback = params.completeCallback; - - // Short-circuit expand() if the instance is not active. - if ( expanded && ! instance.active() ) { - return false; - } - - api.state( 'paneVisible' ).set( true ); - params.completeCallback = function() { - if ( previousCompleteCallback ) { - previousCompleteCallback.apply( instance, arguments ); - } - if ( expanded ) { - instance.container.trigger( 'expanded' ); - } else { - instance.container.trigger( 'collapsed' ); - } - }; - if ( ( expanded && instance.expanded.get() ) || ( ! expanded && ! instance.expanded.get() ) ) { - params.unchanged = true; - instance.onChangeExpanded( instance.expanded.get(), params ); - return false; - } else { - params.unchanged = false; - instance.expandedArgumentsQueue.push( params ); - instance.expanded.set( expanded ); - return true; - } - }, - - /** - * @param {Object} [params] - * @return {boolean} False if already expanded or if inactive. - */ - expand: function ( params ) { - return this._toggleExpanded( true, params ); - }, - - /** - * @param {Object} [params] - * @return {boolean} False if already collapsed. - */ - collapse: function ( params ) { - return this._toggleExpanded( false, params ); - }, - - /** - * Animate container state change if transitions are supported by the browser. - * - * @since 4.7.0 - * @private - * - * @param {function} completeCallback Function to be called after transition is completed. - * @return {void} - */ - _animateChangeExpanded: function( completeCallback ) { - // Return if CSS transitions are not supported or if reduced motion is enabled. - if ( ! normalizedTransitionendEventName || isReducedMotion ) { - // Schedule the callback until the next tick to prevent focus loss. - _.defer( function () { - if ( completeCallback ) { - completeCallback(); - } - } ); - return; - } - - var construct = this, - content = construct.contentContainer, - overlay = content.closest( '.wp-full-overlay' ), - elements, transitionEndCallback, transitionParentPane; - - // Determine set of elements that are affected by the animation. - elements = overlay.add( content ); - - if ( ! construct.panel || '' === construct.panel() ) { - transitionParentPane = true; - } else if ( api.panel( construct.panel() ).contentContainer.hasClass( 'skip-transition' ) ) { - transitionParentPane = true; - } else { - transitionParentPane = false; - } - if ( transitionParentPane ) { - elements = elements.add( '#customize-info, .customize-pane-parent' ); - } - - // Handle `transitionEnd` event. - transitionEndCallback = function( e ) { - if ( 2 !== e.eventPhase || ! $( e.target ).is( content ) ) { - return; - } - content.off( normalizedTransitionendEventName, transitionEndCallback ); - elements.removeClass( 'busy' ); - if ( completeCallback ) { - completeCallback(); - } - }; - content.on( normalizedTransitionendEventName, transitionEndCallback ); - elements.addClass( 'busy' ); - - // Prevent screen flicker when pane has been scrolled before expanding. - _.defer( function() { - var container = content.closest( '.wp-full-overlay-sidebar-content' ), - currentScrollTop = container.scrollTop(), - previousScrollTop = content.data( 'previous-scrollTop' ) || 0, - expanded = construct.expanded(); - - if ( expanded && 0 < currentScrollTop ) { - content.css( 'top', currentScrollTop + 'px' ); - content.data( 'previous-scrollTop', currentScrollTop ); - } else if ( ! expanded && 0 < currentScrollTop + previousScrollTop ) { - content.css( 'top', previousScrollTop - currentScrollTop + 'px' ); - container.scrollTop( previousScrollTop ); - } - } ); - }, - - /* - * is documented using @borrows in the constructor. - */ - focus: focus, - - /** - * Return the container html, generated from its JS template, if it exists. - * - * @since 4.3.0 - */ - getContainer: function () { - var template, - container = this; - - if ( 0 !== $( '#tmpl-' + container.templateSelector ).length ) { - template = wp.template( container.templateSelector ); - } else { - template = wp.template( 'customize-' + container.containerType + '-default' ); - } - if ( template && container.container ) { - return template( _.extend( - { id: container.id }, - container.params - ) ).toString().trim(); - } - - return '
  • '; - }, - - /** - * Find content element which is displayed when the section is expanded. - * - * After a construct is initialized, the return value will be available via the `contentContainer` property. - * By default the element will be related it to the parent container with `aria-owns` and detached. - * Custom panels and sections (such as the `NewMenuSection`) that do not have a sliding pane should - * just return the content element without needing to add the `aria-owns` element or detach it from - * the container. Such non-sliding pane custom sections also need to override the `onChangeExpanded` - * method to handle animating the panel/section into and out of view. - * - * @since 4.7.0 - * @access public - * - * @return {jQuery} Detached content element. - */ - getContent: function() { - var construct = this, - container = construct.container, - content = container.find( '.accordion-section-content, .control-panel-content' ).first(), - contentId = 'sub-' + container.attr( 'id' ), - ownedElements = contentId, - alreadyOwnedElements = container.attr( 'aria-owns' ); - - if ( alreadyOwnedElements ) { - ownedElements = ownedElements + ' ' + alreadyOwnedElements; - } - container.attr( 'aria-owns', ownedElements ); - - return content.detach().attr( { - 'id': contentId, - 'class': 'customize-pane-child ' + content.attr( 'class' ) + ' ' + container.attr( 'class' ) - } ); - } - }); - - api.Section = Container.extend(/** @lends wp.customize.Section.prototype */{ - containerType: 'section', - containerParent: '#customize-theme-controls', - containerPaneParent: '.customize-pane-parent', - defaults: { - title: '', - description: '', - priority: 100, - type: 'default', - content: null, - active: true, - instanceNumber: null, - panel: null, - customizeAction: '' - }, - - /** - * @constructs wp.customize.Section - * @augments wp.customize~Container - * - * @since 4.1.0 - * - * @param {string} id - The ID for the section. - * @param {Object} options - Options. - * @param {string} options.title - Title shown when section is collapsed and expanded. - * @param {string} [options.description] - Description shown at the top of the section. - * @param {number} [options.priority=100] - The sort priority for the section. - * @param {string} [options.type=default] - The type of the section. See wp.customize.sectionConstructor. - * @param {string} [options.content] - The markup to be used for the section container. If empty, a JS template is used. - * @param {boolean} [options.active=true] - Whether the section is active or not. - * @param {string} options.panel - The ID for the panel this section is associated with. - * @param {string} [options.customizeAction] - Additional context information shown before the section title when expanded. - * @param {Object} [options.params] - Deprecated wrapper for the above properties. - */ - initialize: function ( id, options ) { - var section = this, params; - params = options.params || options; - - // Look up the type if one was not supplied. - if ( ! params.type ) { - _.find( api.sectionConstructor, function( Constructor, type ) { - if ( Constructor === section.constructor ) { - params.type = type; - return true; - } - return false; - } ); - } - - Container.prototype.initialize.call( section, id, params ); - - section.id = id; - section.panel = new api.Value(); - section.panel.bind( function ( id ) { - $( section.headContainer ).toggleClass( 'control-subsection', !! id ); - }); - section.panel.set( section.params.panel || '' ); - api.utils.bubbleChildValueChanges( section, [ 'panel' ] ); - - section.embed(); - section.deferred.embedded.done( function () { - section.ready(); - }); - }, - - /** - * Embed the container in the DOM when any parent panel is ready. - * - * @since 4.1.0 - */ - embed: function () { - var inject, - section = this; - - section.containerParent = api.ensure( section.containerParent ); - - // Watch for changes to the panel state. - inject = function ( panelId ) { - var parentContainer; - if ( panelId ) { - // The panel has been supplied, so wait until the panel object is registered. - api.panel( panelId, function ( panel ) { - // The panel has been registered, wait for it to become ready/initialized. - panel.deferred.embedded.done( function () { - parentContainer = panel.contentContainer; - if ( ! section.headContainer.parent().is( parentContainer ) ) { - parentContainer.append( section.headContainer ); - } - if ( ! section.contentContainer.parent().is( section.headContainer ) ) { - section.containerParent.append( section.contentContainer ); - } - section.deferred.embedded.resolve(); - }); - } ); - } else { - // There is no panel, so embed the section in the root of the customizer. - parentContainer = api.ensure( section.containerPaneParent ); - if ( ! section.headContainer.parent().is( parentContainer ) ) { - parentContainer.append( section.headContainer ); - } - if ( ! section.contentContainer.parent().is( section.headContainer ) ) { - section.containerParent.append( section.contentContainer ); - } - section.deferred.embedded.resolve(); - } - }; - section.panel.bind( inject ); - inject( section.panel.get() ); // Since a section may never get a panel, assume that it won't ever get one. - }, - - /** - * Add behaviors for the accordion section. - * - * @since 4.1.0 - */ - attachEvents: function () { - var meta, content, section = this; - - if ( section.container.hasClass( 'cannot-expand' ) ) { - return; - } - - // Expand/Collapse accordion sections on click. - section.container.find( '.accordion-section-title, .customize-section-back' ).on( 'click keydown', function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); // Keep this AFTER the key filter above. - - if ( section.expanded() ) { - section.collapse(); - } else { - section.expand(); - } - }); - - // This is very similar to what is found for api.Panel.attachEvents(). - section.container.find( '.customize-section-title .customize-help-toggle' ).on( 'click', function() { - - meta = section.container.find( '.section-meta' ); - if ( meta.hasClass( 'cannot-expand' ) ) { - return; - } - content = meta.find( '.customize-section-description:first' ); - content.toggleClass( 'open' ); - content.slideToggle( section.defaultExpandedArguments.duration, function() { - content.trigger( 'toggled' ); - } ); - $( this ).attr( 'aria-expanded', function( i, attr ) { - return 'true' === attr ? 'false' : 'true'; - }); - }); - }, - - /** - * Return whether this section has any active controls. - * - * @since 4.1.0 - * - * @return {boolean} - */ - isContextuallyActive: function () { - var section = this, - controls = section.controls(), - activeCount = 0; - _( controls ).each( function ( control ) { - if ( control.active() ) { - activeCount += 1; - } - } ); - return ( activeCount !== 0 ); - }, - - /** - * Get the controls that are associated with this section, sorted by their priority Value. - * - * @since 4.1.0 - * - * @return {Array} - */ - controls: function () { - return this._children( 'section', 'control' ); - }, - - /** - * Update UI to reflect expanded state. - * - * @since 4.1.0 - * - * @param {boolean} expanded - * @param {Object} args - */ - onChangeExpanded: function ( expanded, args ) { - var section = this, - container = section.headContainer.closest( '.wp-full-overlay-sidebar-content' ), - content = section.contentContainer, - overlay = section.headContainer.closest( '.wp-full-overlay' ), - backBtn = content.find( '.customize-section-back' ), - sectionTitle = section.headContainer.find( '.accordion-section-title' ).first(), - expand, panel; - - if ( expanded && ! content.hasClass( 'open' ) ) { - - if ( args.unchanged ) { - expand = args.completeCallback; - } else { - expand = function() { - section._animateChangeExpanded( function() { - sectionTitle.attr( 'tabindex', '-1' ); - backBtn.attr( 'tabindex', '0' ); - - backBtn.trigger( 'focus' ); - content.css( 'top', '' ); - container.scrollTop( 0 ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } ); - - content.addClass( 'open' ); - overlay.addClass( 'section-open' ); - api.state( 'expandedSection' ).set( section ); - }.bind( this ); - } - - if ( ! args.allowMultiple ) { - api.section.each( function ( otherSection ) { - if ( otherSection !== section ) { - otherSection.collapse( { duration: args.duration } ); - } - }); - } - - if ( section.panel() ) { - api.panel( section.panel() ).expand({ - duration: args.duration, - completeCallback: expand - }); - } else { - if ( ! args.allowMultiple ) { - api.panel.each( function( panel ) { - panel.collapse(); - }); - } - expand(); - } - - } else if ( ! expanded && content.hasClass( 'open' ) ) { - if ( section.panel() ) { - panel = api.panel( section.panel() ); - if ( panel.contentContainer.hasClass( 'skip-transition' ) ) { - panel.collapse(); - } - } - section._animateChangeExpanded( function() { - backBtn.attr( 'tabindex', '-1' ); - sectionTitle.attr( 'tabindex', '0' ); - - sectionTitle.trigger( 'focus' ); - content.css( 'top', '' ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } ); - - content.removeClass( 'open' ); - overlay.removeClass( 'section-open' ); - if ( section === api.state( 'expandedSection' ).get() ) { - api.state( 'expandedSection' ).set( false ); - } - - } else { - if ( args.completeCallback ) { - args.completeCallback(); - } - } - } - }); - - api.ThemesSection = api.Section.extend(/** @lends wp.customize.ThemesSection.prototype */{ - currentTheme: '', - overlay: '', - template: '', - screenshotQueue: null, - $window: null, - $body: null, - loaded: 0, - loading: false, - fullyLoaded: false, - term: '', - tags: '', - nextTerm: '', - nextTags: '', - filtersHeight: 0, - headerContainer: null, - updateCountDebounced: null, - - /** - * wp.customize.ThemesSection - * - * Custom section for themes that loads themes by category, and also - * handles the theme-details view rendering and navigation. - * - * @constructs wp.customize.ThemesSection - * @augments wp.customize.Section - * - * @since 4.9.0 - * - * @param {string} id - ID. - * @param {Object} options - Options. - * @return {void} - */ - initialize: function( id, options ) { - var section = this; - section.headerContainer = $(); - section.$window = $( window ); - section.$body = $( document.body ); - api.Section.prototype.initialize.call( section, id, options ); - section.updateCountDebounced = _.debounce( section.updateCount, 500 ); - }, - - /** - * Embed the section in the DOM when the themes panel is ready. - * - * Insert the section before the themes container. Assume that a themes section is within a panel, but not necessarily the themes panel. - * - * @since 4.9.0 - */ - embed: function() { - var inject, - section = this; - - // Watch for changes to the panel state. - inject = function( panelId ) { - var parentContainer; - api.panel( panelId, function( panel ) { - - // The panel has been registered, wait for it to become ready/initialized. - panel.deferred.embedded.done( function() { - parentContainer = panel.contentContainer; - if ( ! section.headContainer.parent().is( parentContainer ) ) { - parentContainer.find( '.customize-themes-full-container-container' ).before( section.headContainer ); - } - if ( ! section.contentContainer.parent().is( section.headContainer ) ) { - section.containerParent.append( section.contentContainer ); - } - section.deferred.embedded.resolve(); - }); - } ); - }; - section.panel.bind( inject ); - inject( section.panel.get() ); // Since a section may never get a panel, assume that it won't ever get one. - }, - - /** - * Set up. - * - * @since 4.2.0 - * - * @return {void} - */ - ready: function() { - var section = this; - section.overlay = section.container.find( '.theme-overlay' ); - section.template = wp.template( 'customize-themes-details-view' ); - - // Bind global keyboard events. - section.container.on( 'keydown', function( event ) { - if ( ! section.overlay.find( '.theme-wrap' ).is( ':visible' ) ) { - return; - } - - // Pressing the right arrow key fires a theme:next event. - if ( 39 === event.keyCode ) { - section.nextTheme(); - } - - // Pressing the left arrow key fires a theme:previous event. - if ( 37 === event.keyCode ) { - section.previousTheme(); - } - - // Pressing the escape key fires a theme:collapse event. - if ( 27 === event.keyCode ) { - if ( section.$body.hasClass( 'modal-open' ) ) { - - // Escape from the details modal. - section.closeDetails(); - } else { - - // Escape from the inifinite scroll list. - section.headerContainer.find( '.customize-themes-section-title' ).focus(); - } - event.stopPropagation(); // Prevent section from being collapsed. - } - }); - - section.renderScreenshots = _.throttle( section.renderScreenshots, 100 ); - - _.bindAll( section, 'renderScreenshots', 'loadMore', 'checkTerm', 'filtersChecked' ); - }, - - /** - * Override Section.isContextuallyActive method. - * - * Ignore the active states' of the contained theme controls, and just - * use the section's own active state instead. This prevents empty search - * results for theme sections from causing the section to become inactive. - * - * @since 4.2.0 - * - * @return {boolean} - */ - isContextuallyActive: function () { - return this.active(); - }, - - /** - * Attach events. - * - * @since 4.2.0 - * - * @return {void} - */ - attachEvents: function () { - var section = this, debounced; - - // Expand/Collapse accordion sections on click. - section.container.find( '.customize-section-back' ).on( 'click keydown', function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); // Keep this AFTER the key filter above. - section.collapse(); - }); - - section.headerContainer = $( '#accordion-section-' + section.id ); - - // Expand section/panel. Only collapse when opening another section. - section.headerContainer.on( 'click', '.customize-themes-section-title', function() { - - // Toggle accordion filters under section headers. - if ( section.headerContainer.find( '.filter-details' ).length ) { - section.headerContainer.find( '.customize-themes-section-title' ) - .toggleClass( 'details-open' ) - .attr( 'aria-expanded', function( i, attr ) { - return 'true' === attr ? 'false' : 'true'; - }); - section.headerContainer.find( '.filter-details' ).slideToggle( 180 ); - } - - // Open the section. - if ( ! section.expanded() ) { - section.expand(); - } - }); - - // Preview installed themes. - section.container.on( 'click', '.theme-actions .preview-theme', function() { - api.panel( 'themes' ).loadThemePreview( $( this ).data( 'slug' ) ); - }); - - // Theme navigation in details view. - section.container.on( 'click', '.left', function() { - section.previousTheme(); - }); - - section.container.on( 'click', '.right', function() { - section.nextTheme(); - }); - - section.container.on( 'click', '.theme-backdrop, .close', function() { - section.closeDetails(); - }); - - if ( 'local' === section.params.filter_type ) { - - // Filter-search all theme objects loaded in the section. - section.container.on( 'input', '.wp-filter-search-themes', function( event ) { - section.filterSearch( event.currentTarget.value ); - }); - - } else if ( 'remote' === section.params.filter_type ) { - - // Event listeners for remote queries with user-entered terms. - // Search terms. - debounced = _.debounce( section.checkTerm, 500 ); // Wait until there is no input for 500 milliseconds to initiate a search. - section.contentContainer.on( 'input', '.wp-filter-search', function() { - if ( ! api.panel( 'themes' ).expanded() ) { - return; - } - debounced( section ); - if ( ! section.expanded() ) { - section.expand(); - } - }); - - // Feature filters. - section.contentContainer.on( 'click', '.filter-group input', function() { - section.filtersChecked(); - section.checkTerm( section ); - }); - } - - // Toggle feature filters. - section.contentContainer.on( 'click', '.feature-filter-toggle', function( e ) { - var $themeContainer = $( '.customize-themes-full-container' ), - $filterToggle = $( e.currentTarget ); - section.filtersHeight = $filterToggle.parent().next( '.filter-drawer' ).height(); - - if ( 0 < $themeContainer.scrollTop() ) { - $themeContainer.animate( { scrollTop: 0 }, 400 ); - - if ( $filterToggle.hasClass( 'open' ) ) { - return; - } - } - - $filterToggle - .toggleClass( 'open' ) - .attr( 'aria-expanded', function( i, attr ) { - return 'true' === attr ? 'false' : 'true'; - }) - .parent().next( '.filter-drawer' ).slideToggle( 180, 'linear' ); - - if ( $filterToggle.hasClass( 'open' ) ) { - var marginOffset = 1018 < window.innerWidth ? 50 : 76; - - section.contentContainer.find( '.themes' ).css( 'margin-top', section.filtersHeight + marginOffset ); - } else { - section.contentContainer.find( '.themes' ).css( 'margin-top', 0 ); - } - }); - - // Setup section cross-linking. - section.contentContainer.on( 'click', '.no-themes-local .search-dotorg-themes', function() { - api.section( 'wporg_themes' ).focus(); - }); - - function updateSelectedState() { - var el = section.headerContainer.find( '.customize-themes-section-title' ); - el.toggleClass( 'selected', section.expanded() ); - el.attr( 'aria-expanded', section.expanded() ? 'true' : 'false' ); - if ( ! section.expanded() ) { - el.removeClass( 'details-open' ); - } - } - section.expanded.bind( updateSelectedState ); - updateSelectedState(); - - // Move section controls to the themes area. - api.bind( 'ready', function () { - section.contentContainer = section.container.find( '.customize-themes-section' ); - section.contentContainer.appendTo( $( '.customize-themes-full-container' ) ); - section.container.add( section.headerContainer ); - }); - }, - - /** - * Update UI to reflect expanded state - * - * @since 4.2.0 - * - * @param {boolean} expanded - * @param {Object} args - * @param {boolean} args.unchanged - * @param {Function} args.completeCallback - * @return {void} - */ - onChangeExpanded: function ( expanded, args ) { - - // Note: there is a second argument 'args' passed. - var section = this, - container = section.contentContainer.closest( '.customize-themes-full-container' ); - - // Immediately call the complete callback if there were no changes. - if ( args.unchanged ) { - if ( args.completeCallback ) { - args.completeCallback(); - } - return; - } - - function expand() { - - // Try to load controls if none are loaded yet. - if ( 0 === section.loaded ) { - section.loadThemes(); - } - - // Collapse any sibling sections/panels. - api.section.each( function ( otherSection ) { - var searchTerm; - - if ( otherSection !== section ) { - - // Try to sync the current search term to the new section. - if ( 'themes' === otherSection.params.type ) { - searchTerm = otherSection.contentContainer.find( '.wp-filter-search' ).val(); - section.contentContainer.find( '.wp-filter-search' ).val( searchTerm ); - - // Directly initialize an empty remote search to avoid a race condition. - if ( '' === searchTerm && '' !== section.term && 'local' !== section.params.filter_type ) { - section.term = ''; - section.initializeNewQuery( section.term, section.tags ); - } else { - if ( 'remote' === section.params.filter_type ) { - section.checkTerm( section ); - } else if ( 'local' === section.params.filter_type ) { - section.filterSearch( searchTerm ); - } - } - otherSection.collapse( { duration: args.duration } ); - } - } - }); - - section.contentContainer.addClass( 'current-section' ); - container.scrollTop(); - - container.on( 'scroll', _.throttle( section.renderScreenshots, 300 ) ); - container.on( 'scroll', _.throttle( section.loadMore, 300 ) ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - section.updateCount(); // Show this section's count. - } - - if ( expanded ) { - if ( section.panel() && api.panel.has( section.panel() ) ) { - api.panel( section.panel() ).expand({ - duration: args.duration, - completeCallback: expand - }); - } else { - expand(); - } - } else { - section.contentContainer.removeClass( 'current-section' ); - - // Always hide, even if they don't exist or are already hidden. - section.headerContainer.find( '.filter-details' ).slideUp( 180 ); - - container.off( 'scroll' ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } - }, - - /** - * Return the section's content element without detaching from the parent. - * - * @since 4.9.0 - * - * @return {jQuery} - */ - getContent: function() { - return this.container.find( '.control-section-content' ); - }, - - /** - * Load theme data via Ajax and add themes to the section as controls. - * - * @since 4.9.0 - * - * @return {void} - */ - loadThemes: function() { - var section = this, params, page, request; - - if ( section.loading ) { - return; // We're already loading a batch of themes. - } - - // Parameters for every API query. Additional params are set in PHP. - page = Math.ceil( section.loaded / 100 ) + 1; - params = { - 'nonce': api.settings.nonce.switch_themes, - 'wp_customize': 'on', - 'theme_action': section.params.action, - 'customized_theme': api.settings.theme.stylesheet, - 'page': page - }; - - // Add fields for remote filtering. - if ( 'remote' === section.params.filter_type ) { - params.search = section.term; - params.tags = section.tags; - } - - // Load themes. - section.headContainer.closest( '.wp-full-overlay' ).addClass( 'loading' ); - section.loading = true; - section.container.find( '.no-themes' ).hide(); - request = wp.ajax.post( 'customize_load_themes', params ); - request.done(function( data ) { - var themes = data.themes; - - // Stop and try again if the term changed while loading. - if ( '' !== section.nextTerm || '' !== section.nextTags ) { - if ( section.nextTerm ) { - section.term = section.nextTerm; - } - if ( section.nextTags ) { - section.tags = section.nextTags; - } - section.nextTerm = ''; - section.nextTags = ''; - section.loading = false; - section.loadThemes(); - return; - } - - if ( 0 !== themes.length ) { - - section.loadControls( themes, page ); - - if ( 1 === page ) { - - // Pre-load the first 3 theme screenshots. - _.each( section.controls().slice( 0, 3 ), function( control ) { - var img, src = control.params.theme.screenshot[0]; - if ( src ) { - img = new Image(); - img.src = src; - } - }); - if ( 'local' !== section.params.filter_type ) { - wp.a11y.speak( api.settings.l10n.themeSearchResults.replace( '%d', data.info.results ) ); - } - } - - _.delay( section.renderScreenshots, 100 ); // Wait for the controls to become visible. - - if ( 'local' === section.params.filter_type || 100 > themes.length ) { - // If we have less than the requested 100 themes, it's the end of the list. - section.fullyLoaded = true; - } - } else { - if ( 0 === section.loaded ) { - section.container.find( '.no-themes' ).show(); - wp.a11y.speak( section.container.find( '.no-themes' ).text() ); - } else { - section.fullyLoaded = true; - } - } - if ( 'local' === section.params.filter_type ) { - section.updateCount(); // Count of visible theme controls. - } else { - section.updateCount( data.info.results ); // Total number of results including pages not yet loaded. - } - section.container.find( '.unexpected-error' ).hide(); // Hide error notice in case it was previously shown. - - // This cannot run on request.always, as section.loading may turn false before the new controls load in the success case. - section.headContainer.closest( '.wp-full-overlay' ).removeClass( 'loading' ); - section.loading = false; - }); - request.fail(function( data ) { - if ( 'undefined' === typeof data ) { - section.container.find( '.unexpected-error' ).show(); - wp.a11y.speak( section.container.find( '.unexpected-error' ).text() ); - } else if ( 'undefined' !== typeof console && console.error ) { - console.error( data ); - } - - // This cannot run on request.always, as section.loading may turn false before the new controls load in the success case. - section.headContainer.closest( '.wp-full-overlay' ).removeClass( 'loading' ); - section.loading = false; - }); - }, - - /** - * Loads controls into the section from data received from loadThemes(). - * - * @since 4.9.0 - * @param {Array} themes - Array of theme data to create controls with. - * @param {number} page - Page of results being loaded. - * @return {void} - */ - loadControls: function( themes, page ) { - var newThemeControls = [], - section = this; - - // Add controls for each theme. - _.each( themes, function( theme ) { - var themeControl = new api.controlConstructor.theme( section.params.action + '_theme_' + theme.id, { - type: 'theme', - section: section.params.id, - theme: theme, - priority: section.loaded + 1 - } ); - - api.control.add( themeControl ); - newThemeControls.push( themeControl ); - section.loaded = section.loaded + 1; - }); - - if ( 1 !== page ) { - Array.prototype.push.apply( section.screenshotQueue, newThemeControls ); // Add new themes to the screenshot queue. - } - }, - - /** - * Determines whether more themes should be loaded, and loads them. - * - * @since 4.9.0 - * @return {void} - */ - loadMore: function() { - var section = this, container, bottom, threshold; - if ( ! section.fullyLoaded && ! section.loading ) { - container = section.container.closest( '.customize-themes-full-container' ); - - bottom = container.scrollTop() + container.height(); - // Use a fixed distance to the bottom of loaded results to avoid unnecessarily - // loading results sooner when using a percentage of scroll distance. - threshold = container.prop( 'scrollHeight' ) - 3000; - - if ( bottom > threshold ) { - section.loadThemes(); - } - } - }, - - /** - * Event handler for search input that filters visible controls. - * - * @since 4.9.0 - * - * @param {string} term - The raw search input value. - * @return {void} - */ - filterSearch: function( term ) { - var count = 0, - visible = false, - section = this, - noFilter = ( api.section.has( 'wporg_themes' ) && 'remote' !== section.params.filter_type ) ? '.no-themes-local' : '.no-themes', - controls = section.controls(), - terms; - - if ( section.loading ) { - return; - } - - // Standardize search term format and split into an array of individual words. - terms = term.toLowerCase().trim().replace( /-/g, ' ' ).split( ' ' ); - - _.each( controls, function( control ) { - visible = control.filter( terms ); // Shows/hides and sorts control based on the applicability of the search term. - if ( visible ) { - count = count + 1; - } - }); - - if ( 0 === count ) { - section.container.find( noFilter ).show(); - wp.a11y.speak( section.container.find( noFilter ).text() ); - } else { - section.container.find( noFilter ).hide(); - } - - section.renderScreenshots(); - api.reflowPaneContents(); - - // Update theme count. - section.updateCountDebounced( count ); - }, - - /** - * Event handler for search input that determines if the terms have changed and loads new controls as needed. - * - * @since 4.9.0 - * - * @param {wp.customize.ThemesSection} section - The current theme section, passed through the debouncer. - * @return {void} - */ - checkTerm: function( section ) { - var newTerm; - if ( 'remote' === section.params.filter_type ) { - newTerm = section.contentContainer.find( '.wp-filter-search' ).val(); - if ( section.term !== newTerm.trim() ) { - section.initializeNewQuery( newTerm, section.tags ); - } - } - }, - - /** - * Check for filters checked in the feature filter list and initialize a new query. - * - * @since 4.9.0 - * - * @return {void} - */ - filtersChecked: function() { - var section = this, - items = section.container.find( '.filter-group' ).find( ':checkbox' ), - tags = []; - - _.each( items.filter( ':checked' ), function( item ) { - tags.push( $( item ).prop( 'value' ) ); - }); - - // When no filters are checked, restore initial state. Update filter count. - if ( 0 === tags.length ) { - tags = ''; - section.contentContainer.find( '.feature-filter-toggle .filter-count-0' ).show(); - section.contentContainer.find( '.feature-filter-toggle .filter-count-filters' ).hide(); - } else { - section.contentContainer.find( '.feature-filter-toggle .theme-filter-count' ).text( tags.length ); - section.contentContainer.find( '.feature-filter-toggle .filter-count-0' ).hide(); - section.contentContainer.find( '.feature-filter-toggle .filter-count-filters' ).show(); - } - - // Check whether tags have changed, and either load or queue them. - if ( ! _.isEqual( section.tags, tags ) ) { - if ( section.loading ) { - section.nextTags = tags; - } else { - if ( 'remote' === section.params.filter_type ) { - section.initializeNewQuery( section.term, tags ); - } else if ( 'local' === section.params.filter_type ) { - section.filterSearch( tags.join( ' ' ) ); - } - } - } - }, - - /** - * Reset the current query and load new results. - * - * @since 4.9.0 - * - * @param {string} newTerm - New term. - * @param {Array} newTags - New tags. - * @return {void} - */ - initializeNewQuery: function( newTerm, newTags ) { - var section = this; - - // Clear the controls in the section. - _.each( section.controls(), function( control ) { - control.container.remove(); - api.control.remove( control.id ); - }); - section.loaded = 0; - section.fullyLoaded = false; - section.screenshotQueue = null; - - // Run a new query, with loadThemes handling paging, etc. - if ( ! section.loading ) { - section.term = newTerm; - section.tags = newTags; - section.loadThemes(); - } else { - section.nextTerm = newTerm; // This will reload from loadThemes() with the newest term once the current batch is loaded. - section.nextTags = newTags; // This will reload from loadThemes() with the newest tags once the current batch is loaded. - } - if ( ! section.expanded() ) { - section.expand(); // Expand the section if it isn't expanded. - } - }, - - /** - * Render control's screenshot if the control comes into view. - * - * @since 4.2.0 - * - * @return {void} - */ - renderScreenshots: function() { - var section = this; - - // Fill queue initially, or check for more if empty. - if ( null === section.screenshotQueue || 0 === section.screenshotQueue.length ) { - - // Add controls that haven't had their screenshots rendered. - section.screenshotQueue = _.filter( section.controls(), function( control ) { - return ! control.screenshotRendered; - }); - } - - // Are all screenshots rendered (for now)? - if ( ! section.screenshotQueue.length ) { - return; - } - - section.screenshotQueue = _.filter( section.screenshotQueue, function( control ) { - var $imageWrapper = control.container.find( '.theme-screenshot' ), - $image = $imageWrapper.find( 'img' ); - - if ( ! $image.length ) { - return false; - } - - if ( $image.is( ':hidden' ) ) { - return true; - } - - // Based on unveil.js. - var wt = section.$window.scrollTop(), - wb = wt + section.$window.height(), - et = $image.offset().top, - ih = $imageWrapper.height(), - eb = et + ih, - threshold = ih * 3, - inView = eb >= wt - threshold && et <= wb + threshold; - - if ( inView ) { - control.container.trigger( 'render-screenshot' ); - } - - // If the image is in view return false so it's cleared from the queue. - return ! inView; - } ); - }, - - /** - * Get visible count. - * - * @since 4.9.0 - * - * @return {number} Visible count. - */ - getVisibleCount: function() { - return this.contentContainer.find( 'li.customize-control:visible' ).length; - }, - - /** - * Update the number of themes in the section. - * - * @since 4.9.0 - * - * @return {void} - */ - updateCount: function( count ) { - var section = this, countEl, displayed; - - if ( ! count && 0 !== count ) { - count = section.getVisibleCount(); - } - - displayed = section.contentContainer.find( '.themes-displayed' ); - countEl = section.contentContainer.find( '.theme-count' ); - - if ( 0 === count ) { - countEl.text( '0' ); - } else { - - // Animate the count change for emphasis. - displayed.fadeOut( 180, function() { - countEl.text( count ); - displayed.fadeIn( 180 ); - } ); - wp.a11y.speak( api.settings.l10n.announceThemeCount.replace( '%d', count ) ); - } - }, - - /** - * Advance the modal to the next theme. - * - * @since 4.2.0 - * - * @return {void} - */ - nextTheme: function () { - var section = this; - if ( section.getNextTheme() ) { - section.showDetails( section.getNextTheme(), function() { - section.overlay.find( '.right' ).focus(); - } ); - } - }, - - /** - * Get the next theme model. - * - * @since 4.2.0 - * - * @return {wp.customize.ThemeControl|boolean} Next theme. - */ - getNextTheme: function () { - var section = this, control, nextControl, sectionControls, i; - control = api.control( section.params.action + '_theme_' + section.currentTheme ); - sectionControls = section.controls(); - i = _.indexOf( sectionControls, control ); - if ( -1 === i ) { - return false; - } - - nextControl = sectionControls[ i + 1 ]; - if ( ! nextControl ) { - return false; - } - return nextControl.params.theme; - }, - - /** - * Advance the modal to the previous theme. - * - * @since 4.2.0 - * @return {void} - */ - previousTheme: function () { - var section = this; - if ( section.getPreviousTheme() ) { - section.showDetails( section.getPreviousTheme(), function() { - section.overlay.find( '.left' ).focus(); - } ); - } - }, - - /** - * Get the previous theme model. - * - * @since 4.2.0 - * @return {wp.customize.ThemeControl|boolean} Previous theme. - */ - getPreviousTheme: function () { - var section = this, control, nextControl, sectionControls, i; - control = api.control( section.params.action + '_theme_' + section.currentTheme ); - sectionControls = section.controls(); - i = _.indexOf( sectionControls, control ); - if ( -1 === i ) { - return false; - } - - nextControl = sectionControls[ i - 1 ]; - if ( ! nextControl ) { - return false; - } - return nextControl.params.theme; - }, - - /** - * Disable buttons when we're viewing the first or last theme. - * - * @since 4.2.0 - * - * @return {void} - */ - updateLimits: function () { - if ( ! this.getNextTheme() ) { - this.overlay.find( '.right' ).addClass( 'disabled' ); - } - if ( ! this.getPreviousTheme() ) { - this.overlay.find( '.left' ).addClass( 'disabled' ); - } - }, - - /** - * Load theme preview. - * - * @since 4.7.0 - * @access public - * - * @deprecated - * @param {string} themeId Theme ID. - * @return {jQuery.promise} Promise. - */ - loadThemePreview: function( themeId ) { - return api.ThemesPanel.prototype.loadThemePreview.call( this, themeId ); - }, - - /** - * Render & show the theme details for a given theme model. - * - * @since 4.2.0 - * - * @param {Object} theme - Theme. - * @param {Function} [callback] - Callback once the details have been shown. - * @return {void} - */ - showDetails: function ( theme, callback ) { - var section = this, panel = api.panel( 'themes' ); - section.currentTheme = theme.id; - section.overlay.html( section.template( theme ) ) - .fadeIn( 'fast' ) - .focus(); - - function disableSwitchButtons() { - return ! panel.canSwitchTheme( theme.id ); - } - - // Temporary special function since supplying SFTP credentials does not work yet. See #42184. - function disableInstallButtons() { - return disableSwitchButtons() || false === api.settings.theme._canInstall || true === api.settings.theme._filesystemCredentialsNeeded; - } - - section.overlay.find( 'button.preview, button.preview-theme' ).toggleClass( 'disabled', disableSwitchButtons() ); - section.overlay.find( 'button.theme-install' ).toggleClass( 'disabled', disableInstallButtons() ); - - section.$body.addClass( 'modal-open' ); - section.containFocus( section.overlay ); - section.updateLimits(); - wp.a11y.speak( api.settings.l10n.announceThemeDetails.replace( '%s', theme.name ) ); - if ( callback ) { - callback(); - } - }, - - /** - * Close the theme details modal. - * - * @since 4.2.0 - * - * @return {void} - */ - closeDetails: function () { - var section = this; - section.$body.removeClass( 'modal-open' ); - section.overlay.fadeOut( 'fast' ); - api.control( section.params.action + '_theme_' + section.currentTheme ).container.find( '.theme' ).focus(); - }, - - /** - * Keep tab focus within the theme details modal. - * - * @since 4.2.0 - * - * @param {jQuery} el - Element to contain focus. - * @return {void} - */ - containFocus: function( el ) { - var tabbables; - - el.on( 'keydown', function( event ) { - - // Return if it's not the tab key - // When navigating with prev/next focus is already handled. - if ( 9 !== event.keyCode ) { - return; - } - - // Uses jQuery UI to get the tabbable elements. - tabbables = $( ':tabbable', el ); - - // Keep focus within the overlay. - if ( tabbables.last()[0] === event.target && ! event.shiftKey ) { - tabbables.first().focus(); - return false; - } else if ( tabbables.first()[0] === event.target && event.shiftKey ) { - tabbables.last().focus(); - return false; - } - }); - } - }); - - api.OuterSection = api.Section.extend(/** @lends wp.customize.OuterSection.prototype */{ - - /** - * Class wp.customize.OuterSection. - * - * Creates section outside of the sidebar, there is no ui to trigger collapse/expand so - * it would require custom handling. - * - * @constructs wp.customize.OuterSection - * @augments wp.customize.Section - * - * @since 4.9.0 - * - * @return {void} - */ - initialize: function() { - var section = this; - section.containerParent = '#customize-outer-theme-controls'; - section.containerPaneParent = '.customize-outer-pane-parent'; - api.Section.prototype.initialize.apply( section, arguments ); - }, - - /** - * Overrides api.Section.prototype.onChangeExpanded to prevent collapse/expand effect - * on other sections and panels. - * - * @since 4.9.0 - * - * @param {boolean} expanded - The expanded state to transition to. - * @param {Object} [args] - Args. - * @param {boolean} [args.unchanged] - Whether the state is already known to not be changed, and so short-circuit with calling completeCallback early. - * @param {Function} [args.completeCallback] - Function to call when the slideUp/slideDown has completed. - * @param {Object} [args.duration] - The duration for the animation. - */ - onChangeExpanded: function( expanded, args ) { - var section = this, - container = section.headContainer.closest( '.wp-full-overlay-sidebar-content' ), - content = section.contentContainer, - backBtn = content.find( '.customize-section-back' ), - sectionTitle = section.headContainer.find( '.accordion-section-title' ).first(), - body = $( document.body ), - expand, panel; - - body.toggleClass( 'outer-section-open', expanded ); - section.container.toggleClass( 'open', expanded ); - section.container.removeClass( 'busy' ); - api.section.each( function( _section ) { - if ( 'outer' === _section.params.type && _section.id !== section.id ) { - _section.container.removeClass( 'open' ); - } - } ); - - if ( expanded && ! content.hasClass( 'open' ) ) { - - if ( args.unchanged ) { - expand = args.completeCallback; - } else { - expand = function() { - section._animateChangeExpanded( function() { - sectionTitle.attr( 'tabindex', '-1' ); - backBtn.attr( 'tabindex', '0' ); - - backBtn.trigger( 'focus' ); - content.css( 'top', '' ); - container.scrollTop( 0 ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } ); - - content.addClass( 'open' ); - }.bind( this ); - } - - if ( section.panel() ) { - api.panel( section.panel() ).expand({ - duration: args.duration, - completeCallback: expand - }); - } else { - expand(); - } - - } else if ( ! expanded && content.hasClass( 'open' ) ) { - if ( section.panel() ) { - panel = api.panel( section.panel() ); - if ( panel.contentContainer.hasClass( 'skip-transition' ) ) { - panel.collapse(); - } - } - section._animateChangeExpanded( function() { - backBtn.attr( 'tabindex', '-1' ); - sectionTitle.attr( 'tabindex', '0' ); - - sectionTitle.trigger( 'focus' ); - content.css( 'top', '' ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } ); - - content.removeClass( 'open' ); - - } else { - if ( args.completeCallback ) { - args.completeCallback(); - } - } - } - }); - - api.Panel = Container.extend(/** @lends wp.customize.Panel.prototype */{ - containerType: 'panel', - - /** - * @constructs wp.customize.Panel - * @augments wp.customize~Container - * - * @since 4.1.0 - * - * @param {string} id - The ID for the panel. - * @param {Object} options - Object containing one property: params. - * @param {string} options.title - Title shown when panel is collapsed and expanded. - * @param {string} [options.description] - Description shown at the top of the panel. - * @param {number} [options.priority=100] - The sort priority for the panel. - * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor. - * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. - * @param {boolean} [options.active=true] - Whether the panel is active or not. - * @param {Object} [options.params] - Deprecated wrapper for the above properties. - */ - initialize: function ( id, options ) { - var panel = this, params; - params = options.params || options; - - // Look up the type if one was not supplied. - if ( ! params.type ) { - _.find( api.panelConstructor, function( Constructor, type ) { - if ( Constructor === panel.constructor ) { - params.type = type; - return true; - } - return false; - } ); - } - - Container.prototype.initialize.call( panel, id, params ); - - panel.embed(); - panel.deferred.embedded.done( function () { - panel.ready(); - }); - }, - - /** - * Embed the container in the DOM when any parent panel is ready. - * - * @since 4.1.0 - */ - embed: function () { - var panel = this, - container = $( '#customize-theme-controls' ), - parentContainer = $( '.customize-pane-parent' ); // @todo This should be defined elsewhere, and to be configurable. - - if ( ! panel.headContainer.parent().is( parentContainer ) ) { - parentContainer.append( panel.headContainer ); - } - if ( ! panel.contentContainer.parent().is( panel.headContainer ) ) { - container.append( panel.contentContainer ); - } - panel.renderContent(); - - panel.deferred.embedded.resolve(); - }, - - /** - * @since 4.1.0 - */ - attachEvents: function () { - var meta, panel = this; - - // Expand/Collapse accordion sections on click. - panel.headContainer.find( '.accordion-section-title' ).on( 'click keydown', function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); // Keep this AFTER the key filter above. - - if ( ! panel.expanded() ) { - panel.expand(); - } - }); - - // Close panel. - panel.container.find( '.customize-panel-back' ).on( 'click keydown', function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); // Keep this AFTER the key filter above. - - if ( panel.expanded() ) { - panel.collapse(); - } - }); - - meta = panel.container.find( '.panel-meta:first' ); - - meta.find( '> .accordion-section-title .customize-help-toggle' ).on( 'click', function() { - if ( meta.hasClass( 'cannot-expand' ) ) { - return; - } - - var content = meta.find( '.customize-panel-description:first' ); - if ( meta.hasClass( 'open' ) ) { - meta.toggleClass( 'open' ); - content.slideUp( panel.defaultExpandedArguments.duration, function() { - content.trigger( 'toggled' ); - } ); - $( this ).attr( 'aria-expanded', false ); - } else { - content.slideDown( panel.defaultExpandedArguments.duration, function() { - content.trigger( 'toggled' ); - } ); - meta.toggleClass( 'open' ); - $( this ).attr( 'aria-expanded', true ); - } - }); - - }, - - /** - * Get the sections that are associated with this panel, sorted by their priority Value. - * - * @since 4.1.0 - * - * @return {Array} - */ - sections: function () { - return this._children( 'panel', 'section' ); - }, - - /** - * Return whether this panel has any active sections. - * - * @since 4.1.0 - * - * @return {boolean} Whether contextually active. - */ - isContextuallyActive: function () { - var panel = this, - sections = panel.sections(), - activeCount = 0; - _( sections ).each( function ( section ) { - if ( section.active() && section.isContextuallyActive() ) { - activeCount += 1; - } - } ); - return ( activeCount !== 0 ); - }, - - /** - * Update UI to reflect expanded state. - * - * @since 4.1.0 - * - * @param {boolean} expanded - * @param {Object} args - * @param {boolean} args.unchanged - * @param {Function} args.completeCallback - * @return {void} - */ - onChangeExpanded: function ( expanded, args ) { - - // Immediately call the complete callback if there were no changes. - if ( args.unchanged ) { - if ( args.completeCallback ) { - args.completeCallback(); - } - return; - } - - // Note: there is a second argument 'args' passed. - var panel = this, - accordionSection = panel.contentContainer, - overlay = accordionSection.closest( '.wp-full-overlay' ), - container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ), - topPanel = panel.headContainer.find( '.accordion-section-title' ), - backBtn = accordionSection.find( '.customize-panel-back' ), - childSections = panel.sections(), - skipTransition; - - if ( expanded && ! accordionSection.hasClass( 'current-panel' ) ) { - // Collapse any sibling sections/panels. - api.section.each( function ( section ) { - if ( panel.id !== section.panel() ) { - section.collapse( { duration: 0 } ); - } - }); - api.panel.each( function ( otherPanel ) { - if ( panel !== otherPanel ) { - otherPanel.collapse( { duration: 0 } ); - } - }); - - if ( panel.params.autoExpandSoleSection && 1 === childSections.length && childSections[0].active.get() ) { - accordionSection.addClass( 'current-panel skip-transition' ); - overlay.addClass( 'in-sub-panel' ); - - childSections[0].expand( { - completeCallback: args.completeCallback - } ); - } else { - panel._animateChangeExpanded( function() { - topPanel.attr( 'tabindex', '-1' ); - backBtn.attr( 'tabindex', '0' ); - - backBtn.trigger( 'focus' ); - accordionSection.css( 'top', '' ); - container.scrollTop( 0 ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } ); - - accordionSection.addClass( 'current-panel' ); - overlay.addClass( 'in-sub-panel' ); - } - - api.state( 'expandedPanel' ).set( panel ); - - } else if ( ! expanded && accordionSection.hasClass( 'current-panel' ) ) { - skipTransition = accordionSection.hasClass( 'skip-transition' ); - if ( ! skipTransition ) { - panel._animateChangeExpanded( function() { - topPanel.attr( 'tabindex', '0' ); - backBtn.attr( 'tabindex', '-1' ); - - topPanel.focus(); - accordionSection.css( 'top', '' ); - - if ( args.completeCallback ) { - args.completeCallback(); - } - } ); - } else { - accordionSection.removeClass( 'skip-transition' ); - } - - overlay.removeClass( 'in-sub-panel' ); - accordionSection.removeClass( 'current-panel' ); - if ( panel === api.state( 'expandedPanel' ).get() ) { - api.state( 'expandedPanel' ).set( false ); - } - } - }, - - /** - * Render the panel from its JS template, if it exists. - * - * The panel's container must already exist in the DOM. - * - * @since 4.3.0 - */ - renderContent: function () { - var template, - panel = this; - - // Add the content to the container. - if ( 0 !== $( '#tmpl-' + panel.templateSelector + '-content' ).length ) { - template = wp.template( panel.templateSelector + '-content' ); - } else { - template = wp.template( 'customize-panel-default-content' ); - } - if ( template && panel.headContainer ) { - panel.contentContainer.html( template( _.extend( - { id: panel.id }, - panel.params - ) ) ); - } - } - }); - - api.ThemesPanel = api.Panel.extend(/** @lends wp.customize.ThemsPanel.prototype */{ - - /** - * Class wp.customize.ThemesPanel. - * - * Custom section for themes that displays without the customize preview. - * - * @constructs wp.customize.ThemesPanel - * @augments wp.customize.Panel - * - * @since 4.9.0 - * - * @param {string} id - The ID for the panel. - * @param {Object} options - Options. - * @return {void} - */ - initialize: function( id, options ) { - var panel = this; - panel.installingThemes = []; - api.Panel.prototype.initialize.call( panel, id, options ); - }, - - /** - * Determine whether a given theme can be switched to, or in general. - * - * @since 4.9.0 - * - * @param {string} [slug] - Theme slug. - * @return {boolean} Whether the theme can be switched to. - */ - canSwitchTheme: function canSwitchTheme( slug ) { - if ( slug && slug === api.settings.theme.stylesheet ) { - return true; - } - return 'publish' === api.state( 'selectedChangesetStatus' ).get() && ( '' === api.state( 'changesetStatus' ).get() || 'auto-draft' === api.state( 'changesetStatus' ).get() ); - }, - - /** - * Attach events. - * - * @since 4.9.0 - * @return {void} - */ - attachEvents: function() { - var panel = this; - - // Attach regular panel events. - api.Panel.prototype.attachEvents.apply( panel ); - - // Temporary since supplying SFTP credentials does not work yet. See #42184. - if ( api.settings.theme._canInstall && api.settings.theme._filesystemCredentialsNeeded ) { - panel.notifications.add( new api.Notification( 'theme_install_unavailable', { - message: api.l10n.themeInstallUnavailable, - type: 'info', - dismissible: true - } ) ); - } - - function toggleDisabledNotifications() { - if ( panel.canSwitchTheme() ) { - panel.notifications.remove( 'theme_switch_unavailable' ); - } else { - panel.notifications.add( new api.Notification( 'theme_switch_unavailable', { - message: api.l10n.themePreviewUnavailable, - type: 'warning' - } ) ); - } - } - toggleDisabledNotifications(); - api.state( 'selectedChangesetStatus' ).bind( toggleDisabledNotifications ); - api.state( 'changesetStatus' ).bind( toggleDisabledNotifications ); - - // Collapse panel to customize the current theme. - panel.contentContainer.on( 'click', '.customize-theme', function() { - panel.collapse(); - }); - - // Toggle between filtering and browsing themes on mobile. - panel.contentContainer.on( 'click', '.customize-themes-section-title, .customize-themes-mobile-back', function() { - $( '.wp-full-overlay' ).toggleClass( 'showing-themes' ); - }); - - // Install (and maybe preview) a theme. - panel.contentContainer.on( 'click', '.theme-install', function( event ) { - panel.installTheme( event ); - }); - - // Update a theme. Theme cards have the class, the details modal has the id. - panel.contentContainer.on( 'click', '.update-theme, #update-theme', function( event ) { - - // #update-theme is a link. - event.preventDefault(); - event.stopPropagation(); - - panel.updateTheme( event ); - }); - - // Delete a theme. - panel.contentContainer.on( 'click', '.delete-theme', function( event ) { - panel.deleteTheme( event ); - }); - - _.bindAll( panel, 'installTheme', 'updateTheme' ); - }, - - /** - * Update UI to reflect expanded state - * - * @since 4.9.0 - * - * @param {boolean} expanded - Expanded state. - * @param {Object} args - Args. - * @param {boolean} args.unchanged - Whether or not the state changed. - * @param {Function} args.completeCallback - Callback to execute when the animation completes. - * @return {void} - */ - onChangeExpanded: function( expanded, args ) { - var panel = this, overlay, sections, hasExpandedSection = false; - - // Expand/collapse the panel normally. - api.Panel.prototype.onChangeExpanded.apply( this, [ expanded, args ] ); - - // Immediately call the complete callback if there were no changes. - if ( args.unchanged ) { - if ( args.completeCallback ) { - args.completeCallback(); - } - return; - } - - overlay = panel.headContainer.closest( '.wp-full-overlay' ); - - if ( expanded ) { - overlay - .addClass( 'in-themes-panel' ) - .delay( 200 ).find( '.customize-themes-full-container' ).addClass( 'animate' ); - - _.delay( function() { - overlay.addClass( 'themes-panel-expanded' ); - }, 200 ); - - // Automatically open the first section (except on small screens), if one isn't already expanded. - if ( 600 < window.innerWidth ) { - sections = panel.sections(); - _.each( sections, function( section ) { - if ( section.expanded() ) { - hasExpandedSection = true; - } - } ); - if ( ! hasExpandedSection && sections.length > 0 ) { - sections[0].expand(); - } - } - } else { - overlay - .removeClass( 'in-themes-panel themes-panel-expanded' ) - .find( '.customize-themes-full-container' ).removeClass( 'animate' ); - } - }, - - /** - * Install a theme via wp.updates. - * - * @since 4.9.0 - * - * @param {jQuery.Event} event - Event. - * @return {jQuery.promise} Promise. - */ - installTheme: function( event ) { - var panel = this, preview, onInstallSuccess, slug = $( event.target ).data( 'slug' ), deferred = $.Deferred(), request; - preview = $( event.target ).hasClass( 'preview' ); - - // Temporary since supplying SFTP credentials does not work yet. See #42184. - if ( api.settings.theme._filesystemCredentialsNeeded ) { - deferred.reject({ - errorCode: 'theme_install_unavailable' - }); - return deferred.promise(); - } - - // Prevent loading a non-active theme preview when there is a drafted/scheduled changeset. - if ( ! panel.canSwitchTheme( slug ) ) { - deferred.reject({ - errorCode: 'theme_switch_unavailable' - }); - return deferred.promise(); - } - - // Theme is already being installed. - if ( _.contains( panel.installingThemes, slug ) ) { - deferred.reject({ - errorCode: 'theme_already_installing' - }); - return deferred.promise(); - } - - wp.updates.maybeRequestFilesystemCredentials( event ); - - onInstallSuccess = function( response ) { - var theme = false, themeControl; - if ( preview ) { - api.notifications.remove( 'theme_installing' ); - - panel.loadThemePreview( slug ); - - } else { - api.control.each( function( control ) { - if ( 'theme' === control.params.type && control.params.theme.id === response.slug ) { - theme = control.params.theme; // Used below to add theme control. - control.rerenderAsInstalled( true ); - } - }); - - // Don't add the same theme more than once. - if ( ! theme || api.control.has( 'installed_theme_' + theme.id ) ) { - deferred.resolve( response ); - return; - } - - // Add theme control to installed section. - theme.type = 'installed'; - themeControl = new api.controlConstructor.theme( 'installed_theme_' + theme.id, { - type: 'theme', - section: 'installed_themes', - theme: theme, - priority: 0 // Add all newly-installed themes to the top. - } ); - - api.control.add( themeControl ); - api.control( themeControl.id ).container.trigger( 'render-screenshot' ); - - // Close the details modal if it's open to the installed theme. - api.section.each( function( section ) { - if ( 'themes' === section.params.type ) { - if ( theme.id === section.currentTheme ) { // Don't close the modal if the user has navigated elsewhere. - section.closeDetails(); - } - } - }); - } - deferred.resolve( response ); - }; - - panel.installingThemes.push( slug ); // Note: we don't remove elements from installingThemes, since they shouldn't be installed again. - request = wp.updates.installTheme( { - slug: slug - } ); - - // Also preview the theme as the event is triggered on Install & Preview. - if ( preview ) { - api.notifications.add( new api.OverlayNotification( 'theme_installing', { - message: api.l10n.themeDownloading, - type: 'info', - loading: true - } ) ); - } - - request.done( onInstallSuccess ); - request.fail( function() { - api.notifications.remove( 'theme_installing' ); - } ); - - return deferred.promise(); - }, - - /** - * Load theme preview. - * - * @since 4.9.0 - * - * @param {string} themeId Theme ID. - * @return {jQuery.promise} Promise. - */ - loadThemePreview: function( themeId ) { - var panel = this, deferred = $.Deferred(), onceProcessingComplete, urlParser, queryParams; - - // Prevent loading a non-active theme preview when there is a drafted/scheduled changeset. - if ( ! panel.canSwitchTheme( themeId ) ) { - deferred.reject({ - errorCode: 'theme_switch_unavailable' - }); - return deferred.promise(); - } - - urlParser = document.createElement( 'a' ); - urlParser.href = location.href; - queryParams = _.extend( - api.utils.parseQueryString( urlParser.search.substr( 1 ) ), - { - theme: themeId, - changeset_uuid: api.settings.changeset.uuid, - 'return': api.settings.url['return'] - } - ); - - // Include autosaved param to load autosave revision without prompting user to restore it. - if ( ! api.state( 'saved' ).get() ) { - queryParams.customize_autosaved = 'on'; - } - - urlParser.search = $.param( queryParams ); - - // Update loading message. Everything else is handled by reloading the page. - api.notifications.add( new api.OverlayNotification( 'theme_previewing', { - message: api.l10n.themePreviewWait, - type: 'info', - loading: true - } ) ); - - onceProcessingComplete = function() { - var request; - if ( api.state( 'processing' ).get() > 0 ) { - return; - } - - api.state( 'processing' ).unbind( onceProcessingComplete ); - - request = api.requestChangesetUpdate( {}, { autosave: true } ); - request.done( function() { - deferred.resolve(); - $( window ).off( 'beforeunload.customize-confirm' ); - location.replace( urlParser.href ); - } ); - request.fail( function() { - - // @todo Show notification regarding failure. - api.notifications.remove( 'theme_previewing' ); - - deferred.reject(); - } ); - }; - - if ( 0 === api.state( 'processing' ).get() ) { - onceProcessingComplete(); - } else { - api.state( 'processing' ).bind( onceProcessingComplete ); - } - - return deferred.promise(); - }, - - /** - * Update a theme via wp.updates. - * - * @since 4.9.0 - * - * @param {jQuery.Event} event - Event. - * @return {void} - */ - updateTheme: function( event ) { - wp.updates.maybeRequestFilesystemCredentials( event ); - - $( document ).one( 'wp-theme-update-success', function( e, response ) { - - // Rerender the control to reflect the update. - api.control.each( function( control ) { - if ( 'theme' === control.params.type && control.params.theme.id === response.slug ) { - control.params.theme.hasUpdate = false; - control.params.theme.version = response.newVersion; - setTimeout( function() { - control.rerenderAsInstalled( true ); - }, 2000 ); - } - }); - } ); - - wp.updates.updateTheme( { - slug: $( event.target ).closest( '.notice' ).data( 'slug' ) - } ); - }, - - /** - * Delete a theme via wp.updates. - * - * @since 4.9.0 - * - * @param {jQuery.Event} event - Event. - * @return {void} - */ - deleteTheme: function( event ) { - var theme, section; - theme = $( event.target ).data( 'slug' ); - section = api.section( 'installed_themes' ); - - event.preventDefault(); - - // Temporary since supplying SFTP credentials does not work yet. See #42184. - if ( api.settings.theme._filesystemCredentialsNeeded ) { - return; - } - - // Confirmation dialog for deleting a theme. - if ( ! window.confirm( api.settings.l10n.confirmDeleteTheme ) ) { - return; - } - - wp.updates.maybeRequestFilesystemCredentials( event ); - - $( document ).one( 'wp-theme-delete-success', function() { - var control = api.control( 'installed_theme_' + theme ); - - // Remove theme control. - control.container.remove(); - api.control.remove( control.id ); - - // Update installed count. - section.loaded = section.loaded - 1; - section.updateCount(); - - // Rerender any other theme controls as uninstalled. - api.control.each( function( control ) { - if ( 'theme' === control.params.type && control.params.theme.id === theme ) { - control.rerenderAsInstalled( false ); - } - }); - } ); - - wp.updates.deleteTheme( { - slug: theme - } ); - - // Close modal and focus the section. - section.closeDetails(); - section.focus(); - } - }); - - api.Control = api.Class.extend(/** @lends wp.customize.Control.prototype */{ - defaultActiveArguments: { duration: 'fast', completeCallback: $.noop }, - - /** - * Default params. - * - * @since 4.9.0 - * @var {object} - */ - defaults: { - label: '', - description: '', - active: true, - priority: 10 - }, - - /** - * A Customizer Control. - * - * A control provides a UI element that allows a user to modify a Customizer Setting. - * - * @see PHP class WP_Customize_Control. - * - * @constructs wp.customize.Control - * @augments wp.customize.Class - * - * @borrows wp.customize~focus as this#focus - * @borrows wp.customize~Container#activate as this#activate - * @borrows wp.customize~Container#deactivate as this#deactivate - * @borrows wp.customize~Container#_toggleActive as this#_toggleActive - * - * @param {string} id - Unique identifier for the control instance. - * @param {Object} options - Options hash for the control instance. - * @param {Object} options.type - Type of control (e.g. text, radio, dropdown-pages, etc.) - * @param {string} [options.content] - The HTML content for the control or at least its container. This should normally be left blank and instead supplying a templateId. - * @param {string} [options.templateId] - Template ID for control's content. - * @param {string} [options.priority=10] - Order of priority to show the control within the section. - * @param {string} [options.active=true] - Whether the control is active. - * @param {string} options.section - The ID of the section the control belongs to. - * @param {mixed} [options.setting] - The ID of the main setting or an instance of this setting. - * @param {mixed} options.settings - An object with keys (e.g. default) that maps to setting IDs or Setting/Value objects, or an array of setting IDs or Setting/Value objects. - * @param {mixed} options.settings.default - The ID of the setting the control relates to. - * @param {string} options.settings.data - @todo Is this used? - * @param {string} options.label - Label. - * @param {string} options.description - Description. - * @param {number} [options.instanceNumber] - Order in which this instance was created in relation to other instances. - * @param {Object} [options.params] - Deprecated wrapper for the above properties. - * @return {void} - */ - initialize: function( id, options ) { - var control = this, deferredSettingIds = [], settings, gatherSettings; - - control.params = _.extend( - {}, - control.defaults, - control.params || {}, // In case subclass already defines. - options.params || options || {} // The options.params property is deprecated, but it is checked first for back-compat. - ); - - if ( ! api.Control.instanceCounter ) { - api.Control.instanceCounter = 0; - } - api.Control.instanceCounter++; - if ( ! control.params.instanceNumber ) { - control.params.instanceNumber = api.Control.instanceCounter; - } - - // Look up the type if one was not supplied. - if ( ! control.params.type ) { - _.find( api.controlConstructor, function( Constructor, type ) { - if ( Constructor === control.constructor ) { - control.params.type = type; - return true; - } - return false; - } ); - } - - if ( ! control.params.content ) { - control.params.content = $( '
  • ', { - id: 'customize-control-' + id.replace( /]/g, '' ).replace( /\[/g, '-' ), - 'class': 'customize-control customize-control-' + control.params.type - } ); - } - - control.id = id; - control.selector = '#customize-control-' + id.replace( /\]/g, '' ).replace( /\[/g, '-' ); // Deprecated, likely dead code from time before #28709. - if ( control.params.content ) { - control.container = $( control.params.content ); - } else { - control.container = $( control.selector ); // Likely dead, per above. See #28709. - } - - if ( control.params.templateId ) { - control.templateSelector = control.params.templateId; - } else { - control.templateSelector = 'customize-control-' + control.params.type + '-content'; - } - - control.deferred = _.extend( control.deferred || {}, { - embedded: new $.Deferred() - } ); - control.section = new api.Value(); - control.priority = new api.Value(); - control.active = new api.Value(); - control.activeArgumentsQueue = []; - control.notifications = new api.Notifications({ - alt: control.altNotice - }); - - control.elements = []; - - control.active.bind( function ( active ) { - var args = control.activeArgumentsQueue.shift(); - args = $.extend( {}, control.defaultActiveArguments, args ); - control.onChangeActive( active, args ); - } ); - - control.section.set( control.params.section ); - control.priority.set( isNaN( control.params.priority ) ? 10 : control.params.priority ); - control.active.set( control.params.active ); - - api.utils.bubbleChildValueChanges( control, [ 'section', 'priority', 'active' ] ); - - control.settings = {}; - - settings = {}; - if ( control.params.setting ) { - settings['default'] = control.params.setting; - } - _.extend( settings, control.params.settings ); - - // Note: Settings can be an array or an object, with values being either setting IDs or Setting (or Value) objects. - _.each( settings, function( value, key ) { - var setting; - if ( _.isObject( value ) && _.isFunction( value.extended ) && value.extended( api.Value ) ) { - control.settings[ key ] = value; - } else if ( _.isString( value ) ) { - setting = api( value ); - if ( setting ) { - control.settings[ key ] = setting; - } else { - deferredSettingIds.push( value ); - } - } - } ); - - gatherSettings = function() { - - // Fill-in all resolved settings. - _.each( settings, function ( settingId, key ) { - if ( ! control.settings[ key ] && _.isString( settingId ) ) { - control.settings[ key ] = api( settingId ); - } - } ); - - // Make sure settings passed as array gets associated with default. - if ( control.settings[0] && ! control.settings['default'] ) { - control.settings['default'] = control.settings[0]; - } - - // Identify the main setting. - control.setting = control.settings['default'] || null; - - control.linkElements(); // Link initial elements present in server-rendered content. - control.embed(); - }; - - if ( 0 === deferredSettingIds.length ) { - gatherSettings(); - } else { - api.apply( api, deferredSettingIds.concat( gatherSettings ) ); - } - - // After the control is embedded on the page, invoke the "ready" method. - control.deferred.embedded.done( function () { - control.linkElements(); // Link any additional elements after template is rendered by renderContent(). - control.setupNotifications(); - control.ready(); - }); - }, - - /** - * Link elements between settings and inputs. - * - * @since 4.7.0 - * @access public - * - * @return {void} - */ - linkElements: function () { - var control = this, nodes, radios, element; - - nodes = control.container.find( '[data-customize-setting-link], [data-customize-setting-key-link]' ); - radios = {}; - - nodes.each( function () { - var node = $( this ), name, setting; - - if ( node.data( 'customizeSettingLinked' ) ) { - return; - } - node.data( 'customizeSettingLinked', true ); // Prevent re-linking element. - - if ( node.is( ':radio' ) ) { - name = node.prop( 'name' ); - if ( radios[name] ) { - return; - } - - radios[name] = true; - node = nodes.filter( '[name="' + name + '"]' ); - } - - // Let link by default refer to setting ID. If it doesn't exist, fallback to looking up by setting key. - if ( node.data( 'customizeSettingLink' ) ) { - setting = api( node.data( 'customizeSettingLink' ) ); - } else if ( node.data( 'customizeSettingKeyLink' ) ) { - setting = control.settings[ node.data( 'customizeSettingKeyLink' ) ]; - } - - if ( setting ) { - element = new api.Element( node ); - control.elements.push( element ); - element.sync( setting ); - element.set( setting() ); - } - } ); - }, - - /** - * Embed the control into the page. - */ - embed: function () { - var control = this, - inject; - - // Watch for changes to the section state. - inject = function ( sectionId ) { - var parentContainer; - if ( ! sectionId ) { // @todo Allow a control to be embedded without a section, for instance a control embedded in the front end. - return; - } - // Wait for the section to be registered. - api.section( sectionId, function ( section ) { - // Wait for the section to be ready/initialized. - section.deferred.embedded.done( function () { - parentContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' ); - if ( ! control.container.parent().is( parentContainer ) ) { - parentContainer.append( control.container ); - } - control.renderContent(); - control.deferred.embedded.resolve(); - }); - }); - }; - control.section.bind( inject ); - inject( control.section.get() ); - }, - - /** - * Triggered when the control's markup has been injected into the DOM. - * - * @return {void} - */ - ready: function() { - var control = this, newItem; - if ( 'dropdown-pages' === control.params.type && control.params.allow_addition ) { - newItem = control.container.find( '.new-content-item' ); - newItem.hide(); // Hide in JS to preserve flex display when showing. - control.container.on( 'click', '.add-new-toggle', function( e ) { - $( e.currentTarget ).slideUp( 180 ); - newItem.slideDown( 180 ); - newItem.find( '.create-item-input' ).focus(); - }); - control.container.on( 'click', '.add-content', function() { - control.addNewPage(); - }); - control.container.on( 'keydown', '.create-item-input', function( e ) { - if ( 13 === e.which ) { // Enter. - control.addNewPage(); - } - }); - } - }, - - /** - * Get the element inside of a control's container that contains the validation error message. - * - * Control subclasses may override this to return the proper container to render notifications into. - * Injects the notification container for existing controls that lack the necessary container, - * including special handling for nav menu items and widgets. - * - * @since 4.6.0 - * @return {jQuery} Setting validation message element. - */ - getNotificationsContainerElement: function() { - var control = this, controlTitle, notificationsContainer; - - notificationsContainer = control.container.find( '.customize-control-notifications-container:first' ); - if ( notificationsContainer.length ) { - return notificationsContainer; - } - - notificationsContainer = $( '
    ' ); - - if ( control.container.hasClass( 'customize-control-nav_menu_item' ) ) { - control.container.find( '.menu-item-settings:first' ).prepend( notificationsContainer ); - } else if ( control.container.hasClass( 'customize-control-widget_form' ) ) { - control.container.find( '.widget-inside:first' ).prepend( notificationsContainer ); - } else { - controlTitle = control.container.find( '.customize-control-title' ); - if ( controlTitle.length ) { - controlTitle.after( notificationsContainer ); - } else { - control.container.prepend( notificationsContainer ); - } - } - return notificationsContainer; - }, - - /** - * Set up notifications. - * - * @since 4.9.0 - * @return {void} - */ - setupNotifications: function() { - var control = this, renderNotificationsIfVisible, onSectionAssigned; - - // Add setting notifications to the control notification. - _.each( control.settings, function( setting ) { - if ( ! setting.notifications ) { - return; - } - setting.notifications.bind( 'add', function( settingNotification ) { - var params = _.extend( - {}, - settingNotification, - { - setting: setting.id - } - ); - control.notifications.add( new api.Notification( setting.id + ':' + settingNotification.code, params ) ); - } ); - setting.notifications.bind( 'remove', function( settingNotification ) { - control.notifications.remove( setting.id + ':' + settingNotification.code ); - } ); - } ); - - renderNotificationsIfVisible = function() { - var sectionId = control.section(); - if ( ! sectionId || ( api.section.has( sectionId ) && api.section( sectionId ).expanded() ) ) { - control.notifications.render(); - } - }; - - control.notifications.bind( 'rendered', function() { - var notifications = control.notifications.get(); - control.container.toggleClass( 'has-notifications', 0 !== notifications.length ); - control.container.toggleClass( 'has-error', 0 !== _.where( notifications, { type: 'error' } ).length ); - } ); - - onSectionAssigned = function( newSectionId, oldSectionId ) { - if ( oldSectionId && api.section.has( oldSectionId ) ) { - api.section( oldSectionId ).expanded.unbind( renderNotificationsIfVisible ); - } - if ( newSectionId ) { - api.section( newSectionId, function( section ) { - section.expanded.bind( renderNotificationsIfVisible ); - renderNotificationsIfVisible(); - }); - } - }; - - control.section.bind( onSectionAssigned ); - onSectionAssigned( control.section.get() ); - control.notifications.bind( 'change', _.debounce( renderNotificationsIfVisible ) ); - }, - - /** - * Render notifications. - * - * Renders the `control.notifications` into the control's container. - * Control subclasses may override this method to do their own handling - * of rendering notifications. - * - * @deprecated in favor of `control.notifications.render()` - * @since 4.6.0 - * @this {wp.customize.Control} - */ - renderNotifications: function() { - var control = this, container, notifications, hasError = false; - - if ( 'undefined' !== typeof console && console.warn ) { - console.warn( '[DEPRECATED] wp.customize.Control.prototype.renderNotifications() is deprecated in favor of instantating a wp.customize.Notifications and calling its render() method.' ); - } - - container = control.getNotificationsContainerElement(); - if ( ! container || ! container.length ) { - return; - } - notifications = []; - control.notifications.each( function( notification ) { - notifications.push( notification ); - if ( 'error' === notification.type ) { - hasError = true; - } - } ); - - if ( 0 === notifications.length ) { - container.stop().slideUp( 'fast' ); - } else { - container.stop().slideDown( 'fast', null, function() { - $( this ).css( 'height', 'auto' ); - } ); - } - - if ( ! control.notificationsTemplate ) { - control.notificationsTemplate = wp.template( 'customize-control-notifications' ); - } - - control.container.toggleClass( 'has-notifications', 0 !== notifications.length ); - control.container.toggleClass( 'has-error', hasError ); - container.empty().append( - control.notificationsTemplate( { notifications: notifications, altNotice: Boolean( control.altNotice ) } ).trim() - ); - }, - - /** - * Normal controls do not expand, so just expand its parent - * - * @param {Object} [params] - */ - expand: function ( params ) { - api.section( this.section() ).expand( params ); - }, - - /* - * Documented using @borrows in the constructor. - */ - focus: focus, - - /** - * Update UI in response to a change in the control's active state. - * This does not change the active state, it merely handles the behavior - * for when it does change. - * - * @since 4.1.0 - * - * @param {boolean} active - * @param {Object} args - * @param {number} args.duration - * @param {Function} args.completeCallback - */ - onChangeActive: function ( active, args ) { - if ( args.unchanged ) { - if ( args.completeCallback ) { - args.completeCallback(); - } - return; - } - - if ( ! $.contains( document, this.container[0] ) ) { - // jQuery.fn.slideUp is not hiding an element if it is not in the DOM. - this.container.toggle( active ); - if ( args.completeCallback ) { - args.completeCallback(); - } - } else if ( active ) { - this.container.slideDown( args.duration, args.completeCallback ); - } else { - this.container.slideUp( args.duration, args.completeCallback ); - } - }, - - /** - * @deprecated 4.1.0 Use this.onChangeActive() instead. - */ - toggle: function ( active ) { - return this.onChangeActive( active, this.defaultActiveArguments ); - }, - - /* - * Documented using @borrows in the constructor - */ - activate: Container.prototype.activate, - - /* - * Documented using @borrows in the constructor - */ - deactivate: Container.prototype.deactivate, - - /* - * Documented using @borrows in the constructor - */ - _toggleActive: Container.prototype._toggleActive, - - // @todo This function appears to be dead code and can be removed. - dropdownInit: function() { - var control = this, - statuses = this.container.find('.dropdown-status'), - params = this.params, - toggleFreeze = false, - update = function( to ) { - if ( 'string' === typeof to && params.statuses && params.statuses[ to ] ) { - statuses.html( params.statuses[ to ] ).show(); - } else { - statuses.hide(); - } - }; - - // Support the .dropdown class to open/close complex elements. - this.container.on( 'click keydown', '.dropdown', function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - - event.preventDefault(); - - if ( ! toggleFreeze ) { - control.container.toggleClass( 'open' ); - } - - if ( control.container.hasClass( 'open' ) ) { - control.container.parent().parent().find( 'li.library-selected' ).focus(); - } - - // Don't want to fire focus and click at same time. - toggleFreeze = true; - setTimeout(function () { - toggleFreeze = false; - }, 400); - }); - - this.setting.bind( update ); - update( this.setting() ); - }, - - /** - * Render the control from its JS template, if it exists. - * - * The control's container must already exist in the DOM. - * - * @since 4.1.0 - */ - renderContent: function () { - var control = this, template, standardTypes, templateId, sectionId; - - standardTypes = [ - 'button', - 'checkbox', - 'date', - 'datetime-local', - 'email', - 'month', - 'number', - 'password', - 'radio', - 'range', - 'search', - 'select', - 'tel', - 'time', - 'text', - 'textarea', - 'week', - 'url' - ]; - - templateId = control.templateSelector; - - // Use default content template when a standard HTML type is used, - // there isn't a more specific template existing, and the control container is empty. - if ( templateId === 'customize-control-' + control.params.type + '-content' && - _.contains( standardTypes, control.params.type ) && - ! document.getElementById( 'tmpl-' + templateId ) && - 0 === control.container.children().length ) - { - templateId = 'customize-control-default-content'; - } - - // Replace the container element's content with the control. - if ( document.getElementById( 'tmpl-' + templateId ) ) { - template = wp.template( templateId ); - if ( template && control.container ) { - control.container.html( template( control.params ) ); - } - } - - // Re-render notifications after content has been re-rendered. - control.notifications.container = control.getNotificationsContainerElement(); - sectionId = control.section(); - if ( ! sectionId || ( api.section.has( sectionId ) && api.section( sectionId ).expanded() ) ) { - control.notifications.render(); - } - }, - - /** - * Add a new page to a dropdown-pages control reusing menus code for this. - * - * @since 4.7.0 - * @access private - * - * @return {void} - */ - addNewPage: function () { - var control = this, promise, toggle, container, input, title, select; - - if ( 'dropdown-pages' !== control.params.type || ! control.params.allow_addition || ! api.Menus ) { - return; - } - - toggle = control.container.find( '.add-new-toggle' ); - container = control.container.find( '.new-content-item' ); - input = control.container.find( '.create-item-input' ); - title = input.val(); - select = control.container.find( 'select' ); - - if ( ! title ) { - input.addClass( 'invalid' ); - return; - } - - input.removeClass( 'invalid' ); - input.attr( 'disabled', 'disabled' ); - - // The menus functions add the page, publish when appropriate, - // and also add the new page to the dropdown-pages controls. - promise = api.Menus.insertAutoDraftPost( { - post_title: title, - post_type: 'page' - } ); - promise.done( function( data ) { - var availableItem, $content, itemTemplate; - - // Prepare the new page as an available menu item. - // See api.Menus.submitNew(). - availableItem = new api.Menus.AvailableItemModel( { - 'id': 'post-' + data.post_id, // Used for available menu item Backbone models. - 'title': title, - 'type': 'post_type', - 'type_label': api.Menus.data.l10n.page_label, - 'object': 'page', - 'object_id': data.post_id, - 'url': data.url - } ); - - // Add the new item to the list of available menu items. - api.Menus.availableMenuItemsPanel.collection.add( availableItem ); - $content = $( '#available-menu-items-post_type-page' ).find( '.available-menu-items-list' ); - itemTemplate = wp.template( 'available-menu-item' ); - $content.prepend( itemTemplate( availableItem.attributes ) ); - - // Focus the select control. - select.focus(); - control.setting.set( String( data.post_id ) ); // Triggers a preview refresh and updates the setting. - - // Reset the create page form. - container.slideUp( 180 ); - toggle.slideDown( 180 ); - } ); - promise.always( function() { - input.val( '' ).removeAttr( 'disabled' ); - } ); - } - }); - - /** - * A colorpicker control. - * - * @class wp.customize.ColorControl - * @augments wp.customize.Control - */ - api.ColorControl = api.Control.extend(/** @lends wp.customize.ColorControl.prototype */{ - ready: function() { - var control = this, - isHueSlider = this.params.mode === 'hue', - updating = false, - picker; - - if ( isHueSlider ) { - picker = this.container.find( '.color-picker-hue' ); - picker.val( control.setting() ).wpColorPicker({ - change: function( event, ui ) { - updating = true; - control.setting( ui.color.h() ); - updating = false; - } - }); - } else { - picker = this.container.find( '.color-picker-hex' ); - picker.val( control.setting() ).wpColorPicker({ - change: function() { - updating = true; - control.setting.set( picker.wpColorPicker( 'color' ) ); - updating = false; - }, - clear: function() { - updating = true; - control.setting.set( '' ); - updating = false; - } - }); - } - - control.setting.bind( function ( value ) { - // Bail if the update came from the control itself. - if ( updating ) { - return; - } - picker.val( value ); - picker.wpColorPicker( 'color', value ); - } ); - - // Collapse color picker when hitting Esc instead of collapsing the current section. - control.container.on( 'keydown', function( event ) { - var pickerContainer; - if ( 27 !== event.which ) { // Esc. - return; - } - pickerContainer = control.container.find( '.wp-picker-container' ); - if ( pickerContainer.hasClass( 'wp-picker-active' ) ) { - picker.wpColorPicker( 'close' ); - control.container.find( '.wp-color-result' ).focus(); - event.stopPropagation(); // Prevent section from being collapsed. - } - } ); - } - }); - - /** - * A control that implements the media modal. - * - * @class wp.customize.MediaControl - * @augments wp.customize.Control - */ - api.MediaControl = api.Control.extend(/** @lends wp.customize.MediaControl.prototype */{ - - /** - * When the control's DOM structure is ready, - * set up internal event bindings. - */ - ready: function() { - var control = this; - // Shortcut so that we don't have to use _.bind every time we add a callback. - _.bindAll( control, 'restoreDefault', 'removeFile', 'openFrame', 'select', 'pausePlayer' ); - - // Bind events, with delegation to facilitate re-rendering. - control.container.on( 'click keydown', '.upload-button', control.openFrame ); - control.container.on( 'click keydown', '.upload-button', control.pausePlayer ); - control.container.on( 'click keydown', '.thumbnail-image img', control.openFrame ); - control.container.on( 'click keydown', '.default-button', control.restoreDefault ); - control.container.on( 'click keydown', '.remove-button', control.pausePlayer ); - control.container.on( 'click keydown', '.remove-button', control.removeFile ); - control.container.on( 'click keydown', '.remove-button', control.cleanupPlayer ); - - // Resize the player controls when it becomes visible (ie when section is expanded). - api.section( control.section() ).container - .on( 'expanded', function() { - if ( control.player ) { - control.player.setControlsSize(); - } - }) - .on( 'collapsed', function() { - control.pausePlayer(); - }); - - /** - * Set attachment data and render content. - * - * Note that BackgroundImage.prototype.ready applies this ready method - * to itself. Since BackgroundImage is an UploadControl, the value - * is the attachment URL instead of the attachment ID. In this case - * we skip fetching the attachment data because we have no ID available, - * and it is the responsibility of the UploadControl to set the control's - * attachmentData before calling the renderContent method. - * - * @param {number|string} value Attachment - */ - function setAttachmentDataAndRenderContent( value ) { - var hasAttachmentData = $.Deferred(); - - if ( control.extended( api.UploadControl ) ) { - hasAttachmentData.resolve(); - } else { - value = parseInt( value, 10 ); - if ( _.isNaN( value ) || value <= 0 ) { - delete control.params.attachment; - hasAttachmentData.resolve(); - } else if ( control.params.attachment && control.params.attachment.id === value ) { - hasAttachmentData.resolve(); - } - } - - // Fetch the attachment data. - if ( 'pending' === hasAttachmentData.state() ) { - wp.media.attachment( value ).fetch().done( function() { - control.params.attachment = this.attributes; - hasAttachmentData.resolve(); - - // Send attachment information to the preview for possible use in `postMessage` transport. - wp.customize.previewer.send( control.setting.id + '-attachment-data', this.attributes ); - } ); - } - - hasAttachmentData.done( function() { - control.renderContent(); - } ); - } - - // Ensure attachment data is initially set (for dynamically-instantiated controls). - setAttachmentDataAndRenderContent( control.setting() ); - - // Update the attachment data and re-render the control when the setting changes. - control.setting.bind( setAttachmentDataAndRenderContent ); - }, - - pausePlayer: function () { - this.player && this.player.pause(); - }, - - cleanupPlayer: function () { - this.player && wp.media.mixin.removePlayer( this.player ); - }, - - /** - * Open the media modal. - */ - openFrame: function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - - event.preventDefault(); - - if ( ! this.frame ) { - this.initFrame(); - } - - this.frame.open(); - }, - - /** - * Create a media modal select frame, and store it so the instance can be reused when needed. - */ - initFrame: function() { - this.frame = wp.media({ - button: { - text: this.params.button_labels.frame_button - }, - states: [ - new wp.media.controller.Library({ - title: this.params.button_labels.frame_title, - library: wp.media.query({ type: this.params.mime_type }), - multiple: false, - date: false - }) - ] - }); - - // When a file is selected, run a callback. - this.frame.on( 'select', this.select ); - }, - - /** - * Callback handler for when an attachment is selected in the media modal. - * Gets the selected image information, and sets it within the control. - */ - select: function() { - // Get the attachment from the modal frame. - var node, - attachment = this.frame.state().get( 'selection' ).first().toJSON(), - mejsSettings = window._wpmejsSettings || {}; - - this.params.attachment = attachment; - - // Set the Customizer setting; the callback takes care of rendering. - this.setting( attachment.id ); - node = this.container.find( 'audio, video' ).get(0); - - // Initialize audio/video previews. - if ( node ) { - this.player = new MediaElementPlayer( node, mejsSettings ); - } else { - this.cleanupPlayer(); - } - }, - - /** - * Reset the setting to the default value. - */ - restoreDefault: function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); - - this.params.attachment = this.params.defaultAttachment; - this.setting( this.params.defaultAttachment.url ); - }, - - /** - * Called when the "Remove" link is clicked. Empties the setting. - * - * @param {Object} event jQuery Event object - */ - removeFile: function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); - - this.params.attachment = {}; - this.setting( '' ); - this.renderContent(); // Not bound to setting change when emptying. - } - }); - - /** - * An upload control, which utilizes the media modal. - * - * @class wp.customize.UploadControl - * @augments wp.customize.MediaControl - */ - api.UploadControl = api.MediaControl.extend(/** @lends wp.customize.UploadControl.prototype */{ - - /** - * Callback handler for when an attachment is selected in the media modal. - * Gets the selected image information, and sets it within the control. - */ - select: function() { - // Get the attachment from the modal frame. - var node, - attachment = this.frame.state().get( 'selection' ).first().toJSON(), - mejsSettings = window._wpmejsSettings || {}; - - this.params.attachment = attachment; - - // Set the Customizer setting; the callback takes care of rendering. - this.setting( attachment.url ); - node = this.container.find( 'audio, video' ).get(0); - - // Initialize audio/video previews. - if ( node ) { - this.player = new MediaElementPlayer( node, mejsSettings ); - } else { - this.cleanupPlayer(); - } - }, - - // @deprecated - success: function() {}, - - // @deprecated - removerVisibility: function() {} - }); - - /** - * A control for uploading images. - * - * This control no longer needs to do anything more - * than what the upload control does in JS. - * - * @class wp.customize.ImageControl - * @augments wp.customize.UploadControl - */ - api.ImageControl = api.UploadControl.extend(/** @lends wp.customize.ImageControl.prototype */{ - // @deprecated - thumbnailSrc: function() {} - }); - - /** - * A control for uploading background images. - * - * @class wp.customize.BackgroundControl - * @augments wp.customize.UploadControl - */ - api.BackgroundControl = api.UploadControl.extend(/** @lends wp.customize.BackgroundControl.prototype */{ - - /** - * When the control's DOM structure is ready, - * set up internal event bindings. - */ - ready: function() { - api.UploadControl.prototype.ready.apply( this, arguments ); - }, - - /** - * Callback handler for when an attachment is selected in the media modal. - * Does an additional Ajax request for setting the background context. - */ - select: function() { - api.UploadControl.prototype.select.apply( this, arguments ); - - wp.ajax.post( 'custom-background-add', { - nonce: _wpCustomizeBackground.nonces.add, - wp_customize: 'on', - customize_theme: api.settings.theme.stylesheet, - attachment_id: this.params.attachment.id - } ); - } - }); - - /** - * A control for positioning a background image. - * - * @since 4.7.0 - * - * @class wp.customize.BackgroundPositionControl - * @augments wp.customize.Control - */ - api.BackgroundPositionControl = api.Control.extend(/** @lends wp.customize.BackgroundPositionControl.prototype */{ - - /** - * Set up control UI once embedded in DOM and settings are created. - * - * @since 4.7.0 - * @access public - */ - ready: function() { - var control = this, updateRadios; - - control.container.on( 'change', 'input[name="background-position"]', function() { - var position = $( this ).val().split( ' ' ); - control.settings.x( position[0] ); - control.settings.y( position[1] ); - } ); - - updateRadios = _.debounce( function() { - var x, y, radioInput, inputValue; - x = control.settings.x.get(); - y = control.settings.y.get(); - inputValue = String( x ) + ' ' + String( y ); - radioInput = control.container.find( 'input[name="background-position"][value="' + inputValue + '"]' ); - radioInput.trigger( 'click' ); - } ); - control.settings.x.bind( updateRadios ); - control.settings.y.bind( updateRadios ); - - updateRadios(); // Set initial UI. - } - } ); - - /** - * A control for selecting and cropping an image. - * - * @class wp.customize.CroppedImageControl - * @augments wp.customize.MediaControl - */ - api.CroppedImageControl = api.MediaControl.extend(/** @lends wp.customize.CroppedImageControl.prototype */{ - - /** - * Open the media modal to the library state. - */ - openFrame: function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - - this.initFrame(); - this.frame.setState( 'library' ).open(); - }, - - /** - * Create a media modal select frame, and store it so the instance can be reused when needed. - */ - initFrame: function() { - var l10n = _wpMediaViewsL10n; - - this.frame = wp.media({ - button: { - text: l10n.select, - close: false - }, - states: [ - new wp.media.controller.Library({ - title: this.params.button_labels.frame_title, - library: wp.media.query({ type: 'image' }), - multiple: false, - date: false, - priority: 20, - suggestedWidth: this.params.width, - suggestedHeight: this.params.height - }), - new wp.media.controller.CustomizeImageCropper({ - imgSelectOptions: this.calculateImageSelectOptions, - control: this - }) - ] - }); - - this.frame.on( 'select', this.onSelect, this ); - this.frame.on( 'cropped', this.onCropped, this ); - this.frame.on( 'skippedcrop', this.onSkippedCrop, this ); - }, - - /** - * After an image is selected in the media modal, switch to the cropper - * state if the image isn't the right size. - */ - onSelect: function() { - var attachment = this.frame.state().get( 'selection' ).first().toJSON(); - - if ( this.params.width === attachment.width && this.params.height === attachment.height && ! this.params.flex_width && ! this.params.flex_height ) { - this.setImageFromAttachment( attachment ); - this.frame.close(); - } else { - this.frame.setState( 'cropper' ); - } - }, - - /** - * After the image has been cropped, apply the cropped image data to the setting. - * - * @param {Object} croppedImage Cropped attachment data. - */ - onCropped: function( croppedImage ) { - this.setImageFromAttachment( croppedImage ); - }, - - /** - * Returns a set of options, computed from the attached image data and - * control-specific data, to be fed to the imgAreaSelect plugin in - * wp.media.view.Cropper. - * - * @param {wp.media.model.Attachment} attachment - * @param {wp.media.controller.Cropper} controller - * @return {Object} Options - */ - calculateImageSelectOptions: function( attachment, controller ) { - var control = controller.get( 'control' ), - flexWidth = !! parseInt( control.params.flex_width, 10 ), - flexHeight = !! parseInt( control.params.flex_height, 10 ), - realWidth = attachment.get( 'width' ), - realHeight = attachment.get( 'height' ), - xInit = parseInt( control.params.width, 10 ), - yInit = parseInt( control.params.height, 10 ), - ratio = xInit / yInit, - xImg = xInit, - yImg = yInit, - x1, y1, imgSelectOptions; - - controller.set( 'canSkipCrop', ! control.mustBeCropped( flexWidth, flexHeight, xInit, yInit, realWidth, realHeight ) ); - - if ( realWidth / realHeight > ratio ) { - yInit = realHeight; - xInit = yInit * ratio; - } else { - xInit = realWidth; - yInit = xInit / ratio; - } - - x1 = ( realWidth - xInit ) / 2; - y1 = ( realHeight - yInit ) / 2; - - imgSelectOptions = { - handles: true, - keys: true, - instance: true, - persistent: true, - imageWidth: realWidth, - imageHeight: realHeight, - minWidth: xImg > xInit ? xInit : xImg, - minHeight: yImg > yInit ? yInit : yImg, - x1: x1, - y1: y1, - x2: xInit + x1, - y2: yInit + y1 - }; - - if ( flexHeight === false && flexWidth === false ) { - imgSelectOptions.aspectRatio = xInit + ':' + yInit; - } - - if ( true === flexHeight ) { - delete imgSelectOptions.minHeight; - imgSelectOptions.maxWidth = realWidth; - } - - if ( true === flexWidth ) { - delete imgSelectOptions.minWidth; - imgSelectOptions.maxHeight = realHeight; - } - - return imgSelectOptions; - }, - - /** - * Return whether the image must be cropped, based on required dimensions. - * - * @param {boolean} flexW - * @param {boolean} flexH - * @param {number} dstW - * @param {number} dstH - * @param {number} imgW - * @param {number} imgH - * @return {boolean} - */ - mustBeCropped: function( flexW, flexH, dstW, dstH, imgW, imgH ) { - if ( true === flexW && true === flexH ) { - return false; - } - - if ( true === flexW && dstH === imgH ) { - return false; - } - - if ( true === flexH && dstW === imgW ) { - return false; - } - - if ( dstW === imgW && dstH === imgH ) { - return false; - } - - if ( imgW <= dstW ) { - return false; - } - - return true; - }, - - /** - * If cropping was skipped, apply the image data directly to the setting. - */ - onSkippedCrop: function() { - var attachment = this.frame.state().get( 'selection' ).first().toJSON(); - this.setImageFromAttachment( attachment ); - }, - - /** - * Updates the setting and re-renders the control UI. - * - * @param {Object} attachment - */ - setImageFromAttachment: function( attachment ) { - this.params.attachment = attachment; - - // Set the Customizer setting; the callback takes care of rendering. - this.setting( attachment.id ); - } - }); - - /** - * A control for selecting and cropping Site Icons. - * - * @class wp.customize.SiteIconControl - * @augments wp.customize.CroppedImageControl - */ - api.SiteIconControl = api.CroppedImageControl.extend(/** @lends wp.customize.SiteIconControl.prototype */{ - - /** - * Create a media modal select frame, and store it so the instance can be reused when needed. - */ - initFrame: function() { - var l10n = _wpMediaViewsL10n; - - this.frame = wp.media({ - button: { - text: l10n.select, - close: false - }, - states: [ - new wp.media.controller.Library({ - title: this.params.button_labels.frame_title, - library: wp.media.query({ type: 'image' }), - multiple: false, - date: false, - priority: 20, - suggestedWidth: this.params.width, - suggestedHeight: this.params.height - }), - new wp.media.controller.SiteIconCropper({ - imgSelectOptions: this.calculateImageSelectOptions, - control: this - }) - ] - }); - - this.frame.on( 'select', this.onSelect, this ); - this.frame.on( 'cropped', this.onCropped, this ); - this.frame.on( 'skippedcrop', this.onSkippedCrop, this ); - }, - - /** - * After an image is selected in the media modal, switch to the cropper - * state if the image isn't the right size. - */ - onSelect: function() { - var attachment = this.frame.state().get( 'selection' ).first().toJSON(), - controller = this; - - if ( this.params.width === attachment.width && this.params.height === attachment.height && ! this.params.flex_width && ! this.params.flex_height ) { - wp.ajax.post( 'crop-image', { - nonce: attachment.nonces.edit, - id: attachment.id, - context: 'site-icon', - cropDetails: { - x1: 0, - y1: 0, - width: this.params.width, - height: this.params.height, - dst_width: this.params.width, - dst_height: this.params.height - } - } ).done( function( croppedImage ) { - controller.setImageFromAttachment( croppedImage ); - controller.frame.close(); - } ).fail( function() { - controller.frame.trigger('content:error:crop'); - } ); - } else { - this.frame.setState( 'cropper' ); - } - }, - - /** - * Updates the setting and re-renders the control UI. - * - * @param {Object} attachment - */ - setImageFromAttachment: function( attachment ) { - var sizes = [ 'site_icon-32', 'thumbnail', 'full' ], link, - icon; - - _.each( sizes, function( size ) { - if ( ! icon && ! _.isUndefined ( attachment.sizes[ size ] ) ) { - icon = attachment.sizes[ size ]; - } - } ); - - this.params.attachment = attachment; - - // Set the Customizer setting; the callback takes care of rendering. - this.setting( attachment.id ); - - if ( ! icon ) { - return; - } - - // Update the icon in-browser. - link = $( 'link[rel="icon"][sizes="32x32"]' ); - link.attr( 'href', icon.url ); - }, - - /** - * Called when the "Remove" link is clicked. Empties the setting. - * - * @param {Object} event jQuery Event object - */ - removeFile: function( event ) { - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - event.preventDefault(); - - this.params.attachment = {}; - this.setting( '' ); - this.renderContent(); // Not bound to setting change when emptying. - $( 'link[rel="icon"][sizes="32x32"]' ).attr( 'href', '/favicon.ico' ); // Set to default. - } - }); - - /** - * @class wp.customize.HeaderControl - * @augments wp.customize.Control - */ - api.HeaderControl = api.Control.extend(/** @lends wp.customize.HeaderControl.prototype */{ - ready: function() { - this.btnRemove = $('#customize-control-header_image .actions .remove'); - this.btnNew = $('#customize-control-header_image .actions .new'); - - _.bindAll(this, 'openMedia', 'removeImage'); - - this.btnNew.on( 'click', this.openMedia ); - this.btnRemove.on( 'click', this.removeImage ); - - api.HeaderTool.currentHeader = this.getInitialHeaderImage(); - - new api.HeaderTool.CurrentView({ - model: api.HeaderTool.currentHeader, - el: '#customize-control-header_image .current .container' - }); - - new api.HeaderTool.ChoiceListView({ - collection: api.HeaderTool.UploadsList = new api.HeaderTool.ChoiceList(), - el: '#customize-control-header_image .choices .uploaded .list' - }); - - new api.HeaderTool.ChoiceListView({ - collection: api.HeaderTool.DefaultsList = new api.HeaderTool.DefaultsList(), - el: '#customize-control-header_image .choices .default .list' - }); - - api.HeaderTool.combinedList = api.HeaderTool.CombinedList = new api.HeaderTool.CombinedList([ - api.HeaderTool.UploadsList, - api.HeaderTool.DefaultsList - ]); - - // Ensure custom-header-crop Ajax requests bootstrap the Customizer to activate the previewed theme. - wp.media.controller.Cropper.prototype.defaults.doCropArgs.wp_customize = 'on'; - wp.media.controller.Cropper.prototype.defaults.doCropArgs.customize_theme = api.settings.theme.stylesheet; - }, - - /** - * Returns a new instance of api.HeaderTool.ImageModel based on the currently - * saved header image (if any). - * - * @since 4.2.0 - * - * @return {Object} Options - */ - getInitialHeaderImage: function() { - if ( ! api.get().header_image || ! api.get().header_image_data || _.contains( [ 'remove-header', 'random-default-image', 'random-uploaded-image' ], api.get().header_image ) ) { - return new api.HeaderTool.ImageModel(); - } - - // Get the matching uploaded image object. - var currentHeaderObject = _.find( _wpCustomizeHeader.uploads, function( imageObj ) { - return ( imageObj.attachment_id === api.get().header_image_data.attachment_id ); - } ); - // Fall back to raw current header image. - if ( ! currentHeaderObject ) { - currentHeaderObject = { - url: api.get().header_image, - thumbnail_url: api.get().header_image, - attachment_id: api.get().header_image_data.attachment_id - }; - } - - return new api.HeaderTool.ImageModel({ - header: currentHeaderObject, - choice: currentHeaderObject.url.split( '/' ).pop() - }); - }, - - /** - * Returns a set of options, computed from the attached image data and - * theme-specific data, to be fed to the imgAreaSelect plugin in - * wp.media.view.Cropper. - * - * @param {wp.media.model.Attachment} attachment - * @param {wp.media.controller.Cropper} controller - * @return {Object} Options - */ - calculateImageSelectOptions: function(attachment, controller) { - var xInit = parseInt(_wpCustomizeHeader.data.width, 10), - yInit = parseInt(_wpCustomizeHeader.data.height, 10), - flexWidth = !! parseInt(_wpCustomizeHeader.data['flex-width'], 10), - flexHeight = !! parseInt(_wpCustomizeHeader.data['flex-height'], 10), - ratio, xImg, yImg, realHeight, realWidth, - imgSelectOptions; - - realWidth = attachment.get('width'); - realHeight = attachment.get('height'); - - this.headerImage = new api.HeaderTool.ImageModel(); - this.headerImage.set({ - themeWidth: xInit, - themeHeight: yInit, - themeFlexWidth: flexWidth, - themeFlexHeight: flexHeight, - imageWidth: realWidth, - imageHeight: realHeight - }); - - controller.set( 'canSkipCrop', ! this.headerImage.shouldBeCropped() ); - - ratio = xInit / yInit; - xImg = realWidth; - yImg = realHeight; - - if ( xImg / yImg > ratio ) { - yInit = yImg; - xInit = yInit * ratio; - } else { - xInit = xImg; - yInit = xInit / ratio; - } - - imgSelectOptions = { - handles: true, - keys: true, - instance: true, - persistent: true, - imageWidth: realWidth, - imageHeight: realHeight, - x1: 0, - y1: 0, - x2: xInit, - y2: yInit - }; - - if (flexHeight === false && flexWidth === false) { - imgSelectOptions.aspectRatio = xInit + ':' + yInit; - } - if (flexHeight === false ) { - imgSelectOptions.maxHeight = yInit; - } - if (flexWidth === false ) { - imgSelectOptions.maxWidth = xInit; - } - - return imgSelectOptions; - }, - - /** - * Sets up and opens the Media Manager in order to select an image. - * Depending on both the size of the image and the properties of the - * current theme, a cropping step after selection may be required or - * skippable. - * - * @param {event} event - */ - openMedia: function(event) { - var l10n = _wpMediaViewsL10n; - - event.preventDefault(); - - this.frame = wp.media({ - button: { - text: l10n.selectAndCrop, - close: false - }, - states: [ - new wp.media.controller.Library({ - title: l10n.chooseImage, - library: wp.media.query({ type: 'image' }), - multiple: false, - date: false, - priority: 20, - suggestedWidth: _wpCustomizeHeader.data.width, - suggestedHeight: _wpCustomizeHeader.data.height - }), - new wp.media.controller.Cropper({ - imgSelectOptions: this.calculateImageSelectOptions - }) - ] - }); - - this.frame.on('select', this.onSelect, this); - this.frame.on('cropped', this.onCropped, this); - this.frame.on('skippedcrop', this.onSkippedCrop, this); - - this.frame.open(); - }, - - /** - * After an image is selected in the media modal, - * switch to the cropper state. - */ - onSelect: function() { - this.frame.setState('cropper'); - }, - - /** - * After the image has been cropped, apply the cropped image data to the setting. - * - * @param {Object} croppedImage Cropped attachment data. - */ - onCropped: function(croppedImage) { - var url = croppedImage.url, - attachmentId = croppedImage.attachment_id, - w = croppedImage.width, - h = croppedImage.height; - this.setImageFromURL(url, attachmentId, w, h); - }, - - /** - * If cropping was skipped, apply the image data directly to the setting. - * - * @param {Object} selection - */ - onSkippedCrop: function(selection) { - var url = selection.get('url'), - w = selection.get('width'), - h = selection.get('height'); - this.setImageFromURL(url, selection.id, w, h); - }, - - /** - * Creates a new wp.customize.HeaderTool.ImageModel from provided - * header image data and inserts it into the user-uploaded headers - * collection. - * - * @param {string} url - * @param {number} attachmentId - * @param {number} width - * @param {number} height - */ - setImageFromURL: function(url, attachmentId, width, height) { - var choice, data = {}; - - data.url = url; - data.thumbnail_url = url; - data.timestamp = _.now(); - - if (attachmentId) { - data.attachment_id = attachmentId; - } - - if (width) { - data.width = width; - } - - if (height) { - data.height = height; - } - - choice = new api.HeaderTool.ImageModel({ - header: data, - choice: url.split('/').pop() - }); - api.HeaderTool.UploadsList.add(choice); - api.HeaderTool.currentHeader.set(choice.toJSON()); - choice.save(); - choice.importImage(); - }, - - /** - * Triggers the necessary events to deselect an image which was set as - * the currently selected one. - */ - removeImage: function() { - api.HeaderTool.currentHeader.trigger('hide'); - api.HeaderTool.CombinedList.trigger('control:removeImage'); - } - - }); - - /** - * wp.customize.ThemeControl - * - * @class wp.customize.ThemeControl - * @augments wp.customize.Control - */ - api.ThemeControl = api.Control.extend(/** @lends wp.customize.ThemeControl.prototype */{ - - touchDrag: false, - screenshotRendered: false, - - /** - * @since 4.2.0 - */ - ready: function() { - var control = this, panel = api.panel( 'themes' ); - - function disableSwitchButtons() { - return ! panel.canSwitchTheme( control.params.theme.id ); - } - - // Temporary special function since supplying SFTP credentials does not work yet. See #42184. - function disableInstallButtons() { - return disableSwitchButtons() || false === api.settings.theme._canInstall || true === api.settings.theme._filesystemCredentialsNeeded; - } - function updateButtons() { - control.container.find( 'button.preview, button.preview-theme' ).toggleClass( 'disabled', disableSwitchButtons() ); - control.container.find( 'button.theme-install' ).toggleClass( 'disabled', disableInstallButtons() ); - } - - api.state( 'selectedChangesetStatus' ).bind( updateButtons ); - api.state( 'changesetStatus' ).bind( updateButtons ); - updateButtons(); - - control.container.on( 'touchmove', '.theme', function() { - control.touchDrag = true; - }); - - // Bind details view trigger. - control.container.on( 'click keydown touchend', '.theme', function( event ) { - var section; - if ( api.utils.isKeydownButNotEnterEvent( event ) ) { - return; - } - - // Bail if the user scrolled on a touch device. - if ( control.touchDrag === true ) { - return control.touchDrag = false; - } - - // Prevent the modal from showing when the user clicks the action button. - if ( $( event.target ).is( '.theme-actions .button, .update-theme' ) ) { - return; - } - - event.preventDefault(); // Keep this AFTER the key filter above. - section = api.section( control.section() ); - section.showDetails( control.params.theme, function() { - - // Temporary special function since supplying SFTP credentials does not work yet. See #42184. - if ( api.settings.theme._filesystemCredentialsNeeded ) { - section.overlay.find( '.theme-actions .delete-theme' ).remove(); - } - } ); - }); - - control.container.on( 'render-screenshot', function() { - var $screenshot = $( this ).find( 'img' ), - source = $screenshot.data( 'src' ); - - if ( source ) { - $screenshot.attr( 'src', source ); - } - control.screenshotRendered = true; - }); - }, - - /** - * Show or hide the theme based on the presence of the term in the title, description, tags, and author. - * - * @since 4.2.0 - * @param {Array} terms - An array of terms to search for. - * @return {boolean} Whether a theme control was activated or not. - */ - filter: function( terms ) { - var control = this, - matchCount = 0, - haystack = control.params.theme.name + ' ' + - control.params.theme.description + ' ' + - control.params.theme.tags + ' ' + - control.params.theme.author + ' '; - haystack = haystack.toLowerCase().replace( '-', ' ' ); - - // Back-compat for behavior in WordPress 4.2.0 to 4.8.X. - if ( ! _.isArray( terms ) ) { - terms = [ terms ]; - } - - // Always give exact name matches highest ranking. - if ( control.params.theme.name.toLowerCase() === terms.join( ' ' ) ) { - matchCount = 100; - } else { - - // Search for and weight (by 10) complete term matches. - matchCount = matchCount + 10 * ( haystack.split( terms.join( ' ' ) ).length - 1 ); - - // Search for each term individually (as whole-word and partial match) and sum weighted match counts. - _.each( terms, function( term ) { - matchCount = matchCount + 2 * ( haystack.split( term + ' ' ).length - 1 ); // Whole-word, double-weighted. - matchCount = matchCount + haystack.split( term ).length - 1; // Partial word, to minimize empty intermediate searches while typing. - }); - - // Upper limit on match ranking. - if ( matchCount > 99 ) { - matchCount = 99; - } - } - - if ( 0 !== matchCount ) { - control.activate(); - control.params.priority = 101 - matchCount; // Sort results by match count. - return true; - } else { - control.deactivate(); // Hide control. - control.params.priority = 101; - return false; - } - }, - - /** - * Rerender the theme from its JS template with the installed type. - * - * @since 4.9.0 - * - * @return {void} - */ - rerenderAsInstalled: function( installed ) { - var control = this, section; - if ( installed ) { - control.params.theme.type = 'installed'; - } else { - section = api.section( control.params.section ); - control.params.theme.type = section.params.action; - } - control.renderContent(); // Replaces existing content. - control.container.trigger( 'render-screenshot' ); - } - }); - - /** - * Class wp.customize.CodeEditorControl - * - * @since 4.9.0 - * - * @class wp.customize.CodeEditorControl - * @augments wp.customize.Control - */ - api.CodeEditorControl = api.Control.extend(/** @lends wp.customize.CodeEditorControl.prototype */{ - - /** - * Initialize. - * - * @since 4.9.0 - * @param {string} id - Unique identifier for the control instance. - * @param {Object} options - Options hash for the control instance. - * @return {void} - */ - initialize: function( id, options ) { - var control = this; - control.deferred = _.extend( control.deferred || {}, { - codemirror: $.Deferred() - } ); - api.Control.prototype.initialize.call( control, id, options ); - - // Note that rendering is debounced so the props will be used when rendering happens after add event. - control.notifications.bind( 'add', function( notification ) { - - // Skip if control notification is not from setting csslint_error notification. - if ( notification.code !== control.setting.id + ':csslint_error' ) { - return; - } - - // Customize the template and behavior of csslint_error notifications. - notification.templateId = 'customize-code-editor-lint-error-notification'; - notification.render = (function( render ) { - return function() { - var li = render.call( this ); - li.find( 'input[type=checkbox]' ).on( 'click', function() { - control.setting.notifications.remove( 'csslint_error' ); - } ); - return li; - }; - })( notification.render ); - } ); - }, - - /** - * Initialize the editor when the containing section is ready and expanded. - * - * @since 4.9.0 - * @return {void} - */ - ready: function() { - var control = this; - if ( ! control.section() ) { - control.initEditor(); - return; - } - - // Wait to initialize editor until section is embedded and expanded. - api.section( control.section(), function( section ) { - section.deferred.embedded.done( function() { - var onceExpanded; - if ( section.expanded() ) { - control.initEditor(); - } else { - onceExpanded = function( isExpanded ) { - if ( isExpanded ) { - control.initEditor(); - section.expanded.unbind( onceExpanded ); - } - }; - section.expanded.bind( onceExpanded ); - } - } ); - } ); - }, - - /** - * Initialize editor. - * - * @since 4.9.0 - * @return {void} - */ - initEditor: function() { - var control = this, element, editorSettings = false; - - // Obtain editorSettings for instantiation. - if ( wp.codeEditor && ( _.isUndefined( control.params.editor_settings ) || false !== control.params.editor_settings ) ) { - - // Obtain default editor settings. - editorSettings = wp.codeEditor.defaultSettings ? _.clone( wp.codeEditor.defaultSettings ) : {}; - editorSettings.codemirror = _.extend( - {}, - editorSettings.codemirror, - { - indentUnit: 2, - tabSize: 2 - } - ); - - // Merge editor_settings param on top of defaults. - if ( _.isObject( control.params.editor_settings ) ) { - _.each( control.params.editor_settings, function( value, key ) { - if ( _.isObject( value ) ) { - editorSettings[ key ] = _.extend( - {}, - editorSettings[ key ], - value - ); - } - } ); - } - } - - element = new api.Element( control.container.find( 'textarea' ) ); - control.elements.push( element ); - element.sync( control.setting ); - element.set( control.setting() ); - - if ( editorSettings ) { - control.initSyntaxHighlightingEditor( editorSettings ); - } else { - control.initPlainTextareaEditor(); - } - }, - - /** - * Make sure editor gets focused when control is focused. - * - * @since 4.9.0 - * @param {Object} [params] - Focus params. - * @param {Function} [params.completeCallback] - Function to call when expansion is complete. - * @return {void} - */ - focus: function( params ) { - var control = this, extendedParams = _.extend( {}, params ), originalCompleteCallback; - originalCompleteCallback = extendedParams.completeCallback; - extendedParams.completeCallback = function() { - if ( originalCompleteCallback ) { - originalCompleteCallback(); - } - if ( control.editor ) { - control.editor.codemirror.focus(); - } - }; - api.Control.prototype.focus.call( control, extendedParams ); - }, - - /** - * Initialize syntax-highlighting editor. - * - * @since 4.9.0 - * @param {Object} codeEditorSettings - Code editor settings. - * @return {void} - */ - initSyntaxHighlightingEditor: function( codeEditorSettings ) { - var control = this, $textarea = control.container.find( 'textarea' ), settings, suspendEditorUpdate = false; - - settings = _.extend( {}, codeEditorSettings, { - onTabNext: _.bind( control.onTabNext, control ), - onTabPrevious: _.bind( control.onTabPrevious, control ), - onUpdateErrorNotice: _.bind( control.onUpdateErrorNotice, control ) - }); - - control.editor = wp.codeEditor.initialize( $textarea, settings ); - - // Improve the editor accessibility. - $( control.editor.codemirror.display.lineDiv ) - .attr({ - role: 'textbox', - 'aria-multiline': 'true', - 'aria-label': control.params.label, - 'aria-describedby': 'editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4' - }); - - // Focus the editor when clicking on its label. - control.container.find( 'label' ).on( 'click', function() { - control.editor.codemirror.focus(); - }); - - /* - * When the CodeMirror instance changes, mirror to the textarea, - * where we have our "true" change event handler bound. - */ - control.editor.codemirror.on( 'change', function( codemirror ) { - suspendEditorUpdate = true; - $textarea.val( codemirror.getValue() ).trigger( 'change' ); - suspendEditorUpdate = false; - }); - - // Update CodeMirror when the setting is changed by another plugin. - control.setting.bind( function( value ) { - if ( ! suspendEditorUpdate ) { - control.editor.codemirror.setValue( value ); - } - }); - - // Prevent collapsing section when hitting Esc to tab out of editor. - control.editor.codemirror.on( 'keydown', function onKeydown( codemirror, event ) { - var escKeyCode = 27; - if ( escKeyCode === event.keyCode ) { - event.stopPropagation(); - } - }); - - control.deferred.codemirror.resolveWith( control, [ control.editor.codemirror ] ); - }, - - /** - * Handle tabbing to the field after the editor. - * - * @since 4.9.0 - * @return {void} - */ - onTabNext: function onTabNext() { - var control = this, controls, controlIndex, section; - section = api.section( control.section() ); - controls = section.controls(); - controlIndex = controls.indexOf( control ); - if ( controls.length === controlIndex + 1 ) { - $( '#customize-footer-actions .collapse-sidebar' ).trigger( 'focus' ); - } else { - controls[ controlIndex + 1 ].container.find( ':focusable:first' ).focus(); - } - }, - - /** - * Handle tabbing to the field before the editor. - * - * @since 4.9.0 - * @return {void} - */ - onTabPrevious: function onTabPrevious() { - var control = this, controls, controlIndex, section; - section = api.section( control.section() ); - controls = section.controls(); - controlIndex = controls.indexOf( control ); - if ( 0 === controlIndex ) { - section.contentContainer.find( '.customize-section-title .customize-help-toggle, .customize-section-title .customize-section-description.open .section-description-close' ).last().focus(); - } else { - controls[ controlIndex - 1 ].contentContainer.find( ':focusable:first' ).focus(); - } - }, - - /** - * Update error notice. - * - * @since 4.9.0 - * @param {Array} errorAnnotations - Error annotations. - * @return {void} - */ - onUpdateErrorNotice: function onUpdateErrorNotice( errorAnnotations ) { - var control = this, message; - control.setting.notifications.remove( 'csslint_error' ); - - if ( 0 !== errorAnnotations.length ) { - if ( 1 === errorAnnotations.length ) { - message = api.l10n.customCssError.singular.replace( '%d', '1' ); - } else { - message = api.l10n.customCssError.plural.replace( '%d', String( errorAnnotations.length ) ); - } - control.setting.notifications.add( new api.Notification( 'csslint_error', { - message: message, - type: 'error' - } ) ); - } - }, - - /** - * Initialize plain-textarea editor when syntax highlighting is disabled. - * - * @since 4.9.0 - * @return {void} - */ - initPlainTextareaEditor: function() { - var control = this, $textarea = control.container.find( 'textarea' ), textarea = $textarea[0]; - - $textarea.on( 'blur', function onBlur() { - $textarea.data( 'next-tab-blurs', false ); - } ); - - $textarea.on( 'keydown', function onKeydown( event ) { - var selectionStart, selectionEnd, value, tabKeyCode = 9, escKeyCode = 27; - - if ( escKeyCode === event.keyCode ) { - if ( ! $textarea.data( 'next-tab-blurs' ) ) { - $textarea.data( 'next-tab-blurs', true ); - event.stopPropagation(); // Prevent collapsing the section. - } - return; - } - - // Short-circuit if tab key is not being pressed or if a modifier key *is* being pressed. - if ( tabKeyCode !== event.keyCode || event.ctrlKey || event.altKey || event.shiftKey ) { - return; - } - - // Prevent capturing Tab characters if Esc was pressed. - if ( $textarea.data( 'next-tab-blurs' ) ) { - return; - } - - selectionStart = textarea.selectionStart; - selectionEnd = textarea.selectionEnd; - value = textarea.value; - - if ( selectionStart >= 0 ) { - textarea.value = value.substring( 0, selectionStart ).concat( '\t', value.substring( selectionEnd ) ); - $textarea.selectionStart = textarea.selectionEnd = selectionStart + 1; - } - - event.stopPropagation(); - event.preventDefault(); - }); - - control.deferred.codemirror.rejectWith( control ); - } - }); - - /** - * Class wp.customize.DateTimeControl. - * - * @since 4.9.0 - * @class wp.customize.DateTimeControl - * @augments wp.customize.Control - */ - api.DateTimeControl = api.Control.extend(/** @lends wp.customize.DateTimeControl.prototype */{ - - /** - * Initialize behaviors. - * - * @since 4.9.0 - * @return {void} - */ - ready: function ready() { - var control = this; - - control.inputElements = {}; - control.invalidDate = false; - - _.bindAll( control, 'populateSetting', 'updateDaysForMonth', 'populateDateInputs' ); - - if ( ! control.setting ) { - throw new Error( 'Missing setting' ); - } - - control.container.find( '.date-input' ).each( function() { - var input = $( this ), component, element; - component = input.data( 'component' ); - element = new api.Element( input ); - control.inputElements[ component ] = element; - control.elements.push( element ); - - // Add invalid date error once user changes (and has blurred the input). - input.on( 'change', function() { - if ( control.invalidDate ) { - control.notifications.add( new api.Notification( 'invalid_date', { - message: api.l10n.invalidDate - } ) ); - } - } ); - - // Remove the error immediately after validity change. - input.on( 'input', _.debounce( function() { - if ( ! control.invalidDate ) { - control.notifications.remove( 'invalid_date' ); - } - } ) ); - - // Add zero-padding when blurring field. - input.on( 'blur', _.debounce( function() { - if ( ! control.invalidDate ) { - control.populateDateInputs(); - } - } ) ); - } ); - - control.inputElements.month.bind( control.updateDaysForMonth ); - control.inputElements.year.bind( control.updateDaysForMonth ); - control.populateDateInputs(); - control.setting.bind( control.populateDateInputs ); - - // Start populating setting after inputs have been populated. - _.each( control.inputElements, function( element ) { - element.bind( control.populateSetting ); - } ); - }, - - /** - * Parse datetime string. - * - * @since 4.9.0 - * - * @param {string} datetime - Date/Time string. Accepts Y-m-d[ H:i[:s]] format. - * @return {Object|null} Returns object containing date components or null if parse error. - */ - parseDateTime: function parseDateTime( datetime ) { - var control = this, matches, date, midDayHour = 12; - - if ( datetime ) { - matches = datetime.match( /^(\d\d\d\d)-(\d\d)-(\d\d)(?: (\d\d):(\d\d)(?::(\d\d))?)?$/ ); - } - - if ( ! matches ) { - return null; - } - - matches.shift(); - - date = { - year: matches.shift(), - month: matches.shift(), - day: matches.shift(), - hour: matches.shift() || '00', - minute: matches.shift() || '00', - second: matches.shift() || '00' - }; - - if ( control.params.includeTime && control.params.twelveHourFormat ) { - date.hour = parseInt( date.hour, 10 ); - date.meridian = date.hour >= midDayHour ? 'pm' : 'am'; - date.hour = date.hour % midDayHour ? String( date.hour % midDayHour ) : String( midDayHour ); - delete date.second; // @todo Why only if twelveHourFormat? - } - - return date; - }, - - /** - * Validates if input components have valid date and time. - * - * @since 4.9.0 - * @return {boolean} If date input fields has error. - */ - validateInputs: function validateInputs() { - var control = this, components, validityInput; - - control.invalidDate = false; - - components = [ 'year', 'day' ]; - if ( control.params.includeTime ) { - components.push( 'hour', 'minute' ); - } - - _.find( components, function( component ) { - var element, max, min, value; - - element = control.inputElements[ component ]; - validityInput = element.element.get( 0 ); - max = parseInt( element.element.attr( 'max' ), 10 ); - min = parseInt( element.element.attr( 'min' ), 10 ); - value = parseInt( element(), 10 ); - control.invalidDate = isNaN( value ) || value > max || value < min; - - if ( ! control.invalidDate ) { - validityInput.setCustomValidity( '' ); - } - - return control.invalidDate; - } ); - - if ( control.inputElements.meridian && ! control.invalidDate ) { - validityInput = control.inputElements.meridian.element.get( 0 ); - if ( 'am' !== control.inputElements.meridian.get() && 'pm' !== control.inputElements.meridian.get() ) { - control.invalidDate = true; - } else { - validityInput.setCustomValidity( '' ); - } - } - - if ( control.invalidDate ) { - validityInput.setCustomValidity( api.l10n.invalidValue ); - } else { - validityInput.setCustomValidity( '' ); - } - if ( ! control.section() || api.section.has( control.section() ) && api.section( control.section() ).expanded() ) { - _.result( validityInput, 'reportValidity' ); - } - - return control.invalidDate; - }, - - /** - * Updates number of days according to the month and year selected. - * - * @since 4.9.0 - * @return {void} - */ - updateDaysForMonth: function updateDaysForMonth() { - var control = this, daysInMonth, year, month, day; - - month = parseInt( control.inputElements.month(), 10 ); - year = parseInt( control.inputElements.year(), 10 ); - day = parseInt( control.inputElements.day(), 10 ); - - if ( month && year ) { - daysInMonth = new Date( year, month, 0 ).getDate(); - control.inputElements.day.element.attr( 'max', daysInMonth ); - - if ( day > daysInMonth ) { - control.inputElements.day( String( daysInMonth ) ); - } - } - }, - - /** - * Populate setting value from the inputs. - * - * @since 4.9.0 - * @return {boolean} If setting updated. - */ - populateSetting: function populateSetting() { - var control = this, date; - - if ( control.validateInputs() || ! control.params.allowPastDate && ! control.isFutureDate() ) { - return false; - } - - date = control.convertInputDateToString(); - control.setting.set( date ); - return true; - }, - - /** - * Converts input values to string in Y-m-d H:i:s format. - * - * @since 4.9.0 - * @return {string} Date string. - */ - convertInputDateToString: function convertInputDateToString() { - var control = this, date = '', dateFormat, hourInTwentyFourHourFormat, - getElementValue, pad; - - pad = function( number, padding ) { - var zeros; - if ( String( number ).length < padding ) { - zeros = padding - String( number ).length; - number = Math.pow( 10, zeros ).toString().substr( 1 ) + String( number ); - } - return number; - }; - - getElementValue = function( component ) { - var value = parseInt( control.inputElements[ component ].get(), 10 ); - - if ( _.contains( [ 'month', 'day', 'hour', 'minute' ], component ) ) { - value = pad( value, 2 ); - } else if ( 'year' === component ) { - value = pad( value, 4 ); - } - return value; - }; - - dateFormat = [ 'year', '-', 'month', '-', 'day' ]; - if ( control.params.includeTime ) { - hourInTwentyFourHourFormat = control.inputElements.meridian ? control.convertHourToTwentyFourHourFormat( control.inputElements.hour(), control.inputElements.meridian() ) : control.inputElements.hour(); - dateFormat = dateFormat.concat( [ ' ', pad( hourInTwentyFourHourFormat, 2 ), ':', 'minute', ':', '00' ] ); - } - - _.each( dateFormat, function( component ) { - date += control.inputElements[ component ] ? getElementValue( component ) : component; - } ); - - return date; - }, - - /** - * Check if the date is in the future. - * - * @since 4.9.0 - * @return {boolean} True if future date. - */ - isFutureDate: function isFutureDate() { - var control = this; - return 0 < api.utils.getRemainingTime( control.convertInputDateToString() ); - }, - - /** - * Convert hour in twelve hour format to twenty four hour format. - * - * @since 4.9.0 - * @param {string} hourInTwelveHourFormat - Hour in twelve hour format. - * @param {string} meridian - Either 'am' or 'pm'. - * @return {string} Hour in twenty four hour format. - */ - convertHourToTwentyFourHourFormat: function convertHour( hourInTwelveHourFormat, meridian ) { - var hourInTwentyFourHourFormat, hour, midDayHour = 12; - - hour = parseInt( hourInTwelveHourFormat, 10 ); - if ( isNaN( hour ) ) { - return ''; - } - - if ( 'pm' === meridian && hour < midDayHour ) { - hourInTwentyFourHourFormat = hour + midDayHour; - } else if ( 'am' === meridian && midDayHour === hour ) { - hourInTwentyFourHourFormat = hour - midDayHour; - } else { - hourInTwentyFourHourFormat = hour; - } - - return String( hourInTwentyFourHourFormat ); - }, - - /** - * Populates date inputs in date fields. - * - * @since 4.9.0 - * @return {boolean} Whether the inputs were populated. - */ - populateDateInputs: function populateDateInputs() { - var control = this, parsed; - - parsed = control.parseDateTime( control.setting.get() ); - - if ( ! parsed ) { - return false; - } - - _.each( control.inputElements, function( element, component ) { - var value = parsed[ component ]; // This will be zero-padded string. - - // Set month and meridian regardless of focused state since they are dropdowns. - if ( 'month' === component || 'meridian' === component ) { - - // Options in dropdowns are not zero-padded. - value = value.replace( /^0/, '' ); - - element.set( value ); - } else { - - value = parseInt( value, 10 ); - if ( ! element.element.is( document.activeElement ) ) { - - // Populate element with zero-padded value if not focused. - element.set( parsed[ component ] ); - } else if ( value !== parseInt( element(), 10 ) ) { - - // Forcibly update the value if its underlying value changed, regardless of zero-padding. - element.set( String( value ) ); - } - } - } ); - - return true; - }, - - /** - * Toggle future date notification for date control. - * - * @since 4.9.0 - * @param {boolean} notify Add or remove the notification. - * @return {wp.customize.DateTimeControl} - */ - toggleFutureDateNotification: function toggleFutureDateNotification( notify ) { - var control = this, notificationCode, notification; - - notificationCode = 'not_future_date'; - - if ( notify ) { - notification = new api.Notification( notificationCode, { - type: 'error', - message: api.l10n.futureDateError - } ); - control.notifications.add( notification ); - } else { - control.notifications.remove( notificationCode ); - } - - return control; - } - }); - - /** - * Class PreviewLinkControl. - * - * @since 4.9.0 - * @class wp.customize.PreviewLinkControl - * @augments wp.customize.Control - */ - api.PreviewLinkControl = api.Control.extend(/** @lends wp.customize.PreviewLinkControl.prototype */{ - - defaults: _.extend( {}, api.Control.prototype.defaults, { - templateId: 'customize-preview-link-control' - } ), - - /** - * Initialize behaviors. - * - * @since 4.9.0 - * @return {void} - */ - ready: function ready() { - var control = this, element, component, node, url, input, button; - - _.bindAll( control, 'updatePreviewLink' ); - - if ( ! control.setting ) { - control.setting = new api.Value(); - } - - control.previewElements = {}; - - control.container.find( '.preview-control-element' ).each( function() { - node = $( this ); - component = node.data( 'component' ); - element = new api.Element( node ); - control.previewElements[ component ] = element; - control.elements.push( element ); - } ); - - url = control.previewElements.url; - input = control.previewElements.input; - button = control.previewElements.button; - - input.link( control.setting ); - url.link( control.setting ); - - url.bind( function( value ) { - url.element.parent().attr( { - href: value, - target: api.settings.changeset.uuid - } ); - } ); - - api.bind( 'ready', control.updatePreviewLink ); - api.state( 'saved' ).bind( control.updatePreviewLink ); - api.state( 'changesetStatus' ).bind( control.updatePreviewLink ); - api.state( 'activated' ).bind( control.updatePreviewLink ); - api.previewer.previewUrl.bind( control.updatePreviewLink ); - - button.element.on( 'click', function( event ) { - event.preventDefault(); - if ( control.setting() ) { - input.element.select(); - document.execCommand( 'copy' ); - button( button.element.data( 'copied-text' ) ); - } - } ); - - url.element.parent().on( 'click', function( event ) { - if ( $( this ).hasClass( 'disabled' ) ) { - event.preventDefault(); - } - } ); - - button.element.on( 'mouseenter', function() { - if ( control.setting() ) { - button( button.element.data( 'copy-text' ) ); - } - } ); - }, - - /** - * Updates Preview Link - * - * @since 4.9.0 - * @return {void} - */ - updatePreviewLink: function updatePreviewLink() { - var control = this, unsavedDirtyValues; - - unsavedDirtyValues = ! api.state( 'saved' ).get() || '' === api.state( 'changesetStatus' ).get() || 'auto-draft' === api.state( 'changesetStatus' ).get(); - - control.toggleSaveNotification( unsavedDirtyValues ); - control.previewElements.url.element.parent().toggleClass( 'disabled', unsavedDirtyValues ); - control.previewElements.button.element.prop( 'disabled', unsavedDirtyValues ); - control.setting.set( api.previewer.getFrontendPreviewUrl() ); - }, - - /** - * Toggles save notification. - * - * @since 4.9.0 - * @param {boolean} notify Add or remove notification. - * @return {void} - */ - toggleSaveNotification: function toggleSaveNotification( notify ) { - var control = this, notificationCode, notification; - - notificationCode = 'changes_not_saved'; - - if ( notify ) { - notification = new api.Notification( notificationCode, { - type: 'info', - message: api.l10n.saveBeforeShare - } ); - control.notifications.add( notification ); - } else { - control.notifications.remove( notificationCode ); - } - } - }); - - /** - * Change objects contained within the main customize object to Settings. - * - * @alias wp.customize.defaultConstructor - */ - api.defaultConstructor = api.Setting; - - /** - * Callback for resolved controls. - * - * @callback wp.customize.deferredControlsCallback - * @param {wp.customize.Control[]} controls Resolved controls. - */ - - /** - * Collection of all registered controls. - * - * @alias wp.customize.control - * - * @since 3.4.0 - * - * @type {Function} - * @param {...string} ids - One or more ids for controls to obtain. - * @param {deferredControlsCallback} [callback] - Function called when all supplied controls exist. - * @return {wp.customize.Control|undefined|jQuery.promise} Control instance or undefined (if function called with one id param), - * or promise resolving to requested controls. - * - * @example Loop over all registered controls. - * wp.customize.control.each( function( control ) { ... } ); - * - * @example Getting `background_color` control instance. - * control = wp.customize.control( 'background_color' ); - * - * @example Check if control exists. - * hasControl = wp.customize.control.has( 'background_color' ); - * - * @example Deferred getting of `background_color` control until it exists, using callback. - * wp.customize.control( 'background_color', function( control ) { ... } ); - * - * @example Get title and tagline controls when they both exist, using promise (only available when multiple IDs are present). - * promise = wp.customize.control( 'blogname', 'blogdescription' ); - * promise.done( function( titleControl, taglineControl ) { ... } ); - * - * @example Get title and tagline controls when they both exist, using callback. - * wp.customize.control( 'blogname', 'blogdescription', function( titleControl, taglineControl ) { ... } ); - * - * @example Getting setting value for `background_color` control. - * value = wp.customize.control( 'background_color ').setting.get(); - * value = wp.customize( 'background_color' ).get(); // Same as above, since setting ID and control ID are the same. - * - * @example Add new control for site title. - * wp.customize.control.add( new wp.customize.Control( 'other_blogname', { - * setting: 'blogname', - * type: 'text', - * label: 'Site title', - * section: 'other_site_identify' - * } ) ); - * - * @example Remove control. - * wp.customize.control.remove( 'other_blogname' ); - * - * @example Listen for control being added. - * wp.customize.control.bind( 'add', function( addedControl ) { ... } ) - * - * @example Listen for control being removed. - * wp.customize.control.bind( 'removed', function( removedControl ) { ... } ) - */ - api.control = new api.Values({ defaultConstructor: api.Control }); - - /** - * Callback for resolved sections. - * - * @callback wp.customize.deferredSectionsCallback - * @param {wp.customize.Section[]} sections Resolved sections. - */ - - /** - * Collection of all registered sections. - * - * @alias wp.customize.section - * - * @since 3.4.0 - * - * @type {Function} - * @param {...string} ids - One or more ids for sections to obtain. - * @param {deferredSectionsCallback} [callback] - Function called when all supplied sections exist. - * @return {wp.customize.Section|undefined|jQuery.promise} Section instance or undefined (if function called with one id param), - * or promise resolving to requested sections. - * - * @example Loop over all registered sections. - * wp.customize.section.each( function( section ) { ... } ) - * - * @example Getting `title_tagline` section instance. - * section = wp.customize.section( 'title_tagline' ) - * - * @example Expand dynamically-created section when it exists. - * wp.customize.section( 'dynamically_created', function( section ) { - * section.expand(); - * } ); - * - * @see {@link wp.customize.control} for further examples of how to interact with {@link wp.customize.Values} instances. - */ - api.section = new api.Values({ defaultConstructor: api.Section }); - - /** - * Callback for resolved panels. - * - * @callback wp.customize.deferredPanelsCallback - * @param {wp.customize.Panel[]} panels Resolved panels. - */ - - /** - * Collection of all registered panels. - * - * @alias wp.customize.panel - * - * @since 4.0.0 - * - * @type {Function} - * @param {...string} ids - One or more ids for panels to obtain. - * @param {deferredPanelsCallback} [callback] - Function called when all supplied panels exist. - * @return {wp.customize.Panel|undefined|jQuery.promise} Panel instance or undefined (if function called with one id param), - * or promise resolving to requested panels. - * - * @example Loop over all registered panels. - * wp.customize.panel.each( function( panel ) { ... } ) - * - * @example Getting nav_menus panel instance. - * panel = wp.customize.panel( 'nav_menus' ); - * - * @example Expand dynamically-created panel when it exists. - * wp.customize.panel( 'dynamically_created', function( panel ) { - * panel.expand(); - * } ); - * - * @see {@link wp.customize.control} for further examples of how to interact with {@link wp.customize.Values} instances. - */ - api.panel = new api.Values({ defaultConstructor: api.Panel }); - - /** - * Callback for resolved notifications. - * - * @callback wp.customize.deferredNotificationsCallback - * @param {wp.customize.Notification[]} notifications Resolved notifications. - */ - - /** - * Collection of all global notifications. - * - * @alias wp.customize.notifications - * - * @since 4.9.0 - * - * @type {Function} - * @param {...string} codes - One or more codes for notifications to obtain. - * @param {deferredNotificationsCallback} [callback] - Function called when all supplied notifications exist. - * @return {wp.customize.Notification|undefined|jQuery.promise} Notification instance or undefined (if function called with one code param), - * or promise resolving to requested notifications. - * - * @example Check if existing notification - * exists = wp.customize.notifications.has( 'a_new_day_arrived' ); - * - * @example Obtain existing notification - * notification = wp.customize.notifications( 'a_new_day_arrived' ); - * - * @example Obtain notification that may not exist yet. - * wp.customize.notifications( 'a_new_day_arrived', function( notification ) { ... } ); - * - * @example Add a warning notification. - * wp.customize.notifications.add( new wp.customize.Notification( 'midnight_almost_here', { - * type: 'warning', - * message: 'Midnight has almost arrived!', - * dismissible: true - * } ) ); - * - * @example Remove a notification. - * wp.customize.notifications.remove( 'a_new_day_arrived' ); - * - * @see {@link wp.customize.control} for further examples of how to interact with {@link wp.customize.Values} instances. - */ - api.notifications = new api.Notifications(); - - api.PreviewFrame = api.Messenger.extend(/** @lends wp.customize.PreviewFrame.prototype */{ - sensitivity: null, // Will get set to api.settings.timeouts.previewFrameSensitivity. - - /** - * An object that fetches a preview in the background of the document, which - * allows for seamless replacement of an existing preview. - * - * @constructs wp.customize.PreviewFrame - * @augments wp.customize.Messenger - * - * @param {Object} params.container - * @param {Object} params.previewUrl - * @param {Object} params.query - * @param {Object} options - */ - initialize: function( params, options ) { - var deferred = $.Deferred(); - - /* - * Make the instance of the PreviewFrame the promise object - * so other objects can easily interact with it. - */ - deferred.promise( this ); - - this.container = params.container; - - $.extend( params, { channel: api.PreviewFrame.uuid() }); - - api.Messenger.prototype.initialize.call( this, params, options ); - - this.add( 'previewUrl', params.previewUrl ); - - this.query = $.extend( params.query || {}, { customize_messenger_channel: this.channel() }); - - this.run( deferred ); - }, - - /** - * Run the preview request. - * - * @param {Object} deferred jQuery Deferred object to be resolved with - * the request. - */ - run: function( deferred ) { - var previewFrame = this, - loaded = false, - ready = false, - readyData = null, - hasPendingChangesetUpdate = '{}' !== previewFrame.query.customized, - urlParser, - params, - form; - - if ( previewFrame._ready ) { - previewFrame.unbind( 'ready', previewFrame._ready ); - } - - previewFrame._ready = function( data ) { - ready = true; - readyData = data; - previewFrame.container.addClass( 'iframe-ready' ); - if ( ! data ) { - return; - } - - if ( loaded ) { - deferred.resolveWith( previewFrame, [ data ] ); - } - }; - - previewFrame.bind( 'ready', previewFrame._ready ); - - urlParser = document.createElement( 'a' ); - urlParser.href = previewFrame.previewUrl(); - - params = _.extend( - api.utils.parseQueryString( urlParser.search.substr( 1 ) ), - { - customize_changeset_uuid: previewFrame.query.customize_changeset_uuid, - customize_theme: previewFrame.query.customize_theme, - customize_messenger_channel: previewFrame.query.customize_messenger_channel - } - ); - if ( api.settings.changeset.autosaved || ! api.state( 'saved' ).get() ) { - params.customize_autosaved = 'on'; - } - - urlParser.search = $.param( params ); - previewFrame.iframe = $( ''; - _iframe = temp.firstChild; - container.appendChild(_iframe); - - /* _iframe.onreadystatechange = function() { - console.info(_iframe.readyState); - };*/ - - Events.addEvent(_iframe, 'load', function() { // _iframe.onload doesn't work in IE lte 8 - var el; - - try { - el = _iframe.contentWindow.document || _iframe.contentDocument || window.frames[_iframe.id].document; - - // try to detect some standard error pages - if (/^4(0[0-9]|1[0-7]|2[2346])\s/.test(el.title)) { // test if title starts with 4xx HTTP error - _status = el.title.replace(/^(\d+).*$/, '$1'); - } else { - _status = 200; - // get result - _response = Basic.trim(el.body.innerHTML); - - // we need to fire these at least once - target.trigger({ - type: 'progress', - loaded: _response.length, - total: _response.length - }); - - if (blob) { // if we were uploading a file - target.trigger({ - type: 'uploadprogress', - loaded: blob.size || 1025, - total: blob.size || 1025 - }); - } - } - } catch (ex) { - if (Url.hasSameOrigin(meta.url)) { - // if response is sent with error code, iframe in IE gets redirected to res://ieframe.dll/http_x.htm - // which obviously results to cross domain error (wtf?) - _status = 404; - } else { - cleanup.call(target, function() { - target.trigger('error'); - }); - return; - } - } - - cleanup.call(target, function() { - target.trigger('load'); - }); - }, target.uid); - } // end createIframe - - // prepare data to be sent and convert if required - if (data instanceof FormData && data.hasBlob()) { - blob = data.getBlob(); - uid = blob.uid; - input = Dom.get(uid); - form = Dom.get(uid + '_form'); - if (!form) { - throw new x.DOMException(x.DOMException.NOT_FOUND_ERR); - } - } else { - uid = Basic.guid('uid_'); - - form = document.createElement('form'); - form.setAttribute('id', uid + '_form'); - form.setAttribute('method', meta.method); - form.setAttribute('enctype', 'multipart/form-data'); - form.setAttribute('encoding', 'multipart/form-data'); - - I.getShimContainer().appendChild(form); - } - - // set upload target - form.setAttribute('target', uid + '_iframe'); - - if (data instanceof FormData) { - data.each(function(value, name) { - if (value instanceof Blob) { - if (input) { - input.setAttribute('name', name); - } - } else { - var hidden = document.createElement('input'); - - Basic.extend(hidden, { - type : 'hidden', - name : name, - value : value - }); - - // make sure that input[type="file"], if it's there, comes last - if (input) { - form.insertBefore(hidden, input); - } else { - form.appendChild(hidden); - } - } - }); - } - - // set destination url - form.setAttribute("action", meta.url); - - createIframe(); - form.submit(); - target.trigger('loadstart'); - }, - - getStatus: function() { - return _status; - }, - - getResponse: function(responseType) { - if ('json' === responseType) { - // strip off
    ..
    tags that might be enclosing the response - if (Basic.typeOf(_response) === 'string' && !!window.JSON) { - try { - return JSON.parse(_response.replace(/^\s*]*>/, '').replace(/<\/pre>\s*$/, '')); - } catch (ex) { - return null; - } - } - } else if ('document' === responseType) { - - } - return _response; - }, - - abort: function() { - var target = this; - - if (_iframe && _iframe.contentWindow) { - if (_iframe.contentWindow.stop) { // FireFox/Safari/Chrome - _iframe.contentWindow.stop(); - } else if (_iframe.contentWindow.document.execCommand) { // IE - _iframe.contentWindow.document.execCommand('Stop'); - } else { - _iframe.src = "about:blank"; - } - } - - cleanup.call(this, function() { - // target.dispatchEvent('readystatechange'); - target.dispatchEvent('abort'); - }); - } - }); - } - - return (extensions.XMLHttpRequest = XMLHttpRequest); -}); - -// Included from: src/javascript/runtime/html4/image/Image.js - -/** - * Image.js - * - * Copyright 2013, Moxiecode Systems AB - * Released under GPL License. - * - * License: http://www.plupload.com/license - * Contributing: http://www.plupload.com/contributing - */ - -/** -@class moxie/runtime/html4/image/Image -@private -*/ -define("moxie/runtime/html4/image/Image", [ - "moxie/runtime/html4/Runtime", - "moxie/runtime/html5/image/Image" -], function(extensions, Image) { - return (extensions.Image = Image); -}); - -expose(["moxie/core/utils/Basic","moxie/core/utils/Env","moxie/core/I18n","moxie/core/utils/Mime","moxie/core/utils/Dom","moxie/core/Exceptions","moxie/core/EventTarget","moxie/runtime/Runtime","moxie/runtime/RuntimeClient","moxie/file/FileInput","moxie/core/utils/Encode","moxie/file/Blob","moxie/file/File","moxie/file/FileDrop","moxie/file/FileReader","moxie/core/utils/Url","moxie/runtime/RuntimeTarget","moxie/file/FileReaderSync","moxie/xhr/FormData","moxie/xhr/XMLHttpRequest","moxie/runtime/Transporter","moxie/image/Image","moxie/core/utils/Events"]); -})(this); -/** - * o.js - * - * Copyright 2013, Moxiecode Systems AB - * Released under GPL License. - * - * License: http://www.plupload.com/license - * Contributing: http://www.plupload.com/contributing - */ - -/*global moxie:true */ - -/** -Globally exposed namespace with the most frequently used public classes and handy methods. - -@class o -@static -@private -*/ -(function(exports) { - "use strict"; - - var o = {}, inArray = exports.moxie.core.utils.Basic.inArray; - - // directly add some public classes - // (we do it dynamically here, since for custom builds we cannot know beforehand what modules were included) - (function addAlias(ns) { - var name, itemType; - for (name in ns) { - itemType = typeof(ns[name]); - if (itemType === 'object' && !~inArray(name, ['Exceptions', 'Env', 'Mime'])) { - addAlias(ns[name]); - } else if (itemType === 'function') { - o[name] = ns[name]; - } - } - })(exports.moxie); - - // add some manually - o.Env = exports.moxie.core.utils.Env; - o.Mime = exports.moxie.core.utils.Mime; - o.Exceptions = exports.moxie.core.Exceptions; - - // expose globally - exports.mOxie = o; - if (!exports.o) { - exports.o = o; - } - return o; -})(this); diff --git a/build/wp-includes/js/plupload/moxie.min.js b/build/wp-includes/js/plupload/moxie.min.js deleted file mode 100644 index 99d54b31b8..0000000000 --- a/build/wp-includes/js/plupload/moxie.min.js +++ /dev/null @@ -1 +0,0 @@ -var MXI_DEBUG=!1;!function(o,x){"use strict";var s={};function n(e,t){for(var i,n=[],r=0;rt[s]){a=1;break}}if(!i)return a;switch(i){case">":case"gt":return 0=":case"ge":return 0<=a;case"<=":case"le":return a<=0;case"==":case"=":case"eq":return 0===a;case"<>":case"!=":case"ne":return 0!==a;case"":case"<":case"lt":return a<0;default:return null}},global_event_dispatcher:"moxie.core.EventTarget.instance.dispatchEvent"};return l.OS=l.os,MXI_DEBUG&&(l.debug={runtime:!0,events:!1},l.log=function(){var e,t,i=arguments[0];"string"===n.typeOf(i)&&(i=n.sprintf.apply(this,arguments)),window&&window.console&&window.console.log?window.console.log(i):document&&((e=document.getElementById("moxie-console"))||((e=document.createElement("pre")).id="moxie-console",document.body.appendChild(e)),-1!==n.inArray(n.typeOf(i),["object","array"])?(t=i,e.appendChild(document.createTextNode(t+"\n"))):e.appendChild(document.createTextNode(i+"\n")))}),l}),e("moxie/core/I18n",["moxie/core/utils/Basic"],function(i){var t={};return{addI18n:function(e){return i.extend(t,e)},translate:function(e){return t[e]||e},_:function(e){return this.translate(e)},sprintf:function(e){var t=[].slice.call(arguments,1);return e.replace(/%[a-z]/g,function(){var e=t.shift();return"undefined"!==i.typeOf(e)?e:""})}}}),e("moxie/core/utils/Mime",["moxie/core/utils/Basic","moxie/core/I18n"],function(a,n){var e={mimes:{},extensions:{},addMimeType:function(e){for(var t,i,n=e.split(/,/),r=0;r>16&255,n=s>>8&255,s=255&s,d[l++]=64==r?String.fromCharCode(i):64==o?String.fromCharCode(i,n):String.fromCharCode(i,n,s),c>12&63,n=o>>6&63,r=63&o,c[u++]=s.charAt(o>>18&63)+s.charAt(i)+s.charAt(n)+s.charAt(r),ap.MAX_RESIZE_WIDTH||this.height>p.MAX_RESIZE_HEIGHT)throw new u.ImageError(u.ImageError.MAX_RESOLUTION_ERR);this.exec("Image","downsize",e.width,e.height,e.crop,e.preserveHeaders)}catch(e){this.trigger("error",e.code)}},crop:function(e,t,i){this.downsize(e,t,!0,i)},getAsCanvas:function(){if(l.can("create_canvas"))return this.connectRuntime(this.ruid).exec.call(this,"Image","getAsCanvas");throw new u.RuntimeError(u.RuntimeError.NOT_SUPPORTED_ERR)},getAsBlob:function(e,t){if(this.size)return this.exec("Image","getAsBlob",e||"image/jpeg",t||90);throw new u.DOMException(u.DOMException.INVALID_STATE_ERR)},getAsDataURL:function(e,t){if(this.size)return this.exec("Image","getAsDataURL",e||"image/jpeg",t||90);throw new u.DOMException(u.DOMException.INVALID_STATE_ERR)},getAsBinaryString:function(e,t){e=this.getAsDataURL(e,t);return h.atob(e.substring(e.indexOf("base64,")+7))},embed:function(r,e){var o,s=this;e=a.extend({width:this.width,height:this.height,type:this.type||"image/jpeg",quality:90},e||{});try{if(!(r=n.get(r)))throw new u.DOMException(u.DOMException.INVALID_NODE_TYPE_ERR);if(!this.size)throw new u.DOMException(u.DOMException.INVALID_STATE_ERR);this.width>p.MAX_RESIZE_WIDTH||this.height;var t=new p;return t.bind("Resize",function(){!function(e,t){var i=this;if(l.can("create_canvas")){var n=i.getAsCanvas();if(n)return r.appendChild(n),i.destroy(),void s.trigger("embedded")}if(!(n=i.getAsDataURL(e,t)))throw new u.ImageError(u.ImageError.WRONG_FORMAT);l.can("use_data_uri_of",n.length)?(r.innerHTML='',i.destroy(),s.trigger("embedded")):((t=new c).bind("TransportingComplete",function(){o=s.connectRuntime(this.result.ruid),s.bind("Embedded",function(){a.extend(o.getShimContainer().style,{top:"0px",left:"0px",width:i.width+"px",height:i.height+"px"}),o=null},999),o.exec.call(s,"ImageView","display",this.result.uid,width,height),i.destroy()}),t.transport(h.atob(n.substring(n.indexOf("base64,")+7)),e,{required_caps:{display_media:!0},runtime_order:"flash,silverlight",container:r}))}.call(this,e.type,e.quality)}),t.bind("Load",function(){t.downsize(e)}),this.meta.thumb&&this.meta.thumb.width>=e.width&&this.meta.thumb.height>=e.height?t.load(this.meta.thumb.data):t.clone(this,!1),t}catch(e){this.trigger("error",e.code)}},destroy:function(){this.ruid&&(this.getRuntime().exec.call(this,"Image","destroy"),this.disconnectRuntime()),this.unbindAll()}}),this.handleEventProps(f),this.bind("Load Resize",function(){!function(e){e=e||this.exec("Image","getInfo");this.size=e.size,this.width=e.width,this.height=e.height,this.type=e.type,this.meta=e.meta,""===this.name&&(this.name=e.name)}.call(this)},999)}return p.MAX_RESIZE_WIDTH=8192,p.MAX_RESIZE_HEIGHT=8192,p.prototype=i.instance,p}),e("moxie/runtime/html5/Runtime",["moxie/core/utils/Basic","moxie/core/Exceptions","moxie/runtime/Runtime","moxie/core/utils/Env"],function(s,e,a,u){var c={};return a.addConstructor("html5",function(e){var t,i=this,n=a.capTest,r=a.capTrue,o=s.extend({access_binary:n(window.FileReader||window.File&&window.File.getAsDataURL),access_image_binary:function(){return i.can("access_binary")&&!!c.Image},display_media:n(u.can("create_canvas")||u.can("use_data_uri_over32kb")),do_cors:n(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),drag_and_drop:n(("draggable"in(o=document.createElement("div"))||"ondragstart"in o&&"ondrop"in o)&&("IE"!==u.browser||u.verComp(u.version,9,">"))),filter_by_extension:n("Chrome"===u.browser&&u.verComp(u.version,28,">=")||"IE"===u.browser&&u.verComp(u.version,10,">=")||"Safari"===u.browser&&u.verComp(u.version,7,">=")),return_response_headers:r,return_response_type:function(e){return!("json"!==e||!window.JSON)||u.can("return_response_type",e)},return_status_code:r,report_upload_progress:n(window.XMLHttpRequest&&(new XMLHttpRequest).upload),resize_image:function(){return i.can("access_binary")&&u.can("create_canvas")},select_file:function(){return u.can("use_fileinput")&&window.File},select_folder:function(){return i.can("select_file")&&"Chrome"===u.browser&&u.verComp(u.version,21,">=")},select_multiple:function(){return i.can("select_file")&&!("Safari"===u.browser&&"Windows"===u.os||"iOS"===u.os&&u.verComp(u.osVersion,"7.0.0",">")&&u.verComp(u.osVersion,"8.0.0","<"))},send_binary_string:n(window.XMLHttpRequest&&((new XMLHttpRequest).sendAsBinary||window.Uint8Array&&window.ArrayBuffer)),send_custom_headers:n(window.XMLHttpRequest),send_multipart:function(){return!!(window.XMLHttpRequest&&(new XMLHttpRequest).upload&&window.FormData)||i.can("send_binary_string")},slice_blob:n(window.File&&(File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice)),stream_upload:function(){return i.can("slice_blob")&&i.can("send_multipart")},summon_file_dialog:function(){return i.can("select_file")&&("Firefox"===u.browser&&u.verComp(u.version,4,">=")||"Opera"===u.browser&&u.verComp(u.version,12,">=")||"IE"===u.browser&&u.verComp(u.version,10,">=")||!!~s.inArray(u.browser,["Chrome","Safari"]))},upload_filesize:r},arguments[2]);a.call(this,e,arguments[1]||"html5",o),s.extend(this,{init:function(){this.trigger("Init")},destroy:(t=this.destroy,function(){t.call(i),t=i=null})}),s.extend(this.getShim(),c)}),c}),e("moxie/core/utils/Events",["moxie/core/utils/Basic"],function(o){var s={},a="moxie_"+o.guid();function u(){this.returnValue=!1}function c(){this.cancelBubble=!0}function r(t,e,i){if(e=e.toLowerCase(),t[a]&&s[t[a]]&&s[t[a]][e]){for(var n,r=(n=s[t[a]][e]).length-1;0<=r&&(n[r].orig!==i&&n[r].key!==i||(t.removeEventListener?t.removeEventListener(e,n[r].func,!1):t.detachEvent&&t.detachEvent("on"+e,n[r].func),n[r].orig=null,n[r].func=null,n.splice(r,1),void 0===i));r--);if(n.length||delete s[t[a]][e],o.isEmptyObj(s[t[a]])){delete s[t[a]];try{delete t[a]}catch(e){t[a]=void 0}}}}return{addEvent:function(e,t,i,n){var r;t=t.toLowerCase(),e.addEventListener?e.addEventListener(t,r=i,!1):e.attachEvent&&e.attachEvent("on"+t,r=function(){var e=window.event;e.target||(e.target=e.srcElement),e.preventDefault=u,e.stopPropagation=c,i(e)}),e[a]||(e[a]=o.guid()),s.hasOwnProperty(e[a])||(s[e[a]]={}),(e=s[e[a]]).hasOwnProperty(t)||(e[t]=[]),e[t].push({func:r,orig:i,key:n})},removeEvent:r,removeAllEvents:function(i,n){i&&i[a]&&o.each(s[i[a]],function(e,t){r(i,t,n)})}}}),e("moxie/runtime/html5/file/FileInput",["moxie/runtime/html5/Runtime","moxie/file/File","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/utils/Events","moxie/core/utils/Mime","moxie/core/utils/Env"],function(e,a,u,c,l,d,m){return e.FileInput=function(){var s;u.extend(this,{init:function(e){var t,i,n,r=this,o=r.getRuntime(),e=(s=e).accept.mimes||d.extList2mimes(s.accept,o.can("filter_by_extension"));(t=o.getShimContainer()).innerHTML='",e=c.get(o.uid),u.extend(e.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),i=c.get(s.browse_button),o.can("summon_file_dialog")&&("static"===c.getStyle(i,"position")&&(i.style.position="relative"),n=parseInt(c.getStyle(i,"z-index"),10)||1,i.style.zIndex=n,t.style.zIndex=n-1,l.addEvent(i,"click",function(e){var t=c.get(o.uid);t&&!t.disabled&&t.click(),e.preventDefault()},r.uid)),n=o.can("summon_file_dialog")?i:t,l.addEvent(n,"mouseover",function(){r.trigger("mouseenter")},r.uid),l.addEvent(n,"mouseout",function(){r.trigger("mouseleave")},r.uid),l.addEvent(n,"mousedown",function(){r.trigger("mousedown")},r.uid),l.addEvent(c.get(s.container),"mouseup",function(){r.trigger("mouseup")},r.uid),e.onchange=function e(t){var i;r.files=[],u.each(this.files,function(e){var t="";if(s.directory&&"."==e.name)return!0;e.webkitRelativePath&&(t="/"+e.webkitRelativePath.replace(/^\//,"")),(e=new a(o.uid,e)).relativePath=t,r.files.push(e)}),"IE"!==m.browser&&"IEMobile"!==m.browser?this.value="":(i=this.cloneNode(!0),this.parentNode.replaceChild(i,this),i.onchange=e),r.files.length&&r.trigger("change")},r.trigger({type:"ready",async:!0})},disable:function(e){var t=this.getRuntime();(t=c.get(t.uid))&&(t.disabled=!!e)},destroy:function(){var e=this.getRuntime(),t=e.getShim(),e=e.getShimContainer();l.removeAllEvents(e,this.uid),l.removeAllEvents(s&&c.get(s.container),this.uid),l.removeAllEvents(s&&c.get(s.browse_button),this.uid),e&&(e.innerHTML=""),t.removeInstance(this.uid),s=null}})}}),e("moxie/runtime/html5/file/Blob",["moxie/runtime/html5/Runtime","moxie/file/Blob"],function(e,t){return e.Blob=function(){this.slice=function(){return new t(this.getRuntime().uid,function(t,i,n){var e;if(!window.File.prototype.slice)return(e=window.File.prototype.webkitSlice||window.File.prototype.mozSlice)?e.call(t,i,n):null;try{return t.slice(),t.slice(i,n)}catch(e){return t.slice(i,n-i)}}.apply(this,arguments))}}}),e("moxie/runtime/html5/file/FileDrop",["moxie/runtime/html5/Runtime","moxie/file/File","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/utils/Events","moxie/core/utils/Mime"],function(e,r,l,i,d,m){return e.FileDrop=function(){var t,n,o=[],s=[];function a(e){if(e.dataTransfer&&e.dataTransfer.types)return e=l.toArray(e.dataTransfer.types||[]),-1!==l.inArray("Files",e)||-1!==l.inArray("public.file-url",e)||-1!==l.inArray("application/x-moz-file",e)}function u(e,t){var i;i=e,s.length&&(i=m.getFileExtension(i.name))&&-1===l.inArray(i,s)||((i=new r(n,e)).relativePath=t||"",o.push(i))}function c(e,t){var i=[];l.each(e,function(s){i.push(function(e){{var t,n,r;(o=e,(i=s).isFile)?i.file(function(e){u(e,i.fullPath),o()},function(){o()}):i.isDirectory?(t=o,n=[],r=(e=i).createReader(),function t(i){r.readEntries(function(e){e.length?([].push.apply(n,e),t(i)):i()},i)}(function(){c(n,t)})):o()}var i,o})}),l.inSeries(i,function(){t()})}l.extend(this,{init:function(e){var r=this;t=e,n=r.ruid,s=function(e){for(var t=[],i=0;i=")&&E.verComp(E.version,7,"<"),o="Android Browser"===E.browser,s=!1;if(l=e.url.replace(/^.+?\/([\w\-\.]+)$/,"$1").toLowerCase(),(c=!window.XMLHttpRequest||"IE"===E.browser&&E.verComp(E.version,8,"<")?function(){for(var e=["Msxml2.XMLHTTP.6.0","Microsoft.XMLHTTP"],t=0;tthis.length())throw new Error("You are trying to read outside the source boundaries.");for(n=this.littleEndian?0:-8*(t-1),i=r=0;rthis.length())throw new Error("You are trying to write outside the source boundaries.");for(n=this.littleEndian?0:-8*(i-1),r=0;r>Math.abs(n+8*r)&255)},BYTE:function(e){return this.read(e,1)},SHORT:function(e){return this.read(e,2)},LONG:function(e){return this.read(e,4)},SLONG:function(e){e=this.read(e,4);return 2147483647=o.length));i++);},purge:function(){this.headers=s=[]}}}}),e("moxie/runtime/html5/image/ExifParser",["moxie/core/utils/Basic","moxie/runtime/html5/utils/BinaryReader","moxie/core/Exceptions"],function(p,o,g){function s(e){var t,l,h,f,i;if(o.call(this,e),l={tiff:{274:"Orientation",270:"ImageDescription",271:"Make",272:"Model",305:"Software",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer"},exif:{36864:"ExifVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",36867:"DateTimeOriginal",33434:"ExposureTime",33437:"FNumber",34855:"ISOSpeedRatings",37377:"ShutterSpeedValue",37378:"ApertureValue",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37386:"FocalLength",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",41988:"DigitalZoomRatio",41992:"Contrast",41993:"Saturation",41994:"Sharpness"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude"},thumb:{513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength"}},h={ColorSpace:{1:"sRGB",0:"Uncalibrated"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{1:"Daylight",2:"Fliorescent",3:"Tungsten",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 -5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},ExposureMode:{0:"Auto exposure",1:"Manual exposure",2:"Auto bracket"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},GPSLatitudeRef:{N:"North latitude",S:"South latitude"},GPSLongitudeRef:{E:"East longitude",W:"West longitude"}},n=(f={tiffHeader:10}).tiffHeader,t={clear:this.clear},p.extend(this,{read:function(){try{return s.prototype.read.apply(this,arguments)}catch(e){throw new g.ImageError(g.ImageError.INVALID_META_ERR)}},write:function(){try{return s.prototype.write.apply(this,arguments)}catch(e){throw new g.ImageError(g.ImageError.INVALID_META_ERR)}},UNDEFINED:function(){return this.BYTE.apply(this,arguments)},RATIONAL:function(e){return this.LONG(e)/this.LONG(e+4)},SRATIONAL:function(e){return this.SLONG(e)/this.SLONG(e+4)},ASCII:function(e){return this.CHAR(e)},TIFF:function(){return i||null},EXIF:function(){var e=null;if(f.exifIFD){try{e=r.call(this,f.exifIFD,l.exif)}catch(e){return null}if(e.ExifVersion&&"array"===p.typeOf(e.ExifVersion)){for(var t=0,i="";t=this.length())throw new g.ImageError(g.ImageError.INVALID_META_ERR);"ASCII"===o?u[i]=p.trim(a.STRING(r,n).replace(/\0$/,"")):(s=a.asArray(o,r,n),o=1==n?s[0]:s,h.hasOwnProperty(i)&&"object"!=typeof o?u[i]=h[i][o]:u[i]=o)}return u}n&&(f.IFD1=f.tiffHeader+n)}return s.prototype=o.prototype,s}),e("moxie/runtime/html5/image/JPEG",["moxie/core/utils/Basic","moxie/core/Exceptions","moxie/runtime/html5/image/JPEGHeaders","moxie/runtime/html5/utils/BinaryReader","moxie/runtime/html5/image/ExifParser"],function(s,a,u,c,l){return function(e){var i,n,t,r=new c(e);if(65496!==r.SHORT(0))throw new a.ImageError(a.ImageError.WRONG_FORMAT);i=new u(e);try{n=new l(i.get("app1")[0])}catch(e){}function o(e){var t,i=0;for(e=e||r;i<=e.length();){if(65472<=(t=e.SHORT(i+=2))&&t<=65475)return i+=5,{height:e.SHORT(i),width:e.SHORT(i+=2)};t=e.SHORT(i+=2),i+=t-2}return null}t=o.call(this),s.extend(this,{type:"image/jpeg",size:r.length(),width:t&&t.width||0,height:t&&t.height||0,setExif:function(e,t){if(!n)return!1;"object"===s.typeOf(e)?s.each(e,function(e,t){n.setExif(t,e)}):n.setExif(e,t),i.set("app1",n.SEGMENT())},writeHeaders:function(){return arguments.length?i.restore(arguments[0]):i.restore(e)},stripHeaders:function(e){return i.strip(e)},purge:function(){!function(){n&&i&&r&&(n.clear(),i.purge(),r.clear(),t=i=n=r=null)}.call(this)}}),n&&(this.meta={tiff:n.TIFF(),exif:n.EXIF(),gps:n.GPS(),thumb:function(){var e,t,i=n.thumb();if(i&&(e=new c(i),t=o(e),e.clear(),t))return t.data=i,t;return null}()})}}),e("moxie/runtime/html5/image/PNG",["moxie/core/Exceptions","moxie/core/utils/Basic","moxie/runtime/html5/utils/BinaryReader"],function(a,u,c){return function(e){for(var t,r=new c(e),i=0,n=0,o=[35152,20039,3338,6666],n=0;n>1;i=null;e=a/t;return 0==e?1:e}(e,r),f=0;f=")||"IE"===a.browser&&a.verComp(a.version,10,">=")||"Safari"===a.browser&&a.verComp(a.version,7,">=")),resize_image:function(){return u.Image&&i.can("access_binary")&&a.can("create_canvas")},report_upload_progress:!1,return_response_headers:!1,return_response_type:function(e){return!("json"!==e||!window.JSON)||!!~o.inArray(e,["text","document",""])},return_status_code:function(e){return!o.arrayDiff(e,[200,404])},select_file:function(){return a.can("use_fileinput")},select_multiple:!1,send_binary_string:!1,send_custom_headers:!1,send_multipart:!0,slice_blob:!1,stream_upload:function(){return i.can("select_file")},summon_file_dialog:function(){return i.can("select_file")&&("Firefox"===a.browser&&a.verComp(a.version,4,">=")||"Opera"===a.browser&&a.verComp(a.version,12,">=")||"IE"===a.browser&&a.verComp(a.version,10,">=")||!!~o.inArray(a.browser,["Chrome","Safari"]))},upload_filesize:r,use_http_method:function(e){return!o.arrayDiff(e,["GET","POST"])}}),o.extend(this,{init:function(){this.trigger("Init")},destroy:(t=this.destroy,function(){t.call(i),t=i=null})}),o.extend(this.getShim(),u)}),u}),e("moxie/runtime/html4/file/FileInput",["moxie/runtime/html4/Runtime","moxie/file/File","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/utils/Events","moxie/core/utils/Mime","moxie/core/utils/Env"],function(e,d,m,h,f,s,p){return e.FileInput=function(){var a,u,c=[];function l(){var e,t,i,n=this,r=n.getRuntime(),o=m.guid("uid_"),s=r.getShimContainer();a&&(e=h.get(a+"_form"))&&m.extend(e.style,{top:"100%"}),(t=document.createElement("form")).setAttribute("id",o+"_form"),t.setAttribute("method","post"),t.setAttribute("enctype","multipart/form-data"),t.setAttribute("encoding","multipart/form-data"),m.extend(t.style,{overflow:"hidden",position:"absolute",top:0,left:0,width:"100%",height:"100%"}),(i=document.createElement("input")).setAttribute("id",o),i.setAttribute("type","file"),i.setAttribute("name",u.name||"Filedata"),i.setAttribute("accept",c.join(",")),m.extend(i.style,{fontSize:"999px",opacity:0}),t.appendChild(i),s.appendChild(t),m.extend(i.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),"IE"===p.browser&&p.verComp(p.version,10,"<")&&m.extend(i.style,{filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"}),i.onchange=function(){var e;if(this.value){if(this.files){if(0===(e=this.files[0]).size)return void t.parentNode.removeChild(t)}else e={name:this.value};e=new d(r.uid,e),this.onchange=function(){},l.call(n),n.files=[e],i.setAttribute("id",e.uid),t.setAttribute("id",e.uid+"_form"),n.trigger("change"),i=t=null}},r.can("summon_file_dialog")&&(e=h.get(u.browse_button),f.removeEvent(e,"click",n.uid),f.addEvent(e,"click",function(e){i&&!i.disabled&&i.click(),e.preventDefault()},n.uid)),a=o}m.extend(this,{init:function(e){var t,i,n,r=this,o=r.getRuntime();c=(u=e).accept.mimes||s.extList2mimes(e.accept,o.can("filter_by_extension")),t=o.getShimContainer(),n=h.get(e.browse_button),o.can("summon_file_dialog")&&("static"===h.getStyle(n,"position")&&(n.style.position="relative"),i=parseInt(h.getStyle(n,"z-index"),10)||1,n.style.zIndex=i,t.style.zIndex=i-1),i=o.can("summon_file_dialog")?n:t,f.addEvent(i,"mouseover",function(){r.trigger("mouseenter")},r.uid),f.addEvent(i,"mouseout",function(){r.trigger("mouseleave")},r.uid),f.addEvent(i,"mousedown",function(){r.trigger("mousedown")},r.uid),f.addEvent(h.get(e.container),"mouseup",function(){r.trigger("mouseup")},r.uid),l.call(this),t=null,r.trigger({type:"ready",async:!0})},disable:function(e){var t;(t=h.get(a))&&(t.disabled=!!e)},destroy:function(){var e=this.getRuntime(),t=e.getShim(),e=e.getShimContainer();f.removeAllEvents(e,this.uid),f.removeAllEvents(u&&h.get(u.container),this.uid),f.removeAllEvents(u&&h.get(u.browse_button),this.uid),e&&(e.innerHTML=""),t.removeInstance(this.uid),a=c=u=null}})}}),e("moxie/runtime/html4/file/FileReader",["moxie/runtime/html4/Runtime","moxie/runtime/html5/file/FileReader"],function(e,t){return e.FileReader=t}),e("moxie/runtime/html4/xhr/XMLHttpRequest",["moxie/runtime/html4/Runtime","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/utils/Url","moxie/core/Exceptions","moxie/core/utils/Events","moxie/file/Blob","moxie/xhr/FormData"],function(e,m,h,f,p,g,x,E){return e.XMLHttpRequest=function(){var u,c,l;function d(t){var e,i,n,r=this,o=!1;if(l){if(e=l.id.replace(/_iframe$/,""),e=h.get(e+"_form")){for(n=(i=e.getElementsByTagName("input")).length;n--;)switch(i[n].getAttribute("type")){case"hidden":i[n].parentNode.removeChild(i[n]);break;case"file":o=!0}i=[],o||e.parentNode.removeChild(e),e=null}setTimeout(function(){g.removeEvent(l,"load",r.uid),l.parentNode&&l.parentNode.removeChild(l);var e=r.getRuntime().getShimContainer();e.children.length||e.parentNode.removeChild(e),e=l=null,t()},1)}}m.extend(this,{send:function(t,e){var i,n,r,o,s=this,a=s.getRuntime();if(u=c=null,e instanceof E&&e.hasBlob()){if(o=e.getBlob(),i=o.uid,r=h.get(i),!(n=h.get(i+"_form")))throw new p.DOMException(p.DOMException.NOT_FOUND_ERR)}else i=m.guid("uid_"),(n=document.createElement("form")).setAttribute("id",i+"_form"),n.setAttribute("method",t.method),n.setAttribute("enctype","multipart/form-data"),n.setAttribute("encoding","multipart/form-data"),a.getShimContainer().appendChild(n);n.setAttribute("target",i+"_iframe"),e instanceof E&&e.each(function(e,t){var i;e instanceof x?r&&r.setAttribute("name",t):(i=document.createElement("input"),m.extend(i,{type:"hidden",name:t,value:e}),r?n.insertBefore(i,r):n.appendChild(i))}),n.setAttribute("action",t.url),e=a.getShimContainer()||document.body,(a=document.createElement("div")).innerHTML='',l=a.firstChild,e.appendChild(l),g.addEvent(l,"load",function(){var e;try{e=l.contentWindow.document||l.contentDocument||window.frames[l.id].document,/^4(0[0-9]|1[0-7]|2[2346])\s/.test(e.title)?u=e.title.replace(/^(\d+).*$/,"$1"):(u=200,c=m.trim(e.body.innerHTML),s.trigger({type:"progress",loaded:c.length,total:c.length}),o&&s.trigger({type:"uploadprogress",loaded:o.size||1025,total:o.size||1025}))}catch(e){if(!f.hasSameOrigin(t.url))return void d.call(s,function(){s.trigger("error")});u=404}d.call(s,function(){s.trigger("load")})},s.uid),n.submit(),s.trigger("loadstart")},getStatus:function(){return u},getResponse:function(e){if("json"===e&&"string"===m.typeOf(c)&&window.JSON)try{return JSON.parse(c.replace(/^\s*]*>/,"").replace(/<\/pre>\s*$/,""))}catch(e){return null}return c},abort:function(){var e=this;l&&l.contentWindow&&(l.contentWindow.stop?l.contentWindow.stop():l.contentWindow.document.execCommand?l.contentWindow.document.execCommand("Stop"):l.src="about:blank"),d.call(this,function(){e.dispatchEvent("abort")})}})}}),e("moxie/runtime/html4/image/Image",["moxie/runtime/html4/Runtime","moxie/runtime/html5/image/Image"],function(e,t){return e.Image=t});for(var t=["moxie/core/utils/Basic","moxie/core/utils/Env","moxie/core/I18n","moxie/core/utils/Mime","moxie/core/utils/Dom","moxie/core/Exceptions","moxie/core/EventTarget","moxie/runtime/Runtime","moxie/runtime/RuntimeClient","moxie/file/FileInput","moxie/core/utils/Encode","moxie/file/Blob","moxie/file/File","moxie/file/FileDrop","moxie/file/FileReader","moxie/core/utils/Url","moxie/runtime/RuntimeTarget","moxie/file/FileReaderSync","moxie/xhr/FormData","moxie/xhr/XMLHttpRequest","moxie/runtime/Transporter","moxie/image/Image","moxie/core/utils/Events"],i=0;i 0) { - caps.slice_blob = true; - } - - if (settings.resize.enabled || !settings.multipart) { - caps.send_binary_string = true; - } - - plupload.each(settings, function(value, feature) { - resolve(feature, !!value, true); // strict check - }); - } - - // WP: only html runtimes. - settings.runtimes = 'html5,html4'; - - return caps; -} - -/** - * @module plupload - * @static - */ -var plupload = { - /** - * Plupload version will be replaced on build. - * - * @property VERSION - * @for Plupload - * @static - * @final - */ - VERSION : '2.1.9', - - /** - * The state of the queue before it has started and after it has finished - * - * @property STOPPED - * @static - * @final - */ - STOPPED : 1, - - /** - * Upload process is running - * - * @property STARTED - * @static - * @final - */ - STARTED : 2, - - /** - * File is queued for upload - * - * @property QUEUED - * @static - * @final - */ - QUEUED : 1, - - /** - * File is being uploaded - * - * @property UPLOADING - * @static - * @final - */ - UPLOADING : 2, - - /** - * File has failed to be uploaded - * - * @property FAILED - * @static - * @final - */ - FAILED : 4, - - /** - * File has been uploaded successfully - * - * @property DONE - * @static - * @final - */ - DONE : 5, - - // Error constants used by the Error event - - /** - * Generic error for example if an exception is thrown inside Silverlight. - * - * @property GENERIC_ERROR - * @static - * @final - */ - GENERIC_ERROR : -100, - - /** - * HTTP transport error. For example if the server produces a HTTP status other than 200. - * - * @property HTTP_ERROR - * @static - * @final - */ - HTTP_ERROR : -200, - - /** - * Generic I/O error. For example if it wasn't possible to open the file stream on local machine. - * - * @property IO_ERROR - * @static - * @final - */ - IO_ERROR : -300, - - /** - * @property SECURITY_ERROR - * @static - * @final - */ - SECURITY_ERROR : -400, - - /** - * Initialization error. Will be triggered if no runtime was initialized. - * - * @property INIT_ERROR - * @static - * @final - */ - INIT_ERROR : -500, - - /** - * File size error. If the user selects a file that is too large it will be blocked and an error of this type will be triggered. - * - * @property FILE_SIZE_ERROR - * @static - * @final - */ - FILE_SIZE_ERROR : -600, - - /** - * File extension error. If the user selects a file that isn't valid according to the filters setting. - * - * @property FILE_EXTENSION_ERROR - * @static - * @final - */ - FILE_EXTENSION_ERROR : -601, - - /** - * Duplicate file error. If prevent_duplicates is set to true and user selects the same file again. - * - * @property FILE_DUPLICATE_ERROR - * @static - * @final - */ - FILE_DUPLICATE_ERROR : -602, - - /** - * Runtime will try to detect if image is proper one. Otherwise will throw this error. - * - * @property IMAGE_FORMAT_ERROR - * @static - * @final - */ - IMAGE_FORMAT_ERROR : -700, - - /** - * While working on files runtime may run out of memory and will throw this error. - * - * @since 2.1.2 - * @property MEMORY_ERROR - * @static - * @final - */ - MEMORY_ERROR : -701, - - /** - * Each runtime has an upper limit on a dimension of the image it can handle. If bigger, will throw this error. - * - * @property IMAGE_DIMENSIONS_ERROR - * @static - * @final - */ - IMAGE_DIMENSIONS_ERROR : -702, - - /** - * Mime type lookup table. - * - * @property mimeTypes - * @type Object - * @final - */ - mimeTypes : o.mimes, - - /** - * In some cases sniffing is the only way around :( - */ - ua: o.ua, - - /** - * Gets the true type of the built-in object (better version of typeof). - * @credits Angus Croll (http://javascriptweblog.wordpress.com/) - * - * @method typeOf - * @static - * @param {Object} o Object to check. - * @return {String} Object [[Class]] - */ - typeOf: o.typeOf, - - /** - * Extends the specified object with another object. - * - * @method extend - * @static - * @param {Object} target Object to extend. - * @param {Object..} obj Multiple objects to extend with. - * @return {Object} Same as target, the extended object. - */ - extend : o.extend, - - /** - * Generates an unique ID. This is 99.99% unique since it takes the current time and 5 random numbers. - * The only way a user would be able to get the same ID is if the two persons at the same exact millisecond manages - * to get 5 the same random numbers between 0-65535 it also uses a counter so each call will be guaranteed to be page unique. - * It's more probable for the earth to be hit with an asteriod. You can also if you want to be 100% sure set the plupload.guidPrefix property - * to an user unique key. - * - * @method guid - * @static - * @return {String} Virtually unique id. - */ - guid : o.guid, - - /** - * Get array of DOM Elements by their ids. - * - * @method get - * @param {String} id Identifier of the DOM Element - * @return {Array} - */ - getAll : function get(ids) { - var els = [], el; - - if (plupload.typeOf(ids) !== 'array') { - ids = [ids]; - } - - var i = ids.length; - while (i--) { - el = plupload.get(ids[i]); - if (el) { - els.push(el); - } - } - - return els.length ? els : null; - }, - - /** - Get DOM element by id - - @method get - @param {String} id Identifier of the DOM Element - @return {Node} - */ - get: o.get, - - /** - * Executes the callback function for each item in array/object. If you return false in the - * callback it will break the loop. - * - * @method each - * @static - * @param {Object} obj Object to iterate. - * @param {function} callback Callback function to execute for each item. - */ - each : o.each, - - /** - * Returns the absolute x, y position of an Element. The position will be returned in a object with x, y fields. - * - * @method getPos - * @static - * @param {Element} node HTML element or element id to get x, y position from. - * @param {Element} root Optional root element to stop calculations at. - * @return {object} Absolute position of the specified element object with x, y fields. - */ - getPos : o.getPos, - - /** - * Returns the size of the specified node in pixels. - * - * @method getSize - * @static - * @param {Node} node Node to get the size of. - * @return {Object} Object with a w and h property. - */ - getSize : o.getSize, - - /** - * Encodes the specified string. - * - * @method xmlEncode - * @static - * @param {String} s String to encode. - * @return {String} Encoded string. - */ - xmlEncode : function(str) { - var xmlEncodeChars = {'<' : 'lt', '>' : 'gt', '&' : 'amp', '"' : 'quot', '\'' : '#39'}, xmlEncodeRegExp = /[<>&\"\']/g; - - return str ? ('' + str).replace(xmlEncodeRegExp, function(chr) { - return xmlEncodeChars[chr] ? '&' + xmlEncodeChars[chr] + ';' : chr; - }) : str; - }, - - /** - * Forces anything into an array. - * - * @method toArray - * @static - * @param {Object} obj Object with length field. - * @return {Array} Array object containing all items. - */ - toArray : o.toArray, - - /** - * Find an element in array and return its index if present, otherwise return -1. - * - * @method inArray - * @static - * @param {mixed} needle Element to find - * @param {Array} array - * @return {Int} Index of the element, or -1 if not found - */ - inArray : o.inArray, - - /** - * Extends the language pack object with new items. - * - * @method addI18n - * @static - * @param {Object} pack Language pack items to add. - * @return {Object} Extended language pack object. - */ - addI18n : o.addI18n, - - /** - * Translates the specified string by checking for the english string in the language pack lookup. - * - * @method translate - * @static - * @param {String} str String to look for. - * @return {String} Translated string or the input string if it wasn't found. - */ - translate : o.translate, - - /** - * Checks if object is empty. - * - * @method isEmptyObj - * @static - * @param {Object} obj Object to check. - * @return {Boolean} - */ - isEmptyObj : o.isEmptyObj, - - /** - * Checks if specified DOM element has specified class. - * - * @method hasClass - * @static - * @param {Object} obj DOM element like object to add handler to. - * @param {String} name Class name - */ - hasClass : o.hasClass, - - /** - * Adds specified className to specified DOM element. - * - * @method addClass - * @static - * @param {Object} obj DOM element like object to add handler to. - * @param {String} name Class name - */ - addClass : o.addClass, - - /** - * Removes specified className from specified DOM element. - * - * @method removeClass - * @static - * @param {Object} obj DOM element like object to add handler to. - * @param {String} name Class name - */ - removeClass : o.removeClass, - - /** - * Returns a given computed style of a DOM element. - * - * @method getStyle - * @static - * @param {Object} obj DOM element like object. - * @param {String} name Style you want to get from the DOM element - */ - getStyle : o.getStyle, - - /** - * Adds an event handler to the specified object and store reference to the handler - * in objects internal Plupload registry (@see removeEvent). - * - * @method addEvent - * @static - * @param {Object} obj DOM element like object to add handler to. - * @param {String} name Name to add event listener to. - * @param {Function} callback Function to call when event occurs. - * @param {String} (optional) key that might be used to add specifity to the event record. - */ - addEvent : o.addEvent, - - /** - * Remove event handler from the specified object. If third argument (callback) - * is not specified remove all events with the specified name. - * - * @method removeEvent - * @static - * @param {Object} obj DOM element to remove event listener(s) from. - * @param {String} name Name of event listener to remove. - * @param {Function|String} (optional) might be a callback or unique key to match. - */ - removeEvent: o.removeEvent, - - /** - * Remove all kind of events from the specified object - * - * @method removeAllEvents - * @static - * @param {Object} obj DOM element to remove event listeners from. - * @param {String} (optional) unique key to match, when removing events. - */ - removeAllEvents: o.removeAllEvents, - - /** - * Cleans the specified name from national characters (diacritics). The result will be a name with only a-z, 0-9 and _. - * - * @method cleanName - * @static - * @param {String} s String to clean up. - * @return {String} Cleaned string. - */ - cleanName : function(name) { - var i, lookup; - - // Replace diacritics - lookup = [ - /[\300-\306]/g, 'A', /[\340-\346]/g, 'a', - /\307/g, 'C', /\347/g, 'c', - /[\310-\313]/g, 'E', /[\350-\353]/g, 'e', - /[\314-\317]/g, 'I', /[\354-\357]/g, 'i', - /\321/g, 'N', /\361/g, 'n', - /[\322-\330]/g, 'O', /[\362-\370]/g, 'o', - /[\331-\334]/g, 'U', /[\371-\374]/g, 'u' - ]; - - for (i = 0; i < lookup.length; i += 2) { - name = name.replace(lookup[i], lookup[i + 1]); - } - - // Replace whitespace - name = name.replace(/\s+/g, '_'); - - // Remove anything else - name = name.replace(/[^a-z0-9_\-\.]+/gi, ''); - - return name; - }, - - /** - * Builds a full url out of a base URL and an object with items to append as query string items. - * - * @method buildUrl - * @static - * @param {String} url Base URL to append query string items to. - * @param {Object} items Name/value object to serialize as a querystring. - * @return {String} String with url + serialized query string items. - */ - buildUrl : function(url, items) { - var query = ''; - - plupload.each(items, function(value, name) { - query += (query ? '&' : '') + encodeURIComponent(name) + '=' + encodeURIComponent(value); - }); - - if (query) { - url += (url.indexOf('?') > 0 ? '&' : '?') + query; - } - - return url; - }, - - /** - * Formats the specified number as a size string for example 1024 becomes 1 KB. - * - * @method formatSize - * @static - * @param {Number} size Size to format as string. - * @return {String} Formatted size string. - */ - formatSize : function(size) { - - if (size === undef || /\D/.test(size)) { - return plupload.translate('N/A'); - } - - function round(num, precision) { - return Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision); - } - - var boundary = Math.pow(1024, 4); - - // TB - if (size > boundary) { - return round(size / boundary, 1) + " " + plupload.translate('tb'); - } - - // GB - if (size > (boundary/=1024)) { - return round(size / boundary, 1) + " " + plupload.translate('gb'); - } - - // MB - if (size > (boundary/=1024)) { - return round(size / boundary, 1) + " " + plupload.translate('mb'); - } - - // KB - if (size > 1024) { - return Math.round(size / 1024) + " " + plupload.translate('kb'); - } - - return size + " " + plupload.translate('b'); - }, - - - /** - * Parses the specified size string into a byte value. For example 10kb becomes 10240. - * - * @method parseSize - * @static - * @param {String|Number} size String to parse or number to just pass through. - * @return {Number} Size in bytes. - */ - parseSize : o.parseSizeStr, - - - /** - * A way to predict what runtime will be choosen in the current environment with the - * specified settings. - * - * @method predictRuntime - * @static - * @param {Object|String} config Plupload settings to check - * @param {String} [runtimes] Comma-separated list of runtimes to check against - * @return {String} Type of compatible runtime - */ - predictRuntime : function(config, runtimes) { - var up, runtime; - - up = new plupload.Uploader(config); - runtime = o.Runtime.thatCan(up.getOption().required_features, runtimes || config.runtimes); - up.destroy(); - return runtime; - }, - - /** - * Registers a filter that will be executed for each file added to the queue. - * If callback returns false, file will not be added. - * - * Callback receives two arguments: a value for the filter as it was specified in settings.filters - * and a file to be filtered. Callback is executed in the context of uploader instance. - * - * @method addFileFilter - * @static - * @param {String} name Name of the filter by which it can be referenced in settings.filters - * @param {String} cb Callback - the actual routine that every added file must pass - */ - addFileFilter: function(name, cb) { - fileFilters[name] = cb; - } -}; - - -plupload.addFileFilter('mime_types', function(filters, file, cb) { - if (filters.length && !filters.regexp.test(file.name)) { - this.trigger('Error', { - code : plupload.FILE_EXTENSION_ERROR, - message : plupload.translate('File extension error.'), - file : file - }); - cb(false); - } else { - cb(true); - } -}); - - -plupload.addFileFilter('max_file_size', function(maxSize, file, cb) { - var undef; - - maxSize = plupload.parseSize(maxSize); - - // Invalid file size - if (file.size !== undef && maxSize && file.size > maxSize) { - this.trigger('Error', { - code : plupload.FILE_SIZE_ERROR, - message : plupload.translate('File size error.'), - file : file - }); - cb(false); - } else { - cb(true); - } -}); - - -plupload.addFileFilter('prevent_duplicates', function(value, file, cb) { - if (value) { - var ii = this.files.length; - while (ii--) { - // Compare by name and size (size might be 0 or undefined, but still equivalent for both) - if (file.name === this.files[ii].name && file.size === this.files[ii].size) { - this.trigger('Error', { - code : plupload.FILE_DUPLICATE_ERROR, - message : plupload.translate('Duplicate file error.'), - file : file - }); - cb(false); - return; - } - } - } - cb(true); -}); - - -/** -@class Uploader -@constructor - -@param {Object} settings For detailed information about each option check documentation. - @param {String|DOMElement} settings.browse_button id of the DOM element or DOM element itself to use as file dialog trigger. - @param {String} settings.url URL of the server-side upload handler. - @param {Number|String} [settings.chunk_size=0] Chunk size in bytes to slice the file into. Shorcuts with b, kb, mb, gb, tb suffixes also supported. `e.g. 204800 or "204800b" or "200kb"`. By default - disabled. - @param {Boolean} [settings.send_chunk_number=true] Whether to send chunks and chunk numbers, or total and offset bytes. - @param {String|DOMElement} [settings.container] id of the DOM element or DOM element itself that will be used to wrap uploader structures. Defaults to immediate parent of the `browse_button` element. - @param {String|DOMElement} [settings.drop_element] id of the DOM element or DOM element itself to use as a drop zone for Drag-n-Drop. - @param {String} [settings.file_data_name="file"] Name for the file field in Multipart formated message. - @param {Object} [settings.filters={}] Set of file type filters. - @param {Array} [settings.filters.mime_types=[]] List of file types to accept, each one defined by title and list of extensions. `e.g. {title : "Image files", extensions : "jpg,jpeg,gif,png"}`. Dispatches `plupload.FILE_EXTENSION_ERROR` - @param {String|Number} [settings.filters.max_file_size=0] Maximum file size that the user can pick, in bytes. Optionally supports b, kb, mb, gb, tb suffixes. `e.g. "10mb" or "1gb"`. By default - not set. Dispatches `plupload.FILE_SIZE_ERROR`. - @param {Boolean} [settings.filters.prevent_duplicates=false] Do not let duplicates into the queue. Dispatches `plupload.FILE_DUPLICATE_ERROR`. - @param {String} [settings.flash_swf_url] URL of the Flash swf. (Not used in WordPress) - @param {Object} [settings.headers] Custom headers to send with the upload. Hash of name/value pairs. - @param {Number} [settings.max_retries=0] How many times to retry the chunk or file, before triggering Error event. - @param {Boolean} [settings.multipart=true] Whether to send file and additional parameters as Multipart formated message. - @param {Object} [settings.multipart_params] Hash of key/value pairs to send with every file upload. - @param {Boolean} [settings.multi_selection=true] Enable ability to select multiple files at once in file dialog. - @param {String|Object} [settings.required_features] Either comma-separated list or hash of required features that chosen runtime should absolutely possess. - @param {Object} [settings.resize] Enable resizng of images on client-side. Applies to `image/jpeg` and `image/png` only. `e.g. {width : 200, height : 200, quality : 90, crop: true}` - @param {Number} [settings.resize.width] If image is bigger, it will be resized. - @param {Number} [settings.resize.height] If image is bigger, it will be resized. - @param {Number} [settings.resize.quality=90] Compression quality for jpegs (1-100). - @param {Boolean} [settings.resize.crop=false] Whether to crop images to exact dimensions. By default they will be resized proportionally. - @param {String} [settings.runtimes="html5,html4"] Comma separated list of runtimes, that Plupload will try in turn, moving to the next if previous fails. - @param {String} [settings.silverlight_xap_url] URL of the Silverlight xap. (Not used in WordPress) - @param {Boolean} [settings.unique_names=false] If true will generate unique filenames for uploaded files. - @param {Boolean} [settings.send_file_name=true] Whether to send file name as additional argument - 'name' (required for chunked uploads and some other cases where file name cannot be sent via normal ways). -*/ -plupload.Uploader = function(options) { - /** - Fires when the current RunTime has been initialized. - - @event Init - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - - /** - Fires after the init event incase you need to perform actions there. - - @event PostInit - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - - /** - Fires when the option is changed in via uploader.setOption(). - - @event OptionChanged - @since 2.1 - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {String} name Name of the option that was changed - @param {Mixed} value New value for the specified option - @param {Mixed} oldValue Previous value of the option - */ - - /** - Fires when the silverlight/flash or other shim needs to move. - - @event Refresh - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - - /** - Fires when the overall state is being changed for the upload queue. - - @event StateChanged - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - - /** - Fires when browse_button is clicked and browse dialog shows. - - @event Browse - @since 2.1.2 - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - - /** - Fires for every filtered file before it is added to the queue. - - @event FileFiltered - @since 2.1 - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {plupload.File} file Another file that has to be added to the queue. - */ - - /** - Fires when the file queue is changed. In other words when files are added/removed to the files array of the uploader instance. - - @event QueueChanged - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - - /** - Fires after files were filtered and added to the queue. - - @event FilesAdded - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {Array} files Array of file objects that were added to queue by the user. - */ - - /** - Fires when file is removed from the queue. - - @event FilesRemoved - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {Array} files Array of files that got removed. - */ - - /** - Fires just before a file is uploaded. Can be used to cancel the upload for the specified file - by returning false from the handler. - - @event BeforeUpload - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {plupload.File} file File to be uploaded. - */ - - /** - Fires when a file is to be uploaded by the runtime. - - @event UploadFile - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {plupload.File} file File to be uploaded. - */ - - /** - Fires while a file is being uploaded. Use this event to update the current file upload progress. - - @event UploadProgress - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {plupload.File} file File that is currently being uploaded. - */ - - /** - Fires when file chunk is uploaded. - - @event ChunkUploaded - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {plupload.File} file File that the chunk was uploaded for. - @param {Object} result Object with response properties. - @param {Number} result.offset The amount of bytes the server has received so far, including this chunk. - @param {Number} result.total The size of the file. - @param {String} result.response The response body sent by the server. - @param {Number} result.status The HTTP status code sent by the server. - @param {String} result.responseHeaders All the response headers as a single string. - */ - - /** - Fires when a file is successfully uploaded. - - @event FileUploaded - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {plupload.File} file File that was uploaded. - @param {Object} result Object with response properties. - @param {String} result.response The response body sent by the server. - @param {Number} result.status The HTTP status code sent by the server. - @param {String} result.responseHeaders All the response headers as a single string. - */ - - /** - Fires when all files in a queue are uploaded. - - @event UploadComplete - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {Array} files Array of file objects that was added to queue/selected by the user. - */ - - /** - Fires when a error occurs. - - @event Error - @param {plupload.Uploader} uploader Uploader instance sending the event. - @param {Object} error Contains code, message and sometimes file and other details. - @param {Number} error.code The plupload error code. - @param {String} error.message Description of the error (uses i18n). - */ - - /** - Fires when destroy method is called. - - @event Destroy - @param {plupload.Uploader} uploader Uploader instance sending the event. - */ - var uid = plupload.guid() - , settings - , files = [] - , preferred_caps = {} - , fileInputs = [] - , fileDrops = [] - , startTime - , total - , disabled = false - , xhr - ; - - - // Private methods - function uploadNext() { - var file, count = 0, i; - - if (this.state == plupload.STARTED) { - // Find first QUEUED file - for (i = 0; i < files.length; i++) { - if (!file && files[i].status == plupload.QUEUED) { - file = files[i]; - if (this.trigger("BeforeUpload", file)) { - file.status = plupload.UPLOADING; - this.trigger("UploadFile", file); - } - } else { - count++; - } - } - - // All files are DONE or FAILED - if (count == files.length) { - if (this.state !== plupload.STOPPED) { - this.state = plupload.STOPPED; - this.trigger("StateChanged"); - } - this.trigger("UploadComplete", files); - } - } - } - - - function calcFile(file) { - file.percent = file.size > 0 ? Math.ceil(file.loaded / file.size * 100) : 100; - calc(); - } - - - function calc() { - var i, file; - - // Reset stats - total.reset(); - - // Check status, size, loaded etc on all files - for (i = 0; i < files.length; i++) { - file = files[i]; - - if (file.size !== undef) { - // We calculate totals based on original file size - total.size += file.origSize; - - // Since we cannot predict file size after resize, we do opposite and - // interpolate loaded amount to match magnitude of total - total.loaded += file.loaded * file.origSize / file.size; - } else { - total.size = undef; - } - - if (file.status == plupload.DONE) { - total.uploaded++; - } else if (file.status == plupload.FAILED) { - total.failed++; - } else { - total.queued++; - } - } - - // If we couldn't calculate a total file size then use the number of files to calc percent - if (total.size === undef) { - total.percent = files.length > 0 ? Math.ceil(total.uploaded / files.length * 100) : 0; - } else { - total.bytesPerSec = Math.ceil(total.loaded / ((+new Date() - startTime || 1) / 1000.0)); - total.percent = total.size > 0 ? Math.ceil(total.loaded / total.size * 100) : 0; - } - } - - - function getRUID() { - var ctrl = fileInputs[0] || fileDrops[0]; - if (ctrl) { - return ctrl.getRuntime().uid; - } - return false; - } - - - function runtimeCan(file, cap) { - if (file.ruid) { - var info = o.Runtime.getInfo(file.ruid); - if (info) { - return info.can(cap); - } - } - return false; - } - - - function bindEventListeners() { - this.bind('FilesAdded FilesRemoved', function(up) { - up.trigger('QueueChanged'); - up.refresh(); - }); - - this.bind('CancelUpload', onCancelUpload); - - this.bind('BeforeUpload', onBeforeUpload); - - this.bind('UploadFile', onUploadFile); - - this.bind('UploadProgress', onUploadProgress); - - this.bind('StateChanged', onStateChanged); - - this.bind('QueueChanged', calc); - - this.bind('Error', onError); - - this.bind('FileUploaded', onFileUploaded); - - this.bind('Destroy', onDestroy); - } - - - function initControls(settings, cb) { - var self = this, inited = 0, queue = []; - - // common settings - var options = { - runtime_order: settings.runtimes, - required_caps: settings.required_features, - preferred_caps: preferred_caps - }; - - // add runtime specific options if any - plupload.each(settings.runtimes.split(/\s*,\s*/), function(runtime) { - if (settings[runtime]) { - options[runtime] = settings[runtime]; - } - }); - - // initialize file pickers - there can be many - if (settings.browse_button) { - plupload.each(settings.browse_button, function(el) { - queue.push(function(cb) { - var fileInput = new o.FileInput(plupload.extend({}, options, { - accept: settings.filters.mime_types, - name: settings.file_data_name, - multiple: settings.multi_selection, - container: settings.container, - browse_button: el - })); - - fileInput.onready = function() { - var info = o.Runtime.getInfo(this.ruid); - - // for backward compatibility - o.extend(self.features, { - chunks: info.can('slice_blob'), - multipart: info.can('send_multipart'), - multi_selection: info.can('select_multiple') - }); - - inited++; - fileInputs.push(this); - cb(); - }; - - fileInput.onchange = function() { - self.addFile(this.files); - }; - - fileInput.bind('mouseenter mouseleave mousedown mouseup', function(e) { - if (!disabled) { - if (settings.browse_button_hover) { - if ('mouseenter' === e.type) { - o.addClass(el, settings.browse_button_hover); - } else if ('mouseleave' === e.type) { - o.removeClass(el, settings.browse_button_hover); - } - } - - if (settings.browse_button_active) { - if ('mousedown' === e.type) { - o.addClass(el, settings.browse_button_active); - } else if ('mouseup' === e.type) { - o.removeClass(el, settings.browse_button_active); - } - } - } - }); - - fileInput.bind('mousedown', function() { - self.trigger('Browse'); - }); - - fileInput.bind('error runtimeerror', function() { - fileInput = null; - cb(); - }); - - fileInput.init(); - }); - }); - } - - // initialize drop zones - if (settings.drop_element) { - plupload.each(settings.drop_element, function(el) { - queue.push(function(cb) { - var fileDrop = new o.FileDrop(plupload.extend({}, options, { - drop_zone: el - })); - - fileDrop.onready = function() { - var info = o.Runtime.getInfo(this.ruid); - - // for backward compatibility - o.extend(self.features, { - chunks: info.can('slice_blob'), - multipart: info.can('send_multipart'), - dragdrop: info.can('drag_and_drop') - }); - - inited++; - fileDrops.push(this); - cb(); - }; - - fileDrop.ondrop = function() { - self.addFile(this.files); - }; - - fileDrop.bind('error runtimeerror', function() { - fileDrop = null; - cb(); - }); - - fileDrop.init(); - }); - }); - } - - - o.inSeries(queue, function() { - if (typeof(cb) === 'function') { - cb(inited); - } - }); - } - - - function resizeImage(blob, params, cb) { - var img = new o.Image(); - - try { - img.onload = function() { - // no manipulation required if... - if (params.width > this.width && - params.height > this.height && - params.quality === undef && - params.preserve_headers && - !params.crop - ) { - this.destroy(); - return cb(blob); - } - // otherwise downsize - img.downsize(params.width, params.height, params.crop, params.preserve_headers); - }; - - img.onresize = function() { - cb(this.getAsBlob(blob.type, params.quality)); - this.destroy(); - }; - - img.onerror = function() { - cb(blob); - }; - - img.load(blob); - } catch(ex) { - cb(blob); - } - } - - - function setOption(option, value, init) { - var self = this, reinitRequired = false; - - function _setOption(option, value, init) { - var oldValue = settings[option]; - - switch (option) { - case 'max_file_size': - if (option === 'max_file_size') { - settings.max_file_size = settings.filters.max_file_size = value; - } - break; - - case 'chunk_size': - if (value = plupload.parseSize(value)) { - settings[option] = value; - settings.send_file_name = true; - } - break; - - case 'multipart': - settings[option] = value; - if (!value) { - settings.send_file_name = true; - } - break; - - case 'unique_names': - settings[option] = value; - if (value) { - settings.send_file_name = true; - } - break; - - case 'filters': - // for sake of backward compatibility - if (plupload.typeOf(value) === 'array') { - value = { - mime_types: value - }; - } - - if (init) { - plupload.extend(settings.filters, value); - } else { - settings.filters = value; - } - - // if file format filters are being updated, regenerate the matching expressions - if (value.mime_types) { - settings.filters.mime_types.regexp = (function(filters) { - var extensionsRegExp = []; - - plupload.each(filters, function(filter) { - plupload.each(filter.extensions.split(/,/), function(ext) { - if (/^\s*\*\s*$/.test(ext)) { - extensionsRegExp.push('\\.*'); - } else { - extensionsRegExp.push('\\.' + ext.replace(new RegExp('[' + ('/^$.*+?|()[]{}\\'.replace(/./g, '\\$&')) + ']', 'g'), '\\$&')); - } - }); - }); - - return new RegExp('(' + extensionsRegExp.join('|') + ')$', 'i'); - }(settings.filters.mime_types)); - } - break; - - case 'resize': - if (init) { - plupload.extend(settings.resize, value, { - enabled: true - }); - } else { - settings.resize = value; - } - break; - - case 'prevent_duplicates': - settings.prevent_duplicates = settings.filters.prevent_duplicates = !!value; - break; - - // options that require reinitialisation - case 'container': - case 'browse_button': - case 'drop_element': - value = 'container' === option - ? plupload.get(value) - : plupload.getAll(value) - ; - - case 'runtimes': - case 'multi_selection': - settings[option] = value; - if (!init) { - reinitRequired = true; - } - break; - - default: - settings[option] = value; - } - - if (!init) { - self.trigger('OptionChanged', option, value, oldValue); - } - } - - if (typeof(option) === 'object') { - plupload.each(option, function(value, option) { - _setOption(option, value, init); - }); - } else { - _setOption(option, value, init); - } - - if (init) { - // Normalize the list of required capabilities - settings.required_features = normalizeCaps(plupload.extend({}, settings)); - - // Come up with the list of capabilities that can affect default mode in a multi-mode runtimes - preferred_caps = normalizeCaps(plupload.extend({}, settings, { - required_features: true - })); - } else if (reinitRequired) { - self.trigger('Destroy'); - - initControls.call(self, settings, function(inited) { - if (inited) { - self.runtime = o.Runtime.getInfo(getRUID()).type; - self.trigger('Init', { runtime: self.runtime }); - self.trigger('PostInit'); - } else { - self.trigger('Error', { - code : plupload.INIT_ERROR, - message : plupload.translate('Init error.') - }); - } - }); - } - } - - - // Internal event handlers - function onBeforeUpload(up, file) { - // Generate unique target filenames - if (up.settings.unique_names) { - var matches = file.name.match(/\.([^.]+)$/), ext = "part"; - if (matches) { - ext = matches[1]; - } - file.target_name = file.id + '.' + ext; - } - } - - - function onUploadFile(up, file) { - var url = up.settings.url - , chunkSize = up.settings.chunk_size - , retries = up.settings.max_retries - , features = up.features - , offset = 0 - , blob - ; - - // make sure we start at a predictable offset - if (file.loaded) { - offset = file.loaded = chunkSize ? chunkSize * Math.floor(file.loaded / chunkSize) : 0; - } - - function handleError() { - if (retries-- > 0) { - delay(uploadNextChunk, 1000); - } else { - file.loaded = offset; // reset all progress - - up.trigger('Error', { - code : plupload.HTTP_ERROR, - message : plupload.translate('HTTP Error.'), - file : file, - response : xhr.responseText, - status : xhr.status, - responseHeaders: xhr.getAllResponseHeaders() - }); - } - } - - function uploadNextChunk() { - var chunkBlob, formData, args = {}, curChunkSize; - - // make sure that file wasn't cancelled and upload is not stopped in general - if (file.status !== plupload.UPLOADING || up.state === plupload.STOPPED) { - return; - } - - // send additional 'name' parameter only if required - if (up.settings.send_file_name) { - args.name = file.target_name || file.name; - } - - if (chunkSize && features.chunks && blob.size > chunkSize) { // blob will be of type string if it was loaded in memory - curChunkSize = Math.min(chunkSize, blob.size - offset); - chunkBlob = blob.slice(offset, offset + curChunkSize); - } else { - curChunkSize = blob.size; - chunkBlob = blob; - } - - // If chunking is enabled add corresponding args, no matter if file is bigger than chunk or smaller - if (chunkSize && features.chunks) { - // Setup query string arguments - if (up.settings.send_chunk_number) { - args.chunk = Math.ceil(offset / chunkSize); - args.chunks = Math.ceil(blob.size / chunkSize); - } else { // keep support for experimental chunk format, just in case - args.offset = offset; - args.total = blob.size; - } - } - - xhr = new o.XMLHttpRequest(); - - // Do we have upload progress support - if (xhr.upload) { - xhr.upload.onprogress = function(e) { - file.loaded = Math.min(file.size, offset + e.loaded); - up.trigger('UploadProgress', file); - }; - } - - xhr.onload = function() { - // check if upload made itself through - if (xhr.status >= 400) { - handleError(); - return; - } - - retries = up.settings.max_retries; // reset the counter - - // Handle chunk response - if (curChunkSize < blob.size) { - chunkBlob.destroy(); - - offset += curChunkSize; - file.loaded = Math.min(offset, blob.size); - - up.trigger('ChunkUploaded', file, { - offset : file.loaded, - total : blob.size, - response : xhr.responseText, - status : xhr.status, - responseHeaders: xhr.getAllResponseHeaders() - }); - - // stock Android browser doesn't fire upload progress events, but in chunking mode we can fake them - if (o.Env.browser === 'Android Browser') { - // doesn't harm in general, but is not required anywhere else - up.trigger('UploadProgress', file); - } - } else { - file.loaded = file.size; - } - - chunkBlob = formData = null; // Free memory - - // Check if file is uploaded - if (!offset || offset >= blob.size) { - // If file was modified, destory the copy - if (file.size != file.origSize) { - blob.destroy(); - blob = null; - } - - up.trigger('UploadProgress', file); - - file.status = plupload.DONE; - - up.trigger('FileUploaded', file, { - response : xhr.responseText, - status : xhr.status, - responseHeaders: xhr.getAllResponseHeaders() - }); - } else { - // Still chunks left - delay(uploadNextChunk, 1); // run detached, otherwise event handlers interfere - } - }; - - xhr.onerror = function() { - handleError(); - }; - - xhr.onloadend = function() { - this.destroy(); - xhr = null; - }; - - // Build multipart request - if (up.settings.multipart && features.multipart) { - xhr.open("post", url, true); - - // Set custom headers - plupload.each(up.settings.headers, function(value, name) { - xhr.setRequestHeader(name, value); - }); - - formData = new o.FormData(); - - // Add multipart params - plupload.each(plupload.extend(args, up.settings.multipart_params), function(value, name) { - formData.append(name, value); - }); - - // Add file and send it - formData.append(up.settings.file_data_name, chunkBlob); - xhr.send(formData, { - runtime_order: up.settings.runtimes, - required_caps: up.settings.required_features, - preferred_caps: preferred_caps - }); - } else { - // if no multipart, send as binary stream - url = plupload.buildUrl(up.settings.url, plupload.extend(args, up.settings.multipart_params)); - - xhr.open("post", url, true); - - xhr.setRequestHeader('Content-Type', 'application/octet-stream'); // Binary stream header - - // Set custom headers - plupload.each(up.settings.headers, function(value, name) { - xhr.setRequestHeader(name, value); - }); - - xhr.send(chunkBlob, { - runtime_order: up.settings.runtimes, - required_caps: up.settings.required_features, - preferred_caps: preferred_caps - }); - } - } - - blob = file.getSource(); - - // Start uploading chunks - if (up.settings.resize.enabled && runtimeCan(blob, 'send_binary_string') && !!~o.inArray(blob.type, ['image/jpeg', 'image/png'])) { - // Resize if required - resizeImage.call(this, blob, up.settings.resize, function(resizedBlob) { - blob = resizedBlob; - file.size = resizedBlob.size; - uploadNextChunk(); - }); - } else { - uploadNextChunk(); - } - } - - - function onUploadProgress(up, file) { - calcFile(file); - } - - - function onStateChanged(up) { - if (up.state == plupload.STARTED) { - // Get start time to calculate bps - startTime = (+new Date()); - } else if (up.state == plupload.STOPPED) { - // Reset currently uploading files - for (var i = up.files.length - 1; i >= 0; i--) { - if (up.files[i].status == plupload.UPLOADING) { - up.files[i].status = plupload.QUEUED; - calc(); - } - } - } - } - - - function onCancelUpload() { - if (xhr) { - xhr.abort(); - } - } - - - function onFileUploaded(up) { - calc(); - - // Upload next file but detach it from the error event - // since other custom listeners might want to stop the queue - delay(function() { - uploadNext.call(up); - }, 1); - } - - - function onError(up, err) { - if (err.code === plupload.INIT_ERROR) { - up.destroy(); - } - // Set failed status if an error occured on a file - else if (err.code === plupload.HTTP_ERROR) { - err.file.status = plupload.FAILED; - calcFile(err.file); - - // Upload next file but detach it from the error event - // since other custom listeners might want to stop the queue - if (up.state == plupload.STARTED) { // upload in progress - up.trigger('CancelUpload'); - delay(function() { - uploadNext.call(up); - }, 1); - } - } - } - - - function onDestroy(up) { - up.stop(); - - // Purge the queue - plupload.each(files, function(file) { - file.destroy(); - }); - files = []; - - if (fileInputs.length) { - plupload.each(fileInputs, function(fileInput) { - fileInput.destroy(); - }); - fileInputs = []; - } - - if (fileDrops.length) { - plupload.each(fileDrops, function(fileDrop) { - fileDrop.destroy(); - }); - fileDrops = []; - } - - preferred_caps = {}; - disabled = false; - startTime = xhr = null; - total.reset(); - } - - - // Default settings - settings = { - runtimes: o.Runtime.order, - max_retries: 0, - chunk_size: 0, - multipart: true, - multi_selection: true, - file_data_name: 'file', - filters: { - mime_types: [], - prevent_duplicates: false, - max_file_size: 0 - }, - resize: { - enabled: false, - preserve_headers: true, - crop: false - }, - send_file_name: true, - send_chunk_number: true - }; - - - setOption.call(this, options, null, true); - - // Inital total state - total = new plupload.QueueProgress(); - - // Add public methods - plupload.extend(this, { - - /** - * Unique id for the Uploader instance. - * - * @property id - * @type String - */ - id : uid, - uid : uid, // mOxie uses this to differentiate between event targets - - /** - * Current state of the total uploading progress. This one can either be plupload.STARTED or plupload.STOPPED. - * These states are controlled by the stop/start methods. The default value is STOPPED. - * - * @property state - * @type Number - */ - state : plupload.STOPPED, - - /** - * Map of features that are available for the uploader runtime. Features will be filled - * before the init event is called, these features can then be used to alter the UI for the end user. - * Some of the current features that might be in this map is: dragdrop, chunks, jpgresize, pngresize. - * - * @property features - * @type Object - */ - features : {}, - - /** - * Current runtime name. - * - * @property runtime - * @type String - */ - runtime : null, - - /** - * Current upload queue, an array of File instances. - * - * @property files - * @type Array - * @see plupload.File - */ - files : files, - - /** - * Object with name/value settings. - * - * @property settings - * @type Object - */ - settings : settings, - - /** - * Total progess information. How many files has been uploaded, total percent etc. - * - * @property total - * @type plupload.QueueProgress - */ - total : total, - - - /** - * Initializes the Uploader instance and adds internal event listeners. - * - * @method init - */ - init : function() { - var self = this, opt, preinitOpt, err; - - preinitOpt = self.getOption('preinit'); - if (typeof(preinitOpt) == "function") { - preinitOpt(self); - } else { - plupload.each(preinitOpt, function(func, name) { - self.bind(name, func); - }); - } - - bindEventListeners.call(self); - - // Check for required options - plupload.each(['container', 'browse_button', 'drop_element'], function(el) { - if (self.getOption(el) === null) { - err = { - code : plupload.INIT_ERROR, - message : plupload.translate("'%' specified, but cannot be found.") - } - return false; - } - }); - - if (err) { - return self.trigger('Error', err); - } - - - if (!settings.browse_button && !settings.drop_element) { - return self.trigger('Error', { - code : plupload.INIT_ERROR, - message : plupload.translate("You must specify either 'browse_button' or 'drop_element'.") - }); - } - - - initControls.call(self, settings, function(inited) { - var initOpt = self.getOption('init'); - if (typeof(initOpt) == "function") { - initOpt(self); - } else { - plupload.each(initOpt, function(func, name) { - self.bind(name, func); - }); - } - - if (inited) { - self.runtime = o.Runtime.getInfo(getRUID()).type; - self.trigger('Init', { runtime: self.runtime }); - self.trigger('PostInit'); - } else { - self.trigger('Error', { - code : plupload.INIT_ERROR, - message : plupload.translate('Init error.') - }); - } - }); - }, - - /** - * Set the value for the specified option(s). - * - * @method setOption - * @since 2.1 - * @param {String|Object} option Name of the option to change or the set of key/value pairs - * @param {Mixed} [value] Value for the option (is ignored, if first argument is object) - */ - setOption: function(option, value) { - setOption.call(this, option, value, !this.runtime); // until runtime not set we do not need to reinitialize - }, - - /** - * Get the value for the specified option or the whole configuration, if not specified. - * - * @method getOption - * @since 2.1 - * @param {String} [option] Name of the option to get - * @return {Mixed} Value for the option or the whole set - */ - getOption: function(option) { - if (!option) { - return settings; - } - return settings[option]; - }, - - /** - * Refreshes the upload instance by dispatching out a refresh event to all runtimes. - * This would for example reposition flash/silverlight shims on the page. - * - * @method refresh - */ - refresh : function() { - if (fileInputs.length) { - plupload.each(fileInputs, function(fileInput) { - fileInput.trigger('Refresh'); - }); - } - this.trigger('Refresh'); - }, - - /** - * Starts uploading the queued files. - * - * @method start - */ - start : function() { - if (this.state != plupload.STARTED) { - this.state = plupload.STARTED; - this.trigger('StateChanged'); - - uploadNext.call(this); - } - }, - - /** - * Stops the upload of the queued files. - * - * @method stop - */ - stop : function() { - if (this.state != plupload.STOPPED) { - this.state = plupload.STOPPED; - this.trigger('StateChanged'); - this.trigger('CancelUpload'); - } - }, - - - /** - * Disables/enables browse button on request. - * - * @method disableBrowse - * @param {Boolean} disable Whether to disable or enable (default: true) - */ - disableBrowse : function() { - disabled = arguments[0] !== undef ? arguments[0] : true; - - if (fileInputs.length) { - plupload.each(fileInputs, function(fileInput) { - fileInput.disable(disabled); - }); - } - - this.trigger('DisableBrowse', disabled); - }, - - /** - * Returns the specified file object by id. - * - * @method getFile - * @param {String} id File id to look for. - * @return {plupload.File} File object or undefined if it wasn't found; - */ - getFile : function(id) { - var i; - for (i = files.length - 1; i >= 0; i--) { - if (files[i].id === id) { - return files[i]; - } - } - }, - - /** - * Adds file to the queue programmatically. Can be native file, instance of Plupload.File, - * instance of mOxie.File, input[type="file"] element, or array of these. Fires FilesAdded, - * if any files were added to the queue. Otherwise nothing happens. - * - * @method addFile - * @since 2.0 - * @param {plupload.File|mOxie.File|File|Node|Array} file File or files to add to the queue. - * @param {String} [fileName] If specified, will be used as a name for the file - */ - addFile : function(file, fileName) { - var self = this - , queue = [] - , filesAdded = [] - , ruid - ; - - function filterFile(file, cb) { - var queue = []; - o.each(self.settings.filters, function(rule, name) { - if (fileFilters[name]) { - queue.push(function(cb) { - fileFilters[name].call(self, rule, file, function(res) { - cb(!res); - }); - }); - } - }); - o.inSeries(queue, cb); - } - - /** - * @method resolveFile - * @private - * @param {o.File|o.Blob|plupload.File|File|Blob|input[type="file"]} file - */ - function resolveFile(file) { - var type = o.typeOf(file); - - // o.File - if (file instanceof o.File) { - if (!file.ruid && !file.isDetached()) { - if (!ruid) { // weird case - return false; - } - file.ruid = ruid; - file.connectRuntime(ruid); - } - resolveFile(new plupload.File(file)); - } - // o.Blob - else if (file instanceof o.Blob) { - resolveFile(file.getSource()); - file.destroy(); - } - // plupload.File - final step for other branches - else if (file instanceof plupload.File) { - if (fileName) { - file.name = fileName; - } - - queue.push(function(cb) { - // run through the internal and user-defined filters, if any - filterFile(file, function(err) { - if (!err) { - // make files available for the filters by updating the main queue directly - files.push(file); - // collect the files that will be passed to FilesAdded event - filesAdded.push(file); - - self.trigger("FileFiltered", file); - } - delay(cb, 1); // do not build up recursions or eventually we might hit the limits - }); - }); - } - // native File or blob - else if (o.inArray(type, ['file', 'blob']) !== -1) { - resolveFile(new o.File(null, file)); - } - // input[type="file"] - else if (type === 'node' && o.typeOf(file.files) === 'filelist') { - // if we are dealing with input[type="file"] - o.each(file.files, resolveFile); - } - // mixed array of any supported types (see above) - else if (type === 'array') { - fileName = null; // should never happen, but unset anyway to avoid funny situations - o.each(file, resolveFile); - } - } - - ruid = getRUID(); - - resolveFile(file); - - if (queue.length) { - o.inSeries(queue, function() { - // if any files left after filtration, trigger FilesAdded - if (filesAdded.length) { - self.trigger("FilesAdded", filesAdded); - } - }); - } - }, - - /** - * Removes a specific file. - * - * @method removeFile - * @param {plupload.File|String} file File to remove from queue. - */ - removeFile : function(file) { - var id = typeof(file) === 'string' ? file : file.id; - - for (var i = files.length - 1; i >= 0; i--) { - if (files[i].id === id) { - return this.splice(i, 1)[0]; - } - } - }, - - /** - * Removes part of the queue and returns the files removed. This will also trigger the FilesRemoved and QueueChanged events. - * - * @method splice - * @param {Number} start (Optional) Start index to remove from. - * @param {Number} length (Optional) Lengh of items to remove. - * @return {Array} Array of files that was removed. - */ - splice : function(start, length) { - // Splice and trigger events - var removed = files.splice(start === undef ? 0 : start, length === undef ? files.length : length); - - // if upload is in progress we need to stop it and restart after files are removed - var restartRequired = false; - if (this.state == plupload.STARTED) { // upload in progress - plupload.each(removed, function(file) { - if (file.status === plupload.UPLOADING) { - restartRequired = true; // do not restart, unless file that is being removed is uploading - return false; - } - }); - - if (restartRequired) { - this.stop(); - } - } - - this.trigger("FilesRemoved", removed); - - // Dispose any resources allocated by those files - plupload.each(removed, function(file) { - file.destroy(); - }); - - if (restartRequired) { - this.start(); - } - - return removed; - }, - - /** - Dispatches the specified event name and its arguments to all listeners. - - @method trigger - @param {String} name Event name to fire. - @param {Object..} Multiple arguments to pass along to the listener functions. - */ - - // override the parent method to match Plupload-like event logic - dispatchEvent: function(type) { - var list, args, result; - - type = type.toLowerCase(); - - list = this.hasEventListener(type); - - if (list) { - // sort event list by priority - list.sort(function(a, b) { return b.priority - a.priority; }); - - // first argument should be current plupload.Uploader instance - args = [].slice.call(arguments); - args.shift(); - args.unshift(this); - - for (var i = 0; i < list.length; i++) { - // Fire event, break chain if false is returned - if (list[i].fn.apply(list[i].scope, args) === false) { - return false; - } - } - } - return true; - }, - - /** - Check whether uploader has any listeners to the specified event. - - @method hasEventListener - @param {String} name Event name to check for. - */ - - - /** - Adds an event listener by name. - - @method bind - @param {String} name Event name to listen for. - @param {function} fn Function to call ones the event gets fired. - @param {Object} [scope] Optional scope to execute the specified function in. - @param {Number} [priority=0] Priority of the event handler - handlers with higher priorities will be called first - */ - bind: function(name, fn, scope, priority) { - // adapt moxie EventTarget style to Plupload-like - plupload.Uploader.prototype.bind.call(this, name, fn, priority, scope); - }, - - /** - Removes the specified event listener. - - @method unbind - @param {String} name Name of event to remove. - @param {function} fn Function to remove from listener. - */ - - /** - Removes all event listeners. - - @method unbindAll - */ - - - /** - * Destroys Plupload instance and cleans after itself. - * - * @method destroy - */ - destroy : function() { - this.trigger('Destroy'); - settings = total = null; // purge these exclusively - this.unbindAll(); - } - }); -}; - -plupload.Uploader.prototype = o.EventTarget.instance; - -/** - * Constructs a new file instance. - * - * @class File - * @constructor - * - * @param {Object} file Object containing file properties - * @param {String} file.name Name of the file. - * @param {Number} file.size File size. - */ -plupload.File = (function() { - var filepool = {}; - - function PluploadFile(file) { - - plupload.extend(this, { - - /** - * File id this is a globally unique id for the specific file. - * - * @property id - * @type String - */ - id: plupload.guid(), - - /** - * File name for example "myfile.gif". - * - * @property name - * @type String - */ - name: file.name || file.fileName, - - /** - * File type, `e.g image/jpeg` - * - * @property type - * @type String - */ - type: file.type || '', - - /** - * File size in bytes (may change after client-side manupilation). - * - * @property size - * @type Number - */ - size: file.size || file.fileSize, - - /** - * Original file size in bytes. - * - * @property origSize - * @type Number - */ - origSize: file.size || file.fileSize, - - /** - * Number of bytes uploaded of the files total size. - * - * @property loaded - * @type Number - */ - loaded: 0, - - /** - * Number of percentage uploaded of the file. - * - * @property percent - * @type Number - */ - percent: 0, - - /** - * Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE. - * - * @property status - * @type Number - * @see plupload - */ - status: plupload.QUEUED, - - /** - * Date of last modification. - * - * @property lastModifiedDate - * @type {String} - */ - lastModifiedDate: file.lastModifiedDate || (new Date()).toLocaleString(), // Thu Aug 23 2012 19:40:00 GMT+0400 (GET) - - /** - * Returns native window.File object, when it's available. - * - * @method getNative - * @return {window.File} or null, if plupload.File is of different origin - */ - getNative: function() { - var file = this.getSource().getSource(); - return o.inArray(o.typeOf(file), ['blob', 'file']) !== -1 ? file : null; - }, - - /** - * Returns mOxie.File - unified wrapper object that can be used across runtimes. - * - * @method getSource - * @return {mOxie.File} or null - */ - getSource: function() { - if (!filepool[this.id]) { - return null; - } - return filepool[this.id]; - }, - - /** - * Destroys plupload.File object. - * - * @method destroy - */ - destroy: function() { - var src = this.getSource(); - if (src) { - src.destroy(); - delete filepool[this.id]; - } - } - }); - - filepool[this.id] = file; - } - - return PluploadFile; -}()); - - -/** - * Constructs a queue progress. - * - * @class QueueProgress - * @constructor - */ - plupload.QueueProgress = function() { - var self = this; // Setup alias for self to reduce code size when it's compressed - - /** - * Total queue file size. - * - * @property size - * @type Number - */ - self.size = 0; - - /** - * Total bytes uploaded. - * - * @property loaded - * @type Number - */ - self.loaded = 0; - - /** - * Number of files uploaded. - * - * @property uploaded - * @type Number - */ - self.uploaded = 0; - - /** - * Number of files failed to upload. - * - * @property failed - * @type Number - */ - self.failed = 0; - - /** - * Number of files yet to be uploaded. - * - * @property queued - * @type Number - */ - self.queued = 0; - - /** - * Total percent of the uploaded bytes. - * - * @property percent - * @type Number - */ - self.percent = 0; - - /** - * Bytes uploaded per second. - * - * @property bytesPerSec - * @type Number - */ - self.bytesPerSec = 0; - - /** - * Resets the progress to its initial values. - * - * @method reset - */ - self.reset = function() { - self.size = self.loaded = self.uploaded = self.failed = self.queued = self.percent = self.bytesPerSec = 0; - }; -}; - -window.plupload = plupload; - -}(window, mOxie)); diff --git a/build/wp-includes/js/plupload/plupload.min.js b/build/wp-includes/js/plupload/plupload.min.js deleted file mode 100644 index d40d8c121e..0000000000 --- a/build/wp-includes/js/plupload/plupload.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,I,S){var T=e.setTimeout,D={};function w(e){var t=e.required_features,r={};function i(e,t,i){var n={chunks:"slice_blob",jpgresize:"send_binary_string",pngresize:"send_binary_string",progress:"report_upload_progress",multi_selection:"select_multiple",dragdrop:"drag_and_drop",drop_element:"drag_and_drop",headers:"send_custom_headers",urlstream_upload:"send_binary_string",canSendBinary:"send_binary",triggerDialog:"summon_file_dialog"};n[e]?r[n[e]]=t:i||(r[e]=t)}return"string"==typeof t?F.each(t.split(/\s*,\s*/),function(e){i(e,!0)}):"object"==typeof t?F.each(t,function(e,t){i(t,e)}):!0===t&&(0":"gt","&":"amp",'"':"quot","'":"#39"};return e&&(""+e).replace(/[<>&\"\']/g,function(e){return t[e]?"&"+t[e]+";":e})},toArray:I.toArray,inArray:I.inArray,addI18n:I.addI18n,translate:I.translate,isEmptyObj:I.isEmptyObj,hasClass:I.hasClass,addClass:I.addClass,removeClass:I.removeClass,getStyle:I.getStyle,addEvent:I.addEvent,removeEvent:I.removeEvent,removeAllEvents:I.removeAllEvents,cleanName:function(e){for(var t=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"],i=0;i(t/=1024)?i(e/t,1)+" "+F.translate("gb"):e>(t/=1024)?i(e/t,1)+" "+F.translate("mb"):1024e?(this.trigger("Error",{code:F.FILE_SIZE_ERROR,message:F.translate("File size error."),file:t}),i(!1)):i(!0)}),F.addFileFilter("prevent_duplicates",function(e,t,i){if(e)for(var n=this.files.length;n--;)if(t.name===this.files[n].name&&t.size===this.files[n].size)return this.trigger("Error",{code:F.FILE_DUPLICATE_ERROR,message:F.translate("Duplicate file error."),file:t}),void i(!1);i(!0)}),F.Uploader=function(e){var u,i,n,p,t=F.guid(),l=[],h={},o=[],d=[],c=!1;function r(){var e,t,i=0;if(this.state==F.STARTED){for(t=0;tu?(t=Math.min(u,a.size-c),a.slice(c,c+t)):(t=a.size,a),u&&d.chunks&&(r.settings.send_chunk_number?(n.chunk=Math.ceil(c/u),n.chunks=Math.ceil(a.size/u)):(n.offset=c,n.total=a.size)),(p=new I.XMLHttpRequest).upload&&(p.upload.onprogress=function(e){s.loaded=Math.min(s.size,c+e.loaded),r.trigger("UploadProgress",s)}),p.onload=function(){400<=p.status?f():(l=r.settings.max_retries,t=a.size?(s.size!=s.origSize&&(a.destroy(),a=null),r.trigger("UploadProgress",s),s.status=F.DONE,r.trigger("FileUploaded",s,{response:p.responseText,status:p.status,responseHeaders:p.getAllResponseHeaders()})):T(g,1))},p.onerror=function(){f()},p.onloadend=function(){this.destroy(),p=null},r.settings.multipart&&d.multipart?(p.open("post",o,!0),F.each(r.settings.headers,function(e,t){p.setRequestHeader(t,e)}),i=new I.FormData,F.each(F.extend(n,r.settings.multipart_params),function(e,t){i.append(t,e)}),i.append(r.settings.file_data_name,e),p.send(i,{runtime_order:r.settings.runtimes,required_caps:r.settings.required_features,preferred_caps:h})):(o=F.buildUrl(r.settings.url,F.extend(n,r.settings.multipart_params)),p.open("post",o,!0),p.setRequestHeader("Content-Type","application/octet-stream"),F.each(r.settings.headers,function(e,t){p.setRequestHeader(t,e)}),p.send(e,{runtime_order:r.settings.runtimes,required_caps:r.settings.required_features,preferred_caps:h})))}s.loaded&&(c=s.loaded=u?u*Math.floor(s.loaded/u):0),a=s.getSource(),r.settings.resize.enabled&&function(e,t){if(e.ruid){e=I.Runtime.getInfo(e.ruid);if(e)return e.can(t)}}(a,"send_binary_string")&&~I.inArray(a.type,["image/jpeg","image/png"])?function(t,e,i){var n=new I.Image;try{n.onload=function(){if(e.width>this.width&&e.height>this.height&&e.quality===S&&e.preserve_headers&&!e.crop)return this.destroy(),i(t);n.downsize(e.width,e.height,e.crop,e.preserve_headers)},n.onresize=function(){i(this.getAsBlob(t.type,e.quality)),this.destroy()},n.onerror=function(){i(t)},n.load(t)}catch(e){i(t)}}.call(this,a,r.settings.resize,function(e){a=e,s.size=e.size,g()}):g()}function R(e,t){s(t)}function E(e){if(e.state==F.STARTED)i=+new Date;else if(e.state==F.STOPPED)for(var t=e.files.length-1;0<=t;t--)e.files[t].status==F.UPLOADING&&(e.files[t].status=F.QUEUED,a())}function y(){p&&p.abort()}function v(e){a(),T(function(){r.call(e)},1)}function z(e,t){t.code===F.INIT_ERROR?e.destroy():t.code===F.HTTP_ERROR&&(t.file.status=F.FAILED,s(t.file),e.state==F.STARTED&&(e.trigger("CancelUpload"),T(function(){r.call(e)},1)))}function O(e){e.stop(),F.each(l,function(e){e.destroy()}),l=[],o.length&&(F.each(o,function(e){e.destroy()}),o=[]),d.length&&(F.each(d,function(e){e.destroy()}),d=[]),c=!(h={}),i=p=null,n.reset()}u={runtimes:I.Runtime.order,max_retries:0,chunk_size:0,multipart:!0,multi_selection:!0,file_data_name:"file",filters:{mime_types:[],prevent_duplicates:!1,max_file_size:0},resize:{enabled:!1,preserve_headers:!0,crop:!1},send_file_name:!0,send_chunk_number:!0},_.call(this,e,null,!0),n=new F.QueueProgress,F.extend(this,{id:t,uid:t,state:F.STOPPED,features:{},runtime:null,files:l,settings:u,total:n,init:function(){var t,i=this,e=i.getOption("preinit");return"function"==typeof e?e(i):F.each(e,function(e,t){i.bind(t,e)}),function(){this.bind("FilesAdded FilesRemoved",function(e){e.trigger("QueueChanged"),e.refresh()}),this.bind("CancelUpload",y),this.bind("BeforeUpload",m),this.bind("UploadFile",b),this.bind("UploadProgress",R),this.bind("StateChanged",E),this.bind("QueueChanged",a),this.bind("Error",z),this.bind("FileUploaded",v),this.bind("Destroy",O)}.call(i),F.each(["container","browse_button","drop_element"],function(e){if(null===i.getOption(e))return!(t={code:F.INIT_ERROR,message:F.translate("'%' specified, but cannot be found.")})}),t?i.trigger("Error",t):u.browse_button||u.drop_element?void g.call(i,u,function(e){var t=i.getOption("init");"function"==typeof t?t(i):F.each(t,function(e,t){i.bind(t,e)}),e?(i.runtime=I.Runtime.getInfo(f()).type,i.trigger("Init",{runtime:i.runtime}),i.trigger("PostInit")):i.trigger("Error",{code:F.INIT_ERROR,message:F.translate("Init error.")})}):i.trigger("Error",{code:F.INIT_ERROR,message:F.translate("You must specify either 'browse_button' or 'drop_element'.")})},setOption:function(e,t){_.call(this,e,t,!this.runtime)},getOption:function(e){return e?u[e]:u},refresh:function(){o.length&&F.each(o,function(e){e.trigger("Refresh")}),this.trigger("Refresh")},start:function(){this.state!=F.STARTED&&(this.state=F.STARTED,this.trigger("StateChanged"),r.call(this))},stop:function(){this.state!=F.STOPPED&&(this.state=F.STOPPED,this.trigger("StateChanged"),this.trigger("CancelUpload"))},disableBrowse:function(){c=arguments[0]===S||arguments[0],o.length&&F.each(o,function(e){e.disable(c)}),this.trigger("DisableBrowse",c)},getFile:function(e){for(var t=l.length-1;0<=t;t--)if(l[t].id===e)return l[t]},addFile:function(e,n){var r,s=this,a=[],o=[];r=f(),function e(i){var t=I.typeOf(i);if(i instanceof I.File){if(!i.ruid&&!i.isDetached()){if(!r)return!1;i.ruid=r,i.connectRuntime(r)}e(new F.File(i))}else i instanceof I.Blob?(e(i.getSource()),i.destroy()):i instanceof F.File?(n&&(i.name=n),a.push(function(t){var n,e,r;n=i,e=function(e){e||(l.push(i),o.push(i),s.trigger("FileFiltered",i)),T(t,1)},r=[],I.each(s.settings.filters,function(e,i){D[i]&&r.push(function(t){D[i].call(s,e,n,function(e){t(!e)})})}),I.inSeries(r,e)})):-1!==I.inArray(t,["file","blob"])?e(new I.File(null,i)):"node"===t&&"filelist"===I.typeOf(i.files)?I.each(i.files,e):"array"===t&&(n=null,I.each(i,e))}(e),a.length&&I.inSeries(a,function(){o.length&&s.trigger("FilesAdded",o)})},removeFile:function(e){for(var t="string"==typeof e?e:e.id,i=l.length-1;0<=i;i--)if(l[i].id===t)return this.splice(i,1)[0]},splice:function(e,t){var e=l.splice(e===S?0:e,t===S?l.length:t),i=!1;return this.state==F.STARTED&&(F.each(e,function(e){if(e.status===F.UPLOADING)return!(i=!0)}),i&&this.stop()),this.trigger("FilesRemoved",e),F.each(e,function(e){e.destroy()}),i&&this.start(),e},dispatchEvent:function(e){var t,i;if(e=e.toLowerCase(),t=this.hasEventListener(e)){t.sort(function(e,t){return t.priority-e.priority}),(i=[].slice.call(arguments)).shift(),i.unshift(this);for(var n=0;n 4 ) { - /* - * The file may have been uploaded and attachment post created, - * but post-processing and resizing failed... - * Do a cleanup then tell the user to scale down the image and upload it again. - */ - $.ajax({ - type: 'post', - url: ajaxurl, - dataType: 'json', - data: { - action: 'media-create-image-subsizes', - _wpnonce: _wpPluploadSettings.defaults.multipart_params._wpnonce, - attachment_id: id, - _wp_upload_failed_cleanup: true, - } - }); - - error( message, data, file, 'no-retry' ); - return; - } - - if ( ! times ) { - tryAgainCount[ file.id ] = 1; - } else { - tryAgainCount[ file.id ] = ++times; - } - - // Another request to try to create the missing image sub-sizes. - $.ajax({ - type: 'post', - url: ajaxurl, - dataType: 'json', - data: { - action: 'media-create-image-subsizes', - _wpnonce: _wpPluploadSettings.defaults.multipart_params._wpnonce, - attachment_id: id, - } - }).done( function( response ) { - if ( response.success ) { - fileUploaded( self.uploader, file, response ); - } else { - if ( response.data && response.data.message ) { - message = response.data.message; - } - - error( message, data, file, 'no-retry' ); - } - }).fail( function( jqXHR ) { - // If another HTTP 5xx error, try try again... - if ( jqXHR.status >= 500 && jqXHR.status < 600 ) { - tryAgain( message, data, file ); - return; - } - - error( message, data, file, 'no-retry' ); - }); - } - - /** - * Custom error callback. - * - * Add a new error to the errors collection, so other modules can track - * and display errors. @see wp.Uploader.errors. - * - * @param {string} message Error message. - * @param {object} data Error data from Plupload. - * @param {plupload.File} file File that was uploaded. - * @param {string} retry Whether to try again to create image sub-sizes. Passing 'no-retry' will prevent it. - */ - error = function( message, data, file, retry ) { - var isImage = file.type && file.type.indexOf( 'image/' ) === 0, - status = data && data.status; - - // If the file is an image and the error is HTTP 5xx try to create sub-sizes again. - if ( retry !== 'no-retry' && isImage && status >= 500 && status < 600 ) { - tryAgain( message, data, file ); - return; - } - - if ( file.attachment ) { - file.attachment.destroy(); - } - - Uploader.errors.unshift({ - message: message || pluploadL10n.default_error, - data: data, - file: file - }); - - self.error( message, data, file ); - }; - - /** - * After a file is successfully uploaded, update its model. - * - * @param {plupload.Uploader} up Uploader instance. - * @param {plupload.File} file File that was uploaded. - * @param {Object} response Object with response properties. - */ - fileUploaded = function( up, file, response ) { - var complete; - - // Remove the "uploading" UI elements. - _.each( ['file','loaded','size','percent'], function( key ) { - file.attachment.unset( key ); - } ); - - file.attachment.set( _.extend( response.data, { uploading: false } ) ); - - wp.media.model.Attachment.get( response.data.id, file.attachment ); - - complete = Uploader.queue.all( function( attachment ) { - return ! attachment.get( 'uploading' ); - }); - - if ( complete ) { - Uploader.queue.reset(); - } - - self.success( file.attachment ); - } - - /** - * After the Uploader has been initialized, initialize some behaviors for the dropzone. - * - * @param {plupload.Uploader} uploader Uploader instance. - */ - this.uploader.bind( 'init', function( uploader ) { - var timer, active, dragdrop, - dropzone = self.dropzone; - - dragdrop = self.supports.dragdrop = uploader.features.dragdrop && ! Uploader.browser.mobile; - - // Generate drag/drop helper classes. - if ( ! dropzone ) { - return; - } - - dropzone.toggleClass( 'supports-drag-drop', !! dragdrop ); - - if ( ! dragdrop ) { - return dropzone.unbind('.wp-uploader'); - } - - // 'dragenter' doesn't fire correctly, simulate it with a limited 'dragover'. - dropzone.on( 'dragover.wp-uploader', function() { - if ( timer ) { - clearTimeout( timer ); - } - - if ( active ) { - return; - } - - dropzone.trigger('dropzone:enter').addClass('drag-over'); - active = true; - }); - - dropzone.on('dragleave.wp-uploader, drop.wp-uploader', function() { - /* - * Using an instant timer prevents the drag-over class - * from being quickly removed and re-added when elements - * inside the dropzone are repositioned. - * - * @see https://core.trac.wordpress.org/ticket/21705 - */ - timer = setTimeout( function() { - active = false; - dropzone.trigger('dropzone:leave').removeClass('drag-over'); - }, 0 ); - }); - - self.ready = true; - $(self).trigger( 'uploader:ready' ); - }); - - this.uploader.bind( 'postinit', function( up ) { - up.refresh(); - self.init(); - }); - - this.uploader.init(); - - if ( this.browser ) { - this.browser.on( 'mouseenter', this.refresh ); - } else { - this.uploader.disableBrowse( true ); - } - - $( self ).on( 'uploader:ready', function() { - $( '.moxie-shim-html5 input[type="file"]' ) - .attr( { - tabIndex: '-1', - 'aria-hidden': 'true' - } ); - } ); - - /** - * After files were filtered and added to the queue, create a model for each. - * - * @param {plupload.Uploader} up Uploader instance. - * @param {Array} files Array of file objects that were added to queue by the user. - */ - this.uploader.bind( 'FilesAdded', function( up, files ) { - _.each( files, function( file ) { - var attributes, image; - - // Ignore failed uploads. - if ( plupload.FAILED === file.status ) { - return; - } - - if ( file.type === 'image/heic' && up.settings.heic_upload_error ) { - // Show error but do not block uploading. - Uploader.errors.unshift({ - message: pluploadL10n.unsupported_image, - data: {}, - file: file - }); - } else if ( file.type === 'image/webp' && up.settings.webp_upload_error ) { - // Disallow uploading of WebP images if the server cannot edit them. - error( pluploadL10n.noneditable_image, {}, file, 'no-retry' ); - up.removeFile( file ); - return; - } - - // Generate attributes for a new `Attachment` model. - attributes = _.extend({ - file: file, - uploading: true, - date: new Date(), - filename: file.name, - menuOrder: 0, - uploadedTo: wp.media.model.settings.post.id - }, _.pick( file, 'loaded', 'size', 'percent' ) ); - - // Handle early mime type scanning for images. - image = /(?:jpe?g|png|gif)$/i.exec( file.name ); - - // For images set the model's type and subtype attributes. - if ( image ) { - attributes.type = 'image'; - - // `jpeg`, `png` and `gif` are valid subtypes. - // `jpg` is not, so map it to `jpeg`. - attributes.subtype = ( 'jpg' === image[0] ) ? 'jpeg' : image[0]; - } - - // Create a model for the attachment, and add it to the Upload queue collection - // so listeners to the upload queue can track and display upload progress. - file.attachment = wp.media.model.Attachment.create( attributes ); - Uploader.queue.add( file.attachment ); - - self.added( file.attachment ); - }); - - up.refresh(); - up.start(); - }); - - this.uploader.bind( 'UploadProgress', function( up, file ) { - file.attachment.set( _.pick( file, 'loaded', 'percent' ) ); - self.progress( file.attachment ); - }); - - /** - * After a file is successfully uploaded, update its model. - * - * @param {plupload.Uploader} up Uploader instance. - * @param {plupload.File} file File that was uploaded. - * @param {Object} response Object with response properties. - * @return {mixed} - */ - this.uploader.bind( 'FileUploaded', function( up, file, response ) { - - try { - response = JSON.parse( response.response ); - } catch ( e ) { - return error( pluploadL10n.default_error, e, file ); - } - - if ( ! _.isObject( response ) || _.isUndefined( response.success ) ) { - return error( pluploadL10n.default_error, null, file ); - } else if ( ! response.success ) { - return error( response.data && response.data.message, response.data, file ); - } - - // Success. Update the UI with the new attachment. - fileUploaded( up, file, response ); - }); - - /** - * When plupload surfaces an error, send it to the error handler. - * - * @param {plupload.Uploader} up Uploader instance. - * @param {Object} pluploadError Contains code, message and sometimes file and other details. - */ - this.uploader.bind( 'Error', function( up, pluploadError ) { - var message = pluploadL10n.default_error, - key; - - // Check for plupload errors. - for ( key in Uploader.errorMap ) { - if ( pluploadError.code === plupload[ key ] ) { - message = Uploader.errorMap[ key ]; - - if ( typeof message === 'function' ) { - message = message( pluploadError.file, pluploadError ); - } - - break; - } - } - - error( message, pluploadError, pluploadError.file ); - up.refresh(); - }); - - }; - - // Adds the 'defaults' and 'browser' properties. - $.extend( Uploader, _wpPluploadSettings ); - - Uploader.uuid = 0; - - // Map Plupload error codes to user friendly error messages. - Uploader.errorMap = { - 'FAILED': pluploadL10n.upload_failed, - 'FILE_EXTENSION_ERROR': pluploadL10n.invalid_filetype, - 'IMAGE_FORMAT_ERROR': pluploadL10n.not_an_image, - 'IMAGE_MEMORY_ERROR': pluploadL10n.image_memory_exceeded, - 'IMAGE_DIMENSIONS_ERROR': pluploadL10n.image_dimensions_exceeded, - 'GENERIC_ERROR': pluploadL10n.upload_failed, - 'IO_ERROR': pluploadL10n.io_error, - 'SECURITY_ERROR': pluploadL10n.security_error, - - 'FILE_SIZE_ERROR': function( file ) { - return pluploadL10n.file_exceeds_size_limit.replace( '%s', file.name ); - }, - - 'HTTP_ERROR': function( file ) { - if ( file.type && file.type.indexOf( 'image/' ) === 0 ) { - return pluploadL10n.http_error_image; - } - - return pluploadL10n.http_error; - }, - }; - - $.extend( Uploader.prototype, /** @lends wp.Uploader.prototype */{ - /** - * Acts as a shortcut to extending the uploader's multipart_params object. - * - * param( key ) - * Returns the value of the key. - * - * param( key, value ) - * Sets the value of a key. - * - * param( map ) - * Sets values for a map of data. - */ - param: function( key, value ) { - if ( arguments.length === 1 && typeof key === 'string' ) { - return this.uploader.settings.multipart_params[ key ]; - } - - if ( arguments.length > 1 ) { - this.uploader.settings.multipart_params[ key ] = value; - } else { - $.extend( this.uploader.settings.multipart_params, key ); - } - }, - - /** - * Make a few internal event callbacks available on the wp.Uploader object - * to change the Uploader internals if absolutely necessary. - */ - init: function() {}, - error: function() {}, - success: function() {}, - added: function() {}, - progress: function() {}, - complete: function() {}, - refresh: function() { - var node, attached, container, id; - - if ( this.browser ) { - node = this.browser[0]; - - // Check if the browser node is in the DOM. - while ( node ) { - if ( node === document.body ) { - attached = true; - break; - } - node = node.parentNode; - } - - /* - * If the browser node is not attached to the DOM, - * use a temporary container to house it, as the browser button shims - * require the button to exist in the DOM at all times. - */ - if ( ! attached ) { - id = 'wp-uploader-browser-' + this.uploader.id; - - container = $( '#' + id ); - if ( ! container.length ) { - container = $('
    ').css({ - position: 'fixed', - top: '-1000px', - left: '-1000px', - height: 0, - width: 0 - }).attr( 'id', 'wp-uploader-browser-' + this.uploader.id ).appendTo('body'); - } - - container.append( this.browser ); - } - } - - this.uploader.refresh(); - } - }); - - // Create a collection of attachments in the upload queue, - // so that other modules can track and display upload progress. - Uploader.queue = new wp.media.model.Attachments( [], { query: false }); - - // Create a collection to collect errors incurred while attempting upload. - Uploader.errors = new Backbone.Collection(); - - exports.Uploader = Uploader; -})( wp, jQuery ); diff --git a/build/wp-includes/js/plupload/wp-plupload.min.js b/build/wp-includes/js/plupload/wp-plupload.min.js deleted file mode 100644 index de70c357f7..0000000000 --- a/build/wp-includes/js/plupload/wp-plupload.min.js +++ /dev/null @@ -1 +0,0 @@ -window.wp=window.wp||{},function(e,u){var l;"undefined"!=typeof _wpPluploadSettings&&(u.extend(l=function(e){var n,t,i,p,d=this,a={container:"container",browser:"browse_button",dropzone:"drop_element"},s={};if(this.supports={upload:l.browser.supported},this.supported=this.supports.upload,this.supported){for(t in this.plupload=u.extend(!0,{multipart_params:{}},l.defaults),this.container=document.body,u.extend(!0,this,e),this)"function"==typeof this[t]&&(this[t]=u.proxy(this[t],this));for(t in a)this[t]&&(this[t]=u(this[t]).first(),this[t].length?(this[t].prop("id")||this[t].prop("id","__wp-uploader-id-"+l.uuid++),this.plupload[a[t]]=this[t].prop("id")):delete this[t]);(this.browser&&this.browser.length||this.dropzone&&this.dropzone.length)&&(this.uploader=new plupload.Uploader(this.plupload),delete this.plupload,this.param(this.params||{}),delete this.params,n=function(t,a,r){var e,o;a&&a.responseHeaders&&(o=a.responseHeaders.match(/x-wp-upload-attachment-id:\s*(\d+)/i))&&o[1]?(o=o[1],(e=s[r.id])&&4').css({position:"fixed",top:"-1000px",left:"-1000px",height:0,width:0}).attr("id","wp-uploader-browser-"+this.uploader.id).appendTo("body")).append(this.browser))}this.uploader.refresh()}}),l.queue=new wp.media.model.Attachments([],{query:!1}),l.errors=new Backbone.Collection,e.Uploader=l)}(wp,jQuery); \ No newline at end of file diff --git a/build/wp-includes/js/quicktags.js b/build/wp-includes/js/quicktags.js deleted file mode 100644 index 4b1a80fa28..0000000000 --- a/build/wp-includes/js/quicktags.js +++ /dev/null @@ -1,749 +0,0 @@ - -/* - * Quicktags - * - * This is the HTML editor in WordPress. It can be attached to any textarea and will - * append a toolbar above it. This script is self-contained (does not require external libraries). - * - * Run quicktags(settings) to initialize it, where settings is an object containing up to 3 properties: - * settings = { - * id : 'my_id', the HTML ID of the textarea, required - * buttons: '' Comma separated list of the names of the default buttons to show. Optional. - * Current list of default button names: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close'; - * } - * - * The settings can also be a string quicktags_id. - * - * quicktags_id string The ID of the textarea that will be the editor canvas - * buttons string Comma separated list of the default buttons names that will be shown in that instance. - * - * @output wp-includes/js/quicktags.js - */ - -// New edit toolbar used with permission -// by Alex King -// http://www.alexking.org/ - -/* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, prompt, edButtons */ - -window.edButtons = []; - -/* jshint ignore:start */ - -/** - * Back-compat - * - * Define all former global functions so plugins that hack quicktags.js directly don't cause fatal errors. - */ -window.edAddTag = function(){}; -window.edCheckOpenTags = function(){}; -window.edCloseAllTags = function(){}; -window.edInsertImage = function(){}; -window.edInsertLink = function(){}; -window.edInsertTag = function(){}; -window.edLink = function(){}; -window.edQuickLink = function(){}; -window.edRemoveTag = function(){}; -window.edShowButton = function(){}; -window.edShowLinks = function(){}; -window.edSpell = function(){}; -window.edToolbar = function(){}; - -/* jshint ignore:end */ - -(function(){ - // Private stuff is prefixed with an underscore. - var _domReady = function(func) { - var t, i, DOMContentLoaded, _tryReady; - - if ( typeof jQuery !== 'undefined' ) { - jQuery( func ); - } else { - t = _domReady; - t.funcs = []; - - t.ready = function() { - if ( ! t.isReady ) { - t.isReady = true; - for ( i = 0; i < t.funcs.length; i++ ) { - t.funcs[i](); - } - } - }; - - if ( t.isReady ) { - func(); - } else { - t.funcs.push(func); - } - - if ( ! t.eventAttached ) { - if ( document.addEventListener ) { - DOMContentLoaded = function(){document.removeEventListener('DOMContentLoaded', DOMContentLoaded, false);t.ready();}; - document.addEventListener('DOMContentLoaded', DOMContentLoaded, false); - window.addEventListener('load', t.ready, false); - } else if ( document.attachEvent ) { - DOMContentLoaded = function(){if (document.readyState === 'complete'){ document.detachEvent('onreadystatechange', DOMContentLoaded);t.ready();}}; - document.attachEvent('onreadystatechange', DOMContentLoaded); - window.attachEvent('onload', t.ready); - - _tryReady = function() { - try { - document.documentElement.doScroll('left'); - } catch(e) { - setTimeout(_tryReady, 50); - return; - } - - t.ready(); - }; - _tryReady(); - } - - t.eventAttached = true; - } - } - }, - - _datetime = (function() { - var now = new Date(), zeroise; - - zeroise = function(number) { - var str = number.toString(); - - if ( str.length < 2 ) { - str = '0' + str; - } - - return str; - }; - - return now.getUTCFullYear() + '-' + - zeroise( now.getUTCMonth() + 1 ) + '-' + - zeroise( now.getUTCDate() ) + 'T' + - zeroise( now.getUTCHours() ) + ':' + - zeroise( now.getUTCMinutes() ) + ':' + - zeroise( now.getUTCSeconds() ) + - '+00:00'; - })(); - - var qt = window.QTags = function(settings) { - if ( typeof(settings) === 'string' ) { - settings = {id: settings}; - } else if ( typeof(settings) !== 'object' ) { - return false; - } - - var t = this, - id = settings.id, - canvas = document.getElementById(id), - name = 'qt_' + id, - tb, onclick, toolbar_id, wrap, setActiveEditor; - - if ( !id || !canvas ) { - return false; - } - - t.name = name; - t.id = id; - t.canvas = canvas; - t.settings = settings; - - if ( id === 'content' && typeof(adminpage) === 'string' && ( adminpage === 'post-new-php' || adminpage === 'post-php' ) ) { - // Back compat hack :-( - window.edCanvas = canvas; - toolbar_id = 'ed_toolbar'; - } else { - toolbar_id = name + '_toolbar'; - } - - tb = document.getElementById( toolbar_id ); - - if ( ! tb ) { - tb = document.createElement('div'); - tb.id = toolbar_id; - tb.className = 'quicktags-toolbar'; - } - - canvas.parentNode.insertBefore(tb, canvas); - t.toolbar = tb; - - // Listen for click events. - onclick = function(e) { - e = e || window.event; - var target = e.target || e.srcElement, visible = target.clientWidth || target.offsetWidth, i; - - // Don't call the callback on pressing the accesskey when the button is not visible. - if ( !visible ) { - return; - } - - // As long as it has the class ed_button, execute the callback. - if ( / ed_button /.test(' ' + target.className + ' ') ) { - // We have to reassign canvas here. - t.canvas = canvas = document.getElementById(id); - i = target.id.replace(name + '_', ''); - - if ( t.theButtons[i] ) { - t.theButtons[i].callback.call(t.theButtons[i], target, canvas, t); - } - } - }; - - setActiveEditor = function() { - window.wpActiveEditor = id; - }; - - wrap = document.getElementById( 'wp-' + id + '-wrap' ); - - if ( tb.addEventListener ) { - tb.addEventListener( 'click', onclick, false ); - - if ( wrap ) { - wrap.addEventListener( 'click', setActiveEditor, false ); - } - } else if ( tb.attachEvent ) { - tb.attachEvent( 'onclick', onclick ); - - if ( wrap ) { - wrap.attachEvent( 'onclick', setActiveEditor ); - } - } - - t.getButton = function(id) { - return t.theButtons[id]; - }; - - t.getButtonElement = function(id) { - return document.getElementById(name + '_' + id); - }; - - t.init = function() { - _domReady( function(){ qt._buttonsInit( id ); } ); - }; - - t.remove = function() { - delete qt.instances[id]; - - if ( tb && tb.parentNode ) { - tb.parentNode.removeChild( tb ); - } - }; - - qt.instances[id] = t; - t.init(); - }; - - function _escape( text ) { - text = text || ''; - text = text.replace( /&([^#])(?![a-z1-4]{1,8};)/gi, '&$1' ); - return text.replace( //g, '>' ).replace( /"/g, '"' ).replace( /'/g, ''' ); - } - - qt.instances = {}; - - qt.getInstance = function(id) { - return qt.instances[id]; - }; - - qt._buttonsInit = function( id ) { - var t = this; - - function _init( instanceId ) { - var canvas, name, settings, theButtons, html, ed, id, i, use, - defaults = ',strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,'; - - ed = t.instances[instanceId]; - canvas = ed.canvas; - name = ed.name; - settings = ed.settings; - html = ''; - theButtons = {}; - use = ''; - - // Set buttons. - if ( settings.buttons ) { - use = ','+settings.buttons+','; - } - - for ( i in edButtons ) { - if ( ! edButtons[i] ) { - continue; - } - - id = edButtons[i].id; - if ( use && defaults.indexOf( ',' + id + ',' ) !== -1 && use.indexOf( ',' + id + ',' ) === -1 ) { - continue; - } - - if ( ! edButtons[i].instance || edButtons[i].instance === instanceId ) { - theButtons[id] = edButtons[i]; - - if ( edButtons[i].html ) { - html += edButtons[i].html( name + '_' ); - } - } - } - - if ( use && use.indexOf(',dfw,') !== -1 ) { - theButtons.dfw = new qt.DFWButton(); - html += theButtons.dfw.html( name + '_' ); - } - - if ( 'rtl' === document.getElementsByTagName( 'html' )[0].dir ) { - theButtons.textdirection = new qt.TextDirectionButton(); - html += theButtons.textdirection.html( name + '_' ); - } - - ed.toolbar.innerHTML = html; - ed.theButtons = theButtons; - - if ( typeof jQuery !== 'undefined' ) { - jQuery( document ).triggerHandler( 'quicktags-init', [ ed ] ); - } - } - - if ( id ) { - _init( id ); - } else { - for ( id in t.instances ) { - _init( id ); - } - } - - t.buttonsInitDone = true; - }; - - /** - * Main API function for adding a button to Quicktags - * - * Adds qt.Button or qt.TagButton depending on the args. The first three args are always required. - * To be able to add button(s) to Quicktags, your script should be enqueued as dependent - * on "quicktags" and outputted in the footer. If you are echoing JS directly from PHP, - * use add_action( 'admin_print_footer_scripts', 'output_my_js', 100 ) or add_action( 'wp_footer', 'output_my_js', 100 ) - * - * Minimum required to add a button that calls an external function: - * QTags.addButton( 'my_id', 'my button', my_callback ); - * function my_callback() { alert('yeah!'); } - * - * Minimum required to add a button that inserts a tag: - * QTags.addButton( 'my_id', 'my button', '', '' ); - * QTags.addButton( 'my_id2', 'my button', '
    ' ); - * - * @param string id Required. Button HTML ID - * @param string display Required. Button's value="..." - * @param string|function arg1 Required. Either a starting tag to be inserted like "" or a callback that is executed when the button is clicked. - * @param string arg2 Optional. Ending tag like "" - * @param string access_key Deprecated Not used - * @param string title Optional. Button's title="..." - * @param int priority Optional. Number representing the desired position of the button in the toolbar. 1 - 9 = first, 11 - 19 = second, 21 - 29 = third, etc. - * @param string instance Optional. Limit the button to a specific instance of Quicktags, add to all instances if not present. - * @param attr object Optional. Used to pass additional attributes. Currently supports `ariaLabel` and `ariaLabelClose` (for "close tag" state) - * @return mixed null or the button object that is needed for back-compat. - */ - qt.addButton = function( id, display, arg1, arg2, access_key, title, priority, instance, attr ) { - var btn; - - if ( !id || !display ) { - return; - } - - priority = priority || 0; - arg2 = arg2 || ''; - attr = attr || {}; - - if ( typeof(arg1) === 'function' ) { - btn = new qt.Button( id, display, access_key, title, instance, attr ); - btn.callback = arg1; - } else if ( typeof(arg1) === 'string' ) { - btn = new qt.TagButton( id, display, arg1, arg2, access_key, title, instance, attr ); - } else { - return; - } - - if ( priority === -1 ) { // Back-compat. - return btn; - } - - if ( priority > 0 ) { - while ( typeof(edButtons[priority]) !== 'undefined' ) { - priority++; - } - - edButtons[priority] = btn; - } else { - edButtons[edButtons.length] = btn; - } - - if ( this.buttonsInitDone ) { - this._buttonsInit(); // Add the button HTML to all instances toolbars if addButton() was called too late. - } - }; - - qt.insertContent = function(content) { - var sel, startPos, endPos, scrollTop, text, canvas = document.getElementById(wpActiveEditor), event; - - if ( !canvas ) { - return false; - } - - if ( document.selection ) { // IE. - canvas.focus(); - sel = document.selection.createRange(); - sel.text = content; - canvas.focus(); - } else if ( canvas.selectionStart || canvas.selectionStart === 0 ) { // FF, WebKit, Opera. - text = canvas.value; - startPos = canvas.selectionStart; - endPos = canvas.selectionEnd; - scrollTop = canvas.scrollTop; - - canvas.value = text.substring(0, startPos) + content + text.substring(endPos, text.length); - - canvas.selectionStart = startPos + content.length; - canvas.selectionEnd = startPos + content.length; - canvas.scrollTop = scrollTop; - canvas.focus(); - } else { - canvas.value += content; - canvas.focus(); - } - - if ( document.createEvent ) { - event = document.createEvent( 'HTMLEvents' ); - event.initEvent( 'change', false, true ); - canvas.dispatchEvent( event ); - } else if ( canvas.fireEvent ) { - canvas.fireEvent( 'onchange' ); - } - - return true; - }; - - // A plain, dumb button. - qt.Button = function( id, display, access, title, instance, attr ) { - this.id = id; - this.display = display; - this.access = ''; - this.title = title || ''; - this.instance = instance || ''; - this.attr = attr || {}; - }; - qt.Button.prototype.html = function(idPrefix) { - var active, on, wp, - title = this.title ? ' title="' + _escape( this.title ) + '"' : '', - ariaLabel = this.attr && this.attr.ariaLabel ? ' aria-label="' + _escape( this.attr.ariaLabel ) + '"' : '', - val = this.display ? ' value="' + _escape( this.display ) + '"' : '', - id = this.id ? ' id="' + _escape( idPrefix + this.id ) + '"' : '', - dfw = ( wp = window.wp ) && wp.editor && wp.editor.dfw; - - if ( this.id === 'fullscreen' ) { - return ''; - } else if ( this.id === 'dfw' ) { - active = dfw && dfw.isActive() ? '' : ' disabled="disabled"'; - on = dfw && dfw.isOn() ? ' active' : ''; - - return ''; - } - - return ''; - }; - qt.Button.prototype.callback = function(){}; - - // A button that inserts HTML tag. - qt.TagButton = function( id, display, tagStart, tagEnd, access, title, instance, attr ) { - var t = this; - qt.Button.call( t, id, display, access, title, instance, attr ); - t.tagStart = tagStart; - t.tagEnd = tagEnd; - }; - qt.TagButton.prototype = new qt.Button(); - qt.TagButton.prototype.openTag = function( element, ed ) { - if ( ! ed.openTags ) { - ed.openTags = []; - } - - if ( this.tagEnd ) { - ed.openTags.push( this.id ); - element.value = '/' + element.value; - - if ( this.attr.ariaLabelClose ) { - element.setAttribute( 'aria-label', this.attr.ariaLabelClose ); - } - } - }; - qt.TagButton.prototype.closeTag = function( element, ed ) { - var i = this.isOpen(ed); - - if ( i !== false ) { - ed.openTags.splice( i, 1 ); - } - - element.value = this.display; - - if ( this.attr.ariaLabel ) { - element.setAttribute( 'aria-label', this.attr.ariaLabel ); - } - }; - // Whether a tag is open or not. Returns false if not open, or current open depth of the tag. - qt.TagButton.prototype.isOpen = function (ed) { - var t = this, i = 0, ret = false; - if ( ed.openTags ) { - while ( ret === false && i < ed.openTags.length ) { - ret = ed.openTags[i] === t.id ? i : false; - i ++; - } - } else { - ret = false; - } - return ret; - }; - qt.TagButton.prototype.callback = function(element, canvas, ed) { - var t = this, startPos, endPos, cursorPos, scrollTop, v = canvas.value, l, r, i, sel, endTag = v ? t.tagEnd : '', event; - - if ( document.selection ) { // IE. - canvas.focus(); - sel = document.selection.createRange(); - if ( sel.text.length > 0 ) { - if ( !t.tagEnd ) { - sel.text = sel.text + t.tagStart; - } else { - sel.text = t.tagStart + sel.text + endTag; - } - } else { - if ( !t.tagEnd ) { - sel.text = t.tagStart; - } else if ( t.isOpen(ed) === false ) { - sel.text = t.tagStart; - t.openTag(element, ed); - } else { - sel.text = endTag; - t.closeTag(element, ed); - } - } - canvas.focus(); - } else if ( canvas.selectionStart || canvas.selectionStart === 0 ) { // FF, WebKit, Opera. - startPos = canvas.selectionStart; - endPos = canvas.selectionEnd; - - if ( startPos < endPos && v.charAt( endPos - 1 ) === '\n' ) { - endPos -= 1; - } - - cursorPos = endPos; - scrollTop = canvas.scrollTop; - l = v.substring(0, startPos); // Left of the selection. - r = v.substring(endPos, v.length); // Right of the selection. - i = v.substring(startPos, endPos); // Inside the selection. - if ( startPos !== endPos ) { - if ( !t.tagEnd ) { - canvas.value = l + i + t.tagStart + r; // Insert self-closing tags after the selection. - cursorPos += t.tagStart.length; - } else { - canvas.value = l + t.tagStart + i + endTag + r; - cursorPos += t.tagStart.length + endTag.length; - } - } else { - if ( !t.tagEnd ) { - canvas.value = l + t.tagStart + r; - cursorPos = startPos + t.tagStart.length; - } else if ( t.isOpen(ed) === false ) { - canvas.value = l + t.tagStart + r; - t.openTag(element, ed); - cursorPos = startPos + t.tagStart.length; - } else { - canvas.value = l + endTag + r; - cursorPos = startPos + endTag.length; - t.closeTag(element, ed); - } - } - - canvas.selectionStart = cursorPos; - canvas.selectionEnd = cursorPos; - canvas.scrollTop = scrollTop; - canvas.focus(); - } else { // Other browsers? - if ( !endTag ) { - canvas.value += t.tagStart; - } else if ( t.isOpen(ed) !== false ) { - canvas.value += t.tagStart; - t.openTag(element, ed); - } else { - canvas.value += endTag; - t.closeTag(element, ed); - } - canvas.focus(); - } - - if ( document.createEvent ) { - event = document.createEvent( 'HTMLEvents' ); - event.initEvent( 'change', false, true ); - canvas.dispatchEvent( event ); - } else if ( canvas.fireEvent ) { - canvas.fireEvent( 'onchange' ); - } - }; - - // Removed. - qt.SpellButton = function() {}; - - // The close tags button. - qt.CloseButton = function() { - qt.Button.call( this, 'close', quicktagsL10n.closeTags, '', quicktagsL10n.closeAllOpenTags ); - }; - - qt.CloseButton.prototype = new qt.Button(); - - qt._close = function(e, c, ed) { - var button, element, tbo = ed.openTags; - - if ( tbo ) { - while ( tbo.length > 0 ) { - button = ed.getButton(tbo[tbo.length - 1]); - element = document.getElementById(ed.name + '_' + button.id); - - if ( e ) { - button.callback.call(button, element, c, ed); - } else { - button.closeTag(element, ed); - } - } - } - }; - - qt.CloseButton.prototype.callback = qt._close; - - qt.closeAllTags = function( editor_id ) { - var ed = this.getInstance( editor_id ); - - if ( ed ) { - qt._close( '', ed.canvas, ed ); - } - }; - - // The link button. - qt.LinkButton = function() { - var attr = { - ariaLabel: quicktagsL10n.link - }; - - qt.TagButton.call( this, 'link', 'link', '', '', '', '', '', attr ); - }; - qt.LinkButton.prototype = new qt.TagButton(); - qt.LinkButton.prototype.callback = function(e, c, ed, defaultValue) { - var URL, t = this; - - if ( typeof wpLink !== 'undefined' ) { - wpLink.open( ed.id ); - return; - } - - if ( ! defaultValue ) { - defaultValue = 'http://'; - } - - if ( t.isOpen(ed) === false ) { - URL = prompt( quicktagsL10n.enterURL, defaultValue ); - if ( URL ) { - t.tagStart = ''; - qt.TagButton.prototype.callback.call(t, e, c, ed); - } - } else { - qt.TagButton.prototype.callback.call(t, e, c, ed); - } - }; - - // The img button. - qt.ImgButton = function() { - var attr = { - ariaLabel: quicktagsL10n.image - }; - - qt.TagButton.call( this, 'img', 'img', '', '', '', '', '', attr ); - }; - qt.ImgButton.prototype = new qt.TagButton(); - qt.ImgButton.prototype.callback = function(e, c, ed, defaultValue) { - if ( ! defaultValue ) { - defaultValue = 'http://'; - } - var src = prompt(quicktagsL10n.enterImageURL, defaultValue), alt; - if ( src ) { - alt = prompt(quicktagsL10n.enterImageDescription, ''); - this.tagStart = '' + alt + ''; - qt.TagButton.prototype.callback.call(this, e, c, ed); - } - }; - - qt.DFWButton = function() { - qt.Button.call( this, 'dfw', '', 'f', quicktagsL10n.dfw ); - }; - qt.DFWButton.prototype = new qt.Button(); - qt.DFWButton.prototype.callback = function() { - var wp; - - if ( ! ( wp = window.wp ) || ! wp.editor || ! wp.editor.dfw ) { - return; - } - - window.wp.editor.dfw.toggle(); - }; - - qt.TextDirectionButton = function() { - qt.Button.call( this, 'textdirection', quicktagsL10n.textdirection, '', quicktagsL10n.toggleTextdirection ); - }; - qt.TextDirectionButton.prototype = new qt.Button(); - qt.TextDirectionButton.prototype.callback = function(e, c) { - var isRTL = ( 'rtl' === document.getElementsByTagName('html')[0].dir ), - currentDirection = c.style.direction; - - if ( ! currentDirection ) { - currentDirection = ( isRTL ) ? 'rtl' : 'ltr'; - } - - c.style.direction = ( 'rtl' === currentDirection ) ? 'ltr' : 'rtl'; - c.focus(); - }; - - // Ensure backward compatibility. - edButtons[10] = new qt.TagButton( 'strong', 'b', '', '', '', '', '', { ariaLabel: quicktagsL10n.strong, ariaLabelClose: quicktagsL10n.strongClose } ); - edButtons[20] = new qt.TagButton( 'em', 'i', '', '', '', '', '', { ariaLabel: quicktagsL10n.em, ariaLabelClose: quicktagsL10n.emClose } ); - edButtons[30] = new qt.LinkButton(); // Special case. - edButtons[40] = new qt.TagButton( 'block', 'b-quote', '\n\n
    ', '
    \n\n', '', '', '', { ariaLabel: quicktagsL10n.blockquote, ariaLabelClose: quicktagsL10n.blockquoteClose } ); - edButtons[50] = new qt.TagButton( 'del', 'del', '', '', '', '', '', { ariaLabel: quicktagsL10n.del, ariaLabelClose: quicktagsL10n.delClose } ); - edButtons[60] = new qt.TagButton( 'ins', 'ins', '', '', '', '', '', { ariaLabel: quicktagsL10n.ins, ariaLabelClose: quicktagsL10n.insClose } ); - edButtons[70] = new qt.ImgButton(); // Special case. - edButtons[80] = new qt.TagButton( 'ul', 'ul', '
      \n', '
    \n\n', '', '', '', { ariaLabel: quicktagsL10n.ul, ariaLabelClose: quicktagsL10n.ulClose } ); - edButtons[90] = new qt.TagButton( 'ol', 'ol', '
      \n', '
    \n\n', '', '', '', { ariaLabel: quicktagsL10n.ol, ariaLabelClose: quicktagsL10n.olClose } ); - edButtons[100] = new qt.TagButton( 'li', 'li', '\t
  • ', '
  • \n', '', '', '', { ariaLabel: quicktagsL10n.li, ariaLabelClose: quicktagsL10n.liClose } ); - edButtons[110] = new qt.TagButton( 'code', 'code', '', '', '', '', '', { ariaLabel: quicktagsL10n.code, ariaLabelClose: quicktagsL10n.codeClose } ); - edButtons[120] = new qt.TagButton( 'more', 'more', '\n\n', '', '', '', '', { ariaLabel: quicktagsL10n.more } ); - edButtons[140] = new qt.CloseButton(); - -})(); - -/** - * Initialize new instance of the Quicktags editor - */ -window.quicktags = function(settings) { - return new window.QTags(settings); -}; - -/** - * Inserts content at the caret in the active editor (textarea) - * - * Added for back compatibility - * @see QTags.insertContent() - */ -window.edInsertContent = function(bah, txt) { - return window.QTags.insertContent(txt); -}; - -/** - * Adds a button to all instances of the editor - * - * Added for back compatibility, use QTags.addButton() as it gives more flexibility like type of button, button placement, etc. - * @see QTags.addButton() - */ -window.edButton = function(id, display, tagStart, tagEnd, access) { - return window.QTags.addButton( id, display, tagStart, tagEnd, access, '', -1 ); -}; diff --git a/build/wp-includes/js/quicktags.min.js b/build/wp-includes/js/quicktags.min.js deleted file mode 100644 index 6a6aa4380e..0000000000 --- a/build/wp-includes/js/quicktags.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -window.edButtons=[],window.edAddTag=function(){},window.edCheckOpenTags=function(){},window.edCloseAllTags=function(){},window.edInsertImage=function(){},window.edInsertLink=function(){},window.edInsertTag=function(){},window.edLink=function(){},window.edQuickLink=function(){},window.edRemoveTag=function(){},window.edShowButton=function(){},window.edShowLinks=function(){},window.edSpell=function(){},window.edToolbar=function(){},function(){function u(t){var e,n,o,a;"undefined"!=typeof jQuery?jQuery(t):((e=u).funcs=[],e.ready=function(){if(!e.isReady)for(e.isReady=!0,n=0;n/g,">").replace(/"/g,""").replace(/'/g,"'")}r.instances={},r.getInstance=function(t){return r.instances[t]},r._buttonsInit=function(t){var c=this;function e(t){var e,n,o=c.instances[t],a=(o.canvas,o.name),i=o.settings,s="",l={},u="";for(n in i.buttons&&(u=","+i.buttons+","),edButtons)edButtons[n]&&(e=edButtons[n].id,u&&-1!==",strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,".indexOf(","+e+",")&&-1===u.indexOf(","+e+",")||edButtons[n].instance&&edButtons[n].instance!==t||(l[e]=edButtons[n],edButtons[n].html&&(s+=edButtons[n].html(a+"_"))));u&&-1!==u.indexOf(",dfw,")&&(l.dfw=new r.DFWButton,s+=l.dfw.html(a+"_")),"rtl"===document.getElementsByTagName("html")[0].dir&&(l.textdirection=new r.TextDirectionButton,s+=l.textdirection.html(a+"_")),o.toolbar.innerHTML=s,o.theButtons=l,"undefined"!=typeof jQuery&&jQuery(document).triggerHandler("quicktags-init",[o])}if(t)e(t);else for(t in c.instances)e(t);c.buttonsInitDone=!0},r.addButton=function(t,e,n,o,a,i,s,l,u){var c;if(t&&e){if(s=s||0,o=o||"",u=u||{},"function"==typeof n)(c=new r.Button(t,e,a,i,l,u)).callback=n;else{if("string"!=typeof n)return;c=new r.TagButton(t,e,n,o,a,i,l,u)}if(-1===s)return c;if(0":"dfw"===this.id?(e=i&&i.isActive()?"":' disabled="disabled"','"):'"},r.Button.prototype.callback=function(){},r.TagButton=function(t,e,n,o,a,i,s,l){r.Button.call(this,t,e,a,i,s,l),this.tagStart=n,this.tagEnd=o},r.TagButton.prototype=new r.Button,r.TagButton.prototype.openTag=function(t,e){e.openTags||(e.openTags=[]),this.tagEnd&&(e.openTags.push(this.id),t.value="/"+t.value,this.attr.ariaLabelClose&&t.setAttribute("aria-label",this.attr.ariaLabelClose))},r.TagButton.prototype.closeTag=function(t,e){var n=this.isOpen(e);!1!==n&&e.openTags.splice(n,1),t.value=this.display,this.attr.ariaLabel&&t.setAttribute("aria-label",this.attr.ariaLabel)},r.TagButton.prototype.isOpen=function(t){var e=0,n=!1;if(t.openTags)for(;!1===n&&e","","","",t)},r.LinkButton.prototype=new r.TagButton,r.LinkButton.prototype.callback=function(t,e,n,o){"undefined"!=typeof wpLink?wpLink.open(n.id):(o=o||"http://",!1===this.isOpen(n)?(o=prompt(quicktagsL10n.enterURL,o))&&(this.tagStart='
    ',r.TagButton.prototype.callback.call(this,t,e,n)):r.TagButton.prototype.callback.call(this,t,e,n))},r.ImgButton=function(){var t={ariaLabel:quicktagsL10n.image};r.TagButton.call(this,"img","img","","","","","",t)},r.ImgButton.prototype=new r.TagButton,r.ImgButton.prototype.callback=function(t,e,n,o){o=o||"http://";var a,o=prompt(quicktagsL10n.enterImageURL,o);o&&(a=prompt(quicktagsL10n.enterImageDescription,""),this.tagStart=''+a+'',r.TagButton.prototype.callback.call(this,t,e,n))},r.DFWButton=function(){r.Button.call(this,"dfw","","f",quicktagsL10n.dfw)},r.DFWButton.prototype=new r.Button,r.DFWButton.prototype.callback=function(){var t;(t=window.wp)&&t.editor&&t.editor.dfw&&window.wp.editor.dfw.toggle()},r.TextDirectionButton=function(){r.Button.call(this,"textdirection",quicktagsL10n.textdirection,"",quicktagsL10n.toggleTextdirection)},r.TextDirectionButton.prototype=new r.Button,r.TextDirectionButton.prototype.callback=function(t,e){var n="rtl"===document.getElementsByTagName("html")[0].dir,o=(o=e.style.direction)||(n?"rtl":"ltr");e.style.direction="rtl"===o?"ltr":"rtl",e.focus()},edButtons[10]=new r.TagButton("strong","b","","","","","",{ariaLabel:quicktagsL10n.strong,ariaLabelClose:quicktagsL10n.strongClose}),edButtons[20]=new r.TagButton("em","i","","","","","",{ariaLabel:quicktagsL10n.em,ariaLabelClose:quicktagsL10n.emClose}),edButtons[30]=new r.LinkButton,edButtons[40]=new r.TagButton("block","b-quote","\n\n
    ","
    \n\n","","","",{ariaLabel:quicktagsL10n.blockquote,ariaLabelClose:quicktagsL10n.blockquoteClose}),edButtons[50]=new r.TagButton("del","del",'',"","","","",{ariaLabel:quicktagsL10n.del,ariaLabelClose:quicktagsL10n.delClose}),edButtons[60]=new r.TagButton("ins","ins",'',"","","","",{ariaLabel:quicktagsL10n.ins,ariaLabelClose:quicktagsL10n.insClose}),edButtons[70]=new r.ImgButton,edButtons[80]=new r.TagButton("ul","ul","
      \n","
    \n\n","","","",{ariaLabel:quicktagsL10n.ul,ariaLabelClose:quicktagsL10n.ulClose}),edButtons[90]=new r.TagButton("ol","ol","
      \n","
    \n\n","","","",{ariaLabel:quicktagsL10n.ol,ariaLabelClose:quicktagsL10n.olClose}),edButtons[100]=new r.TagButton("li","li","\t
  • ","
  • \n","","","",{ariaLabel:quicktagsL10n.li,ariaLabelClose:quicktagsL10n.liClose}),edButtons[110]=new r.TagButton("code","code","","","","","",{ariaLabel:quicktagsL10n.code,ariaLabelClose:quicktagsL10n.codeClose}),edButtons[120]=new r.TagButton("more","more","\x3c!--more--\x3e\n\n","","","","",{ariaLabel:quicktagsL10n.more}),edButtons[140]=new r.CloseButton}(),window.quicktags=function(t){return new window.QTags(t)},window.edInsertContent=function(t,e){return window.QTags.insertContent(e)},window.edButton=function(t,e,n,o,a){return window.QTags.addButton(t,e,n,o,a,"",-1)}; \ No newline at end of file diff --git a/build/wp-includes/js/shortcode.js b/build/wp-includes/js/shortcode.js deleted file mode 100644 index 1818d20c51..0000000000 --- a/build/wp-includes/js/shortcode.js +++ /dev/null @@ -1,387 +0,0 @@ -/** - * Utility functions for parsing and handling shortcodes in JavaScript. - * - * @output wp-includes/js/shortcode.js - */ - -/** - * Ensure the global `wp` object exists. - * - * @namespace wp - */ -window.wp = window.wp || {}; - -(function(){ - wp.shortcode = { - /* - * ### Find the next matching shortcode. - * - * Given a shortcode `tag`, a block of `text`, and an optional starting - * `index`, returns the next matching shortcode or `undefined`. - * - * Shortcodes are formatted as an object that contains the match - * `content`, the matching `index`, and the parsed `shortcode` object. - */ - next: function( tag, text, index ) { - var re = wp.shortcode.regexp( tag ), - match, result; - - re.lastIndex = index || 0; - match = re.exec( text ); - - if ( ! match ) { - return; - } - - // If we matched an escaped shortcode, try again. - if ( '[' === match[1] && ']' === match[7] ) { - return wp.shortcode.next( tag, text, re.lastIndex ); - } - - result = { - index: match.index, - content: match[0], - shortcode: wp.shortcode.fromMatch( match ) - }; - - // If we matched a leading `[`, strip it from the match - // and increment the index accordingly. - if ( match[1] ) { - result.content = result.content.slice( 1 ); - result.index++; - } - - // If we matched a trailing `]`, strip it from the match. - if ( match[7] ) { - result.content = result.content.slice( 0, -1 ); - } - - return result; - }, - - /* - * ### Replace matching shortcodes in a block of text. - * - * Accepts a shortcode `tag`, content `text` to scan, and a `callback` - * to process the shortcode matches and return a replacement string. - * Returns the `text` with all shortcodes replaced. - * - * Shortcode matches are objects that contain the shortcode `tag`, - * a shortcode `attrs` object, the `content` between shortcode tags, - * and a boolean flag to indicate if the match was a `single` tag. - */ - replace: function( tag, text, callback ) { - return text.replace( wp.shortcode.regexp( tag ), function( match, left, tag, attrs, slash, content, closing, right ) { - // If both extra brackets exist, the shortcode has been - // properly escaped. - if ( left === '[' && right === ']' ) { - return match; - } - - // Create the match object and pass it through the callback. - var result = callback( wp.shortcode.fromMatch( arguments ) ); - - // Make sure to return any of the extra brackets if they - // weren't used to escape the shortcode. - return result ? left + result + right : match; - }); - }, - - /* - * ### Generate a string from shortcode parameters. - * - * Creates a `wp.shortcode` instance and returns a string. - * - * Accepts the same `options` as the `wp.shortcode()` constructor, - * containing a `tag` string, a string or object of `attrs`, a boolean - * indicating whether to format the shortcode using a `single` tag, and a - * `content` string. - */ - string: function( options ) { - return new wp.shortcode( options ).string(); - }, - - /* - * ### Generate a RegExp to identify a shortcode. - * - * The base regex is functionally equivalent to the one found in - * `get_shortcode_regex()` in `wp-includes/shortcodes.php`. - * - * Capture groups: - * - * 1. An extra `[` to allow for escaping shortcodes with double `[[]]`. - * 2. The shortcode name. - * 3. The shortcode argument list. - * 4. The self closing `/`. - * 5. The content of a shortcode when it wraps some content. - * 6. The closing tag. - * 7. An extra `]` to allow for escaping shortcodes with double `[[]]`. - */ - regexp: _.memoize( function( tag ) { - return new RegExp( '\\[(\\[?)(' + tag + ')(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)', 'g' ); - }), - - - /* - * ### Parse shortcode attributes. - * - * Shortcodes accept many types of attributes. These can chiefly be - * divided into named and numeric attributes: - * - * Named attributes are assigned on a key/value basis, while numeric - * attributes are treated as an array. - * - * Named attributes can be formatted as either `name="value"`, - * `name='value'`, or `name=value`. Numeric attributes can be formatted - * as `"value"` or just `value`. - */ - attrs: _.memoize( function( text ) { - var named = {}, - numeric = [], - pattern, match; - - /* - * This regular expression is reused from `shortcode_parse_atts()` - * in `wp-includes/shortcodes.php`. - * - * Capture groups: - * - * 1. An attribute name, that corresponds to... - * 2. a value in double quotes. - * 3. An attribute name, that corresponds to... - * 4. a value in single quotes. - * 5. An attribute name, that corresponds to... - * 6. an unquoted value. - * 7. A numeric attribute in double quotes. - * 8. A numeric attribute in single quotes. - * 9. An unquoted numeric attribute. - */ - pattern = /([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g; - - // Map zero-width spaces to actual spaces. - text = text.replace( /[\u00a0\u200b]/g, ' ' ); - - // Match and normalize attributes. - while ( (match = pattern.exec( text )) ) { - if ( match[1] ) { - named[ match[1].toLowerCase() ] = match[2]; - } else if ( match[3] ) { - named[ match[3].toLowerCase() ] = match[4]; - } else if ( match[5] ) { - named[ match[5].toLowerCase() ] = match[6]; - } else if ( match[7] ) { - numeric.push( match[7] ); - } else if ( match[8] ) { - numeric.push( match[8] ); - } else if ( match[9] ) { - numeric.push( match[9] ); - } - } - - return { - named: named, - numeric: numeric - }; - }), - - /* - * ### Generate a Shortcode Object from a RegExp match. - * - * Accepts a `match` object from calling `regexp.exec()` on a `RegExp` - * generated by `wp.shortcode.regexp()`. `match` can also be set - * to the `arguments` from a callback passed to `regexp.replace()`. - */ - fromMatch: function( match ) { - var type; - - if ( match[4] ) { - type = 'self-closing'; - } else if ( match[6] ) { - type = 'closed'; - } else { - type = 'single'; - } - - return new wp.shortcode({ - tag: match[2], - attrs: match[3], - type: type, - content: match[5] - }); - } - }; - - - /* - * Shortcode Objects - * ----------------- - * - * Shortcode objects are generated automatically when using the main - * `wp.shortcode` methods: `next()`, `replace()`, and `string()`. - * - * To access a raw representation of a shortcode, pass an `options` object, - * containing a `tag` string, a string or object of `attrs`, a string - * indicating the `type` of the shortcode ('single', 'self-closing', - * or 'closed'), and a `content` string. - */ - wp.shortcode = _.extend( function( options ) { - _.extend( this, _.pick( options || {}, 'tag', 'attrs', 'type', 'content' ) ); - - var attrs = this.attrs; - - // Ensure we have a correctly formatted `attrs` object. - this.attrs = { - named: {}, - numeric: [] - }; - - if ( ! attrs ) { - return; - } - - // Parse a string of attributes. - if ( _.isString( attrs ) ) { - this.attrs = wp.shortcode.attrs( attrs ); - - // Identify a correctly formatted `attrs` object. - } else if ( _.difference( _.keys( attrs ), [ 'named', 'numeric' ] ).length === 0 ) { - this.attrs = _.defaults( attrs, this.attrs ); - - // Handle a flat object of attributes. - } else { - _.each( options.attrs, function( value, key ) { - this.set( key, value ); - }, this ); - } - }, wp.shortcode ); - - _.extend( wp.shortcode.prototype, { - /* - * ### Get a shortcode attribute. - * - * Automatically detects whether `attr` is named or numeric and routes - * it accordingly. - */ - get: function( attr ) { - return this.attrs[ _.isNumber( attr ) ? 'numeric' : 'named' ][ attr ]; - }, - - /* - * ### Set a shortcode attribute. - * - * Automatically detects whether `attr` is named or numeric and routes - * it accordingly. - */ - set: function( attr, value ) { - this.attrs[ _.isNumber( attr ) ? 'numeric' : 'named' ][ attr ] = value; - return this; - }, - - // ### Transform the shortcode match into a string. - string: function() { - var text = '[' + this.tag; - - _.each( this.attrs.numeric, function( value ) { - if ( /\s/.test( value ) ) { - text += ' "' + value + '"'; - } else { - text += ' ' + value; - } - }); - - _.each( this.attrs.named, function( value, name ) { - text += ' ' + name + '="' + value + '"'; - }); - - // If the tag is marked as `single` or `self-closing`, close the - // tag and ignore any additional content. - if ( 'single' === this.type ) { - return text + ']'; - } else if ( 'self-closing' === this.type ) { - return text + ' /]'; - } - - // Complete the opening tag. - text += ']'; - - if ( this.content ) { - text += this.content; - } - - // Add the closing tag. - return text + '[/' + this.tag + ']'; - } - }); -}()); - -/* - * HTML utility functions - * ---------------------- - * - * Experimental. These functions may change or be removed in the future. - */ -(function(){ - wp.html = _.extend( wp.html || {}, { - /* - * ### Parse HTML attributes. - * - * Converts `content` to a set of parsed HTML attributes. - * Utilizes `wp.shortcode.attrs( content )`, which is a valid superset of - * the HTML attribute specification. Reformats the attributes into an - * object that contains the `attrs` with `key:value` mapping, and a record - * of the attributes that were entered using `empty` attribute syntax (i.e. - * with no value). - */ - attrs: function( content ) { - var result, attrs; - - // If `content` ends in a slash, strip it. - if ( '/' === content[ content.length - 1 ] ) { - content = content.slice( 0, -1 ); - } - - result = wp.shortcode.attrs( content ); - attrs = result.named; - - _.each( result.numeric, function( key ) { - if ( /\s/.test( key ) ) { - return; - } - - attrs[ key ] = ''; - }); - - return attrs; - }, - - // ### Convert an HTML-representation of an object to a string. - string: function( options ) { - var text = '<' + options.tag, - content = options.content || ''; - - _.each( options.attrs, function( value, attr ) { - text += ' ' + attr; - - // Convert boolean values to strings. - if ( _.isBoolean( value ) ) { - value = value ? 'true' : 'false'; - } - - text += '="' + value + '"'; - }); - - // Return the result if it is a self-closing tag. - if ( options.single ) { - return text + ' />'; - } - - // Complete the opening tag. - text += '>'; - - // If `content` is an object, recursively call this function. - text += _.isObject( content ) ? wp.html.string( content ) : content; - - return text + ''; - } - }); -}()); diff --git a/build/wp-includes/js/shortcode.min.js b/build/wp-includes/js/shortcode.min.js deleted file mode 100644 index 65624ad6ab..0000000000 --- a/build/wp-includes/js/shortcode.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! This file is auto-generated */ -window.wp=window.wp||{},wp.shortcode={next:function(t,e,n){var s=wp.shortcode.regexp(t);if(s.lastIndex=n||0,n=s.exec(e))return"["===n[1]&&"]"===n[7]?wp.shortcode.next(t,e,s.lastIndex):(t={index:n.index,content:n[0],shortcode:wp.shortcode.fromMatch(n)},n[1]&&(t.content=t.content.slice(1),t.index++),n[7]&&(t.content=t.content.slice(0,-1)),t)},replace:function(t,e,h){return e.replace(wp.shortcode.regexp(t),function(t,e,n,s,r,o,i,c){var a;return("["!==e||"]"!==c)&&(a=h(wp.shortcode.fromMatch(arguments)))?e+a+c:t})},string:function(t){return new wp.shortcode(t).string()},regexp:_.memoize(function(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}),attrs:_.memoize(function(t){var e,n={},s=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(t=t.replace(/[\u00a0\u200b]/g," ");e=r.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?s.push(e[7]):e[8]?s.push(e[8]):e[9]&&s.push(e[9]);return{named:n,numeric:s}}),fromMatch:function(t){var e=t[4]?"self-closing":t[6]?"closed":"single";return new wp.shortcode({tag:t[2],attrs:t[3],type:e,content:t[5]})}},wp.shortcode=_.extend(function(t){_.extend(this,_.pick(t||{},"tag","attrs","type","content"));var e=this.attrs;this.attrs={named:{},numeric:[]},e&&(_.isString(e)?this.attrs=wp.shortcode.attrs(e):0===_.difference(_.keys(e),["named","numeric"]).length?this.attrs=_.defaults(e,this.attrs):_.each(t.attrs,function(t,e){this.set(e,t)},this))},wp.shortcode),_.extend(wp.shortcode.prototype,{get:function(t){return this.attrs[_.isNumber(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[_.isNumber(t)?"numeric":"named"][t]=e,this},string:function(){var n="["+this.tag;return _.each(this.attrs.numeric,function(t){/\s/.test(t)?n+=' "'+t+'"':n+=" "+t}),_.each(this.attrs.named,function(t,e){n+=" "+e+'="'+t+'"'}),"single"===this.type?n+"]":"self-closing"===this.type?n+" /]":(n+="]",this.content&&(n+=this.content),n+"[/"+this.tag+"]")}}),wp.html=_.extend(wp.html||{},{attrs:function(t){var e;return"/"===t[t.length-1]&&(t=t.slice(0,-1)),t=wp.shortcode.attrs(t),e=t.named,_.each(t.numeric,function(t){/\s/.test(t)||(e[t]="")}),e},string:function(t){var n="<"+t.tag,e=t.content||"";return _.each(t.attrs,function(t,e){n+=" "+e,_.isBoolean(t)&&(t=t?"true":"false"),n+='="'+t+'"'}),t.single?n+" />":(n=(n+=">")+(_.isObject(e)?wp.html.string(e):e))+""}}); \ No newline at end of file diff --git a/build/wp-includes/js/swfobject.js b/build/wp-includes/js/swfobject.js deleted file mode 100644 index 87e61553b3..0000000000 --- a/build/wp-includes/js/swfobject.js +++ /dev/null @@ -1,4 +0,0 @@ -/* SWFObject v2.2 - is released under the MIT License -*/ -var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad'}}aa.outerHTML='"+af+"";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab' ); - $form.attr( 'action', settings.upload_url ); - $form.insertAfter( $placeholder ).append( $placeholder ); - } - - $placeholder.replaceWith( - $( '
    ' ) - .append( - $( '' ).attr({ - name: settings.file_post_name || 'async-upload', - accepts: settings.file_types || '*.*' - }) - ).append( - $( '' ) - ) - ); - } - - try { - // Try the built-in fallback. - if ( typeof settings.swfupload_load_failed_handler === 'function' && settings.custom_settings ) { - - window.swfu = { - customSettings: settings.custom_settings - }; - - settings.swfupload_load_failed_handler(); - } else { - fallback(); - } - } catch ( ex ) { - fallback(); - } - }; - - SWFUpload.instances = {}; - SWFUpload.movieCount = 0; - SWFUpload.version = "0"; - SWFUpload.QUEUE_ERROR = {}; - SWFUpload.UPLOAD_ERROR = {}; - SWFUpload.FILE_STATUS = {}; - SWFUpload.BUTTON_ACTION = {}; - SWFUpload.CURSOR = {}; - SWFUpload.WINDOW_MODE = {}; - - SWFUpload.completeURL = noop; - SWFUpload.prototype.initSettings = noop; - SWFUpload.prototype.loadFlash = noop; - SWFUpload.prototype.getFlashHTML = noop; - SWFUpload.prototype.getFlashVars = noop; - SWFUpload.prototype.getMovieElement = noop; - SWFUpload.prototype.buildParamString = noop; - SWFUpload.prototype.destroy = noop; - SWFUpload.prototype.displayDebugInfo = noop; - SWFUpload.prototype.addSetting = noop; - SWFUpload.prototype.getSetting = noop; - SWFUpload.prototype.callFlash = noop; - SWFUpload.prototype.selectFile = noop; - SWFUpload.prototype.selectFiles = noop; - SWFUpload.prototype.startUpload = noop; - SWFUpload.prototype.cancelUpload = noop; - SWFUpload.prototype.stopUpload = noop; - SWFUpload.prototype.getStats = noop; - SWFUpload.prototype.setStats = noop; - SWFUpload.prototype.getFile = noop; - SWFUpload.prototype.addFileParam = noop; - SWFUpload.prototype.removeFileParam = noop; - SWFUpload.prototype.setUploadURL = noop; - SWFUpload.prototype.setPostParams = noop; - SWFUpload.prototype.addPostParam = noop; - SWFUpload.prototype.removePostParam = noop; - SWFUpload.prototype.setFileTypes = noop; - SWFUpload.prototype.setFileSizeLimit = noop; - SWFUpload.prototype.setFileUploadLimit = noop; - SWFUpload.prototype.setFileQueueLimit = noop; - SWFUpload.prototype.setFilePostName = noop; - SWFUpload.prototype.setUseQueryString = noop; - SWFUpload.prototype.setRequeueOnError = noop; - SWFUpload.prototype.setHTTPSuccess = noop; - SWFUpload.prototype.setAssumeSuccessTimeout = noop; - SWFUpload.prototype.setDebugEnabled = noop; - SWFUpload.prototype.setButtonImageURL = noop; - SWFUpload.prototype.setButtonDimensions = noop; - SWFUpload.prototype.setButtonText = noop; - SWFUpload.prototype.setButtonTextPadding = noop; - SWFUpload.prototype.setButtonTextStyle = noop; - SWFUpload.prototype.setButtonDisabled = noop; - SWFUpload.prototype.setButtonAction = noop; - SWFUpload.prototype.setButtonCursor = noop; - SWFUpload.prototype.queueEvent = noop; - SWFUpload.prototype.executeNextEvent = noop; - SWFUpload.prototype.unescapeFilePostParams = noop; - SWFUpload.prototype.testExternalInterface = noop; - SWFUpload.prototype.flashReady = noop; - SWFUpload.prototype.cleanUp = noop; - SWFUpload.prototype.fileDialogStart = noop; - SWFUpload.prototype.fileQueued = noop; - SWFUpload.prototype.fileQueueError = noop; - SWFUpload.prototype.fileDialogComplete = noop; - SWFUpload.prototype.uploadStart = noop; - SWFUpload.prototype.returnUploadStart = noop; - SWFUpload.prototype.uploadProgress = noop; - SWFUpload.prototype.uploadError = noop; - SWFUpload.prototype.uploadSuccess = noop; - SWFUpload.prototype.uploadComplete = noop; - SWFUpload.prototype.debug = noop; - SWFUpload.prototype.debugMessage = noop; - SWFUpload.Console = { - writeLine: noop - }; -}() ); diff --git a/build/wp-includes/js/thickbox/loadingAnimation.gif b/build/wp-includes/js/thickbox/loadingAnimation.gif deleted file mode 100644 index 030d4de59d..0000000000 Binary files a/build/wp-includes/js/thickbox/loadingAnimation.gif and /dev/null differ diff --git a/build/wp-includes/js/thickbox/macFFBgHack.png b/build/wp-includes/js/thickbox/macFFBgHack.png deleted file mode 100644 index a032659389..0000000000 Binary files a/build/wp-includes/js/thickbox/macFFBgHack.png and /dev/null differ diff --git a/build/wp-includes/js/thickbox/thickbox.css b/build/wp-includes/js/thickbox/thickbox.css deleted file mode 100644 index c884f03fbe..0000000000 --- a/build/wp-includes/js/thickbox/thickbox.css +++ /dev/null @@ -1,156 +0,0 @@ -#TB_overlay { - background: #000; - opacity: 0.7; - filter: alpha(opacity=70); - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 100050; /* Above DFW. */ -} - -#TB_window { - position: fixed; - background-color: #fff; - z-index: 100050; /* Above DFW. */ - visibility: hidden; - text-align: left; - top: 50%; - left: 50%; - -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); - box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -} - -#TB_window img#TB_Image { - display: block; - margin: 15px 0 0 15px; - border-right: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-top: 1px solid #666; - border-left: 1px solid #666; -} - -#TB_caption{ - height: 25px; - padding: 7px 30px 10px 25px; - float: left; -} - -#TB_closeWindow { - height: 25px; - padding: 11px 25px 10px 0; - float: right; -} - -#TB_closeWindowButton { - position: absolute; - left: auto; - right: 0; - width: 29px; - height: 29px; - border: 0; - padding: 0; - background: none; - cursor: pointer; - outline: none; - -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; - transition: color .1s ease-in-out, background .1s ease-in-out; -} - -#TB_ajaxWindowTitle { - float: left; - font-weight: 600; - line-height: 29px; - overflow: hidden; - padding: 0 29px 0 10px; - text-overflow: ellipsis; - white-space: nowrap; - width: calc( 100% - 39px ); -} - -#TB_title { - background: #fcfcfc; - border-bottom: 1px solid #ddd; - height: 29px; -} - -#TB_ajaxContent { - clear: both; - padding: 2px 15px 15px 15px; - overflow: auto; - text-align: left; - line-height: 1.4em; -} - -#TB_ajaxContent.TB_modal { - padding: 15px; -} - -#TB_ajaxContent p { - padding: 5px 0px 5px 0px; -} - -#TB_load { - position: fixed; - display: none; - z-index: 100050; - top: 50%; - left: 50%; - background-color: #E8E8E8; - border: 1px solid #555; - margin: -45px 0 0 -125px; - padding: 40px 15px 15px; -} - -#TB_HideSelect { - z-index: 99; - position: fixed; - top: 0; - left: 0; - background-color: #fff; - border: none; - filter: alpha(opacity=0); - opacity: 0; - height: 100%; - width: 100%; -} - -#TB_iframeContent { - clear: both; - border: none; -} - -.tb-close-icon { - display: block; - color: #666; - text-align: center; - line-height: 29px; - width: 29px; - height: 29px; - position: absolute; - top: 0; - right: 0; -} - -.tb-close-icon:before { - content: "\f158"; - font: normal 20px/29px dashicons; - speak: never; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -#TB_closeWindowButton:hover .tb-close-icon, -#TB_closeWindowButton:focus .tb-close-icon { - color: #006799; -} - -#TB_closeWindowButton:focus .tb-close-icon { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); -} diff --git a/build/wp-includes/js/thickbox/thickbox.js b/build/wp-includes/js/thickbox/thickbox.js deleted file mode 100644 index 5470467a1e..0000000000 --- a/build/wp-includes/js/thickbox/thickbox.js +++ /dev/null @@ -1,344 +0,0 @@ -/* - * Thickbox 3.1 - One Box To Rule Them All. - * By Cody Lindley (http://www.codylindley.com) - * Copyright (c) 2007 cody lindley - * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php -*/ - -if ( typeof tb_pathToImage != 'string' ) { - var tb_pathToImage = thickboxL10n.loadingAnimation; -} - -/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ - -//on page load call tb_init -jQuery(document).ready(function(){ - tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox - imgLoader = new Image();// preload image - imgLoader.src = tb_pathToImage; -}); - -/* - * Add thickbox to href & area elements that have a class of .thickbox. - * Remove the loading indicator when content in an iframe has loaded. - */ -function tb_init(domChunk){ - jQuery( 'body' ) - .on( 'click', domChunk, tb_click ) - .on( 'thickbox:iframe:loaded', function() { - jQuery( '#TB_window' ).removeClass( 'thickbox-loading' ); - }); -} - -function tb_click(){ - var t = this.title || this.name || null; - var a = this.href || this.alt; - var g = this.rel || false; - tb_show(t,a,g); - this.blur(); - return false; -} - -function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link - - var $closeBtn; - - try { - if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 - jQuery("body","html").css({height: "100%", width: "100%"}); - jQuery("html").css("overflow","hidden"); - if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 - jQuery("body").append("
    "); - jQuery("#TB_overlay").on( 'click', tb_remove ); - } - }else{//all others - if(document.getElementById("TB_overlay") === null){ - jQuery("body").append("
    "); - jQuery("#TB_overlay").on( 'click', tb_remove ); - jQuery( 'body' ).addClass( 'modal-open' ); - } - } - - if(tb_detectMacXFF()){ - jQuery("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash - }else{ - jQuery("#TB_overlay").addClass("TB_overlayBG");//use background and opacity - } - - if(caption===null){caption="";} - jQuery("body").append("
    ");//add loader to the page - jQuery('#TB_load').show();//show loader - - var baseURL; - if(url.indexOf("?")!==-1){ //ff there is a query string involved - baseURL = url.substr(0, url.indexOf("?")); - }else{ - baseURL = url; - } - - var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$|\.webp$/; - var urlType = baseURL.toLowerCase().match(urlString); - - if(urlType == '.jpg' || - urlType == '.jpeg' || - urlType == '.png' || - urlType == '.gif' || - urlType == '.bmp' || - urlType == '.webp' - ){//code to show images - - TB_PrevCaption = ""; - TB_PrevURL = ""; - TB_PrevHTML = ""; - TB_NextCaption = ""; - TB_NextURL = ""; - TB_NextHTML = ""; - TB_imageCount = ""; - TB_FoundURL = false; - if(imageGroup){ - TB_TempArray = jQuery("a[rel="+imageGroup+"]").get(); - for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { - var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); - if (!(TB_TempArray[TB_Counter].href == url)) { - if (TB_FoundURL) { - TB_NextCaption = TB_TempArray[TB_Counter].title; - TB_NextURL = TB_TempArray[TB_Counter].href; - TB_NextHTML = "  
    "+thickboxL10n.next+""; - } else { - TB_PrevCaption = TB_TempArray[TB_Counter].title; - TB_PrevURL = TB_TempArray[TB_Counter].href; - TB_PrevHTML = "  "+thickboxL10n.prev+""; - } - } else { - TB_FoundURL = true; - TB_imageCount = thickboxL10n.image + ' ' + (TB_Counter + 1) + ' ' + thickboxL10n.of + ' ' + (TB_TempArray.length); - } - } - } - - imgPreloader = new Image(); - imgPreloader.onload = function(){ - imgPreloader.onload = null; - - // Resizing large images - original by Christian Montoya edited by me. - var pagesize = tb_getPageSize(); - var x = pagesize[0] - 150; - var y = pagesize[1] - 150; - var imageWidth = imgPreloader.width; - var imageHeight = imgPreloader.height; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - } - } else if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - } - } - // End Resizing - - TB_WIDTH = imageWidth + 30; - TB_HEIGHT = imageHeight + 60; - jQuery("#TB_window").append(""+thickboxL10n.close+""+caption+"" + "
    "+caption+"
    " + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
    "); - - jQuery("#TB_closeWindowButton").on( 'click', tb_remove ); - - if (!(TB_PrevHTML === "")) { - function goPrev(){ - if(jQuery(document).off("click",goPrev)){jQuery(document).off("click",goPrev);} - jQuery("#TB_window").remove(); - jQuery("body").append("
    "); - tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); - return false; - } - jQuery("#TB_prev").on( 'click', goPrev ); - } - - if (!(TB_NextHTML === "")) { - function goNext(){ - jQuery("#TB_window").remove(); - jQuery("body").append("
    "); - tb_show(TB_NextCaption, TB_NextURL, imageGroup); - return false; - } - jQuery("#TB_next").on( 'click', goNext ); - - } - - jQuery(document).on('keydown.thickbox', function(e){ - if ( e.which == 27 ){ // close - tb_remove(); - - } else if ( e.which == 190 ){ // display previous image - if(!(TB_NextHTML == "")){ - jQuery(document).off('thickbox'); - goNext(); - } - } else if ( e.which == 188 ){ // display next image - if(!(TB_PrevHTML == "")){ - jQuery(document).off('thickbox'); - goPrev(); - } - } - return false; - }); - - tb_position(); - jQuery("#TB_load").remove(); - jQuery("#TB_ImageOff").on( 'click', tb_remove ); - jQuery("#TB_window").css({'visibility':'visible'}); //for safari using css instead of show - }; - - imgPreloader.src = url; - }else{//code to show html - - var queryString = url.replace(/^[^\?]+\??/,''); - var params = tb_parseQuery( queryString ); - - TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no parameters were added to URL - TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no parameters were added to URL - ajaxContentW = TB_WIDTH - 30; - ajaxContentH = TB_HEIGHT - 45; - - if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window - urlNoQuery = url.split('TB_'); - jQuery("#TB_iframeContent").remove(); - if(params['modal'] != "true"){//iframe no modal - jQuery("#TB_window").append("
    "+caption+"
    "); - }else{//iframe modal - jQuery("#TB_overlay").off(); - jQuery("#TB_window").append(""); - } - }else{// not an iframe, ajax - if(jQuery("#TB_window").css("visibility") != "visible"){ - if(params['modal'] != "true"){//ajax no modal - jQuery("#TB_window").append("
    "+caption+"
    "); - }else{//ajax modal - jQuery("#TB_overlay").off(); - jQuery("#TB_window").append("
    "); - } - }else{//this means the window is already up, we are just loading new content via ajax - jQuery("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; - jQuery("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; - jQuery("#TB_ajaxContent")[0].scrollTop = 0; - jQuery("#TB_ajaxWindowTitle").html(caption); - } - } - - jQuery("#TB_closeWindowButton").on( 'click', tb_remove ); - - if(url.indexOf('TB_inline') != -1){ - jQuery("#TB_ajaxContent").append(jQuery('#' + params['inlineId']).children()); - jQuery("#TB_window").on('tb_unload', function () { - jQuery('#' + params['inlineId']).append( jQuery("#TB_ajaxContent").children() ); // move elements back when you're finished - }); - tb_position(); - jQuery("#TB_load").remove(); - jQuery("#TB_window").css({'visibility':'visible'}); - }else if(url.indexOf('TB_iframe') != -1){ - tb_position(); - jQuery("#TB_load").remove(); - jQuery("#TB_window").css({'visibility':'visible'}); - }else{ - var load_url = url; - load_url += -1 === url.indexOf('?') ? '?' : '&'; - jQuery("#TB_ajaxContent").load(load_url += "random=" + (new Date().getTime()),function(){//to do a post change this load method - tb_position(); - jQuery("#TB_load").remove(); - tb_init("#TB_ajaxContent a.thickbox"); - jQuery("#TB_window").css({'visibility':'visible'}); - }); - } - - } - - if(!params['modal']){ - jQuery(document).on('keydown.thickbox', function(e){ - if ( e.which == 27 ){ // close - tb_remove(); - return false; - } - }); - } - - $closeBtn = jQuery( '#TB_closeWindowButton' ); - /* - * If the native Close button icon is visible, move focus on the button - * (e.g. in the Network Admin Themes screen). - * In other admin screens is hidden and replaced by a different icon. - */ - if ( $closeBtn.find( '.tb-close-icon' ).is( ':visible' ) ) { - $closeBtn.trigger( 'focus' ); - } - - } catch(e) { - //nothing here - } -} - -//helper functions below -function tb_showIframe(){ - jQuery("#TB_load").remove(); - jQuery("#TB_window").css({'visibility':'visible'}).trigger( 'thickbox:iframe:loaded' ); -} - -function tb_remove() { - jQuery("#TB_imageOff").off("click"); - jQuery("#TB_closeWindowButton").off("click"); - jQuery( '#TB_window' ).fadeOut( 'fast', function() { - jQuery( '#TB_window, #TB_overlay, #TB_HideSelect' ).trigger( 'tb_unload' ).off().remove(); - jQuery( 'body' ).trigger( 'thickbox:removed' ); - }); - jQuery( 'body' ).removeClass( 'modal-open' ); - jQuery("#TB_load").remove(); - if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 - jQuery("body","html").css({height: "auto", width: "auto"}); - jQuery("html").css("overflow",""); - } - jQuery(document).off('.thickbox'); - return false; -} - -function tb_position() { -var isIE6 = typeof document.body.style.maxHeight === "undefined"; -jQuery("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); - if ( ! isIE6 ) { // take away IE6 - jQuery("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); - } -} - -function tb_parseQuery ( query ) { - var Params = {}; - if ( ! query ) {return Params;}// return empty object - var Pairs = query.split(/[;&]/); - for ( var i = 0; i < Pairs.length; i++ ) { - var KeyVal = Pairs[i].split('='); - if ( ! KeyVal || KeyVal.length != 2 ) {continue;} - var key = unescape( KeyVal[0] ); - var val = unescape( KeyVal[1] ); - val = val.replace(/\+/g, ' '); - Params[key] = val; - } - return Params; -} - -function tb_getPageSize(){ - var de = document.documentElement; - var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; - var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; - arrayPageSize = [w,h]; - return arrayPageSize; -} - -function tb_detectMacXFF() { - var userAgent = navigator.userAgent.toLowerCase(); - if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { - return true; - } -} diff --git a/build/wp-includes/js/tinymce/langs/wp-langs-en.js b/build/wp-includes/js/tinymce/langs/wp-langs-en.js deleted file mode 100644 index c3ddbb3332..0000000000 --- a/build/wp-includes/js/tinymce/langs/wp-langs-en.js +++ /dev/null @@ -1,516 +0,0 @@ -/** - * TinyMCE 3.x language strings - * - * Loaded only when external plugins are added to TinyMCE. - */ -( function() { - var main = {}, lang = 'en'; - - if ( typeof tinyMCEPreInit !== 'undefined' && tinyMCEPreInit.ref.language !== 'en' ) { - lang = tinyMCEPreInit.ref.language; - } - - main[lang] = { - common: { - edit_confirm: "Do you want to use the WYSIWYG mode for this textarea?", - apply: "Apply", - insert: "Insert", - update: "Update", - cancel: "Cancel", - close: "Close", - browse: "Browse", - class_name: "Class", - not_set: "-- Not set --", - clipboard_msg: "Copy/Cut/Paste is not available in Mozilla and Firefox.", - clipboard_no_support: "Currently not supported by your browser, use keyboard shortcuts instead.", - popup_blocked: "Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.", - invalid_data: "Error: Invalid values entered, these are marked in red.", - invalid_data_number: "{#field} must be a number", - invalid_data_min: "{#field} must be a number greater than {#min}", - invalid_data_size: "{#field} must be a number or percentage", - more_colors: "More colors" - }, - colors: { - "000000": "Black", - "993300": "Burnt orange", - "333300": "Dark olive", - "003300": "Dark green", - "003366": "Dark azure", - "000080": "Navy Blue", - "333399": "Indigo", - "333333": "Very dark gray", - "800000": "Maroon", - "FF6600": "Orange", - "808000": "Olive", - "008000": "Green", - "008080": "Teal", - "0000FF": "Blue", - "666699": "Grayish blue", - "808080": "Gray", - "FF0000": "Red", - "FF9900": "Amber", - "99CC00": "Yellow green", - "339966": "Sea green", - "33CCCC": "Turquoise", - "3366FF": "Royal blue", - "800080": "Purple", - "999999": "Medium gray", - "FF00FF": "Magenta", - "FFCC00": "Gold", - "FFFF00": "Yellow", - "00FF00": "Lime", - "00FFFF": "Aqua", - "00CCFF": "Sky blue", - "993366": "Brown", - "C0C0C0": "Silver", - "FF99CC": "Pink", - "FFCC99": "Peach", - "FFFF99": "Light yellow", - "CCFFCC": "Pale green", - "CCFFFF": "Pale cyan", - "99CCFF": "Light sky blue", - "CC99FF": "Plum", - "FFFFFF": "White" - }, - contextmenu: { - align: "Alignment", - left: "Left", - center: "Center", - right: "Right", - full: "Full" - }, - insertdatetime: { - date_fmt: "%Y-%m-%d", - time_fmt: "%H:%M:%S", - insertdate_desc: "Insert date", - inserttime_desc: "Insert time", - months_long: "January,February,March,April,May,June,July,August,September,October,November,December", - months_short: "Jan_January_abbreviation,Feb_February_abbreviation,Mar_March_abbreviation,Apr_April_abbreviation,May_May_abbreviation,Jun_June_abbreviation,Jul_July_abbreviation,Aug_August_abbreviation,Sep_September_abbreviation,Oct_October_abbreviation,Nov_November_abbreviation,Dec_December_abbreviation", - day_long: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday", - day_short: "Sun,Mon,Tue,Wed,Thu,Fri,Sat" - }, - print: { - print_desc: "Print" - }, - preview: { - preview_desc: "Preview" - }, - directionality: { - ltr_desc: "Direction left to right", - rtl_desc: "Direction right to left" - }, - layer: { - insertlayer_desc: "Insert new layer", - forward_desc: "Move forward", - backward_desc: "Move backward", - absolute_desc: "Toggle absolute positioning", - content: "New layer..." - }, - save: { - save_desc: "Save", - cancel_desc: "Cancel all changes" - }, - nonbreaking: { - nonbreaking_desc: "Insert non-breaking space character" - }, - iespell: { - iespell_desc: "Run spell checking", - download: "ieSpell not detected. Do you want to install it now?" - }, - advhr: { - advhr_desc: "Horizontal rule" - }, - emotions: { - emotions_desc: "Emotions" - }, - searchreplace: { - search_desc: "Find", - replace_desc: "Find/Replace" - }, - advimage: { - image_desc: "Insert/edit image" - }, - advlink: { - link_desc: "Insert/edit link" - }, - xhtmlxtras: { - cite_desc: "Citation", - abbr_desc: "Abbreviation", - acronym_desc: "Acronym", - del_desc: "Deletion", - ins_desc: "Insertion", - attribs_desc: "Insert/Edit Attributes" - }, - style: { - desc: "Edit CSS Style" - }, - paste: { - paste_text_desc: "Paste as Plain Text", - paste_word_desc: "Paste from Word", - selectall_desc: "Select All", - plaintext_mode_sticky: "Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.", - plaintext_mode: "Paste is now in plain text mode. Click again to toggle back to regular paste mode." - }, - paste_dlg: { - text_title: "Use Ctrl + V on your keyboard to paste the text into the window.", - text_linebreaks: "Keep linebreaks", - word_title: "Use Ctrl + V on your keyboard to paste the text into the window." - }, - table: { - desc: "Inserts a new table", - row_before_desc: "Insert row before", - row_after_desc: "Insert row after", - delete_row_desc: "Delete row", - col_before_desc: "Insert column before", - col_after_desc: "Insert column after", - delete_col_desc: "Remove column", - split_cells_desc: "Split merged table cells", - merge_cells_desc: "Merge table cells", - row_desc: "Table row properties", - cell_desc: "Table cell properties", - props_desc: "Table properties", - paste_row_before_desc: "Paste table row before", - paste_row_after_desc: "Paste table row after", - cut_row_desc: "Cut table row", - copy_row_desc: "Copy table row", - del: "Delete table", - row: "Row", - col: "Column", - cell: "Cell" - }, - autosave: { - unload_msg: "The changes you made will be lost if you navigate away from this page." - }, - fullscreen: { - desc: "Toggle fullscreen mode (Alt + Shift + G)" - }, - media: { - desc: "Insert / edit embedded media", - edit: "Edit embedded media" - }, - fullpage: { - desc: "Document properties" - }, - template: { - desc: "Insert predefined template content" - }, - visualchars: { - desc: "Visual control characters on/off." - }, - spellchecker: { - desc: "Toggle spellchecker (Alt + Shift + N)", - menu: "Spellchecker settings", - ignore_word: "Ignore word", - ignore_words: "Ignore all", - langs: "Languages", - wait: "Please wait...", - sug: "Suggestions", - no_sug: "No suggestions", - no_mpell: "No misspellings found.", - learn_word: "Learn word" - }, - pagebreak: { - desc: "Insert Page Break" - }, - advlist:{ - types: "Types", - def: "Default", - lower_alpha: "Lower alpha", - lower_greek: "Lower greek", - lower_roman: "Lower roman", - upper_alpha: "Upper alpha", - upper_roman: "Upper roman", - circle: "Circle", - disc: "Disc", - square: "Square" - }, - aria: { - rich_text_area: "Rich Text Area" - }, - wordcount:{ - words: "Words: " - } - }; - - tinyMCE.addI18n( main ); - - tinyMCE.addI18n( lang + ".advanced", { - style_select: "Styles", - font_size: "Font size", - fontdefault: "Font family", - block: "Format", - paragraph: "Paragraph", - div: "Div", - address: "Address", - pre: "Preformatted", - h1: "Heading 1", - h2: "Heading 2", - h3: "Heading 3", - h4: "Heading 4", - h5: "Heading 5", - h6: "Heading 6", - blockquote: "Blockquote", - code: "Code", - samp: "Code sample", - dt: "Definition term ", - dd: "Definition description", - bold_desc: "Bold (Ctrl + B)", - italic_desc: "Italic (Ctrl + I)", - underline_desc: "Underline", - striketrough_desc: "Strikethrough (Alt + Shift + D)", - justifyleft_desc: "Align Left (Alt + Shift + L)", - justifycenter_desc: "Align Center (Alt + Shift + C)", - justifyright_desc: "Align Right (Alt + Shift + R)", - justifyfull_desc: "Align Full (Alt + Shift + J)", - bullist_desc: "Unordered list (Alt + Shift + U)", - numlist_desc: "Ordered list (Alt + Shift + O)", - outdent_desc: "Outdent", - indent_desc: "Indent", - undo_desc: "Undo (Ctrl + Z)", - redo_desc: "Redo (Ctrl + Y)", - link_desc: "Insert/edit link (Alt + Shift + A)", - unlink_desc: "Unlink (Alt + Shift + S)", - image_desc: "Insert/edit image (Alt + Shift + M)", - cleanup_desc: "Cleanup messy code", - code_desc: "Edit HTML Source", - sub_desc: "Subscript", - sup_desc: "Superscript", - hr_desc: "Insert horizontal ruler", - removeformat_desc: "Remove formatting", - forecolor_desc: "Select text color", - backcolor_desc: "Select background color", - charmap_desc: "Insert custom character", - visualaid_desc: "Toggle guidelines/invisible elements", - anchor_desc: "Insert/edit anchor", - cut_desc: "Cut", - copy_desc: "Copy", - paste_desc: "Paste", - image_props_desc: "Image properties", - newdocument_desc: "New document", - help_desc: "Help", - blockquote_desc: "Blockquote (Alt + Shift + Q)", - clipboard_msg: "Copy/Cut/Paste is not available in Mozilla and Firefox.", - path: "Path", - newdocument: "Are you sure you want to clear all contents?", - toolbar_focus: "Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X", - more_colors: "More colors", - shortcuts_desc: "Accessibility Help", - help_shortcut: " Press ALT F10 for toolbar. Press ALT 0 for help.", - rich_text_area: "Rich Text Area", - toolbar: "Toolbar" - }); - - tinyMCE.addI18n( lang + ".advanced_dlg", { - about_title: "About TinyMCE", - about_general: "About", - about_help: "Help", - about_license: "License", - about_plugins: "Plugins", - about_plugin: "Plugin", - about_author: "Author", - about_version: "Version", - about_loaded: "Loaded plugins", - anchor_title: "Insert/edit anchor", - anchor_name: "Anchor name", - code_title: "HTML Source Editor", - code_wordwrap: "Word wrap", - colorpicker_title: "Select a color", - colorpicker_picker_tab: "Picker", - colorpicker_picker_title: "Color picker", - colorpicker_palette_tab: "Palette", - colorpicker_palette_title: "Palette colors", - colorpicker_named_tab: "Named", - colorpicker_named_title: "Named colors", - colorpicker_color: "Color: ", - colorpicker_name: "Name: ", - charmap_title: "Select custom character", - charmap_usage: "Use left and right arrows to navigate.", - image_title: "Insert/edit image", - image_src: "Image URL", - image_alt: "Image description", - image_list: "Image list", - image_border: "Border", - image_dimensions: "Dimensions", - image_vspace: "Vertical space", - image_hspace: "Horizontal space", - image_align: "Alignment", - image_align_baseline: "Baseline", - image_align_top: "Top", - image_align_middle: "Middle", - image_align_bottom: "Bottom", - image_align_texttop: "Text top", - image_align_textbottom: "Text bottom", - image_align_left: "Left", - image_align_right: "Right", - link_title: "Insert/edit link", - link_url: "Link URL", - link_target: "Target", - link_target_same: "Open link in the same window", - link_target_blank: "Open link in a new window", - link_titlefield: "Title", - link_is_email: "The URL you entered seems to be an email address, do you want to add the required mailto: prefix?", - link_is_external: "The URL you entered seems to be an external link, do you want to add the required http:// prefix?", - link_list: "Link list", - accessibility_help: "Accessibility Help", - accessibility_usage_title: "General Usage" - }); - - tinyMCE.addI18n( lang + ".media_dlg", { - title: "Insert / edit embedded media", - general: "General", - advanced: "Advanced", - file: "File/URL", - list: "List", - size: "Dimensions", - preview: "Preview", - constrain_proportions: "Constrain proportions", - type: "Type", - id: "Id", - name: "Name", - class_name: "Class", - vspace: "V-Space", - hspace: "H-Space", - play: "Auto play", - loop: "Loop", - menu: "Show menu", - quality: "Quality", - scale: "Scale", - align: "Align", - salign: "SAlign", - wmode: "WMode", - bgcolor: "Background", - base: "Base", - flashvars: "Flashvars", - liveconnect: "SWLiveConnect", - autohref: "AutoHREF", - cache: "Cache", - hidden: "Hidden", - controller: "Controller", - kioskmode: "Kiosk mode", - playeveryframe: "Play every frame", - targetcache: "Target cache", - correction: "No correction", - enablejavascript: "Enable JavaScript", - starttime: "Start time", - endtime: "End time", - href: "href", - qtsrcchokespeed: "Choke speed", - target: "Target", - volume: "Volume", - autostart: "Auto start", - enabled: "Enabled", - fullscreen: "Fullscreen", - invokeurls: "Invoke URLs", - mute: "Mute", - stretchtofit: "Stretch to fit", - windowlessvideo: "Windowless video", - balance: "Balance", - baseurl: "Base URL", - captioningid: "Captioning id", - currentmarker: "Current marker", - currentposition: "Current position", - defaultframe: "Default frame", - playcount: "Play count", - rate: "Rate", - uimode: "UI Mode", - flash_options: "Flash options", - qt_options: "QuickTime options", - wmp_options: "Windows media player options", - rmp_options: "Real media player options", - shockwave_options: "Shockwave options", - autogotourl: "Auto goto URL", - center: "Center", - imagestatus: "Image status", - maintainaspect: "Maintain aspect", - nojava: "No java", - prefetch: "Prefetch", - shuffle: "Shuffle", - console: "Console", - numloop: "Num loops", - controls: "Controls", - scriptcallbacks: "Script callbacks", - swstretchstyle: "Stretch style", - swstretchhalign: "Stretch H-Align", - swstretchvalign: "Stretch V-Align", - sound: "Sound", - progress: "Progress", - qtsrc: "QT Src", - qt_stream_warn: "Streamed rtsp resources should be added to the QT Src field under the advanced tab.", - align_top: "Top", - align_right: "Right", - align_bottom: "Bottom", - align_left: "Left", - align_center: "Center", - align_top_left: "Top left", - align_top_right: "Top right", - align_bottom_left: "Bottom left", - align_bottom_right: "Bottom right", - flv_options: "Flash video options", - flv_scalemode: "Scale mode", - flv_buffer: "Buffer", - flv_startimage: "Start image", - flv_starttime: "Start time", - flv_defaultvolume: "Default volume", - flv_hiddengui: "Hidden GUI", - flv_autostart: "Auto start", - flv_loop: "Loop", - flv_showscalemodes: "Show scale modes", - flv_smoothvideo: "Smooth video", - flv_jscallback: "JS Callback", - html5_video_options: "HTML5 Video Options", - altsource1: "Alternative source 1", - altsource2: "Alternative source 2", - preload: "Preload", - poster: "Poster", - source: "Source" - }); - - tinyMCE.addI18n( lang + ".wordpress", { - wp_adv_desc: "Show/Hide Kitchen Sink (Alt + Shift + Z)", - wp_more_desc: "Insert More Tag (Alt + Shift + T)", - wp_page_desc: "Insert Page break (Alt + Shift + P)", - wp_help_desc: "Help (Alt + Shift + H)", - wp_more_alt: "More...", - wp_page_alt: "Next page...", - add_media: "Add Media", - add_image: "Add an Image", - add_video: "Add Video", - add_audio: "Add Audio", - editgallery: "Edit Gallery", - delgallery: "Delete Gallery", - wp_fullscreen_desc: "Distraction-free writing mode (Alt + Shift + W)" - }); - - tinyMCE.addI18n( lang + ".wpeditimage", { - edit_img: "Edit Image", - del_img: "Delete Image", - adv_settings: "Advanced Settings", - none: "None", - size: "Size", - thumbnail: "Thumbnail", - medium: "Medium", - full_size: "Full Size", - current_link: "Current Link", - link_to_img: "Link to Image", - link_help: "Enter a link URL or click above for presets.", - adv_img_settings: "Advanced Image Settings", - source: "Source", - width: "Width", - height: "Height", - orig_size: "Original Size", - css: "CSS Class", - adv_link_settings: "Advanced Link Settings", - link_rel: "Link Rel", - s60: "60%", - s70: "70%", - s80: "80%", - s90: "90%", - s100: "100%", - s110: "110%", - s120: "120%", - s130: "130%", - img_title: "Title", - caption: "Caption", - alt: "Alternative Text" - }); -}()); diff --git a/build/wp-includes/js/tinymce/license.txt b/build/wp-includes/js/tinymce/license.txt deleted file mode 100644 index b17fc90494..0000000000 --- a/build/wp-includes/js/tinymce/license.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/build/wp-includes/js/tinymce/plugins/charmap/plugin.js b/build/wp-includes/js/tinymce/plugins/charmap/plugin.js deleted file mode 100644 index 48b26f1c56..0000000000 --- a/build/wp-includes/js/tinymce/plugins/charmap/plugin.js +++ /dev/null @@ -1,1275 +0,0 @@ -(function () { -var charmap = (function () { - 'use strict'; - - var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); - - var fireInsertCustomChar = function (editor, chr) { - return editor.fire('insertCustomChar', { chr: chr }); - }; - var Events = { fireInsertCustomChar: fireInsertCustomChar }; - - var insertChar = function (editor, chr) { - var evtChr = Events.fireInsertCustomChar(editor, chr).chr; - editor.execCommand('mceInsertContent', false, evtChr); - }; - var Actions = { insertChar: insertChar }; - - var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools'); - - var getCharMap = function (editor) { - return editor.settings.charmap; - }; - var getCharMapAppend = function (editor) { - return editor.settings.charmap_append; - }; - var Settings = { - getCharMap: getCharMap, - getCharMapAppend: getCharMapAppend - }; - - var isArray = global$1.isArray; - var getDefaultCharMap = function () { - return [ - [ - '160', - 'no-break space' - ], - [ - '173', - 'soft hyphen' - ], - [ - '34', - 'quotation mark' - ], - [ - '162', - 'cent sign' - ], - [ - '8364', - 'euro sign' - ], - [ - '163', - 'pound sign' - ], - [ - '165', - 'yen sign' - ], - [ - '169', - 'copyright sign' - ], - [ - '174', - 'registered sign' - ], - [ - '8482', - 'trade mark sign' - ], - [ - '8240', - 'per mille sign' - ], - [ - '181', - 'micro sign' - ], - [ - '183', - 'middle dot' - ], - [ - '8226', - 'bullet' - ], - [ - '8230', - 'three dot leader' - ], - [ - '8242', - 'minutes / feet' - ], - [ - '8243', - 'seconds / inches' - ], - [ - '167', - 'section sign' - ], - [ - '182', - 'paragraph sign' - ], - [ - '223', - 'sharp s / ess-zed' - ], - [ - '8249', - 'single left-pointing angle quotation mark' - ], - [ - '8250', - 'single right-pointing angle quotation mark' - ], - [ - '171', - 'left pointing guillemet' - ], - [ - '187', - 'right pointing guillemet' - ], - [ - '8216', - 'left single quotation mark' - ], - [ - '8217', - 'right single quotation mark' - ], - [ - '8220', - 'left double quotation mark' - ], - [ - '8221', - 'right double quotation mark' - ], - [ - '8218', - 'single low-9 quotation mark' - ], - [ - '8222', - 'double low-9 quotation mark' - ], - [ - '60', - 'less-than sign' - ], - [ - '62', - 'greater-than sign' - ], - [ - '8804', - 'less-than or equal to' - ], - [ - '8805', - 'greater-than or equal to' - ], - [ - '8211', - 'en dash' - ], - [ - '8212', - 'em dash' - ], - [ - '175', - 'macron' - ], - [ - '8254', - 'overline' - ], - [ - '164', - 'currency sign' - ], - [ - '166', - 'broken bar' - ], - [ - '168', - 'diaeresis' - ], - [ - '161', - 'inverted exclamation mark' - ], - [ - '191', - 'turned question mark' - ], - [ - '710', - 'circumflex accent' - ], - [ - '732', - 'small tilde' - ], - [ - '176', - 'degree sign' - ], - [ - '8722', - 'minus sign' - ], - [ - '177', - 'plus-minus sign' - ], - [ - '247', - 'division sign' - ], - [ - '8260', - 'fraction slash' - ], - [ - '215', - 'multiplication sign' - ], - [ - '185', - 'superscript one' - ], - [ - '178', - 'superscript two' - ], - [ - '179', - 'superscript three' - ], - [ - '188', - 'fraction one quarter' - ], - [ - '189', - 'fraction one half' - ], - [ - '190', - 'fraction three quarters' - ], - [ - '402', - 'function / florin' - ], - [ - '8747', - 'integral' - ], - [ - '8721', - 'n-ary sumation' - ], - [ - '8734', - 'infinity' - ], - [ - '8730', - 'square root' - ], - [ - '8764', - 'similar to' - ], - [ - '8773', - 'approximately equal to' - ], - [ - '8776', - 'almost equal to' - ], - [ - '8800', - 'not equal to' - ], - [ - '8801', - 'identical to' - ], - [ - '8712', - 'element of' - ], - [ - '8713', - 'not an element of' - ], - [ - '8715', - 'contains as member' - ], - [ - '8719', - 'n-ary product' - ], - [ - '8743', - 'logical and' - ], - [ - '8744', - 'logical or' - ], - [ - '172', - 'not sign' - ], - [ - '8745', - 'intersection' - ], - [ - '8746', - 'union' - ], - [ - '8706', - 'partial differential' - ], - [ - '8704', - 'for all' - ], - [ - '8707', - 'there exists' - ], - [ - '8709', - 'diameter' - ], - [ - '8711', - 'backward difference' - ], - [ - '8727', - 'asterisk operator' - ], - [ - '8733', - 'proportional to' - ], - [ - '8736', - 'angle' - ], - [ - '180', - 'acute accent' - ], - [ - '184', - 'cedilla' - ], - [ - '170', - 'feminine ordinal indicator' - ], - [ - '186', - 'masculine ordinal indicator' - ], - [ - '8224', - 'dagger' - ], - [ - '8225', - 'double dagger' - ], - [ - '192', - 'A - grave' - ], - [ - '193', - 'A - acute' - ], - [ - '194', - 'A - circumflex' - ], - [ - '195', - 'A - tilde' - ], - [ - '196', - 'A - diaeresis' - ], - [ - '197', - 'A - ring above' - ], - [ - '256', - 'A - macron' - ], - [ - '198', - 'ligature AE' - ], - [ - '199', - 'C - cedilla' - ], - [ - '200', - 'E - grave' - ], - [ - '201', - 'E - acute' - ], - [ - '202', - 'E - circumflex' - ], - [ - '203', - 'E - diaeresis' - ], - [ - '274', - 'E - macron' - ], - [ - '204', - 'I - grave' - ], - [ - '205', - 'I - acute' - ], - [ - '206', - 'I - circumflex' - ], - [ - '207', - 'I - diaeresis' - ], - [ - '298', - 'I - macron' - ], - [ - '208', - 'ETH' - ], - [ - '209', - 'N - tilde' - ], - [ - '210', - 'O - grave' - ], - [ - '211', - 'O - acute' - ], - [ - '212', - 'O - circumflex' - ], - [ - '213', - 'O - tilde' - ], - [ - '214', - 'O - diaeresis' - ], - [ - '216', - 'O - slash' - ], - [ - '332', - 'O - macron' - ], - [ - '338', - 'ligature OE' - ], - [ - '352', - 'S - caron' - ], - [ - '217', - 'U - grave' - ], - [ - '218', - 'U - acute' - ], - [ - '219', - 'U - circumflex' - ], - [ - '220', - 'U - diaeresis' - ], - [ - '362', - 'U - macron' - ], - [ - '221', - 'Y - acute' - ], - [ - '376', - 'Y - diaeresis' - ], - [ - '562', - 'Y - macron' - ], - [ - '222', - 'THORN' - ], - [ - '224', - 'a - grave' - ], - [ - '225', - 'a - acute' - ], - [ - '226', - 'a - circumflex' - ], - [ - '227', - 'a - tilde' - ], - [ - '228', - 'a - diaeresis' - ], - [ - '229', - 'a - ring above' - ], - [ - '257', - 'a - macron' - ], - [ - '230', - 'ligature ae' - ], - [ - '231', - 'c - cedilla' - ], - [ - '232', - 'e - grave' - ], - [ - '233', - 'e - acute' - ], - [ - '234', - 'e - circumflex' - ], - [ - '235', - 'e - diaeresis' - ], - [ - '275', - 'e - macron' - ], - [ - '236', - 'i - grave' - ], - [ - '237', - 'i - acute' - ], - [ - '238', - 'i - circumflex' - ], - [ - '239', - 'i - diaeresis' - ], - [ - '299', - 'i - macron' - ], - [ - '240', - 'eth' - ], - [ - '241', - 'n - tilde' - ], - [ - '242', - 'o - grave' - ], - [ - '243', - 'o - acute' - ], - [ - '244', - 'o - circumflex' - ], - [ - '245', - 'o - tilde' - ], - [ - '246', - 'o - diaeresis' - ], - [ - '248', - 'o slash' - ], - [ - '333', - 'o macron' - ], - [ - '339', - 'ligature oe' - ], - [ - '353', - 's - caron' - ], - [ - '249', - 'u - grave' - ], - [ - '250', - 'u - acute' - ], - [ - '251', - 'u - circumflex' - ], - [ - '252', - 'u - diaeresis' - ], - [ - '363', - 'u - macron' - ], - [ - '253', - 'y - acute' - ], - [ - '254', - 'thorn' - ], - [ - '255', - 'y - diaeresis' - ], - [ - '563', - 'y - macron' - ], - [ - '913', - 'Alpha' - ], - [ - '914', - 'Beta' - ], - [ - '915', - 'Gamma' - ], - [ - '916', - 'Delta' - ], - [ - '917', - 'Epsilon' - ], - [ - '918', - 'Zeta' - ], - [ - '919', - 'Eta' - ], - [ - '920', - 'Theta' - ], - [ - '921', - 'Iota' - ], - [ - '922', - 'Kappa' - ], - [ - '923', - 'Lambda' - ], - [ - '924', - 'Mu' - ], - [ - '925', - 'Nu' - ], - [ - '926', - 'Xi' - ], - [ - '927', - 'Omicron' - ], - [ - '928', - 'Pi' - ], - [ - '929', - 'Rho' - ], - [ - '931', - 'Sigma' - ], - [ - '932', - 'Tau' - ], - [ - '933', - 'Upsilon' - ], - [ - '934', - 'Phi' - ], - [ - '935', - 'Chi' - ], - [ - '936', - 'Psi' - ], - [ - '937', - 'Omega' - ], - [ - '945', - 'alpha' - ], - [ - '946', - 'beta' - ], - [ - '947', - 'gamma' - ], - [ - '948', - 'delta' - ], - [ - '949', - 'epsilon' - ], - [ - '950', - 'zeta' - ], - [ - '951', - 'eta' - ], - [ - '952', - 'theta' - ], - [ - '953', - 'iota' - ], - [ - '954', - 'kappa' - ], - [ - '955', - 'lambda' - ], - [ - '956', - 'mu' - ], - [ - '957', - 'nu' - ], - [ - '958', - 'xi' - ], - [ - '959', - 'omicron' - ], - [ - '960', - 'pi' - ], - [ - '961', - 'rho' - ], - [ - '962', - 'final sigma' - ], - [ - '963', - 'sigma' - ], - [ - '964', - 'tau' - ], - [ - '965', - 'upsilon' - ], - [ - '966', - 'phi' - ], - [ - '967', - 'chi' - ], - [ - '968', - 'psi' - ], - [ - '969', - 'omega' - ], - [ - '8501', - 'alef symbol' - ], - [ - '982', - 'pi symbol' - ], - [ - '8476', - 'real part symbol' - ], - [ - '978', - 'upsilon - hook symbol' - ], - [ - '8472', - 'Weierstrass p' - ], - [ - '8465', - 'imaginary part' - ], - [ - '8592', - 'leftwards arrow' - ], - [ - '8593', - 'upwards arrow' - ], - [ - '8594', - 'rightwards arrow' - ], - [ - '8595', - 'downwards arrow' - ], - [ - '8596', - 'left right arrow' - ], - [ - '8629', - 'carriage return' - ], - [ - '8656', - 'leftwards double arrow' - ], - [ - '8657', - 'upwards double arrow' - ], - [ - '8658', - 'rightwards double arrow' - ], - [ - '8659', - 'downwards double arrow' - ], - [ - '8660', - 'left right double arrow' - ], - [ - '8756', - 'therefore' - ], - [ - '8834', - 'subset of' - ], - [ - '8835', - 'superset of' - ], - [ - '8836', - 'not a subset of' - ], - [ - '8838', - 'subset of or equal to' - ], - [ - '8839', - 'superset of or equal to' - ], - [ - '8853', - 'circled plus' - ], - [ - '8855', - 'circled times' - ], - [ - '8869', - 'perpendicular' - ], - [ - '8901', - 'dot operator' - ], - [ - '8968', - 'left ceiling' - ], - [ - '8969', - 'right ceiling' - ], - [ - '8970', - 'left floor' - ], - [ - '8971', - 'right floor' - ], - [ - '9001', - 'left-pointing angle bracket' - ], - [ - '9002', - 'right-pointing angle bracket' - ], - [ - '9674', - 'lozenge' - ], - [ - '9824', - 'black spade suit' - ], - [ - '9827', - 'black club suit' - ], - [ - '9829', - 'black heart suit' - ], - [ - '9830', - 'black diamond suit' - ], - [ - '8194', - 'en space' - ], - [ - '8195', - 'em space' - ], - [ - '8201', - 'thin space' - ], - [ - '8204', - 'zero width non-joiner' - ], - [ - '8205', - 'zero width joiner' - ], - [ - '8206', - 'left-to-right mark' - ], - [ - '8207', - 'right-to-left mark' - ] - ]; - }; - var charmapFilter = function (charmap) { - return global$1.grep(charmap, function (item) { - return isArray(item) && item.length === 2; - }); - }; - var getCharsFromSetting = function (settingValue) { - if (isArray(settingValue)) { - return [].concat(charmapFilter(settingValue)); - } - if (typeof settingValue === 'function') { - return settingValue(); - } - return []; - }; - var extendCharMap = function (editor, charmap) { - var userCharMap = Settings.getCharMap(editor); - if (userCharMap) { - charmap = getCharsFromSetting(userCharMap); - } - var userCharMapAppend = Settings.getCharMapAppend(editor); - if (userCharMapAppend) { - return [].concat(charmap).concat(getCharsFromSetting(userCharMapAppend)); - } - return charmap; - }; - var getCharMap$1 = function (editor) { - return extendCharMap(editor, getDefaultCharMap()); - }; - var CharMap = { getCharMap: getCharMap$1 }; - - var get = function (editor) { - var getCharMap = function () { - return CharMap.getCharMap(editor); - }; - var insertChar = function (chr) { - Actions.insertChar(editor, chr); - }; - return { - getCharMap: getCharMap, - insertChar: insertChar - }; - }; - var Api = { get: get }; - - var getHtml = function (charmap) { - var gridHtml, x, y; - var width = Math.min(charmap.length, 25); - var height = Math.ceil(charmap.length / width); - gridHtml = ''; - for (y = 0; y < height; y++) { - gridHtml += ''; - for (x = 0; x < width; x++) { - var index = y * width + x; - if (index < charmap.length) { - var chr = charmap[index]; - var charCode = parseInt(chr[0], 10); - var chrText = chr ? String.fromCharCode(charCode) : ' '; - gridHtml += ''; - } else { - gridHtml += ''; - } - gridHtml += ''; - return gridHtml; - }; - var GridHtml = { getHtml: getHtml }; - - var getParentTd = function (elm) { - while (elm) { - if (elm.nodeName === 'TD') { - return elm; - } - elm = elm.parentNode; - } - }; - var open = function (editor) { - var win; - var charMapPanel = { - type: 'container', - html: GridHtml.getHtml(CharMap.getCharMap(editor)), - onclick: function (e) { - var target = e.target; - if (/^(TD|DIV)$/.test(target.nodeName)) { - var charDiv = getParentTd(target).firstChild; - if (charDiv && charDiv.hasAttribute('data-chr')) { - var charCodeString = charDiv.getAttribute('data-chr'); - var charCode = parseInt(charCodeString, 10); - if (!isNaN(charCode)) { - Actions.insertChar(editor, String.fromCharCode(charCode)); - } - if (!e.ctrlKey) { - win.close(); - } - } - } - }, - onmouseover: function (e) { - var td = getParentTd(e.target); - if (td && td.firstChild) { - win.find('#preview').text(td.firstChild.firstChild.data); - win.find('#previewTitle').text(td.title); - } else { - win.find('#preview').text(' '); - win.find('#previewTitle').text(' '); - } - } - }; - win = editor.windowManager.open({ - title: 'Special character', - spacing: 10, - padding: 10, - items: [ - charMapPanel, - { - type: 'container', - layout: 'flex', - direction: 'column', - align: 'center', - spacing: 5, - minWidth: 160, - minHeight: 160, - items: [ - { - type: 'label', - name: 'preview', - text: ' ', - style: 'font-size: 40px; text-align: center', - border: 1, - minWidth: 140, - minHeight: 80 - }, - { - type: 'spacer', - minHeight: 20 - }, - { - type: 'label', - name: 'previewTitle', - text: ' ', - style: 'white-space: pre-wrap;', - border: 1, - minWidth: 140 - } - ] - } - ], - buttons: [{ - text: 'Close', - onclick: function () { - win.close(); - } - }] - }); - }; - var Dialog = { open: open }; - - var register = function (editor) { - editor.addCommand('mceShowCharmap', function () { - Dialog.open(editor); - }); - }; - var Commands = { register: register }; - - var register$1 = function (editor) { - editor.addButton('charmap', { - icon: 'charmap', - tooltip: 'Special character', - cmd: 'mceShowCharmap' - }); - editor.addMenuItem('charmap', { - icon: 'charmap', - text: 'Special character', - cmd: 'mceShowCharmap', - context: 'insert' - }); - }; - var Buttons = { register: register$1 }; - - global.add('charmap', function (editor) { - Commands.register(editor); - Buttons.register(editor); - return Api.get(editor); - }); - function Plugin () { - } - - return Plugin; - -}()); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/charmap/plugin.min.js b/build/wp-includes/js/tinymce/plugins/charmap/plugin.min.js deleted file mode 100644 index 9ea3f75751..0000000000 --- a/build/wp-includes/js/tinymce/plugins/charmap/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(e,t){return e.fire("insertCustomChar",{chr:t})},l=function(e,t){var a=i(e,t).chr;e.execCommand("mceInsertContent",!1,a)},a=tinymce.util.Tools.resolve("tinymce.util.Tools"),r=function(e){return e.settings.charmap},n=function(e){return e.settings.charmap_append},o=a.isArray,c=function(e){return o(e)?[].concat((t=e,a.grep(t,function(e){return o(e)&&2===e.length}))):"function"==typeof e?e():[];var t},s=function(e){return function(e,t){var a=r(e);a&&(t=c(a));var i=n(e);return i?[].concat(t).concat(c(i)):t}(e,[["160","no-break space"],["173","soft hyphen"],["34","quotation mark"],["162","cent sign"],["8364","euro sign"],["163","pound sign"],["165","yen sign"],["169","copyright sign"],["174","registered sign"],["8482","trade mark sign"],["8240","per mille sign"],["181","micro sign"],["183","middle dot"],["8226","bullet"],["8230","three dot leader"],["8242","minutes / feet"],["8243","seconds / inches"],["167","section sign"],["182","paragraph sign"],["223","sharp s / ess-zed"],["8249","single left-pointing angle quotation mark"],["8250","single right-pointing angle quotation mark"],["171","left pointing guillemet"],["187","right pointing guillemet"],["8216","left single quotation mark"],["8217","right single quotation mark"],["8220","left double quotation mark"],["8221","right double quotation mark"],["8218","single low-9 quotation mark"],["8222","double low-9 quotation mark"],["60","less-than sign"],["62","greater-than sign"],["8804","less-than or equal to"],["8805","greater-than or equal to"],["8211","en dash"],["8212","em dash"],["175","macron"],["8254","overline"],["164","currency sign"],["166","broken bar"],["168","diaeresis"],["161","inverted exclamation mark"],["191","turned question mark"],["710","circumflex accent"],["732","small tilde"],["176","degree sign"],["8722","minus sign"],["177","plus-minus sign"],["247","division sign"],["8260","fraction slash"],["215","multiplication sign"],["185","superscript one"],["178","superscript two"],["179","superscript three"],["188","fraction one quarter"],["189","fraction one half"],["190","fraction three quarters"],["402","function / florin"],["8747","integral"],["8721","n-ary sumation"],["8734","infinity"],["8730","square root"],["8764","similar to"],["8773","approximately equal to"],["8776","almost equal to"],["8800","not equal to"],["8801","identical to"],["8712","element of"],["8713","not an element of"],["8715","contains as member"],["8719","n-ary product"],["8743","logical and"],["8744","logical or"],["172","not sign"],["8745","intersection"],["8746","union"],["8706","partial differential"],["8704","for all"],["8707","there exists"],["8709","diameter"],["8711","backward difference"],["8727","asterisk operator"],["8733","proportional to"],["8736","angle"],["180","acute accent"],["184","cedilla"],["170","feminine ordinal indicator"],["186","masculine ordinal indicator"],["8224","dagger"],["8225","double dagger"],["192","A - grave"],["193","A - acute"],["194","A - circumflex"],["195","A - tilde"],["196","A - diaeresis"],["197","A - ring above"],["256","A - macron"],["198","ligature AE"],["199","C - cedilla"],["200","E - grave"],["201","E - acute"],["202","E - circumflex"],["203","E - diaeresis"],["274","E - macron"],["204","I - grave"],["205","I - acute"],["206","I - circumflex"],["207","I - diaeresis"],["298","I - macron"],["208","ETH"],["209","N - tilde"],["210","O - grave"],["211","O - acute"],["212","O - circumflex"],["213","O - tilde"],["214","O - diaeresis"],["216","O - slash"],["332","O - macron"],["338","ligature OE"],["352","S - caron"],["217","U - grave"],["218","U - acute"],["219","U - circumflex"],["220","U - diaeresis"],["362","U - macron"],["221","Y - acute"],["376","Y - diaeresis"],["562","Y - macron"],["222","THORN"],["224","a - grave"],["225","a - acute"],["226","a - circumflex"],["227","a - tilde"],["228","a - diaeresis"],["229","a - ring above"],["257","a - macron"],["230","ligature ae"],["231","c - cedilla"],["232","e - grave"],["233","e - acute"],["234","e - circumflex"],["235","e - diaeresis"],["275","e - macron"],["236","i - grave"],["237","i - acute"],["238","i - circumflex"],["239","i - diaeresis"],["299","i - macron"],["240","eth"],["241","n - tilde"],["242","o - grave"],["243","o - acute"],["244","o - circumflex"],["245","o - tilde"],["246","o - diaeresis"],["248","o slash"],["333","o macron"],["339","ligature oe"],["353","s - caron"],["249","u - grave"],["250","u - acute"],["251","u - circumflex"],["252","u - diaeresis"],["363","u - macron"],["253","y - acute"],["254","thorn"],["255","y - diaeresis"],["563","y - macron"],["913","Alpha"],["914","Beta"],["915","Gamma"],["916","Delta"],["917","Epsilon"],["918","Zeta"],["919","Eta"],["920","Theta"],["921","Iota"],["922","Kappa"],["923","Lambda"],["924","Mu"],["925","Nu"],["926","Xi"],["927","Omicron"],["928","Pi"],["929","Rho"],["931","Sigma"],["932","Tau"],["933","Upsilon"],["934","Phi"],["935","Chi"],["936","Psi"],["937","Omega"],["945","alpha"],["946","beta"],["947","gamma"],["948","delta"],["949","epsilon"],["950","zeta"],["951","eta"],["952","theta"],["953","iota"],["954","kappa"],["955","lambda"],["956","mu"],["957","nu"],["958","xi"],["959","omicron"],["960","pi"],["961","rho"],["962","final sigma"],["963","sigma"],["964","tau"],["965","upsilon"],["966","phi"],["967","chi"],["968","psi"],["969","omega"],["8501","alef symbol"],["982","pi symbol"],["8476","real part symbol"],["978","upsilon - hook symbol"],["8472","Weierstrass p"],["8465","imaginary part"],["8592","leftwards arrow"],["8593","upwards arrow"],["8594","rightwards arrow"],["8595","downwards arrow"],["8596","left right arrow"],["8629","carriage return"],["8656","leftwards double arrow"],["8657","upwards double arrow"],["8658","rightwards double arrow"],["8659","downwards double arrow"],["8660","left right double arrow"],["8756","therefore"],["8834","subset of"],["8835","superset of"],["8836","not a subset of"],["8838","subset of or equal to"],["8839","superset of or equal to"],["8853","circled plus"],["8855","circled times"],["8869","perpendicular"],["8901","dot operator"],["8968","left ceiling"],["8969","right ceiling"],["8970","left floor"],["8971","right floor"],["9001","left-pointing angle bracket"],["9002","right-pointing angle bracket"],["9674","lozenge"],["9824","black spade suit"],["9827","black club suit"],["9829","black heart suit"],["9830","black diamond suit"],["8194","en space"],["8195","em space"],["8201","thin space"],["8204","zero width non-joiner"],["8205","zero width joiner"],["8206","left-to-right mark"],["8207","right-to-left mark"]])},t=function(t){return{getCharMap:function(){return s(t)},insertChar:function(e){l(t,e)}}},u=function(e){var t,a,i,r=Math.min(e.length,25),n=Math.ceil(e.length/r);for(t='',i=0;i",a=0;a
    '+s+"
    "}else t+="
    "}return t+=""},d=function(e){for(;e;){if("TD"===e.nodeName)return e;e=e.parentNode}},m=function(n){var o,e={type:"container",html:u(s(n)),onclick:function(e){var t=e.target;if(/^(TD|DIV)$/.test(t.nodeName)){var a=d(t).firstChild;if(a&&a.hasAttribute("data-chr")){var i=a.getAttribute("data-chr"),r=parseInt(i,10);isNaN(r)||l(n,String.fromCharCode(r)),e.ctrlKey||o.close()}}},onmouseover:function(e){var t=d(e.target);t&&t.firstChild?(o.find("#preview").text(t.firstChild.firstChild.data),o.find("#previewTitle").text(t.title)):(o.find("#preview").text(" "),o.find("#previewTitle").text(" "))}};o=n.windowManager.open({title:"Special character",spacing:10,padding:10,items:[e,{type:"container",layout:"flex",direction:"column",align:"center",spacing:5,minWidth:160,minHeight:160,items:[{type:"label",name:"preview",text:" ",style:"font-size: 40px; text-align: center",border:1,minWidth:140,minHeight:80},{type:"spacer",minHeight:20},{type:"label",name:"previewTitle",text:" ",style:"white-space: pre-wrap;",border:1,minWidth:140}]}],buttons:[{text:"Close",onclick:function(){o.close()}}]})},g=function(e){e.addCommand("mceShowCharmap",function(){m(e)})},p=function(e){e.addButton("charmap",{icon:"charmap",tooltip:"Special character",cmd:"mceShowCharmap"}),e.addMenuItem("charmap",{icon:"charmap",text:"Special character",cmd:"mceShowCharmap",context:"insert"})};e.add("charmap",function(e){return g(e),p(e),t(e)})}(); \ No newline at end of file diff --git a/build/wp-includes/js/tinymce/plugins/colorpicker/plugin.js b/build/wp-includes/js/tinymce/plugins/colorpicker/plugin.js deleted file mode 100644 index 04872b3c7a..0000000000 --- a/build/wp-includes/js/tinymce/plugins/colorpicker/plugin.js +++ /dev/null @@ -1,126 +0,0 @@ -(function () { -var colorpicker = (function () { - 'use strict'; - - var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); - - var global$1 = tinymce.util.Tools.resolve('tinymce.util.Color'); - - var showPreview = function (win, hexColor) { - win.find('#preview')[0].getEl().style.background = hexColor; - }; - var setColor = function (win, value) { - var color = global$1(value), rgb = color.toRgb(); - win.fromJSON({ - r: rgb.r, - g: rgb.g, - b: rgb.b, - hex: color.toHex().substr(1) - }); - showPreview(win, color.toHex()); - }; - var open = function (editor, callback, value) { - var win = editor.windowManager.open({ - title: 'Color', - items: { - type: 'container', - layout: 'flex', - direction: 'row', - align: 'stretch', - padding: 5, - spacing: 10, - items: [ - { - type: 'colorpicker', - value: value, - onchange: function () { - var rgb = this.rgb(); - if (win) { - win.find('#r').value(rgb.r); - win.find('#g').value(rgb.g); - win.find('#b').value(rgb.b); - win.find('#hex').value(this.value().substr(1)); - showPreview(win, this.value()); - } - } - }, - { - type: 'form', - padding: 0, - labelGap: 5, - defaults: { - type: 'textbox', - size: 7, - value: '0', - flex: 1, - spellcheck: false, - onchange: function () { - var colorPickerCtrl = win.find('colorpicker')[0]; - var name, value; - name = this.name(); - value = this.value(); - if (name === 'hex') { - value = '#' + value; - setColor(win, value); - colorPickerCtrl.value(value); - return; - } - value = { - r: win.find('#r').value(), - g: win.find('#g').value(), - b: win.find('#b').value() - }; - colorPickerCtrl.value(value); - setColor(win, value); - } - }, - items: [ - { - name: 'r', - label: 'R', - autofocus: 1 - }, - { - name: 'g', - label: 'G' - }, - { - name: 'b', - label: 'B' - }, - { - name: 'hex', - label: '#', - value: '000000' - }, - { - name: 'preview', - type: 'container', - border: 1 - } - ] - } - ] - }, - onSubmit: function () { - callback('#' + win.toJSON().hex); - } - }); - setColor(win, value); - }; - var Dialog = { open: open }; - - global.add('colorpicker', function (editor) { - if (!editor.settings.color_picker_callback) { - editor.settings.color_picker_callback = function (callback, value) { - Dialog.open(editor, callback, value); - }; - } - }); - function Plugin () { - } - - return Plugin; - -}()); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js b/build/wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js deleted file mode 100644 index 10317a5f6f..0000000000 --- a/build/wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Color"),a=function(e,n){e.find("#preview")[0].getEl().style.background=n},o=function(e,n){var i=l(n),t=i.toRgb();e.fromJSON({r:t.r,g:t.g,b:t.b,hex:i.toHex().substr(1)}),a(e,i.toHex())},t=function(e,n,i){var t=e.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:i,onchange:function(){var e=this.rgb();t&&(t.find("#r").value(e.r),t.find("#g").value(e.g),t.find("#b").value(e.b),t.find("#hex").value(this.value().substr(1)),a(t,this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var e,n,i=t.find("colorpicker")[0];if(e=this.name(),n=this.value(),"hex"===e)return o(t,n="#"+n),void i.value(n);n={r:t.find("#r").value(),g:t.find("#g").value(),b:t.find("#b").value()},i.value(n),o(t,n)}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){n("#"+t.toJSON().hex)}});o(t,i)};e.add("colorpicker",function(i){i.settings.color_picker_callback||(i.settings.color_picker_callback=function(e,n){t(i,e,n)})})}(); \ No newline at end of file diff --git a/build/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css b/build/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css deleted file mode 100644 index e75543a18e..0000000000 --- a/build/wp-includes/js/tinymce/plugins/compat3x/css/dialog.css +++ /dev/null @@ -1,215 +0,0 @@ -/* - * Edited for compatibility with old TinyMCE 3.x plugins in WordPress. - * More info: https://core.trac.wordpress.org/ticket/31596#comment:10 - */ - -/* Generic */ -body { -font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; -font-size:13px; -background:#fcfcfc; -padding:0; -margin:8px 8px 0 8px; -} - -textarea {resize:none;outline:none;} - -a:link, a:hover { - color: #2B6FB6; -} - -a:visited { - color: #3C2BB6; -} - -.nowrap {white-space: nowrap} - -/* Forms */ -form {margin: 0;} -fieldset {margin:0; padding:4px; border:1px solid #dfdfdf; font-family:Verdana, Arial; font-size:10px;} -legend {color:#2B6FB6; font-weight:bold;} -label.msg {display:none;} -label.invalid {color:#EE0000; display:inline;} -input.invalid {border:1px solid #EE0000;} -input {background:#FFF; border:1px solid #dfdfdf;} -input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} -input, select, textarea {border:1px solid #dfdfdf;} -input.radio {border:1px none #000000; background:transparent; vertical-align:middle;} -input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;} -.input_noborder {border:0;} - -/* Buttons */ -#insert, -#cancel, -#apply, -.mceActionPanel .button, -input.mceButton, -.updateButton { - display: inline-block; - text-decoration: none; - border: 1px solid #adadad; - margin: 0; - padding: 0 10px 1px; - font-size: 13px; - height: 24px; - line-height: 22px; - color: #333; - cursor: pointer; - -webkit-border-radius: 3px; - -webkit-appearance: none; - border-radius: 3px; - white-space: nowrap; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - background: #fafafa; - background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e9e9e9)); - background-image: -webkit-linear-gradient(top, #fafafa, #e9e9e9); - background-image: -moz-linear-gradient(top, #fafafa, #e9e9e9); - background-image: -o-linear-gradient(top, #fafafa, #e9e9e9); - background-image: linear-gradient(to bottom, #fafafa, #e9e9e9); - - text-shadow: 0 1px 0 #fff; - -webkit-box-shadow: inset 0 1px 0 #fff; - -moz-box-shadow: inset 0 1px 0 #fff; - box-shadow: inset 0 1px 0 #fff; -} - -#insert { - background: #2ea2cc; - background: -webkit-gradient(linear, left top, left bottom, from(#2ea2cc), to(#1e8cbe)); - background: -webkit-linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%); - background: linear-gradient(top, #2ea2cc 0%,#1e8cbe 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#1e8cbe',GradientType=0 ); - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); - box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); - color: #fff; - text-decoration: none; - text-shadow: 0 1px 0 rgba(0,86,132,0.7); -} - -#cancel:hover, -input.mceButton:hover, -.updateButton:hover, -#cancel:focus, -input.mceButton:focus, -.updateButton:focus { - background: #f3f3f3; - background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3)); - background-image: -webkit-linear-gradient(top, #fff, #f3f3f3); - background-image: -moz-linear-gradient(top, #fff, #f3f3f3); - background-image: -ms-linear-gradient(top, #fff, #f3f3f3); - background-image: -o-linear-gradient(top, #fff, #f3f3f3); - background-image: linear-gradient(to bottom, #fff, #f3f3f3); - border-color: #999; - color: #222; -} - -#insert:hover, -#insert:focus { - background: #1e8cbe; - background: -webkit-gradient(linear, left top, left bottom, from(#1e8cbe), to(#0074a2)); - background: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); - background: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e8cbe', endColorstr='#0074a2',GradientType=0 ); - border-color: #0074a2; - -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); - box-shadow: inset 0 1px 0 rgba(120,200,230,0.6); - color: #fff; -} - -.mceActionPanel #insert { - float: right; -} - -/* Browse */ -a.pickcolor, a.browse {text-decoration:none} -a.browse span {display:block; width:20px; height:18px; border:1px solid #FFF; margin-left:1px;} -.mceOldBoxModel a.browse span {width:22px; height:20px;} -a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;} -a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);} -a.browse:hover span.disabled {border:1px solid white; background-color:transparent;} -a.pickcolor span {display:block; width:20px; height:16px; margin-left:2px;} -.mceOldBoxModel a.pickcolor span {width:21px; height:17px;} -a.pickcolor:hover span {background-color:#B2BBD0;} -div.iframecontainer {background: #fff;} - -/* Charmap */ -table.charmap {border:1px solid #AAA; text-align:center} -td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;} -#charmap a {display:block; color:#000; text-decoration:none; border:0} -#charmap a:hover {background:#CCC;color:#2B6FB6} -#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center} -#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center} -#charmap #charmapView {background-color:#fff;} - -/* Source */ -.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;} -.mceActionPanel {margin-top:5px;} - -/* Tabs classes */ -.tabs {width:100%; height:19px; line-height:normal; border-bottom: 1px solid #aaa;} -.tabs ul {margin:0; padding:0; list-style:none;} -.tabs li {float:left; border: 1px solid #aaa; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block;} -.tabs li.current {border-bottom: 1px solid #fff; margin-right:2px;} -.tabs span {float:left; display:block; padding:0px 10px 0 0;} -.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;} -.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;} - -.wp-core-ui #tabs { - padding-bottom: 5px; - background-color: transparent; -} - -.wp-core-ui #tabs a { - padding: 6px 10px; - margin: 0 2px; -} - -/* Panels */ -.panel_wrapper div.panel {display:none;} -.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;} -.panel_wrapper {border:1px solid #919B9C; border-top:0px; padding:10px; padding-top:5px; clear:both; background:white;} - -/* Columns */ -.column {float:left;} -.properties {width:100%;} -.properties .column1 {} -.properties .column2 {text-align:left;} - -/* Titles */ -h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;} -h3 {font-size:14px;} -.title {font-size:12px; font-weight:bold; color:#2B6FB6;} - -/* Dialog specific */ -#link .panel_wrapper, #link div.current {height:125px;} -#image .panel_wrapper, #image div.current {height:200px;} -#plugintable thead {font-weight:bold; background:#DDD;} -#plugintable, #about #plugintable td {border:1px solid #919B9C;} -#plugintable {width:96%; margin-top:10px;} -#pluginscontainer {height:290px; overflow:auto;} -#colorpicker #preview {display:inline-block; padding-left:40px; height:14px; border:1px solid black; margin-left:5px; margin-right: 5px} -#colorpicker #previewblock {position: relative; top: -3px; padding-left:5px; padding-top: 0px; display:inline} -#colorpicker #preview_wrapper {text-align:center; padding-top:4px; white-space: nowrap; float: right;} -#colorpicker #insert, #colorpicker #cancel {width: 90px} -#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;} -#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;} -#colorpicker #light div {overflow:hidden;} -#colorpicker .panel_wrapper div.current {height:175px;} -#colorpicker #namedcolors {width:150px;} -#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} -#colorpicker #colornamecontainer {margin-top:5px;} -#colorpicker #picker_panel fieldset {margin:auto;width:325px;} - - -/* Localization */ - -body[dir="rtl"], -body[dir="rtl"] fieldset, -body[dir="rtl"] input, body[dir="rtl"] select, body[dir="rtl"] textarea, -body[dir="rtl"] #charmap #codeN, -body[dir="rtl"] .tabs a { - font-family: Tahoma, sans-serif; -} diff --git a/build/wp-includes/js/tinymce/plugins/compat3x/plugin.js b/build/wp-includes/js/tinymce/plugins/compat3x/plugin.js deleted file mode 100644 index 92d433edcd..0000000000 --- a/build/wp-includes/js/tinymce/plugins/compat3x/plugin.js +++ /dev/null @@ -1,322 +0,0 @@ -/** - * plugin.js - * - * Released under LGPL License. - * Copyright (c) 1999-2017 Ephox Corp. All rights reserved - * - * License: http://www.tinymce.com/license - * Contributing: http://www.tinymce.com/contributing - */ - -/*global tinymce:true, console:true */ -/*eslint no-console:0, new-cap:0 */ - -/** - * This plugin adds missing events form the 4.x API back. Not every event is - * properly supported but most things should work. - * - * Unsupported things: - * - No editor.onEvent - * - Can't cancel execCommands with beforeExecCommand - */ -(function (tinymce) { - var reported; - - function noop() { - } - - function log(apiCall) { - if (!reported && window && window.console) { - reported = true; - console.log("Deprecated TinyMCE API call: " + apiCall); - } - } - - function Dispatcher(target, newEventName, argsMap, defaultScope) { - target = target || this; - var cbs = []; - - if (!newEventName) { - this.add = this.addToTop = this.remove = this.dispatch = noop; - return; - } - - this.add = function (callback, scope, prepend) { - log('.on' + newEventName + ".add(..)"); - - // Convert callback({arg1:x, arg2:x}) -> callback(arg1, arg2) - function patchedEventCallback(e) { - var callbackArgs = []; - - if (typeof argsMap == "string") { - argsMap = argsMap.split(" "); - } - - if (argsMap && typeof argsMap !== "function") { - for (var i = 0; i < argsMap.length; i++) { - callbackArgs.push(e[argsMap[i]]); - } - } - - if (typeof argsMap == "function") { - callbackArgs = argsMap(newEventName, e, target); - if (!callbackArgs) { - return; - } - } - - if (!argsMap) { - callbackArgs = [e]; - } - - callbackArgs.unshift(defaultScope || target); - - if (callback.apply(scope || defaultScope || target, callbackArgs) === false) { - e.stopImmediatePropagation(); - } - } - - target.on(newEventName, patchedEventCallback, prepend); - - var handlers = { - original: callback, - patched: patchedEventCallback - }; - - cbs.push(handlers); - return patchedEventCallback; - }; - - this.addToTop = function (callback, scope) { - this.add(callback, scope, true); - }; - - this.remove = function (callback) { - cbs.forEach(function (item, i) { - if (item.original === callback) { - cbs.splice(i, 1); - return target.off(newEventName, item.patched); - } - }); - - return target.off(newEventName, callback); - }; - - this.dispatch = function () { - target.fire(newEventName); - return true; - }; - } - - tinymce.util.Dispatcher = Dispatcher; - tinymce.onBeforeUnload = new Dispatcher(tinymce, "BeforeUnload"); - tinymce.onAddEditor = new Dispatcher(tinymce, "AddEditor", "editor"); - tinymce.onRemoveEditor = new Dispatcher(tinymce, "RemoveEditor", "editor"); - - tinymce.util.Cookie = { - get: noop, getHash: noop, remove: noop, set: noop, setHash: noop - }; - - function patchEditor(editor) { - - function translate(str) { - var prefix = editor.settings.language || "en"; - var prefixedStr = [prefix, str].join('.'); - var translatedStr = tinymce.i18n.translate(prefixedStr); - - return prefixedStr !== translatedStr ? translatedStr : tinymce.i18n.translate(str); - } - - function patchEditorEvents(oldEventNames, argsMap) { - tinymce.each(oldEventNames.split(" "), function (oldName) { - editor["on" + oldName] = new Dispatcher(editor, oldName, argsMap); - }); - } - - function convertUndoEventArgs(type, event, target) { - return [ - event.level, - target - ]; - } - - function filterSelectionEvents(needsSelection) { - return function (type, e) { - if ((!e.selection && !needsSelection) || e.selection == needsSelection) { - return [e]; - } - }; - } - - if (editor.controlManager) { - return; - } - - function cmNoop() { - var obj = {}, methods = 'add addMenu addSeparator collapse createMenu destroy displayColor expand focus ' + - 'getLength hasMenus hideMenu isActive isCollapsed isDisabled isRendered isSelected mark ' + - 'postRender remove removeAll renderHTML renderMenu renderNode renderTo select selectByIndex ' + - 'setActive setAriaProperty setColor setDisabled setSelected setState showMenu update'; - - log('editor.controlManager.*'); - - function _noop() { - return cmNoop(); - } - - tinymce.each(methods.split(' '), function (method) { - obj[method] = _noop; - }); - - return obj; - } - - editor.controlManager = { - buttons: {}, - - setDisabled: function (name, state) { - log("controlManager.setDisabled(..)"); - - if (this.buttons[name]) { - this.buttons[name].disabled(state); - } - }, - - setActive: function (name, state) { - log("controlManager.setActive(..)"); - - if (this.buttons[name]) { - this.buttons[name].active(state); - } - }, - - onAdd: new Dispatcher(), - onPostRender: new Dispatcher(), - - add: function (obj) { - return obj; - }, - createButton: cmNoop, - createColorSplitButton: cmNoop, - createControl: cmNoop, - createDropMenu: cmNoop, - createListBox: cmNoop, - createMenuButton: cmNoop, - createSeparator: cmNoop, - createSplitButton: cmNoop, - createToolbar: cmNoop, - createToolbarGroup: cmNoop, - destroy: noop, - get: noop, - setControlType: cmNoop - }; - - patchEditorEvents("PreInit BeforeRenderUI PostRender Load Init Remove Activate Deactivate", "editor"); - patchEditorEvents("Click MouseUp MouseDown DblClick KeyDown KeyUp KeyPress ContextMenu Paste Submit Reset"); - patchEditorEvents("BeforeExecCommand ExecCommand", "command ui value args"); // args.terminate not supported - patchEditorEvents("PreProcess PostProcess LoadContent SaveContent Change"); - patchEditorEvents("BeforeSetContent BeforeGetContent SetContent GetContent", filterSelectionEvents(false)); - patchEditorEvents("SetProgressState", "state time"); - patchEditorEvents("VisualAid", "element hasVisual"); - patchEditorEvents("Undo Redo", convertUndoEventArgs); - - patchEditorEvents("NodeChange", function (type, e) { - return [ - editor.controlManager, - e.element, - editor.selection.isCollapsed(), - e - ]; - }); - - var originalAddButton = editor.addButton; - editor.addButton = function (name, settings) { - var originalOnPostRender; - - function patchedPostRender() { - editor.controlManager.buttons[name] = this; - - if (originalOnPostRender) { - return originalOnPostRender.apply(this, arguments); - } - } - - for (var key in settings) { - if (key.toLowerCase() === "onpostrender") { - originalOnPostRender = settings[key]; - settings.onPostRender = patchedPostRender; - } - } - - if (!originalOnPostRender) { - settings.onPostRender = patchedPostRender; - } - - if (settings.title) { - settings.title = translate(settings.title); - } - - return originalAddButton.call(this, name, settings); - }; - - editor.on('init', function () { - var undoManager = editor.undoManager, selection = editor.selection; - - undoManager.onUndo = new Dispatcher(editor, "Undo", convertUndoEventArgs, null, undoManager); - undoManager.onRedo = new Dispatcher(editor, "Redo", convertUndoEventArgs, null, undoManager); - undoManager.onBeforeAdd = new Dispatcher(editor, "BeforeAddUndo", null, undoManager); - undoManager.onAdd = new Dispatcher(editor, "AddUndo", null, undoManager); - - selection.onBeforeGetContent = new Dispatcher(editor, "BeforeGetContent", filterSelectionEvents(true), selection); - selection.onGetContent = new Dispatcher(editor, "GetContent", filterSelectionEvents(true), selection); - selection.onBeforeSetContent = new Dispatcher(editor, "BeforeSetContent", filterSelectionEvents(true), selection); - selection.onSetContent = new Dispatcher(editor, "SetContent", filterSelectionEvents(true), selection); - }); - - editor.on('BeforeRenderUI', function () { - var windowManager = editor.windowManager; - - windowManager.onOpen = new Dispatcher(); - windowManager.onClose = new Dispatcher(); - windowManager.createInstance = function (className, a, b, c, d, e) { - log("windowManager.createInstance(..)"); - - var constr = tinymce.resolve(className); - return new constr(a, b, c, d, e); - }; - }); - } - - tinymce.on('SetupEditor', function (e) { - patchEditor(e.editor); - }); - - tinymce.PluginManager.add("compat3x", patchEditor); - - tinymce.addI18n = function (prefix, o) { - var I18n = tinymce.util.I18n, each = tinymce.each; - - if (typeof prefix == "string" && prefix.indexOf('.') === -1) { - I18n.add(prefix, o); - return; - } - - if (!tinymce.is(prefix, 'string')) { - each(prefix, function (o, lc) { - each(o, function (o, g) { - each(o, function (o, k) { - if (g === 'common') { - I18n.data[lc + '.' + k] = o; - } else { - I18n.data[lc + '.' + g + '.' + k] = o; - } - }); - }); - }); - } else { - each(o, function (o, k) { - I18n.data[prefix + '.' + k] = o; - }); - } - }; -})(tinymce); diff --git a/build/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js b/build/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js deleted file mode 100644 index 8562cb7c76..0000000000 --- a/build/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(u){var t;function l(){}function f(e){!t&&window&&window.console&&(t=!0,console.log("Deprecated TinyMCE API call: "+e))}function i(i,a,d,s){i=i||this;var c=[];a?(this.add=function(o,r,e){function t(e){var t=[];if("string"==typeof d&&(d=d.split(" ")),d&&"function"!=typeof d)for(var n=0;n.on"+a+".add(..)"),i.on(a,t,e);var n={original:o,patched:t};return c.push(n),t},this.addToTop=function(e,t){this.add(e,t,!0)},this.remove=function(n){return c.forEach(function(e,t){if(e.original===n)return c.splice(t,1),i.off(a,e.patched)}),i.off(a,n)},this.dispatch=function(){return i.fire(a),!0}):this.add=this.addToTop=this.remove=this.dispatch=l}function n(s){function e(e,t){u.each(e.split(" "),function(e){s["on"+e]=new i(s,e,t)})}function n(e,t,n){return[t.level,n]}function o(n){return function(e,t){if(!t.selection&&!n||t.selection==n)return[t]}}if(!s.controlManager){s.controlManager={buttons:{},setDisabled:function(e,t){f("controlManager.setDisabled(..)"),this.buttons[e]&&this.buttons[e].disabled(t)},setActive:function(e,t){f("controlManager.setActive(..)"),this.buttons[e]&&this.buttons[e].active(t)},onAdd:new i,onPostRender:new i,add:function(e){return e},createButton:r,createColorSplitButton:r,createControl:r,createDropMenu:r,createListBox:r,createMenuButton:r,createSeparator:r,createSplitButton:r,createToolbar:r,createToolbarGroup:r,destroy:l,get:l,setControlType:r},e("PreInit BeforeRenderUI PostRender Load Init Remove Activate Deactivate","editor"),e("Click MouseUp MouseDown DblClick KeyDown KeyUp KeyPress ContextMenu Paste Submit Reset"),e("BeforeExecCommand ExecCommand","command ui value args"),e("PreProcess PostProcess LoadContent SaveContent Change"),e("BeforeSetContent BeforeGetContent SetContent GetContent",o(!1)),e("SetProgressState","state time"),e("VisualAid","element hasVisual"),e("Undo Redo",n),e("NodeChange",function(e,t){return[s.controlManager,t.element,s.selection.isCollapsed(),t]});var c=s.addButton;s.addButton=function(e,t){var n,o,r,i;function a(){if(s.controlManager.buttons[e]=this,n)return n.apply(this,arguments)}for(var d in t)"onpostrender"===d.toLowerCase()&&(n=t[d],t.onPostRender=a);return n||(t.onPostRender=a),t.title&&(t.title=(o=t.title,r=[s.settings.language||"en",o].join("."),i=u.i18n.translate(r),r!==i?i:u.i18n.translate(o))),c.call(this,e,t)},s.on("init",function(){var e=s.undoManager,t=s.selection;e.onUndo=new i(s,"Undo",n,null,e),e.onRedo=new i(s,"Redo",n,null,e),e.onBeforeAdd=new i(s,"BeforeAddUndo",null,e),e.onAdd=new i(s,"AddUndo",null,e),t.onBeforeGetContent=new i(s,"BeforeGetContent",o(!0),t),t.onGetContent=new i(s,"GetContent",o(!0),t),t.onBeforeSetContent=new i(s,"BeforeSetContent",o(!0),t),t.onSetContent=new i(s,"SetContent",o(!0),t)}),s.on("BeforeRenderUI",function(){var e=s.windowManager;e.onOpen=new i,e.onClose=new i,e.createInstance=function(e,t,n,o,r,i){return f("windowManager.createInstance(..)"),new(u.resolve(e))(t,n,o,r,i)}})}function r(){var t={};function n(){return r()}return f("editor.controlManager.*"),u.each("add addMenu addSeparator collapse createMenu destroy displayColor expand focus getLength hasMenus hideMenu isActive isCollapsed isDisabled isRendered isSelected mark postRender remove removeAll renderHTML renderMenu renderNode renderTo select selectByIndex setActive setAriaProperty setColor setDisabled setSelected setState showMenu update".split(" "),function(e){t[e]=n}),t}}u.util.Dispatcher=i,u.onBeforeUnload=new i(u,"BeforeUnload"),u.onAddEditor=new i(u,"AddEditor","editor"),u.onRemoveEditor=new i(u,"RemoveEditor","editor"),u.util.Cookie={get:l,getHash:l,remove:l,set:l,setHash:l},u.on("SetupEditor",function(e){n(e.editor)}),u.PluginManager.add("compat3x",n),u.addI18n=function(n,e){var r=u.util.I18n,t=u.each;"string"!=typeof n||-1!==n.indexOf(".")?u.is(n,"string")?t(e,function(e,t){r.data[n+"."+t]=e}):t(n,function(e,o){t(e,function(e,n){t(e,function(e,t){"common"===n?r.data[o+"."+t]=e:r.data[o+"."+n+"."+t]=e})})}):r.add(n,e)}}(tinymce); \ No newline at end of file diff --git a/build/wp-includes/js/tinymce/plugins/directionality/plugin.js b/build/wp-includes/js/tinymce/plugins/directionality/plugin.js deleted file mode 100644 index 4b8669be27..0000000000 --- a/build/wp-includes/js/tinymce/plugins/directionality/plugin.js +++ /dev/null @@ -1,66 +0,0 @@ -(function () { -var directionality = (function () { - 'use strict'; - - var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); - - var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools'); - - var setDir = function (editor, dir) { - var dom = editor.dom; - var curDir; - var blocks = editor.selection.getSelectedBlocks(); - if (blocks.length) { - curDir = dom.getAttrib(blocks[0], 'dir'); - global$1.each(blocks, function (block) { - if (!dom.getParent(block.parentNode, '*[dir="' + dir + '"]', dom.getRoot())) { - dom.setAttrib(block, 'dir', curDir !== dir ? dir : null); - } - }); - editor.nodeChanged(); - } - }; - var Direction = { setDir: setDir }; - - var register = function (editor) { - editor.addCommand('mceDirectionLTR', function () { - Direction.setDir(editor, 'ltr'); - }); - editor.addCommand('mceDirectionRTL', function () { - Direction.setDir(editor, 'rtl'); - }); - }; - var Commands = { register: register }; - - var generateSelector = function (dir) { - var selector = []; - global$1.each('h1 h2 h3 h4 h5 h6 div p'.split(' '), function (name) { - selector.push(name + '[dir=' + dir + ']'); - }); - return selector.join(','); - }; - var register$1 = function (editor) { - editor.addButton('ltr', { - title: 'Left to right', - cmd: 'mceDirectionLTR', - stateSelector: generateSelector('ltr') - }); - editor.addButton('rtl', { - title: 'Right to left', - cmd: 'mceDirectionRTL', - stateSelector: generateSelector('rtl') - }); - }; - var Buttons = { register: register$1 }; - - global.add('directionality', function (editor) { - Commands.register(editor); - Buttons.register(editor); - }); - function Plugin () { - } - - return Plugin; - -}()); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/directionality/plugin.min.js b/build/wp-includes/js/tinymce/plugins/directionality/plugin.min.js deleted file mode 100644 index bb48bcf941..0000000000 --- a/build/wp-includes/js/tinymce/plugins/directionality/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=function(t,e){var i,n=t.dom,o=t.selection.getSelectedBlocks();o.length&&(i=n.getAttrib(o[0],"dir"),c.each(o,function(t){n.getParent(t.parentNode,'*[dir="'+e+'"]',n.getRoot())||n.setAttrib(t,"dir",i!==e?e:null)}),t.nodeChanged())},i=function(t){t.addCommand("mceDirectionLTR",function(){e(t,"ltr")}),t.addCommand("mceDirectionRTL",function(){e(t,"rtl")})},n=function(e){var i=[];return c.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(t){i.push(t+"[dir="+e+"]")}),i.join(",")},o=function(t){t.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:n("ltr")}),t.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:n("rtl")})};t.add("directionality",function(t){i(t),o(t)})}(); \ No newline at end of file diff --git a/build/wp-includes/js/tinymce/plugins/fullscreen/plugin.js b/build/wp-includes/js/tinymce/plugins/fullscreen/plugin.js deleted file mode 100644 index 1c5c00ea20..0000000000 --- a/build/wp-includes/js/tinymce/plugins/fullscreen/plugin.js +++ /dev/null @@ -1,177 +0,0 @@ -(function () { -var fullscreen = (function (domGlobals) { - 'use strict'; - - var Cell = function (initial) { - var value = initial; - var get = function () { - return value; - }; - var set = function (v) { - value = v; - }; - var clone = function () { - return Cell(get()); - }; - return { - get: get, - set: set, - clone: clone - }; - }; - - var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); - - var get = function (fullscreenState) { - return { - isFullscreen: function () { - return fullscreenState.get() !== null; - } - }; - }; - var Api = { get: get }; - - var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); - - var fireFullscreenStateChanged = function (editor, state) { - editor.fire('FullscreenStateChanged', { state: state }); - }; - var Events = { fireFullscreenStateChanged: fireFullscreenStateChanged }; - - var DOM = global$1.DOM; - var getWindowSize = function () { - var w; - var h; - var win = domGlobals.window; - var doc = domGlobals.document; - var body = doc.body; - if (body.offsetWidth) { - w = body.offsetWidth; - h = body.offsetHeight; - } - if (win.innerWidth && win.innerHeight) { - w = win.innerWidth; - h = win.innerHeight; - } - return { - w: w, - h: h - }; - }; - var getScrollPos = function () { - var vp = DOM.getViewPort(); - return { - x: vp.x, - y: vp.y - }; - }; - var setScrollPos = function (pos) { - domGlobals.window.scrollTo(pos.x, pos.y); - }; - var toggleFullscreen = function (editor, fullscreenState) { - var body = domGlobals.document.body; - var documentElement = domGlobals.document.documentElement; - var editorContainerStyle; - var editorContainer, iframe, iframeStyle; - var fullscreenInfo = fullscreenState.get(); - var resize = function () { - DOM.setStyle(iframe, 'height', getWindowSize().h - (editorContainer.clientHeight - iframe.clientHeight)); - }; - var removeResize = function () { - DOM.unbind(domGlobals.window, 'resize', resize); - }; - editorContainer = editor.getContainer(); - editorContainerStyle = editorContainer.style; - iframe = editor.getContentAreaContainer().firstChild; - iframeStyle = iframe.style; - if (!fullscreenInfo) { - var newFullScreenInfo = { - scrollPos: getScrollPos(), - containerWidth: editorContainerStyle.width, - containerHeight: editorContainerStyle.height, - iframeWidth: iframeStyle.width, - iframeHeight: iframeStyle.height, - resizeHandler: resize, - removeHandler: removeResize - }; - iframeStyle.width = iframeStyle.height = '100%'; - editorContainerStyle.width = editorContainerStyle.height = ''; - DOM.addClass(body, 'mce-fullscreen'); - DOM.addClass(documentElement, 'mce-fullscreen'); - DOM.addClass(editorContainer, 'mce-fullscreen'); - DOM.bind(domGlobals.window, 'resize', resize); - editor.on('remove', removeResize); - resize(); - fullscreenState.set(newFullScreenInfo); - Events.fireFullscreenStateChanged(editor, true); - } else { - iframeStyle.width = fullscreenInfo.iframeWidth; - iframeStyle.height = fullscreenInfo.iframeHeight; - if (fullscreenInfo.containerWidth) { - editorContainerStyle.width = fullscreenInfo.containerWidth; - } - if (fullscreenInfo.containerHeight) { - editorContainerStyle.height = fullscreenInfo.containerHeight; - } - DOM.removeClass(body, 'mce-fullscreen'); - DOM.removeClass(documentElement, 'mce-fullscreen'); - DOM.removeClass(editorContainer, 'mce-fullscreen'); - setScrollPos(fullscreenInfo.scrollPos); - DOM.unbind(domGlobals.window, 'resize', fullscreenInfo.resizeHandler); - editor.off('remove', fullscreenInfo.removeHandler); - fullscreenState.set(null); - Events.fireFullscreenStateChanged(editor, false); - } - }; - var Actions = { toggleFullscreen: toggleFullscreen }; - - var register = function (editor, fullscreenState) { - editor.addCommand('mceFullScreen', function () { - Actions.toggleFullscreen(editor, fullscreenState); - }); - }; - var Commands = { register: register }; - - var postRender = function (editor) { - return function (e) { - var ctrl = e.control; - editor.on('FullscreenStateChanged', function (e) { - ctrl.active(e.state); - }); - }; - }; - var register$1 = function (editor) { - editor.addMenuItem('fullscreen', { - text: 'Fullscreen', - shortcut: 'Ctrl+Shift+F', - selectable: true, - cmd: 'mceFullScreen', - onPostRender: postRender(editor), - context: 'view' - }); - editor.addButton('fullscreen', { - active: false, - tooltip: 'Fullscreen', - cmd: 'mceFullScreen', - onPostRender: postRender(editor) - }); - }; - var Buttons = { register: register$1 }; - - global.add('fullscreen', function (editor) { - var fullscreenState = Cell(null); - if (editor.settings.inline) { - return Api.get(fullscreenState); - } - Commands.register(editor, fullscreenState); - Buttons.register(editor); - editor.addShortcut('Ctrl+Shift+F', '', 'mceFullScreen'); - return Api.get(fullscreenState); - }); - function Plugin () { - } - - return Plugin; - -}(window)); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/fullscreen/plugin.min.js b/build/wp-includes/js/tinymce/plugins/fullscreen/plugin.min.js deleted file mode 100644 index 259afc9a5b..0000000000 --- a/build/wp-includes/js/tinymce/plugins/fullscreen/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(m){"use strict";var i=function(e){var n=e,t=function(){return n};return{get:t,set:function(e){n=e},clone:function(){return i(t())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return{isFullscreen:function(){return null!==e.get()}}},n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),g=function(e,n){e.fire("FullscreenStateChanged",{state:n})},w=n.DOM,r=function(e,n){var t,r,l,i,o,c,s=m.document.body,u=m.document.documentElement,d=n.get(),a=function(){var e,n,t,i;w.setStyle(l,"height",(t=m.window,i=m.document.body,i.offsetWidth&&(e=i.offsetWidth,n=i.offsetHeight),t.innerWidth&&t.innerHeight&&(e=t.innerWidth,n=t.innerHeight),{w:e,h:n}).h-(r.clientHeight-l.clientHeight))},h=function(){w.unbind(m.window,"resize",a)};if(t=(r=e.getContainer()).style,i=(l=e.getContentAreaContainer().firstChild).style,d)i.width=d.iframeWidth,i.height=d.iframeHeight,d.containerWidth&&(t.width=d.containerWidth),d.containerHeight&&(t.height=d.containerHeight),w.removeClass(s,"mce-fullscreen"),w.removeClass(u,"mce-fullscreen"),w.removeClass(r,"mce-fullscreen"),o=d.scrollPos,m.window.scrollTo(o.x,o.y),w.unbind(m.window,"resize",d.resizeHandler),e.off("remove",d.removeHandler),n.set(null),g(e,!1);else{var f={scrollPos:(c=w.getViewPort(),{x:c.x,y:c.y}),containerWidth:t.width,containerHeight:t.height,iframeWidth:i.width,iframeHeight:i.height,resizeHandler:a,removeHandler:h};i.width=i.height="100%",t.width=t.height="",w.addClass(s,"mce-fullscreen"),w.addClass(u,"mce-fullscreen"),w.addClass(r,"mce-fullscreen"),w.bind(m.window,"resize",a),e.on("remove",h),a(),n.set(f),g(e,!0)}},l=function(e,n){e.addCommand("mceFullScreen",function(){r(e,n)})},o=function(t){return function(e){var n=e.control;t.on("FullscreenStateChanged",function(e){n.active(e.state)})}},c=function(e){e.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Ctrl+Shift+F",selectable:!0,cmd:"mceFullScreen",onPostRender:o(e),context:"view"}),e.addButton("fullscreen",{active:!1,tooltip:"Fullscreen",cmd:"mceFullScreen",onPostRender:o(e)})};e.add("fullscreen",function(e){var n=i(null);return e.settings.inline||(l(e,n),c(e),e.addShortcut("Ctrl+Shift+F","","mceFullScreen")),t(n)})}(window); \ No newline at end of file diff --git a/build/wp-includes/js/tinymce/plugins/hr/plugin.js b/build/wp-includes/js/tinymce/plugins/hr/plugin.js deleted file mode 100644 index 56f9d08ca3..0000000000 --- a/build/wp-includes/js/tinymce/plugins/hr/plugin.js +++ /dev/null @@ -1,39 +0,0 @@ -(function () { -var hr = (function () { - 'use strict'; - - var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); - - var register = function (editor) { - editor.addCommand('InsertHorizontalRule', function () { - editor.execCommand('mceInsertContent', false, '
    '); - }); - }; - var Commands = { register: register }; - - var register$1 = function (editor) { - editor.addButton('hr', { - icon: 'hr', - tooltip: 'Horizontal line', - cmd: 'InsertHorizontalRule' - }); - editor.addMenuItem('hr', { - icon: 'hr', - text: 'Horizontal line', - cmd: 'InsertHorizontalRule', - context: 'insert' - }); - }; - var Buttons = { register: register$1 }; - - global.add('hr', function (editor) { - Commands.register(editor); - Buttons.register(editor); - }); - function Plugin () { - } - - return Plugin; - -}()); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/hr/plugin.min.js b/build/wp-includes/js/tinymce/plugins/hr/plugin.min.js deleted file mode 100644 index 72bc2cabd1..0000000000 --- a/build/wp-includes/js/tinymce/plugins/hr/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(n){n.addCommand("InsertHorizontalRule",function(){n.execCommand("mceInsertContent",!1,"
    ")})},o=function(n){n.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),n.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})};n.add("hr",function(n){t(n),o(n)})}(); \ No newline at end of file diff --git a/build/wp-includes/js/tinymce/plugins/image/plugin.js b/build/wp-includes/js/tinymce/plugins/image/plugin.js deleted file mode 100644 index 62ccc9da78..0000000000 --- a/build/wp-includes/js/tinymce/plugins/image/plugin.js +++ /dev/null @@ -1,1209 +0,0 @@ -(function () { -var image = (function (domGlobals) { - 'use strict'; - - var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); - - var hasDimensions = function (editor) { - return editor.settings.image_dimensions === false ? false : true; - }; - var hasAdvTab = function (editor) { - return editor.settings.image_advtab === true ? true : false; - }; - var getPrependUrl = function (editor) { - return editor.getParam('image_prepend_url', ''); - }; - var getClassList = function (editor) { - return editor.getParam('image_class_list'); - }; - var hasDescription = function (editor) { - return editor.settings.image_description === false ? false : true; - }; - var hasImageTitle = function (editor) { - return editor.settings.image_title === true ? true : false; - }; - var hasImageCaption = function (editor) { - return editor.settings.image_caption === true ? true : false; - }; - var getImageList = function (editor) { - return editor.getParam('image_list', false); - }; - var hasUploadUrl = function (editor) { - return editor.getParam('images_upload_url', false); - }; - var hasUploadHandler = function (editor) { - return editor.getParam('images_upload_handler', false); - }; - var getUploadUrl = function (editor) { - return editor.getParam('images_upload_url'); - }; - var getUploadHandler = function (editor) { - return editor.getParam('images_upload_handler'); - }; - var getUploadBasePath = function (editor) { - return editor.getParam('images_upload_base_path'); - }; - var getUploadCredentials = function (editor) { - return editor.getParam('images_upload_credentials'); - }; - var Settings = { - hasDimensions: hasDimensions, - hasAdvTab: hasAdvTab, - getPrependUrl: getPrependUrl, - getClassList: getClassList, - hasDescription: hasDescription, - hasImageTitle: hasImageTitle, - hasImageCaption: hasImageCaption, - getImageList: getImageList, - hasUploadUrl: hasUploadUrl, - hasUploadHandler: hasUploadHandler, - getUploadUrl: getUploadUrl, - getUploadHandler: getUploadHandler, - getUploadBasePath: getUploadBasePath, - getUploadCredentials: getUploadCredentials - }; - - var Global = typeof domGlobals.window !== 'undefined' ? domGlobals.window : Function('return this;')(); - - var path = function (parts, scope) { - var o = scope !== undefined && scope !== null ? scope : Global; - for (var i = 0; i < parts.length && o !== undefined && o !== null; ++i) { - o = o[parts[i]]; - } - return o; - }; - var resolve = function (p, scope) { - var parts = p.split('.'); - return path(parts, scope); - }; - - var unsafe = function (name, scope) { - return resolve(name, scope); - }; - var getOrDie = function (name, scope) { - var actual = unsafe(name, scope); - if (actual === undefined || actual === null) { - throw new Error(name + ' not available on this browser'); - } - return actual; - }; - var Global$1 = { getOrDie: getOrDie }; - - function FileReader () { - var f = Global$1.getOrDie('FileReader'); - return new f(); - } - - var global$1 = tinymce.util.Tools.resolve('tinymce.util.Promise'); - - var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools'); - - var global$3 = tinymce.util.Tools.resolve('tinymce.util.XHR'); - - var parseIntAndGetMax = function (val1, val2) { - return Math.max(parseInt(val1, 10), parseInt(val2, 10)); - }; - var getImageSize = function (url, callback) { - var img = domGlobals.document.createElement('img'); - function done(width, height) { - if (img.parentNode) { - img.parentNode.removeChild(img); - } - callback({ - width: width, - height: height - }); - } - img.onload = function () { - var width = parseIntAndGetMax(img.width, img.clientWidth); - var height = parseIntAndGetMax(img.height, img.clientHeight); - done(width, height); - }; - img.onerror = function () { - done(0, 0); - }; - var style = img.style; - style.visibility = 'hidden'; - style.position = 'fixed'; - style.bottom = style.left = '0px'; - style.width = style.height = 'auto'; - domGlobals.document.body.appendChild(img); - img.src = url; - }; - var buildListItems = function (inputList, itemCallback, startItems) { - function appendItems(values, output) { - output = output || []; - global$2.each(values, function (item) { - var menuItem = { text: item.text || item.title }; - if (item.menu) { - menuItem.menu = appendItems(item.menu); - } else { - menuItem.value = item.value; - itemCallback(menuItem); - } - output.push(menuItem); - }); - return output; - } - return appendItems(inputList, startItems || []); - }; - var removePixelSuffix = function (value) { - if (value) { - value = value.replace(/px$/, ''); - } - return value; - }; - var addPixelSuffix = function (value) { - if (value.length > 0 && /^[0-9]+$/.test(value)) { - value += 'px'; - } - return value; - }; - var mergeMargins = function (css) { - if (css.margin) { - var splitMargin = css.margin.split(' '); - switch (splitMargin.length) { - case 1: - css['margin-top'] = css['margin-top'] || splitMargin[0]; - css['margin-right'] = css['margin-right'] || splitMargin[0]; - css['margin-bottom'] = css['margin-bottom'] || splitMargin[0]; - css['margin-left'] = css['margin-left'] || splitMargin[0]; - break; - case 2: - css['margin-top'] = css['margin-top'] || splitMargin[0]; - css['margin-right'] = css['margin-right'] || splitMargin[1]; - css['margin-bottom'] = css['margin-bottom'] || splitMargin[0]; - css['margin-left'] = css['margin-left'] || splitMargin[1]; - break; - case 3: - css['margin-top'] = css['margin-top'] || splitMargin[0]; - css['margin-right'] = css['margin-right'] || splitMargin[1]; - css['margin-bottom'] = css['margin-bottom'] || splitMargin[2]; - css['margin-left'] = css['margin-left'] || splitMargin[1]; - break; - case 4: - css['margin-top'] = css['margin-top'] || splitMargin[0]; - css['margin-right'] = css['margin-right'] || splitMargin[1]; - css['margin-bottom'] = css['margin-bottom'] || splitMargin[2]; - css['margin-left'] = css['margin-left'] || splitMargin[3]; - } - delete css.margin; - } - return css; - }; - var createImageList = function (editor, callback) { - var imageList = Settings.getImageList(editor); - if (typeof imageList === 'string') { - global$3.send({ - url: imageList, - success: function (text) { - callback(JSON.parse(text)); - } - }); - } else if (typeof imageList === 'function') { - imageList(callback); - } else { - callback(imageList); - } - }; - var waitLoadImage = function (editor, data, imgElm) { - function selectImage() { - imgElm.onload = imgElm.onerror = null; - if (editor.selection) { - editor.selection.select(imgElm); - editor.nodeChanged(); - } - } - imgElm.onload = function () { - if (!data.width && !data.height && Settings.hasDimensions(editor)) { - editor.dom.setAttribs(imgElm, { - width: imgElm.clientWidth, - height: imgElm.clientHeight - }); - } - selectImage(); - }; - imgElm.onerror = selectImage; - }; - var blobToDataUri = function (blob) { - return new global$1(function (resolve, reject) { - var reader = FileReader(); - reader.onload = function () { - resolve(reader.result); - }; - reader.onerror = function () { - reject(reader.error.message); - }; - reader.readAsDataURL(blob); - }); - }; - var Utils = { - getImageSize: getImageSize, - buildListItems: buildListItems, - removePixelSuffix: removePixelSuffix, - addPixelSuffix: addPixelSuffix, - mergeMargins: mergeMargins, - createImageList: createImageList, - waitLoadImage: waitLoadImage, - blobToDataUri: blobToDataUri - }; - - var global$4 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); - - var hasOwnProperty = Object.prototype.hasOwnProperty; - var shallow = function (old, nu) { - return nu; - }; - var baseMerge = function (merger) { - return function () { - var objects = new Array(arguments.length); - for (var i = 0; i < objects.length; i++) { - objects[i] = arguments[i]; - } - if (objects.length === 0) { - throw new Error('Can\'t merge zero objects'); - } - var ret = {}; - for (var j = 0; j < objects.length; j++) { - var curObject = objects[j]; - for (var key in curObject) { - if (hasOwnProperty.call(curObject, key)) { - ret[key] = merger(ret[key], curObject[key]); - } - } - } - return ret; - }; - }; - var merge = baseMerge(shallow); - - var DOM = global$4.DOM; - var getHspace = function (image) { - if (image.style.marginLeft && image.style.marginRight && image.style.marginLeft === image.style.marginRight) { - return Utils.removePixelSuffix(image.style.marginLeft); - } else { - return ''; - } - }; - var getVspace = function (image) { - if (image.style.marginTop && image.style.marginBottom && image.style.marginTop === image.style.marginBottom) { - return Utils.removePixelSuffix(image.style.marginTop); - } else { - return ''; - } - }; - var getBorder = function (image) { - if (image.style.borderWidth) { - return Utils.removePixelSuffix(image.style.borderWidth); - } else { - return ''; - } - }; - var getAttrib = function (image, name) { - if (image.hasAttribute(name)) { - return image.getAttribute(name); - } else { - return ''; - } - }; - var getStyle = function (image, name) { - return image.style[name] ? image.style[name] : ''; - }; - var hasCaption = function (image) { - return image.parentNode !== null && image.parentNode.nodeName === 'FIGURE'; - }; - var setAttrib = function (image, name, value) { - image.setAttribute(name, value); - }; - var wrapInFigure = function (image) { - var figureElm = DOM.create('figure', { class: 'image' }); - DOM.insertAfter(figureElm, image); - figureElm.appendChild(image); - figureElm.appendChild(DOM.create('figcaption', { contentEditable: true }, 'Caption')); - figureElm.contentEditable = 'false'; - }; - var removeFigure = function (image) { - var figureElm = image.parentNode; - DOM.insertAfter(image, figureElm); - DOM.remove(figureElm); - }; - var toggleCaption = function (image) { - if (hasCaption(image)) { - removeFigure(image); - } else { - wrapInFigure(image); - } - }; - var normalizeStyle = function (image, normalizeCss) { - var attrValue = image.getAttribute('style'); - var value = normalizeCss(attrValue !== null ? attrValue : ''); - if (value.length > 0) { - image.setAttribute('style', value); - image.setAttribute('data-mce-style', value); - } else { - image.removeAttribute('style'); - } - }; - var setSize = function (name, normalizeCss) { - return function (image, name, value) { - if (image.style[name]) { - image.style[name] = Utils.addPixelSuffix(value); - normalizeStyle(image, normalizeCss); - } else { - setAttrib(image, name, value); - } - }; - }; - var getSize = function (image, name) { - if (image.style[name]) { - return Utils.removePixelSuffix(image.style[name]); - } else { - return getAttrib(image, name); - } - }; - var setHspace = function (image, value) { - var pxValue = Utils.addPixelSuffix(value); - image.style.marginLeft = pxValue; - image.style.marginRight = pxValue; - }; - var setVspace = function (image, value) { - var pxValue = Utils.addPixelSuffix(value); - image.style.marginTop = pxValue; - image.style.marginBottom = pxValue; - }; - var setBorder = function (image, value) { - var pxValue = Utils.addPixelSuffix(value); - image.style.borderWidth = pxValue; - }; - var setBorderStyle = function (image, value) { - image.style.borderStyle = value; - }; - var getBorderStyle = function (image) { - return getStyle(image, 'borderStyle'); - }; - var isFigure = function (elm) { - return elm.nodeName === 'FIGURE'; - }; - var defaultData = function () { - return { - src: '', - alt: '', - title: '', - width: '', - height: '', - class: '', - style: '', - caption: false, - hspace: '', - vspace: '', - border: '', - borderStyle: '' - }; - }; - var getStyleValue = function (normalizeCss, data) { - var image = domGlobals.document.createElement('img'); - setAttrib(image, 'style', data.style); - if (getHspace(image) || data.hspace !== '') { - setHspace(image, data.hspace); - } - if (getVspace(image) || data.vspace !== '') { - setVspace(image, data.vspace); - } - if (getBorder(image) || data.border !== '') { - setBorder(image, data.border); - } - if (getBorderStyle(image) || data.borderStyle !== '') { - setBorderStyle(image, data.borderStyle); - } - return normalizeCss(image.getAttribute('style')); - }; - var create = function (normalizeCss, data) { - var image = domGlobals.document.createElement('img'); - write(normalizeCss, merge(data, { caption: false }), image); - setAttrib(image, 'alt', data.alt); - if (data.caption) { - var figure = DOM.create('figure', { class: 'image' }); - figure.appendChild(image); - figure.appendChild(DOM.create('figcaption', { contentEditable: true }, 'Caption')); - figure.contentEditable = 'false'; - return figure; - } else { - return image; - } - }; - var read = function (normalizeCss, image) { - return { - src: getAttrib(image, 'src'), - alt: getAttrib(image, 'alt'), - title: getAttrib(image, 'title'), - width: getSize(image, 'width'), - height: getSize(image, 'height'), - class: getAttrib(image, 'class'), - style: normalizeCss(getAttrib(image, 'style')), - caption: hasCaption(image), - hspace: getHspace(image), - vspace: getVspace(image), - border: getBorder(image), - borderStyle: getStyle(image, 'borderStyle') - }; - }; - var updateProp = function (image, oldData, newData, name, set) { - if (newData[name] !== oldData[name]) { - set(image, name, newData[name]); - } - }; - var normalized = function (set, normalizeCss) { - return function (image, name, value) { - set(image, value); - normalizeStyle(image, normalizeCss); - }; - }; - var write = function (normalizeCss, newData, image) { - var oldData = read(normalizeCss, image); - updateProp(image, oldData, newData, 'caption', function (image, _name, _value) { - return toggleCaption(image); - }); - updateProp(image, oldData, newData, 'src', setAttrib); - updateProp(image, oldData, newData, 'alt', setAttrib); - updateProp(image, oldData, newData, 'title', setAttrib); - updateProp(image, oldData, newData, 'width', setSize('width', normalizeCss)); - updateProp(image, oldData, newData, 'height', setSize('height', normalizeCss)); - updateProp(image, oldData, newData, 'class', setAttrib); - updateProp(image, oldData, newData, 'style', normalized(function (image, value) { - return setAttrib(image, 'style', value); - }, normalizeCss)); - updateProp(image, oldData, newData, 'hspace', normalized(setHspace, normalizeCss)); - updateProp(image, oldData, newData, 'vspace', normalized(setVspace, normalizeCss)); - updateProp(image, oldData, newData, 'border', normalized(setBorder, normalizeCss)); - updateProp(image, oldData, newData, 'borderStyle', normalized(setBorderStyle, normalizeCss)); - }; - - var normalizeCss = function (editor, cssText) { - var css = editor.dom.styles.parse(cssText); - var mergedCss = Utils.mergeMargins(css); - var compressed = editor.dom.styles.parse(editor.dom.styles.serialize(mergedCss)); - return editor.dom.styles.serialize(compressed); - }; - var getSelectedImage = function (editor) { - var imgElm = editor.selection.getNode(); - var figureElm = editor.dom.getParent(imgElm, 'figure.image'); - if (figureElm) { - return editor.dom.select('img', figureElm)[0]; - } - if (imgElm && (imgElm.nodeName !== 'IMG' || imgElm.getAttribute('data-mce-object') || imgElm.getAttribute('data-mce-placeholder'))) { - return null; - } - return imgElm; - }; - var splitTextBlock = function (editor, figure) { - var dom = editor.dom; - var textBlock = dom.getParent(figure.parentNode, function (node) { - return editor.schema.getTextBlockElements()[node.nodeName]; - }, editor.getBody()); - if (textBlock) { - return dom.split(textBlock, figure); - } else { - return figure; - } - }; - var readImageDataFromSelection = function (editor) { - var image = getSelectedImage(editor); - return image ? read(function (css) { - return normalizeCss(editor, css); - }, image) : defaultData(); - }; - var insertImageAtCaret = function (editor, data) { - var elm = create(function (css) { - return normalizeCss(editor, css); - }, data); - editor.dom.setAttrib(elm, 'data-mce-id', '__mcenew'); - editor.focus(); - editor.selection.setContent(elm.outerHTML); - var insertedElm = editor.dom.select('*[data-mce-id="__mcenew"]')[0]; - editor.dom.setAttrib(insertedElm, 'data-mce-id', null); - if (isFigure(insertedElm)) { - var figure = splitTextBlock(editor, insertedElm); - editor.selection.select(figure); - } else { - editor.selection.select(insertedElm); - } - }; - var syncSrcAttr = function (editor, image) { - editor.dom.setAttrib(image, 'src', image.getAttribute('src')); - }; - var deleteImage = function (editor, image) { - if (image) { - var elm = editor.dom.is(image.parentNode, 'figure.image') ? image.parentNode : image; - editor.dom.remove(elm); - editor.focus(); - editor.nodeChanged(); - if (editor.dom.isEmpty(editor.getBody())) { - editor.setContent(''); - editor.selection.setCursorLocation(); - } - } - }; - var writeImageDataToSelection = function (editor, data) { - var image = getSelectedImage(editor); - write(function (css) { - return normalizeCss(editor, css); - }, data, image); - syncSrcAttr(editor, image); - if (isFigure(image.parentNode)) { - var figure = image.parentNode; - splitTextBlock(editor, figure); - editor.selection.select(image.parentNode); - } else { - editor.selection.select(image); - Utils.waitLoadImage(editor, data, image); - } - }; - var insertOrUpdateImage = function (editor, data) { - var image = getSelectedImage(editor); - if (image) { - if (data.src) { - writeImageDataToSelection(editor, data); - } else { - deleteImage(editor, image); - } - } else if (data.src) { - insertImageAtCaret(editor, data); - } - }; - - var updateVSpaceHSpaceBorder = function (editor) { - return function (evt) { - var dom = editor.dom; - var rootControl = evt.control.rootControl; - if (!Settings.hasAdvTab(editor)) { - return; - } - var data = rootControl.toJSON(); - var css = dom.parseStyle(data.style); - rootControl.find('#vspace').value(''); - rootControl.find('#hspace').value(''); - css = Utils.mergeMargins(css); - if (css['margin-top'] && css['margin-bottom'] || css['margin-right'] && css['margin-left']) { - if (css['margin-top'] === css['margin-bottom']) { - rootControl.find('#vspace').value(Utils.removePixelSuffix(css['margin-top'])); - } else { - rootControl.find('#vspace').value(''); - } - if (css['margin-right'] === css['margin-left']) { - rootControl.find('#hspace').value(Utils.removePixelSuffix(css['margin-right'])); - } else { - rootControl.find('#hspace').value(''); - } - } - if (css['border-width']) { - rootControl.find('#border').value(Utils.removePixelSuffix(css['border-width'])); - } else { - rootControl.find('#border').value(''); - } - if (css['border-style']) { - rootControl.find('#borderStyle').value(css['border-style']); - } else { - rootControl.find('#borderStyle').value(''); - } - rootControl.find('#style').value(dom.serializeStyle(dom.parseStyle(dom.serializeStyle(css)))); - }; - }; - var updateStyle = function (editor, win) { - win.find('#style').each(function (ctrl) { - var value = getStyleValue(function (css) { - return normalizeCss(editor, css); - }, merge(defaultData(), win.toJSON())); - ctrl.value(value); - }); - }; - var makeTab = function (editor) { - return { - title: 'Advanced', - type: 'form', - pack: 'start', - items: [ - { - label: 'Style', - name: 'style', - type: 'textbox', - onchange: updateVSpaceHSpaceBorder(editor) - }, - { - type: 'form', - layout: 'grid', - packV: 'start', - columns: 2, - padding: 0, - defaults: { - type: 'textbox', - maxWidth: 50, - onchange: function (evt) { - updateStyle(editor, evt.control.rootControl); - } - }, - items: [ - { - label: 'Vertical space', - name: 'vspace' - }, - { - label: 'Border width', - name: 'border' - }, - { - label: 'Horizontal space', - name: 'hspace' - }, - { - label: 'Border style', - type: 'listbox', - name: 'borderStyle', - width: 90, - maxWidth: 90, - onselect: function (evt) { - updateStyle(editor, evt.control.rootControl); - }, - values: [ - { - text: 'Select...', - value: '' - }, - { - text: 'Solid', - value: 'solid' - }, - { - text: 'Dotted', - value: 'dotted' - }, - { - text: 'Dashed', - value: 'dashed' - }, - { - text: 'Double', - value: 'double' - }, - { - text: 'Groove', - value: 'groove' - }, - { - text: 'Ridge', - value: 'ridge' - }, - { - text: 'Inset', - value: 'inset' - }, - { - text: 'Outset', - value: 'outset' - }, - { - text: 'None', - value: 'none' - }, - { - text: 'Hidden', - value: 'hidden' - } - ] - } - ] - } - ] - }; - }; - var AdvTab = { makeTab: makeTab }; - - var doSyncSize = function (widthCtrl, heightCtrl) { - widthCtrl.state.set('oldVal', widthCtrl.value()); - heightCtrl.state.set('oldVal', heightCtrl.value()); - }; - var doSizeControls = function (win, f) { - var widthCtrl = win.find('#width')[0]; - var heightCtrl = win.find('#height')[0]; - var constrained = win.find('#constrain')[0]; - if (widthCtrl && heightCtrl && constrained) { - f(widthCtrl, heightCtrl, constrained.checked()); - } - }; - var doUpdateSize = function (widthCtrl, heightCtrl, isContrained) { - var oldWidth = widthCtrl.state.get('oldVal'); - var oldHeight = heightCtrl.state.get('oldVal'); - var newWidth = widthCtrl.value(); - var newHeight = heightCtrl.value(); - if (isContrained && oldWidth && oldHeight && newWidth && newHeight) { - if (newWidth !== oldWidth) { - newHeight = Math.round(newWidth / oldWidth * newHeight); - if (!isNaN(newHeight)) { - heightCtrl.value(newHeight); - } - } else { - newWidth = Math.round(newHeight / oldHeight * newWidth); - if (!isNaN(newWidth)) { - widthCtrl.value(newWidth); - } - } - } - doSyncSize(widthCtrl, heightCtrl); - }; - var syncSize = function (win) { - doSizeControls(win, doSyncSize); - }; - var updateSize = function (win) { - doSizeControls(win, doUpdateSize); - }; - var createUi = function () { - var recalcSize = function (evt) { - updateSize(evt.control.rootControl); - }; - return { - type: 'container', - label: 'Dimensions', - layout: 'flex', - align: 'center', - spacing: 5, - items: [ - { - name: 'width', - type: 'textbox', - maxLength: 5, - size: 5, - onchange: recalcSize, - ariaLabel: 'Width' - }, - { - type: 'label', - text: 'x' - }, - { - name: 'height', - type: 'textbox', - maxLength: 5, - size: 5, - onchange: recalcSize, - ariaLabel: 'Height' - }, - { - name: 'constrain', - type: 'checkbox', - checked: true, - text: 'Constrain proportions' - } - ] - }; - }; - var SizeManager = { - createUi: createUi, - syncSize: syncSize, - updateSize: updateSize - }; - - var onSrcChange = function (evt, editor) { - var srcURL, prependURL, absoluteURLPattern; - var meta = evt.meta || {}; - var control = evt.control; - var rootControl = control.rootControl; - var imageListCtrl = rootControl.find('#image-list')[0]; - if (imageListCtrl) { - imageListCtrl.value(editor.convertURL(control.value(), 'src')); - } - global$2.each(meta, function (value, key) { - rootControl.find('#' + key).value(value); - }); - if (!meta.width && !meta.height) { - srcURL = editor.convertURL(control.value(), 'src'); - prependURL = Settings.getPrependUrl(editor); - absoluteURLPattern = new RegExp('^(?:[a-z]+:)?//', 'i'); - if (prependURL && !absoluteURLPattern.test(srcURL) && srcURL.substring(0, prependURL.length) !== prependURL) { - srcURL = prependURL + srcURL; - } - control.value(srcURL); - Utils.getImageSize(editor.documentBaseURI.toAbsolute(control.value()), function (data) { - if (data.width && data.height && Settings.hasDimensions(editor)) { - rootControl.find('#width').value(data.width); - rootControl.find('#height').value(data.height); - SizeManager.syncSize(rootControl); - } - }); - } - }; - var onBeforeCall = function (evt) { - evt.meta = evt.control.rootControl.toJSON(); - }; - var getGeneralItems = function (editor, imageListCtrl) { - var generalFormItems = [ - { - name: 'src', - type: 'filepicker', - filetype: 'image', - label: 'Source', - autofocus: true, - onchange: function (evt) { - onSrcChange(evt, editor); - }, - onbeforecall: onBeforeCall - }, - imageListCtrl - ]; - if (Settings.hasDescription(editor)) { - generalFormItems.push({ - name: 'alt', - type: 'textbox', - label: 'Image description' - }); - } - if (Settings.hasImageTitle(editor)) { - generalFormItems.push({ - name: 'title', - type: 'textbox', - label: 'Image Title' - }); - } - if (Settings.hasDimensions(editor)) { - generalFormItems.push(SizeManager.createUi()); - } - if (Settings.getClassList(editor)) { - generalFormItems.push({ - name: 'class', - type: 'listbox', - label: 'Class', - values: Utils.buildListItems(Settings.getClassList(editor), function (item) { - if (item.value) { - item.textStyle = function () { - return editor.formatter.getCssText({ - inline: 'img', - classes: [item.value] - }); - }; - } - }) - }); - } - if (Settings.hasImageCaption(editor)) { - generalFormItems.push({ - name: 'caption', - type: 'checkbox', - label: 'Caption' - }); - } - return generalFormItems; - }; - var makeTab$1 = function (editor, imageListCtrl) { - return { - title: 'General', - type: 'form', - items: getGeneralItems(editor, imageListCtrl) - }; - }; - var MainTab = { - makeTab: makeTab$1, - getGeneralItems: getGeneralItems - }; - - var url = function () { - return Global$1.getOrDie('URL'); - }; - var createObjectURL = function (blob) { - return url().createObjectURL(blob); - }; - var revokeObjectURL = function (u) { - url().revokeObjectURL(u); - }; - var URL = { - createObjectURL: createObjectURL, - revokeObjectURL: revokeObjectURL - }; - - var global$5 = tinymce.util.Tools.resolve('tinymce.ui.Factory'); - - function XMLHttpRequest () { - var f = Global$1.getOrDie('XMLHttpRequest'); - return new f(); - } - - var noop = function () { - }; - var pathJoin = function (path1, path2) { - if (path1) { - return path1.replace(/\/$/, '') + '/' + path2.replace(/^\//, ''); - } - return path2; - }; - function Uploader (settings) { - var defaultHandler = function (blobInfo, success, failure, progress) { - var xhr, formData; - xhr = XMLHttpRequest(); - xhr.open('POST', settings.url); - xhr.withCredentials = settings.credentials; - xhr.upload.onprogress = function (e) { - progress(e.loaded / e.total * 100); - }; - xhr.onerror = function () { - failure('Image upload failed due to a XHR Transport error. Code: ' + xhr.status); - }; - xhr.onload = function () { - var json; - if (xhr.status < 200 || xhr.status >= 300) { - failure('HTTP Error: ' + xhr.status); - return; - } - json = JSON.parse(xhr.responseText); - if (!json || typeof json.location !== 'string') { - failure('Invalid JSON: ' + xhr.responseText); - return; - } - success(pathJoin(settings.basePath, json.location)); - }; - formData = new domGlobals.FormData(); - formData.append('file', blobInfo.blob(), blobInfo.filename()); - xhr.send(formData); - }; - var uploadBlob = function (blobInfo, handler) { - return new global$1(function (resolve, reject) { - try { - handler(blobInfo, resolve, reject, noop); - } catch (ex) { - reject(ex.message); - } - }); - }; - var isDefaultHandler = function (handler) { - return handler === defaultHandler; - }; - var upload = function (blobInfo) { - return !settings.url && isDefaultHandler(settings.handler) ? global$1.reject('Upload url missing from the settings.') : uploadBlob(blobInfo, settings.handler); - }; - settings = global$2.extend({ - credentials: false, - handler: defaultHandler - }, settings); - return { upload: upload }; - } - - var onFileInput = function (editor) { - return function (evt) { - var Throbber = global$5.get('Throbber'); - var rootControl = evt.control.rootControl; - var throbber = new Throbber(rootControl.getEl()); - var file = evt.control.value(); - var blobUri = URL.createObjectURL(file); - var uploader = Uploader({ - url: Settings.getUploadUrl(editor), - basePath: Settings.getUploadBasePath(editor), - credentials: Settings.getUploadCredentials(editor), - handler: Settings.getUploadHandler(editor) - }); - var finalize = function () { - throbber.hide(); - URL.revokeObjectURL(blobUri); - }; - throbber.show(); - return Utils.blobToDataUri(file).then(function (dataUrl) { - var blobInfo = editor.editorUpload.blobCache.create({ - blob: file, - blobUri: blobUri, - name: file.name ? file.name.replace(/\.[^\.]+$/, '') : null, - base64: dataUrl.split(',')[1] - }); - return uploader.upload(blobInfo).then(function (url) { - var src = rootControl.find('#src'); - src.value(url); - rootControl.find('tabpanel')[0].activateTab(0); - src.fire('change'); - finalize(); - return url; - }); - }).catch(function (err) { - editor.windowManager.alert(err); - finalize(); - }); - }; - }; - var acceptExts = '.jpg,.jpeg,.png,.gif'; - var makeTab$2 = function (editor) { - return { - title: 'Upload', - type: 'form', - layout: 'flex', - direction: 'column', - align: 'stretch', - padding: '20 20 20 20', - items: [ - { - type: 'container', - layout: 'flex', - direction: 'column', - align: 'center', - spacing: 10, - items: [ - { - text: 'Browse for an image', - type: 'browsebutton', - accept: acceptExts, - onchange: onFileInput(editor) - }, - { - text: 'OR', - type: 'label' - } - ] - }, - { - text: 'Drop an image here', - type: 'dropzone', - accept: acceptExts, - height: 100, - onchange: onFileInput(editor) - } - ] - }; - }; - var UploadTab = { makeTab: makeTab$2 }; - - function curry(fn) { - var initialArgs = []; - for (var _i = 1; _i < arguments.length; _i++) { - initialArgs[_i - 1] = arguments[_i]; - } - return function () { - var restArgs = []; - for (var _i = 0; _i < arguments.length; _i++) { - restArgs[_i] = arguments[_i]; - } - var all = initialArgs.concat(restArgs); - return fn.apply(null, all); - }; - } - - var submitForm = function (editor, evt) { - var win = evt.control.getRoot(); - SizeManager.updateSize(win); - editor.undoManager.transact(function () { - var data = merge(readImageDataFromSelection(editor), win.toJSON()); - insertOrUpdateImage(editor, data); - }); - editor.editorUpload.uploadImagesAuto(); - }; - function Dialog (editor) { - function showDialog(imageList) { - var data = readImageDataFromSelection(editor); - var win, imageListCtrl; - if (imageList) { - imageListCtrl = { - type: 'listbox', - label: 'Image list', - name: 'image-list', - values: Utils.buildListItems(imageList, function (item) { - item.value = editor.convertURL(item.value || item.url, 'src'); - }, [{ - text: 'None', - value: '' - }]), - value: data.src && editor.convertURL(data.src, 'src'), - onselect: function (e) { - var altCtrl = win.find('#alt'); - if (!altCtrl.value() || e.lastControl && altCtrl.value() === e.lastControl.text()) { - altCtrl.value(e.control.text()); - } - win.find('#src').value(e.control.value()).fire('change'); - }, - onPostRender: function () { - imageListCtrl = this; - } - }; - } - if (Settings.hasAdvTab(editor) || Settings.hasUploadUrl(editor) || Settings.hasUploadHandler(editor)) { - var body = [MainTab.makeTab(editor, imageListCtrl)]; - if (Settings.hasAdvTab(editor)) { - body.push(AdvTab.makeTab(editor)); - } - if (Settings.hasUploadUrl(editor) || Settings.hasUploadHandler(editor)) { - body.push(UploadTab.makeTab(editor)); - } - win = editor.windowManager.open({ - title: 'Insert/edit image', - data: data, - bodyType: 'tabpanel', - body: body, - onSubmit: curry(submitForm, editor) - }); - } else { - win = editor.windowManager.open({ - title: 'Insert/edit image', - data: data, - body: MainTab.getGeneralItems(editor, imageListCtrl), - onSubmit: curry(submitForm, editor) - }); - } - SizeManager.syncSize(win); - } - function open() { - Utils.createImageList(editor, showDialog); - } - return { open: open }; - } - - var register = function (editor) { - editor.addCommand('mceImage', Dialog(editor).open); - }; - var Commands = { register: register }; - - var hasImageClass = function (node) { - var className = node.attr('class'); - return className && /\bimage\b/.test(className); - }; - var toggleContentEditableState = function (state) { - return function (nodes) { - var i = nodes.length, node; - var toggleContentEditable = function (node) { - node.attr('contenteditable', state ? 'true' : null); - }; - while (i--) { - node = nodes[i]; - if (hasImageClass(node)) { - node.attr('contenteditable', state ? 'false' : null); - global$2.each(node.getAll('figcaption'), toggleContentEditable); - } - } - }; - }; - var setup = function (editor) { - editor.on('preInit', function () { - editor.parser.addNodeFilter('figure', toggleContentEditableState(true)); - editor.serializer.addNodeFilter('figure', toggleContentEditableState(false)); - }); - }; - var FilterContent = { setup: setup }; - - var register$1 = function (editor) { - editor.addButton('image', { - icon: 'image', - tooltip: 'Insert/edit image', - onclick: Dialog(editor).open, - stateSelector: 'img:not([data-mce-object],[data-mce-placeholder]),figure.image' - }); - editor.addMenuItem('image', { - icon: 'image', - text: 'Image', - onclick: Dialog(editor).open, - context: 'insert', - prependToContext: true - }); - }; - var Buttons = { register: register$1 }; - - global.add('image', function (editor) { - FilterContent.setup(editor); - Buttons.register(editor); - Commands.register(editor); - }); - function Plugin () { - } - - return Plugin; - -}(window)); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/image/plugin.min.js b/build/wp-includes/js/tinymce/plugins/image/plugin.min.js deleted file mode 100644 index 23473aa76d..0000000000 --- a/build/wp-includes/js/tinymce/plugins/image/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(l){"use strict";var i,e=tinymce.util.Tools.resolve("tinymce.PluginManager"),d=function(e){return!1!==e.settings.image_dimensions},u=function(e){return!0===e.settings.image_advtab},m=function(e){return e.getParam("image_prepend_url","")},n=function(e){return e.getParam("image_class_list")},r=function(e){return!1!==e.settings.image_description},a=function(e){return!0===e.settings.image_title},o=function(e){return!0===e.settings.image_caption},c=function(e){return e.getParam("image_list",!1)},s=function(e){return e.getParam("images_upload_url",!1)},g=function(e){return e.getParam("images_upload_handler",!1)},f=function(e){return e.getParam("images_upload_url")},p=function(e){return e.getParam("images_upload_handler")},h=function(e){return e.getParam("images_upload_base_path")},v=function(e){return e.getParam("images_upload_credentials")},b="undefined"!=typeof l.window?l.window:Function("return this;")(),y=function(e,t){return function(e,t){for(var n=t!==undefined&&null!==t?t:b,r=0;r 10) { - var link = domGlobals.document.createElement('a'); - link.target = '_blank'; - link.href = url; - link.rel = 'noreferrer noopener'; - var evt = domGlobals.document.createEvent('MouseEvents'); - evt.initMouseEvent('click', true, true, domGlobals.window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); - appendClickRemove(link, evt); - } else { - var win = domGlobals.window.open('', '_blank'); - if (win) { - win.opener = null; - var doc = win.document; - doc.open(); - doc.write(''); - doc.close(); - } - } - }; - var OpenUrl = { open: open }; - - var global$4 = tinymce.util.Tools.resolve('tinymce.util.Tools'); - - var toggleTargetRules = function (rel, isUnsafe) { - var rules = ['noopener']; - var newRel = rel ? rel.split(/\s+/) : []; - var toString = function (rel) { - return global$4.trim(rel.sort().join(' ')); - }; - var addTargetRules = function (rel) { - rel = removeTargetRules(rel); - return rel.length ? rel.concat(rules) : rules; - }; - var removeTargetRules = function (rel) { - return rel.filter(function (val) { - return global$4.inArray(rules, val) === -1; - }); - }; - newRel = isUnsafe ? addTargetRules(newRel) : removeTargetRules(newRel); - return newRel.length ? toString(newRel) : null; - }; - var trimCaretContainers = function (text) { - return text.replace(/\uFEFF/g, ''); - }; - var getAnchorElement = function (editor, selectedElm) { - selectedElm = selectedElm || editor.selection.getNode(); - if (isImageFigure(selectedElm)) { - return editor.dom.select('a[href]', selectedElm)[0]; - } else { - return editor.dom.getParent(selectedElm, 'a[href]'); - } - }; - var getAnchorText = function (selection, anchorElm) { - var text = anchorElm ? anchorElm.innerText || anchorElm.textContent : selection.getContent({ format: 'text' }); - return trimCaretContainers(text); - }; - var isLink = function (elm) { - return elm && elm.nodeName === 'A' && elm.href; - }; - var hasLinks = function (elements) { - return global$4.grep(elements, isLink).length > 0; - }; - var isOnlyTextSelected = function (html) { - if (/]+>[^<]+<\/a>$/.test(html) || html.indexOf('href=') === -1)) { - return false; - } - return true; - }; - var isImageFigure = function (node) { - return node && node.nodeName === 'FIGURE' && /\bimage\b/i.test(node.className); - }; - var link = function (editor, attachState) { - return function (data) { - editor.undoManager.transact(function () { - var selectedElm = editor.selection.getNode(); - var anchorElm = getAnchorElement(editor, selectedElm); - var linkAttrs = { - href: data.href, - target: data.target ? data.target : null, - rel: data.rel ? data.rel : null, - class: data.class ? data.class : null, - title: data.title ? data.title : null - }; - if (!Settings.hasRelList(editor.settings) && Settings.allowUnsafeLinkTarget(editor.settings) === false) { - linkAttrs.rel = toggleTargetRules(linkAttrs.rel, linkAttrs.target === '_blank'); - } - if (data.href === attachState.href) { - attachState.attach(); - attachState = {}; - } - if (anchorElm) { - editor.focus(); - if (data.hasOwnProperty('text')) { - if ('innerText' in anchorElm) { - anchorElm.innerText = data.text; - } else { - anchorElm.textContent = data.text; - } - } - editor.dom.setAttribs(anchorElm, linkAttrs); - editor.selection.select(anchorElm); - editor.undoManager.add(); - } else { - if (isImageFigure(selectedElm)) { - linkImageFigure(editor, selectedElm, linkAttrs); - } else if (data.hasOwnProperty('text')) { - editor.insertContent(editor.dom.createHTML('a', linkAttrs, editor.dom.encode(data.text))); - } else { - editor.execCommand('mceInsertLink', false, linkAttrs); - } - } - }); - }; - }; - var unlink = function (editor) { - return function () { - editor.undoManager.transact(function () { - var node = editor.selection.getNode(); - if (isImageFigure(node)) { - unlinkImageFigure(editor, node); - } else { - editor.execCommand('unlink'); - } - }); - }; - }; - var unlinkImageFigure = function (editor, fig) { - var a, img; - img = editor.dom.select('img', fig)[0]; - if (img) { - a = editor.dom.getParents(img, 'a[href]', fig)[0]; - if (a) { - a.parentNode.insertBefore(img, a); - editor.dom.remove(a); - } - } - }; - var linkImageFigure = function (editor, fig, attrs) { - var a, img; - img = editor.dom.select('img', fig)[0]; - if (img) { - a = editor.dom.create('a', attrs); - img.parentNode.insertBefore(a, img); - a.appendChild(img); - } - }; - var Utils = { - link: link, - unlink: unlink, - isLink: isLink, - hasLinks: hasLinks, - isOnlyTextSelected: isOnlyTextSelected, - getAnchorElement: getAnchorElement, - getAnchorText: getAnchorText, - toggleTargetRules: toggleTargetRules - }; - - var global$5 = tinymce.util.Tools.resolve('tinymce.util.Delay'); - - var global$6 = tinymce.util.Tools.resolve('tinymce.util.XHR'); - - var attachState = {}; - var createLinkList = function (editor, callback) { - var linkList = Settings.getLinkList(editor.settings); - if (typeof linkList === 'string') { - global$6.send({ - url: linkList, - success: function (text) { - callback(editor, JSON.parse(text)); - } - }); - } else if (typeof linkList === 'function') { - linkList(function (list) { - callback(editor, list); - }); - } else { - callback(editor, linkList); - } - }; - var buildListItems = function (inputList, itemCallback, startItems) { - var appendItems = function (values, output) { - output = output || []; - global$4.each(values, function (item) { - var menuItem = { text: item.text || item.title }; - if (item.menu) { - menuItem.menu = appendItems(item.menu); - } else { - menuItem.value = item.value; - if (itemCallback) { - itemCallback(menuItem); - } - } - output.push(menuItem); - }); - return output; - }; - return appendItems(inputList, startItems || []); - }; - var delayedConfirm = function (editor, message, callback) { - var rng = editor.selection.getRng(); - global$5.setEditorTimeout(editor, function () { - editor.windowManager.confirm(message, function (state) { - editor.selection.setRng(rng); - callback(state); - }); - }); - }; - var showDialog = function (editor, linkList) { - var data = {}; - var selection = editor.selection; - var dom = editor.dom; - var anchorElm, initialText; - var win, onlyText, textListCtrl, linkListCtrl, relListCtrl, targetListCtrl, classListCtrl, linkTitleCtrl, value; - var linkListChangeHandler = function (e) { - var textCtrl = win.find('#text'); - if (!textCtrl.value() || e.lastControl && textCtrl.value() === e.lastControl.text()) { - textCtrl.value(e.control.text()); - } - win.find('#href').value(e.control.value()); - }; - var buildAnchorListControl = function (url) { - var anchorList = []; - global$4.each(editor.dom.select('a:not([href])'), function (anchor) { - var id = anchor.name || anchor.id; - if (id) { - anchorList.push({ - text: id, - value: '#' + id, - selected: url.indexOf('#' + id) !== -1 - }); - } - }); - if (anchorList.length) { - anchorList.unshift({ - text: 'None', - value: '' - }); - return { - name: 'anchor', - type: 'listbox', - label: 'Anchors', - values: anchorList, - onselect: linkListChangeHandler - }; - } - }; - var updateText = function () { - if (!initialText && onlyText && !data.text) { - this.parent().parent().find('#text')[0].value(this.value()); - } - }; - var urlChange = function (e) { - var meta = e.meta || {}; - if (linkListCtrl) { - linkListCtrl.value(editor.convertURL(this.value(), 'href')); - } - global$4.each(e.meta, function (value, key) { - var inp = win.find('#' + key); - if (key === 'text') { - if (initialText.length === 0) { - inp.value(value); - data.text = value; - } - } else { - inp.value(value); - } - }); - if (meta.attach) { - attachState = { - href: this.value(), - attach: meta.attach - }; - } - if (!meta.text) { - updateText.call(this); - } - }; - var onBeforeCall = function (e) { - e.meta = win.toJSON(); - }; - onlyText = Utils.isOnlyTextSelected(selection.getContent()); - anchorElm = Utils.getAnchorElement(editor); - data.text = initialText = Utils.getAnchorText(editor.selection, anchorElm); - data.href = anchorElm ? dom.getAttrib(anchorElm, 'href') : ''; - if (anchorElm) { - data.target = dom.getAttrib(anchorElm, 'target'); - } else if (Settings.hasDefaultLinkTarget(editor.settings)) { - data.target = Settings.getDefaultLinkTarget(editor.settings); - } - if (value = dom.getAttrib(anchorElm, 'rel')) { - data.rel = value; - } - if (value = dom.getAttrib(anchorElm, 'class')) { - data.class = value; - } - if (value = dom.getAttrib(anchorElm, 'title')) { - data.title = value; - } - if (onlyText) { - textListCtrl = { - name: 'text', - type: 'textbox', - size: 40, - label: 'Text to display', - onchange: function () { - data.text = this.value(); - } - }; - } - if (linkList) { - linkListCtrl = { - type: 'listbox', - label: 'Link list', - values: buildListItems(linkList, function (item) { - item.value = editor.convertURL(item.value || item.url, 'href'); - }, [{ - text: 'None', - value: '' - }]), - onselect: linkListChangeHandler, - value: editor.convertURL(data.href, 'href'), - onPostRender: function () { - linkListCtrl = this; - } - }; - } - if (Settings.shouldShowTargetList(editor.settings)) { - if (Settings.getTargetList(editor.settings) === undefined) { - Settings.setTargetList(editor, [ - { - text: 'None', - value: '' - }, - { - text: 'New window', - value: '_blank' - } - ]); - } - targetListCtrl = { - name: 'target', - type: 'listbox', - label: 'Target', - values: buildListItems(Settings.getTargetList(editor.settings)) - }; - } - if (Settings.hasRelList(editor.settings)) { - relListCtrl = { - name: 'rel', - type: 'listbox', - label: 'Rel', - values: buildListItems(Settings.getRelList(editor.settings), function (item) { - if (Settings.allowUnsafeLinkTarget(editor.settings) === false) { - item.value = Utils.toggleTargetRules(item.value, data.target === '_blank'); - } - }) - }; - } - if (Settings.hasLinkClassList(editor.settings)) { - classListCtrl = { - name: 'class', - type: 'listbox', - label: 'Class', - values: buildListItems(Settings.getLinkClassList(editor.settings), function (item) { - if (item.value) { - item.textStyle = function () { - return editor.formatter.getCssText({ - inline: 'a', - classes: [item.value] - }); - }; - } - }) - }; - } - if (Settings.shouldShowLinkTitle(editor.settings)) { - linkTitleCtrl = { - name: 'title', - type: 'textbox', - label: 'Title', - value: data.title - }; - } - win = editor.windowManager.open({ - title: 'Insert link', - data: data, - body: [ - { - name: 'href', - type: 'filepicker', - filetype: 'file', - size: 40, - autofocus: true, - label: 'Url', - onchange: urlChange, - onkeyup: updateText, - onpaste: updateText, - onbeforecall: onBeforeCall - }, - textListCtrl, - linkTitleCtrl, - buildAnchorListControl(data.href), - linkListCtrl, - relListCtrl, - targetListCtrl, - classListCtrl - ], - onSubmit: function (e) { - var assumeExternalTargets = Settings.assumeExternalTargets(editor.settings); - var insertLink = Utils.link(editor, attachState); - var removeLink = Utils.unlink(editor); - var resultData = global$4.extend({}, data, e.data); - var href = resultData.href; - if (!href) { - removeLink(); - return; - } - if (!onlyText || resultData.text === initialText) { - delete resultData.text; - } - if (href.indexOf('@') > 0 && href.indexOf('//') === -1 && href.indexOf('mailto:') === -1) { - delayedConfirm(editor, 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?', function (state) { - if (state) { - resultData.href = 'mailto:' + href; - } - insertLink(resultData); - }); - return; - } - if (assumeExternalTargets === true && !/^\w+:/i.test(href) || assumeExternalTargets === false && /^\s*www[\.|\d\.]/i.test(href)) { - delayedConfirm(editor, 'The URL you entered seems to be an external link. Do you want to add the required http:// prefix?', function (state) { - if (state) { - resultData.href = 'http://' + href; - } - insertLink(resultData); - }); - return; - } - insertLink(resultData); - } - }); - }; - var open$1 = function (editor) { - createLinkList(editor, showDialog); - }; - var Dialog = { open: open$1 }; - - var getLink = function (editor, elm) { - return editor.dom.getParent(elm, 'a[href]'); - }; - var getSelectedLink = function (editor) { - return getLink(editor, editor.selection.getStart()); - }; - var getHref = function (elm) { - var href = elm.getAttribute('data-mce-href'); - return href ? href : elm.getAttribute('href'); - }; - var isContextMenuVisible = function (editor) { - var contextmenu = editor.plugins.contextmenu; - return contextmenu ? contextmenu.isContextMenuVisible() : false; - }; - var hasOnlyAltModifier = function (e) { - return e.altKey === true && e.shiftKey === false && e.ctrlKey === false && e.metaKey === false; - }; - var gotoLink = function (editor, a) { - if (a) { - var href = getHref(a); - if (/^#/.test(href)) { - var targetEl = editor.$(href); - if (targetEl.length) { - editor.selection.scrollIntoView(targetEl[0], true); - } - } else { - OpenUrl.open(a.href); - } - } - }; - var openDialog = function (editor) { - return function () { - Dialog.open(editor); - }; - }; - var gotoSelectedLink = function (editor) { - return function () { - gotoLink(editor, getSelectedLink(editor)); - }; - }; - var leftClickedOnAHref = function (editor) { - return function (elm) { - var sel, rng, node; - if (Settings.hasContextToolbar(editor.settings) && !isContextMenuVisible(editor) && Utils.isLink(elm)) { - sel = editor.selection; - rng = sel.getRng(); - node = rng.startContainer; - if (node.nodeType === 3 && sel.isCollapsed() && rng.startOffset > 0 && rng.startOffset < node.data.length) { - return true; - } - } - return false; - }; - }; - var setupGotoLinks = function (editor) { - editor.on('click', function (e) { - var link = getLink(editor, e.target); - if (link && global$1.metaKeyPressed(e)) { - e.preventDefault(); - gotoLink(editor, link); - } - }); - editor.on('keydown', function (e) { - var link = getSelectedLink(editor); - if (link && e.keyCode === 13 && hasOnlyAltModifier(e)) { - e.preventDefault(); - gotoLink(editor, link); - } - }); - }; - var toggleActiveState = function (editor) { - return function () { - var self = this; - editor.on('nodechange', function (e) { - self.active(!editor.readonly && !!Utils.getAnchorElement(editor, e.element)); - }); - }; - }; - var toggleViewLinkState = function (editor) { - return function () { - var self = this; - var toggleVisibility = function (e) { - if (Utils.hasLinks(e.parents)) { - self.show(); - } else { - self.hide(); - } - }; - if (!Utils.hasLinks(editor.dom.getParents(editor.selection.getStart()))) { - self.hide(); - } - editor.on('nodechange', toggleVisibility); - self.on('remove', function () { - editor.off('nodechange', toggleVisibility); - }); - }; - }; - var Actions = { - openDialog: openDialog, - gotoSelectedLink: gotoSelectedLink, - leftClickedOnAHref: leftClickedOnAHref, - setupGotoLinks: setupGotoLinks, - toggleActiveState: toggleActiveState, - toggleViewLinkState: toggleViewLinkState - }; - - var register = function (editor) { - editor.addCommand('mceLink', Actions.openDialog(editor)); - }; - var Commands = { register: register }; - - var setup = function (editor) { - editor.addShortcut('Meta+K', '', Actions.openDialog(editor)); - }; - var Keyboard = { setup: setup }; - - var setupButtons = function (editor) { - editor.addButton('link', { - active: false, - icon: 'link', - tooltip: 'Insert/edit link', - onclick: Actions.openDialog(editor), - onpostrender: Actions.toggleActiveState(editor) - }); - editor.addButton('unlink', { - active: false, - icon: 'unlink', - tooltip: 'Remove link', - onclick: Utils.unlink(editor), - onpostrender: Actions.toggleActiveState(editor) - }); - if (editor.addContextToolbar) { - editor.addButton('openlink', { - icon: 'newtab', - tooltip: 'Open link', - onclick: Actions.gotoSelectedLink(editor) - }); - } - }; - var setupMenuItems = function (editor) { - editor.addMenuItem('openlink', { - text: 'Open link', - icon: 'newtab', - onclick: Actions.gotoSelectedLink(editor), - onPostRender: Actions.toggleViewLinkState(editor), - prependToContext: true - }); - editor.addMenuItem('link', { - icon: 'link', - text: 'Link', - shortcut: 'Meta+K', - onclick: Actions.openDialog(editor), - stateSelector: 'a[href]', - context: 'insert', - prependToContext: true - }); - editor.addMenuItem('unlink', { - icon: 'unlink', - text: 'Remove link', - onclick: Utils.unlink(editor), - stateSelector: 'a[href]' - }); - }; - var setupContextToolbars = function (editor) { - if (editor.addContextToolbar) { - editor.addContextToolbar(Actions.leftClickedOnAHref(editor), 'openlink | link unlink'); - } - }; - var Controls = { - setupButtons: setupButtons, - setupMenuItems: setupMenuItems, - setupContextToolbars: setupContextToolbars - }; - - global.add('link', function (editor) { - Controls.setupButtons(editor); - Controls.setupMenuItems(editor); - Controls.setupContextToolbars(editor); - Actions.setupGotoLinks(editor); - Commands.register(editor); - Keyboard.setup(editor); - }); - function Plugin () { - } - - return Plugin; - -}(window)); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/link/plugin.min.js b/build/wp-includes/js/tinymce/plugins/link/plugin.min.js deleted file mode 100644 index e07a9120b9..0000000000 --- a/build/wp-includes/js/tinymce/plugins/link/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(l){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.util.VK"),e=function(t){return t.target_list},o=function(t){return t.rel_list},i=function(t){return t.link_class_list},p=function(t){return"boolean"==typeof t.link_assume_external_targets&&t.link_assume_external_targets},a=function(t){return"boolean"==typeof t.link_context_toolbar&&t.link_context_toolbar},r=function(t){return t.link_list},k=function(t){return"string"==typeof t.default_link_target},y=function(t){return t.default_link_target},b=e,_=function(t,e){t.settings.target_list=e},w=function(t){return!1!==e(t)},T=o,C=function(t){return o(t)!==undefined},M=i,O=function(t){return i(t)!==undefined},R=function(t){return!1!==t.link_title},N=function(t){return"boolean"==typeof t.allow_unsafe_link_target&&t.allow_unsafe_link_target},u=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),c=tinymce.util.Tools.resolve("tinymce.Env"),s=function(t){if(!c.ie||10'),i.close()}}var r,a},A=tinymce.util.Tools.resolve("tinymce.util.Tools"),f=function(t,e){var n,o,i=["noopener"],r=t?t.split(/\s+/):[],a=function(t){return t.filter(function(t){return-1===A.inArray(i,t)})};return(r=e?(n=a(n=r)).length?n.concat(i):i:a(r)).length?(o=r,A.trim(o.sort().join(" "))):null},d=function(t,e){return e=e||t.selection.getNode(),v(e)?t.dom.select("a[href]",e)[0]:t.dom.getParent(e,"a[href]")},m=function(t){return t&&"A"===t.nodeName&&t.href},v=function(t){return t&&"FIGURE"===t.nodeName&&/\bimage\b/i.test(t.className)},g=function(t,e){var n,o;(o=t.dom.select("img",e)[0])&&(n=t.dom.getParents(o,"a[href]",e)[0])&&(n.parentNode.insertBefore(o,n),t.dom.remove(n))},h=function(t,e,n){var o,i;(i=t.dom.select("img",e)[0])&&(o=t.dom.create("a",n),i.parentNode.insertBefore(o,i),o.appendChild(i))},L=function(i,r){return function(o){i.undoManager.transact(function(){var t=i.selection.getNode(),e=d(i,t),n={href:o.href,target:o.target?o.target:null,rel:o.rel?o.rel:null,"class":o["class"]?o["class"]:null,title:o.title?o.title:null};C(i.settings)||!1!==N(i.settings)||(n.rel=f(n.rel,"_blank"===n.target)),o.href===r.href&&(r.attach(),r={}),e?(i.focus(),o.hasOwnProperty("text")&&("innerText"in e?e.innerText=o.text:e.textContent=o.text),i.dom.setAttribs(e,n),i.selection.select(e),i.undoManager.add()):v(t)?h(i,t,n):o.hasOwnProperty("text")?i.insertContent(i.dom.createHTML("a",n,i.dom.encode(o.text))):i.execCommand("mceInsertLink",!1,n)})}},P=function(e){return function(){e.undoManager.transact(function(){var t=e.selection.getNode();v(t)?g(e,t):e.execCommand("unlink")})}},x=m,E=function(t){return 0]+>[^<]+<\/a>$/.test(t)||-1===t.indexOf("href=")))},I=d,K=function(t,e){var n=e?e.innerText||e.textContent:t.getContent({format:"text"});return n.replace(/\uFEFF/g,"")},U=f,D=tinymce.util.Tools.resolve("tinymce.util.Delay"),B=tinymce.util.Tools.resolve("tinymce.util.XHR"),F={},q=function(t,o,e){var i=function(t,n){return n=n||[],A.each(t,function(t){var e={text:t.text||t.title};t.menu?e.menu=i(t.menu):(e.value=t.value,o&&o(e)),n.push(e)}),n};return i(t,e||[])},V=function(e,t,n){var o=e.selection.getRng();D.setEditorTimeout(e,function(){e.windowManager.confirm(t,function(t){e.selection.setRng(o),n(t)})})},z=function(a,t){var e,l,o,u,n,i,r,c,s,f,d,m={},v=a.selection,g=a.dom,h=function(t){var e=o.find("#text");(!e.value()||t.lastControl&&e.value()===t.lastControl.text())&&e.value(t.control.text()),o.find("#href").value(t.control.value())},x=function(){l||!u||m.text||this.parent().parent().find("#text")[0].value(this.value())};u=S(v.getContent()),e=I(a),m.text=l=K(a.selection,e),m.href=e?g.getAttrib(e,"href"):"",e?m.target=g.getAttrib(e,"target"):k(a.settings)&&(m.target=y(a.settings)),(d=g.getAttrib(e,"rel"))&&(m.rel=d),(d=g.getAttrib(e,"class"))&&(m["class"]=d),(d=g.getAttrib(e,"title"))&&(m.title=d),u&&(n={name:"text",type:"textbox",size:40,label:"Text to display",onchange:function(){m.text=this.value()}}),t&&(i={type:"listbox",label:"Link list",values:q(t,function(t){t.value=a.convertURL(t.value||t.url,"href")},[{text:"None",value:""}]),onselect:h,value:a.convertURL(m.href,"href"),onPostRender:function(){i=this}}),w(a.settings)&&(b(a.settings)===undefined&&_(a,[{text:"None",value:""},{text:"New window",value:"_blank"}]),c={name:"target",type:"listbox",label:"Target",values:q(b(a.settings))}),C(a.settings)&&(r={name:"rel",type:"listbox",label:"Rel",values:q(T(a.settings),function(t){!1===N(a.settings)&&(t.value=U(t.value,"_blank"===m.target))})}),O(a.settings)&&(s={name:"class",type:"listbox",label:"Class",values:q(M(a.settings),function(t){t.value&&(t.textStyle=function(){return a.formatter.getCssText({inline:"a",classes:[t.value]})})})}),R(a.settings)&&(f={name:"title",type:"textbox",label:"Title",value:m.title}),o=a.windowManager.open({title:"Insert link",data:m,body:[{name:"href",type:"filepicker",filetype:"file",size:40,autofocus:!0,label:"Url",onchange:function(t){var e=t.meta||{};i&&i.value(a.convertURL(this.value(),"href")),A.each(t.meta,function(t,e){var n=o.find("#"+e);"text"===e?0===l.length&&(n.value(t),m.text=t):n.value(t)}),e.attach&&(F={href:this.value(),attach:e.attach}),e.text||x.call(this)},onkeyup:x,onpaste:x,onbeforecall:function(t){t.meta=o.toJSON()}},n,f,function(n){var o=[];if(A.each(a.dom.select("a:not([href])"),function(t){var e=t.name||t.id;e&&o.push({text:e,value:"#"+e,selected:-1!==n.indexOf("#"+e)})}),o.length)return o.unshift({text:"None",value:""}),{name:"anchor",type:"listbox",label:"Anchors",values:o,onselect:h}}(m.href),i,r,c,s],onSubmit:function(t){var e=p(a.settings),n=L(a,F),o=P(a),i=A.extend({},m,t.data),r=i.href;r?(u&&i.text!==l||delete i.text,0 0) { - return false; - } - return empty; - }; - var isChildOfBody = function (dom, elm) { - return dom.isChildOf(elm, dom.getRoot()); - }; - var NodeType = { - isTextNode: isTextNode, - isListNode: isListNode, - isOlUlNode: isOlUlNode, - isDlItemNode: isDlItemNode, - isListItemNode: isListItemNode, - isTableCellNode: isTableCellNode, - isBr: isBr, - isFirstChild: isFirstChild, - isLastChild: isLastChild, - isTextBlock: isTextBlock, - isBlock: isBlock, - isBogusBr: isBogusBr, - isEmpty: isEmpty, - isChildOfBody: isChildOfBody - }; - - var getNormalizedPoint = function (container, offset) { - if (NodeType.isTextNode(container)) { - return { - container: container, - offset: offset - }; - } - var node = global$1.getNode(container, offset); - if (NodeType.isTextNode(node)) { - return { - container: node, - offset: offset >= container.childNodes.length ? node.data.length : 0 - }; - } else if (node.previousSibling && NodeType.isTextNode(node.previousSibling)) { - return { - container: node.previousSibling, - offset: node.previousSibling.data.length - }; - } else if (node.nextSibling && NodeType.isTextNode(node.nextSibling)) { - return { - container: node.nextSibling, - offset: 0 - }; - } - return { - container: container, - offset: offset - }; - }; - var normalizeRange = function (rng) { - var outRng = rng.cloneRange(); - var rangeStart = getNormalizedPoint(rng.startContainer, rng.startOffset); - outRng.setStart(rangeStart.container, rangeStart.offset); - var rangeEnd = getNormalizedPoint(rng.endContainer, rng.endOffset); - outRng.setEnd(rangeEnd.container, rangeEnd.offset); - return outRng; - }; - var Range = { - getNormalizedPoint: getNormalizedPoint, - normalizeRange: normalizeRange - }; - - var DOM = global$6.DOM; - var createBookmark = function (rng) { - var bookmark = {}; - var setupEndPoint = function (start) { - var offsetNode, container, offset; - container = rng[start ? 'startContainer' : 'endContainer']; - offset = rng[start ? 'startOffset' : 'endOffset']; - if (container.nodeType === 1) { - offsetNode = DOM.create('span', { 'data-mce-type': 'bookmark' }); - if (container.hasChildNodes()) { - offset = Math.min(offset, container.childNodes.length - 1); - if (start) { - container.insertBefore(offsetNode, container.childNodes[offset]); - } else { - DOM.insertAfter(offsetNode, container.childNodes[offset]); - } - } else { - container.appendChild(offsetNode); - } - container = offsetNode; - offset = 0; - } - bookmark[start ? 'startContainer' : 'endContainer'] = container; - bookmark[start ? 'startOffset' : 'endOffset'] = offset; - }; - setupEndPoint(true); - if (!rng.collapsed) { - setupEndPoint(); - } - return bookmark; - }; - var resolveBookmark = function (bookmark) { - function restoreEndPoint(start) { - var container, offset, node; - var nodeIndex = function (container) { - var node = container.parentNode.firstChild, idx = 0; - while (node) { - if (node === container) { - return idx; - } - if (node.nodeType !== 1 || node.getAttribute('data-mce-type') !== 'bookmark') { - idx++; - } - node = node.nextSibling; - } - return -1; - }; - container = node = bookmark[start ? 'startContainer' : 'endContainer']; - offset = bookmark[start ? 'startOffset' : 'endOffset']; - if (!container) { - return; - } - if (container.nodeType === 1) { - offset = nodeIndex(container); - container = container.parentNode; - DOM.remove(node); - if (!container.hasChildNodes() && DOM.isBlock(container)) { - container.appendChild(DOM.create('br')); - } - } - bookmark[start ? 'startContainer' : 'endContainer'] = container; - bookmark[start ? 'startOffset' : 'endOffset'] = offset; - } - restoreEndPoint(true); - restoreEndPoint(); - var rng = DOM.createRng(); - rng.setStart(bookmark.startContainer, bookmark.startOffset); - if (bookmark.endContainer) { - rng.setEnd(bookmark.endContainer, bookmark.endOffset); - } - return Range.normalizeRange(rng); - }; - var Bookmark = { - createBookmark: createBookmark, - resolveBookmark: resolveBookmark - }; - - var noop = function () { - }; - var constant = function (value) { - return function () { - return value; - }; - }; - var not = function (f) { - return function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return !f.apply(null, args); - }; - }; - var never = constant(false); - var always = constant(true); - - var none = function () { - return NONE; - }; - var NONE = function () { - var eq = function (o) { - return o.isNone(); - }; - var call = function (thunk) { - return thunk(); - }; - var id = function (n) { - return n; - }; - var me = { - fold: function (n, s) { - return n(); - }, - is: never, - isSome: never, - isNone: always, - getOr: id, - getOrThunk: call, - getOrDie: function (msg) { - throw new Error(msg || 'error: getOrDie called on none.'); - }, - getOrNull: constant(null), - getOrUndefined: constant(undefined), - or: id, - orThunk: call, - map: none, - each: noop, - bind: none, - exists: never, - forall: always, - filter: none, - equals: eq, - equals_: eq, - toArray: function () { - return []; - }, - toString: constant('none()') - }; - if (Object.freeze) { - Object.freeze(me); - } - return me; - }(); - var some = function (a) { - var constant_a = constant(a); - var self = function () { - return me; - }; - var bind = function (f) { - return f(a); - }; - var me = { - fold: function (n, s) { - return s(a); - }, - is: function (v) { - return a === v; - }, - isSome: always, - isNone: never, - getOr: constant_a, - getOrThunk: constant_a, - getOrDie: constant_a, - getOrNull: constant_a, - getOrUndefined: constant_a, - or: self, - orThunk: self, - map: function (f) { - return some(f(a)); - }, - each: function (f) { - f(a); - }, - bind: bind, - exists: bind, - forall: bind, - filter: function (f) { - return f(a) ? me : NONE; - }, - toArray: function () { - return [a]; - }, - toString: function () { - return 'some(' + a + ')'; - }, - equals: function (o) { - return o.is(a); - }, - equals_: function (o, elementEq) { - return o.fold(never, function (b) { - return elementEq(a, b); - }); - } - }; - return me; - }; - var from = function (value) { - return value === null || value === undefined ? NONE : some(value); - }; - var Option = { - some: some, - none: none, - from: from - }; - - var typeOf = function (x) { - if (x === null) { - return 'null'; - } - var t = typeof x; - if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) { - return 'array'; - } - if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) { - return 'string'; - } - return t; - }; - var isType = function (type) { - return function (value) { - return typeOf(value) === type; - }; - }; - var isString = isType('string'); - var isArray = isType('array'); - var isBoolean = isType('boolean'); - var isFunction = isType('function'); - var isNumber = isType('number'); - - var nativeSlice = Array.prototype.slice; - var nativePush = Array.prototype.push; - var map = function (xs, f) { - var len = xs.length; - var r = new Array(len); - for (var i = 0; i < len; i++) { - var x = xs[i]; - r[i] = f(x, i); - } - return r; - }; - var each = function (xs, f) { - for (var i = 0, len = xs.length; i < len; i++) { - var x = xs[i]; - f(x, i); - } - }; - var filter = function (xs, pred) { - var r = []; - for (var i = 0, len = xs.length; i < len; i++) { - var x = xs[i]; - if (pred(x, i)) { - r.push(x); - } - } - return r; - }; - var groupBy = function (xs, f) { - if (xs.length === 0) { - return []; - } else { - var wasType = f(xs[0]); - var r = []; - var group = []; - for (var i = 0, len = xs.length; i < len; i++) { - var x = xs[i]; - var type = f(x); - if (type !== wasType) { - r.push(group); - group = []; - } - wasType = type; - group.push(x); - } - if (group.length !== 0) { - r.push(group); - } - return r; - } - }; - var foldl = function (xs, f, acc) { - each(xs, function (x) { - acc = f(acc, x); - }); - return acc; - }; - var find = function (xs, pred) { - for (var i = 0, len = xs.length; i < len; i++) { - var x = xs[i]; - if (pred(x, i)) { - return Option.some(x); - } - } - return Option.none(); - }; - var flatten = function (xs) { - var r = []; - for (var i = 0, len = xs.length; i < len; ++i) { - if (!isArray(xs[i])) { - throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs); - } - nativePush.apply(r, xs[i]); - } - return r; - }; - var bind = function (xs, f) { - var output = map(xs, f); - return flatten(output); - }; - var reverse = function (xs) { - var r = nativeSlice.call(xs, 0); - r.reverse(); - return r; - }; - var head = function (xs) { - return xs.length === 0 ? Option.none() : Option.some(xs[0]); - }; - var last = function (xs) { - return xs.length === 0 ? Option.none() : Option.some(xs[xs.length - 1]); - }; - var from$1 = isFunction(Array.from) ? Array.from : function (x) { - return nativeSlice.call(x); - }; - - var Global = typeof domGlobals.window !== 'undefined' ? domGlobals.window : Function('return this;')(); - - var path = function (parts, scope) { - var o = scope !== undefined && scope !== null ? scope : Global; - for (var i = 0; i < parts.length && o !== undefined && o !== null; ++i) { - o = o[parts[i]]; - } - return o; - }; - var resolve = function (p, scope) { - var parts = p.split('.'); - return path(parts, scope); - }; - - var unsafe = function (name, scope) { - return resolve(name, scope); - }; - var getOrDie = function (name, scope) { - var actual = unsafe(name, scope); - if (actual === undefined || actual === null) { - throw new Error(name + ' not available on this browser'); - } - return actual; - }; - var Global$1 = { getOrDie: getOrDie }; - - var htmlElement = function (scope) { - return Global$1.getOrDie('HTMLElement', scope); - }; - var isPrototypeOf = function (x) { - var scope = resolve('ownerDocument.defaultView', x); - return htmlElement(scope).prototype.isPrototypeOf(x); - }; - var HTMLElement = { isPrototypeOf: isPrototypeOf }; - - var global$7 = tinymce.util.Tools.resolve('tinymce.dom.DomQuery'); - - var getParentList = function (editor) { - var selectionStart = editor.selection.getStart(true); - return editor.dom.getParent(selectionStart, 'OL,UL,DL', getClosestListRootElm(editor, selectionStart)); - }; - var isParentListSelected = function (parentList, selectedBlocks) { - return parentList && selectedBlocks.length === 1 && selectedBlocks[0] === parentList; - }; - var findSubLists = function (parentList) { - return global$5.grep(parentList.querySelectorAll('ol,ul,dl'), function (elm) { - return NodeType.isListNode(elm); - }); - }; - var getSelectedSubLists = function (editor) { - var parentList = getParentList(editor); - var selectedBlocks = editor.selection.getSelectedBlocks(); - if (isParentListSelected(parentList, selectedBlocks)) { - return findSubLists(parentList); - } else { - return global$5.grep(selectedBlocks, function (elm) { - return NodeType.isListNode(elm) && parentList !== elm; - }); - } - }; - var findParentListItemsNodes = function (editor, elms) { - var listItemsElms = global$5.map(elms, function (elm) { - var parentLi = editor.dom.getParent(elm, 'li,dd,dt', getClosestListRootElm(editor, elm)); - return parentLi ? parentLi : elm; - }); - return global$7.unique(listItemsElms); - }; - var getSelectedListItems = function (editor) { - var selectedBlocks = editor.selection.getSelectedBlocks(); - return global$5.grep(findParentListItemsNodes(editor, selectedBlocks), function (block) { - return NodeType.isListItemNode(block); - }); - }; - var getSelectedDlItems = function (editor) { - return filter(getSelectedListItems(editor), NodeType.isDlItemNode); - }; - var getClosestListRootElm = function (editor, elm) { - var parentTableCell = editor.dom.getParents(elm, 'TD,TH'); - var root = parentTableCell.length > 0 ? parentTableCell[0] : editor.getBody(); - return root; - }; - var findLastParentListNode = function (editor, elm) { - var parentLists = editor.dom.getParents(elm, 'ol,ul', getClosestListRootElm(editor, elm)); - return last(parentLists); - }; - var getSelectedLists = function (editor) { - var firstList = findLastParentListNode(editor, editor.selection.getStart()); - var subsequentLists = filter(editor.selection.getSelectedBlocks(), NodeType.isOlUlNode); - return firstList.toArray().concat(subsequentLists); - }; - var getSelectedListRoots = function (editor) { - var selectedLists = getSelectedLists(editor); - return getUniqueListRoots(editor, selectedLists); - }; - var getUniqueListRoots = function (editor, lists) { - var listRoots = map(lists, function (list) { - return findLastParentListNode(editor, list).getOr(list); - }); - return global$7.unique(listRoots); - }; - var isList = function (editor) { - var list = getParentList(editor); - return HTMLElement.isPrototypeOf(list); - }; - var Selection = { - isList: isList, - getParentList: getParentList, - getSelectedSubLists: getSelectedSubLists, - getSelectedListItems: getSelectedListItems, - getClosestListRootElm: getClosestListRootElm, - getSelectedDlItems: getSelectedDlItems, - getSelectedListRoots: getSelectedListRoots - }; - - var fromHtml = function (html, scope) { - var doc = scope || domGlobals.document; - var div = doc.createElement('div'); - div.innerHTML = html; - if (!div.hasChildNodes() || div.childNodes.length > 1) { - domGlobals.console.error('HTML does not have a single root node', html); - throw new Error('HTML must have a single root node'); - } - return fromDom(div.childNodes[0]); - }; - var fromTag = function (tag, scope) { - var doc = scope || domGlobals.document; - var node = doc.createElement(tag); - return fromDom(node); - }; - var fromText = function (text, scope) { - var doc = scope || domGlobals.document; - var node = doc.createTextNode(text); - return fromDom(node); - }; - var fromDom = function (node) { - if (node === null || node === undefined) { - throw new Error('Node cannot be null or undefined'); - } - return { dom: constant(node) }; - }; - var fromPoint = function (docElm, x, y) { - var doc = docElm.dom(); - return Option.from(doc.elementFromPoint(x, y)).map(fromDom); - }; - var Element = { - fromHtml: fromHtml, - fromTag: fromTag, - fromText: fromText, - fromDom: fromDom, - fromPoint: fromPoint - }; - - var lift2 = function (oa, ob, f) { - return oa.isSome() && ob.isSome() ? Option.some(f(oa.getOrDie(), ob.getOrDie())) : Option.none(); - }; - - var fromElements = function (elements, scope) { - var doc = scope || domGlobals.document; - var fragment = doc.createDocumentFragment(); - each(elements, function (element) { - fragment.appendChild(element.dom()); - }); - return Element.fromDom(fragment); - }; - - var Immutable = function () { - var fields = []; - for (var _i = 0; _i < arguments.length; _i++) { - fields[_i] = arguments[_i]; - } - return function () { - var values = []; - for (var _i = 0; _i < arguments.length; _i++) { - values[_i] = arguments[_i]; - } - if (fields.length !== values.length) { - throw new Error('Wrong number of arguments to struct. Expected "[' + fields.length + ']", got ' + values.length + ' arguments'); - } - var struct = {}; - each(fields, function (name, i) { - struct[name] = constant(values[i]); - }); - return struct; - }; - }; - - var keys = Object.keys; - var each$1 = function (obj, f) { - var props = keys(obj); - for (var k = 0, len = props.length; k < len; k++) { - var i = props[k]; - var x = obj[i]; - f(x, i); - } - }; - - var node = function () { - var f = Global$1.getOrDie('Node'); - return f; - }; - var compareDocumentPosition = function (a, b, match) { - return (a.compareDocumentPosition(b) & match) !== 0; - }; - var documentPositionPreceding = function (a, b) { - return compareDocumentPosition(a, b, node().DOCUMENT_POSITION_PRECEDING); - }; - var documentPositionContainedBy = function (a, b) { - return compareDocumentPosition(a, b, node().DOCUMENT_POSITION_CONTAINED_BY); - }; - var Node = { - documentPositionPreceding: documentPositionPreceding, - documentPositionContainedBy: documentPositionContainedBy - }; - - var cached = function (f) { - var called = false; - var r; - return function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (!called) { - called = true; - r = f.apply(null, args); - } - return r; - }; - }; - - var firstMatch = function (regexes, s) { - for (var i = 0; i < regexes.length; i++) { - var x = regexes[i]; - if (x.test(s)) { - return x; - } - } - return undefined; - }; - var find$1 = function (regexes, agent) { - var r = firstMatch(regexes, agent); - if (!r) { - return { - major: 0, - minor: 0 - }; - } - var group = function (i) { - return Number(agent.replace(r, '$' + i)); - }; - return nu(group(1), group(2)); - }; - var detect = function (versionRegexes, agent) { - var cleanedAgent = String(agent).toLowerCase(); - if (versionRegexes.length === 0) { - return unknown(); - } - return find$1(versionRegexes, cleanedAgent); - }; - var unknown = function () { - return nu(0, 0); - }; - var nu = function (major, minor) { - return { - major: major, - minor: minor - }; - }; - var Version = { - nu: nu, - detect: detect, - unknown: unknown - }; - - var edge = 'Edge'; - var chrome = 'Chrome'; - var ie = 'IE'; - var opera = 'Opera'; - var firefox = 'Firefox'; - var safari = 'Safari'; - var isBrowser = function (name, current) { - return function () { - return current === name; - }; - }; - var unknown$1 = function () { - return nu$1({ - current: undefined, - version: Version.unknown() - }); - }; - var nu$1 = function (info) { - var current = info.current; - var version = info.version; - return { - current: current, - version: version, - isEdge: isBrowser(edge, current), - isChrome: isBrowser(chrome, current), - isIE: isBrowser(ie, current), - isOpera: isBrowser(opera, current), - isFirefox: isBrowser(firefox, current), - isSafari: isBrowser(safari, current) - }; - }; - var Browser = { - unknown: unknown$1, - nu: nu$1, - edge: constant(edge), - chrome: constant(chrome), - ie: constant(ie), - opera: constant(opera), - firefox: constant(firefox), - safari: constant(safari) - }; - - var windows = 'Windows'; - var ios = 'iOS'; - var android = 'Android'; - var linux = 'Linux'; - var osx = 'OSX'; - var solaris = 'Solaris'; - var freebsd = 'FreeBSD'; - var isOS = function (name, current) { - return function () { - return current === name; - }; - }; - var unknown$2 = function () { - return nu$2({ - current: undefined, - version: Version.unknown() - }); - }; - var nu$2 = function (info) { - var current = info.current; - var version = info.version; - return { - current: current, - version: version, - isWindows: isOS(windows, current), - isiOS: isOS(ios, current), - isAndroid: isOS(android, current), - isOSX: isOS(osx, current), - isLinux: isOS(linux, current), - isSolaris: isOS(solaris, current), - isFreeBSD: isOS(freebsd, current) - }; - }; - var OperatingSystem = { - unknown: unknown$2, - nu: nu$2, - windows: constant(windows), - ios: constant(ios), - android: constant(android), - linux: constant(linux), - osx: constant(osx), - solaris: constant(solaris), - freebsd: constant(freebsd) - }; - - var DeviceType = function (os, browser, userAgent) { - var isiPad = os.isiOS() && /ipad/i.test(userAgent) === true; - var isiPhone = os.isiOS() && !isiPad; - var isAndroid3 = os.isAndroid() && os.version.major === 3; - var isAndroid4 = os.isAndroid() && os.version.major === 4; - var isTablet = isiPad || isAndroid3 || isAndroid4 && /mobile/i.test(userAgent) === true; - var isTouch = os.isiOS() || os.isAndroid(); - var isPhone = isTouch && !isTablet; - var iOSwebview = browser.isSafari() && os.isiOS() && /safari/i.test(userAgent) === false; - return { - isiPad: constant(isiPad), - isiPhone: constant(isiPhone), - isTablet: constant(isTablet), - isPhone: constant(isPhone), - isTouch: constant(isTouch), - isAndroid: os.isAndroid, - isiOS: os.isiOS, - isWebView: constant(iOSwebview) - }; - }; - - var detect$1 = function (candidates, userAgent) { - var agent = String(userAgent).toLowerCase(); - return find(candidates, function (candidate) { - return candidate.search(agent); - }); - }; - var detectBrowser = function (browsers, userAgent) { - return detect$1(browsers, userAgent).map(function (browser) { - var version = Version.detect(browser.versionRegexes, userAgent); - return { - current: browser.name, - version: version - }; - }); - }; - var detectOs = function (oses, userAgent) { - return detect$1(oses, userAgent).map(function (os) { - var version = Version.detect(os.versionRegexes, userAgent); - return { - current: os.name, - version: version - }; - }); - }; - var UaString = { - detectBrowser: detectBrowser, - detectOs: detectOs - }; - - var contains = function (str, substr) { - return str.indexOf(substr) !== -1; - }; - - var normalVersionRegex = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/; - var checkContains = function (target) { - return function (uastring) { - return contains(uastring, target); - }; - }; - var browsers = [ - { - name: 'Edge', - versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/], - search: function (uastring) { - return contains(uastring, 'edge/') && contains(uastring, 'chrome') && contains(uastring, 'safari') && contains(uastring, 'applewebkit'); - } - }, - { - name: 'Chrome', - versionRegexes: [ - /.*?chrome\/([0-9]+)\.([0-9]+).*/, - normalVersionRegex - ], - search: function (uastring) { - return contains(uastring, 'chrome') && !contains(uastring, 'chromeframe'); - } - }, - { - name: 'IE', - versionRegexes: [ - /.*?msie\ ?([0-9]+)\.([0-9]+).*/, - /.*?rv:([0-9]+)\.([0-9]+).*/ - ], - search: function (uastring) { - return contains(uastring, 'msie') || contains(uastring, 'trident'); - } - }, - { - name: 'Opera', - versionRegexes: [ - normalVersionRegex, - /.*?opera\/([0-9]+)\.([0-9]+).*/ - ], - search: checkContains('opera') - }, - { - name: 'Firefox', - versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/], - search: checkContains('firefox') - }, - { - name: 'Safari', - versionRegexes: [ - normalVersionRegex, - /.*?cpu os ([0-9]+)_([0-9]+).*/ - ], - search: function (uastring) { - return (contains(uastring, 'safari') || contains(uastring, 'mobile/')) && contains(uastring, 'applewebkit'); - } - } - ]; - var oses = [ - { - name: 'Windows', - search: checkContains('win'), - versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/] - }, - { - name: 'iOS', - search: function (uastring) { - return contains(uastring, 'iphone') || contains(uastring, 'ipad'); - }, - versionRegexes: [ - /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, - /.*cpu os ([0-9]+)_([0-9]+).*/, - /.*cpu iphone os ([0-9]+)_([0-9]+).*/ - ] - }, - { - name: 'Android', - search: checkContains('android'), - versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/] - }, - { - name: 'OSX', - search: checkContains('os x'), - versionRegexes: [/.*?os\ x\ ?([0-9]+)_([0-9]+).*/] - }, - { - name: 'Linux', - search: checkContains('linux'), - versionRegexes: [] - }, - { - name: 'Solaris', - search: checkContains('sunos'), - versionRegexes: [] - }, - { - name: 'FreeBSD', - search: checkContains('freebsd'), - versionRegexes: [] - } - ]; - var PlatformInfo = { - browsers: constant(browsers), - oses: constant(oses) - }; - - var detect$2 = function (userAgent) { - var browsers = PlatformInfo.browsers(); - var oses = PlatformInfo.oses(); - var browser = UaString.detectBrowser(browsers, userAgent).fold(Browser.unknown, Browser.nu); - var os = UaString.detectOs(oses, userAgent).fold(OperatingSystem.unknown, OperatingSystem.nu); - var deviceType = DeviceType(os, browser, userAgent); - return { - browser: browser, - os: os, - deviceType: deviceType - }; - }; - var PlatformDetection = { detect: detect$2 }; - - var detect$3 = cached(function () { - var userAgent = domGlobals.navigator.userAgent; - return PlatformDetection.detect(userAgent); - }); - var PlatformDetection$1 = { detect: detect$3 }; - - var ATTRIBUTE = domGlobals.Node.ATTRIBUTE_NODE; - var CDATA_SECTION = domGlobals.Node.CDATA_SECTION_NODE; - var COMMENT = domGlobals.Node.COMMENT_NODE; - var DOCUMENT = domGlobals.Node.DOCUMENT_NODE; - var DOCUMENT_TYPE = domGlobals.Node.DOCUMENT_TYPE_NODE; - var DOCUMENT_FRAGMENT = domGlobals.Node.DOCUMENT_FRAGMENT_NODE; - var ELEMENT = domGlobals.Node.ELEMENT_NODE; - var TEXT = domGlobals.Node.TEXT_NODE; - var PROCESSING_INSTRUCTION = domGlobals.Node.PROCESSING_INSTRUCTION_NODE; - var ENTITY_REFERENCE = domGlobals.Node.ENTITY_REFERENCE_NODE; - var ENTITY = domGlobals.Node.ENTITY_NODE; - var NOTATION = domGlobals.Node.NOTATION_NODE; - - var ELEMENT$1 = ELEMENT; - var is = function (element, selector) { - var dom = element.dom(); - if (dom.nodeType !== ELEMENT$1) { - return false; - } else { - var elem = dom; - if (elem.matches !== undefined) { - return elem.matches(selector); - } else if (elem.msMatchesSelector !== undefined) { - return elem.msMatchesSelector(selector); - } else if (elem.webkitMatchesSelector !== undefined) { - return elem.webkitMatchesSelector(selector); - } else if (elem.mozMatchesSelector !== undefined) { - return elem.mozMatchesSelector(selector); - } else { - throw new Error('Browser lacks native selectors'); - } - } - }; - - var eq = function (e1, e2) { - return e1.dom() === e2.dom(); - }; - var regularContains = function (e1, e2) { - var d1 = e1.dom(); - var d2 = e2.dom(); - return d1 === d2 ? false : d1.contains(d2); - }; - var ieContains = function (e1, e2) { - return Node.documentPositionContainedBy(e1.dom(), e2.dom()); - }; - var browser = PlatformDetection$1.detect().browser; - var contains$1 = browser.isIE() ? ieContains : regularContains; - var is$1 = is; - - var parent = function (element) { - return Option.from(element.dom().parentNode).map(Element.fromDom); - }; - var children = function (element) { - return map(element.dom().childNodes, Element.fromDom); - }; - var child = function (element, index) { - var cs = element.dom().childNodes; - return Option.from(cs[index]).map(Element.fromDom); - }; - var firstChild = function (element) { - return child(element, 0); - }; - var lastChild = function (element) { - return child(element, element.dom().childNodes.length - 1); - }; - var spot = Immutable('element', 'offset'); - - var before = function (marker, element) { - var parent$1 = parent(marker); - parent$1.each(function (v) { - v.dom().insertBefore(element.dom(), marker.dom()); - }); - }; - var append = function (parent, element) { - parent.dom().appendChild(element.dom()); - }; - - var before$1 = function (marker, elements) { - each(elements, function (x) { - before(marker, x); - }); - }; - var append$1 = function (parent, elements) { - each(elements, function (x) { - append(parent, x); - }); - }; - - var remove = function (element) { - var dom = element.dom(); - if (dom.parentNode !== null) { - dom.parentNode.removeChild(dom); - } - }; - - var name = function (element) { - var r = element.dom().nodeName; - return r.toLowerCase(); - }; - var type = function (element) { - return element.dom().nodeType; - }; - var isType$1 = function (t) { - return function (element) { - return type(element) === t; - }; - }; - var isElement = isType$1(ELEMENT); - - var rawSet = function (dom, key, value) { - if (isString(value) || isBoolean(value) || isNumber(value)) { - dom.setAttribute(key, value + ''); - } else { - domGlobals.console.error('Invalid call to Attr.set. Key ', key, ':: Value ', value, ':: Element ', dom); - throw new Error('Attribute value was not simple'); - } - }; - var setAll = function (element, attrs) { - var dom = element.dom(); - each$1(attrs, function (v, k) { - rawSet(dom, k, v); - }); - }; - var clone = function (element) { - return foldl(element.dom().attributes, function (acc, attr) { - acc[attr.name] = attr.value; - return acc; - }, {}); - }; - - var isSupported = function (dom) { - return dom.style !== undefined && isFunction(dom.style.getPropertyValue); - }; - - var internalSet = function (dom, property, value) { - if (!isString(value)) { - domGlobals.console.error('Invalid call to CSS.set. Property ', property, ':: Value ', value, ':: Element ', dom); - throw new Error('CSS value must be a string: ' + value); - } - if (isSupported(dom)) { - dom.style.setProperty(property, value); - } - }; - var set = function (element, property, value) { - var dom = element.dom(); - internalSet(dom, property, value); - }; - - var clone$1 = function (original, isDeep) { - return Element.fromDom(original.dom().cloneNode(isDeep)); - }; - var deep = function (original) { - return clone$1(original, true); - }; - var shallowAs = function (original, tag) { - var nu = Element.fromTag(tag); - var attributes = clone(original); - setAll(nu, attributes); - return nu; - }; - var mutate = function (original, tag) { - var nu = shallowAs(original, tag); - before(original, nu); - var children$1 = children(original); - append$1(nu, children$1); - remove(original); - return nu; - }; - - var joinSegment = function (parent, child) { - append(parent.item, child.list); - }; - var joinSegments = function (segments) { - for (var i = 1; i < segments.length; i++) { - joinSegment(segments[i - 1], segments[i]); - } - }; - var appendSegments = function (head$1, tail) { - lift2(last(head$1), head(tail), joinSegment); - }; - var createSegment = function (scope, listType) { - var segment = { - list: Element.fromTag(listType, scope), - item: Element.fromTag('li', scope) - }; - append(segment.list, segment.item); - return segment; - }; - var createSegments = function (scope, entry, size) { - var segments = []; - for (var i = 0; i < size; i++) { - segments.push(createSegment(scope, entry.listType)); - } - return segments; - }; - var populateSegments = function (segments, entry) { - for (var i = 0; i < segments.length - 1; i++) { - set(segments[i].item, 'list-style-type', 'none'); - } - last(segments).each(function (segment) { - setAll(segment.list, entry.listAttributes); - setAll(segment.item, entry.itemAttributes); - append$1(segment.item, entry.content); - }); - }; - var normalizeSegment = function (segment, entry) { - if (name(segment.list) !== entry.listType) { - segment.list = mutate(segment.list, entry.listType); - } - setAll(segment.list, entry.listAttributes); - }; - var createItem = function (scope, attr, content) { - var item = Element.fromTag('li', scope); - setAll(item, attr); - append$1(item, content); - return item; - }; - var appendItem = function (segment, item) { - append(segment.list, item); - segment.item = item; - }; - var writeShallow = function (scope, cast, entry) { - var newCast = cast.slice(0, entry.depth); - last(newCast).each(function (segment) { - var item = createItem(scope, entry.itemAttributes, entry.content); - appendItem(segment, item); - normalizeSegment(segment, entry); - }); - return newCast; - }; - var writeDeep = function (scope, cast, entry) { - var segments = createSegments(scope, entry, entry.depth - cast.length); - joinSegments(segments); - populateSegments(segments, entry); - appendSegments(cast, segments); - return cast.concat(segments); - }; - var composeList = function (scope, entries) { - var cast = foldl(entries, function (cast, entry) { - return entry.depth > cast.length ? writeDeep(scope, cast, entry) : writeShallow(scope, cast, entry); - }, []); - return head(cast).map(function (segment) { - return segment.list; - }); - }; - - var isList$1 = function (el) { - return is$1(el, 'OL,UL'); - }; - var hasFirstChildList = function (el) { - return firstChild(el).map(isList$1).getOr(false); - }; - var hasLastChildList = function (el) { - return lastChild(el).map(isList$1).getOr(false); - }; - - var isIndented = function (entry) { - return entry.depth > 0; - }; - var isSelected = function (entry) { - return entry.isSelected; - }; - var cloneItemContent = function (li) { - var children$1 = children(li); - var content = hasLastChildList(li) ? children$1.slice(0, -1) : children$1; - return map(content, deep); - }; - var createEntry = function (li, depth, isSelected) { - return parent(li).filter(isElement).map(function (list) { - return { - depth: depth, - isSelected: isSelected, - content: cloneItemContent(li), - itemAttributes: clone(li), - listAttributes: clone(list), - listType: name(list) - }; - }); - }; - - var indentEntry = function (indentation, entry) { - switch (indentation) { - case 'Indent': - entry.depth++; - break; - case 'Outdent': - entry.depth--; - break; - case 'Flatten': - entry.depth = 0; - } - }; - - var hasOwnProperty = Object.prototype.hasOwnProperty; - var shallow = function (old, nu) { - return nu; - }; - var baseMerge = function (merger) { - return function () { - var objects = new Array(arguments.length); - for (var i = 0; i < objects.length; i++) { - objects[i] = arguments[i]; - } - if (objects.length === 0) { - throw new Error('Can\'t merge zero objects'); - } - var ret = {}; - for (var j = 0; j < objects.length; j++) { - var curObject = objects[j]; - for (var key in curObject) { - if (hasOwnProperty.call(curObject, key)) { - ret[key] = merger(ret[key], curObject[key]); - } - } - } - return ret; - }; - }; - var merge = baseMerge(shallow); - - var cloneListProperties = function (target, source) { - target.listType = source.listType; - target.listAttributes = merge({}, source.listAttributes); - }; - var previousSiblingEntry = function (entries, start) { - var depth = entries[start].depth; - for (var i = start - 1; i >= 0; i--) { - if (entries[i].depth === depth) { - return Option.some(entries[i]); - } - if (entries[i].depth < depth) { - break; - } - } - return Option.none(); - }; - var normalizeEntries = function (entries) { - each(entries, function (entry, i) { - previousSiblingEntry(entries, i).each(function (matchingEntry) { - cloneListProperties(entry, matchingEntry); - }); - }); - }; - - var Cell = function (initial) { - var value = initial; - var get = function () { - return value; - }; - var set = function (v) { - value = v; - }; - var clone = function () { - return Cell(get()); - }; - return { - get: get, - set: set, - clone: clone - }; - }; - - var parseItem = function (depth, itemSelection, selectionState, item) { - return firstChild(item).filter(isList$1).fold(function () { - itemSelection.each(function (selection) { - if (eq(selection.start, item)) { - selectionState.set(true); - } - }); - var currentItemEntry = createEntry(item, depth, selectionState.get()); - itemSelection.each(function (selection) { - if (eq(selection.end, item)) { - selectionState.set(false); - } - }); - var childListEntries = lastChild(item).filter(isList$1).map(function (list) { - return parseList(depth, itemSelection, selectionState, list); - }).getOr([]); - return currentItemEntry.toArray().concat(childListEntries); - }, function (list) { - return parseList(depth, itemSelection, selectionState, list); - }); - }; - var parseList = function (depth, itemSelection, selectionState, list) { - return bind(children(list), function (element) { - var parser = isList$1(element) ? parseList : parseItem; - var newDepth = depth + 1; - return parser(newDepth, itemSelection, selectionState, element); - }); - }; - var parseLists = function (lists, itemSelection) { - var selectionState = Cell(false); - var initialDepth = 0; - return map(lists, function (list) { - return { - sourceList: list, - entries: parseList(initialDepth, itemSelection, selectionState, list) - }; - }); - }; - - var global$8 = tinymce.util.Tools.resolve('tinymce.Env'); - - var createTextBlock = function (editor, contentNode) { - var dom = editor.dom; - var blockElements = editor.schema.getBlockElements(); - var fragment = dom.createFragment(); - var node, textBlock, blockName, hasContentNode; - if (editor.settings.forced_root_block) { - blockName = editor.settings.forced_root_block; - } - if (blockName) { - textBlock = dom.create(blockName); - if (textBlock.tagName === editor.settings.forced_root_block) { - dom.setAttribs(textBlock, editor.settings.forced_root_block_attrs); - } - if (!NodeType.isBlock(contentNode.firstChild, blockElements)) { - fragment.appendChild(textBlock); - } - } - if (contentNode) { - while (node = contentNode.firstChild) { - var nodeName = node.nodeName; - if (!hasContentNode && (nodeName !== 'SPAN' || node.getAttribute('data-mce-type') !== 'bookmark')) { - hasContentNode = true; - } - if (NodeType.isBlock(node, blockElements)) { - fragment.appendChild(node); - textBlock = null; - } else { - if (blockName) { - if (!textBlock) { - textBlock = dom.create(blockName); - fragment.appendChild(textBlock); - } - textBlock.appendChild(node); - } else { - fragment.appendChild(node); - } - } - } - } - if (!editor.settings.forced_root_block) { - fragment.appendChild(dom.create('br')); - } else { - if (!hasContentNode && (!global$8.ie || global$8.ie > 10)) { - textBlock.appendChild(dom.create('br', { 'data-mce-bogus': '1' })); - } - } - return fragment; - }; - - var outdentedComposer = function (editor, entries) { - return map(entries, function (entry) { - var content = fromElements(entry.content); - return Element.fromDom(createTextBlock(editor, content.dom())); - }); - }; - var indentedComposer = function (editor, entries) { - normalizeEntries(entries); - return composeList(editor.contentDocument, entries).toArray(); - }; - var composeEntries = function (editor, entries) { - return bind(groupBy(entries, isIndented), function (entries) { - var groupIsIndented = head(entries).map(isIndented).getOr(false); - return groupIsIndented ? indentedComposer(editor, entries) : outdentedComposer(editor, entries); - }); - }; - var indentSelectedEntries = function (entries, indentation) { - each(filter(entries, isSelected), function (entry) { - return indentEntry(indentation, entry); - }); - }; - var getItemSelection = function (editor) { - var selectedListItems = map(Selection.getSelectedListItems(editor), Element.fromDom); - return lift2(find(selectedListItems, not(hasFirstChildList)), find(reverse(selectedListItems), not(hasFirstChildList)), function (start, end) { - return { - start: start, - end: end - }; - }); - }; - var listsIndentation = function (editor, lists, indentation) { - var entrySets = parseLists(lists, getItemSelection(editor)); - each(entrySets, function (entrySet) { - indentSelectedEntries(entrySet.entries, indentation); - before$1(entrySet.sourceList, composeEntries(editor, entrySet.entries)); - remove(entrySet.sourceList); - }); - }; - - var DOM$1 = global$6.DOM; - var splitList = function (editor, ul, li) { - var tmpRng, fragment, bookmarks, node, newBlock; - var removeAndKeepBookmarks = function (targetNode) { - global$5.each(bookmarks, function (node) { - targetNode.parentNode.insertBefore(node, li.parentNode); - }); - DOM$1.remove(targetNode); - }; - bookmarks = DOM$1.select('span[data-mce-type="bookmark"]', ul); - newBlock = createTextBlock(editor, li); - tmpRng = DOM$1.createRng(); - tmpRng.setStartAfter(li); - tmpRng.setEndAfter(ul); - fragment = tmpRng.extractContents(); - for (node = fragment.firstChild; node; node = node.firstChild) { - if (node.nodeName === 'LI' && editor.dom.isEmpty(node)) { - DOM$1.remove(node); - break; - } - } - if (!editor.dom.isEmpty(fragment)) { - DOM$1.insertAfter(fragment, ul); - } - DOM$1.insertAfter(newBlock, ul); - if (NodeType.isEmpty(editor.dom, li.parentNode)) { - removeAndKeepBookmarks(li.parentNode); - } - DOM$1.remove(li); - if (NodeType.isEmpty(editor.dom, ul)) { - DOM$1.remove(ul); - } - }; - var SplitList = { splitList: splitList }; - - var outdentDlItem = function (editor, item) { - if (is$1(item, 'dd')) { - mutate(item, 'dt'); - } else if (is$1(item, 'dt')) { - parent(item).each(function (dl) { - return SplitList.splitList(editor, dl.dom(), item.dom()); - }); - } - }; - var indentDlItem = function (item) { - if (is$1(item, 'dt')) { - mutate(item, 'dd'); - } - }; - var dlIndentation = function (editor, indentation, dlItems) { - if (indentation === 'Indent') { - each(dlItems, indentDlItem); - } else { - each(dlItems, function (item) { - return outdentDlItem(editor, item); - }); - } - }; - - var selectionIndentation = function (editor, indentation) { - var lists = map(Selection.getSelectedListRoots(editor), Element.fromDom); - var dlItems = map(Selection.getSelectedDlItems(editor), Element.fromDom); - var isHandled = false; - if (lists.length || dlItems.length) { - var bookmark = editor.selection.getBookmark(); - listsIndentation(editor, lists, indentation); - dlIndentation(editor, indentation, dlItems); - editor.selection.moveToBookmark(bookmark); - editor.selection.setRng(Range.normalizeRange(editor.selection.getRng())); - editor.nodeChanged(); - isHandled = true; - } - return isHandled; - }; - var indentListSelection = function (editor) { - return selectionIndentation(editor, 'Indent'); - }; - var outdentListSelection = function (editor) { - return selectionIndentation(editor, 'Outdent'); - }; - var flattenListSelection = function (editor) { - return selectionIndentation(editor, 'Flatten'); - }; - - var updateListStyle = function (dom, el, detail) { - var type = detail['list-style-type'] ? detail['list-style-type'] : null; - dom.setStyle(el, 'list-style-type', type); - }; - var setAttribs = function (elm, attrs) { - global$5.each(attrs, function (value, key) { - elm.setAttribute(key, value); - }); - }; - var updateListAttrs = function (dom, el, detail) { - setAttribs(el, detail['list-attributes']); - global$5.each(dom.select('li', el), function (li) { - setAttribs(li, detail['list-item-attributes']); - }); - }; - var updateListWithDetails = function (dom, el, detail) { - updateListStyle(dom, el, detail); - updateListAttrs(dom, el, detail); - }; - var removeStyles = function (dom, element, styles) { - global$5.each(styles, function (style) { - var _a; - return dom.setStyle(element, (_a = {}, _a[style] = '', _a)); - }); - }; - var getEndPointNode = function (editor, rng, start, root) { - var container, offset; - container = rng[start ? 'startContainer' : 'endContainer']; - offset = rng[start ? 'startOffset' : 'endOffset']; - if (container.nodeType === 1) { - container = container.childNodes[Math.min(offset, container.childNodes.length - 1)] || container; - } - if (!start && NodeType.isBr(container.nextSibling)) { - container = container.nextSibling; - } - while (container.parentNode !== root) { - if (NodeType.isTextBlock(editor, container)) { - return container; - } - if (/^(TD|TH)$/.test(container.parentNode.nodeName)) { - return container; - } - container = container.parentNode; - } - return container; - }; - var getSelectedTextBlocks = function (editor, rng, root) { - var textBlocks = [], dom = editor.dom; - var startNode = getEndPointNode(editor, rng, true, root); - var endNode = getEndPointNode(editor, rng, false, root); - var block; - var siblings = []; - for (var node = startNode; node; node = node.nextSibling) { - siblings.push(node); - if (node === endNode) { - break; - } - } - global$5.each(siblings, function (node) { - if (NodeType.isTextBlock(editor, node)) { - textBlocks.push(node); - block = null; - return; - } - if (dom.isBlock(node) || NodeType.isBr(node)) { - if (NodeType.isBr(node)) { - dom.remove(node); - } - block = null; - return; - } - var nextSibling = node.nextSibling; - if (global$4.isBookmarkNode(node)) { - if (NodeType.isTextBlock(editor, nextSibling) || !nextSibling && node.parentNode === root) { - block = null; - return; - } - } - if (!block) { - block = dom.create('p'); - node.parentNode.insertBefore(block, node); - textBlocks.push(block); - } - block.appendChild(node); - }); - return textBlocks; - }; - var hasCompatibleStyle = function (dom, sib, detail) { - var sibStyle = dom.getStyle(sib, 'list-style-type'); - var detailStyle = detail ? detail['list-style-type'] : ''; - detailStyle = detailStyle === null ? '' : detailStyle; - return sibStyle === detailStyle; - }; - var applyList = function (editor, listName, detail) { - if (detail === void 0) { - detail = {}; - } - var rng = editor.selection.getRng(true); - var bookmark; - var listItemName = 'LI'; - var root = Selection.getClosestListRootElm(editor, editor.selection.getStart(true)); - var dom = editor.dom; - if (dom.getContentEditable(editor.selection.getNode()) === 'false') { - return; - } - listName = listName.toUpperCase(); - if (listName === 'DL') { - listItemName = 'DT'; - } - bookmark = Bookmark.createBookmark(rng); - global$5.each(getSelectedTextBlocks(editor, rng, root), function (block) { - var listBlock, sibling; - sibling = block.previousSibling; - if (sibling && NodeType.isListNode(sibling) && sibling.nodeName === listName && hasCompatibleStyle(dom, sibling, detail)) { - listBlock = sibling; - block = dom.rename(block, listItemName); - sibling.appendChild(block); - } else { - listBlock = dom.create(listName); - block.parentNode.insertBefore(listBlock, block); - listBlock.appendChild(block); - block = dom.rename(block, listItemName); - } - removeStyles(dom, block, [ - 'margin', - 'margin-right', - 'margin-bottom', - 'margin-left', - 'margin-top', - 'padding', - 'padding-right', - 'padding-bottom', - 'padding-left', - 'padding-top' - ]); - updateListWithDetails(dom, listBlock, detail); - mergeWithAdjacentLists(editor.dom, listBlock); - }); - editor.selection.setRng(Bookmark.resolveBookmark(bookmark)); - }; - var isValidLists = function (list1, list2) { - return list1 && list2 && NodeType.isListNode(list1) && list1.nodeName === list2.nodeName; - }; - var hasSameListStyle = function (dom, list1, list2) { - var targetStyle = dom.getStyle(list1, 'list-style-type', true); - var style = dom.getStyle(list2, 'list-style-type', true); - return targetStyle === style; - }; - var hasSameClasses = function (elm1, elm2) { - return elm1.className === elm2.className; - }; - var shouldMerge = function (dom, list1, list2) { - return isValidLists(list1, list2) && hasSameListStyle(dom, list1, list2) && hasSameClasses(list1, list2); - }; - var mergeWithAdjacentLists = function (dom, listBlock) { - var sibling, node; - sibling = listBlock.nextSibling; - if (shouldMerge(dom, listBlock, sibling)) { - while (node = sibling.firstChild) { - listBlock.appendChild(node); - } - dom.remove(sibling); - } - sibling = listBlock.previousSibling; - if (shouldMerge(dom, listBlock, sibling)) { - while (node = sibling.lastChild) { - listBlock.insertBefore(node, listBlock.firstChild); - } - dom.remove(sibling); - } - }; - var updateList = function (dom, list, listName, detail) { - if (list.nodeName !== listName) { - var newList = dom.rename(list, listName); - updateListWithDetails(dom, newList, detail); - } else { - updateListWithDetails(dom, list, detail); - } - }; - var toggleMultipleLists = function (editor, parentList, lists, listName, detail) { - if (parentList.nodeName === listName && !hasListStyleDetail(detail)) { - flattenListSelection(editor); - } else { - var bookmark = Bookmark.createBookmark(editor.selection.getRng(true)); - global$5.each([parentList].concat(lists), function (elm) { - updateList(editor.dom, elm, listName, detail); - }); - editor.selection.setRng(Bookmark.resolveBookmark(bookmark)); - } - }; - var hasListStyleDetail = function (detail) { - return 'list-style-type' in detail; - }; - var toggleSingleList = function (editor, parentList, listName, detail) { - if (parentList === editor.getBody()) { - return; - } - if (parentList) { - if (parentList.nodeName === listName && !hasListStyleDetail(detail)) { - flattenListSelection(editor); - } else { - var bookmark = Bookmark.createBookmark(editor.selection.getRng(true)); - updateListWithDetails(editor.dom, parentList, detail); - mergeWithAdjacentLists(editor.dom, editor.dom.rename(parentList, listName)); - editor.selection.setRng(Bookmark.resolveBookmark(bookmark)); - } - } else { - applyList(editor, listName, detail); - } - }; - var toggleList = function (editor, listName, detail) { - var parentList = Selection.getParentList(editor); - var selectedSubLists = Selection.getSelectedSubLists(editor); - detail = detail ? detail : {}; - if (parentList && selectedSubLists.length > 0) { - toggleMultipleLists(editor, parentList, selectedSubLists, listName, detail); - } else { - toggleSingleList(editor, parentList, listName, detail); - } - }; - var ToggleList = { - toggleList: toggleList, - mergeWithAdjacentLists: mergeWithAdjacentLists - }; - - var DOM$2 = global$6.DOM; - var normalizeList = function (dom, ul) { - var sibling; - var parentNode = ul.parentNode; - if (parentNode.nodeName === 'LI' && parentNode.firstChild === ul) { - sibling = parentNode.previousSibling; - if (sibling && sibling.nodeName === 'LI') { - sibling.appendChild(ul); - if (NodeType.isEmpty(dom, parentNode)) { - DOM$2.remove(parentNode); - } - } else { - DOM$2.setStyle(parentNode, 'listStyleType', 'none'); - } - } - if (NodeType.isListNode(parentNode)) { - sibling = parentNode.previousSibling; - if (sibling && sibling.nodeName === 'LI') { - sibling.appendChild(ul); - } - } - }; - var normalizeLists = function (dom, element) { - global$5.each(global$5.grep(dom.select('ol,ul', element)), function (ul) { - normalizeList(dom, ul); - }); - }; - var NormalizeLists = { - normalizeList: normalizeList, - normalizeLists: normalizeLists - }; - - var findNextCaretContainer = function (editor, rng, isForward, root) { - var node = rng.startContainer; - var offset = rng.startOffset; - var nonEmptyBlocks, walker; - if (node.nodeType === 3 && (isForward ? offset < node.data.length : offset > 0)) { - return node; - } - nonEmptyBlocks = editor.schema.getNonEmptyElements(); - if (node.nodeType === 1) { - node = global$1.getNode(node, offset); - } - walker = new global$2(node, root); - if (isForward) { - if (NodeType.isBogusBr(editor.dom, node)) { - walker.next(); - } - } - while (node = walker[isForward ? 'next' : 'prev2']()) { - if (node.nodeName === 'LI' && !node.hasChildNodes()) { - return node; - } - if (nonEmptyBlocks[node.nodeName]) { - return node; - } - if (node.nodeType === 3 && node.data.length > 0) { - return node; - } - } - }; - var hasOnlyOneBlockChild = function (dom, elm) { - var childNodes = elm.childNodes; - return childNodes.length === 1 && !NodeType.isListNode(childNodes[0]) && dom.isBlock(childNodes[0]); - }; - var unwrapSingleBlockChild = function (dom, elm) { - if (hasOnlyOneBlockChild(dom, elm)) { - dom.remove(elm.firstChild, true); - } - }; - var moveChildren = function (dom, fromElm, toElm) { - var node, targetElm; - targetElm = hasOnlyOneBlockChild(dom, toElm) ? toElm.firstChild : toElm; - unwrapSingleBlockChild(dom, fromElm); - if (!NodeType.isEmpty(dom, fromElm, true)) { - while (node = fromElm.firstChild) { - targetElm.appendChild(node); - } - } - }; - var mergeLiElements = function (dom, fromElm, toElm) { - var node, listNode; - var ul = fromElm.parentNode; - if (!NodeType.isChildOfBody(dom, fromElm) || !NodeType.isChildOfBody(dom, toElm)) { - return; - } - if (NodeType.isListNode(toElm.lastChild)) { - listNode = toElm.lastChild; - } - if (ul === toElm.lastChild) { - if (NodeType.isBr(ul.previousSibling)) { - dom.remove(ul.previousSibling); - } - } - node = toElm.lastChild; - if (node && NodeType.isBr(node) && fromElm.hasChildNodes()) { - dom.remove(node); - } - if (NodeType.isEmpty(dom, toElm, true)) { - dom.$(toElm).empty(); - } - moveChildren(dom, fromElm, toElm); - if (listNode) { - toElm.appendChild(listNode); - } - var contains = contains$1(Element.fromDom(toElm), Element.fromDom(fromElm)); - var nestedLists = contains ? dom.getParents(fromElm, NodeType.isListNode, toElm) : []; - dom.remove(fromElm); - each(nestedLists, function (list) { - if (NodeType.isEmpty(dom, list) && list !== dom.getRoot()) { - dom.remove(list); - } - }); - }; - var mergeIntoEmptyLi = function (editor, fromLi, toLi) { - editor.dom.$(toLi).empty(); - mergeLiElements(editor.dom, fromLi, toLi); - editor.selection.setCursorLocation(toLi); - }; - var mergeForward = function (editor, rng, fromLi, toLi) { - var dom = editor.dom; - if (dom.isEmpty(toLi)) { - mergeIntoEmptyLi(editor, fromLi, toLi); - } else { - var bookmark = Bookmark.createBookmark(rng); - mergeLiElements(dom, fromLi, toLi); - editor.selection.setRng(Bookmark.resolveBookmark(bookmark)); - } - }; - var mergeBackward = function (editor, rng, fromLi, toLi) { - var bookmark = Bookmark.createBookmark(rng); - mergeLiElements(editor.dom, fromLi, toLi); - var resolvedBookmark = Bookmark.resolveBookmark(bookmark); - editor.selection.setRng(resolvedBookmark); - }; - var backspaceDeleteFromListToListCaret = function (editor, isForward) { - var dom = editor.dom, selection = editor.selection; - var selectionStartElm = selection.getStart(); - var root = Selection.getClosestListRootElm(editor, selectionStartElm); - var li = dom.getParent(selection.getStart(), 'LI', root); - var ul, rng, otherLi; - if (li) { - ul = li.parentNode; - if (ul === editor.getBody() && NodeType.isEmpty(dom, ul)) { - return true; - } - rng = Range.normalizeRange(selection.getRng(true)); - otherLi = dom.getParent(findNextCaretContainer(editor, rng, isForward, root), 'LI', root); - if (otherLi && otherLi !== li) { - if (isForward) { - mergeForward(editor, rng, otherLi, li); - } else { - mergeBackward(editor, rng, li, otherLi); - } - return true; - } else if (!otherLi) { - if (!isForward) { - flattenListSelection(editor); - return true; - } - } - } - return false; - }; - var removeBlock = function (dom, block, root) { - var parentBlock = dom.getParent(block.parentNode, dom.isBlock, root); - dom.remove(block); - if (parentBlock && dom.isEmpty(parentBlock)) { - dom.remove(parentBlock); - } - }; - var backspaceDeleteIntoListCaret = function (editor, isForward) { - var dom = editor.dom; - var selectionStartElm = editor.selection.getStart(); - var root = Selection.getClosestListRootElm(editor, selectionStartElm); - var block = dom.getParent(selectionStartElm, dom.isBlock, root); - if (block && dom.isEmpty(block)) { - var rng = Range.normalizeRange(editor.selection.getRng(true)); - var otherLi_1 = dom.getParent(findNextCaretContainer(editor, rng, isForward, root), 'LI', root); - if (otherLi_1) { - editor.undoManager.transact(function () { - removeBlock(dom, block, root); - ToggleList.mergeWithAdjacentLists(dom, otherLi_1.parentNode); - editor.selection.select(otherLi_1, true); - editor.selection.collapse(isForward); - }); - return true; - } - } - return false; - }; - var backspaceDeleteCaret = function (editor, isForward) { - return backspaceDeleteFromListToListCaret(editor, isForward) || backspaceDeleteIntoListCaret(editor, isForward); - }; - var backspaceDeleteRange = function (editor) { - var selectionStartElm = editor.selection.getStart(); - var root = Selection.getClosestListRootElm(editor, selectionStartElm); - var startListParent = editor.dom.getParent(selectionStartElm, 'LI,DT,DD', root); - if (startListParent || Selection.getSelectedListItems(editor).length > 0) { - editor.undoManager.transact(function () { - editor.execCommand('Delete'); - NormalizeLists.normalizeLists(editor.dom, editor.getBody()); - }); - return true; - } - return false; - }; - var backspaceDelete = function (editor, isForward) { - return editor.selection.isCollapsed() ? backspaceDeleteCaret(editor, isForward) : backspaceDeleteRange(editor); - }; - var setup = function (editor) { - editor.on('keydown', function (e) { - if (e.keyCode === global$3.BACKSPACE) { - if (backspaceDelete(editor, false)) { - e.preventDefault(); - } - } else if (e.keyCode === global$3.DELETE) { - if (backspaceDelete(editor, true)) { - e.preventDefault(); - } - } - }); - }; - var Delete = { - setup: setup, - backspaceDelete: backspaceDelete - }; - - var get = function (editor) { - return { - backspaceDelete: function (isForward) { - Delete.backspaceDelete(editor, isForward); - } - }; - }; - var Api = { get: get }; - - var queryListCommandState = function (editor, listName) { - return function () { - var parentList = editor.dom.getParent(editor.selection.getStart(), 'UL,OL,DL'); - return parentList && parentList.nodeName === listName; - }; - }; - var register = function (editor) { - editor.on('BeforeExecCommand', function (e) { - var cmd = e.command.toLowerCase(); - if (cmd === 'indent') { - indentListSelection(editor); - } else if (cmd === 'outdent') { - outdentListSelection(editor); - } - }); - editor.addCommand('InsertUnorderedList', function (ui, detail) { - ToggleList.toggleList(editor, 'UL', detail); - }); - editor.addCommand('InsertOrderedList', function (ui, detail) { - ToggleList.toggleList(editor, 'OL', detail); - }); - editor.addCommand('InsertDefinitionList', function (ui, detail) { - ToggleList.toggleList(editor, 'DL', detail); - }); - editor.addCommand('RemoveList', function () { - flattenListSelection(editor); - }); - editor.addQueryStateHandler('InsertUnorderedList', queryListCommandState(editor, 'UL')); - editor.addQueryStateHandler('InsertOrderedList', queryListCommandState(editor, 'OL')); - editor.addQueryStateHandler('InsertDefinitionList', queryListCommandState(editor, 'DL')); - }; - var Commands = { register: register }; - - var shouldIndentOnTab = function (editor) { - return editor.getParam('lists_indent_on_tab', true); - }; - var Settings = { shouldIndentOnTab: shouldIndentOnTab }; - - var setupTabKey = function (editor) { - editor.on('keydown', function (e) { - if (e.keyCode !== global$3.TAB || global$3.metaKeyPressed(e)) { - return; - } - editor.undoManager.transact(function () { - if (e.shiftKey ? outdentListSelection(editor) : indentListSelection(editor)) { - e.preventDefault(); - } - }); - }); - }; - var setup$1 = function (editor) { - if (Settings.shouldIndentOnTab(editor)) { - setupTabKey(editor); - } - Delete.setup(editor); - }; - var Keyboard = { setup: setup$1 }; - - var findIndex = function (list, predicate) { - for (var index = 0; index < list.length; index++) { - var element = list[index]; - if (predicate(element)) { - return index; - } - } - return -1; - }; - var listState = function (editor, listName) { - return function (e) { - var ctrl = e.control; - editor.on('NodeChange', function (e) { - var tableCellIndex = findIndex(e.parents, NodeType.isTableCellNode); - var parents = tableCellIndex !== -1 ? e.parents.slice(0, tableCellIndex) : e.parents; - var lists = global$5.grep(parents, NodeType.isListNode); - ctrl.active(lists.length > 0 && lists[0].nodeName === listName); - }); - }; - }; - var register$1 = function (editor) { - var hasPlugin = function (editor, plugin) { - var plugins = editor.settings.plugins ? editor.settings.plugins : ''; - return global$5.inArray(plugins.split(/[ ,]/), plugin) !== -1; - }; - if (!hasPlugin(editor, 'advlist')) { - editor.addButton('numlist', { - active: false, - title: 'Numbered list', - cmd: 'InsertOrderedList', - onPostRender: listState(editor, 'OL') - }); - editor.addButton('bullist', { - active: false, - title: 'Bullet list', - cmd: 'InsertUnorderedList', - onPostRender: listState(editor, 'UL') - }); - } - editor.addButton('indent', { - icon: 'indent', - title: 'Increase indent', - cmd: 'Indent' - }); - }; - var Buttons = { register: register$1 }; - - global.add('lists', function (editor) { - Keyboard.setup(editor); - Buttons.register(editor); - Commands.register(editor); - return Api.get(editor); - }); - function Plugin () { - } - - return Plugin; - -}(window)); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/lists/plugin.min.js b/build/wp-includes/js/tinymce/plugins/lists/plugin.min.js deleted file mode 100644 index d92fc6df35..0000000000 --- a/build/wp-includes/js/tinymce/plugins/lists/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(u){"use strict";var e,n,t,r,o,i,s,a,c,f=tinymce.util.Tools.resolve("tinymce.PluginManager"),d=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),l=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),m=tinymce.util.Tools.resolve("tinymce.util.VK"),p=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager"),v=tinymce.util.Tools.resolve("tinymce.util.Tools"),g=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),h=function(e){return e&&"BR"===e.nodeName},y=function(e){return e&&3===e.nodeType},N=function(e){return e&&/^(OL|UL|DL)$/.test(e.nodeName)},S=function(e){return e&&/^(OL|UL)$/.test(e.nodeName)},C=function(e){return e&&/^(DT|DD)$/.test(e.nodeName)},O=function(e){return e&&/^(LI|DT|DD)$/.test(e.nodeName)},b=function(e){return e&&/^(TH|TD)$/.test(e.nodeName)},T=h,E=function(e,n){return n&&!!e.schema.getTextBlockElements()[n.nodeName]},L=function(e,n){return e&&e.nodeName in n},D=function(e,n){return!!h(n)&&!(!e.isBlock(n.nextSibling)||h(n.previousSibling))},w=function(e,n,t){var r=e.isEmpty(n);return!(t&&0=e.childNodes.length?t.data.length:0}:t.previousSibling&&y(t.previousSibling)?{container:t.previousSibling,offset:t.previousSibling.data.length}:t.nextSibling&&y(t.nextSibling)?{container:t.nextSibling,offset:0}:{container:e,offset:n}},x=function(e){var n=e.cloneRange(),t=A(e.startContainer,e.startOffset);n.setStart(t.container,t.offset);var r=A(e.endContainer,e.endOffset);return n.setEnd(r.container,r.offset),n},R=g.DOM,I=function(o){var i={},e=function(e){var n,t,r;t=o[e?"startContainer":"endContainer"],r=o[e?"startOffset":"endOffset"],1===t.nodeType&&(n=R.create("span",{"data-mce-type":"bookmark"}),t.hasChildNodes()?(r=Math.min(r,t.childNodes.length-1),e?t.insertBefore(n,t.childNodes[r]):R.insertAfter(n,t.childNodes[r])):t.appendChild(n),t=n,r=0),i[e?"startContainer":"endContainer"]=t,i[e?"startOffset":"endOffset"]=r};return e(!0),o.collapsed||e(),i},_=function(o){function e(e){var n,t,r;n=r=o[e?"startContainer":"endContainer"],t=o[e?"startOffset":"endOffset"],n&&(1===n.nodeType&&(t=function(e){for(var n=e.parentNode.firstChild,t=0;n;){if(n===e)return t;1===n.nodeType&&"bookmark"===n.getAttribute("data-mce-type")||t++,n=n.nextSibling}return-1}(n),n=n.parentNode,R.remove(r),!n.hasChildNodes()&&R.isBlock(n)&&n.appendChild(R.create("br"))),o[e?"startContainer":"endContainer"]=n,o[e?"startOffset":"endOffset"]=t)}e(!0),e();var n=R.createRng();return n.setStart(o.startContainer,o.startOffset),o.endContainer&&n.setEnd(o.endContainer,o.endOffset),x(n)},B=function(){},P=function(e){return function(){return e}},M=function(t){return function(){for(var e=[],n=0;ne.length?Sn(t,e,n):Nn(t,e,n)},[]),oe(o).map(function(e){return e.list})).toArray();var t,r,o},Pn=function(e){var n,t,r=J(ve.getSelectedListItems(e),ye.fromDom);return Ne(te(r,M(On)),te((n=r,(t=Y.call(n,0)).reverse(),t),M(On)),function(e,n){return{start:e,end:n}})},Mn=function(s,e,a){var n,t,r,o=(n=e,t=Pn(s),r=kn(!1),J(n,function(e){return{sourceList:e,entries:xn(0,t,r,e)}}));Z(o,function(e){var n,t,r,o,i,u;n=e.entries,t=a,Z(ee(n,Tn),function(e){return function(e,n){switch(e){case"Indent":n.depth++;break;case"Outdent":n.depth--;break;case"Flatten":n.depth=0}}(t,e)}),r=e.sourceList,i=s,u=e.entries,o=re(function(e,n){if(0===e.length)return[];for(var t=n(e[0]),r=[],o=[],i=0,u=e.length;i 0) { - return global$2.extend({}, pattern[0], { url: getUrl(pattern[0], url) }); - } else { - return null; - } - }; - - var getIframeHtml = function (data) { - var allowFullscreen = data.allowFullscreen ? ' allowFullscreen="1"' : ''; - return ''; - }; - var getFlashHtml = function (data) { - var html = ''; - if (data.poster) { - html += ''; - } - html += ''; - return html; - }; - var getAudioHtml = function (data, audioTemplateCallback) { - if (audioTemplateCallback) { - return audioTemplateCallback(data); - } else { - return ''; - } - }; - var getVideoHtml = function (data, videoTemplateCallback) { - if (videoTemplateCallback) { - return videoTemplateCallback(data); - } else { - return ''; - } - }; - var getScriptHtml = function (data) { - return ''; - }; - var dataToHtml = function (editor, dataIn) { - var data = global$2.extend({}, dataIn); - if (!data.source1) { - global$2.extend(data, HtmlToData.htmlToData(Settings.getScripts(editor), data.embed)); - if (!data.source1) { - return ''; - } - } - if (!data.source2) { - data.source2 = ''; - } - if (!data.poster) { - data.poster = ''; - } - data.source1 = editor.convertURL(data.source1, 'source'); - data.source2 = editor.convertURL(data.source2, 'source'); - data.source1mime = Mime.guess(data.source1); - data.source2mime = Mime.guess(data.source2); - data.poster = editor.convertURL(data.poster, 'poster'); - var pattern = matchPattern(data.source1); - if (pattern) { - data.source1 = pattern.url; - data.type = pattern.type; - data.allowFullscreen = pattern.allowFullscreen; - data.width = data.width || pattern.w; - data.height = data.height || pattern.h; - } - if (data.embed) { - return UpdateHtml.updateHtml(data.embed, data, true); - } else { - var videoScript = VideoScript.getVideoScriptMatch(Settings.getScripts(editor), data.source1); - if (videoScript) { - data.type = 'script'; - data.width = videoScript.width; - data.height = videoScript.height; - } - var audioTemplateCallback = Settings.getAudioTemplateCallback(editor); - var videoTemplateCallback = Settings.getVideoTemplateCallback(editor); - data.width = data.width || 300; - data.height = data.height || 150; - global$2.each(data, function (value, key) { - data[key] = editor.dom.encode(value); - }); - if (data.type === 'iframe') { - return getIframeHtml(data); - } else if (data.source1mime === 'application/x-shockwave-flash') { - return getFlashHtml(data); - } else if (data.source1mime.indexOf('audio') !== -1) { - return getAudioHtml(data, audioTemplateCallback); - } else if (data.type === 'script') { - return getScriptHtml(data); - } else { - return getVideoHtml(data, videoTemplateCallback); - } - } - }; - var DataToHtml = { dataToHtml: dataToHtml }; - - var cache = {}; - var embedPromise = function (data, dataToHtml, handler) { - return new global$5(function (res, rej) { - var wrappedResolve = function (response) { - if (response.html) { - cache[data.source1] = response; - } - return res({ - url: data.source1, - html: response.html ? response.html : dataToHtml(data) - }); - }; - if (cache[data.source1]) { - wrappedResolve(cache[data.source1]); - } else { - handler({ url: data.source1 }, wrappedResolve, rej); - } - }); - }; - var defaultPromise = function (data, dataToHtml) { - return new global$5(function (res) { - res({ - html: dataToHtml(data), - url: data.source1 - }); - }); - }; - var loadedData = function (editor) { - return function (data) { - return DataToHtml.dataToHtml(editor, data); - }; - }; - var getEmbedHtml = function (editor, data) { - var embedHandler = Settings.getUrlResolver(editor); - return embedHandler ? embedPromise(data, loadedData(editor), embedHandler) : defaultPromise(data, loadedData(editor)); - }; - var isCached = function (url) { - return cache.hasOwnProperty(url); - }; - var Service = { - getEmbedHtml: getEmbedHtml, - isCached: isCached - }; - - var trimPx$1 = function (value) { - return value.replace(/px$/, ''); - }; - var addPx$1 = function (value) { - return /^[0-9.]+$/.test(value) ? value + 'px' : value; - }; - var getSize = function (name) { - return function (elm) { - return elm ? trimPx$1(elm.style[name]) : ''; - }; - }; - var setSize = function (name) { - return function (elm, value) { - if (elm) { - elm.style[name] = addPx$1(value); - } - }; - }; - var Size = { - getMaxWidth: getSize('maxWidth'), - getMaxHeight: getSize('maxHeight'), - setMaxWidth: setSize('maxWidth'), - setMaxHeight: setSize('maxHeight') - }; - - var doSyncSize = function (widthCtrl, heightCtrl) { - widthCtrl.state.set('oldVal', widthCtrl.value()); - heightCtrl.state.set('oldVal', heightCtrl.value()); - }; - var doSizeControls = function (win, f) { - var widthCtrl = win.find('#width')[0]; - var heightCtrl = win.find('#height')[0]; - var constrained = win.find('#constrain')[0]; - if (widthCtrl && heightCtrl && constrained) { - f(widthCtrl, heightCtrl, constrained.checked()); - } - }; - var doUpdateSize = function (widthCtrl, heightCtrl, isContrained) { - var oldWidth = widthCtrl.state.get('oldVal'); - var oldHeight = heightCtrl.state.get('oldVal'); - var newWidth = widthCtrl.value(); - var newHeight = heightCtrl.value(); - if (isContrained && oldWidth && oldHeight && newWidth && newHeight) { - if (newWidth !== oldWidth) { - newHeight = Math.round(newWidth / oldWidth * newHeight); - if (!isNaN(newHeight)) { - heightCtrl.value(newHeight); - } - } else { - newWidth = Math.round(newHeight / oldHeight * newWidth); - if (!isNaN(newWidth)) { - widthCtrl.value(newWidth); - } - } - } - doSyncSize(widthCtrl, heightCtrl); - }; - var syncSize = function (win) { - doSizeControls(win, doSyncSize); - }; - var updateSize = function (win) { - doSizeControls(win, doUpdateSize); - }; - var createUi = function (onChange) { - var recalcSize = function () { - onChange(function (win) { - updateSize(win); - }); - }; - return { - type: 'container', - label: 'Dimensions', - layout: 'flex', - align: 'center', - spacing: 5, - items: [ - { - name: 'width', - type: 'textbox', - maxLength: 5, - size: 5, - onchange: recalcSize, - ariaLabel: 'Width' - }, - { - type: 'label', - text: 'x' - }, - { - name: 'height', - type: 'textbox', - maxLength: 5, - size: 5, - onchange: recalcSize, - ariaLabel: 'Height' - }, - { - name: 'constrain', - type: 'checkbox', - checked: true, - text: 'Constrain proportions' - } - ] - }; - }; - var SizeManager = { - createUi: createUi, - syncSize: syncSize, - updateSize: updateSize - }; - - var embedChange = global$1.ie && global$1.ie <= 8 ? 'onChange' : 'onInput'; - var handleError = function (editor) { - return function (error) { - var errorMessage = error && error.msg ? 'Media embed handler error: ' + error.msg : 'Media embed handler threw unknown error.'; - editor.notificationManager.open({ - type: 'error', - text: errorMessage - }); - }; - }; - var getData = function (editor) { - var element = editor.selection.getNode(); - var dataEmbed = element.getAttribute('data-ephox-embed-iri'); - if (dataEmbed) { - return { - 'source1': dataEmbed, - 'data-ephox-embed-iri': dataEmbed, - 'width': Size.getMaxWidth(element), - 'height': Size.getMaxHeight(element) - }; - } - return element.getAttribute('data-mce-object') ? HtmlToData.htmlToData(Settings.getScripts(editor), editor.serializer.serialize(element, { selection: true })) : {}; - }; - var getSource = function (editor) { - var elm = editor.selection.getNode(); - if (elm.getAttribute('data-mce-object') || elm.getAttribute('data-ephox-embed-iri')) { - return editor.selection.getContent(); - } - }; - var addEmbedHtml = function (win, editor) { - return function (response) { - var html = response.html; - var embed = win.find('#embed')[0]; - var data = global$2.extend(HtmlToData.htmlToData(Settings.getScripts(editor), html), { source1: response.url }); - win.fromJSON(data); - if (embed) { - embed.value(html); - SizeManager.updateSize(win); - } - }; - }; - var selectPlaceholder = function (editor, beforeObjects) { - var i; - var y; - var afterObjects = editor.dom.select('img[data-mce-object]'); - for (i = 0; i < beforeObjects.length; i++) { - for (y = afterObjects.length - 1; y >= 0; y--) { - if (beforeObjects[i] === afterObjects[y]) { - afterObjects.splice(y, 1); - } - } - } - editor.selection.select(afterObjects[0]); - }; - var handleInsert = function (editor, html) { - var beforeObjects = editor.dom.select('img[data-mce-object]'); - editor.insertContent(html); - selectPlaceholder(editor, beforeObjects); - editor.nodeChanged(); - }; - var submitForm = function (win, editor) { - var data = win.toJSON(); - data.embed = UpdateHtml.updateHtml(data.embed, data); - if (data.embed && Service.isCached(data.source1)) { - handleInsert(editor, data.embed); - } else { - Service.getEmbedHtml(editor, data).then(function (response) { - handleInsert(editor, response.html); - }).catch(handleError(editor)); - } - }; - var populateMeta = function (win, meta) { - global$2.each(meta, function (value, key) { - win.find('#' + key).value(value); - }); - }; - var showDialog = function (editor) { - var win; - var data; - var generalFormItems = [{ - name: 'source1', - type: 'filepicker', - filetype: 'media', - size: 40, - autofocus: true, - label: 'Source', - onpaste: function () { - setTimeout(function () { - Service.getEmbedHtml(editor, win.toJSON()).then(addEmbedHtml(win, editor)).catch(handleError(editor)); - }, 1); - }, - onchange: function (e) { - Service.getEmbedHtml(editor, win.toJSON()).then(addEmbedHtml(win, editor)).catch(handleError(editor)); - populateMeta(win, e.meta); - }, - onbeforecall: function (e) { - e.meta = win.toJSON(); - } - }]; - var advancedFormItems = []; - var reserialise = function (update) { - update(win); - data = win.toJSON(); - win.find('#embed').value(UpdateHtml.updateHtml(data.embed, data)); - }; - if (Settings.hasAltSource(editor)) { - advancedFormItems.push({ - name: 'source2', - type: 'filepicker', - filetype: 'media', - size: 40, - label: 'Alternative source' - }); - } - if (Settings.hasPoster(editor)) { - advancedFormItems.push({ - name: 'poster', - type: 'filepicker', - filetype: 'image', - size: 40, - label: 'Poster' - }); - } - if (Settings.hasDimensions(editor)) { - var control = SizeManager.createUi(reserialise); - generalFormItems.push(control); - } - data = getData(editor); - var embedTextBox = { - id: 'mcemediasource', - type: 'textbox', - flex: 1, - name: 'embed', - value: getSource(editor), - multiline: true, - rows: 5, - label: 'Source' - }; - var updateValueOnChange = function () { - data = global$2.extend({}, HtmlToData.htmlToData(Settings.getScripts(editor), this.value())); - this.parent().parent().fromJSON(data); - }; - embedTextBox[embedChange] = updateValueOnChange; - var body = [ - { - title: 'General', - type: 'form', - items: generalFormItems - }, - { - title: 'Embed', - type: 'container', - layout: 'flex', - direction: 'column', - align: 'stretch', - padding: 10, - spacing: 10, - items: [ - { - type: 'label', - text: 'Paste your embed code below:', - forId: 'mcemediasource' - }, - embedTextBox - ] - } - ]; - if (advancedFormItems.length > 0) { - body.push({ - title: 'Advanced', - type: 'form', - items: advancedFormItems - }); - } - win = editor.windowManager.open({ - title: 'Insert/edit media', - data: data, - bodyType: 'tabpanel', - body: body, - onSubmit: function () { - SizeManager.updateSize(win); - submitForm(win, editor); - } - }); - SizeManager.syncSize(win); - }; - var Dialog = { showDialog: showDialog }; - - var get$1 = function (editor) { - var showDialog = function () { - Dialog.showDialog(editor); - }; - return { showDialog: showDialog }; - }; - var Api = { get: get$1 }; - - var register = function (editor) { - var showDialog = function () { - Dialog.showDialog(editor); - }; - editor.addCommand('mceMedia', showDialog); - }; - var Commands = { register: register }; - - var global$8 = tinymce.util.Tools.resolve('tinymce.html.Node'); - - var sanitize = function (editor, html) { - if (Settings.shouldFilterHtml(editor) === false) { - return html; - } - var writer = global$7(); - var blocked; - global$4({ - validate: false, - allow_conditional_comments: false, - special: 'script,noscript', - comment: function (text) { - writer.comment(text); - }, - cdata: function (text) { - writer.cdata(text); - }, - text: function (text, raw) { - writer.text(text, raw); - }, - start: function (name, attrs, empty) { - blocked = true; - if (name === 'script' || name === 'noscript' || name === 'svg') { - return; - } - for (var i = attrs.length - 1; i >= 0; i--) { - var attrName = attrs[i].name; - if (attrName.indexOf('on') === 0) { - delete attrs.map[attrName]; - attrs.splice(i, 1); - } - if (attrName === 'style') { - attrs[i].value = editor.dom.serializeStyle(editor.dom.parseStyle(attrs[i].value), name); - } - } - writer.start(name, attrs, empty); - blocked = false; - }, - end: function (name) { - if (blocked) { - return; - } - writer.end(name); - } - }, global$6({})).parse(html); - return writer.getContent(); - }; - var Sanitize = { sanitize: sanitize }; - - var createPlaceholderNode = function (editor, node) { - var placeHolder; - var name = node.name; - placeHolder = new global$8('img', 1); - placeHolder.shortEnded = true; - retainAttributesAndInnerHtml(editor, node, placeHolder); - placeHolder.attr({ - 'width': node.attr('width') || '300', - 'height': node.attr('height') || (name === 'audio' ? '30' : '150'), - 'style': node.attr('style'), - 'src': global$1.transparentSrc, - 'data-mce-object': name, - 'class': 'mce-object mce-object-' + name - }); - return placeHolder; - }; - var createPreviewIframeNode = function (editor, node) { - var previewWrapper; - var previewNode; - var shimNode; - var name = node.name; - previewWrapper = new global$8('span', 1); - previewWrapper.attr({ - 'contentEditable': 'false', - 'style': node.attr('style'), - 'data-mce-object': name, - 'class': 'mce-preview-object mce-object-' + name - }); - retainAttributesAndInnerHtml(editor, node, previewWrapper); - previewNode = new global$8(name, 1); - previewNode.attr({ - src: node.attr('src'), - allowfullscreen: node.attr('allowfullscreen'), - style: node.attr('style'), - class: node.attr('class'), - width: node.attr('width'), - height: node.attr('height'), - frameborder: '0' - }); - shimNode = new global$8('span', 1); - shimNode.attr('class', 'mce-shim'); - previewWrapper.append(previewNode); - previewWrapper.append(shimNode); - return previewWrapper; - }; - var retainAttributesAndInnerHtml = function (editor, sourceNode, targetNode) { - var attrName; - var attrValue; - var attribs; - var ai; - var innerHtml; - attribs = sourceNode.attributes; - ai = attribs.length; - while (ai--) { - attrName = attribs[ai].name; - attrValue = attribs[ai].value; - if (attrName !== 'width' && attrName !== 'height' && attrName !== 'style') { - if (attrName === 'data' || attrName === 'src') { - attrValue = editor.convertURL(attrValue, attrName); - } - targetNode.attr('data-mce-p-' + attrName, attrValue); - } - } - innerHtml = sourceNode.firstChild && sourceNode.firstChild.value; - if (innerHtml) { - targetNode.attr('data-mce-html', escape(Sanitize.sanitize(editor, innerHtml))); - targetNode.firstChild = null; - } - }; - var isWithinEphoxEmbed = function (node) { - while (node = node.parent) { - if (node.attr('data-ephox-embed-iri')) { - return true; - } - } - return false; - }; - var placeHolderConverter = function (editor) { - return function (nodes) { - var i = nodes.length; - var node; - var videoScript; - while (i--) { - node = nodes[i]; - if (!node.parent) { - continue; - } - if (node.parent.attr('data-mce-object')) { - continue; - } - if (node.name === 'script') { - videoScript = VideoScript.getVideoScriptMatch(Settings.getScripts(editor), node.attr('src')); - if (!videoScript) { - continue; - } - } - if (videoScript) { - if (videoScript.width) { - node.attr('width', videoScript.width.toString()); - } - if (videoScript.height) { - node.attr('height', videoScript.height.toString()); - } - } - if (node.name === 'iframe' && Settings.hasLiveEmbeds(editor) && global$1.ceFalse) { - if (!isWithinEphoxEmbed(node)) { - node.replace(createPreviewIframeNode(editor, node)); - } - } else { - if (!isWithinEphoxEmbed(node)) { - node.replace(createPlaceholderNode(editor, node)); - } - } - } - }; - }; - var Nodes = { - createPreviewIframeNode: createPreviewIframeNode, - createPlaceholderNode: createPlaceholderNode, - placeHolderConverter: placeHolderConverter - }; - - var setup = function (editor) { - editor.on('preInit', function () { - var specialElements = editor.schema.getSpecialElements(); - global$2.each('video audio iframe object'.split(' '), function (name) { - specialElements[name] = new RegExp(']*>', 'gi'); - }); - var boolAttrs = editor.schema.getBoolAttrs(); - global$2.each('webkitallowfullscreen mozallowfullscreen allowfullscreen'.split(' '), function (name) { - boolAttrs[name] = {}; - }); - editor.parser.addNodeFilter('iframe,video,audio,object,embed,script', Nodes.placeHolderConverter(editor)); - editor.serializer.addAttributeFilter('data-mce-object', function (nodes, name) { - var i = nodes.length; - var node; - var realElm; - var ai; - var attribs; - var innerHtml; - var innerNode; - var realElmName; - var className; - while (i--) { - node = nodes[i]; - if (!node.parent) { - continue; - } - realElmName = node.attr(name); - realElm = new global$8(realElmName, 1); - if (realElmName !== 'audio' && realElmName !== 'script') { - className = node.attr('class'); - if (className && className.indexOf('mce-preview-object') !== -1) { - realElm.attr({ - width: node.firstChild.attr('width'), - height: node.firstChild.attr('height') - }); - } else { - realElm.attr({ - width: node.attr('width'), - height: node.attr('height') - }); - } - } - realElm.attr({ style: node.attr('style') }); - attribs = node.attributes; - ai = attribs.length; - while (ai--) { - var attrName = attribs[ai].name; - if (attrName.indexOf('data-mce-p-') === 0) { - realElm.attr(attrName.substr(11), attribs[ai].value); - } - } - if (realElmName === 'script') { - realElm.attr('type', 'text/javascript'); - } - innerHtml = node.attr('data-mce-html'); - if (innerHtml) { - innerNode = new global$8('#text', 3); - innerNode.raw = true; - innerNode.value = Sanitize.sanitize(editor, unescape(innerHtml)); - realElm.append(innerNode); - } - node.replace(realElm); - } - }); - }); - editor.on('setContent', function () { - editor.$('span.mce-preview-object').each(function (index, elm) { - var $elm = editor.$(elm); - if ($elm.find('span.mce-shim', elm).length === 0) { - $elm.append(''); - } - }); - }); - }; - var FilterContent = { setup: setup }; - - var setup$1 = function (editor) { - editor.on('ResolveName', function (e) { - var name; - if (e.target.nodeType === 1 && (name = e.target.getAttribute('data-mce-object'))) { - e.name = name; - } - }); - }; - var ResolveName = { setup: setup$1 }; - - var setup$2 = function (editor) { - editor.on('click keyup', function () { - var selectedNode = editor.selection.getNode(); - if (selectedNode && editor.dom.hasClass(selectedNode, 'mce-preview-object')) { - if (editor.dom.getAttrib(selectedNode, 'data-mce-selected')) { - selectedNode.setAttribute('data-mce-selected', '2'); - } - } - }); - editor.on('ObjectSelected', function (e) { - var objectType = e.target.getAttribute('data-mce-object'); - if (objectType === 'audio' || objectType === 'script') { - e.preventDefault(); - } - }); - editor.on('objectResized', function (e) { - var target = e.target; - var html; - if (target.getAttribute('data-mce-object')) { - html = target.getAttribute('data-mce-html'); - if (html) { - html = unescape(html); - target.setAttribute('data-mce-html', escape(UpdateHtml.updateHtml(html, { - width: e.width, - height: e.height - }))); - } - } - }); - }; - var Selection = { setup: setup$2 }; - - var register$1 = function (editor) { - editor.addButton('media', { - tooltip: 'Insert/edit media', - cmd: 'mceMedia', - stateSelector: [ - 'img[data-mce-object]', - 'span[data-mce-object]', - 'div[data-ephox-embed-iri]' - ] - }); - editor.addMenuItem('media', { - icon: 'media', - text: 'Media', - cmd: 'mceMedia', - context: 'insert', - prependToContext: true - }); - }; - var Buttons = { register: register$1 }; - - global.add('media', function (editor) { - Commands.register(editor); - Buttons.register(editor); - ResolveName.setup(editor); - FilterContent.setup(editor); - Selection.setup(editor); - return Api.get(editor); - }); - function Plugin () { - } - - return Plugin; - -}()); -})(); diff --git a/build/wp-includes/js/tinymce/plugins/media/plugin.min.js b/build/wp-includes/js/tinymce/plugins/media/plugin.min.js deleted file mode 100644 index e78d8efc11..0000000000 --- a/build/wp-includes/js/tinymce/plugins/media/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e,t,r,n,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.Env"),v=tinymce.util.Tools.resolve("tinymce.util.Tools"),w=function(e){return e.getParam("media_scripts")},b=function(e){return e.getParam("audio_template_callback")},y=function(e){return e.getParam("video_template_callback")},a=function(e){return e.getParam("media_live_embeds",!0)},u=function(e){return e.getParam("media_filter_html",!0)},s=function(e){return e.getParam("media_url_resolver")},m=function(e){return e.getParam("media_alt_source",!0)},d=function(e){return e.getParam("media_poster",!0)},h=function(e){return e.getParam("media_dimensions",!0)},f=function(e){var t=e,r=function(){return t};return{get:r,set:function(e){t=e},clone:function(){return f(r())}}},c=function(){},l=function(e){return function(){return e}},p=l(!1),g=l(!0),x=function(){return O},O=(e=function(e){return e.isNone()},n={fold:function(e,t){return e()},is:p,isSome:p,isNone:g,getOr:r=function(e){return e},getOrThunk:t=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:l(null),getOrUndefined:l(undefined),or:r,orThunk:t,map:x,each:c,bind:x,exists:p,forall:g,filter:x,equals:e,equals_:e,toArray:function(){return[]},toString:l("none()")},Object.freeze&&Object.freeze(n),n),j=function(r){var e=l(r),t=function(){return i},n=function(e){return e(r)},i={fold:function(e,t){return t(r)},is:function(e){return r===e},isSome:g,isNone:p,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){return j(e(r))},each:function(e){e(r)},bind:n,exists:n,forall:n,filter:function(e){return e(r)?i:O},toArray:function(){return[r]},toString:function(){return"some("+r+")"},equals:function(e){return e.is(r)},equals_:function(e,t){return e.fold(p,function(e){return t(r,e)})}};return i},_=x,S=function(e){return null===e||e===undefined?O:j(e)},k=Object.hasOwnProperty,N=function(e,t){return M(e,t)?S(e[t]):_()},M=function(e,t){return k.call(e,t)},T=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),z=tinymce.util.Tools.resolve("tinymce.html.SaxParser"),A=function(e,t){if(e)for(var r=0;r"):"application/x-shockwave-flash"===n.source1mime?(d='',m.poster&&(d+=''),d+=""):-1!==n.source1mime.indexOf("audio")?(s=n,(l=p)?l(s):'"):"script"===n.type?'