123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368 |
- /*------------------------------------------------------------------------------
- 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: 6px 8px;
- line-height: 1.14285714;
- }
- .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-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) {
- .wp_attachment_details label[for="content"] {
- font-size: 14px;
- line-height: 1.5;
- }
- .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%;
- }
- }
|