forms.css 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807
  1. /* Include margin and padding in the width calculation of input and textarea. */
  2. input,
  3. select,
  4. textarea,
  5. button {
  6. box-sizing: border-box;
  7. font-family: inherit;
  8. font-size: inherit;
  9. font-weight: inherit;
  10. }
  11. textarea,
  12. input {
  13. font-size: 14px;
  14. }
  15. textarea {
  16. overflow: auto;
  17. padding: 2px 6px;
  18. /* inherits font size 14px */
  19. line-height: 1.42857143; /* 20px */
  20. resize: vertical;
  21. }
  22. label {
  23. cursor: pointer;
  24. }
  25. input,
  26. select {
  27. margin: 0 1px;
  28. }
  29. textarea.code {
  30. padding: 4px 6px 1px;
  31. }
  32. input[type="text"],
  33. input[type="password"],
  34. input[type="color"],
  35. input[type="date"],
  36. input[type="datetime"],
  37. input[type="datetime-local"],
  38. input[type="email"],
  39. input[type="month"],
  40. input[type="number"],
  41. input[type="search"],
  42. input[type="tel"],
  43. input[type="time"],
  44. input[type="url"],
  45. input[type="week"],
  46. select,
  47. textarea {
  48. box-shadow: 0 0 0 transparent;
  49. border-radius: 4px;
  50. border: 1px solid #8c8f94;
  51. background-color: #fff;
  52. color: #2c3338;
  53. }
  54. input[type="text"],
  55. input[type="password"],
  56. input[type="date"],
  57. input[type="datetime"],
  58. input[type="datetime-local"],
  59. input[type="email"],
  60. input[type="month"],
  61. input[type="number"],
  62. input[type="search"],
  63. input[type="tel"],
  64. input[type="time"],
  65. input[type="url"],
  66. input[type="week"] {
  67. padding: 0 8px;
  68. /* inherits font size 14px */
  69. line-height: 2; /* 28px */
  70. /* Only necessary for IE11 */
  71. min-height: 30px;
  72. }
  73. ::-webkit-datetime-edit {
  74. /* inherits font size 14px */
  75. line-height: 1.85714286; /* 26px */
  76. }
  77. input[type="text"]:focus,
  78. input[type="password"]:focus,
  79. input[type="color"]:focus,
  80. input[type="date"]:focus,
  81. input[type="datetime"]:focus,
  82. input[type="datetime-local"]:focus,
  83. input[type="email"]:focus,
  84. input[type="month"]:focus,
  85. input[type="number"]:focus,
  86. input[type="search"]:focus,
  87. input[type="tel"]:focus,
  88. input[type="time"]:focus,
  89. input[type="url"]:focus,
  90. input[type="week"]:focus,
  91. input[type="checkbox"]:focus,
  92. input[type="radio"]:focus,
  93. select:focus,
  94. textarea:focus {
  95. border-color: #2271b1;
  96. box-shadow: 0 0 0 1px #2271b1;
  97. /* Only visible in Windows High Contrast mode */
  98. outline: 2px solid transparent;
  99. }
  100. /* rtl:ignore */
  101. input[type="email"],
  102. input[type="url"] {
  103. direction: ltr;
  104. }
  105. input[type="checkbox"],
  106. input[type="radio"] {
  107. border: 1px solid #8c8f94;
  108. border-radius: 4px;
  109. background: #fff;
  110. color: #50575e;
  111. clear: none;
  112. cursor: pointer;
  113. display: inline-block;
  114. line-height: 0;
  115. height: 1rem;
  116. margin: -0.25rem 0.25rem 0 0;
  117. outline: 0;
  118. padding: 0 !important;
  119. text-align: center;
  120. vertical-align: middle;
  121. width: 1rem;
  122. min-width: 1rem;
  123. -webkit-appearance: none;
  124. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  125. transition: .05s border-color ease-in-out;
  126. }
  127. input[type="radio"]:checked + label:before {
  128. color: #8c8f94;
  129. }
  130. .wp-core-ui input[type="reset"]:hover,
  131. .wp-core-ui input[type="reset"]:active {
  132. color: #135e96;
  133. }
  134. td > input[type="checkbox"],
  135. .wp-admin p input[type="checkbox"],
  136. .wp-admin p input[type="radio"] {
  137. margin-top: 0;
  138. }
  139. .wp-admin p label input[type="checkbox"] {
  140. margin-top: -4px;
  141. }
  142. .wp-admin p label input[type="radio"] {
  143. margin-top: -2px;
  144. }
  145. input[type="radio"] {
  146. border-radius: 50%;
  147. margin-right: 0.25rem;
  148. /* 10px not sure if still necessary, comes from the MP6 redesign in r26072 */
  149. line-height: 0.71428571;
  150. }
  151. input[type="checkbox"]:checked::before,
  152. input[type="radio"]:checked::before {
  153. float: left;
  154. display: inline-block;
  155. vertical-align: middle;
  156. width: 1rem;
  157. speak: never;
  158. -webkit-font-smoothing: antialiased;
  159. -moz-osx-font-smoothing: grayscale;
  160. }
  161. input[type="checkbox"]:checked::before {
  162. /* Use the "Yes" SVG Dashicon */
  163. content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");
  164. margin: -0.1875rem 0 0 -0.25rem;
  165. height: 1.3125rem;
  166. width: 1.3125rem;
  167. }
  168. input[type="radio"]:checked::before {
  169. content: "";
  170. border-radius: 50%;
  171. width: 0.5rem; /* 8px */
  172. height: 0.5rem; /* 8px */
  173. margin: 0.1875rem; /* 3px */
  174. background-color: #3582c4;
  175. /* 16px not sure if still necessary, comes from the MP6 redesign in r26072 */
  176. line-height: 1.14285714;
  177. }
  178. @-moz-document url-prefix() {
  179. input[type="checkbox"],
  180. input[type="radio"],
  181. .form-table input.tog {
  182. margin-bottom: -1px;
  183. }
  184. }
  185. /* Search */
  186. input[type="search"] {
  187. -webkit-appearance: textfield;
  188. }
  189. input[type="search"]::-webkit-search-decoration {
  190. display: none;
  191. }
  192. .wp-admin input[type="file"] {
  193. padding: 3px 0;
  194. cursor: pointer;
  195. }
  196. input.readonly,
  197. input[readonly],
  198. textarea.readonly,
  199. textarea[readonly] {
  200. background-color: #f0f0f1;
  201. }
  202. ::-webkit-input-placeholder {
  203. color: #646970;
  204. }
  205. ::-moz-placeholder {
  206. color: #646970;
  207. opacity: 1;
  208. }
  209. :-ms-input-placeholder {
  210. color: #646970;
  211. }
  212. .form-invalid .form-required,
  213. .form-invalid .form-required:focus,
  214. .form-invalid.form-required input,
  215. .form-invalid.form-required input:focus,
  216. .form-invalid.form-required select,
  217. .form-invalid.form-required select:focus {
  218. border-color: #d63638 !important;
  219. box-shadow: 0 0 2px rgba(214, 54, 56, 0.8);
  220. }
  221. .form-table .form-required.form-invalid td:after {
  222. content: "\f534";
  223. font: normal 20px/1 dashicons;
  224. color: #d63638;
  225. margin-left: -25px;
  226. vertical-align: middle;
  227. }
  228. /* Adjust error indicator for password layout */
  229. .form-table .form-required.user-pass1-wrap.form-invalid td:after {
  230. content: "";
  231. }
  232. .form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
  233. content: "\f534";
  234. font: normal 20px/1 dashicons;
  235. color: #d63638;
  236. margin: 0 6px 0 -29px;
  237. vertical-align: middle;
  238. }
  239. .form-input-tip {
  240. color: #646970;
  241. }
  242. input:disabled,
  243. input.disabled,
  244. select:disabled,
  245. select.disabled,
  246. textarea:disabled,
  247. textarea.disabled {
  248. background: rgba(255, 255, 255, 0.5);
  249. border-color: rgba(220, 220, 222, 0.75);
  250. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  251. color: rgba(44, 51, 56, 0.5);
  252. }
  253. input[type="file"]:disabled,
  254. input[type="file"].disabled,
  255. input[type="range"]:disabled,
  256. input[type="range"].disabled {
  257. background: none;
  258. box-shadow: none;
  259. cursor: default;
  260. }
  261. input[type="checkbox"]:disabled,
  262. input[type="checkbox"].disabled,
  263. input[type="radio"]:disabled,
  264. input[type="radio"].disabled,
  265. input[type="checkbox"]:disabled:checked:before,
  266. input[type="checkbox"].disabled:checked:before,
  267. input[type="radio"]:disabled:checked:before,
  268. input[type="radio"].disabled:checked:before {
  269. opacity: 0.7;
  270. }
  271. /*------------------------------------------------------------------------------
  272. 2.0 - Forms
  273. ------------------------------------------------------------------------------*/
  274. /* Select styles are based on the default button in buttons.css */
  275. .wp-core-ui select {
  276. font-size: 14px;
  277. line-height: 2; /* 28px */
  278. color: #2c3338;
  279. border-color: #8c8f94;
  280. box-shadow: none;
  281. border-radius: 3px;
  282. padding: 0 24px 0 8px;
  283. min-height: 30px;
  284. max-width: 25rem;
  285. -webkit-appearance: none;
  286. /* The SVG is arrow-down-alt2 from Dashicons. */
  287. background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
  288. background-size: 16px 16px;
  289. cursor: pointer;
  290. vertical-align: middle;
  291. }
  292. .wp-core-ui select:hover {
  293. color: #2271b1;
  294. }
  295. .wp-core-ui select:focus {
  296. border-color: #2271b1;
  297. color: #0a4b78;
  298. box-shadow: 0 0 0 1px #2271b1;
  299. }
  300. .wp-core-ui select:active {
  301. border-color: #8c8f94;
  302. box-shadow: none;
  303. }
  304. .wp-core-ui select.disabled,
  305. .wp-core-ui select:disabled {
  306. color: #a7aaad;
  307. border-color: #dcdcde;
  308. background-color: #f6f7f7;
  309. /* The SVG is arrow-down-alt2 from Dashicons. */
  310. background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23a0a5aa%22%2F%3E%3C%2Fsvg%3E');
  311. box-shadow: none;
  312. text-shadow: 0 1px 0 #fff;
  313. cursor: default;
  314. transform: none;
  315. }
  316. /* Reset Firefox inner outline that appears on :focus. */
  317. /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
  318. .wp-core-ui select:-moz-focusring {
  319. color: transparent;
  320. text-shadow: 0 0 0 #0a4b78;
  321. }
  322. /* Remove background focus style from IE11 while keeping focus style available on option elements. */
  323. .wp-core-ui select::-ms-value {
  324. background: transparent;
  325. color: #50575e;
  326. }
  327. .wp-core-ui select:hover::-ms-value {
  328. color: #2271b1;
  329. }
  330. .wp-core-ui select:focus::-ms-value {
  331. color: #0a4b78;
  332. }
  333. .wp-core-ui select.disabled::-ms-value,
  334. .wp-core-ui select:disabled::-ms-value {
  335. color: #a7aaad;
  336. }
  337. /* Hide the native down arrow for select element on IE. */
  338. .wp-core-ui select::-ms-expand {
  339. display: none;
  340. }
  341. .wp-admin .button-cancel {
  342. display: inline-block;
  343. min-height: 28px;
  344. padding: 0 5px;
  345. line-height: 2;
  346. }
  347. .meta-box-sortables select {
  348. max-width: 100%;
  349. }
  350. .meta-box-sortables input {
  351. vertical-align: middle;
  352. }
  353. .misc-pub-post-status select {
  354. margin-top: 0;
  355. }
  356. .wp-core-ui select[multiple] {
  357. height: auto;
  358. padding-right: 8px;
  359. background: #fff;
  360. }
  361. .submit {
  362. padding: 1.5em 0;
  363. margin: 5px 0;
  364. border-bottom-left-radius: 3px;
  365. border-bottom-right-radius: 3px;
  366. border: none;
  367. }
  368. form p.submit a.cancel:hover {
  369. text-decoration: none;
  370. }
  371. p.submit {
  372. text-align: left;
  373. max-width: 100%;
  374. margin-top: 20px;
  375. padding-top: 10px;
  376. }
  377. .textright p.submit {
  378. border: none;
  379. text-align: right;
  380. }
  381. table.form-table + p.submit,
  382. table.form-table + input + p.submit,
  383. table.form-table + input + input + p.submit {
  384. border-top: none;
  385. padding-top: 0;
  386. }
  387. #minor-publishing-actions input,
  388. #major-publishing-actions input,
  389. #minor-publishing-actions .preview {
  390. text-align: center;
  391. }
  392. textarea.all-options,
  393. input.all-options {
  394. width: 250px;
  395. }
  396. input.large-text,
  397. textarea.large-text {
  398. width: 99%;
  399. }
  400. .regular-text {
  401. width: 25em;
  402. }
  403. input.small-text {
  404. width: 50px;
  405. padding: 0 6px;
  406. }
  407. label input.small-text {
  408. margin-top: -4px;
  409. }
  410. input[type="number"].small-text {
  411. width: 65px;
  412. padding-right: 0;
  413. }
  414. input.tiny-text {
  415. width: 35px;
  416. }
  417. input[type="number"].tiny-text {
  418. width: 45px;
  419. padding-right: 0;
  420. }
  421. #doaction,
  422. #doaction2,
  423. #post-query-submit {
  424. margin: 0 8px 0 0;
  425. }
  426. /* @since 5.7.0 secondary bulk action controls require JS. */
  427. .no-js label[for="bulk-action-selector-bottom"],
  428. .no-js select#bulk-action-selector-bottom,
  429. .no-js input#doaction2,
  430. .no-js label[for="new_role2"],
  431. .no-js select#new_role2,
  432. .no-js input#changeit2 {
  433. display: none;
  434. }
  435. .tablenav .actions select {
  436. float: left;
  437. margin-right: 6px;
  438. max-width: 12.5rem;
  439. }
  440. #timezone_string option {
  441. margin-left: 1em;
  442. }
  443. .wp-hide-pw > .dashicons,
  444. .wp-cancel-pw > .dashicons {
  445. position: relative;
  446. top: 3px;
  447. width: 1.25rem;
  448. height: 1.25rem;
  449. top: 0.25rem;
  450. font-size: 20px;
  451. }
  452. .wp-cancel-pw .dashicons-no {
  453. display: none;
  454. }
  455. label,
  456. #your-profile label + a {
  457. vertical-align: middle;
  458. }
  459. fieldset label,
  460. #your-profile label + a {
  461. vertical-align: middle;
  462. }
  463. .options-media-php [for*="_size_"] {
  464. min-width: 10em;
  465. vertical-align: baseline;
  466. }
  467. .options-media-php .small-text[name*="_size_"] {
  468. margin: 0 0 1em;
  469. }
  470. .wp-generate-pw {
  471. margin-top: 1em;
  472. }
  473. .wp-pwd {
  474. margin-top: 1em;
  475. }
  476. #misc-publishing-actions label {
  477. vertical-align: baseline;
  478. }
  479. #pass-strength-result {
  480. background-color: #f0f0f1;
  481. border: 1px solid #dcdcde;
  482. color: #1d2327;
  483. margin: -1px 1px 5px;
  484. padding: 3px 5px;
  485. text-align: center;
  486. width: 25em;
  487. box-sizing: border-box;
  488. opacity: 0;
  489. }
  490. #pass-strength-result.short {
  491. background-color: #ffabaf;
  492. border-color: #e65054;
  493. opacity: 1;
  494. }
  495. #pass-strength-result.bad {
  496. background-color: #facfd2;
  497. border-color: #f86368;
  498. opacity: 1;
  499. }
  500. #pass-strength-result.good {
  501. background-color: #f5e6ab;
  502. border-color: #f0c33c;
  503. opacity: 1;
  504. }
  505. #pass-strength-result.strong {
  506. background-color: #b8e6bf;
  507. border-color: #68de7c;
  508. opacity: 1;
  509. }
  510. .password-input-wrapper input {
  511. font-family: Consolas, Monaco, monospace;
  512. }
  513. #pass1.short, #pass1-text.short {
  514. border-color: #e65054;
  515. }
  516. #pass1.bad, #pass1-text.bad {
  517. border-color: #f86368;
  518. }
  519. #pass1.good, #pass1-text.good {
  520. border-color: #f0c33c;
  521. }
  522. #pass1.strong, #pass1-text.strong {
  523. border-color: #68de7c;
  524. }
  525. .pw-weak {
  526. display: none;
  527. }
  528. .indicator-hint {
  529. padding-top: 8px;
  530. }
  531. .wp-pwd [type="text"],
  532. .wp-pwd [type="password"] {
  533. margin-bottom: 0;
  534. /* Same height as the buttons */
  535. min-height: 30px;
  536. }
  537. /* Hide the Edge "reveal password" native button */
  538. .wp-pwd input::-ms-reveal {
  539. display: none;
  540. }
  541. #pass1-text,
  542. .show-password #pass1 {
  543. display: none;
  544. }
  545. #pass1-text::-ms-clear {
  546. display: none;
  547. }
  548. .show-password #pass1-text {
  549. display: inline-block;
  550. }
  551. p.search-box {
  552. float: right;
  553. margin: 0;
  554. }
  555. .network-admin.themes-php p.search-box {
  556. clear: left;
  557. }
  558. .search-box input[name="s"],
  559. .tablenav .search-plugins input[name="s"],
  560. .tagsdiv .newtag {
  561. float: left;
  562. margin: 0 4px 0 0;
  563. }
  564. .js.plugins-php .search-box .wp-filter-search {
  565. margin: 0;
  566. width: 280px;
  567. }
  568. input[type="text"].ui-autocomplete-loading,
  569. input[type="email"].ui-autocomplete-loading {
  570. background-image: url(../images/loading.gif);
  571. background-repeat: no-repeat;
  572. background-position: right center;
  573. visibility: visible;
  574. }
  575. input.ui-autocomplete-input.open {
  576. border-bottom-color: transparent;
  577. }
  578. ul#add-to-blog-users {
  579. margin: 0 0 0 14px;
  580. }
  581. .ui-autocomplete {
  582. padding: 0;
  583. margin: 0;
  584. list-style: none;
  585. position: absolute;
  586. z-index: 10000;
  587. border: 1px solid #4f94d4;
  588. box-shadow: 0 1px 2px rgba(79, 148, 212, 0.8);
  589. background-color: #fff;
  590. }
  591. .ui-autocomplete li {
  592. margin-bottom: 0;
  593. padding: 4px 10px;
  594. white-space: nowrap;
  595. text-align: left;
  596. cursor: pointer;
  597. }
  598. /* Colors for the wplink toolbar autocomplete. */
  599. .ui-autocomplete .ui-state-focus {
  600. background-color: #dcdcde;
  601. }
  602. /* Colors for the tags autocomplete. */
  603. .wp-tags-autocomplete .ui-state-focus,
  604. .wp-tags-autocomplete [aria-selected="true"] {
  605. background-color: #2271b1;
  606. color: #fff;
  607. /* Only visible in Windows High Contrast mode */
  608. outline: 2px solid transparent;
  609. }
  610. /*------------------------------------------------------------------------------
  611. 15.0 - Comments Screen
  612. ------------------------------------------------------------------------------*/
  613. .form-table {
  614. border-collapse: collapse;
  615. margin-top: 0.5em;
  616. width: 100%;
  617. clear: both;
  618. }
  619. .form-table,
  620. .form-table td,
  621. .form-table th,
  622. .form-table td p {
  623. font-size: 14px;
  624. }
  625. .form-table td {
  626. margin-bottom: 9px;
  627. padding: 15px 10px;
  628. line-height: 1.3;
  629. vertical-align: middle;
  630. }
  631. .form-table th,
  632. .form-wrap label {
  633. color: #1d2327;
  634. font-weight: 400;
  635. text-shadow: none;
  636. vertical-align: baseline;
  637. }
  638. .form-table th {
  639. vertical-align: top;
  640. text-align: left;
  641. padding: 20px 10px 20px 0;
  642. width: 200px;
  643. line-height: 1.3;
  644. font-weight: 600;
  645. }
  646. .form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
  647. .form-table .td-full {
  648. width: auto;
  649. padding: 20px 10px 20px 0;
  650. font-weight: 400;
  651. }
  652. .form-table td p {
  653. margin-top: 4px;
  654. margin-bottom: 0;
  655. }
  656. .form-table .date-time-doc {
  657. margin-top: 1em;
  658. }
  659. .form-table p.timezone-info {
  660. margin: 1em 0;
  661. display: flex;
  662. flex-direction: column;
  663. }
  664. #local-time {
  665. margin-top: 0.5em;
  666. }
  667. .form-table td fieldset label {
  668. margin: 0.35em 0 0.5em !important;
  669. display: inline-block;
  670. }
  671. .form-table td fieldset p label {
  672. margin-top: 0 !important;
  673. }
  674. .form-table td fieldset label,
  675. .form-table td fieldset p,
  676. .form-table td fieldset li {
  677. line-height: 1.4;
  678. }
  679. .form-table input.tog,
  680. .form-table input[type="radio"] {
  681. margin-top: -4px;
  682. margin-right: 4px;
  683. float: none;
  684. }
  685. .form-table .pre {
  686. padding: 8px;
  687. margin: 0;
  688. }
  689. table.form-table td .updated {
  690. font-size: 13px;
  691. }
  692. table.form-table td .updated p {
  693. font-size: 13px;
  694. margin: 0.3em 0;
  695. }
  696. /*------------------------------------------------------------------------------
  697. 18.0 - Users
  698. ------------------------------------------------------------------------------*/
  699. #profile-page .form-table textarea {
  700. width: 500px;
  701. margin-bottom: 6px;
  702. }
  703. #profile-page .form-table #rich_editing {
  704. margin-right: 5px
  705. }
  706. #your-profile legend {
  707. font-size: 22px;
  708. }
  709. #display_name {
  710. width: 15em;
  711. }
  712. #adduser .form-field input,
  713. #createuser .form-field input {
  714. width: 25em;
  715. }
  716. .color-option {
  717. display: inline-block;
  718. width: 24%;
  719. padding: 5px 15px 15px;
  720. box-sizing: border-box;
  721. margin-bottom: 3px;
  722. }
  723. .color-option:hover,
  724. .color-option.selected {
  725. background: #dcdcde;
  726. }
  727. .color-palette {
  728. width: 100%;
  729. border-spacing: 0;
  730. border-collapse: collapse;
  731. }
  732. .color-palette td {
  733. height: 20px;
  734. padding: 0;
  735. border: none;
  736. }
  737. .color-option {
  738. cursor: pointer;
  739. }
  740. .create-application-password .form-field {
  741. max-width: 25em;
  742. }
  743. .create-application-password label {
  744. font-weight: 600;
  745. }
  746. .create-application-password p.submit {
  747. margin-bottom: 0;
  748. padding-bottom: 0;
  749. display: block;
  750. }
  751. #application-passwords-section .notice {
  752. margin-top: 20px;
  753. margin-bottom: 0;
  754. word-wrap: break-word;
  755. }
  756. .application-password-display input.code {
  757. width: 19em;
  758. }
  759. .auth-app-card.card {
  760. max-width: 768px;
  761. }
  762. .authorize-application-php .form-wrap p {
  763. display: block;
  764. }
  765. /*------------------------------------------------------------------------------
  766. 19.0 - Tools
  767. ------------------------------------------------------------------------------*/
  768. .tool-box .title {
  769. margin: 8px 0;
  770. font-size: 18px;
  771. font-weight: 400;
  772. line-height: 24px;
  773. }
  774. .label-responsive {
  775. vertical-align: middle;
  776. }
  777. #export-filters p {
  778. margin: 0 0 1em;
  779. }
  780. #export-filters p.submit {
  781. margin: 7px 0 5px;
  782. }
  783. /* Card styles */
  784. .card {
  785. position: relative;
  786. margin-top: 20px;
  787. padding: 0.7em 2em 1em;
  788. min-width: 255px;
  789. max-width: 520px;
  790. border: 1px solid #c3c4c7;
  791. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  792. background: #fff;
  793. box-sizing: border-box;
  794. }
  795. /* Press this styles */
  796. .pressthis h4 {
  797. margin: 2em 0 1em;
  798. }
  799. .pressthis textarea {
  800. width: 100%;
  801. font-size: 1em;
  802. }
  803. #pressthis-code-wrap {
  804. overflow: auto;
  805. }
  806. .pressthis-bookmarklet-wrapper {
  807. margin: 20px 0 8px;
  808. vertical-align: top;
  809. position: relative;
  810. z-index: 1;
  811. }
  812. .pressthis-bookmarklet,
  813. .pressthis-bookmarklet:hover,
  814. .pressthis-bookmarklet:focus,
  815. .pressthis-bookmarklet:active {
  816. display: inline-block;
  817. position: relative;
  818. cursor: move;
  819. color: #2c3338;
  820. background: #dcdcde;
  821. border-radius: 5px;
  822. border: 1px solid #c3c4c7;
  823. font-style: normal;
  824. line-height: 16px;
  825. font-size: 14px;
  826. text-decoration: none;
  827. }
  828. .pressthis-bookmarklet:active {
  829. outline: none;
  830. }
  831. .pressthis-bookmarklet:after {
  832. content: "";
  833. width: 70%;
  834. height: 55%;
  835. z-index: -1;
  836. position: absolute;
  837. right: 10px;
  838. bottom: 9px;
  839. background: transparent;
  840. transform: skew(20deg) rotate(6deg);
  841. box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
  842. }
  843. .pressthis-bookmarklet:hover:after {
  844. transform: skew(20deg) rotate(9deg);
  845. box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
  846. }
  847. .pressthis-bookmarklet span {
  848. display: inline-block;
  849. margin: 0;
  850. padding: 0 12px 8px 9px;
  851. }
  852. .pressthis-bookmarklet span:before {
  853. color: #787c82;
  854. font: normal 20px/1 dashicons;
  855. content: "\f157";
  856. position: relative;
  857. display: inline-block;
  858. top: 4px;
  859. margin-right: 4px;
  860. }
  861. .pressthis-js-toggle {
  862. margin-left: 10px;
  863. padding: 0;
  864. height: auto;
  865. vertical-align: top;
  866. }
  867. /* to override the button class being applied */
  868. .pressthis-js-toggle.button.button {
  869. margin-left: 10px;
  870. padding: 0;
  871. height: auto;
  872. vertical-align: top;
  873. }
  874. .pressthis-js-toggle .dashicons {
  875. margin: 5px 8px 6px 7px;
  876. color: #50575e;
  877. }
  878. /*------------------------------------------------------------------------------
  879. 20.0 - Settings
  880. ------------------------------------------------------------------------------*/
  881. .timezone-info code {
  882. white-space: nowrap;
  883. }
  884. .defaultavatarpicker .avatar {
  885. margin: 2px 0;
  886. vertical-align: middle;
  887. }
  888. .options-general-php .date-time-text {
  889. display: inline-block;
  890. min-width: 10em;
  891. }
  892. .options-general-php input.small-text {
  893. width: 56px;
  894. margin: -2px 0;
  895. }
  896. .options-general-php .spinner {
  897. float: none;
  898. margin: -3px 3px 0;
  899. }
  900. .settings-php .language-install-spinner,
  901. .options-general-php .language-install-spinner {
  902. display: inline-block;
  903. float: none;
  904. margin: -3px 5px 0;
  905. vertical-align: middle;
  906. }
  907. .form-table.permalink-structure .available-structure-tags {
  908. margin-top: 8px;
  909. }
  910. .form-table.permalink-structure .available-structure-tags li {
  911. float: left;
  912. margin-right: 5px;
  913. }
  914. .form-table.permalink-structure .structure-selection .row {
  915. margin-bottom: 16px;
  916. }
  917. .form-table.permalink-structure .structure-selection .row > div {
  918. max-width: calc(100% - 24px);
  919. display: inline-flex;
  920. flex-direction: column;
  921. }
  922. .form-table.permalink-structure .structure-selection .row label {
  923. font-weight: 600;
  924. }
  925. .form-table.permalink-structure .structure-selection .row p {
  926. margin-top: 0;
  927. }
  928. /*------------------------------------------------------------------------------
  929. 21.0 - Network Admin
  930. ------------------------------------------------------------------------------*/
  931. .setup-php textarea {
  932. max-width: 100%;
  933. }
  934. .form-field #site-address {
  935. max-width: 25em;
  936. }
  937. .form-field #domain {
  938. max-width: 22em;
  939. }
  940. .form-field #site-title,
  941. .form-field #admin-email,
  942. .form-field #path,
  943. .form-field #blog_registered,
  944. .form-field #blog_last_updated {
  945. max-width: 25em;
  946. }
  947. .form-field #path {
  948. margin-bottom: 5px;
  949. }
  950. #search-users,
  951. #search-sites {
  952. max-width: 60%;
  953. }
  954. .configuration-rules-label {
  955. font-weight: 600;
  956. margin-bottom: 4px;
  957. }
  958. /*------------------------------------------------------------------------------
  959. Credentials check dialog for Install and Updates
  960. ------------------------------------------------------------------------------*/
  961. .request-filesystem-credentials-dialog {
  962. display: none;
  963. /* The customizer uses visibility: hidden on the body for full-overlays. */
  964. visibility: visible;
  965. }
  966. .request-filesystem-credentials-dialog .notification-dialog {
  967. top: 10%;
  968. max-height: 85%;
  969. }
  970. .request-filesystem-credentials-dialog-content {
  971. margin: 25px;
  972. }
  973. #request-filesystem-credentials-title {
  974. font-size: 1.3em;
  975. margin: 1em 0;
  976. }
  977. .request-filesystem-credentials-form legend {
  978. font-size: 1em;
  979. padding: 1.33em 0;
  980. font-weight: 600;
  981. }
  982. .request-filesystem-credentials-form input[type="text"],
  983. .request-filesystem-credentials-form input[type="password"] {
  984. display: block;
  985. }
  986. .request-filesystem-credentials-dialog input[type="text"],
  987. .request-filesystem-credentials-dialog input[type="password"] {
  988. width: 100%;
  989. }
  990. .request-filesystem-credentials-form .field-title {
  991. font-weight: 600;
  992. }
  993. .request-filesystem-credentials-dialog label[for="hostname"],
  994. .request-filesystem-credentials-dialog label[for="public_key"],
  995. .request-filesystem-credentials-dialog label[for="private_key"] {
  996. display: block;
  997. margin-bottom: 1em;
  998. }
  999. .request-filesystem-credentials-dialog .ftp-username,
  1000. .request-filesystem-credentials-dialog .ftp-password {
  1001. float: left;
  1002. width: 48%;
  1003. }
  1004. .request-filesystem-credentials-dialog .ftp-password {
  1005. margin-left: 4%;
  1006. }
  1007. .request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons {
  1008. text-align: right;
  1009. }
  1010. .request-filesystem-credentials-dialog label[for="ftp"] {
  1011. margin-right: 10px;
  1012. }
  1013. .request-filesystem-credentials-dialog #auth-keys-desc {
  1014. margin-bottom: 0;
  1015. }
  1016. #request-filesystem-credentials-dialog .button:not(:last-child) {
  1017. margin-right: 10px;
  1018. }
  1019. #request-filesystem-credentials-form .cancel-button {
  1020. display: none;
  1021. }
  1022. #request-filesystem-credentials-dialog .cancel-button {
  1023. display: inline;
  1024. }
  1025. .request-filesystem-credentials-dialog .ftp-username,
  1026. .request-filesystem-credentials-dialog .ftp-password {
  1027. float: none;
  1028. width: auto;
  1029. }
  1030. .request-filesystem-credentials-dialog .ftp-username {
  1031. margin-bottom: 1em;
  1032. }
  1033. .request-filesystem-credentials-dialog .ftp-password {
  1034. margin: 0;
  1035. }
  1036. .request-filesystem-credentials-dialog .ftp-password em {
  1037. color: #8c8f94;
  1038. }
  1039. .request-filesystem-credentials-dialog label {
  1040. display: block;
  1041. line-height: 1.5;
  1042. margin-bottom: 1em;
  1043. }
  1044. .request-filesystem-credentials-form legend {
  1045. padding-bottom: 0;
  1046. }
  1047. .request-filesystem-credentials-form #ssh-keys legend {
  1048. font-size: 1.3em;
  1049. }
  1050. .request-filesystem-credentials-form .notice {
  1051. margin: 0 0 20px;
  1052. clear: both;
  1053. }
  1054. /*------------------------------------------------------------------------------
  1055. Privacy Policy settings screen
  1056. ------------------------------------------------------------------------------*/
  1057. .tools-privacy-policy-page form {
  1058. margin-bottom: 1.3em;
  1059. }
  1060. .tools-privacy-policy-page input.button {
  1061. margin: 0 1px 0 6px;
  1062. }
  1063. .tools-privacy-policy-page select {
  1064. margin: 0 1px 0.5em 6px;
  1065. }
  1066. .tools-privacy-edit {
  1067. margin: 1.5em 0;
  1068. }
  1069. .tools-privacy-policy-page span {
  1070. line-height: 2;
  1071. }
  1072. .privacy_requests .column-email {
  1073. width: 40%;
  1074. }
  1075. .privacy_requests .column-type {
  1076. text-align: center;
  1077. }
  1078. .privacy_requests thead td:first-child,
  1079. .privacy_requests tfoot td:first-child {
  1080. border-left: 4px solid #fff;
  1081. }
  1082. .privacy_requests tbody th {
  1083. border-left: 4px solid #fff;
  1084. background: #fff;
  1085. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  1086. }
  1087. .privacy_requests .row-actions {
  1088. color: #787c82;
  1089. }
  1090. .privacy_requests .row-actions.processing {
  1091. position: static;
  1092. }
  1093. .privacy_requests tbody .has-request-results th {
  1094. box-shadow: none;
  1095. }
  1096. .privacy_requests tbody .request-results th .notice {
  1097. margin: 0 0 5px;
  1098. }
  1099. .privacy_requests tbody td {
  1100. background: #fff;
  1101. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  1102. }
  1103. .privacy_requests tbody .has-request-results td {
  1104. box-shadow: none;
  1105. }
  1106. .privacy_requests .next_steps .button {
  1107. word-wrap: break-word;
  1108. white-space: normal;
  1109. }
  1110. .privacy_requests .status-request-confirmed th,
  1111. .privacy_requests .status-request-confirmed td {
  1112. background-color: #fff;
  1113. border-left-color: #72aee6;
  1114. }
  1115. .privacy_requests .status-request-failed th,
  1116. .privacy_requests .status-request-failed td {
  1117. background-color: #f6f7f7;
  1118. border-left-color: #d63638;
  1119. }
  1120. .privacy_requests .export_personal_data_failed a {
  1121. vertical-align: baseline;
  1122. }
  1123. .status-label {
  1124. font-weight: 600;
  1125. }
  1126. .status-label.status-request-pending {
  1127. font-weight: 400;
  1128. font-style: italic;
  1129. color: #646970;
  1130. }
  1131. .status-label.status-request-failed {
  1132. color: #d63638;
  1133. font-weight: 600;
  1134. }
  1135. .wp-privacy-request-form {
  1136. clear: both;
  1137. }
  1138. .wp-privacy-request-form-field {
  1139. margin: 1.5em 0;
  1140. }
  1141. .wp-privacy-request-form input {
  1142. margin: 0;
  1143. }
  1144. .email-personal-data::before {
  1145. display: inline-block;
  1146. font: normal 20px/1 dashicons;
  1147. margin: 3px 5px 0 -2px;
  1148. speak: never;
  1149. -webkit-font-smoothing: antialiased;
  1150. -moz-osx-font-smoothing: grayscale;
  1151. vertical-align: top;
  1152. }
  1153. .email-personal-data--sending::before {
  1154. color: #d63638;
  1155. content: "\f463";
  1156. animation: rotation 2s infinite linear;
  1157. }
  1158. .email-personal-data--sent::before {
  1159. color: #68de7c;
  1160. content: "\f147";
  1161. }
  1162. /* =Media Queries
  1163. -------------------------------------------------------------- */
  1164. @media screen and (max-width: 782px) {
  1165. /* Input Elements */
  1166. textarea {
  1167. -webkit-appearance: none;
  1168. }
  1169. input[type="text"],
  1170. input[type="password"],
  1171. input[type="date"],
  1172. input[type="datetime"],
  1173. input[type="datetime-local"],
  1174. input[type="email"],
  1175. input[type="month"],
  1176. input[type="number"],
  1177. input[type="search"],
  1178. input[type="tel"],
  1179. input[type="time"],
  1180. input[type="url"],
  1181. input[type="week"] {
  1182. -webkit-appearance: none;
  1183. padding: 3px 10px;
  1184. /* Only necessary for IE11 */
  1185. min-height: 40px;
  1186. }
  1187. ::-webkit-datetime-edit {
  1188. line-height: 1.875; /* 30px */
  1189. }
  1190. input[type="checkbox"],
  1191. .widefat th input[type="checkbox"],
  1192. .widefat thead td input[type="checkbox"],
  1193. .widefat tfoot td input[type="checkbox"] {
  1194. -webkit-appearance: none;
  1195. }
  1196. .widefat th input[type="checkbox"],
  1197. .widefat thead td input[type="checkbox"],
  1198. .widefat tfoot td input[type="checkbox"] {
  1199. margin-bottom: 8px;
  1200. }
  1201. input[type="checkbox"]:checked:before,
  1202. .widefat th input[type="checkbox"]:before,
  1203. .widefat thead td input[type="checkbox"]:before,
  1204. .widefat tfoot td input[type="checkbox"]:before {
  1205. width: 1.875rem;
  1206. height: 1.875rem;
  1207. margin: -0.1875rem -0.3125rem;
  1208. }
  1209. input[type="radio"],
  1210. input[type="checkbox"] {
  1211. height: 1.5625rem;
  1212. width: 1.5625rem;
  1213. }
  1214. .wp-admin p input[type="checkbox"],
  1215. .wp-admin p input[type="radio"] {
  1216. margin-top: -0.1875rem;
  1217. }
  1218. input[type="radio"]:checked:before {
  1219. vertical-align: middle;
  1220. width: 0.5625rem;
  1221. height: 0.5625rem;
  1222. margin: 0.4375rem;
  1223. line-height: 0.76190476;
  1224. }
  1225. .wp-upload-form input[type="submit"] {
  1226. margin-top: 10px;
  1227. }
  1228. .wp-core-ui select,
  1229. .wp-admin .form-table select {
  1230. min-height: 40px;
  1231. font-size: 16px;
  1232. line-height: 1.625; /* 26px */
  1233. padding: 5px 24px 5px 8px;
  1234. }
  1235. .wp-admin .button-cancel {
  1236. margin-bottom: 0;
  1237. padding: 2px 0;
  1238. font-size: 14px;
  1239. vertical-align: middle;
  1240. }
  1241. #adduser .form-field input,
  1242. #createuser .form-field input {
  1243. width: 100%;
  1244. }
  1245. .form-table {
  1246. box-sizing: border-box;
  1247. }
  1248. .form-table th,
  1249. .form-table td,
  1250. .label-responsive {
  1251. display: block;
  1252. width: auto;
  1253. vertical-align: middle;
  1254. }
  1255. .label-responsive {
  1256. margin: 0.5em 0;
  1257. }
  1258. .export-filters li {
  1259. margin-bottom: 0;
  1260. }
  1261. .form-table .color-palette td {
  1262. display: table-cell;
  1263. width: 15px;
  1264. }
  1265. .form-table table.color-palette {
  1266. margin-right: 10px;
  1267. }
  1268. textarea,
  1269. input {
  1270. font-size: 16px;
  1271. }
  1272. .form-table td input[type="text"],
  1273. .form-table td input[type="email"],
  1274. .form-table td input[type="password"],
  1275. .form-table td select,
  1276. .form-table td textarea,
  1277. .form-table span.description,
  1278. #profile-page .form-table textarea {
  1279. width: 100%;
  1280. display: block;
  1281. max-width: none;
  1282. box-sizing: border-box;
  1283. }
  1284. .form-table .form-required.form-invalid td:after {
  1285. float: right;
  1286. margin: -30px 3px 0 0;
  1287. }
  1288. input[type="text"].small-text,
  1289. input[type="search"].small-text,
  1290. input[type="password"].small-text,
  1291. input[type="number"].small-text,
  1292. input[type="number"].small-text,
  1293. .form-table input[type="text"].small-text {
  1294. width: auto;
  1295. max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
  1296. display: inline;
  1297. padding: 3px 6px;
  1298. margin: 0 3px;
  1299. }
  1300. .form-table .regular-text ~ input[type="text"].small-text {
  1301. margin-top: 5px;
  1302. }
  1303. #pass-strength-result {
  1304. width: 100%;
  1305. box-sizing: border-box;
  1306. padding: 8px;
  1307. }
  1308. p.search-box {
  1309. float: none;
  1310. position: absolute;
  1311. bottom: 0;
  1312. width: 98%;
  1313. height: 90px;
  1314. margin-bottom: 20px;
  1315. }
  1316. p.search-box input[name="s"] {
  1317. float: none;
  1318. width: 100%;
  1319. margin-bottom: 10px;
  1320. vertical-align: middle;
  1321. }
  1322. p.search-box input[type="submit"] {
  1323. margin-bottom: 10px;
  1324. }
  1325. .form-table span.description {
  1326. display: inline;
  1327. padding: 4px 0 0;
  1328. line-height: 1.4;
  1329. font-size: 14px;
  1330. }
  1331. .form-table th {
  1332. padding: 10px 0 0;
  1333. border-bottom: 0;
  1334. }
  1335. .form-table td {
  1336. margin-bottom: 0;
  1337. padding: 4px 0 6px;
  1338. }
  1339. .form-table.permalink-structure td code {
  1340. display: inline-block;
  1341. }
  1342. .form-table.permalink-structure .structure-selection {
  1343. margin-top: 8px;
  1344. }
  1345. .form-table.permalink-structure .structure-selection .row > div {
  1346. max-width: calc(100% - 36px);
  1347. width: 100%;
  1348. }
  1349. .form-table.permalink-structure td input[type="text"] {
  1350. margin-top: 4px;
  1351. }
  1352. .form-table input.regular-text {
  1353. width: 100%;
  1354. }
  1355. .form-table label {
  1356. font-size: 14px;
  1357. }
  1358. .background-position-control .button-group > label {
  1359. font-size: 0;
  1360. }
  1361. .form-table fieldset label {
  1362. display: block;
  1363. }
  1364. .form-field #domain {
  1365. max-width: none;
  1366. }
  1367. /* New Password */
  1368. .wp-pwd {
  1369. position: relative;
  1370. }
  1371. /* Needs higher specificity than normal input type text and password. */
  1372. #profile-page .form-table #pass1 {
  1373. padding-right: 90px;
  1374. }
  1375. .wp-pwd button.button {
  1376. background: transparent;
  1377. border: 1px solid transparent;
  1378. box-shadow: none;
  1379. line-height: 2;
  1380. margin: 0;
  1381. padding: 5px 9px;
  1382. position: absolute;
  1383. right: 0;
  1384. top: 0;
  1385. width: 2.375rem;
  1386. height: 2.375rem;
  1387. min-width: 40px;
  1388. min-height: 40px;
  1389. }
  1390. .wp-pwd button.wp-hide-pw {
  1391. right: 2.5rem;
  1392. }
  1393. body.user-new-php .wp-pwd button.wp-hide-pw {
  1394. right: 0;
  1395. }
  1396. .wp-pwd button.button:hover,
  1397. .wp-pwd button.button:focus {
  1398. background: transparent;
  1399. }
  1400. .wp-pwd button.button:active {
  1401. background: transparent;
  1402. box-shadow: none;
  1403. transform: none;
  1404. }
  1405. .wp-pwd .button .text {
  1406. display: none;
  1407. }
  1408. .wp-pwd [type="text"],
  1409. .wp-pwd [type="password"] {
  1410. line-height: 2;
  1411. padding-right: 5rem;
  1412. }
  1413. body.user-new-php .wp-pwd [type="text"],
  1414. body.user-new-php .wp-pwd [type="password"] {
  1415. padding-right: 2.5rem;
  1416. }
  1417. .wp-cancel-pw .dashicons-no {
  1418. display: inline-block;
  1419. }
  1420. .options-general-php input[type="text"].small-text {
  1421. max-width: 6.25em;
  1422. margin: 0;
  1423. }
  1424. /* Privacy Policy settings screen */
  1425. .tools-privacy-policy-page form.wp-create-privacy-page {
  1426. margin-bottom: 1em;
  1427. }
  1428. .tools-privacy-policy-page input#set-page,
  1429. .tools-privacy-policy-page select {
  1430. margin: 10px 0 0;
  1431. }
  1432. .tools-privacy-policy-page .wp-create-privacy-page span {
  1433. display: block;
  1434. margin-bottom: 1em;
  1435. }
  1436. .tools-privacy-policy-page .wp-create-privacy-page .button {
  1437. margin-left: 0;
  1438. }
  1439. .wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
  1440. display: table-cell;
  1441. }
  1442. .wp-list-table.privacy_requests.widefat th input,
  1443. .wp-list-table.privacy_requests.widefat thead td input {
  1444. margin-left: 5px;
  1445. }
  1446. .wp-privacy-request-form-field input[type="text"] {
  1447. width: 100%;
  1448. margin-bottom: 10px;
  1449. vertical-align: middle;
  1450. }
  1451. .regular-text {
  1452. max-width: 100%;
  1453. }
  1454. }
  1455. @media only screen and (max-width: 768px) {
  1456. .form-field input[type="text"],
  1457. .form-field input[type="email"],
  1458. .form-field input[type="password"],
  1459. .form-field select,
  1460. .form-field textarea {
  1461. width: 99%;
  1462. }
  1463. .form-wrap .form-field {
  1464. padding: 0;
  1465. }
  1466. }
  1467. @media only screen and (max-height: 480px), screen and (max-width: 450px) {
  1468. /* Request Credentials / File Editor Warning */
  1469. .request-filesystem-credentials-dialog .notification-dialog,
  1470. .file-editor-warning .notification-dialog {
  1471. width: 100%;
  1472. height: 100%;
  1473. max-height: 100%;
  1474. position: fixed;
  1475. top: 0;
  1476. margin: 0;
  1477. left: 0;
  1478. }
  1479. }
  1480. /* Smartphone */
  1481. @media screen and (max-width: 600px) {
  1482. /* Color Picker Options */
  1483. .color-option {
  1484. width: 49%;
  1485. }
  1486. }
  1487. @media only screen and (max-width: 320px) {
  1488. .options-general-php .date-time-text.date-time-custom-text {
  1489. min-width: 0;
  1490. margin-right: 0.5em;
  1491. }
  1492. }
  1493. @keyframes rotation {
  1494. 0% {
  1495. transform: rotate(0deg);
  1496. }
  1497. 100% {
  1498. transform: rotate(359deg);
  1499. }
  1500. }