Нет описания

duplicate-post.css 3.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #wp-admin-bar-root-default>#wp-admin-bar-duplicate-post>.ab-item .ab-icon::before,
  2. #wp-admin-bar-root-default>#wp-admin-bar-new-draft>.ab-item .ab-icon::before,
  3. #wp-admin-bar-root-default>#wp-admin-bar-rewrite-republish>.ab-item .ab-icon::before{
  4. content:
  5. url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M18.9 4.3c0.6 0 1.1 0.5 1.1 1.1v13.6c0 0.6-0.5 1.1-1.1 1.1h-10.7c-0.6 0-1.1-0.5-1.1-1.1v-3.2h-6.1c-0.6 0-1.1-0.5-1.1-1.1v-7.5c0-0.6 0.3-1.4 0.8-1.8l4.6-4.6c0.4-0.4 1.2-0.8 1.8-0.8h4.6c0.6 0 1.1 0.5 1.1 1.1v3.7c0.4-0.3 1-0.4 1.4-0.4h4.6zM12.9 6.7l-3.3 3.3h3.3v-3.3zM5.7 2.4l-3.3 3.3h3.3v-3.3zM7.9 9.6l3.5-3.5v-4.6h-4.3v4.6c0 0.6-0.5 1.1-1.1 1.1h-4.6v7.1h5.7v-2.9c0-0.6 0.3-1.4 0.8-1.8zM18.6 18.6v-12.9h-4.3v4.6c0 0.6-0.5 1.1-1.1 1.1h-4.6v7.1h10z' fill='rgba(240,245,250,.6)'/></svg>");
  6. top: 2px;
  7. }
  8. #wp-admin-bar-root-default>#wp-admin-bar-duplicate-post:hover>.ab-item .ab-icon::before,
  9. #wp-admin-bar-root-default>#wp-admin-bar-new-draft:hover>.ab-item .ab-icon::before,
  10. #wp-admin-bar-root-default>#wp-admin-bar-rewrite-republish:hover>.ab-item .ab-icon::before,
  11. #wp-admin-bar-root-default>#wp-admin-bar-duplicate-post:focus>.ab-item .ab-icon::before,
  12. #wp-admin-bar-root-default>#wp-admin-bar-new-draft:focus>.ab-item .ab-icon::before,
  13. #wp-admin-bar-root-default>#wp-admin-bar-rewrite-republish:focus>.ab-item .ab-icon::before{
  14. content:
  15. url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M18.9 4.3c0.6 0 1.1 0.5 1.1 1.1v13.6c0 0.6-0.5 1.1-1.1 1.1h-10.7c-0.6 0-1.1-0.5-1.1-1.1v-3.2h-6.1c-0.6 0-1.1-0.5-1.1-1.1v-7.5c0-0.6 0.3-1.4 0.8-1.8l4.6-4.6c0.4-0.4 1.2-0.8 1.8-0.8h4.6c0.6 0 1.1 0.5 1.1 1.1v3.7c0.4-0.3 1-0.4 1.4-0.4h4.6zM12.9 6.7l-3.3 3.3h3.3v-3.3zM5.7 2.4l-3.3 3.3h3.3v-3.3zM7.9 9.6l3.5-3.5v-4.6h-4.3v4.6c0 0.6-0.5 1.1-1.1 1.1h-4.6v7.1h5.7v-2.9c0-0.6 0.3-1.4 0.8-1.8zM18.6 18.6v-12.9h-4.3v4.6c0 0.6-0.5 1.1-1.1 1.1h-4.6v7.1h10z' fill='rgba(0, 185, 235, 1)'/></svg>");
  16. }
  17. /* Copy links in the classic editor. */
  18. #duplicate-action {
  19. margin-bottom: 12px;
  20. }
  21. #rewrite-republish-action {
  22. margin-bottom: -2px;
  23. }
  24. #rewrite-republish-action + #delete-action {
  25. margin-top: 8px;
  26. }
  27. /* Copy links in the block editor. */
  28. .components-button.dp-editor-post-copy-to-draft,
  29. .components-button.dp-editor-post-rewrite-republish {
  30. margin-left: -6px;
  31. text-decoration: underline;
  32. }
  33. #check-changes-action {
  34. padding: 6px 10px 8px;
  35. }
  36. @media screen and (max-width: 782px){
  37. #wp-admin-bar-root-default>#wp-admin-bar-duplicate-post,
  38. #wp-admin-bar-root-default>#wp-admin-bar-new-draft,
  39. #wp-admin-bar-root-default>#wp-admin-bar-rewrite-republish {
  40. display: block;
  41. position: static;
  42. }
  43. #wp-admin-bar-root-default>#wp-admin-bar-duplicate-post>.ab-item,
  44. #wp-admin-bar-root-default>#wp-admin-bar-new-draft>.ab-item,
  45. #wp-admin-bar-root-default>#wp-admin-bar-rewrite-republish>.ab-item {
  46. text-indent: 100%;
  47. white-space: nowrap;
  48. overflow: hidden;
  49. width: 52px;
  50. padding: 0;
  51. color: #999;
  52. position: static;
  53. }
  54. #wp-admin-bar-root-default>#wp-admin-bar-duplicate-post>.ab-item .ab-icon::before,
  55. #wp-admin-bar-root-default>#wp-admin-bar-new-draft>.ab-item .ab-icon::before,
  56. #wp-admin-bar-root-default>#wp-admin-bar-rewrite-republish>.ab-item .ab-icon::before {
  57. display: block;
  58. text-indent: 0;
  59. font: 400 32px/1 dashicons;
  60. speak: none;
  61. top: 0px;
  62. width: 52px;
  63. text-align: center;
  64. -webkit-font-smoothing: antialiased;
  65. -moz-osx-font-smoothing: grayscale;
  66. }
  67. #rewrite-republish-action + #delete-action {
  68. margin-top: 0;
  69. }
  70. }
  71. fieldset#duplicate_post_quick_edit_fieldset{
  72. clear: both;
  73. }
  74. fieldset#duplicate_post_quick_edit_fieldset label{
  75. display: inline;
  76. margin: 0;
  77. vertical-align: unset;
  78. }
  79. fieldset#duplicate_post_quick_edit_fieldset a{
  80. text-decoration: underline;
  81. }