style-editor.css 11 KB

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