wp-embed-template.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  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: #8c8f94;
  61. background: #fff;
  62. border: 1px solid #dcdcde;
  63. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  64. /* Clearfix */
  65. overflow: auto;
  66. zoom: 1;
  67. }
  68. .wp-embed a {
  69. color: #8c8f94;
  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: #2c3338;
  99. }
  100. .wp-embed .wp-embed-more {
  101. color: #c3c4c7;
  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. transform: translateY(-50%);
  113. height: 25px;
  114. width: 25px;
  115. border: 0;
  116. }
  117. .wp-embed-site-title {
  118. font-weight: 600;
  119. line-height: 1.78571428;
  120. }
  121. .wp-embed-site-title a {
  122. position: relative;
  123. display: inline-block;
  124. padding-left: 35px;
  125. }
  126. .wp-embed-site-title,
  127. .wp-embed-meta {
  128. display: table-cell;
  129. }
  130. .wp-embed-meta {
  131. text-align: right;
  132. white-space: nowrap;
  133. vertical-align: middle;
  134. }
  135. .wp-embed-comments,
  136. .wp-embed-share {
  137. display: inline;
  138. }
  139. .wp-embed-meta a:hover {
  140. text-decoration: none;
  141. color: #2271b1;
  142. }
  143. .wp-embed-comments a {
  144. line-height: 1.78571428;
  145. display: inline-block;
  146. }
  147. .wp-embed-comments + .wp-embed-share {
  148. margin-left: 10px;
  149. }
  150. .wp-embed-share-dialog {
  151. position: absolute;
  152. top: 0;
  153. left: 0;
  154. right: 0;
  155. bottom: 0;
  156. background-color: #1d2327;
  157. background-color: rgba(0, 0, 0, 0.9);
  158. color: #fff;
  159. opacity: 1;
  160. transition: opacity .25s ease-in-out;
  161. }
  162. .wp-embed-share-dialog.hidden {
  163. opacity: 0;
  164. visibility: hidden;
  165. }
  166. .wp-embed-share-dialog-open,
  167. .wp-embed-share-dialog-close {
  168. margin: -8px 0 0;
  169. padding: 0;
  170. background: transparent;
  171. border: none;
  172. cursor: pointer;
  173. outline: none;
  174. }
  175. .wp-embed-share-dialog-open .dashicons,
  176. .wp-embed-share-dialog-close .dashicons {
  177. padding: 4px;
  178. }
  179. .wp-embed-share-dialog-open .dashicons {
  180. top: 8px;
  181. }
  182. .wp-embed-share-dialog-open:focus .dashicons,
  183. .wp-embed-share-dialog-close:focus .dashicons {
  184. box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8);
  185. border-radius: 100%;
  186. }
  187. .wp-embed-share-dialog-close {
  188. position: absolute;
  189. top: 20px;
  190. right: 20px;
  191. font-size: 22px;
  192. }
  193. .wp-embed-share-dialog-close:hover {
  194. text-decoration: none;
  195. }
  196. .wp-embed-share-dialog-close .dashicons {
  197. height: 24px;
  198. width: 24px;
  199. background-size: 24px;
  200. }
  201. .wp-embed-share-dialog-content {
  202. height: 100%;
  203. transform-style: preserve-3d;
  204. overflow: hidden;
  205. }
  206. .wp-embed-share-dialog-text {
  207. margin-top: 25px;
  208. padding: 20px;
  209. }
  210. .wp-embed-share-tabs {
  211. margin: 0 0 20px;
  212. padding: 0;
  213. list-style: none;
  214. }
  215. .wp-embed-share-tab-button {
  216. display: inline-block;
  217. }
  218. .wp-embed-share-tab-button button {
  219. margin: 0;
  220. padding: 0;
  221. border: none;
  222. background: transparent;
  223. font-size: 16px;
  224. line-height: 1.3;
  225. color: #a7aaad;
  226. cursor: pointer;
  227. transition: color .1s ease-in;
  228. }
  229. .wp-embed-share-tab-button [aria-selected="true"] {
  230. color: #fff;
  231. }
  232. .wp-embed-share-tab-button button:hover {
  233. color: #fff;
  234. }
  235. .wp-embed-share-tab-button + .wp-embed-share-tab-button {
  236. margin: 0 0 0 10px;
  237. padding: 0 0 0 11px;
  238. border-left: 1px solid #a7aaad;
  239. }
  240. .wp-embed-share-tab[aria-hidden="true"] {
  241. display: none;
  242. }
  243. p.wp-embed-share-description {
  244. margin: 0;
  245. font-size: 14px;
  246. line-height: 1;
  247. font-style: italic;
  248. color: #a7aaad;
  249. }
  250. .wp-embed-share-input {
  251. box-sizing: border-box;
  252. width: 100%;
  253. border: none;
  254. height: 28px;
  255. margin: 0 0 10px;
  256. padding: 0 5px;
  257. font-size: 14px;
  258. font-weight: 400;
  259. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  260. line-height: 1.5;
  261. resize: none;
  262. cursor: text;
  263. }
  264. textarea.wp-embed-share-input {
  265. height: 72px;
  266. }
  267. html[dir="rtl"] .wp-embed-featured-image.square {
  268. float: right;
  269. margin-right: 0;
  270. margin-left: 20px;
  271. }
  272. html[dir="rtl"] .wp-embed-site-title a {
  273. padding-left: 0;
  274. padding-right: 35px;
  275. }
  276. html[dir="rtl"] .wp-embed-site-icon {
  277. margin-right: 0;
  278. margin-left: 10px;
  279. left: auto;
  280. right: 0;
  281. }
  282. html[dir="rtl"] .wp-embed-meta {
  283. text-align: left;
  284. }
  285. html[dir="rtl"] .wp-embed-footer {
  286. }
  287. html[dir="rtl"] .wp-embed-share {
  288. margin-left: 0;
  289. margin-right: 10px;
  290. }
  291. html[dir="rtl"] .wp-embed-share-dialog-close {
  292. right: auto;
  293. left: 20px;
  294. }
  295. html[dir="rtl"] .wp-embed-share-tab-button + .wp-embed-share-tab-button {
  296. margin: 0 10px 0 0;
  297. padding: 0 11px 0 0;
  298. border-left: none;
  299. border-right: 1px solid #a7aaad;
  300. }