暂无描述

forms.css 32KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759
  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 6px;
  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. }
  662. .form-table td fieldset label {
  663. margin: 0.35em 0 0.5em !important;
  664. display: inline-block;
  665. }
  666. .form-table td fieldset p label {
  667. margin-top: 0 !important;
  668. }
  669. .form-table td fieldset label,
  670. .form-table td fieldset p,
  671. .form-table td fieldset li {
  672. line-height: 1.4;
  673. }
  674. .form-table input.tog,
  675. .form-table input[type="radio"] {
  676. margin-top: -4px;
  677. margin-right: 4px;
  678. float: none;
  679. }
  680. .form-table .pre {
  681. padding: 8px;
  682. margin: 0;
  683. }
  684. table.form-table td .updated {
  685. font-size: 13px;
  686. }
  687. table.form-table td .updated p {
  688. font-size: 13px;
  689. margin: 0.3em 0;
  690. }
  691. /*------------------------------------------------------------------------------
  692. 18.0 - Users
  693. ------------------------------------------------------------------------------*/
  694. #profile-page .form-table textarea {
  695. width: 500px;
  696. margin-bottom: 6px;
  697. }
  698. #profile-page .form-table #rich_editing {
  699. margin-right: 5px
  700. }
  701. #your-profile legend {
  702. font-size: 22px;
  703. }
  704. #display_name {
  705. width: 15em;
  706. }
  707. #adduser .form-field input,
  708. #createuser .form-field input {
  709. width: 25em;
  710. }
  711. .color-option {
  712. display: inline-block;
  713. width: 24%;
  714. padding: 5px 15px 15px;
  715. box-sizing: border-box;
  716. margin-bottom: 3px;
  717. }
  718. .color-option:hover,
  719. .color-option.selected {
  720. background: #dcdcde;
  721. }
  722. .color-palette {
  723. width: 100%;
  724. border-spacing: 0;
  725. border-collapse: collapse;
  726. }
  727. .color-palette td {
  728. height: 20px;
  729. padding: 0;
  730. border: none;
  731. }
  732. .color-option {
  733. cursor: pointer;
  734. }
  735. .create-application-password .form-field {
  736. max-width: 25em;
  737. }
  738. .create-application-password label {
  739. font-weight: 600;
  740. }
  741. .create-application-password p.submit {
  742. margin-bottom: 0;
  743. padding-bottom: 0;
  744. display: block;
  745. }
  746. #application-passwords-section .notice {
  747. margin-top: 20px;
  748. margin-bottom: 0;
  749. }
  750. .application-password-display input.code {
  751. width: 19em;
  752. }
  753. .auth-app-card.card {
  754. max-width: 768px;
  755. }
  756. .authorize-application-php .form-wrap p {
  757. display: block;
  758. }
  759. /*------------------------------------------------------------------------------
  760. 19.0 - Tools
  761. ------------------------------------------------------------------------------*/
  762. .tool-box .title {
  763. margin: 8px 0;
  764. font-size: 18px;
  765. font-weight: 400;
  766. line-height: 24px;
  767. }
  768. .label-responsive {
  769. vertical-align: middle;
  770. }
  771. #export-filters p {
  772. margin: 0 0 1em;
  773. }
  774. #export-filters p.submit {
  775. margin: 7px 0 5px;
  776. }
  777. /* Card styles */
  778. .card {
  779. position: relative;
  780. margin-top: 20px;
  781. padding: 0.7em 2em 1em;
  782. min-width: 255px;
  783. max-width: 520px;
  784. border: 1px solid #c3c4c7;
  785. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  786. background: #fff;
  787. box-sizing: border-box;
  788. }
  789. /* Press this styles */
  790. .pressthis h4 {
  791. margin: 2em 0 1em;
  792. }
  793. .pressthis textarea {
  794. width: 100%;
  795. font-size: 1em;
  796. }
  797. #pressthis-code-wrap {
  798. overflow: auto;
  799. }
  800. .pressthis-bookmarklet-wrapper {
  801. margin: 20px 0 8px;
  802. vertical-align: top;
  803. position: relative;
  804. z-index: 1;
  805. }
  806. .pressthis-bookmarklet,
  807. .pressthis-bookmarklet:hover,
  808. .pressthis-bookmarklet:focus,
  809. .pressthis-bookmarklet:active {
  810. display: inline-block;
  811. position: relative;
  812. cursor: move;
  813. color: #2c3338;
  814. background: #dcdcde;
  815. border-radius: 5px;
  816. border: 1px solid #c3c4c7;
  817. font-style: normal;
  818. line-height: 16px;
  819. font-size: 14px;
  820. text-decoration: none;
  821. }
  822. .pressthis-bookmarklet:active {
  823. outline: none;
  824. }
  825. .pressthis-bookmarklet:after {
  826. content: "";
  827. width: 70%;
  828. height: 55%;
  829. z-index: -1;
  830. position: absolute;
  831. right: 10px;
  832. bottom: 9px;
  833. background: transparent;
  834. transform: skew(20deg) rotate(6deg);
  835. box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
  836. }
  837. .pressthis-bookmarklet:hover:after {
  838. transform: skew(20deg) rotate(9deg);
  839. box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
  840. }
  841. .pressthis-bookmarklet span {
  842. display: inline-block;
  843. margin: 0px 0 0;
  844. padding: 0px 12px 8px 9px;
  845. }
  846. .pressthis-bookmarklet span:before {
  847. color: #787c82;
  848. font: normal 20px/1 dashicons;
  849. content: "\f157";
  850. position: relative;
  851. display: inline-block;
  852. top: 4px;
  853. margin-right: 4px;
  854. }
  855. .pressthis-js-toggle {
  856. margin-left: 10px;
  857. padding: 0;
  858. height: auto;
  859. vertical-align: top;
  860. }
  861. /* to override the button class being applied */
  862. .pressthis-js-toggle.button.button {
  863. margin-left: 10px;
  864. padding: 0;
  865. height: auto;
  866. vertical-align: top;
  867. }
  868. .pressthis-js-toggle .dashicons {
  869. margin: 5px 8px 6px 7px;
  870. color: #50575e;
  871. }
  872. /*------------------------------------------------------------------------------
  873. 20.0 - Settings
  874. ------------------------------------------------------------------------------*/
  875. .timezone-info code {
  876. white-space: nowrap;
  877. }
  878. .defaultavatarpicker .avatar {
  879. margin: 2px 0;
  880. vertical-align: middle;
  881. }
  882. .options-general-php .date-time-text {
  883. display: inline-block;
  884. min-width: 10em;
  885. }
  886. .options-general-php input.small-text {
  887. width: 56px;
  888. margin: -2px 0;
  889. }
  890. .options-general-php .spinner {
  891. float: none;
  892. margin: -3px 3px 0;
  893. }
  894. .settings-php .language-install-spinner,
  895. .options-general-php .language-install-spinner {
  896. display: inline-block;
  897. float: none;
  898. margin: -3px 5px 0;
  899. vertical-align: middle;
  900. }
  901. .form-table.permalink-structure .available-structure-tags li {
  902. float: left;
  903. margin-right: 5px;
  904. }
  905. /*------------------------------------------------------------------------------
  906. 21.0 - Network Admin
  907. ------------------------------------------------------------------------------*/
  908. .setup-php textarea {
  909. max-width: 100%;
  910. }
  911. .form-field #site-address {
  912. max-width: 25em;
  913. }
  914. .form-field #domain {
  915. max-width: 22em;
  916. }
  917. .form-field #site-title,
  918. .form-field #admin-email,
  919. .form-field #path,
  920. .form-field #blog_registered,
  921. .form-field #blog_last_updated {
  922. max-width: 25em;
  923. }
  924. .form-field #path {
  925. margin-bottom: 5px;
  926. }
  927. #search-users,
  928. #search-sites {
  929. max-width: 60%;
  930. }
  931. /*------------------------------------------------------------------------------
  932. Credentials check dialog for Install and Updates
  933. ------------------------------------------------------------------------------*/
  934. .request-filesystem-credentials-dialog {
  935. display: none;
  936. /* The customizer uses visibility: hidden on the body for full-overlays. */
  937. visibility: visible;
  938. }
  939. .request-filesystem-credentials-dialog .notification-dialog {
  940. top: 10%;
  941. max-height: 85%;
  942. }
  943. .request-filesystem-credentials-dialog-content {
  944. margin: 25px;
  945. }
  946. #request-filesystem-credentials-title {
  947. font-size: 1.3em;
  948. margin: 1em 0;
  949. }
  950. .request-filesystem-credentials-form legend {
  951. font-size: 1em;
  952. padding: 1.33em 0;
  953. font-weight: 600;
  954. }
  955. .request-filesystem-credentials-form input[type="text"],
  956. .request-filesystem-credentials-form input[type="password"] {
  957. display: block;
  958. }
  959. .request-filesystem-credentials-dialog input[type="text"],
  960. .request-filesystem-credentials-dialog input[type="password"] {
  961. width: 100%;
  962. }
  963. .request-filesystem-credentials-form .field-title {
  964. font-weight: 600;
  965. }
  966. .request-filesystem-credentials-dialog label[for="hostname"],
  967. .request-filesystem-credentials-dialog label[for="public_key"],
  968. .request-filesystem-credentials-dialog label[for="private_key"] {
  969. display: block;
  970. margin-bottom: 1em;
  971. }
  972. .request-filesystem-credentials-dialog .ftp-username,
  973. .request-filesystem-credentials-dialog .ftp-password {
  974. float: left;
  975. width: 48%;
  976. }
  977. .request-filesystem-credentials-dialog .ftp-password {
  978. margin-left: 4%;
  979. }
  980. .request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons {
  981. text-align: right;
  982. }
  983. .request-filesystem-credentials-dialog label[for="ftp"] {
  984. margin-right: 10px;
  985. }
  986. .request-filesystem-credentials-dialog #auth-keys-desc {
  987. margin-bottom: 0;
  988. }
  989. #request-filesystem-credentials-dialog .button:not(:last-child) {
  990. margin-right: 10px;
  991. }
  992. #request-filesystem-credentials-form .cancel-button {
  993. display: none;
  994. }
  995. #request-filesystem-credentials-dialog .cancel-button {
  996. display: inline;
  997. }
  998. .request-filesystem-credentials-dialog .ftp-username,
  999. .request-filesystem-credentials-dialog .ftp-password {
  1000. float: none;
  1001. width: auto;
  1002. }
  1003. .request-filesystem-credentials-dialog .ftp-username {
  1004. margin-bottom: 1em;
  1005. }
  1006. .request-filesystem-credentials-dialog .ftp-password {
  1007. margin: 0;
  1008. }
  1009. .request-filesystem-credentials-dialog .ftp-password em {
  1010. color: #8c8f94;
  1011. }
  1012. .request-filesystem-credentials-dialog label {
  1013. display: block;
  1014. line-height: 1.5;
  1015. margin-bottom: 1em;
  1016. }
  1017. .request-filesystem-credentials-form legend {
  1018. padding-bottom: 0;
  1019. }
  1020. .request-filesystem-credentials-form #ssh-keys legend {
  1021. font-size: 1.3em;
  1022. }
  1023. .request-filesystem-credentials-form .notice {
  1024. margin: 0 0 20px 0;
  1025. clear: both;
  1026. }
  1027. /*------------------------------------------------------------------------------
  1028. Privacy Policy settings screen
  1029. ------------------------------------------------------------------------------*/
  1030. .tools-privacy-policy-page form {
  1031. margin-bottom: 1.3em;
  1032. }
  1033. .tools-privacy-policy-page input.button,
  1034. .tools-privacy-policy-page select {
  1035. margin: 0 1px 0 6px;
  1036. }
  1037. .tools-privacy-edit {
  1038. margin: 1.5em 0;
  1039. }
  1040. .tools-privacy-policy-page span {
  1041. line-height: 2;
  1042. }
  1043. .privacy_requests .column-email {
  1044. width: 40%;
  1045. }
  1046. .privacy_requests .column-type {
  1047. text-align: center;
  1048. }
  1049. .privacy_requests thead td:first-child,
  1050. .privacy_requests tfoot td:first-child {
  1051. border-left: 4px solid #fff;
  1052. }
  1053. .privacy_requests tbody th {
  1054. border-left: 4px solid #fff;
  1055. background: #fff;
  1056. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  1057. }
  1058. .privacy_requests .row-actions {
  1059. color: #787c82;
  1060. }
  1061. .privacy_requests .row-actions.processing {
  1062. position: static;
  1063. }
  1064. .privacy_requests tbody .has-request-results th {
  1065. box-shadow: none;
  1066. }
  1067. .privacy_requests tbody .request-results th .notice {
  1068. margin: 0 0 5px;
  1069. }
  1070. .privacy_requests tbody td {
  1071. background: #fff;
  1072. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  1073. }
  1074. .privacy_requests tbody .has-request-results td {
  1075. box-shadow: none;
  1076. }
  1077. .privacy_requests .next_steps .button {
  1078. word-wrap: break-word;
  1079. white-space: normal;
  1080. }
  1081. .privacy_requests .status-request-confirmed th,
  1082. .privacy_requests .status-request-confirmed td {
  1083. background-color: #fff;
  1084. border-left-color: #72aee6;
  1085. }
  1086. .privacy_requests .status-request-failed th,
  1087. .privacy_requests .status-request-failed td {
  1088. background-color: #f6f7f7;
  1089. border-left-color: #d63638;
  1090. }
  1091. .privacy_requests .export_personal_data_failed a {
  1092. vertical-align: baseline;
  1093. }
  1094. .status-label {
  1095. font-weight: 600;
  1096. }
  1097. .status-label.status-request-pending {
  1098. font-weight: 400;
  1099. font-style: italic;
  1100. color: #646970;
  1101. }
  1102. .status-label.status-request-failed {
  1103. color: #d63638;
  1104. font-weight: 600;
  1105. }
  1106. .wp-privacy-request-form {
  1107. clear: both;
  1108. }
  1109. .wp-privacy-request-form-field {
  1110. margin: 1.5em 0;
  1111. }
  1112. .wp-privacy-request-form input {
  1113. margin: 0;
  1114. }
  1115. .email-personal-data::before {
  1116. display: inline-block;
  1117. font: normal 20px/1 dashicons;
  1118. margin: 3px 5px 0 -2px;
  1119. speak: never;
  1120. -webkit-font-smoothing: antialiased;
  1121. -moz-osx-font-smoothing: grayscale;
  1122. vertical-align: top;
  1123. }
  1124. .email-personal-data--sending::before {
  1125. color: #d63638;
  1126. content: "\f463";
  1127. animation: rotation 2s infinite linear;
  1128. }
  1129. .email-personal-data--sent::before {
  1130. color: #68de7c;
  1131. content: "\f147";
  1132. }
  1133. /* =Media Queries
  1134. -------------------------------------------------------------- */
  1135. @media screen and (max-width: 782px) {
  1136. /* Input Elements */
  1137. textarea {
  1138. -webkit-appearance: none;
  1139. }
  1140. input[type="text"],
  1141. input[type="password"],
  1142. input[type="date"],
  1143. input[type="datetime"],
  1144. input[type="datetime-local"],
  1145. input[type="email"],
  1146. input[type="month"],
  1147. input[type="number"],
  1148. input[type="search"],
  1149. input[type="tel"],
  1150. input[type="time"],
  1151. input[type="url"],
  1152. input[type="week"] {
  1153. -webkit-appearance: none;
  1154. padding: 3px 10px;
  1155. /* Only necessary for IE11 */
  1156. min-height: 40px;
  1157. }
  1158. ::-webkit-datetime-edit {
  1159. line-height: 1.875; /* 30px */
  1160. }
  1161. input[type="checkbox"],
  1162. .widefat th input[type="checkbox"],
  1163. .widefat thead td input[type="checkbox"],
  1164. .widefat tfoot td input[type="checkbox"] {
  1165. -webkit-appearance: none;
  1166. }
  1167. .widefat th input[type="checkbox"],
  1168. .widefat thead td input[type="checkbox"],
  1169. .widefat tfoot td input[type="checkbox"] {
  1170. margin-bottom: 8px;
  1171. }
  1172. input[type="checkbox"]:checked:before,
  1173. .widefat th input[type="checkbox"]:before,
  1174. .widefat thead td input[type="checkbox"]:before,
  1175. .widefat tfoot td input[type="checkbox"]:before {
  1176. width: 1.875rem;
  1177. height: 1.875rem;
  1178. margin: -0.1875rem -0.3125rem;
  1179. }
  1180. input[type="radio"],
  1181. input[type="checkbox"] {
  1182. height: 1.5625rem;
  1183. width: 1.5625rem;
  1184. }
  1185. .wp-admin p input[type="checkbox"],
  1186. .wp-admin p input[type="radio"] {
  1187. margin-top: -0.1875rem;
  1188. }
  1189. input[type="radio"]:checked:before {
  1190. vertical-align: middle;
  1191. width: 0.5625rem;
  1192. height: 0.5625rem;
  1193. margin: 0.4375rem;
  1194. line-height: 0.76190476;
  1195. }
  1196. .wp-upload-form input[type="submit"] {
  1197. margin-top: 10px;
  1198. }
  1199. .wp-core-ui select,
  1200. .wp-admin .form-table select {
  1201. min-height: 40px;
  1202. font-size: 16px;
  1203. line-height: 1.625; /* 26px */
  1204. padding: 5px 24px 5px 8px;
  1205. }
  1206. .wp-admin .button-cancel {
  1207. margin-bottom: 0;
  1208. padding: 2px 0;
  1209. font-size: 14px;
  1210. vertical-align: middle;
  1211. }
  1212. #adduser .form-field input,
  1213. #createuser .form-field input {
  1214. width: 100%;
  1215. }
  1216. .form-table {
  1217. box-sizing: border-box;
  1218. }
  1219. .form-table th,
  1220. .form-table td,
  1221. .label-responsive {
  1222. display: block;
  1223. width: auto;
  1224. vertical-align: middle;
  1225. }
  1226. .label-responsive {
  1227. margin: 0.5em 0;
  1228. }
  1229. .export-filters li {
  1230. margin-bottom: 0;
  1231. }
  1232. .form-table .color-palette td {
  1233. display: table-cell;
  1234. width: 15px;
  1235. }
  1236. .form-table table.color-palette {
  1237. margin-right: 10px;
  1238. }
  1239. textarea,
  1240. input {
  1241. font-size: 16px;
  1242. }
  1243. .form-table td input[type="text"],
  1244. .form-table td input[type="email"],
  1245. .form-table td input[type="password"],
  1246. .form-table td select,
  1247. .form-table td textarea,
  1248. .form-table span.description,
  1249. #profile-page .form-table textarea {
  1250. width: 100%;
  1251. display: block;
  1252. max-width: none;
  1253. box-sizing: border-box;
  1254. }
  1255. .form-table .form-required.form-invalid td:after {
  1256. float: right;
  1257. margin: -30px 3px 0 0;
  1258. }
  1259. input[type="text"].small-text,
  1260. input[type="search"].small-text,
  1261. input[type="password"].small-text,
  1262. input[type="number"].small-text,
  1263. input[type="number"].small-text,
  1264. .form-table input[type="text"].small-text {
  1265. width: auto;
  1266. max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
  1267. display: inline;
  1268. padding: 3px 6px;
  1269. margin: 0 3px;
  1270. }
  1271. #pass-strength-result {
  1272. width: 100%;
  1273. box-sizing: border-box;
  1274. padding: 8px;
  1275. }
  1276. p.search-box {
  1277. float: none;
  1278. position: absolute;
  1279. bottom: 0;
  1280. width: 98%;
  1281. height: 90px;
  1282. margin-bottom: 20px;
  1283. }
  1284. p.search-box input[name="s"] {
  1285. float: none;
  1286. width: 100%;
  1287. margin-bottom: 10px;
  1288. vertical-align: middle;
  1289. }
  1290. p.search-box input[type="submit"] {
  1291. margin-bottom: 10px;
  1292. }
  1293. .form-table span.description {
  1294. display: inline;
  1295. padding: 4px 0 0;
  1296. line-height: 1.4;
  1297. font-size: 14px;
  1298. }
  1299. .form-table th {
  1300. padding: 10px 0 0 0;
  1301. border-bottom: 0;
  1302. }
  1303. .form-table td {
  1304. margin-bottom: 0;
  1305. padding: 4px 0 6px 0;
  1306. }
  1307. .form-table.permalink-structure td code {
  1308. margin-left: 32px;
  1309. display: inline-block;
  1310. }
  1311. .form-table.permalink-structure td input[type="text"] {
  1312. margin-left: 32px;
  1313. margin-top: 4px;
  1314. width: 96%;
  1315. }
  1316. .form-table input.regular-text {
  1317. width: 100%;
  1318. }
  1319. .form-table label {
  1320. font-size: 14px;
  1321. }
  1322. .background-position-control .button-group > label {
  1323. font-size: 0;
  1324. }
  1325. .form-table fieldset label {
  1326. display: block;
  1327. }
  1328. #utc-time,
  1329. #local-time {
  1330. display: block;
  1331. float: none;
  1332. margin-top: 0.5em;
  1333. }
  1334. .form-field #domain {
  1335. max-width: none;
  1336. }
  1337. /* New Password */
  1338. .wp-pwd {
  1339. position: relative;
  1340. }
  1341. /* Needs higher specificity than normal input type text and password. */
  1342. #profile-page .form-table #pass1 {
  1343. padding-right: 90px;
  1344. }
  1345. .wp-pwd button.button {
  1346. background: transparent;
  1347. border: 1px solid transparent;
  1348. box-shadow: none;
  1349. line-height: 2;
  1350. margin: 0;
  1351. padding: 5px 9px;
  1352. position: absolute;
  1353. right: 0;
  1354. top: 0;
  1355. width: 2.375rem;
  1356. height: 2.375rem;
  1357. min-width: 40px;
  1358. min-height: 40px;
  1359. }
  1360. .wp-pwd button.wp-hide-pw {
  1361. right: 2.5rem;
  1362. }
  1363. .wp-pwd button.button:hover,
  1364. .wp-pwd button.button:focus {
  1365. background: transparent;
  1366. }
  1367. .wp-pwd button.button:active {
  1368. background: transparent;
  1369. box-shadow: none;
  1370. transform: none;
  1371. }
  1372. .wp-pwd .button .text {
  1373. display: none;
  1374. }
  1375. .wp-pwd [type="text"],
  1376. .wp-pwd [type="password"] {
  1377. line-height: 2;
  1378. padding-right: 5rem;
  1379. }
  1380. .wp-cancel-pw .dashicons-no {
  1381. display: inline-block;
  1382. }
  1383. .options-general-php input[type="text"].small-text {
  1384. max-width: 6.25em;
  1385. margin: 0;
  1386. }
  1387. /* Privacy Policy settings screen */
  1388. .tools-privacy-policy-page form.wp-create-privacy-page {
  1389. margin-bottom: 1em;
  1390. }
  1391. .tools-privacy-policy-page input#set-page,
  1392. .tools-privacy-policy-page select {
  1393. margin: 10px 0 0;
  1394. }
  1395. .tools-privacy-policy-page .wp-create-privacy-page span {
  1396. display: block;
  1397. margin-bottom: 1em;
  1398. }
  1399. .tools-privacy-policy-page .wp-create-privacy-page .button {
  1400. margin-left: 0;
  1401. }
  1402. .wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
  1403. display: table-cell;
  1404. }
  1405. .wp-list-table.privacy_requests.widefat th input,
  1406. .wp-list-table.privacy_requests.widefat thead td input {
  1407. margin-left: 5px;
  1408. }
  1409. .wp-privacy-request-form-field input[type="text"] {
  1410. width: 100%;
  1411. margin-bottom: 10px;
  1412. vertical-align: middle;
  1413. }
  1414. .regular-text {
  1415. max-width: 100%;
  1416. }
  1417. }
  1418. @media only screen and (max-width: 768px) {
  1419. .form-field input[type="text"],
  1420. .form-field input[type="email"],
  1421. .form-field input[type="password"],
  1422. .form-field select,
  1423. .form-field textarea {
  1424. width: 99%;
  1425. }
  1426. .form-wrap .form-field {
  1427. padding: 0;
  1428. }
  1429. }
  1430. @media only screen and (max-height: 480px), screen and (max-width: 450px) {
  1431. /* Request Credentials / File Editor Warning */
  1432. .request-filesystem-credentials-dialog .notification-dialog,
  1433. .file-editor-warning .notification-dialog {
  1434. width: 100%;
  1435. height: 100%;
  1436. max-height: 100%;
  1437. position: fixed;
  1438. top: 0;
  1439. margin: 0;
  1440. left: 0;
  1441. }
  1442. }
  1443. /* Smartphone */
  1444. @media screen and (max-width: 600px) {
  1445. /* Color Picker Options */
  1446. .color-option {
  1447. width: 49%;
  1448. }
  1449. }
  1450. @media only screen and (max-width: 320px) {
  1451. .options-general-php .date-time-text.date-time-custom-text {
  1452. min-width: 0;
  1453. margin-right: 0.5em;
  1454. }
  1455. }
  1456. @keyframes rotation {
  1457. 0% {
  1458. transform: rotate(0deg);
  1459. }
  1460. 100% {
  1461. transform: rotate(359deg);
  1462. }
  1463. }