editor-inline-editing-style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. /* ==========================================================================
  2. ** Normalize
  3. ** ======================================================================== */
  4. html {
  5. direction: ltr;
  6. }
  7. body {
  8. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  9. font-size: 16px;
  10. line-height: 1.4em;
  11. margin: 0;
  12. }
  13. /* Links */
  14. a,
  15. a:visited {
  16. color: #0087be;
  17. text-decoration: none;
  18. }
  19. a:hover,
  20. a:focus,
  21. a:active {
  22. color: $link-highlight;
  23. }
  24. /* ==========================================================================
  25. ** Card
  26. ** ======================================================================= */
  27. .card,
  28. body {
  29. display: block;
  30. position: relative;
  31. margin: 0 auto 10px auto;
  32. padding: 16px;
  33. box-sizing: border-box;
  34. background: white;
  35. box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
  36. }
  37. body {
  38. margin: 0;
  39. background: #f5f5f5;
  40. }
  41. .card:after {
  42. content: ".";
  43. display: block;
  44. height: 0;
  45. clear: both;
  46. visibility: hidden;
  47. }
  48. .card:hover,
  49. .card:focus {
  50. box-shadow: 0 0 0 1px #999, 0 1px 2px #e9eff3;
  51. }
  52. .card .delete-field {
  53. display: block;
  54. float: right;
  55. }
  56. @media ( min-width: 481px ) {
  57. .card {
  58. margin-bottom: 16px;
  59. padding: 24px;
  60. }
  61. body {
  62. padding: 24px;
  63. }
  64. }
  65. .card.is-compact {
  66. margin-bottom: 1px;
  67. }
  68. @media ( min-width: 481px ) {
  69. .card.is-compact {
  70. margin-bottom: 1px;
  71. padding: 16px 24px;
  72. }
  73. }
  74. .card > div {
  75. margin-top: 24px;
  76. }
  77. .card > div:first-child {
  78. margin-top: 0;
  79. }
  80. /* ==========================================================================
  81. ** Labels
  82. ** ======================================================================= */
  83. label {
  84. display: block;
  85. font-size: 14px;
  86. font-weight: 600;
  87. margin-bottom: 5px;
  88. margin-top: 8px;
  89. }
  90. label:first-of-type {
  91. margin-top: 4px;
  92. }
  93. /* ==========================================================================
  94. ** Text Inputs
  95. ** ======================================================================= */
  96. input[type="text"],
  97. input[type="tel"],
  98. input[type="email"],
  99. input[type="url"] {
  100. border-radius: 0;
  101. appearance: none;
  102. box-sizing: border-box;
  103. margin: 0;
  104. padding: 7px 14px;
  105. width: 100%;
  106. color: #2e4453;
  107. font-size: 16px;
  108. line-height: 1.5;
  109. border: 1px solid #c8d7e1;
  110. background-color: #fff;
  111. transition: all .15s ease-in-out;
  112. box-shadow: none;
  113. }
  114. input[type="text"]::placeholder,
  115. input[type="tel"]::placeholder,
  116. input[type="email"]::placeholder,
  117. input[type="url"]::placeholder {
  118. color: #87a6bc;
  119. }
  120. input[type="text"]:hover,
  121. input[type="tel"]:hover,
  122. input[type="email"]:hover,
  123. input[type="url"]:hover {
  124. border-color: #a8bece;
  125. }
  126. input[type="text"]:focus,
  127. input[type="tel"]:focus,
  128. input[type="email"]:focus,
  129. input[type="url"]:focus {
  130. border-color: #0087be;
  131. outline: none;
  132. box-shadow: 0 0 0 2px #78dcfa;
  133. }
  134. input[type="text"]:focus::-ms-clear,
  135. input[type="tel"]:focus::-ms-clear,
  136. input[type="email"]:focus::-ms-clear,
  137. input[type="url"]:focus::-ms-clear {
  138. display: none;
  139. }
  140. input[type="text"]:disabled,
  141. input[type="tel"]:disabled,
  142. input[type="email"]:disabled,
  143. input[type="url"]:disabled {
  144. background: #f3f6f8;
  145. border-color: #e9eff3;
  146. color: #a8bece;
  147. -webkit-text-fill-color: #a8bece;
  148. }
  149. input[type="text"]:disabled:hover,
  150. input[type="tel"]:disabled:hover,
  151. input[type="email"]:disabled:hover,
  152. input[type="url"]:disabled:hover {
  153. cursor: default;
  154. }
  155. input[type="text"]:disabled::placeholder,
  156. input[type="tel"]:disabled::placeholder,
  157. input[type="email"]:disabled::placeholder,
  158. input[type="url"]:disabled::placeholder {
  159. color: #a8bece;
  160. }
  161. /* ==========================================================================
  162. ** Textareas
  163. ** ======================================================================= */
  164. textarea {
  165. border-radius: 0;
  166. appearance: none;
  167. box-sizing: border-box;
  168. margin: 0;
  169. padding: 7px 14px;
  170. height: 92px;
  171. width: 100%;
  172. color: #2e4453;
  173. font-size: 16px;
  174. line-height: 1.5;
  175. border: 1px solid #c8d7e1;
  176. background-color: #fff;
  177. transition: all .15s ease-in-out;
  178. box-shadow: none;
  179. }
  180. textarea::placeholder {
  181. color: #87a6bc;
  182. }
  183. textarea:hover {
  184. border-color: #a8bece;
  185. }
  186. textarea:focus {
  187. border-color: #0087be;
  188. outline: none;
  189. box-shadow: 0 0 0 2px #78dcfa;
  190. }
  191. textarea:focus::-ms-clear {
  192. display: none;
  193. }
  194. textarea:disabled {
  195. background: #f3f6f8;
  196. border-color: #e9eff3;
  197. color: #a8bece;
  198. -webkit-text-fill-color: #a8bece;
  199. }
  200. textarea:disabled:hover {
  201. cursor: default;
  202. }
  203. textarea:disabled::placeholder {
  204. color: #a8bece;
  205. }
  206. /* ==========================================================================
  207. ** Checkboxes
  208. ** ======================================================================= */
  209. .checkbox,
  210. input[type="checkbox"] {
  211. -webkit-appearance: none;
  212. display: inline-block;
  213. box-sizing: border-box;
  214. margin: 2px 0 0;
  215. padding: 7px 14px;
  216. width: 16px;
  217. height: 16px;
  218. float: left;
  219. outline: 0;
  220. padding: 0;
  221. box-shadow: none;
  222. background-color: #fff;
  223. border: 1px solid #c8d7e1;
  224. color: #2e4453;
  225. font-size: 16px;
  226. line-height: 0;
  227. text-align: center;
  228. vertical-align: middle;
  229. appearance: none;
  230. transition: all .15s ease-in-out;
  231. clear: none;
  232. cursor: pointer;
  233. }
  234. .checkbox:checked:before,
  235. input[type="checkbox"]:checked:before {
  236. content: '\f147';
  237. font-family: Dashicons;
  238. margin: -3px 0 0 -4px;
  239. float: left;
  240. display: inline-block;
  241. vertical-align: middle;
  242. width: 16px;
  243. font-size: 20px;
  244. line-height: 1;
  245. -webkit-font-smoothing: antialiased;
  246. -moz-osx-font-smoothing: grayscale;
  247. speak: none;
  248. color: #00aadc;
  249. }
  250. .checkbox:disabled:checked:before,
  251. input[type="checkbox"]:disabled:checked:before {
  252. color: #a8bece;
  253. }
  254. .checkbox:hover,
  255. input[type="checkbox"]:hover {
  256. border-color: #a8bece;
  257. }
  258. .checkbox:focus,
  259. input[type="checkbox"]:focus {
  260. border-color: #0087be;
  261. outline: none;
  262. box-shadow: 0 0 0 2px #78dcfa;
  263. }
  264. .checkbox:disabled,
  265. input[type="checkbox"]:disabled {
  266. background: #f3f6f8;
  267. border-color: #e9eff3;
  268. color: #a8bece;
  269. opacity: 1;
  270. }
  271. .checkbox:disabled:hover,
  272. input[type="checkbox"]:disabled:hover {
  273. cursor: default;
  274. }
  275. .checkbox + span,
  276. input[type="checkbox"] + span {
  277. display: block;
  278. font-weight: normal;
  279. margin-left: 24px;
  280. }
  281. /* ==========================================================================
  282. ** Radio buttons
  283. ** ======================================================================== */
  284. .radio-button,
  285. input[type=radio] {
  286. color: #2e4453;
  287. font-size: 16px;
  288. border: 1px solid #c8d7e1;
  289. background-color: #fff;
  290. transition: all .15s ease-in-out;
  291. box-sizing: border-box;
  292. -webkit-appearance: none;
  293. clear: none;
  294. cursor: pointer;
  295. display: inline-block;
  296. line-height: 0;
  297. height: 16px;
  298. margin: 2px 4px 0 0;
  299. float: left;
  300. outline: 0;
  301. padding: 0;
  302. text-align: center;
  303. vertical-align: middle;
  304. width: 16px;
  305. min-width: 16px;
  306. appearance: none;
  307. border-radius: 50%;
  308. line-height: 10px;
  309. }
  310. .radio-button:hover,
  311. input[type="radio"]:hover {
  312. border-color: #a8bece;
  313. }
  314. .radio-button:focus,
  315. input[type="radio"]:focus {
  316. border-color: #0087be;
  317. outline: none;
  318. box-shadow: 0 0 0 2px #78dcfa;
  319. }
  320. .radio-button:focus::-ms-clear,
  321. input[type="radio"]:focus::-ms-clear {
  322. display: none;
  323. }
  324. .radio-button:checked:before,
  325. input[type="radio"]:checked:before {
  326. float: left;
  327. display: inline-block;
  328. content: '\2022';
  329. margin: 3px;
  330. width: 8px;
  331. height: 8px;
  332. text-indent: -9999px;
  333. background: #00aadc;
  334. vertical-align: middle;
  335. border-radius: 50%;
  336. animation: grow .2s ease-in-out;
  337. }
  338. .radio-button:disabled,
  339. input[type="radio"]:disabled {
  340. background: #f3f6f8;
  341. border-color: #e9eff3;
  342. color: #a8bece;
  343. opacity: 1;
  344. -webkit-text-fill-color: #a8bece;
  345. }
  346. .radio-button:disabled:hover,
  347. input[type="radio"]:disabled:hover {
  348. cursor: default;
  349. }
  350. .radio-button:disabled::placeholder,
  351. input[type="radio"]:disabled::placeholder {
  352. color: #a8bece;
  353. }
  354. .radio-button:disabled:checked::before,
  355. input[type="radio"]:disabled:checked:before {
  356. background: #e9eff3;
  357. }
  358. .radio-button + span,
  359. input[type="radio"] + span {
  360. display: block;
  361. font-weight: normal;
  362. margin-left: 24px;
  363. }
  364. @keyframes grow {
  365. 0% {
  366. transform: scale(0.3);
  367. }
  368. 60% {
  369. transform: scale(1.15);
  370. }
  371. 100% {
  372. transform: scale(1);
  373. }
  374. }
  375. @keyframes grow {
  376. 0% {
  377. transform: scale(0.3);
  378. }
  379. 60% {
  380. transform: scale(1.15);
  381. }
  382. 100% {
  383. transform: scale(1);
  384. }
  385. }
  386. /* ==========================================================================
  387. ** Selects
  388. ** ======================================================================== */
  389. select {
  390. background: #fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;
  391. border-color: #c8d7e1;
  392. border-style: solid;
  393. border-radius: 4px;
  394. border-width: 1px 1px 2px;
  395. color: #2e4453;
  396. cursor: pointer;
  397. display: inline-block;
  398. margin: 0;
  399. outline: 0;
  400. overflow: hidden;
  401. font-size: 14px;
  402. line-height: 21px;
  403. font-weight: 600;
  404. text-overflow: ellipsis;
  405. text-decoration: none;
  406. vertical-align: top;
  407. white-space: nowrap;
  408. box-sizing: border-box;
  409. padding: 7px 32px 9px 14px; // Aligns the text to the 8px baseline grid and adds padding on right to allow for the arrow.
  410. -webkit-appearance: none;
  411. -moz-appearance: none;
  412. appearance: none;
  413. }
  414. select:hover {
  415. background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
  416. }
  417. select:focus {
  418. background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);
  419. border-color: #00aadc;
  420. box-shadow: 0 0 0 2px #78dcfa;
  421. outline: 0;
  422. -moz-outline:none;
  423. -moz-user-focus:ignore;
  424. }
  425. select:disabled,
  426. select:hover:disabled {
  427. background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;;
  428. }
  429. select.is-compact {
  430. min-width: 0;
  431. padding: 0 20px 2px 6px;
  432. margin: 0 4px;
  433. background-position: right 5px center;
  434. background-size: 12px 12px;
  435. }
  436. /* Make it display:block when it follows a label */
  437. label select,
  438. label + select {
  439. display: block;
  440. min-width: 200px;
  441. }
  442. label select.is-compact,
  443. label + select.is-compact {
  444. display: inline-block;
  445. min-width: 0;
  446. }
  447. /* IE: Remove the default arrow */
  448. select::-ms-expand {
  449. display: none;
  450. }
  451. /* IE: Remove default background and color styles on focus */
  452. select::-ms-value {
  453. background: none;
  454. color: #2e4453;
  455. }
  456. /* Firefox: Remove the focus outline, see http://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002 */
  457. select:-moz-focusring {
  458. color: transparent;
  459. text-shadow: 0 0 0 #2e4453;
  460. }
  461. /* ==========================================================================
  462. ** Buttons
  463. ** ======================================================================== */
  464. input[type="submit"] {
  465. padding: 0;
  466. font-size: 14px;
  467. -webkit-appearance: none;
  468. -moz-appearance: none;
  469. appearance: none;
  470. vertical-align: baseline;
  471. background: white;
  472. border-color: #c8d7e1;
  473. border-style: solid;
  474. border-width: 1px 1px 2px;
  475. color: #2e4453;
  476. cursor: pointer;
  477. display: inline-block;
  478. margin: 24px 0 0;
  479. outline: 0;
  480. overflow: hidden;
  481. font-weight: 500;
  482. text-overflow: ellipsis;
  483. text-decoration: none;
  484. vertical-align: top;
  485. box-sizing: border-box;
  486. font-size: 14px;
  487. line-height: 21px;
  488. border-radius: 4px;
  489. padding: 7px 14px 9px;
  490. -webkit-appearance: none;
  491. -moz-appearance: none;
  492. appearance: none;
  493. }
  494. input[type="submit"]:hover {
  495. border-color: #a8bece;
  496. color: #2e4453;
  497. }
  498. input[type="submit"]:active {
  499. border-width: 2px 1px 1px;
  500. }
  501. input[type="submit"]:visited {
  502. color: #2e4453;
  503. }
  504. input[type="submit"][disabled],
  505. input[type="submit"]:disabled {
  506. color: #e9eff3;
  507. background: white;
  508. border-color: #e9eff3;
  509. cursor: default;
  510. }
  511. input[type="submit"][disabled]:active,
  512. input[type="submit"]:disabled:active {
  513. border-width: 1px 1px 2px;
  514. }
  515. input[type="submit"]:focus {
  516. border-color: #00aadc;
  517. box-shadow: 0 0 0 2px #78dcfa;
  518. }
  519. input[type="submit"].hidden {
  520. display: none;
  521. }
  522. input[type="submit"] .gridicon {
  523. position: relative;
  524. top: 4px;
  525. margin-top: -2px;
  526. width: 18px;
  527. height: 18px;
  528. }
  529. input[type="submit"].button-primary {
  530. background: #00aadc;
  531. border-color: #008ab3;
  532. color: white;
  533. }
  534. input[type="submit"].button-primary:hover,
  535. input[type="submit"].button-primary:focus {
  536. border-color: #005082;
  537. color: white;
  538. }
  539. input[type="submit"].button-primary[disabled],
  540. input[type="submit"].button-primary:disabled {
  541. background: #bceefd;
  542. border-color: #8cc9e2;
  543. color: white;
  544. }
  545. input[type="submit"].button-primary {
  546. color: white;
  547. }
  548. /* ==========================================================================
  549. ** Inline editor styles
  550. ** ======================================================================== */
  551. .ui-sortable-handle {
  552. cursor: move;
  553. }
  554. .grunion-section-header {
  555. font-size: 21px;
  556. margin-top: 32px;
  557. font-weight: 600;
  558. }
  559. .grunion-form-settings:hover {
  560. box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
  561. }
  562. .grunion-section-header:first-child {
  563. margin-top: 0;
  564. }
  565. .grunion-type-options {
  566. display: flex;
  567. flex-wrap: wrap;
  568. }
  569. .grunion-type {
  570. flex-grow: 0;
  571. flex-shrink: 0;
  572. }
  573. .grunion-type select {
  574. -webkit-appearance: none;
  575. width: 100%;
  576. }
  577. .grunion-required {
  578. padding: 27px 0 0 16px;
  579. flex-grow: 0;
  580. flex-shrink: 0;
  581. }
  582. .grunion-options {
  583. padding-top: 16px;
  584. }
  585. .grunion-options ol {
  586. list-style: none;
  587. padding: 0;
  588. margin: 8px 0 0;
  589. }
  590. .grunion-options li {
  591. display: flex;
  592. margin-bottom: 16px;
  593. }
  594. .grunion-field-edit .grunion-options {
  595. display: none;
  596. }
  597. .delete-option,
  598. .delete-field {
  599. color: #0087be;
  600. text-decoration: none;
  601. width: 40px;
  602. line-height: 40px;
  603. font-size: 21px;
  604. text-align: center;
  605. font-weight: 600;
  606. }
  607. .delete-field {
  608. position: absolute;
  609. top: 0;
  610. right: 0;
  611. }
  612. .grunion-controls {
  613. display: flex;
  614. flex-wrap: wrap;
  615. }
  616. .grunion-update-controls {
  617. text-align: right;
  618. flex-grow: 1;
  619. }
  620. #add-field {
  621. flex-grow: 0;
  622. }
  623. .delete-option:before,
  624. .delete-field:before {
  625. font-family: Dashicons;
  626. /* content: "\f158"; /* This is the bolder X */
  627. content: "\f335"; /* This is the thinner X */
  628. display: inline-block;
  629. speak: none;
  630. }
  631. .grunion-field-edit.grunion-field-checkbox-multiple .grunion-options,
  632. .grunion-field-edit.grunion-field-radio .grunion-options,
  633. .grunion-field-edit.grunion-field-select .grunion-options {
  634. display: block;
  635. }
  636. .screen-reader-text {
  637. position: absolute;
  638. margin: -1px;
  639. padding: 0;
  640. height: 1px;
  641. width: 1px;
  642. overflow: hidden;
  643. clip: rect(0 0 0 0);
  644. border: 0;
  645. word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
  646. }