wp-embed-template.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. html, body {
  2. padding: 0;
  3. margin: 0;
  4. }
  5. body {
  6. font-family: sans-serif;
  7. }
  8. /* Text meant only for screen readers */
  9. .screen-reader-text {
  10. border: 0;
  11. clip: rect(1px, 1px, 1px, 1px);
  12. -webkit-clip-path: inset(50%);
  13. clip-path: inset(50%);
  14. height: 1px;
  15. margin: -1px;
  16. overflow: hidden;
  17. padding: 0;
  18. position: absolute;
  19. width: 1px;
  20. word-wrap: normal !important;
  21. }
  22. /* Dashicons */
  23. .dashicons {
  24. display: inline-block;
  25. width: 20px;
  26. height: 20px;
  27. background-color: transparent;
  28. background-repeat: no-repeat;
  29. background-size: 20px;
  30. background-position: center;
  31. transition: background .1s ease-in;
  32. position: relative;
  33. top: 5px;
  34. }
  35. .dashicons-no {
  36. background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M15.55%2013.7l-2.19%202.06-3.42-3.65-3.64%203.43-2.06-2.18%203.64-3.43-3.42-3.64%202.18-2.06%203.43%203.64%203.64-3.42%202.05%202.18-3.64%203.43z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E");
  37. }
  38. .dashicons-admin-comments {
  39. background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M5%202h9q.82%200%201.41.59T16%204v7q0%20.82-.59%201.41T14%2013h-2l-5%205v-5H5q-.82%200-1.41-.59T3%2011V4q0-.82.59-1.41T5%202z%27%20fill%3D%27%2382878c%27%2F%3E%3C%2Fsvg%3E");
  40. }
  41. .wp-embed-comments a:hover .dashicons-admin-comments {
  42. background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M5%202h9q.82%200%201.41.59T16%204v7q0%20.82-.59%201.41T14%2013h-2l-5%205v-5H5q-.82%200-1.41-.59T3%2011V4q0-.82.59-1.41T5%202z%27%20fill%3D%27%230073aa%27%2F%3E%3C%2Fsvg%3E");
  43. }
  44. .dashicons-share {
  45. background-image: url("data:image/svg+xml;charset=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.5%2012q1.24%200%202.12.88T17.5%2015t-.88%202.12-2.12.88-2.12-.88T11.5%2015q0-.34.09-.69l-4.38-2.3Q6.32%2013%205%2013q-1.24%200-2.12-.88T2%2010t.88-2.12T5%207q1.3%200%202.21.99l4.38-2.3q-.09-.35-.09-.69%200-1.24.88-2.12T14.5%202t2.12.88T17.5%205t-.88%202.12T14.5%208q-1.3%200-2.21-.99l-4.38%202.3Q8%209.66%208%2010t-.09.69l4.38%202.3q.89-.99%202.21-.99z%27%20fill%3D%27%2382878c%27%2F%3E%3C%2Fsvg%3E");
  46. display: none;
  47. }
  48. .js .dashicons-share {
  49. display: inline-block;
  50. }
  51. .wp-embed-share-dialog-open:hover .dashicons-share {
  52. background-image: url("data:image/svg+xml;charset=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.5%2012q1.24%200%202.12.88T17.5%2015t-.88%202.12-2.12.88-2.12-.88T11.5%2015q0-.34.09-.69l-4.38-2.3Q6.32%2013%205%2013q-1.24%200-2.12-.88T2%2010t.88-2.12T5%207q1.3%200%202.21.99l4.38-2.3q-.09-.35-.09-.69%200-1.24.88-2.12T14.5%202t2.12.88T17.5%205t-.88%202.12T14.5%208q-1.3%200-2.21-.99l-4.38%202.3Q8%209.66%208%2010t-.09.69l4.38%202.3q.89-.99%202.21-.99z%27%20fill%3D%27%230073aa%27%2F%3E%3C%2Fsvg%3E");
  53. }
  54. .wp-embed {
  55. padding: 25px;
  56. font-size: 14px;
  57. font-weight: 400;
  58. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  59. line-height: 1.5;
  60. color: #82878c;
  61. background: #fff;
  62. border: 1px solid #e5e5e5;
  63. box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  64. /* Clearfix */
  65. overflow: auto;
  66. zoom: 1;
  67. }
  68. .wp-embed a {
  69. color: #82878c;
  70. text-decoration: none;
  71. }
  72. .wp-embed a:hover {
  73. text-decoration: underline;
  74. }
  75. .wp-embed-featured-image {
  76. margin-bottom: 20px;
  77. }
  78. .wp-embed-featured-image img {
  79. width: 100%;
  80. height: auto;
  81. border: none;
  82. }
  83. .wp-embed-featured-image.square {
  84. float: left;
  85. max-width: 160px;
  86. margin-right: 20px;
  87. }
  88. .wp-embed p {
  89. margin: 0;
  90. }
  91. p.wp-embed-heading {
  92. margin: 0 0 15px;
  93. font-weight: 600;
  94. font-size: 22px;
  95. line-height: 1.3;
  96. }
  97. .wp-embed-heading a {
  98. color: #32373c;
  99. }
  100. .wp-embed .wp-embed-more {
  101. color: #b4b9be;
  102. }
  103. .wp-embed-footer {
  104. display: table;
  105. width: 100%;
  106. margin-top: 30px;
  107. }
  108. .wp-embed-site-icon {
  109. position: absolute;
  110. top: 50%;
  111. left: 0;
  112. -webkit-transform: translateY(-50%);
  113. transform: translateY(-50%);
  114. height: 25px;
  115. width: 25px;
  116. border: 0;
  117. }
  118. .wp-embed-site-title {
  119. font-weight: 600;
  120. line-height: 25px;
  121. }
  122. .wp-embed-site-title a {
  123. position: relative;
  124. display: inline-block;
  125. padding-left: 35px;
  126. }
  127. .wp-embed-site-title,
  128. .wp-embed-meta {
  129. display: table-cell;
  130. }
  131. .wp-embed-meta {
  132. text-align: right;
  133. white-space: nowrap;
  134. vertical-align: middle;
  135. }
  136. .wp-embed-comments,
  137. .wp-embed-share {
  138. display: inline;
  139. }
  140. .wp-embed-meta a:hover {
  141. text-decoration: none;
  142. color: #0073aa;
  143. }
  144. .wp-embed-comments a {
  145. line-height: 25px;
  146. display: inline-block;
  147. }
  148. .wp-embed-comments + .wp-embed-share {
  149. margin-left: 10px;
  150. }
  151. .wp-embed-share-dialog {
  152. position: absolute;
  153. top: 0;
  154. left: 0;
  155. right: 0;
  156. bottom: 0;
  157. background-color: #222;
  158. background-color: rgba(10, 10, 10, 0.9);
  159. color: #fff;
  160. opacity: 1;
  161. transition: opacity .25s ease-in-out;
  162. }
  163. .wp-embed-share-dialog.hidden {
  164. opacity: 0;
  165. visibility: hidden;
  166. }
  167. .wp-embed-share-dialog-open,
  168. .wp-embed-share-dialog-close {
  169. margin: -8px 0 0;
  170. padding: 0;
  171. background: transparent;
  172. border: none;
  173. cursor: pointer;
  174. outline: none;
  175. }
  176. .wp-embed-share-dialog-open .dashicons,
  177. .wp-embed-share-dialog-close .dashicons {
  178. padding: 4px;
  179. }
  180. .wp-embed-share-dialog-open .dashicons {
  181. top: 8px;
  182. }
  183. .wp-embed-share-dialog-open:focus .dashicons,
  184. .wp-embed-share-dialog-close:focus .dashicons {
  185. box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
  186. border-radius: 100%;
  187. }
  188. .wp-embed-share-dialog-close {
  189. position: absolute;
  190. top: 20px;
  191. right: 20px;
  192. font-size: 22px;
  193. }
  194. .wp-embed-share-dialog-close:hover {
  195. text-decoration: none;
  196. }
  197. .wp-embed-share-dialog-close .dashicons {
  198. height: 24px;
  199. width: 24px;
  200. background-size: 24px;
  201. }
  202. .wp-embed-share-dialog-content {
  203. height: 100%;
  204. -webkit-transform-style: preserve-3d;
  205. transform-style: preserve-3d;
  206. overflow: hidden;
  207. }
  208. .wp-embed-share-dialog-text {
  209. margin-top: 25px;
  210. padding: 20px;
  211. }
  212. .wp-embed-share-tabs {
  213. margin: 0 0 20px;
  214. padding: 0;
  215. list-style: none;
  216. }
  217. .wp-embed-share-tab-button {
  218. display: inline-block;
  219. }
  220. .wp-embed-share-tab-button button {
  221. margin: 0;
  222. padding: 0;
  223. border: none;
  224. background: transparent;
  225. font-size: 16px;
  226. line-height: 1.3;
  227. color: #aaa;
  228. cursor: pointer;
  229. transition: color .1s ease-in;
  230. }
  231. .wp-embed-share-tab-button [aria-selected="true"] {
  232. color: #fff;
  233. }
  234. .wp-embed-share-tab-button button:hover {
  235. color: #fff;
  236. }
  237. .wp-embed-share-tab-button + .wp-embed-share-tab-button {
  238. margin: 0 0 0 10px;
  239. padding: 0 0 0 11px;
  240. border-left: 1px solid #aaa;
  241. }
  242. .wp-embed-share-tab[aria-hidden="true"] {
  243. display: none;
  244. }
  245. p.wp-embed-share-description {
  246. margin: 0;
  247. font-size: 14px;
  248. line-height: 1;
  249. font-style: italic;
  250. color: #aaa;
  251. }
  252. .wp-embed-share-input {
  253. box-sizing: border-box;
  254. width: 100%;
  255. border: none;
  256. height: 28px;
  257. margin: 0 0 10px 0;
  258. padding: 0 5px;
  259. font-size: 14px;
  260. font-weight: 400;
  261. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  262. line-height: 1.5;
  263. resize: none;
  264. cursor: text;
  265. }
  266. textarea.wp-embed-share-input {
  267. height: 72px;
  268. }
  269. html[dir="rtl"] .wp-embed-featured-image.square {
  270. float: right;
  271. margin-right: 0;
  272. margin-left: 20px;
  273. }
  274. html[dir="rtl"] .wp-embed-site-title a {
  275. padding-left: 0;
  276. padding-right: 35px;
  277. }
  278. html[dir="rtl"] .wp-embed-site-icon {
  279. margin-right: 0;
  280. margin-left: 10px;
  281. left: auto;
  282. right: 0;
  283. }
  284. html[dir="rtl"] .wp-embed-meta {
  285. text-align: left;
  286. }
  287. html[dir="rtl"] .wp-embed-footer {
  288. }
  289. html[dir="rtl"] .wp-embed-share {
  290. margin-left: 0;
  291. margin-right: 10px;
  292. }
  293. html[dir="rtl"] .wp-embed-share-dialog-close {
  294. right: auto;
  295. left: 20px;
  296. }
  297. html[dir="rtl"] .wp-embed-share-tab-button + .wp-embed-share-tab-button {
  298. margin: 0 10px 0 0;
  299. padding: 0 11px 0 0;
  300. border-left: none;
  301. border-right: 1px solid #aaa;
  302. }