tadv.css 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003
  1. /**
  2. * This file is part of the TinyMCE Advanced WordPress plugin and is released under the same license.
  3. * For more information please see tinymce-advanced.php.
  4. *
  5. * Copyright (c) 2007-2019 Andrew Ozz. All rights reserved.
  6. */
  7. body.settings_page_tinymce-advanced {
  8. background: #ededed;
  9. color: #000;
  10. }
  11. .tinymce-advanced h4 {
  12. font-size: 1.1em;
  13. }
  14. .settings-toggle {
  15. display: inline-block;
  16. padding: 12px 16px 12px 6px;
  17. margin: 0 6px -1px 0;
  18. border: 1px solid #ccc;
  19. border-top-left-radius: 5px;
  20. border-top-right-radius: 5px;
  21. cursor: pointer;
  22. }
  23. .rtl .settings-toggle {
  24. padding: 12px 6px 12px 16px;
  25. margin: 0 0 -1px 6px;
  26. }
  27. .settings-toggle:focus {
  28. outline: none;
  29. }
  30. #classic-editor,
  31. #block-editor {
  32. padding: 0 18px 18px;
  33. border: 1px solid #ccc;
  34. }
  35. .classic-active .settings-toggle.classic,
  36. .block-active .settings-toggle.block {
  37. border-bottom-color: #f8f9f9;
  38. background-color: #f8f9f9;
  39. }
  40. .classic-active #block-editor,
  41. .classic-active .block .arrow-open,
  42. .classic-active .classic .dashicons-arrow-down,
  43. .block-active #classic-editor,
  44. .block-active .classic .arrow-open,
  45. .block-active .block .dashicons-arrow-down {
  46. display: none;
  47. }
  48. .wrap.tinymce-advanced {
  49. max-width: 760px;
  50. margin: 16px 24px 0 16px;
  51. }
  52. .rtl .wrap.tinymce-advanced {
  53. margin: 16px 16px 0 24px;
  54. }
  55. #classic-editor,
  56. #block-editor {
  57. margin-bottom: 45px;
  58. background-color: #f8f9f9;
  59. }
  60. .toolbar-block-wrap {
  61. display: inline-block;
  62. }
  63. /* Block editor buttons */
  64. #toolbar_block {
  65. display: inline-block;
  66. vertical-align: text-top;
  67. }
  68. .toolbar-wrap {
  69. margin: 8px 0;
  70. }
  71. .toolbar-wrap.highlighted ul,
  72. .toolbar-block-wrap.highlighted,
  73. .tma-block-dropdown-toolbar-inner-wrap.highlighted {
  74. background-color: #e4f2fd;
  75. }
  76. .toolbar-block-wrap {
  77. margin: 0;
  78. }
  79. #toolbar_block {
  80. border: 0;
  81. }
  82. .tma-down-addow-wrap {
  83. padding: 16px 13px 0;
  84. display: inline-block;
  85. box-sizing: border-box;
  86. vertical-align: text-top;
  87. }
  88. span.tma-down-addow::after {
  89. content: "";
  90. pointer-events: none;
  91. display: block;
  92. width: 0;
  93. height: 0;
  94. border-left: 3px solid transparent;
  95. border-right: 3px solid transparent;
  96. border-top: 5px solid #444;
  97. }
  98. .tma-block-dropdown-toolbar-wrap {
  99. position: relative;
  100. margin: 3px 0 0 36px;
  101. height: auto;
  102. width: 260px;
  103. box-shadow: 0 3px 30px rgba(25, 30, 35, 0.16);
  104. border: 1px solid #e2e4e7;
  105. background: #fff;
  106. }
  107. .rtl .tma-block-dropdown-toolbar-wrap {
  108. margin: 3px 72px 0 0;
  109. }
  110. /* Drop-down arrow */
  111. .tma-block-dropdown-toolbar-arrow::before {
  112. top: -8px;
  113. border: 8px solid #e2e4e7;
  114. }
  115. .tma-block-dropdown-toolbar-arrow::after {
  116. top: -6px;
  117. border: 8px solid #fff;
  118. }
  119. .tma-block-dropdown-toolbar-arrow::before,
  120. .tma-block-dropdown-toolbar-arrow::after {
  121. content: "";
  122. position: absolute;
  123. height: 0;
  124. width: 0;
  125. line-height: 0;
  126. border-bottom-style: solid;
  127. border-left-color: transparent;
  128. border-right-color: transparent;
  129. border-top: none;
  130. margin-left: -10px;
  131. left: 235px;
  132. }
  133. .rtl .tma-block-dropdown-toolbar-arrow::before,
  134. .rtl .tma-block-dropdown-toolbar-arrow::after {
  135. left: auto;
  136. right: 226px;
  137. }
  138. .tma-block-dropdown-toolbar-inner-wrap {
  139. height: 100%;
  140. width: 100%;
  141. }
  142. ul.toolbar-block-dropdown {
  143. padding: 7px 0;
  144. margin: 0;
  145. height: 100%;
  146. width: 100%;
  147. min-height: 36px;
  148. }
  149. ul.toolbar-block-dropdown > li {
  150. display: block;
  151. margin: 0 0 4px;
  152. width: auto;
  153. height: 40px;
  154. cursor: move;
  155. outline: none;
  156. }
  157. ul.toolbar-block-dropdown > li:hover {
  158. color: #191e23;
  159. border: none;
  160. box-shadow: none;
  161. background: #f3f4f5;
  162. }
  163. ul.toolbar-block-dropdown .tma-components-icon-button {
  164. width: 100%;
  165. }
  166. ul.toolbar-block-dropdown span {
  167. vertical-align: middle;
  168. }
  169. .block-button-name {
  170. display: inline-block;
  171. vertical-align: middle;
  172. }
  173. .tma-components-toolbar *,
  174. .tma-block-dropdown-toolbar-wrap * {
  175. box-sizing: border-box;
  176. }
  177. .tma-components-toolbar {
  178. border: 1px solid #e2e4e7;
  179. margin: 0;
  180. background-color: #fff;
  181. line-height: 1px;
  182. min-height: 36px;
  183. font-size: 0pt;
  184. }
  185. .tma-components-toolbar > li {
  186. display: inline-block;
  187. margin: 0;
  188. width: 36px;
  189. height: 36px;
  190. cursor: move;
  191. }
  192. .tma-components-toolbar .block-button-name {
  193. display: none;
  194. }
  195. .tma-components-icon-button {
  196. display: inline-block;
  197. vertical-align: middle;
  198. margin: 0;
  199. padding: 3px;
  200. outline: none;
  201. width: 36px;
  202. height: 36px;
  203. border: none;
  204. background: none;
  205. color: #555d66;
  206. overflow: hidden;
  207. border-radius: 4px;
  208. -webkit-appearance: none;
  209. }
  210. .tma-components-icon-button .dashicons,
  211. .tma-components-icon-button .mce-ico {
  212. display: inline-block;
  213. padding: 5px;
  214. border-radius: 4px;
  215. height: 30px;
  216. width: 30px;
  217. outline: none;
  218. overflow: hidden;
  219. }
  220. .tma-components-icon-button .mce-ico:before {
  221. font-size: 20px;
  222. margin: 2px;
  223. display: block;
  224. }
  225. .tma-components-icon-button:hover > span {
  226. color: #555d66;
  227. box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
  228. }
  229. .toolbar-block-dropdown .tma-components-icon-button:hover > span {
  230. box-shadow: none;
  231. }
  232. .toolbar-side-wrap,
  233. .panel-block-colors {
  234. width: 260px;
  235. border: 1px solid #ddd;
  236. background-color: #fff;
  237. }
  238. .panel-title {
  239. padding: 15px;
  240. font-weight: 600;
  241. background-color: #f8f9f9;
  242. margin-bottom: 5px;
  243. }
  244. .panel-title span {
  245. color: #191e23;
  246. float: right;
  247. }
  248. .rtl .panel-title span {
  249. float: left;
  250. }
  251. .toolbar-unused-wrap {
  252. width: 350px;
  253. }
  254. .block-toolbar-unused {
  255. min-height: 72px;
  256. }
  257. .toolbar-block-title {
  258. margin: 1.2em 0 0.6em;
  259. }
  260. .block-toolbar-side {
  261. border-color: transparent;
  262. margin: 0 12px 10px;
  263. min-height: 37px;
  264. }
  265. .highlighted .block-toolbar-side {
  266. border-color: #e2e4e7;
  267. }
  268. .panel-block-colors-wrap {
  269. margin-top: 40px;
  270. }
  271. .panel-block-colors {
  272. float: left;
  273. }
  274. .rtl .panel-block-colors {
  275. float: right;
  276. }
  277. .panel-block-colors-settings {
  278. margin-left: 280px;
  279. width: auto;
  280. clear: none;
  281. }
  282. .rtl .panel-block-colors-settings {
  283. margin-left: 0;
  284. margin-right: 280px;
  285. }
  286. .panel-block-colors-settings__text {
  287. border-top: 40px solid transparent;
  288. }
  289. .panel-block-colors-settings__background {
  290. border-top: 60px solid transparent;
  291. }
  292. .panel-block-text-color p,
  293. .panel-block-background-color p {
  294. margin: 10px 16px 5px;
  295. color: #555d66;
  296. }
  297. .panel-block-text-color.disabled,
  298. .panel-block-background-color.disabled {
  299. opacity: 0.3;
  300. }
  301. /* Block editor buttons end */
  302. .classic-blocks-title-h4 {
  303. margin: 40px 0 1.1em;
  304. }
  305. /*
  306. .tadv-submit-top {
  307. margin: 0 -36px;
  308. }
  309. */
  310. form#tadvadmin {
  311. margin-top: 24px;
  312. }
  313. .tadv-more-plugins label {
  314. font-weight: bold;
  315. padding: 0 10px;
  316. }
  317. .advanced-options label {
  318. font-weight: 600;
  319. }
  320. .tinymce-advanced label {
  321. vertical-align: baseline;
  322. }
  323. .tinymce-advanced input[type="checkbox"] {
  324. vertical-align: text-bottom;
  325. }
  326. .advanced-options {
  327. margin: 40px 0;
  328. }
  329. .advanced-options div {
  330. margin: 1.2em 0;
  331. }
  332. .advanced-options p {
  333. margin-left: 22px;
  334. margin-top: 5px;
  335. }
  336. .advanced-options .tadv-help {
  337. margin: 1em 0;
  338. }
  339. .advanced-options h3 {
  340. margin-top: 15px;
  341. }
  342. .tadv-more-plugins {
  343. margin-bottom: 30px;
  344. }
  345. .tadv-submit .button-large {
  346. float: right;
  347. }
  348. .rtl .tadv-submit .button-large {
  349. float: left;
  350. }
  351. #tadv-import-error {
  352. height: 22px;
  353. }
  354. .import-file {
  355. margin: 2em 0;
  356. }
  357. #tadv-confirm-uninstall {
  358. display: none;
  359. background: #FFFFE0;
  360. border: 1px solid #E6DB55;
  361. padding: 8px;
  362. }
  363. #tadv-confirm-uninstall .button {
  364. margin: 0 5px;
  365. }
  366. .tadv-import-export {
  367. max-width: 800px;
  368. min-width: 320px;
  369. }
  370. #tadv-import {
  371. width: 100%;
  372. height: 200px;
  373. padding: 8px 12px;
  374. }
  375. ul.container,
  376. .unused {
  377. position: relative;
  378. }
  379. .tadvitem i.mce-ico {
  380. width: 20px;
  381. height: 20px;
  382. line-height: 20px;
  383. text-align: center;
  384. vertical-align: text-top;
  385. margin: 0;
  386. padding: 0;
  387. color: #555;
  388. }
  389. .tadvitem i.mce-ico.mce-i-ltr,
  390. .tadvitem i.mce-ico.mce-i-tadv_mark {
  391. font-family: tinymce;
  392. font-size: 16px;
  393. vertical-align: text-top;
  394. }
  395. .tadvitem i.mce-ico.mce-i-ltr:before {
  396. content: "\e02f";
  397. }
  398. .tadvitem i.mce-ico.mce-i-tadv_mark:before {
  399. content: "\e01a";
  400. }
  401. .tadvitem i.mce-ico.mce-i-tadv_mark {
  402. text-shadow: none;
  403. background: #ddd;
  404. }
  405. .tadvitem.mce-listbox i.mce-caret {
  406. right: 6px;
  407. }
  408. .rtl .tadvitem.mce-listbox i.mce-caret {
  409. right: auto;
  410. left: 6px;
  411. }
  412. .tadv-mce-menu.mce-menubar {
  413. margin-bottom: 0;
  414. background: #fff;
  415. border: 1px solid #ccc;
  416. border-bottom: 0;
  417. opacity: 0.4;
  418. filter: alpha(opacity=40);
  419. }
  420. .tadv-mce-menu.enabled {
  421. opacity: 1;
  422. filter: alpha(opacity=100);
  423. }
  424. .tadv-mce-menu.mce-menubar .mce-menubtn:hover {
  425. background: transparent;
  426. border-color: transparent;
  427. }
  428. /* Menubar fix... */
  429. .mce-menubar .mce-menubtn button span {
  430. font-size: 13px;
  431. }
  432. .tadv-mce-menu.mce-menubar .mce-menubtn:hover button span {
  433. color: #000;
  434. }
  435. .tadv-mce-menu .mce-btn .mce-caret {
  436. margin-left: 1px;
  437. margin-top: 6px;
  438. border-top-color: #555;
  439. }
  440. #tadvadmin .mce-menubar .mce-menubtn:hover .mce-caret {
  441. border-top-color: #000;
  442. }
  443. .tadv-mce-menu * {
  444. cursor: default;
  445. }
  446. .tadvzones,
  447. .unused {
  448. -webkit-user-select: none;
  449. -moz-user-select: none;
  450. -ms-user-select: none;
  451. user-select: none;
  452. }
  453. #tadvadmin p.submit {
  454. padding-right: 10px;
  455. }
  456. #tadvadmin #save {
  457. float: right;
  458. }
  459. .tadvdropzone {
  460. padding: 2px 4px;
  461. margin: 0 0 10px;
  462. background-color: #fff;
  463. border: 1px solid #bbb;
  464. }
  465. .unuseddiv .highlighted,
  466. .tadvdropzone.highlighted {
  467. background-color: #e4f2fd;
  468. color: #000;
  469. border-color: #aaa;
  470. }
  471. .tadvdropzone .descr {
  472. display: none;
  473. }
  474. .tadvdropzone .mce-menubtn .descr {
  475. padding: 0;
  476. font-size: 13px;
  477. }
  478. .tadvdropzone .tadvmodule .tadvitem {
  479. border: 1px solid transparent;
  480. display: block;
  481. margin: 1px 2px;
  482. padding: 2px 3px;
  483. width: 20px;
  484. height: 20px;
  485. -webkit-border-radius: 2px;
  486. border-radius: 2px;
  487. }
  488. .tadvdropzone .tadvmodule .tadvitem.mce-widget {
  489. width: auto;
  490. height: 20px;
  491. border-color: #ccc;
  492. background-color: #fff;
  493. cursor: move;
  494. }
  495. .tadvdropzone.mce-toolbar .mce-btn .the-button {
  496. padding: 2px 3px 0;
  497. }
  498. .tadvdropzone .tadvmodule .tadvitem:hover {
  499. border-color: #999;
  500. background-image: none;
  501. }
  502. .tadvdropzone ul {
  503. height: 30px;
  504. width: 100%;
  505. margin: 0;
  506. padding: 1px 0 0;
  507. line-height: 1;
  508. }
  509. .unuseddiv {
  510. margin: 0 -5px;
  511. }
  512. .unuseddiv > p {
  513. margin: 16px 5px 6px;
  514. }
  515. .unused li,
  516. .tadvdropzone li {
  517. margin: 0;
  518. padding: 0;
  519. border: none;
  520. display: inline-block;
  521. cursor: move;
  522. vertical-align: top;
  523. }
  524. .unused li {
  525. margin: 4px;
  526. }
  527. .unused {
  528. margin: 0;
  529. min-height: 36px;
  530. }
  531. .unused .tadvmodule .tadvitem {
  532. display: block;
  533. height: 24px;
  534. width: 140px;
  535. border: 1px solid #bbb;
  536. background-color: #fff;
  537. margin: 2px 1px 1px;
  538. padding: 5px 4px 0;
  539. -webkit-border-radius: 2px;
  540. border-radius: 2px;
  541. white-space: nowrap;
  542. overflow: hidden;
  543. text-overflow: ellipsis;
  544. background-image: none;
  545. box-shadow: none;
  546. }
  547. .unused .tadvmodule .descr {
  548. display: inline;
  549. font-size: 12px;
  550. line-height: 20px;
  551. }
  552. .unused .tadvmodule .the-button .descr {
  553. padding: 0 4px;
  554. font-size: 13px;
  555. }
  556. .tadvdropzone #formatselect,
  557. .tadvdropzone #styleselect,
  558. .tadvdropzone #fontsizeselect,
  559. .tadvdropzone #fontselect {
  560. width: 115px;
  561. }
  562. div.tadv-error {
  563. color: #ff0000;
  564. font-weight: bold;
  565. height: 26px;
  566. line-height: 26px;
  567. display: none;
  568. }
  569. .wp-adv-error #wp-adv-error-message {
  570. visibility: visible;
  571. }
  572. .wp-adv-error #wp_adv .tadvitem {
  573. border-color: red;
  574. }
  575. .tadv-placeholder {
  576. vertical-align: bottom;
  577. display: inline-block;
  578. position: static;
  579. visibility: hidden;
  580. }
  581. .tadvdropzone .tadv-placeholder {
  582. height: 28px;
  583. }
  584. .tadv-error {
  585. color: #d54e21;
  586. }
  587. .tadv-block-editor-toolbars-wrap {
  588. max-width: 650px;
  589. }
  590. .tadv-mce-menu.tadv-block-editor.mce-menubar {
  591. background-image: url(images/toolbar-actions.png);
  592. background-position: right;
  593. background-repeat: no-repeat;
  594. background-size: 84px 37px;
  595. }
  596. .rtl .tadv-mce-menu.tadv-block-editor.mce-menubar {
  597. background-image: url(images/toolbar-actions-rtl.png);
  598. background-position: left;
  599. }
  600. .tadv-block-editor .mce-menubtn {
  601. margin: 7px 0 6px;
  602. }
  603. .tadv-block-editor.tadvdropzone {
  604. height: 60px;
  605. }
  606. #toolbar_classic_block {
  607. height: 60px;
  608. }
  609. .tadv-popout-help {
  610. padding: 1px 18px;
  611. background-color: #fff;
  612. margin: 8px 0;
  613. border: 1px solid #e8e8e8;
  614. }
  615. .tadv-popout-help ol {
  616. padding: 0;
  617. margin: 1em;
  618. }
  619. .tadv-popout-help-close {
  620. float: right;
  621. margin: 1px -16px;
  622. }
  623. .rtl .tadv-popout-help-close {
  624. float: left;
  625. }
  626. .tadv-popout-help-toggle,
  627. .tadv-popout-help-close {
  628. cursor: pointer;
  629. }
  630. .tadv-mark .dashicons-editor-textcolor {
  631. background-color: #fff9c0;
  632. background-clip: content-box;
  633. }
  634. .tadv-block-editor > div.mce-container-body {
  635. margin-right: 80px;
  636. }
  637. .rtl .tadv-block-editor > div.mce-container-body {
  638. margin-right: 0;
  639. margin-left: 80px;
  640. }
  641. .rtl .the-button {
  642. direction: rtl;
  643. text-align: right;
  644. }
  645. .tadv-block-placeholder {
  646. background: #fff;
  647. vertical-align: middle;
  648. }
  649. /* Block toolbar */
  650. .tma-block-toolbar-wrap.editor-block-toolbar {
  651. white-space: nowrap;
  652. overflow-wrap: break-word;
  653. box-sizing: border-box;
  654. font-size: 16px;
  655. line-height: 1.8;
  656. color: #191e23;
  657. display: flex;
  658. flex-grow: 1;
  659. width: auto;
  660. overflow: inherit;
  661. border-right: none;
  662. border-left: 1px solid #b5bcc2;
  663. }
  664. .tma-block-toolbar-wrap.editor-block-toolbar * {
  665. box-sizing: inherit;
  666. }
  667. .tma-block-toolbar-wrap div.components-toolbar {
  668. border-top: 1px solid #b5bcc2;
  669. border-bottom: 1px solid #b5bcc2;
  670. border-right: 1px solid #b5bcc2;
  671. margin: 0;
  672. background-color: #fff;
  673. display: flex;
  674. flex-shrink: 0;
  675. }
  676. .tma-block-toolbar-wrap div.components-toolbar > div {
  677. display: flex;
  678. }
  679. .tma-block-toolbar-wrap .block-editor-block-switcher {
  680. position: relative;
  681. height: 36px;
  682. }
  683. .tma-block-toolbar-wrap .components-button {
  684. display: inline-flex;
  685. text-decoration: none;
  686. font-size: 13px;
  687. margin: 0;
  688. border: 0;
  689. cursor: default;
  690. -webkit-appearance: none;
  691. background: none;
  692. outline: none;
  693. }
  694. .tma-block-toolbar-wrap .components-icon-button {
  695. display: flex;
  696. align-items: center;
  697. padding: 8px;
  698. margin: 0;
  699. border: none;
  700. background: none;
  701. color: #555d66;
  702. position: relative;
  703. overflow: hidden;
  704. border-radius: 4px;
  705. }
  706. .tma-block-toolbar-wrap .components-toolbar__control.components-button {
  707. display: inline-flex;
  708. align-items: flex-end;
  709. margin: 0;
  710. padding: 3px;
  711. outline: none;
  712. position: relative;
  713. width: 36px;
  714. height: 36px;
  715. }
  716. .tma-block-toolbar-wrap .components-dropdown-menu {
  717. padding: 3px;
  718. }
  719. .tma-block-toolbar-wrap div.components-toolbar > div + div {
  720. margin-left: -3px;
  721. }
  722. .rtl .tma-block-toolbar-wrap div.components-toolbar > div + div {
  723. margin-left: 0;
  724. margin-right: -3px;
  725. }
  726. .tma-block-toolbar-wrap .components-dropdown-menu .components-dropdown-menu__toggle {
  727. width: auto;
  728. margin: 0;
  729. padding: 4px;
  730. border: 1px solid transparent;
  731. display: flex;
  732. flex-direction: row;
  733. /* Always hover... */
  734. color: #555d66;
  735. box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
  736. }
  737. .tma-block-toolbar-wrap .components-dropdown-menu .components-dropdown-menu__toggle .components-dropdown-menu__indicator::after {
  738. content: "";
  739. pointer-events: none;
  740. display: block;
  741. width: 0;
  742. height: 0;
  743. border-left: 3px solid transparent;
  744. border-right: 3px solid transparent;
  745. border-top: 5px solid currentColor;
  746. margin: 7px;
  747. }
  748. .components-dropdown-menu .components-dropdown-menu__toggle:hover,
  749. .components-dropdown-menu .components-dropdown-menu__toggle:focus,
  750. .components-dropdown-menu .components-dropdown-menu__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
  751. color: #555d66;
  752. box-shadow: inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;
  753. }
  754. .tma-block-toolbar-wrap .block-editor-block-icon {
  755. display: flex;
  756. align-items: center;
  757. justify-content: center;
  758. width: 24px;
  759. height: 24px;
  760. margin: 0;
  761. border-radius: 4px;
  762. }
  763. .tma-block-toolbar-wrap .block-editor-block-icon.has-colors svg {
  764. fill: currentColor;
  765. }
  766. .tma-block-toolbar-wrap .block-editor-block-icon svg {
  767. width: 20px;
  768. height: 20px;
  769. max-width: 24px;
  770. max-height: 24px;
  771. }
  772. .tma-block-toolbar-wrap .components-icon-button svg {
  773. fill: currentColor;
  774. outline: none;
  775. }
  776. .tma-block-toolbar-wrap .components-toolbar__control.components-button > svg,
  777. .tma-block-toolbar-wrap .components-toolbar__control.components-button > .dashicons {
  778. padding: 5px;
  779. border-radius: 4px;
  780. height: 30px;
  781. width: 30px;
  782. }
  783. .tma-block-toolbar-wrap .components-toolbar__control .dashicon {
  784. display: block;
  785. }
  786. .tma-block-toolbar-wrap .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon::after {
  787. content: "";
  788. pointer-events: none;
  789. display: block;
  790. width: 0;
  791. height: 0;
  792. border-left: 3px solid transparent;
  793. border-right: 3px solid transparent;
  794. border-top: 5px solid currentColor;
  795. margin-left: 4px;
  796. margin-right: 2px;
  797. }
  798. .tma-block-toolbar-wrap .block-editor-block-settings-menu__toggle .dashicon {
  799. transform: rotate(90deg);
  800. }
  801. .tma-block-toolbar-wrap .components-icon-button.block-editor-block-switcher__toggle,
  802. .tma-block-toolbar-wrap .components-icon-button.block-editor-block-switcher__no-switcher-icon {
  803. width: auto;
  804. margin: 0;
  805. display: block;
  806. height: 36px;
  807. padding: 3px;
  808. }
  809. .tma-block-toolbar-wrap .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-icon,
  810. .tma-block-toolbar-wrap .components-icon-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform {
  811. width: 42px;
  812. height: 30px;
  813. position: relative;
  814. margin: 0 auto;
  815. padding: 3px;
  816. display: flex;
  817. align-items: center;
  818. }
  819. .advanced-options .dashicons {
  820. color: #777;
  821. }
  822. .tadvmodule .the-button {
  823. margin: 0;
  824. }
  825. /* Fixes for inadequate css changes in 5.3 :( */
  826. #tadvadmin .button,
  827. #tadvadmin .button-primary {
  828. font-size: 14px;
  829. line-height: 1.7;
  830. padding: 2px 10px 3px;
  831. }