style-editor.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. /* stop bootstrap box-sizing resets on dashboard theme names */
  2. .theme-name {
  3. height: auto !important;
  4. }
  5. /* stop bootstrap 0 margin resets on ul */
  6. .wp-admin .components-panel__header ul, li {
  7. margin-top: 16px;
  8. }
  9. :root,
  10. body.wp-admin {
  11. --wp-components-color-accent: #5dbd73;
  12. --wp-admin-theme-color: #E9E4DC !important;
  13. }
  14. ::selection {
  15. background-color: var(--wp--preset--color--tirtiary);
  16. }
  17. #wp-version-message {
  18. display: none;
  19. }
  20. body.wp-admin {
  21. background: var(--wp-admin-theme-color);
  22. }
  23. #wpbody-content .block-editor:not(.is-root-container) a {
  24. }
  25. #wpbody-content a:hover {
  26. color: var(--wp-components-color-accent-darker-20);
  27. }
  28. #wpbody-content #site-editor a {
  29. color: var(--wp--preset--color--tirtiary) !important;
  30. }
  31. #wp-admin-bar-site-name .ab-item::before {
  32. background-image: url(../gwp/img/_gwp_icon.svg) !important;
  33. background-position: center !important;
  34. background: no-repeat;
  35. display: block;
  36. width: 21px;
  37. height: 21px;
  38. content: '' !important;
  39. color:#E9E4DC !important;
  40. }
  41. #adminmenu,
  42. #adminmenuback,
  43. #adminmenuwrap,
  44. #adminmenuwrap,
  45. #wpadminbar {
  46. background-color: #484c57;
  47. }
  48. #wpadminbar .ab-top-menu > li.hover > .ab-item,
  49. #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
  50. #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
  51. #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus {
  52. background: #2a2d36;
  53. color:#5dbd73;
  54. }
  55. #adminbar,
  56. #adminmenu .wp-submenu,
  57. #adminmenu .wp-submenu-wrap,
  58. #adminmenu li.menu-top:hover,
  59. #adminmenu li.opensub {
  60. background-color: #2a2d36;
  61. }
  62. #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
  63. #adminmenu .wp-menu-arrow, #adminmenu .wp-menu-arrow div,
  64. #adminmenu li.current a.menu-top,
  65. #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
  66. #adminmenu li.wp-has-current-submenu:hover,
  67. #adminmenu li.wp-has-current-submenu.opensub:hover,
  68. #adminmenu li:hover, #adminmenu li.opensub:hover {
  69. background-color: #006837;
  70. }
  71. #adminmenu li a:focus div.wp-menu-image:before,
  72. #adminmenu li.opensub div.wp-menu-image:before,
  73. #adminmenu li:hover div.wp-menu-image:before{
  74. color:#5dbd73;
  75. }
  76. #adminmenu li.menu-top:hover,
  77. #adminmenu li.opensub > a.menu-top,
  78. #adminmenu li > a.menu-top:focus {
  79. position: relative;
  80. background-color: #2a2d36;
  81. color:#5dbd73;
  82. }
  83. #adminmenu .wp-submenu a:focus,
  84. #adminmenu .wp-submenu a:hover,
  85. #adminmenu a:hover,
  86. #adminmenu li.menu-top > a:focus {
  87. color:#ffffff;
  88. }
  89. #adminmenu li.menu-top:hover,
  90. #adminmenu li.opensub > a.menu-top,
  91. #adminmenu li > a.menu-top:focus {
  92. background-color: #2a2d36;
  93. color:#ffffff;
  94. }
  95. #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
  96. #adminmenu .wp-menu-arrow,
  97. #adminmenu .wp-menu-arrow div,
  98. #adminmenu li.current a.menu-top,
  99. #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
  100. background: #006837 !important;
  101. color:#fff;
  102. }
  103. .wp-core-ui .button, .wp-core-ui .button-secondary {
  104. color: #484c57;
  105. border-color: #484c57;
  106. background: #f6f7f7;
  107. vertical-align:top
  108. }
  109. .wrap .add-new-h2,
  110. .wrap .add-new-h2:active,
  111. .wrap .page-title-action,
  112. .wrap .page-title-action:active {
  113. border: 1px solid #484c57;
  114. color: #484c57;
  115. }
  116. .edit-site-site-icon__image {
  117. display: none !important;
  118. }
  119. .edit-site-site-icon svg {
  120. display: none !important;
  121. }
  122. .edit-site-site-icon {
  123. background-image: url(../gwp/img/_gwp_icon.svg) !important;
  124. background: no-repeat;
  125. background-size: 70% !important;
  126. background-position: center !important;
  127. display: block;
  128. width: 25px;
  129. height: 25px;
  130. }
  131. .edit-post-fullscreen-mode-close.components-button {
  132. background-image: url(../gwp/img/_gwp_icon.svg) !important;
  133. background-color: #484c57;
  134. border-bottom: 1px solid #d3d3d3;
  135. background: no-repeat;
  136. background-size: 70% !important;
  137. background-position: center !important;
  138. display: block;
  139. }
  140. .edit-post-fullscreen-mode-close_site-icon {
  141. display: none !important;
  142. }
  143. .edit-post-fullscreen-mode-close.components-button:before {
  144. content: none !important;
  145. }
  146. .edit-post-fullscreen-mode-close.components-button svg {
  147. display: none !important;
  148. }
  149. .edit-site-layout__view-mode-toggle.components-button {
  150. transform: scale(0.8);
  151. border-bottom: none;
  152. }
  153. .is-edit-mode .edit-site-site-hub__view-mode-toggle-container {
  154. border-bottom: 1px solid #d3d3d3;
  155. }
  156. .dashicons-admin-media::before {
  157. content: '\f322' !important;
  158. }
  159. .media-sidebar {
  160. background: #2a2d36 !important;
  161. }
  162. /***********************************************************
  163. ################## Block Editor Styles #####################
  164. .editor-post-title__block,
  165. .editor-post-publish-panel,
  166. .editor-post-publish-panel__header,
  167. .editor-post-publish-panel__content,
  168. .editor-post-publish-panel__footer,
  169. .editor-default-block-appender,
  170. .editor-block-list__block,
  171. .editor-block-list__layout,
  172. .edit-post-editor__list-view-container,
  173. .edit-post-editor__document-overview-panel .edit-post-editor__document-overview-panel__close-button,
  174. .edit-post-editor__document-overview-panel__tab-panel,
  175. .edit-site-layout__header-container,
  176. .edit-post-sidebar__panel-tabs,
  177. .edit-post-header,
  178. .edit-site-page,
  179. .edit-site-page-header,
  180. .edit-site-page-header .components-heading,
  181. .edit-site-layout__content,
  182. .edit-site-sidebar-navigation-screen__title-icon,
  183. .edit-site-editor__list-view-panel-content,
  184. .edit-site-editor__list-view-panel-header,
  185. .edit-site-site-hub__view-mode-toggle-container,
  186. .edit-site-patterns__header,
  187. .edit-site-patterns__pattern-title .edit-site-patterns__pattern-icon,
  188. .edit-site-style-book__tab-panel .components-tab-panel__tabs,
  189. .edit-site-sidebar-edit-mode__panel-tabs,
  190. .edit-site-sidebar-navigation-screen__footer,
  191. .edit-site-header-edit-mode,
  192. .edit-site-layout__actions,
  193. .entities-saved-states__panel-header,
  194. .edit-site-layout__sidebar,
  195. .edit-site-sidebar__content,
  196. .media-modal-content,
  197. .media-frame-content,
  198. .attachments-browser .media-toolbar,
  199. .media-sidebar,
  200. .document-outline__item-content,
  201. .block-editor__container,
  202. .block-editor-block-toolbar,
  203. .block-editor-inserter__menu,
  204. .block-editor-block-types-list__item-icon,
  205. .block-editor-block-contextual-toolbar,
  206. .block-editor-block-breadcrumb__button,
  207. .block-editor-block-patterns-list,
  208. .block-editor-inserter__patterns-category-panel-header,
  209. .block-editor-inserter__quick-inserter-expand,
  210. .block-editor-block-inspector__no-block-tools, .block-editor-block-inspector__no-blocks,
  211. .block-editor-inserter__media-dialog,
  212. .block-editor-block-breadcrumb__current,
  213. .interface-interface-skeleton__body,
  214. .interface-interface-skeleton__sidebar,
  215. .interface-complementary-area,
  216. .interface-complementary-area-header,
  217. .interface-complementary-area h2,
  218. .interface-interface-skeleton__footer,
  219. .interface-interface-skeleton__footer .block-editor-block-breadcrumb,
  220. .entities-saved-states__text-prompt,
  221. .components-button,
  222. .components-panel,
  223. .components-placeholder,
  224. .components-toolbar-group,
  225. .components-panel__body-title,
  226. .components-tab-panel__tabs,
  227. .components-panel__body-toggle,
  228. .components-toggle-group-control,
  229. .components-font-size-picker__controls,
  230. .components-menu-group,
  231. .components-popover__content,
  232. .components-button.block-editor-block-types-list__item,
  233. .components-toolbar-group .block-editor-block-toolbar__block-controls,
  234. .components-base-control,
  235. .components-form-token-field__suggestion,
  236. .components-panel__body-toggle.components-button,
  237. .components-modal__content,
  238. .components-modal__header,
  239. .commands-command-menu__container [cmdk-item]:active,
  240. .commands-command-menu__container [cmdk-item][aria-selected=true]
  241. {
  242. background-color: #484c57;
  243. color: rgb(213, 213, 213);
  244. }
  245. :where(.editor-styles-wrapper) {
  246. background: #484c57;
  247. }
  248. .edit-post-header {
  249. background: #484c57 !important;
  250. }
  251. .block-editor-block-parent-selector__button {
  252. border-color:rgb(213, 213, 213) !important;
  253. }
  254. .block-editor-block-toolbar .components-toolbar,
  255. .block-editor-block-toolbar .components-toolbar-group {
  256. border-color:rgb(213, 213, 213) !important;
  257. border-right-color:rgb(213, 213, 213) !important;
  258. border-left-color: rgb(213, 213, 213) !important;
  259. }
  260. .block-editor-block-contextual-toolbar,
  261. .block-editor-block-toolbar {
  262. border: 1px solid rgb(88, 88, 100) !important;
  263. }
  264. .edit-site-visual-editor {
  265. background-color: #2a2d36;
  266. }
  267. .edit-site-document-actions__command {
  268. background-color: #cacaca;
  269. }
  270. .edit-site-document-actions .edit-site-document-actions__command {
  271. background: #bababa;
  272. }
  273. .edit-site-sidebar-navigation-item.components-item:focus,
  274. .edit-site-sidebar-navigation-item.components-item:hover,
  275. .edit-site-sidebar-navigation-item.components-item[aria-current] {
  276. background:#2a2d36;
  277. color: #e0e0e0;
  278. }
  279. .edit-site-patterns .edit-site-patterns__search input[type=search],
  280. .edit-site-sidebar-navigation-item.components-item[aria-current] {
  281. background: #2a2d36;
  282. }
  283. .components-notice.is-warning {
  284. background: #2a2d36;
  285. }
  286. .components-button {
  287. color: rgb(213, 213, 213);
  288. }
  289. .components-heading {
  290. color: rgb(213, 213, 213);
  291. }
  292. .components-button.is-secondary {
  293. color: #8fff96;
  294. box-shadow: inset 0 0 0 1px #fff;
  295. }
  296. .components-button.is-tertiary {
  297. color: #8fff96;
  298. }
  299. .block-editor-list-view-leaf .block-editor-list-view-block-select-button:hover {
  300. color: #8fff96;
  301. }
  302. .components-button .edit-post-fullscreen-mode-close {
  303. background-color: #484c57;
  304. }
  305. .components-button .edit-site-document-actions__command {
  306. background-color: #cacaca;
  307. }
  308. .components-editor-notices__dismissible, .components-editor-notices__pinned {
  309. color: rgb(213, 213, 213);
  310. }
  311. .commands-command-menu__header input,
  312. .commands-command-menu__header svg,
  313. .commands-command-menu__container [cmdk-input],
  314. .commands-command-menu__container [cmdk-item] {
  315. background-color: #484c57;
  316. color: rgb(213, 213, 213);
  317. fill: rgb(213, 213, 213);
  318. }
  319. .commands-command-menu__container [cmdk-item] svg {
  320. fill:rgb(213, 213, 213);
  321. }
  322. .block-editor-block-contextual-toolbar,
  323. .block-editor-block-toolbar {
  324. border: 1px solid #484c57 !important;
  325. }
  326. .wp-block-image.wp-block-image.is-selected .components-placeholder {
  327. background-color: #484c57;
  328. color: rgb(213, 213, 213);
  329. }
  330. ************************************************************/
  331. /***********************************************************
  332. #################### Gravity Forms #########################
  333. ************************************************************/
  334. header.gform-settings-header {
  335. display: none;
  336. }
  337. #rg_forms_dashboard .postbox-header h2.hndle {
  338. display: none !important;
  339. }
  340. #rg_forms_dashboard .postbox-header:before{
  341. content:'Forms';
  342. font-weight: 700;
  343. font-size: 14px;
  344. padding: 10px 10px 10px 15px;
  345. }
  346. #rg_forms_dashboard .inside i {
  347. font-style: normal !important;
  348. font-weight: 500;
  349. font-size: 13px;
  350. }
  351. #form-editor .gform-settings__wrapper .button.primary {
  352. background-color: #006837 !important;
  353. }
  354. #form-editor .gforms_edit_form {
  355. background-color: #E9E4DC !important;
  356. }
  357. #form-editor .gform-form-toolbar__container {
  358. background-color: #E9E4DC !important;
  359. }
  360. .editor-sidebar .sidebar__panel {
  361. background: #E9E4DC !important;
  362. }
  363. #gform-form-toolbar {
  364. background: #E9E4DC !important;
  365. }
  366. #form-editor .sidebar__nav-wrapper {
  367. background: #E9E4DC !important;
  368. }
  369. #form-editor .ui-widget-content {
  370. background: #E9E4DC !important;
  371. }