editor.css 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879
  1. /*------------------------------------------------------------------------------
  2. TinyMCE and Quicklinks toolbars
  3. ------------------------------------------------------------------------------*/
  4. /* TinyMCE widgets/containers */
  5. .mce-tinymce {
  6. box-shadow: none;
  7. }
  8. .mce-container,
  9. .mce-container *,
  10. .mce-widget,
  11. .mce-widget * {
  12. color: inherit;
  13. font-family: inherit;
  14. }
  15. .mce-container .mce-monospace,
  16. .mce-widget .mce-monospace {
  17. font-family: Consolas, Monaco, monospace;
  18. font-size: 13px;
  19. line-height: 150%;
  20. }
  21. /* TinyMCE windows */
  22. #mce-modal-block,
  23. #mce-modal-block.mce-fade {
  24. opacity: 0.7;
  25. filter: alpha(opacity=70);
  26. transition: none;
  27. background: #000;
  28. }
  29. .mce-window {
  30. border-radius: 0;
  31. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  32. -webkit-font-smoothing: subpixel-antialiased;
  33. transition: none;
  34. }
  35. .mce-window .mce-container-body.mce-abs-layout {
  36. overflow: visible;
  37. }
  38. .mce-window .mce-window-head {
  39. background: #fcfcfc;
  40. border-bottom: 1px solid #ddd;
  41. padding: 0;
  42. min-height: 36px;
  43. }
  44. .mce-window .mce-window-head .mce-title {
  45. color: #444;
  46. font-size: 18px;
  47. font-weight: 600;
  48. line-height: 36px;
  49. margin: 0;
  50. padding: 0 36px 0 16px;
  51. }
  52. .mce-window .mce-window-head .mce-close,
  53. .mce-window-head .mce-close .mce-i-remove {
  54. color: transparent;
  55. top: 0;
  56. right: 0;
  57. width: 36px;
  58. height: 36px;
  59. padding: 0;
  60. line-height: 36px;
  61. text-align: center;
  62. }
  63. .mce-window-head .mce-close .mce-i-remove:before {
  64. font: normal 20px/36px dashicons;
  65. text-align: center;
  66. color: #666;
  67. width: 36px;
  68. height: 36px;
  69. display: block;
  70. }
  71. .mce-window-head .mce-close:hover .mce-i-remove:before,
  72. .mce-window-head .mce-close:focus .mce-i-remove:before {
  73. color: #00a0d2;
  74. }
  75. .mce-window-head .mce-close:focus .mce-i-remove,
  76. div.mce-tab:focus {
  77. box-shadow: 0 0 0 1px #5b9dd9,
  78. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  79. }
  80. .mce-window .mce-window-head .mce-dragh {
  81. width: calc( 100% - 36px );
  82. }
  83. .mce-window .mce-foot {
  84. border-top: 1px solid #ddd;
  85. }
  86. .mce-textbox,
  87. .mce-checkbox i.mce-i-checkbox,
  88. #wp-link .query-results {
  89. border: 1px solid #ddd;
  90. border-radius: 0;
  91. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
  92. transition: .05s all ease-in-out;
  93. }
  94. .mce-textbox:focus,
  95. .mce-textbox.mce-focus,
  96. .mce-checkbox:focus i.mce-i-checkbox,
  97. #wp-link .query-results:focus {
  98. border-color: #5b9dd9;
  99. box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
  100. }
  101. .mce-window .mce-wp-help {
  102. height: 360px;
  103. width: 460px;
  104. overflow: auto;
  105. }
  106. .mce-window .mce-wp-help * {
  107. box-sizing: border-box;
  108. }
  109. .mce-window .mce-wp-help > .mce-container-body {
  110. width: auto !important;
  111. }
  112. .mce-window .wp-editor-help {
  113. padding: 10px 10px 0 20px;
  114. }
  115. .mce-window .wp-editor-help h2,
  116. .mce-window .wp-editor-help p {
  117. margin: 8px 0;
  118. white-space: normal;
  119. font-size: 14px;
  120. font-weight: 400;
  121. }
  122. .mce-window .wp-editor-help table {
  123. width: 100%;
  124. margin-bottom: 20px;
  125. }
  126. .mce-window .wp-editor-help table.wp-help-single {
  127. margin: 0 8px 20px;
  128. }
  129. .mce-window .wp-editor-help table.fixed {
  130. table-layout: fixed;
  131. }
  132. .mce-window .wp-editor-help table.fixed th:nth-child(odd),
  133. .mce-window .wp-editor-help table.fixed td:nth-child(odd) {
  134. width: 12%;
  135. }
  136. .mce-window .wp-editor-help table.fixed th:nth-child(even),
  137. .mce-window .wp-editor-help table.fixed td:nth-child(even) {
  138. width: 38%;
  139. }
  140. .mce-window .wp-editor-help table.fixed th:nth-child(odd) {
  141. padding: 5px 0 0;
  142. }
  143. .mce-window .wp-editor-help td,
  144. .mce-window .wp-editor-help th {
  145. font-size: 13px;
  146. padding: 5px;
  147. vertical-align: middle;
  148. word-wrap: break-word;
  149. white-space: normal;
  150. }
  151. .mce-window .wp-editor-help th {
  152. font-weight: 600;
  153. padding-bottom: 0;
  154. }
  155. .mce-window .wp-editor-help kbd {
  156. font-family: monospace;
  157. padding: 2px 7px 3px;
  158. font-weight: 600;
  159. margin: 0;
  160. background: #eaeaea;
  161. background: rgba(0, 0, 0, 0.08);
  162. }
  163. .mce-window .wp-help-th-center td:nth-child(odd),
  164. .mce-window .wp-help-th-center th:nth-child(odd) {
  165. text-align: center;
  166. }
  167. /* TinyMCE menus */
  168. .mce-menu,
  169. .mce-floatpanel.mce-popover {
  170. border-color: rgba(0, 0, 0, 0.15);
  171. border-radius: 0;
  172. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  173. }
  174. .mce-menu,
  175. .mce-floatpanel.mce-popover.mce-bottom {
  176. margin-top: 2px;
  177. }
  178. .mce-floatpanel .mce-arrow {
  179. display: none;
  180. }
  181. .mce-menu .mce-container-body {
  182. min-width: 160px;
  183. }
  184. .mce-menu-item {
  185. border: none;
  186. margin-bottom: 2px;
  187. padding: 6px 15px 6px 12px;
  188. }
  189. .mce-menu-has-icons i.mce-ico {
  190. line-height: 20px;
  191. }
  192. /* TinyMCE panel */
  193. div.mce-panel {
  194. border: 0;
  195. background: #fff;
  196. }
  197. .mce-panel.mce-menu {
  198. border: 1px solid #ddd;
  199. }
  200. div.mce-tab {
  201. line-height: 13px;
  202. }
  203. /* TinyMCE toolbars */
  204. div.mce-toolbar-grp {
  205. border-bottom: 1px solid #ddd;
  206. background: #f5f5f5;
  207. padding: 0;
  208. position: relative;
  209. }
  210. div.mce-inline-toolbar-grp {
  211. border: 1px solid #a0a5aa;
  212. border-radius: 2px;
  213. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  214. box-sizing: border-box;
  215. margin-bottom: 8px;
  216. position: absolute;
  217. -moz-user-select: none;
  218. -webkit-user-select: none;
  219. -ms-user-select: none;
  220. user-select: none;
  221. max-width: 98%;
  222. z-index: 100100; /* Same as the other TinyMCE "panels" */
  223. }
  224. div.mce-inline-toolbar-grp > div.mce-stack-layout {
  225. padding: 1px;
  226. }
  227. div.mce-inline-toolbar-grp.mce-arrow-up {
  228. margin-bottom: 0;
  229. margin-top: 8px;
  230. }
  231. div.mce-inline-toolbar-grp:before,
  232. div.mce-inline-toolbar-grp:after {
  233. position: absolute;
  234. left: 50%;
  235. display: block;
  236. width: 0;
  237. height: 0;
  238. border-style: solid;
  239. border-color: transparent;
  240. content: "";
  241. }
  242. div.mce-inline-toolbar-grp.mce-arrow-up:before {
  243. top: -9px;
  244. border-bottom-color: #a0a5aa;
  245. border-width: 0 9px 9px;
  246. margin-left: -9px;
  247. }
  248. div.mce-inline-toolbar-grp.mce-arrow-down:before {
  249. bottom: -9px;
  250. border-top-color: #a0a5aa;
  251. border-width: 9px 9px 0;
  252. margin-left: -9px;
  253. }
  254. div.mce-inline-toolbar-grp.mce-arrow-up:after {
  255. top: -8px;
  256. border-bottom-color: #f5f5f5;
  257. border-width: 0 8px 8px;
  258. margin-left: -8px;
  259. }
  260. div.mce-inline-toolbar-grp.mce-arrow-down:after {
  261. bottom: -8px;
  262. border-top-color: #f5f5f5;
  263. border-width: 8px 8px 0;
  264. margin-left: -8px;
  265. }
  266. div.mce-inline-toolbar-grp.mce-arrow-left:before,
  267. div.mce-inline-toolbar-grp.mce-arrow-left:after {
  268. margin: 0;
  269. }
  270. div.mce-inline-toolbar-grp.mce-arrow-left:before {
  271. left: 20px;
  272. }
  273. div.mce-inline-toolbar-grp.mce-arrow-left:after {
  274. left: 21px;
  275. }
  276. div.mce-inline-toolbar-grp.mce-arrow-right:before,
  277. div.mce-inline-toolbar-grp.mce-arrow-right:after {
  278. left: auto;
  279. margin: 0;
  280. }
  281. div.mce-inline-toolbar-grp.mce-arrow-right:before {
  282. right: 20px;
  283. }
  284. div.mce-inline-toolbar-grp.mce-arrow-right:after {
  285. right: 21px;
  286. }
  287. div.mce-inline-toolbar-grp.mce-arrow-full {
  288. right: 0;
  289. }
  290. div.mce-inline-toolbar-grp.mce-arrow-full > div {
  291. width: 100%;
  292. overflow-x: auto;
  293. }
  294. div.mce-toolbar-grp > div {
  295. padding: 3px;
  296. }
  297. .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first {
  298. padding-right: 32px;
  299. }
  300. .mce-toolbar .mce-btn-group {
  301. margin: 0;
  302. }
  303. /* Classic block hide/show toolbars */
  304. .block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
  305. display: none;
  306. }
  307. .block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
  308. display: block;
  309. }
  310. div.mce-statusbar {
  311. border-top: 1px solid #e5e5e5;
  312. }
  313. div.mce-path {
  314. padding: 2px 10px;
  315. margin: 0;
  316. }
  317. .mce-path,
  318. .mce-path-item,
  319. .mce-path .mce-divider {
  320. font-size: 12px;
  321. }
  322. .mce-toolbar .mce-btn,
  323. .qt-dfw {
  324. border-color: transparent;
  325. background: transparent;
  326. box-shadow: none;
  327. text-shadow: none;
  328. cursor: pointer;
  329. }
  330. .mce-btn .mce-txt {
  331. direction: inherit;
  332. text-align: inherit;
  333. }
  334. .mce-toolbar .mce-btn-group .mce-btn,
  335. .qt-dfw {
  336. border: 1px solid transparent;
  337. margin: 2px;
  338. border-radius: 2px;
  339. }
  340. .mce-toolbar .mce-btn-group .mce-btn:hover,
  341. .mce-toolbar .mce-btn-group .mce-btn:focus,
  342. .qt-dfw:hover,
  343. .qt-dfw:focus {
  344. background: #fafafa;
  345. border-color: #555d66;
  346. color: #23282d;
  347. box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, 0.08);
  348. outline: none;
  349. }
  350. .mce-toolbar .mce-btn-group .mce-btn.mce-active,
  351. .mce-toolbar .mce-btn-group .mce-btn:active,
  352. .qt-dfw.active {
  353. background: #ebebeb;
  354. border-color: #555d66;
  355. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.3);
  356. }
  357. .mce-btn.mce-active,
  358. .mce-btn.mce-active button,
  359. .mce-btn.mce-active:hover button,
  360. .mce-btn.mce-active i,
  361. .mce-btn.mce-active:hover i {
  362. color: inherit;
  363. }
  364. .mce-toolbar .mce-btn-group .mce-btn.mce-active:hover,
  365. .mce-toolbar .mce-btn-group .mce-btn.mce-active:focus {
  366. border-color: #23282d;
  367. }
  368. .mce-toolbar .mce-btn-group .mce-btn.mce-disabled:hover,
  369. .mce-toolbar .mce-btn-group .mce-btn.mce-disabled:focus {
  370. color: #a0a5aa;
  371. background: none;
  372. border-color: #ddd;
  373. text-shadow: 0 1px 0 #fff;
  374. box-shadow: none;
  375. }
  376. .mce-toolbar .mce-btn-group .mce-btn.mce-disabled:focus {
  377. border-color: #555d66;
  378. }
  379. .mce-toolbar .mce-btn-group .mce-first,
  380. .mce-toolbar .mce-btn-group .mce-last {
  381. border-color: transparent;
  382. }
  383. .mce-toolbar .mce-btn button,
  384. .qt-dfw {
  385. padding: 2px 3px;
  386. line-height: normal;
  387. }
  388. .mce-toolbar .mce-listbox button {
  389. font-size: 13px;
  390. line-height: 1.53846153;
  391. padding-left: 6px;
  392. padding-right: 20px;
  393. }
  394. .mce-toolbar .mce-btn i {
  395. text-shadow: none;
  396. }
  397. .mce-toolbar .mce-btn-group > div {
  398. white-space: normal;
  399. }
  400. .mce-toolbar .mce-colorbutton .mce-open {
  401. border-right: 0;
  402. }
  403. .mce-toolbar .mce-colorbutton .mce-preview {
  404. margin: 0;
  405. padding: 0;
  406. top: auto;
  407. bottom: 2px;
  408. left: 3px;
  409. height: 3px;
  410. width: 20px;
  411. background: #555d66;
  412. }
  413. .mce-toolbar .mce-btn-group .mce-btn.mce-primary {
  414. min-width: 0;
  415. background: #0085ba;
  416. border-color: #0073aa #006799 #006799;
  417. box-shadow: 0 1px 0 #006799;
  418. color: #fff;
  419. text-decoration: none;
  420. text-shadow: none;
  421. }
  422. /* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
  423. .mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
  424. padding: 2px 3px 1px;
  425. }
  426. .mce-toolbar .mce-btn-group .mce-btn.mce-primary .mce-ico {
  427. color: #fff;
  428. }
  429. .mce-toolbar .mce-btn-group .mce-btn.mce-primary:hover,
  430. .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus {
  431. background: #008ec2;
  432. border-color: #006799;
  433. color: #fff;
  434. }
  435. .mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus {
  436. box-shadow: 0 0 1px 1px #33b3db;
  437. }
  438. .mce-toolbar .mce-btn-group .mce-btn.mce-primary:active {
  439. background: #0073aa;
  440. border-color: #006799;
  441. box-shadow: inset 0 2px 0 #006799;
  442. }
  443. /* mce listbox */
  444. .mce-toolbar .mce-btn-group .mce-btn.mce-listbox {
  445. border-radius: 0;
  446. direction: ltr;
  447. background: #fff;
  448. border: 1px solid #ddd;
  449. box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, 0.2);
  450. }
  451. .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover,
  452. .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:focus {
  453. border-color: #b4b9be;
  454. }
  455. .mce-panel .mce-btn i.mce-caret {
  456. border-top: 6px solid #555d66;
  457. margin-left: 2px;
  458. margin-right: 2px;
  459. }
  460. .mce-listbox i.mce-caret {
  461. right: 4px;
  462. }
  463. .mce-panel .mce-btn:hover i.mce-caret,
  464. .mce-panel .mce-btn:focus i.mce-caret {
  465. border-top-color: #23282d;
  466. }
  467. .mce-panel .mce-active i.mce-caret {
  468. border-top: 0;
  469. border-bottom: 6px solid #23282d;
  470. margin-top: 7px;
  471. }
  472. .mce-listbox.mce-active i.mce-caret {
  473. margin-top: -3px;
  474. }
  475. .mce-toolbar .mce-splitbtn:hover .mce-open {
  476. border-right-color: transparent;
  477. }
  478. .mce-toolbar .mce-splitbtn .mce-open.mce-active {
  479. background: transparent;
  480. outline: none;
  481. }
  482. .mce-menu .mce-menu-item:hover,
  483. .mce-menu .mce-menu-item.mce-selected,
  484. .mce-menu .mce-menu-item:focus,
  485. .mce-menu .mce-menu-item.mce-active.mce-menu-item-normal,
  486. .mce-menu .mce-menu-item.mce-active.mce-menu-item-preview {
  487. background: #0073aa; /* See color scheme. */
  488. color: #fff;
  489. }
  490. .mce-menu .mce-menu-item:hover .mce-caret,
  491. .mce-menu .mce-menu-item:focus .mce-caret,
  492. .mce-menu .mce-menu-item.mce-selected .mce-caret {
  493. border-left-color: #fff;
  494. }
  495. /* rtl:ignore */
  496. .rtl .mce-menu .mce-menu-item:hover .mce-caret,
  497. .rtl .mce-menu .mce-menu-item:focus .mce-caret,
  498. .rtl .mce-menu .mce-menu-item.mce-selected .mce-caret {
  499. border-left-color: inherit;
  500. border-right-color: #fff;
  501. }
  502. .mce-menu .mce-menu-item:hover .mce-text,
  503. .mce-menu .mce-menu-item:focus .mce-text,
  504. .mce-menu .mce-menu-item:hover .mce-ico,
  505. .mce-menu .mce-menu-item:focus .mce-ico,
  506. .mce-menu .mce-menu-item.mce-selected .mce-text,
  507. .mce-menu .mce-menu-item.mce-selected .mce-ico,
  508. .mce-menu .mce-menu-item:hover .mce-menu-shortcut,
  509. .mce-menu .mce-menu-item:focus .mce-menu-shortcut,
  510. .mce-menu .mce-menu-item.mce-active .mce-menu-shortcut,
  511. .mce-menu .mce-menu-item.mce-disabled:hover .mce-text,
  512. .mce-menu .mce-menu-item.mce-disabled:hover .mce-ico {
  513. color: inherit;
  514. }
  515. .mce-menu .mce-menu-item.mce-disabled {
  516. cursor: default;
  517. }
  518. .mce-menu .mce-menu-item.mce-disabled:hover {
  519. background: #ccc;
  520. }
  521. /* Menubar */
  522. div.mce-menubar {
  523. border-color: #e5e5e5;
  524. background: #fff;
  525. border-width: 0px 0px 1px;
  526. }
  527. .mce-menubar .mce-menubtn:hover,
  528. .mce-menubar .mce-menubtn.mce-active,
  529. .mce-menubar .mce-menubtn:focus {
  530. border-color: transparent;
  531. background: transparent;
  532. }
  533. .mce-menubar .mce-menubtn:focus {
  534. color: #124964;
  535. box-shadow:
  536. 0 0 0 1px #5b9dd9,
  537. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  538. }
  539. div.mce-menu .mce-menu-item-sep,
  540. .mce-menu-item-sep:hover {
  541. border-bottom: 1px solid #ddd;
  542. height: 0px;
  543. margin: 5px 0;
  544. }
  545. .mce-menubtn span {
  546. margin-right: 0;
  547. padding-left: 3px;
  548. }
  549. .mce-menu-has-icons i.mce-ico:before {
  550. margin-left: -2px;
  551. }
  552. /* Keyboard shortcuts position */
  553. .mce-menu.mce-menu-align .mce-menu-item-normal {
  554. position: relative;
  555. }
  556. .mce-menu.mce-menu-align .mce-menu-shortcut {
  557. bottom: 0.6em;
  558. font-size: 0.9em;
  559. }
  560. /* Buttons in modals */
  561. .mce-primary button,
  562. .mce-primary button i {
  563. text-align: center;
  564. color: #fff;
  565. text-shadow: none;
  566. padding: 0;
  567. line-height: 1.85714285;
  568. }
  569. .mce-window .mce-btn {
  570. color: #555;
  571. background: #f7f7f7;
  572. text-decoration: none;
  573. font-size: 13px;
  574. line-height: 26px;
  575. height: 28px;
  576. margin: 0;
  577. padding: 0;
  578. cursor: pointer;
  579. border: 1px solid #cccccc;
  580. -webkit-appearance: none;
  581. border-radius: 3px;
  582. white-space: nowrap;
  583. box-shadow: 0 1px 0 #cccccc;
  584. }
  585. /* Remove the dotted border on :focus and the extra padding in Firefox */
  586. .mce-window .mce-btn::-moz-focus-inner {
  587. border-width: 0;
  588. border-style: none;
  589. padding: 0;
  590. }
  591. .mce-window .mce-btn:hover,
  592. .mce-window .mce-btn:focus {
  593. background: #fafafa;
  594. border-color: #999;
  595. color: #23282d;
  596. }
  597. .mce-window .mce-btn:focus {
  598. border-color: #5b9dd9;
  599. box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
  600. }
  601. .mce-window .mce-btn:active {
  602. background: #eee;
  603. border-color: #999;
  604. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  605. transform: translateY(1px);
  606. }
  607. .mce-window .mce-btn.mce-disabled {
  608. color: #a0a5aa !important;
  609. border-color: #ddd !important;
  610. background: #f7f7f7 !important;
  611. box-shadow: none !important;
  612. text-shadow: 0 1px 0 #fff !important;
  613. cursor: default;
  614. transform: none !important;
  615. }
  616. .mce-window .mce-btn.mce-primary {
  617. background: #0085ba;
  618. border-color: #0073aa #006799 #006799;
  619. box-shadow: 0 1px 0 #006799;
  620. color: #fff;
  621. text-decoration: none;
  622. text-shadow: 0 -1px 1px #006799,
  623. 1px 0 1px #006799,
  624. 0 1px 1px #006799,
  625. -1px 0 1px #006799;
  626. }
  627. .mce-window .mce-btn.mce-primary:hover,
  628. .mce-window .mce-btn.mce-primary:focus {
  629. background: #008ec2;
  630. border-color: #006799;
  631. color: #fff;
  632. }
  633. .mce-window .mce-btn.mce-primary:focus {
  634. box-shadow: 0 1px 0 #0073aa,
  635. 0 0 2px 1px #33b3db;
  636. }
  637. .mce-window .mce-btn.mce-primary:active {
  638. background: #0073aa;
  639. border-color: #006799;
  640. box-shadow: inset 0 2px 0 #006799;
  641. vertical-align: top;
  642. }
  643. .mce-window .mce-btn.mce-primary.mce-disabled {
  644. color: #66c6e4 !important;
  645. background: #008ec2 !important;
  646. border-color: #007cb2 !important;
  647. box-shadow: none !important;
  648. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
  649. cursor: default;
  650. }
  651. .mce-menubtn.mce-fixed-width span {
  652. overflow-x: hidden;
  653. text-overflow: ellipsis;
  654. width: 82px;
  655. }
  656. /* Charmap modal */
  657. .mce-charmap {
  658. margin: 3px;
  659. }
  660. .mce-charmap td {
  661. padding: 0;
  662. border-color: #ddd;
  663. cursor: pointer;
  664. }
  665. .mce-charmap td:hover {
  666. background: #f3f3f3;
  667. }
  668. .mce-charmap td div {
  669. width: 18px;
  670. height: 22px;
  671. line-height: 1.57142857;
  672. }
  673. /* TinyMCE tooltips */
  674. .mce-tooltip {
  675. margin-top: 2px;
  676. }
  677. .mce-tooltip-inner {
  678. border-radius: 3px;
  679. box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  680. color: #fff;
  681. font-size: 12px;
  682. }
  683. /* TinyMCE icons */
  684. .mce-ico {
  685. font-family: tinymce, Arial;
  686. }
  687. .mce-btn-small .mce-ico {
  688. font-family: tinymce-small, Arial;
  689. }
  690. .mce-toolbar .mce-ico {
  691. color: #555d66;
  692. line-height: 1;
  693. width: 20px;
  694. height: 20px;
  695. text-align: center;
  696. text-shadow: none;
  697. margin: 0;
  698. padding: 0;
  699. }
  700. .qt-dfw {
  701. color: #555d66;
  702. line-height: 1;
  703. width: 28px;
  704. height: 26px;
  705. text-align: center;
  706. text-shadow: none;
  707. }
  708. .mce-toolbar .mce-btn .mce-open {
  709. line-height: 20px;
  710. }
  711. .mce-toolbar .mce-btn:hover .mce-open,
  712. .mce-toolbar .mce-btn:focus .mce-open,
  713. .mce-toolbar .mce-btn.mce-active .mce-open {
  714. border-left-color: #23282d;
  715. }
  716. div.mce-notification {
  717. left: 10% !important;
  718. right: 10%;
  719. }
  720. .mce-notification button.mce-close {
  721. right: 6px;
  722. top: 3px;
  723. font-weight: 400;
  724. color: #555d66;
  725. }
  726. .mce-notification button.mce-close:hover,
  727. .mce-notification button.mce-close:focus {
  728. color: #000;
  729. }
  730. i.mce-i-bold,
  731. i.mce-i-italic,
  732. i.mce-i-bullist,
  733. i.mce-i-numlist,
  734. i.mce-i-blockquote,
  735. i.mce-i-alignleft,
  736. i.mce-i-aligncenter,
  737. i.mce-i-alignright,
  738. i.mce-i-link,
  739. i.mce-i-unlink,
  740. i.mce-i-wp_more,
  741. i.mce-i-strikethrough,
  742. i.mce-i-spellchecker,
  743. i.mce-i-fullscreen,
  744. i.mce-i-wp_fullscreen,
  745. i.mce-i-dfw,
  746. i.mce-i-wp_adv,
  747. i.mce-i-underline,
  748. i.mce-i-alignjustify,
  749. i.mce-i-forecolor,
  750. i.mce-i-backcolor,
  751. i.mce-i-pastetext,
  752. i.mce-i-pasteword,
  753. i.mce-i-removeformat,
  754. i.mce-i-charmap,
  755. i.mce-i-outdent,
  756. i.mce-i-indent,
  757. i.mce-i-undo,
  758. i.mce-i-redo,
  759. i.mce-i-help,
  760. i.mce-i-wp_help,
  761. i.mce-i-wp-media-library,
  762. i.mce-i-ltr,
  763. i.mce-i-wp_page,
  764. i.mce-i-hr,
  765. i.mce-i-wp_code,
  766. i.mce-i-dashicon,
  767. i.mce-i-remove {
  768. font: normal 20px/1 dashicons;
  769. padding: 0;
  770. vertical-align: top;
  771. speak: none;
  772. -webkit-font-smoothing: antialiased;
  773. -moz-osx-font-smoothing: grayscale;
  774. margin-left: -2px;
  775. padding-right: 2px;
  776. }
  777. .qt-dfw {
  778. font: normal 20px/1 dashicons;
  779. vertical-align: top;
  780. speak: none;
  781. -webkit-font-smoothing: antialiased;
  782. -moz-osx-font-smoothing: grayscale;
  783. }
  784. i.mce-i-bold:before {
  785. content: "\f200";
  786. }
  787. i.mce-i-italic:before {
  788. content: "\f201";
  789. }
  790. i.mce-i-bullist:before {
  791. content: "\f203";
  792. }
  793. i.mce-i-numlist:before {
  794. content: "\f204";
  795. }
  796. i.mce-i-blockquote:before {
  797. content: "\f205";
  798. }
  799. i.mce-i-alignleft:before {
  800. content: "\f206";
  801. }
  802. i.mce-i-aligncenter:before {
  803. content: "\f207";
  804. }
  805. i.mce-i-alignright:before {
  806. content: "\f208";
  807. }
  808. i.mce-i-link:before {
  809. content: "\f103";
  810. }
  811. i.mce-i-unlink:before {
  812. content: "\f225";
  813. }
  814. i.mce-i-wp_more:before {
  815. content: "\f209";
  816. }
  817. i.mce-i-strikethrough:before {
  818. content: "\f224";
  819. }
  820. i.mce-i-spellchecker:before {
  821. content: "\f210";
  822. }
  823. i.mce-i-fullscreen:before,
  824. i.mce-i-wp_fullscreen:before,
  825. i.mce-i-dfw:before,
  826. .qt-dfw:before {
  827. content: "\f211";
  828. }
  829. i.mce-i-wp_adv:before {
  830. content: "\f212";
  831. }
  832. i.mce-i-underline:before {
  833. content: "\f213";
  834. }
  835. i.mce-i-alignjustify:before {
  836. content: "\f214";
  837. }
  838. i.mce-i-forecolor:before,
  839. i.mce-i-backcolor:before {
  840. content: "\f215";
  841. }
  842. i.mce-i-pastetext:before {
  843. content: "\f217";
  844. }
  845. i.mce-i-removeformat:before {
  846. content: "\f218";
  847. }
  848. i.mce-i-charmap:before {
  849. content: "\f220";
  850. }
  851. i.mce-i-outdent:before {
  852. content: "\f221";
  853. }
  854. i.mce-i-indent:before {
  855. content: "\f222";
  856. }
  857. i.mce-i-undo:before {
  858. content: "\f171";
  859. }
  860. i.mce-i-redo:before {
  861. content: "\f172";
  862. }
  863. i.mce-i-help:before,
  864. i.mce-i-wp_help:before {
  865. content: "\f223";
  866. }
  867. i.mce-i-wp-media-library:before {
  868. content: "\f104";
  869. }
  870. i.mce-i-ltr:before {
  871. content: "\f320";
  872. }
  873. i.mce-i-wp_page:before {
  874. content: "\f105";
  875. }
  876. i.mce-i-hr:before {
  877. content: "\f460";
  878. }
  879. i.mce-i-remove:before {
  880. content: "\f158";
  881. }
  882. i.mce-i-wp_code:before {
  883. content: "\f475";
  884. }
  885. /* RTL button icons */
  886. .rtl i.mce-i-outdent:before {
  887. content: "\f222";
  888. }
  889. .rtl i.mce-i-indent:before {
  890. content: "\f221";
  891. }
  892. /* Editors */
  893. .wp-editor-wrap {
  894. position: relative;
  895. }
  896. .wp-editor-tools {
  897. position: relative;
  898. z-index: 1;
  899. }
  900. .wp-editor-tools:after {
  901. clear: both;
  902. content: "";
  903. display: table;
  904. }
  905. .wp-editor-container {
  906. clear: both;
  907. border: 1px solid #e5e5e5;
  908. }
  909. .wp-editor-area {
  910. font-family: Consolas, Monaco, monospace;
  911. font-size: 13px;
  912. padding: 10px;
  913. margin: 1px 0 0;
  914. line-height: 150%;
  915. border: 0;
  916. outline: none;
  917. display: block;
  918. resize: vertical;
  919. box-sizing: border-box;
  920. }
  921. .rtl .wp-editor-area {
  922. font-family: Tahoma, Monaco, monospace;
  923. }
  924. .locale-he-il .wp-editor-area {
  925. font-family: Arial, Monaco, monospace;
  926. }
  927. .wp-editor-container textarea.wp-editor-area {
  928. width: 100%;
  929. margin: 0;
  930. box-shadow: none;
  931. }
  932. .wp-editor-tabs {
  933. float: right;
  934. }
  935. .wp-switch-editor {
  936. float: left;
  937. box-sizing: content-box;
  938. position: relative;
  939. top: 1px;
  940. background: #ebebeb;
  941. color: #666;
  942. cursor: pointer;
  943. font-size: 13px;
  944. line-height: 1.46153846;
  945. height: 20px;
  946. margin: 5px 0 0 5px;
  947. padding: 3px 8px 4px;
  948. border: 1px solid #e5e5e5;
  949. }
  950. .wp-switch-editor:focus {
  951. box-shadow:
  952. 0 0 0 1px #5b9dd9,
  953. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  954. outline: none;
  955. color: #23282d;
  956. }
  957. .wp-switch-editor:active,
  958. .html-active .switch-html:focus,
  959. .tmce-active .switch-tmce:focus {
  960. box-shadow: none;
  961. }
  962. .wp-switch-editor:active {
  963. background-color: #f5f5f5;
  964. box-shadow: none;
  965. }
  966. .js .tmce-active .wp-editor-area {
  967. color: #fff;
  968. }
  969. .tmce-active .quicktags-toolbar {
  970. display: none;
  971. }
  972. .tmce-active .switch-tmce,
  973. .html-active .switch-html {
  974. background: #f5f5f5;
  975. color: #555;
  976. border-bottom-color: #f5f5f5;
  977. }
  978. .wp-media-buttons {
  979. float: left;
  980. }
  981. .wp-media-buttons .button {
  982. margin-right: 5px;
  983. margin-bottom: 4px;
  984. padding-left: 7px;
  985. padding-right: 7px;
  986. }
  987. .wp-media-buttons .button:active {
  988. position: relative;
  989. top: 1px;
  990. margin-top: -1px;
  991. margin-bottom: 1px;
  992. }
  993. .wp-media-buttons .insert-media {
  994. padding-left: 5px;
  995. }
  996. .wp-media-buttons a {
  997. text-decoration: none;
  998. color: #444;
  999. font-size: 12px;
  1000. }
  1001. .wp-media-buttons img {
  1002. padding: 0 4px;
  1003. vertical-align: middle;
  1004. }
  1005. .wp-media-buttons span.wp-media-buttons-icon {
  1006. display: inline-block;
  1007. width: 18px;
  1008. height: 18px;
  1009. vertical-align: text-top;
  1010. margin: 0 2px;
  1011. }
  1012. .wp-media-buttons .add_media span.wp-media-buttons-icon {
  1013. background: none;
  1014. }
  1015. .wp-media-buttons .add_media span.wp-media-buttons-icon:before {
  1016. font: normal 18px/1 dashicons;
  1017. speak: none;
  1018. -webkit-font-smoothing: antialiased;
  1019. -moz-osx-font-smoothing: grayscale;
  1020. }
  1021. .wp-media-buttons .add_media span.wp-media-buttons-icon:before {
  1022. content: "\f104";
  1023. }
  1024. .mce-content-body dl.wp-caption {
  1025. max-width: 100%;
  1026. }
  1027. /* Quicktags */
  1028. .quicktags-toolbar {
  1029. padding: 3px;
  1030. position: relative;
  1031. border-bottom: 1px solid #ddd;
  1032. background: #f5f5f5;
  1033. min-height: 30px;
  1034. }
  1035. .has-dfw .quicktags-toolbar {
  1036. padding-right: 35px;
  1037. }
  1038. .wp-core-ui .quicktags-toolbar input.button.button-small {
  1039. margin: 2px;
  1040. }
  1041. .quicktags-toolbar input[value="link"] {
  1042. text-decoration: underline;
  1043. }
  1044. .quicktags-toolbar input[value="del"] {
  1045. text-decoration: line-through;
  1046. }
  1047. .quicktags-toolbar input[value="i"] {
  1048. font-style: italic;
  1049. }
  1050. .quicktags-toolbar input[value="b"] {
  1051. font-weight: 600;
  1052. }
  1053. .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,
  1054. .qt-dfw {
  1055. position: absolute;
  1056. top: 0;
  1057. right: 0;
  1058. }
  1059. .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw {
  1060. margin: 7px 7px 0 0;
  1061. }
  1062. .qt-dfw {
  1063. margin: 5px 5px 0 0;
  1064. }
  1065. .qt-fullscreen {
  1066. position: static;
  1067. margin: 2px;
  1068. }
  1069. @media screen and (max-width: 782px) {
  1070. .mce-toolbar .mce-btn button,
  1071. .qt-dfw {
  1072. padding: 6px 7px;
  1073. }
  1074. /* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
  1075. .mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
  1076. padding: 6px 7px 5px;
  1077. }
  1078. .mce-toolbar .mce-btn-group .mce-btn {
  1079. margin: 1px;
  1080. }
  1081. .qt-dfw {
  1082. width: 36px;
  1083. height: 34px;
  1084. }
  1085. .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw {
  1086. margin: 4px 4px 0 0;
  1087. }
  1088. .mce-toolbar .mce-colorbutton .mce-preview {
  1089. left: 8px;
  1090. bottom: 6px;
  1091. }
  1092. .mce-window .mce-btn {
  1093. padding: 2px 0;
  1094. }
  1095. .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first,
  1096. .has-dfw .quicktags-toolbar {
  1097. padding-right: 40px;
  1098. }
  1099. }
  1100. @media screen and (min-width: 782px) {
  1101. .wp-core-ui .quicktags-toolbar input.button.button-small {
  1102. /* .button-small is normally 11px, but a bit too small for these buttons. */
  1103. font-size: 12px;
  1104. min-height: 26px;
  1105. line-height: 2;
  1106. }
  1107. }
  1108. #wp_editbtns,
  1109. #wp_gallerybtns {
  1110. padding: 2px;
  1111. position: absolute;
  1112. display: none;
  1113. z-index: 100020;
  1114. }
  1115. #wp_editimgbtn,
  1116. #wp_delimgbtn,
  1117. #wp_editgallery,
  1118. #wp_delgallery {
  1119. border-color: #999;
  1120. background-color: #eee;
  1121. margin: 2px;
  1122. padding: 2px;
  1123. border-width: 1px;
  1124. border-style: solid;
  1125. border-radius: 3px;
  1126. }
  1127. #wp_editimgbtn:hover,
  1128. #wp_delimgbtn:hover,
  1129. #wp_editgallery:hover,
  1130. #wp_delgallery:hover {
  1131. border-color: #555;
  1132. background-color: #ccc;
  1133. }
  1134. /*------------------------------------------------------------------------------
  1135. wp-link
  1136. ------------------------------------------------------------------------------*/
  1137. #wp-link-wrap {
  1138. display: none;
  1139. background-color: #fff;
  1140. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  1141. width: 500px;
  1142. overflow: hidden;
  1143. margin-left: -250px;
  1144. margin-top: -125px;
  1145. position: fixed;
  1146. top: 50%;
  1147. left: 50%;
  1148. z-index: 100105;
  1149. transition: height 0.2s, margin-top 0.2s;
  1150. }
  1151. #wp-link-backdrop {
  1152. display: none;
  1153. position: fixed;
  1154. top: 0;
  1155. left: 0;
  1156. right: 0;
  1157. bottom: 0;
  1158. min-height: 360px;
  1159. background: #000;
  1160. opacity: 0.7;
  1161. filter: alpha(opacity=70);
  1162. z-index: 100100;
  1163. }
  1164. #wp-link {
  1165. position: relative;
  1166. height: 100%;
  1167. }
  1168. #wp-link-wrap {
  1169. height: 500px;
  1170. margin-top: -250px;
  1171. }
  1172. #wp-link-wrap .wp-link-text-field {
  1173. display: none;
  1174. }
  1175. #wp-link-wrap.has-text-field .wp-link-text-field {
  1176. display: block;
  1177. }
  1178. #link-modal-title {
  1179. background: #fcfcfc;
  1180. border-bottom: 1px solid #ddd;
  1181. height: 36px;
  1182. font-size: 18px;
  1183. font-weight: 600;
  1184. line-height: 2;
  1185. margin: 0;
  1186. padding: 0 36px 0 16px;
  1187. }
  1188. #wp-link-close {
  1189. color: #666;
  1190. padding: 0;
  1191. position: absolute;
  1192. top: 0;
  1193. right: 0;
  1194. width: 36px;
  1195. height: 36px;
  1196. text-align: center;
  1197. background: none;
  1198. border: none;
  1199. cursor: pointer;
  1200. }
  1201. #wp-link-close:before {
  1202. font: normal 20px/36px dashicons;
  1203. vertical-align: top;
  1204. speak: none;
  1205. -webkit-font-smoothing: antialiased;
  1206. -moz-osx-font-smoothing: grayscale;
  1207. width: 36px;
  1208. height: 36px;
  1209. content: "\f158";
  1210. }
  1211. #wp-link-close:hover,
  1212. #wp-link-close:focus {
  1213. color: #00a0d2;
  1214. }
  1215. #wp-link-close:focus {
  1216. outline: none;
  1217. box-shadow:
  1218. 0 0 0 1px #5b9dd9,
  1219. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  1220. /* Only visible in Windows High Contrast mode */
  1221. outline: 2px solid transparent;
  1222. outline-offset: -2px;
  1223. }
  1224. #wp-link-wrap #link-selector {
  1225. -webkit-overflow-scrolling: touch;
  1226. padding: 0 16px;
  1227. position: absolute;
  1228. top: 37px;
  1229. left: 0;
  1230. right: 0;
  1231. bottom: 44px;
  1232. }
  1233. #wp-link ol,
  1234. #wp-link ul {
  1235. list-style: none;
  1236. margin: 0;
  1237. padding: 0;
  1238. }
  1239. #wp-link input[type="text"] {
  1240. box-sizing: border-box;
  1241. }
  1242. #wp-link #link-options {
  1243. padding: 8px 0 12px;
  1244. }
  1245. #wp-link p.howto {
  1246. margin: 3px 0;
  1247. }
  1248. #wp-link p.howto a {
  1249. text-decoration: none;
  1250. color: inherit;
  1251. }
  1252. #wp-link label input[type="text"] {
  1253. margin-top: 5px;
  1254. width: 70%;
  1255. }
  1256. #wp-link #link-options label span,
  1257. #wp-link #search-panel label span.search-label {
  1258. display: inline-block;
  1259. width: 80px;
  1260. text-align: right;
  1261. padding-right: 5px;
  1262. max-width: 24%;
  1263. vertical-align: middle;
  1264. word-wrap: break-word;
  1265. }
  1266. #wp-link .link-search-field {
  1267. width: 250px;
  1268. max-width: 70%;
  1269. }
  1270. #wp-link .link-search-wrapper {
  1271. margin: 5px 0 9px;
  1272. display: block;
  1273. overflow: hidden;
  1274. }
  1275. #wp-link .link-search-wrapper .spinner {
  1276. float: none;
  1277. margin: -3px 0 0 4px;
  1278. }
  1279. #wp-link .link-target {
  1280. padding: 3px 0 0;
  1281. white-space: nowrap;
  1282. overflow: hidden;
  1283. text-overflow: ellipsis;
  1284. }
  1285. #wp-link .link-target label {
  1286. max-width: 70%;
  1287. }
  1288. #wp-link .query-results {
  1289. border: 1px #dfdfdf solid;
  1290. margin: 0 0 12px;
  1291. background: #fff;
  1292. overflow: auto;
  1293. position: absolute;
  1294. left: 16px;
  1295. right: 16px;
  1296. bottom: 0;
  1297. top: 166px;
  1298. }
  1299. .has-text-field #wp-link .query-results {
  1300. top: 210px;
  1301. }
  1302. #wp-link li {
  1303. clear: both;
  1304. margin-bottom: 0;
  1305. border-bottom: 1px solid #f1f1f1;
  1306. color: #32373c;
  1307. padding: 4px 6px 4px 10px;
  1308. cursor: pointer;
  1309. position: relative;
  1310. }
  1311. #wp-link .query-notice {
  1312. padding: 0;
  1313. border-bottom: 1px solid #dfdfdf;
  1314. background-color: #f7fcfe;
  1315. color: #000;
  1316. }
  1317. #wp-link .query-notice .query-notice-default,
  1318. #wp-link .query-notice .query-notice-hint {
  1319. display: block;
  1320. padding: 6px;
  1321. border-left: 4px solid #00a0d2;
  1322. }
  1323. #wp-link .unselectable.no-matches-found {
  1324. padding: 0;
  1325. border-bottom: 1px solid #dfdfdf;
  1326. background-color: #fef7f1;
  1327. }
  1328. #wp-link .no-matches-found .item-title {
  1329. display: block;
  1330. padding: 6px;
  1331. border-left: 4px solid #d54e21;
  1332. }
  1333. #wp-link .query-results em {
  1334. font-style: normal;
  1335. }
  1336. #wp-link li:hover {
  1337. background: #eaf2fa;
  1338. color: #151515;
  1339. }
  1340. #wp-link li.unselectable {
  1341. border-bottom: 1px solid #dfdfdf;
  1342. }
  1343. #wp-link li.unselectable:hover {
  1344. background: #fff;
  1345. cursor: auto;
  1346. color: #32373c;
  1347. }
  1348. #wp-link li.selected {
  1349. background: #ddd;
  1350. color: #32373c;
  1351. }
  1352. #wp-link li.selected .item-title {
  1353. font-weight: 600;
  1354. }
  1355. #wp-link li:last-child {
  1356. border: none;
  1357. }
  1358. #wp-link .item-title {
  1359. display: inline-block;
  1360. width: 80%;
  1361. width: calc(100% - 68px);
  1362. word-wrap: break-word;
  1363. }
  1364. #wp-link .item-info {
  1365. text-transform: uppercase;
  1366. color: #666;
  1367. font-size: 11px;
  1368. position: absolute;
  1369. right: 5px;
  1370. top: 5px;
  1371. }
  1372. #wp-link .river-waiting {
  1373. display: none;
  1374. padding: 10px 0;
  1375. }
  1376. #wp-link .submitbox {
  1377. padding: 8px 16px;
  1378. background: #fcfcfc;
  1379. border-top: 1px solid #ddd;
  1380. position: absolute;
  1381. bottom: 0;
  1382. left: 0;
  1383. right: 0;
  1384. }
  1385. #wp-link-cancel {
  1386. line-height: 1.92307692;
  1387. float: left;
  1388. }
  1389. #wp-link-update {
  1390. line-height: 1.76923076;
  1391. float: right;
  1392. }
  1393. #wp-link-submit {
  1394. float: right;
  1395. }
  1396. @media screen and (max-width: 782px) {
  1397. #wp-link-wrap {
  1398. margin-top: -140px;
  1399. }
  1400. #wp-link-wrap .query-results {
  1401. top: 195px;
  1402. }
  1403. #wp-link-wrap.has-text-field .query-results {
  1404. top: 235px;
  1405. }
  1406. #link-selector {
  1407. padding: 0 16px 60px;
  1408. }
  1409. #wp-link-wrap #link-selector {
  1410. bottom: 52px;
  1411. }
  1412. #wp-link-cancel {
  1413. line-height: 2.46153846;
  1414. }
  1415. #wp-link .link-target {
  1416. padding-top: 10px;
  1417. }
  1418. #wp-link .submitbox .button {
  1419. margin-bottom: 0;
  1420. }
  1421. }
  1422. @media screen and (max-width: 520px) {
  1423. #wp-link-wrap {
  1424. width: auto;
  1425. margin-left: 0;
  1426. left: 10px;
  1427. right: 10px;
  1428. max-width: 500px;
  1429. }
  1430. }
  1431. @media screen and (max-height: 520px) {
  1432. #wp-link-wrap {
  1433. transition: none;
  1434. height: auto;
  1435. margin-top: 0;
  1436. top: 10px;
  1437. bottom: 10px;
  1438. }
  1439. #link-selector {
  1440. overflow: auto;
  1441. }
  1442. #search-panel .query-results {
  1443. position: static;
  1444. }
  1445. }
  1446. @media screen and (max-height: 290px) {
  1447. #wp-link-wrap {
  1448. height: auto;
  1449. margin-top: 0;
  1450. top: 10px;
  1451. bottom: 10px;
  1452. }
  1453. #link-selector {
  1454. overflow: auto;
  1455. height: calc(100% - 92px);
  1456. padding-bottom: 2px;
  1457. }
  1458. #search-panel .query-results {
  1459. position: static;
  1460. }
  1461. }
  1462. div.wp-link-preview {
  1463. float: left;
  1464. margin: 5px;
  1465. max-width: 694px;
  1466. overflow: hidden;
  1467. text-overflow: ellipsis;
  1468. }
  1469. div.wp-link-preview a {
  1470. color: #0073aa;
  1471. text-decoration: underline;
  1472. transition-property: border, background, color;
  1473. transition-duration: .05s;
  1474. transition-timing-function: ease-in-out;
  1475. cursor: pointer;
  1476. }
  1477. div.wp-link-preview a.wplink-url-error {
  1478. color: #dc3232;
  1479. }
  1480. div.wp-link-input {
  1481. float: left;
  1482. margin: 2px;
  1483. max-width: 694px;
  1484. }
  1485. div.wp-link-input input {
  1486. width: 300px;
  1487. padding: 3px;
  1488. box-sizing: border-box;
  1489. line-height: 1.28571429;
  1490. }
  1491. .mce-toolbar div.wp-link-preview ~ .mce-btn,
  1492. .mce-toolbar div.wp-link-input ~ .mce-btn {
  1493. margin: 2px 1px;
  1494. }
  1495. .mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child {
  1496. margin-right: 2px;
  1497. }
  1498. .ui-autocomplete.wplink-autocomplete {
  1499. z-index: 100110;
  1500. max-height: 200px;
  1501. overflow-y: auto;
  1502. padding: 0;
  1503. margin: 0;
  1504. list-style: none;
  1505. position: absolute;
  1506. border: 1px solid #5b9dd9;
  1507. box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8);
  1508. background-color: #fff;
  1509. }
  1510. .ui-autocomplete.wplink-autocomplete li {
  1511. margin-bottom: 0;
  1512. padding: 4px 10px;
  1513. clear: both;
  1514. white-space: normal;
  1515. text-align: left;
  1516. }
  1517. .ui-autocomplete.wplink-autocomplete li .wp-editor-float-right {
  1518. float: right;
  1519. }
  1520. .ui-autocomplete.wplink-autocomplete li.ui-state-focus {
  1521. background-color: #ddd;
  1522. cursor: pointer;
  1523. }
  1524. @media screen and (max-width: 782px) {
  1525. div.wp-link-preview,
  1526. div.wp-link-input {
  1527. max-width: 70%;
  1528. max-width: calc(100% - 86px);
  1529. }
  1530. div.wp-link-preview {
  1531. margin: 8px 0 8px 5px;
  1532. }
  1533. div.wp-link-input {
  1534. width: 300px;
  1535. }
  1536. div.wp-link-input input {
  1537. width: 100%;
  1538. font-size: 16px;
  1539. padding: 5px;
  1540. }
  1541. }
  1542. /* =Overlay Body
  1543. -------------------------------------------------------------- */
  1544. .mce-fullscreen {
  1545. z-index: 100010;
  1546. }
  1547. /* =Localization
  1548. -------------------------------------------------------------- */
  1549. .rtl .wp-switch-editor,
  1550. .rtl .quicktags-toolbar input {
  1551. font-family: Tahoma, sans-serif;
  1552. }
  1553. /* rtl:ignore */
  1554. .mce-rtl .mce-flow-layout .mce-flow-layout-item > div {
  1555. direction: rtl;
  1556. }
  1557. /* rtl:ignore */
  1558. .mce-rtl .mce-listbox i.mce-caret {
  1559. left: 6px;
  1560. }
  1561. html:lang(he-il) .rtl .wp-switch-editor,
  1562. html:lang(he-il) .rtl .quicktags-toolbar input {
  1563. font-family: Arial, sans-serif;
  1564. }
  1565. /* HiDPI */
  1566. @media print,
  1567. (-webkit-min-device-pixel-ratio: 1.25),
  1568. (min-resolution: 120dpi) {
  1569. .wp-media-buttons .add_media span.wp-media-buttons-icon {
  1570. background: none;
  1571. }
  1572. }